/* =========================================================
   BrightKidFun Crafts — global stylesheet
   Playful, colorful, sticker-craft inspired design system.
   ========================================================= */

:root {
  --cream: #FFF8EC;
  --cream-2: #FFFEF9;
  --coral: #FB5E5E;       /* slightly brighter + redder — matches hero accent */
  --coral-dark: #E04545;
  --sun: #FFD24A;          /* a touch warmer/honey — reads better on the new pale-yellow body */
  --sun-dark: #ECB820;
  --mint: #6FC685;         /* slightly more blue-green — feels less crayon, more sage-fresh */
  --mint-dark: #47A45C;
  --sky: #5BA0F2;          /* slightly softened blue */
  --sky-dark: #3D82DC;
  --lav: #9F7AD0;          /* very slight lift for cohesion */
  --lav-dark: #7A52B0;
  --ink: #2D2D2D;
  --ink-soft: #4D4D4D;
  --paper: #FFFFFF;
  --rule: rgba(45, 45, 45, 0.18);                                                        /* punchier outline color */
  --shadow-sm: 0 4px 0 rgba(45, 45, 45, 0.20);                                           /* chunkier sticker drop */
  --shadow-md: 0 8px 0 rgba(45, 45, 45, 0.22), 0 14px 30px rgba(45, 45, 45, 0.14);
  --shadow-lg: 0 12px 0 rgba(45, 45, 45, 0.24), 0 24px 50px rgba(45, 45, 45, 0.18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --font-display: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 112.5%; } /* 16px → 18px base — scales everything proportionally */

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFBE0; /* soft pale yellow — distinctly warm without being bright */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle confetti background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 107, 0.10) 0 6px, transparent 7px),
    radial-gradient(circle at 88% 24%, rgba(77, 150, 255, 0.10) 0 4px, transparent 5px),
    radial-gradient(circle at 26% 78%, rgba(255, 217, 61, 0.12) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 86%, rgba(107, 203, 119, 0.10) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, rgba(155, 114, 207, 0.06) 0 3px, transparent 4px);
  background-size: 520px 520px;
  pointer-events: none;
  opacity: 0.7;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.4em;
  line-height: 1.22;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--sky-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  padding: 0 24px;
  margin: 0 auto;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px dashed var(--rule);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--sun-dark);
  transform: rotate(-6deg);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name span { color: var(--coral); }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-weight: 700;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.nav-links a:hover { background: rgba(45, 45, 45, 0.06); text-decoration: none; }
.nav-links a.active {
  background: var(--ink);
  color: var(--cream);
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral);
  color: white;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--coral-dark);
  transition: transform 0.15s ease;
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn .count {
  background: white; color: var(--coral);
  border-radius: 999px; padding: 0 8px;
  font-size: 0.85rem; min-width: 22px; text-align: center;
}

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 6px; border-radius: 8px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--coral); color: white;
  box-shadow: 0 5px 0 var(--coral-dark);
}
.btn-primary:hover { box-shadow: 0 8px 0 var(--coral-dark); }
.btn-secondary {
  background: var(--sky); color: white;
  box-shadow: 0 5px 0 var(--sky-dark);
}
.btn-secondary:hover { box-shadow: 0 8px 0 var(--sky-dark); }
.btn-ghost {
  background: white; color: var(--ink);
  box-shadow: 0 4px 0 var(--rule);
}
.btn-ghost:hover { box-shadow: 0 7px 0 var(--rule); }
.btn-sun {
  background: var(--sun); color: var(--ink);
  box-shadow: 0 5px 0 var(--sun-dark);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 110px 0 130px;             /* generous top + bottom space */
  overflow: hidden;
}
.hero-grid {
  max-width: 1240px;                  /* keeps overall composition framed away from screen edges */
  margin: 0 auto;
  padding: 0 48px 0 40px;             /* right gutter unchanged — image keeps the same spacing to screen edge */
  display: grid;
  grid-template-columns: 1.2fr 1fr;   /* image column gets a bit more weight — it grows toward the text */
  gap: 14px;                          /* image sits much closer to the text now */
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 3px 0 var(--mint-dark);
  transform: rotate(-2deg);
}
.hero h1 {
  margin-top: 18px;
}
.hero h1 .squiggle {
  background-image: linear-gradient(120deg, var(--sun) 0%, var(--sun) 100%);
  background-repeat: no-repeat;
  background-size: 100% 28%;
  background-position: 0 88%;
  padding: 0 4px;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
  position: relative;
  display: inline-block;
  transform: rotate(-2deg);
}
.hero-lead {
  font-size: 1.4rem;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-trust {
  margin-top: 32px;
  display: flex; gap: 24px; flex-wrap: wrap;
  color: var(--ink-soft);
}
.hero-trust div {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;            /* fill the whole right column */
  max-width: none;        /* no cap — let it be BIG */
}

/* ===== Organic background blobs (decorative, bright brand colors) ===== */
.hero-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: blobDrift 14s ease-in-out infinite;
}
.hero-blob-1 {
  /* big honey-yellow blob — anchors the composition */
  top: 4%; left: 2%; width: 82%; opacity: 0.95;
  animation-delay: 0s;
}
.hero-blob-2 {
  /* bright coral blob, upper-right — pulled in to match left margin */
  top: -8%; right: 0; width: 54%; opacity: 0.85;
  animation-delay: -5s;
}
.hero-blob-3 {
  /* mint blob, bottom-left */
  bottom: -6%; left: -12%; width: 60%; opacity: 0.80;
  animation-delay: -9s;
}
.hero-blob-4 {
  /* bright sky-blue blob, mid-right — pulled in */
  top: 38%; right: -2%; width: 44%; opacity: 0.75;
  animation-delay: -3s;
}
.hero-blob-5 {
  /* lavender blob, bottom-right */
  bottom: -10%; right: 4%; width: 52%; opacity: 0.70;
  animation-delay: -7s;
}
@keyframes blobDrift {
  0%, 100% { transform: rotate(0deg) scale(1); }
  33%      { transform: rotate(6deg) scale(1.04); }
  66%      { transform: rotate(-4deg) scale(0.98); }
}

/* ===== Small accent doodles ===== */
.hero-doodle {
  position: absolute;
  z-index: 3;
  animation: bob 6s ease-in-out infinite;
  filter: drop-shadow(0 3px 0 rgba(45,45,45,0.12));
}
.hero-doodle-1 { top: 4%;  right: 8%;  width: 9%;  --rot: 14deg;  animation-delay: -1s; }
.hero-doodle-2 { bottom: 18%; left: 2%; width: 8%; --rot: -8deg;  animation-delay: -3s; }
.hero-doodle-3 { bottom: 4%; right: 22%; width: 14%; --rot: -2deg; animation-delay: -4s; }
.hero-doodle-4 { top: 48%;  left: 2%;   width: 9%;  --rot: 6deg;   animation-delay: -2.5s; }
.hero-doodle-5 { top: 32%;  right: 4%;  width: 10%; --rot: -12deg; animation-delay: -5.5s; }
.hero-doodle-6 { bottom: 32%; right: 8%; width: 11%; --rot: 8deg;  animation-delay: -1.5s; }

/* ===== Product photo "stickers" — the cut-out collage ===== */
.hero-product {
  position: absolute;
  z-index: 2;
  border-radius: 50%;        /* circular sticker frame */
  overflow: hidden;
  isolation: isolate;        /* contains the inner img's blend mode */
  background: #FFFBE0;       /* matches body so the photo's white bg disappears */
  border: 3px solid #FFF;
  box-shadow:
    0 0 0 1.5px rgba(45,45,45,0.18),
    0 10px 0 rgba(45,45,45,0.10),
    0 18px 30px rgba(45,45,45,0.14);
  transition: transform 0.4s ease;
  animation: bob 7s ease-in-out infinite;
}
.hero-product img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: multiply;   /* white-ish photo bg blends with the cream/yellow page */
  transform: scale(1.35);     /* zoom in so the product fills the circle; cuts out edge text/badges */
  transform-origin: center;
}
.hero-product:hover {
  transform: translateY(-6px) rotate(0deg) scale(1.05);
  z-index: 4;
}

/* Positioning — playful asymmetric layout */
.hero-product-1 { top: 4%;  left: 8%;  width: 38%; --rot: -7deg; animation-delay: 0s; }
.hero-product-2 { top: 12%; right: 4%; width: 34%; --rot: 6deg;  animation-delay: -2s; }
.hero-product-3 { top: 38%; left: 36%; width: 36%; --rot: -2deg; animation-delay: -3s; z-index: 3; }
.hero-product-4 { bottom: 4%; left: 4%; width: 36%; --rot: 5deg; animation-delay: -1.5s; }
.hero-product-5 { bottom: 8%; right: 8%; width: 32%; --rot: -9deg; animation-delay: -4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-10px) rotate(calc(var(--rot, 0deg) + 2deg)); }
}

/* ===== Generic section ===== */
.section { padding: 80px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lav);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* ===== Feature strip ===== */
.features {
  background: white;
  border-block: 3px dashed var(--rule);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
}
.feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.feature h4 { margin: 0 0 4px; font-size: 1.05rem; }
.feature p { font-size: 0.92rem; margin: 0; }

/* ===== Product card (sticker style) ===== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.card:nth-child(3n+1) { transform: rotate(-1.2deg); }
.card:nth-child(3n+2) { transform: rotate(0.8deg); }
.card:nth-child(3n)   { transform: rotate(-0.4deg); }
.card:nth-child(3n+1):hover,
.card:nth-child(3n+2):hover,
.card:nth-child(3n):hover { transform: translateY(-6px) rotate(0); }

.card::before {
  /* washi tape effect */
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 70px; height: 22px;
  background: repeating-linear-gradient(45deg, rgba(255,217,61,0.85) 0 6px, rgba(255,217,61,0.6) 6px 12px);
  transform: translateX(-50%) rotate(-3deg);
  border-radius: 3px;
  opacity: 0.95;
}
.card .media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  display: grid; place-items: center;
  margin-bottom: 16px;
  position: relative;
}
.card .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 4px 0;
  color: var(--ink);
}
.card .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.card .meta span {
  background: rgba(45,45,45,0.05);
  padding: 2px 10px;
  border-radius: 999px;
}
.card .row {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.card .add {
  background: var(--mint); color: white; border: none;
  font-family: var(--font-display); font-weight: 600;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 3px 0 var(--mint-dark);
  transition: transform 0.15s ease;
}
.card .add:hover { transform: translateY(-2px); }

/* color swatches that fill the product media */
.fill-coral { background: linear-gradient(135deg, #FFB4B4, var(--coral)); }
.fill-sun   { background: linear-gradient(135deg, #FFF1A8, var(--sun)); }
.fill-mint  { background: linear-gradient(135deg, #B7EBC0, var(--mint)); }
.fill-sky   { background: linear-gradient(135deg, #B4D1FF, var(--sky)); }
.fill-lav   { background: linear-gradient(135deg, #D8C5F0, var(--lav)); }
.fill-peach { background: linear-gradient(135deg, #FFD9B5, #FFB066); }

/* ===== How it works ===== */
.how {
  background: linear-gradient(180deg, transparent, rgba(255, 217, 61, 0.12));
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px; left: 24px;
  width: 44px; height: 44px;
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 0 var(--coral-dark);
}
.step:nth-child(2)::before { background: var(--sky); box-shadow: 0 4px 0 var(--sky-dark); }
.step:nth-child(3)::before { background: var(--mint); box-shadow: 0 4px 0 var(--mint-dark); }
.step h3 { margin: 8px 0 8px; }

/* ===== Age picker ===== */
.age-section {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  max-width: 1080px;
}
.age-tabs {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 32px;
}
.age-tab {
  background: var(--cream); color: var(--ink);
  border: 2px solid var(--rule);
  font-family: var(--font-display); font-weight: 600;
  padding: 10px 20px; border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.age-tab:hover { transform: translateY(-2px); }
.age-tab.active {
  background: var(--ink); color: var(--cream);
  border-color: var(--ink);
}
.age-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.age-card {
  border: 2px dashed var(--rule);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  background: var(--cream-2);
}
.age-card .emoji {
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.age-card h4 { margin-bottom: 4px; }
.age-card p { font-size: 0.92rem; margin: 0; }

/* ===== Testimonials ===== */
.quotes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.quote {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute; top: 8px; left: 18px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--sun);
}
.quote p {
  position: relative;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 24px 0 16px;
}
.quote .by {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
}
.quote .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  color: white; font-family: var(--font-display);
}

/* ===== Newsletter / CTA ===== */
.cta-band {
  background: var(--coral);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.1rem; }
.cta-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 480px;
}
.cta-form input {
  flex: 1; min-width: 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  background: white;
  color: var(--ink);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  background: var(--sun);
  border-radius: 50%;
  opacity: 0.5;
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 24px;
}
footer a { color: var(--cream); opacity: 0.85; }
footer a:hover { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 14px;
  color: var(--sun);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px dashed rgba(255,255,255,0.2);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* ===== Shop filters ===== */
.shop-header {
  padding: 50px 0 30px;
  text-align: center;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 auto 36px;
  max-width: 900px;
}
.filter {
  background: white;
  color: var(--ink);
  border: 2px solid var(--rule);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter:hover { transform: translateY(-2px); }
.filter.active {
  background: var(--coral); color: white;
  border-color: var(--coral);
  box-shadow: 0 3px 0 var(--coral-dark);
}
.shop-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.search-box {
  flex: 1; min-width: 220px;
  display: flex; align-items: center; gap: 8px;
  background: white;
  border: 2px solid var(--rule);
  border-radius: 999px;
  padding: 8px 16px;
}
.search-box input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 1rem;
}

/* ===== Product detail page ===== */
.product-page {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  padding: 50px 0;
}
.product-gallery {
  position: relative;
}
.product-main-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.product-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 16px;
}
.thumb {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.15s;
}
.thumb.active { border-color: var(--coral); }

.product-meta-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.product-meta-tags span {
  background: white;
  border: 2px solid var(--rule);
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
}
.product-page h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.product-price {
  display: flex; align-items: baseline; gap: 12px;
  margin: 6px 0 18px;
}
.product-price .now {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700;
}
.product-price .was {
  text-decoration: line-through;
  color: var(--ink-soft);
}
.product-page ul.includes {
  list-style: none; padding: 0; margin: 12px 0 24px;
}
.product-page ul.includes li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.product-page ul.includes li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  background: var(--mint); color: white;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700;
}
.qty {
  display: inline-flex; align-items: center; gap: 0;
  background: white; border: 2px solid var(--rule);
  border-radius: 999px; overflow: hidden;
  margin-right: 12px;
}
.qty button {
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 44px; font-size: 1.2rem;
  font-family: var(--font-display); font-weight: 600;
}
.qty input {
  width: 40px; border: 0; text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; outline: none;
  background: transparent;
}

/* color picker (innovative element) */
.color-picker { margin: 24px 0; }
.color-picker label {
  display: block; font-family: var(--font-display);
  font-weight: 600; margin-bottom: 10px;
}
.swatches {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.swatch {
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--rule);
  transition: transform 0.15s, box-shadow 0.15s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.selected { box-shadow: 0 0 0 3px var(--ink); transform: scale(1.08); }

.tabs {
  border-top: 2px dashed var(--rule);
  margin-top: 32px; padding-top: 20px;
}
.tabs nav {
  display: flex; gap: 22px; margin-bottom: 16px;
}
.tabs nav button {
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--ink-soft);
  padding: 6px 0; position: relative;
}
.tabs nav button.active { color: var(--ink); }
.tabs nav button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 4px; background: var(--coral); border-radius: 4px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== About page ===== */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center;
  padding: 50px 0;
}
.about-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 50px 0;
}
.stat {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--coral);
  display: block;
}
.stat:nth-child(2) .num { color: var(--sky); }
.stat:nth-child(3) .num { color: var(--mint); }
.stat:nth-child(4) .num { color: var(--lav); }
.timeline {
  margin: 60px 0;
  display: grid; gap: 30px;
}
.t-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 30px;
  padding: 24px;
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.t-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--lav);
}

/* ===== Contact page ===== */
.contact-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px;
  padding: 50px 0;
}
.contact-form {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600; margin-bottom: 8px;
  font-size: 0.95rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--rule);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream-2);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sky);
}
.field textarea { min-height: 120px; resize: vertical; }
.contact-info {
  background: var(--ink); color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info h3 { color: var(--sun); }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.contact-info li:last-child { border: 0; }

/* ===== Cart drawer ===== */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 50px rgba(0,0,0,0.15);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  padding: 20px 24px;
  border-bottom: 2px dashed var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-head h3 { margin: 0; }
.drawer-close {
  background: transparent; border: 0; cursor: pointer;
  font-size: 1.5rem; font-family: var(--font-display);
}
.drawer-body {
  flex: 1; overflow-y: auto; padding: 16px 24px;
}
.drawer-item {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule);
}
.drawer-item .pic {
  width: 56px; height: 56px; border-radius: 12px;
}
.drawer-item .name { font-weight: 700; font-family: var(--font-display); font-size: 0.95rem; }
.drawer-item .sub { color: var(--ink-soft); font-size: 0.85rem; }
.drawer-item .rm {
  background: transparent; border: 0; cursor: pointer;
  color: var(--coral); font-weight: 700; font-size: 0.85rem;
  padding: 0;
}
.drawer-item .line-actions {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px;
}
.pay-line {
  background: var(--sky); color: white; border: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.82rem; padding: 6px 12px; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--sky-dark);
  transition: transform 0.15s ease;
}
.pay-line:hover { transform: translateY(-1px); }
.pay-line.disabled {
  background: #D8D2BD; box-shadow: none; cursor: not-allowed;
  color: #6a6655;
}
.drawer-foot {
  padding: 20px 24px;
  border-top: 2px dashed var(--rule);
  background: white;
}
.drawer-foot .total {
  display: flex; justify-content: space-between;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; margin-bottom: 14px;
}
.empty {
  text-align: center; padding: 40px 20px; color: var(--ink-soft);
}
.empty span { font-size: 3rem; display: block; margin-bottom: 8px; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(45,45,45,0.4);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: var(--cream);
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600;
  z-index: 200;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-md);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 380px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .age-cards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .product-page { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--cream); padding: 12px 16px;
    border-bottom: 2px dashed var(--rule); align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .age-section { padding: 28px; }
  .t-item { grid-template-columns: 1fr; }
}

/* ===== Category tiles (home) ===== */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-tile {
  position: relative;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 130px;
}
.cat-tile:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.cat-tile .cat-label {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
}
.cat-tile .cat-count {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.cat-tile .cat-arrow {
  position: absolute;
  right: 18px; bottom: 18px;
  color: var(--ink);
  opacity: 0.7;
}

/* Shop sort + count */
.sort-select {
  background: white;
  border: 2px solid var(--rule);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}
.shop-count {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============================================================
   Shiny image treatment — glass highlight + hover shine sweep
   Images themselves are never altered; everything is CSS overlay.
   ============================================================ */

/* --- Product card media: glossy frame --- */
.card .media {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, #FFFFFF 0%, #FAF4E7 45%, #ECDFC1 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),    /* top inner highlight */
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),         /* bottom inner shadow */
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),  /* full white inner edge */
    0 10px 22px -12px rgba(45, 45, 45, 0.25);   /* soft lift */
  isolation: isolate; /* keep blend modes contained */
}

/* Top glass dome highlight — always visible, very subtle */
.card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.40) 0%,
      rgba(255, 255, 255, 0.12) 18%,
      rgba(255, 255, 255, 0) 38%),
    radial-gradient(ellipse 60% 35% at 28% 6%,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: screen;
  z-index: 3;
}

/* Diagonal shine band that sweeps across once on hover */
.card .media::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
}
.card:hover .media::before {
  animation: shine-sweep 0.95s cubic-bezier(0.4, 0.0, 0.2, 1);
}
@keyframes shine-sweep {
  0%   { left: -120%; opacity: 0; }
  10%  { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

/* The image gets a gentle zoom on hover; sits below the gloss layers */
.card .media img {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
  display: block;
}
.card:hover .media img {
  transform: scale(1.05);
}

/* Stronger card lift on hover so the gloss feels real */
.card {
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1),
              box-shadow 0.3s ease;
}
.card:hover {
  box-shadow:
    var(--shadow-lg),
    0 30px 60px -25px rgba(45, 45, 45, 0.30);
}

/* Badge floats above the gloss */
.card .badge { z-index: 5; }

/* --- Drawer mini-thumb: tiny version of the same treatment --- */
.drawer-item .pic {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 30% 0%, #FFFFFF, #FAF4E7 60%, #EDE0C2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.drawer-item .pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.drawer-item .pic::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0) 40%);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* --- Product detail main image: dialled-up glossy frame --- */
.product-main-img {
  position: relative;
  background:
    radial-gradient(ellipse at 25% -5%, #FFFFFF 0%, #FAF4E7 35%, #E8DBBA 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.98),
    inset 0 -2px 0 rgba(0, 0, 0, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 30px 70px -20px rgba(45, 45, 45, 0.35),
    0 12px 0 rgba(45, 45, 45, 0.10);
  isolation: isolate;
  overflow: hidden;
}
.product-main-img img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.product-main-img:hover img {
  transform: scale(1.03);
}

/* Bigger, softer glass dome highlight */
.product-main-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.48) 0%,
      rgba(255, 255, 255, 0.10) 20%,
      rgba(255, 255, 255, 0) 45%),
    radial-gradient(ellipse 70% 45% at 22% 8%,
      rgba(255, 255, 255, 0.65),
      rgba(255, 255, 255, 0) 70%),
    radial-gradient(ellipse 30% 20% at 80% 95%,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0) 70%);
  mix-blend-mode: screen;
  z-index: 3;
}

/* Slow, persistent gentle shine band on the detail image */
.product-main-img::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -60%;
  width: 50%;
  height: 120%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 65%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 4;
  animation: shine-drift 6s ease-in-out 2s infinite;
}
@keyframes shine-drift {
  0%, 100% { left: -60%; opacity: 0; }
  40%      { opacity: 1; }
  90%      { left: 140%; opacity: 0; }
}

/* ============================================================
   3D touch — perspective tilt for cards + product detail image
   Mouse-tracked tilt via JS; CSS hover gives a fallback on touch.
   ============================================================ */

.card {
  perspective: 1100px;
}
.card .media {
  transform-origin: 50% 50%;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}
/* CSS-only fallback tilt (touch / no JS); overridden by JS on mouse move */
.card:hover .media {
  transform: perspective(1100px) rotateX(4deg) rotateY(-5deg) translateZ(14px);
}

/* The product detail image gets a stronger lift */
.product-page,
.product-gallery {
  perspective: 1400px;
}
.product-main-img {
  transform-origin: 50% 50%;
  transition: transform 0.3s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}
.product-main-img:hover {
  transform: perspective(1400px) rotateX(3deg) rotateY(-5deg) translateZ(24px);
}

/* Soft contact shadow that grows on hover for an "object lifting" feel */
.card .media,
.product-main-img {
  filter: drop-shadow(0 6px 12px rgba(45, 45, 45, 0.10));
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1),
              filter 0.25s ease;
}
.card:hover .media {
  filter: drop-shadow(0 18px 28px rgba(45, 45, 45, 0.22));
}
.product-main-img:hover {
  filter: drop-shadow(0 30px 50px rgba(45, 45, 45, 0.30));
}

/* JS-driven mouse tilt sets an inline transform; suppress the CSS hover
   transform so the inline value takes over without a transition jump. */
.card .media.is-tilting,
.product-main-img.is-tilting {
  transition: transform 0.06s linear, filter 0.25s ease;
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .card:hover .media::before { animation: none; }
  .product-main-img::before { animation: none; opacity: 0; }
  .card .media img,
  .product-main-img img { transition: none; }
  .card:hover .media img,
  .product-main-img:hover img { transform: none; }
  .card:hover .media,
  .product-main-img:hover { transform: none; }
}

/* ============================================================
   Etsy-enriched UI — stars, bestseller, sale, trust strip, reviews
   ============================================================ */

/* Star rating */
.stars {
  display: inline-flex;
  letter-spacing: 1px;
  color: #FFC83D;
  font-size: 0.95rem;
  line-height: 1;
}
.stars .star { color: #E5E0CD; }
.stars .star.full { color: #FFC83D; }
.stars .star.half {
  background: linear-gradient(90deg, #FFC83D 50%, #E5E0CD 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rating-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: 6px;
  color: var(--ink);
}
.rating-count {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 8px;
  font-size: 0.92rem;
}
.rating-row .dot { color: var(--ink-soft); margin: 0 4px; }

/* Star-seller pill */
.star-seller-tag {
  background: linear-gradient(135deg, #FFD93D, #FFB300);
  color: #5a3d00;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

/* Bestseller badge replaces category badge on top of card image */
.card .badge.bestseller {
  background: linear-gradient(135deg, #FFD93D, #FF9F1C);
  color: #4d2a00;
  font-weight: 700;
  box-shadow: 0 3px 0 rgba(0,0,0,0.08);
}

/* "15% off" tag in top-right of card image */
.sale-tag {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 5;
  box-shadow: 0 3px 0 var(--coral-dark);
  transform: rotate(8deg);
}

/* Card price with sale */
.card .price .was {
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-left: 4px;
}

/* Trust strip (replaces old features grid) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.trust-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF1A8, #FFD93D);
  color: #4d2a00;
  box-shadow: 0 3px 0 rgba(0,0,0,0.06);
}
.trust-item:nth-child(2) .trust-icon { background: linear-gradient(135deg, #FFE3E3, #FFB4B4); color: #6b0f0f; }
.trust-item:nth-child(3) .trust-icon { background: linear-gradient(135deg, #DCEDFF, #B4D1FF); color: #0a3a8a; }
.trust-item:nth-child(4) .trust-icon { background: linear-gradient(135deg, #DEF5E2, #B7EBC0); color: #1f6b2c; }
.trust-item strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.trust-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Quote enhancements (real Etsy reviews) */
.quote-stars {
  color: #FFC83D;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

/* Product page bestseller strap */
.bestseller-strap {
  display: inline-block;
  background: linear-gradient(135deg, #FFE066, #FFC83D);
  color: #5a3d00;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 8px 0 14px;
  box-shadow: 0 3px 0 #C49A00;
}

/* Product detail price with sale */
.product-price .was {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 1.3rem;
}
.product-price .sale-pct {
  background: var(--coral);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-left: 8px;
}

/* Lead paragraph on product page */
.product-page .lead {
  font-size: 1.08rem;
  color: var(--ink);
  background: rgba(255, 217, 61, 0.18);
  padding: 14px 18px;
  border-radius: 14px;
  border-left: 4px solid var(--sun);
  margin: 14px 0 18px;
}

/* Long description body */
.long-desc p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 14px;
}

/* Reviews list on product page */
.reviews-summary {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--cream-2);
  border: 1.5px solid var(--rule);
  border-radius: 14px;
}
.review {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.review-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 600;
}
.review-stars {
  color: #FFC83D;
  letter-spacing: 1px;
}
.review-date {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-left: auto;
}
.review p { margin: 0; color: var(--ink); }

/* ============================================================
   Reviews page
   ============================================================ */
.reviews-summary-big {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 28px;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.big-rating {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--ink);
}
.big-stars {
  letter-spacing: 4px;
  font-size: 1.4rem;
  margin: 6px 0;
  color: #E5E0CD;
}
.big-stars .full { color: #FFC83D; }
.big-count {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.reviews-meta p { font-size: 1rem; margin-bottom: 18px; }
.star-bars { display: grid; gap: 6px; }
.star-bar-row {
  display: grid; grid-template-columns: 32px 1fr 50px;
  align-items: center; gap: 10px;
}
.star-bar-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}
.star-bar-track {
  height: 10px;
  background: var(--cream);
  border-radius: 999px;
  overflow: hidden;
}
.star-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFC83D, #FFB300);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.star-bar-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: right;
}

.reviews-filters {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin: 28px 0 24px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}
.review-card {
  background: white;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.review-card .review-head {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0;
}
.review-card .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
}
.review-card .review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.review-card .review-date {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.review-card .review-stars {
  font-size: 1rem;
  color: #FFC83D;
  letter-spacing: 1px;
}
.review-card .review-stars .star { color: #E5E0CD; }
.review-card .review-text {
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  color: var(--ink);
}
.review-product {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-2);
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px dashed var(--rule);
  margin-top: auto;
}
.review-product:hover { background: var(--cream); text-decoration: none; }
.review-product-thumb {
  width: 36px; height: 36px;
  background: #FAF4E7;
  border-radius: 8px;
  overflow: hidden;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.review-product-thumb img { width:100%; height:100%; object-fit: cover; display: block; }
.review-product-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-foot {
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  background: var(--cream-2);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-md);
}

@media (max-width: 760px) {
  .reviews-summary-big { grid-template-columns: 1fr; text-align: center; }
}

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-strip { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cat-tiles { grid-template-columns: 1fr; }
}
