:root {
  --plum: #3d2463;
  --violet: #5b3a8c;
  --violet-2: #7a5bb0;
  --lav: #f1ebf8;
  --lav-2: #e4d9f2;
  --cream: #fcfaf7;
  --gold: #b48d4c;
  --ink: #2a2233;
  --muted: #6f6680;
  --line: #e6e0ee;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(61, 36, 99, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.65 'Prompt', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; font-weight: 500; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(252, 250, 247, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 1.6rem; letter-spacing: .28em; color: var(--plum); text-decoration: none; }
.logo-sm { font-size: 1.3rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--plum); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none; font-weight: 500; transition: transform .15s, box-shadow .15s, background .15s; border: 1px solid transparent; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--violet); transform: translateY(-1px); }
.btn-ghost { border-color: var(--violet-2); color: var(--plum); }
.btn-ghost:hover { background: var(--lav); }

/* hero */
.hero { background: radial-gradient(ellipse at 80% 20%, var(--lav-2), transparent 60%), linear-gradient(180deg, var(--lav) 0%, var(--cream) 100%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 4rem 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; color: var(--gold); font-weight: 500; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--plum); font-weight: 600; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 34rem; font-weight: 300; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

/* features */
.features { border-block: 1px solid var(--line); background: #fff; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.5rem; }
.feat { display: flex; gap: .8rem; align-items: center; }
.feat b { display: block; font-weight: 500; font-size: .95rem; }
.feat span { display: block; font-size: .82rem; color: var(--muted); }
.ic { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 50%; background: var(--lav); fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* sections */
.section { padding: 4rem 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head h2, .block h2 { font-size: 1.7rem; color: var(--plum); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; background: var(--lav); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; margin: .5rem 0 0; color: var(--plum); }
.card-sub { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.badge { align-self: flex-start; display: inline-block; font-size: .72rem; padding: .2rem .65rem; border-radius: 999px; background: var(--lav); color: var(--violet); font-weight: 500; }
.price { font-weight: 600; color: var(--ink); margin: auto 0 0; font-size: 1.05rem; }

/* guide */
.guide { background: var(--lav); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.guide-col { background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); }
.guide-col h3 { color: var(--plum); font-size: 1.25rem; }
.guide-col ul { padding-left: 1.1rem; margin: 1rem 0; }
.guide-col li { margin: .35rem 0; }
.guide-col a { text-decoration: none; }
.guide-col a:hover b { color: var(--violet); text-decoration: underline; }
.note { font-size: .88rem; background: var(--cream); padding: .75rem 1rem; border-radius: 10px; margin: 0; }

/* product page */
.crumbs { padding-top: 1.25rem; font-size: .85rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--plum); }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; padding-top: 1.25rem; padding-bottom: 3rem; align-items: start; }
.gallery { position: sticky; top: 84px; min-width: 0; }
.g-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; background: var(--lav); scrollbar-width: none; }
.g-main::-webkit-scrollbar { display: none; }
.g-main img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: center; }
.g-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.g-thumbs button { flex: 0 0 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .65; transition: opacity .15s, border-color .15s; }
.g-thumbs button.on, .g-thumbs button:hover { opacity: 1; border-color: var(--violet); }
.g-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--plum); margin: .6rem 0 .3rem; font-weight: 600; }
.info h1 span { display: block; font-size: .55em; color: var(--ink); font-weight: 400; margin-top: .25rem; }
.tagline { color: var(--muted); margin: 0 0 1rem; }
.price.big { font-size: 1.9rem; color: var(--plum); margin: 0 0 1.5rem; }
.opt-group { margin-bottom: 1.25rem; }
.opt-label { font-size: .9rem; margin-bottom: .5rem; color: var(--muted); }
.opt-label b { color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .92rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .15s; color: var(--ink); }
.chip:hover { border-color: var(--violet-2); }
.chip.on { border-color: var(--plum); background: var(--plum); color: #fff; }
.opt-note { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; min-height: 1.3em; }
.btn-buy { width: 100%; padding: 1rem; font-size: 1.05rem; margin-top: .5rem; }
.ic-tt { width: 20px; height: 20px; }
.details { margin-top: 1.75rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
details summary { cursor: pointer; padding: .9rem 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; color: var(--violet); font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details ul { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--muted); }
details li { margin: .25rem 0; }
.fullname { margin-top: .5rem; border-bottom: 0; }
.fullname summary { font-weight: 400; font-size: .85rem; color: var(--muted); }
.fullname p { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.block { padding-block: 1.5rem; }
.block h2 { margin-bottom: 1.25rem; }
.sizechart { width: 100%; max-width: 760px; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.desc-imgs { max-width: 760px; display: grid; gap: .75rem; }
.desc-imgs img { width: 100%; height: auto; border-radius: 12px; }

.sticky-buy { display: none; }

/* footer */
.site-footer { background: var(--plum); color: #e9e2f3; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer .logo { color: #fff; }
.site-footer .muted { color: #bfb2d4; }
.footer-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-links a { text-decoration: none; color: #e9e2f3; font-size: .92rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.copy { font-size: .8rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }

/* responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .pd { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery { position: static; }
}
@media (max-width: 720px) {
  .hero-in { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem; }
  .hero-img { order: -1; }
  .guide-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3rem 0; }
  .nav { gap: 1rem; }
  .nav a { font-size: .88rem; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(0, 0, 0, .15); }
  .sticky-buy .price { margin: 0; font-size: 1.2rem; color: var(--plum); }
  .sticky-buy .btn { padding: .7rem 1.25rem; }
  body:has(.sticky-buy) .site-footer { padding-bottom: 5.5rem; }
}
@media (max-width: 420px) {
  .grid, .grid-3 { gap: .75rem; }
  .card-body { padding: .75rem; }
  .card h3 { font-size: 1rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.3rem; letter-spacing: .2em; }
}
