
:root{
  --bg:#fff9fc;
  --surface:#ffffff;
  --surface-2:#fff5fa;
  --ink:#17213b;
  --muted:#6d7691;
  --line:#efdeea;
  --pink:#ff5f9f;
  --pink-2:#ff88b8;
  --purple:#996cff;
  --blue:#46a8ff;
  --mint:#70d9c8;
  --yellow:#ffd15c;
  --shadow:0 18px 45px rgba(172,98,146,.12);
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% 0%, #fff0f7 0, transparent 28rem),
    radial-gradient(circle at 90% 10%, #f2edff 0, transparent 30rem),
    var(--bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
.container{width:min(var(--max),calc(100% - 36px));margin:auto}
.header{
  position:sticky;top:0;z-index:30;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(239,222,234,.75);
}
.navbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.brand-mark{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#fff,#ffe9f4);
  border:2px solid #dde8ff;
  box-shadow:0 8px 22px rgba(99,102,241,.12);
  color:var(--pink);font-weight:900;font-size:10px;text-align:center;
}
.brand-copy strong{
  display:block;font-size:1.22rem;line-height:1;
  background:linear-gradient(90deg,var(--pink),#ff995c,var(--purple),#30baff);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.brand-copy span{display:block;margin-top:5px;font-size:.66rem;letter-spacing:.22em;color:#8790aa;font-weight:800}
.nav-links{display:flex;gap:28px;align-items:center;font-weight:700;color:#38415e}
.nav-links a{position:relative}
.nav-links a:hover,.nav-links a.active{color:var(--pink)}
.nav-links a.active:after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:3px;border-radius:4px;background:var(--pink)}
.nav-actions{display:flex;gap:10px}
.icon-btn{
  width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;background:#fff;border:1px solid var(--line);font-size:1.1rem;position:relative
}
.cart-dot{
  position:absolute;right:-1px;top:-4px;width:20px;height:20px;border-radius:50%;
  background:var(--pink);color:#fff;display:grid;place-items:center;font-size:.7rem;font-weight:900
}
.mobile-toggle{display:none}

.hero{padding:34px 0 26px}
.hero-shell{
  min-height:400px;border:1px solid var(--line);border-radius:34px;overflow:hidden;
  display:grid;grid-template-columns:1fr 1.05fr;
  background:linear-gradient(135deg,#fff 0%,#fff5fa 48%,#f7f3ff 100%);
  box-shadow:var(--shadow);
}
.hero-copy{padding:48px 48px 42px;display:flex;flex-direction:column;justify-content:center}
.eyebrow{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:900;color:var(--pink);margin-bottom:12px}
.hero h1{font-size:clamp(2.5rem,5vw,4.65rem);line-height:.98;letter-spacing:-.05em;margin:0 0 18px}
.gradient-text{
  display:block;
  background:linear-gradient(90deg,var(--pink),#ff9a5c,#5fc8ff,var(--purple));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
}
.hero p{font-size:1.08rem;line-height:1.65;color:var(--muted);max-width:560px;margin:0 0 24px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  min-height:48px;padding:0 19px;border-radius:14px;border:1px solid transparent;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:850
}
.btn-primary{background:linear-gradient(90deg,var(--pink),var(--pink-2));color:#fff;box-shadow:0 12px 24px rgba(255,95,159,.22)}
.btn-outline{background:#fff;border-color:#dfcff5;color:#7a4cdf}
.btn-light{background:#fff;border-color:var(--line);color:#49526d}
.hero-art{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center;padding:30px}
.spark{position:absolute;width:11px;height:11px;border-radius:3px;transform:rotate(45deg);opacity:.8}
.spark.a{background:#ff8fbd;left:8%;top:30%}.spark.b{background:#9a6cff;right:8%;top:20%}.spark.c{background:#69d6c6;right:17%;bottom:20%}.spark.d{background:#ffd15c;left:18%;bottom:18%}

.keychain-stack{width:min(560px,100%);display:grid;gap:18px;transform:rotate(-4deg)}
.keychain-row{display:flex;align-items:center;justify-content:flex-end;gap:0}
.ball-chain{width:95px;height:62px;border:7px dotted currentColor;border-right:0;border-radius:38px 0 0 38px;margin-right:-2px;opacity:.95}
.keybar{display:flex;padding:7px 8px 9px;border-radius:14px;box-shadow:0 14px 25px rgba(83,58,99,.18);gap:5px}
.keycap{
  width:67px;height:60px;border-radius:10px;
  display:grid;place-items:center;
  font-size:1.65rem;font-weight:950;
  box-shadow:inset 0 -6px 0 rgba(0,0,0,.10),0 4px 7px rgba(0,0,0,.15);
  text-shadow:0 2px 0 rgba(0,0,0,.08)
}
.pink-row{color:#ff88ae}.pink-row .keybar{background:#e35a92}.pink-row .keycap{background:#fff1f6;color:#ed6799}
.blue-row{color:#35aaf4}.blue-row .keybar{background:#176edb}.blue-row .keycap{background:#f14338;color:#fff}
.purple-row{color:#9a6cef}.purple-row .keybar{background:#8758ca}.purple-row .keycap{background:#c8f3ec;color:#7c4fd1}

.section{padding:34px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.section-kicker{color:var(--purple);text-transform:uppercase;letter-spacing:.14em;font-size:.76rem;font-weight:900}
.section h2{font-size:2rem;margin:5px 0 0;letter-spacing:-.03em}
.section-head p{margin:0;color:var(--muted)}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product-card{
  overflow:hidden;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);
  transition:transform .18s ease,box-shadow .18s ease
}
.product-card.clickable:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(161,94,142,.18)}
.product-art{aspect-ratio:1.25/1;background:linear-gradient(135deg,#ffeaf3,#f7efff);display:grid;place-items:center;padding:20px;position:relative}
.product-card-body{padding:16px}
.product-card h3{font-size:1.02rem;margin:0 0 5px}
.product-card p{font-size:.86rem;color:var(--muted);margin:0 0 12px;min-height:38px}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.price{font-weight:900;color:var(--pink)}
.small-btn{padding:9px 12px;border-radius:11px;border:1px solid #ffc6df;background:#fff;color:var(--pink);font-weight:850}

.mini-keychain{display:flex;padding:5px;background:#e1598f;border-radius:10px;gap:4px;box-shadow:0 12px 22px rgba(160,75,124,.2);transform:rotate(-6deg)}
.mini-keychain span{
  width:44px;height:42px;display:grid;place-items:center;border-radius:8px;background:#ffd9e9;color:#cc417a;font-weight:950;
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.08)
}
.product-art.blue{background:linear-gradient(135deg,#eaf4ff,#f9f4ff)}
.product-art.mint{background:linear-gradient(135deg,#eafff9,#f9f4ff)}
.product-art.peach{background:linear-gradient(135deg,#fff2eb,#fff7fb)}
.placeholder-shape{
  width:70%;height:42%;border-radius:18px;background:linear-gradient(135deg,#7edfcc,#559cff);
  box-shadow:0 14px 28px rgba(71,137,190,.2);display:grid;place-items:center;color:white;font-weight:900;letter-spacing:.08em
}

.feature-strip{
  display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)
}
.feature{padding:20px;display:flex;gap:12px;align-items:center;border-right:1px solid var(--line)}
.feature:last-child{border-right:0}
.feature-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fff3f8;font-size:1.2rem}
.feature strong{display:block;font-size:.92rem}.feature span{display:block;font-size:.8rem;color:var(--muted);margin-top:3px;line-height:1.4}

.footer{margin-top:42px;padding:38px 0 28px;border-top:1px solid var(--line);background:rgba(255,255,255,.74)}
.footer-grid{display:grid;grid-template-columns:1.35fr repeat(3,1fr);gap:28px}
.footer h4{font-size:.95rem;margin:0 0 10px}.footer p,.footer a{font-size:.86rem;line-height:1.9;color:var(--muted);display:block}
.footer-bottom{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem;text-align:center}
.footer-bottom a{display:inline;color:var(--pink);font-weight:600}

.breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;padding:24px 0 14px;color:var(--muted);font-size:.88rem}
.product-page{display:grid;grid-template-columns:1.05fr .95fr;gap:26px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow)}
.gallery{padding:18px}
.gallery-main{
  aspect-ratio:1.18/1;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#fff0f7,#f3efff);
  display:grid;place-items:center;position:relative
}
.gallery-demo{transform:scale(1.35)}
.thumb-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.thumb{aspect-ratio:1;border:2px solid transparent;border-radius:14px;background:#fff2f8;display:grid;place-items:center;overflow:hidden}
.thumb.active{border-color:var(--pink)}
.thumb .mini-keychain{transform:scale(.65) rotate(-7deg)}
.product-info{padding:28px}
.product-info h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.02;letter-spacing:-.04em;margin:0 0 8px}
.product-meta{color:var(--muted);margin-bottom:10px}
.rating{color:#ffb72f;font-weight:800;margin-bottom:10px}
.big-price{font-size:2.15rem;color:var(--pink);font-weight:950;margin-bottom:20px}
.rule{height:1px;background:var(--line);margin:18px 0}
.form-group{margin:0 0 18px}
.form-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:850;font-size:.92rem;margin-bottom:8px}
.form-label small{font-weight:600;color:var(--muted)}
.text-field{
  width:100%;height:50px;border:1.5px solid var(--line);border-radius:13px;background:#fff;padding:0 14px;font-size:1rem;outline:none
}
.text-field:focus{border-color:#f3a6c8;box-shadow:0 0 0 4px #fff0f7}
.case-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.choice{
  min-height:48px;border:1.5px solid var(--line);border-radius:13px;background:#fff;padding:0 13px;
  display:flex;align-items:center;gap:8px;font-weight:800;color:#555e78
}
.choice.active{border-color:var(--pink);background:#fff7fb;color:#cf477e}
.choice-dot{width:16px;height:16px;border-radius:50%;border:2px solid #cfd4e1}
.choice.active .choice-dot{border:5px solid var(--pink)}
.swatches{display:flex;gap:12px;flex-wrap:wrap}
.swatch{
  width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #e5dce6;position:relative
}
.swatch.active{box-shadow:0 0 0 2px var(--pink)}
.swatch.active:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:950;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.font-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.font-btn{height:44px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-weight:850;color:#58617b}
.font-btn.active{border-color:var(--pink);color:#d3457d;background:#fff8fb}
.qty-row{display:flex;align-items:center;gap:12px}
.qty-box{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.qty-box button,.qty-box span{width:44px;height:42px;border:0;background:#fff;display:grid;place-items:center;font-weight:900}
.qty-box span{border-left:1px solid var(--line);border-right:1px solid var(--line)}
.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.summary-card{padding:16px;border:1px solid var(--line);border-radius:18px;background:#fffafd}
.summary-card h3{margin:0 0 12px;font-size:.95rem}
.summary-list{display:grid;grid-template-columns:1fr auto;gap:8px 14px;font-size:.84rem}
.summary-list span:nth-child(odd){color:var(--muted)}
.total-line{display:flex;justify-content:space-between;gap:12px;padding-top:12px;margin-top:12px;border-top:1px solid var(--line);font-weight:900}
.total-line strong:last-child{color:var(--pink);font-size:1.2rem}
.preview-card{padding:18px}
.preview-shell{
  min-height:300px;border-radius:20px;background:linear-gradient(135deg,#fff1f7,#f1edff);display:grid;place-items:center;overflow:auto;padding:28px
}
.preview-bar-wrap{display:flex;align-items:center;justify-content:center;min-width:max-content}
.preview-ring{width:48px;height:48px;border:6px solid #aaa;border-radius:50%;margin-right:-2px;position:relative}
.preview-ring:after{content:"";position:absolute;right:-19px;top:15px;width:20px;height:8px;border-radius:8px;background:#999}
.preview-loop{width:22px;height:30px;border:8px solid var(--case,#e1598f);border-right:0;border-radius:15px 0 0 15px;margin-right:-4px}
.preview-base{display:flex;gap:5px;padding:7px;border-radius:14px;background:var(--case,#e1598f);box-shadow:0 12px 24px rgba(118,68,104,.2)}
.preview-base.slim{border-radius:9px;padding:6px;gap:4px}
.preview-key{
  width:64px;height:58px;border-radius:10px;background:var(--key,#ffd9e9);display:grid;place-items:center;
  color:var(--letter,#c74277);font-size:1.7rem;font-weight:950;box-shadow:inset 0 -5px 0 rgba(0,0,0,.09),0 4px 5px rgba(0,0,0,.13)
}
.preview-base.slim .preview-key{width:58px;height:52px;border-radius:7px;font-size:1.65rem}
.preview-note{margin-top:12px;color:var(--muted);font-size:.78rem;text-align:center}
.product-desc{padding:22px;margin-top:22px}
.product-desc h2{margin:0 0 10px}.product-desc p{color:var(--muted);line-height:1.7;margin:0}
.notice{margin-top:14px;padding:13px 14px;border-radius:13px;background:#fff8dc;border:1px solid #f5e2a8;color:#8b6d1e;font-size:.85rem;font-weight:750}
.related{margin-top:28px}

@media(max-width:960px){
  .nav-links{display:none}.mobile-toggle{display:grid}
  .hero-shell,.product-page{grid-template-columns:1fr}
  .hero-copy{padding:40px 28px 10px}
  .hero-art{min-height:320px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .feature-strip{grid-template-columns:repeat(2,1fr)}
  .feature:nth-child(2){border-right:0}.feature:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .container{width:min(100% - 24px,var(--max))}
  .navbar{height:68px}
  .brand-copy strong{font-size:1rem}.brand-mark{width:42px;height:42px}
  .hero{padding-top:20px}.hero-shell{border-radius:24px}
  .hero h1{font-size:2.75rem}
  .hero-art{padding:18px;overflow:hidden}
  .keychain-stack{transform:scale(.78) rotate(-4deg)}
  .product-grid{grid-template-columns:1fr}
  .feature-strip,.footer-grid{grid-template-columns:1fr}
  .feature{border-right:0;border-bottom:1px solid var(--line)}
  .feature:last-child{border-bottom:0}
  .case-options,.font-options,.summary-grid{grid-template-columns:1fr}
  .product-info{padding:20px}
  .gallery-demo{transform:scale(.92)}
  .preview-shell{padding:18px;justify-content:flex-start}
}


.product-art.product-photo{padding:14px}
.product-art.product-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 16px 22px rgba(113,76,111,.16));
}
.gallery-main.has-image{background:linear-gradient(135deg,#fffafc,#f5f1ff)}
.gallery-main.has-image img{
  width:86%;
  height:86%;
  object-fit:contain;
  filter:drop-shadow(0 18px 26px rgba(108,73,106,.18));
}
.thumb.photo-thumb{background:#fff}
.thumb.photo-thumb img{
  width:88%;
  height:88%;
  object-fit:contain;
  filter:drop-shadow(0 10px 16px rgba(108,73,106,.12));
}
