/* ============================================================
   Jess Pink Light — a bright, pink, glowing storefront
   Palette:  blush #FFF5F8 · rose #FF4D8D · coral #FF8FB1
             gold #FFC24B · plum #4A1D33 · lilac #C77DFF
   Type:     Plus Jakarta Sans (headings, moderate weight)
             Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --blush: #FFF5F8;
  --blush-2: #FFEAF2;
  --rose: #FF4D8D;
  --rose-deep: #E23A78;
  --coral: #FF8FB1;
  --gold: #FFC24B;
  --plum: #4A1D33;
  --plum-soft: #9A5C78;
  --lilac: #C77DFF;
  --white: #FFFFFF;
  --line: #F5D6E2;
  --shadow: 0 18px 40px -20px rgba(255, 77, 141, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(255, 77, 141, 0.4);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--plum);
  background: var(--blush);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.15; color: var(--plum); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Background ambience ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 12% -5%, #FFE1EC 0%, transparent 55%),
    radial-gradient(50vw 50vw at 100% 0%, #F3E4FF 0%, transparent 50%),
    radial-gradient(40vw 40vw at 90% 100%, #FFF0DA 0%, transparent 55%),
    var(--blush);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 245, 248, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 74px;
}
.nav .logo img { height: 42px; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav-links a { font-weight: 500; font-size: 0.96rem; position: relative; padding: 4px 0; color: var(--plum); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--rose); border-radius: 2px; transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--rose); color: #fff; font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
}
.cart-count.bump { animation: bump 0.35s ease; }
@keyframes bump { 0%,100%{transform:scale(1)} 40%{transform:scale(1.4)} }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--plum); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; box-shadow: 0 12px 26px -10px rgba(255, 77, 141, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(255, 77, 141, 0.8); }
.btn-ghost { background: var(--white); color: var(--plum); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #F5A623); color: #5A3A00; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 4rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rose);
  background: var(--white); padding: 7px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 700; margin: 1.1rem 0; letter-spacing: -0.02em; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--rose), var(--lilac));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.12rem; color: var(--plum-soft); max-width: 34ch; }
.hero-cta { display: flex; gap: 0.9rem; margin-top: 1.8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.4rem; }
.hero-stats .num { font-family: var(--head); font-weight: 700; font-size: 1.7rem; color: var(--rose); }
.hero-stats .lbl { font-size: 0.82rem; color: var(--plum-soft); }

/* hero visual: a glowing bulb scene */
.hero-scene {
  position: relative; aspect-ratio: 1/1; border-radius: 30px;
  background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #FFE7F0 40%, #FFD3E4 100%);
  box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden;
}
.hero-bulb { font-size: clamp(6rem, 16vw, 10rem); filter: drop-shadow(0 0 40px rgba(255, 194, 75, 0.8)); animation: glowpulse 4s ease-in-out infinite; }
@keyframes glowpulse {
  0%,100% { filter: drop-shadow(0 0 30px rgba(255, 194, 75, 0.55)); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 60px rgba(255, 194, 75, 0.95)); transform: translateY(-8px); }
}

/* floating bokeh lights */
.bokeh { position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(255,143,177,0.5) 60%, transparent 70%);
  animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); opacity: 0.7; }
  50% { transform: translate(0,-24px) scale(1.15); opacity: 1; }
}

/* ---------- Marquee ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--rose), var(--lilac)); color: #fff; overflow: hidden; padding: 11px 0; }
.ticker-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; font-family: var(--head); font-weight: 500; font-size: 0.9rem; }
.ticker-track span { display: inline-flex; align-items: center; gap: 8px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; }
.section-head p { color: var(--plum-soft); margin-top: 0.6rem; font-size: 1.05rem; }

/* ---------- Category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.chip {
  font-family: var(--head); font-weight: 500; font-size: 0.9rem;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); color: var(--plum);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--coral); }
.chip.active { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(255, 77, 141, 0.55); }
.card-media {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
  font-size: 3.4rem;
  background: radial-gradient(circle at 50% 40%, #FFF 0%, #FFEAF2 70%);
  transition: background 0.3s ease;
}
.card:hover .card-media { background: radial-gradient(circle at 50% 40%, #FFFCEB 0%, #FFE0EE 75%); }
.card:hover .card-media > span.emoji { filter: drop-shadow(0 0 22px rgba(255, 194, 75, 0.85)); transform: scale(1.06); }
.card-media > span.emoji { transition: 0.3s ease; }
/* Uploaded product photos fill their container (emoji fall back to spans above) */
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media > .media-img { transition: transform 0.3s ease; }
.card:hover .card-media > .media-img { transform: scale(1.05); }
.pd-media > .media-img { border-radius: 26px; }
.cart-line .thumb > .media-img { border-radius: 14px; }
.thumb-emoji { font-size: 1.8rem; }
/* Shop filter controls */
.shop-controls { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; margin-top: 1rem; }
.shop-controls .ctrl { display: flex; flex-direction: column; gap: 4px; }
.shop-controls label { font-size: 0.82rem; color: var(--plum-soft); font-weight: 600; }
.shop-controls select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--plum); font-family: var(--head); font-weight: 600; }
.shop-controls .price-ctrl { min-width: 220px; flex: 1; max-width: 340px; }
.shop-controls input[type=range] { width: 100%; accent-color: var(--rose); }
@media (max-width: 640px) { .shop-controls { gap: 1rem; } .shop-controls .price-ctrl { max-width: none; } }
/* Two-column panel that stacks on mobile */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .split-2 { grid-template-columns: 1fr; } }
/* Guard against accidental horizontal scroll (e.g. the marquee ticker) */
html, body { overflow-x: hidden; }
.price-star { color: var(--rose); font-weight: 700; margin-left: 1px; cursor: help; }
/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(226,58,120,0.07); }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.6rem; }
.testimonial blockquote { margin: 0 0 1rem; color: var(--plum); font-size: 1rem; line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--plum-soft); }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--lilac)); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; }
.testimonial figcaption strong { color: var(--plum); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
/* Social links in footer */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0.9rem; }
.social-row a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; color: #fff; opacity: 0.9; transition: transform 0.2s, background 0.2s; }
.social-row a:hover { opacity: 1; background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.social-row a[data-placeholder] { opacity: 0.5; cursor: default; }
/* Homepage image slider */
.hero-slider { position: relative; border-radius: 24px; overflow: hidden; margin-bottom: 2.5rem; box-shadow: 0 18px 50px rgba(226,58,120,0.14); }
.hs-track { display: flex; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.hs-slide { min-width: 100%; position: relative; aspect-ratio: 21/8; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-cap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; background: linear-gradient(to top, rgba(74,29,51,0.6), transparent 60%); color: #fff; }
.hs-cap h3 { font-family: var(--head); font-size: 1.8rem; margin: 0 0 0.3rem; }
.hs-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hs-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.hs-dots button.on { background: #fff; width: 22px; border-radius: 5px; }
@media (max-width: 640px) { .hs-slide { aspect-ratio: 3/2; } .hs-cap h3 { font-size: 1.3rem; } }
/* Testimonials slider */
.tslider { position: relative; overflow: hidden; }
.ts-track { display: flex; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.ts-item { min-width: 100%; box-sizing: border-box; padding: 0 4px; }
.ts-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2.2rem; box-shadow: 0 12px 36px rgba(226,58,120,0.09); max-width: 680px; margin: 0 auto; text-align: center; }
.ts-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 0.8rem; }
.ts-card blockquote { margin: 0 0 1.2rem; color: var(--plum); font-size: 1.2rem; line-height: 1.6; font-family: var(--head); font-weight: 500; }
.ts-card .who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ts-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.2rem; }
.ts-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--coral); opacity: 0.4; cursor: pointer; padding: 0; }
.ts-dots button.on { opacity: 1; width: 22px; border-radius: 5px; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--head); font-weight: 600; font-size: 0.72rem;
  padding: 5px 11px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--gold), #F5A623); color: #5A3A00;
}
.badge.rose { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-cat { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--plum-soft); }
.card-body h3 { font-size: 1.08rem; font-weight: 600; }
.card-tag { font-size: 0.88rem; color: var(--plum-soft); flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.7rem; }
.price { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--rose); }
.add-btn {
  border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; font-size: 1.2rem;
  display: grid; place-items: center; transition: transform 0.2s ease;
}
.add-btn:hover { transform: scale(1.1) rotate(90deg); }

/* ---------- Collection cards ---------- */
.collections { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.collection {
  border-radius: var(--radius); padding: 1.8rem; min-height: 190px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
  transition: transform 0.25s ease;
}
.collection:hover { transform: translateY(-5px); }
.collection h3 { color: #fff; font-size: 1.3rem; }
.collection p { font-size: 0.9rem; opacity: 0.92; }
.collection .em { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.6rem; opacity: 0.9; }
.c1 { background: linear-gradient(135deg, #FF6FA5, #E23A78); }
.c2 { background: linear-gradient(135deg, #C77DFF, #8A4FE0); }
.c3 { background: linear-gradient(135deg, #FFB36B, #FF7EA8); }

/* ---------- Feature band ---------- */
.band { background: linear-gradient(135deg, #FFFFFF, #FFEAF2); border-radius: 26px; padding: 2.8rem; box-shadow: var(--shadow); }
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.feature .ic { font-size: 1.9rem; }
.feature h4 { margin: 0.5rem 0 0.2rem; font-size: 1.05rem; }
.feature p { font-size: 0.9rem; color: var(--plum-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #FFD9E7; margin-top: 4rem; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.9rem; }
.site-footer a { color: #FFD9E7; font-size: 0.92rem; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem; }
.site-footer .brandline .dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--rose), var(--lilac)); display: grid; place-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; opacity: 0.85; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  animation: wapulse 2.6s ease-in-out infinite;
}
@keyframes wapulse { 0%,100%{box-shadow:0 0 0 0 rgba(37,211,102,0.5)} 50%{box-shadow:0 0 0 14px rgba(37,211,102,0)} }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Toast ---------- */
.toast-host { position: fixed; top: 88px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--rose);
  padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: 0.9rem; font-weight: 500;
  animation: slidein 0.3s ease; max-width: 320px;
}
.toast.err { border-left-color: #E23A78; }
.toast.ok { border-left-color: #2FBF71; }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------- Forms & panels ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--head); font-weight: 500; font-size: 0.88rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); font-family: var(--body); font-size: 0.96rem; background: #FFF9FB; color: var(--plum);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(255,77,141,0.15); background: #fff;
}
.form-note { font-size: 0.85rem; color: var(--plum-soft); }
.form-error { color: #C81E5B; font-size: 0.88rem; margin-top: 0.6rem; min-height: 1.2rem; }

.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; background: var(--blush-2); padding: 5px; border-radius: 999px; }
.tab { flex: 1; text-align: center; padding: 10px; border-radius: 999px; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 0.92rem; color: var(--plum-soft); transition: 0.2s; border: 0; background: none; }
.tab.active { background: #fff; color: var(--rose); box-shadow: var(--shadow-sm); }

/* ---------- Cart ---------- */
.cart-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 70px; height: 70px; border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; background: radial-gradient(circle at 50% 40%, #fff, #FFEAF2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: 0; background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--rose); }
.qty button:hover { background: var(--blush-2); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; font-size: 0.95rem; }
.link-remove { color: var(--plum-soft); font-size: 0.82rem; cursor: pointer; background: none; border: 0; }
.link-remove:hover { color: #C81E5B; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.96rem; }
.summary-total { display: flex; justify-content: space-between; padding: 14px 0 4px; border-top: 2px solid var(--line); margin-top: 8px; font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: var(--rose); }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pd-media { aspect-ratio: 1/1; border-radius: 26px; display: grid; place-items: center; font-size: 8rem;
  background: radial-gradient(circle at 50% 40%, #fff, #FFEAF2 65%, #FFD3E4); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pd-media .em { filter: drop-shadow(0 0 40px rgba(255,194,75,0.85)); animation: glowpulse 4s ease-in-out infinite; }
/* Product photo gallery */
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 68px; height: 68px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: #fff; cursor: pointer; padding: 0; transition: border-color 0.2s ease; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active { border-color: var(--rose); }
@media (max-width: 640px) { .pd-thumbs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; } .pd-thumb { flex: 0 0 auto; } }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; vertical-align: top; }
.spec-table td:first-child { color: var(--plum-soft); width: 45%; }
.spec-table td:last-child { font-weight: 500; }
.subtabs { display: flex; gap: 1.4rem; border-bottom: 1px solid var(--line); margin: 1.5rem 0 1rem; }
.subtab { padding: 8px 0; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 0.95rem; color: var(--plum-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subtab.active { color: var(--rose); border-bottom-color: var(--rose); }

/* ---------- Payment flow ---------- */
.pay-status { display: flex; align-items: center; gap: 14px; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--blush-2); }
.spinner { width: 26px; height: 26px; border: 3px solid var(--coral); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-icon { font-size: 1.6rem; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 4rem 1rem; color: var(--plum-soft); }
.empty .em { font-size: 3.4rem; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .pd-grid { grid-template-columns: 1fr; }
  .hero-scene { max-width: 400px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features, .collections, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    background: rgba(255,245,248,0.98); padding: 1rem 1.5rem; gap: 0.4rem; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform 0.3s ease; height: auto; }
  .nav-links.open { transform: none; }
  .hamburger { display: block; margin-left: auto; }
  .nav-actions { margin-left: 0; }
  .grid-4, .grid-3, .features, .collections, .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 1.6rem; }
  .hero-stats { gap: 1.3rem; }
  .cart-line { grid-template-columns: 56px 1fr; }
  .cart-line .qty-cell { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
