/* =========================================================
   Aura Skin & Beauty - Main Stylesheet
   Layout uses CSS logical properties so RTL works with
   minimal overrides (see rtl.css). Dark theme: dark.css
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg: #fffaf5;
  --bg-alt: #f8efe7;
  --surface: #ffffff;
  --text: #2f2623;
  --muted: #7a6a63;
  --primary: #c2705a;
  --primary-dark: #a95a45;
  --primary-soft: #f6e0d6;
  --accent: #6f9a86;
  --gold: #c9a66b;
  --border: #eadfd6;
  --header-bg: rgba(255, 250, 245, .86);
  --hero-from: #fbe9dd;
  --hero-to: #fff5ee;
  --blob-1: #f4c3ad;
  --blob-2: #cfe3d6;
  --news-from: #a9523f;
  --news-to: #7e3a2c;
  --footer-bg: #2b211e;
  --footer-text: #d9ccc5;

  --shadow-sm: 0 2px 10px rgba(80, 45, 30, .06);
  --shadow-md: 0 12px 30px rgba(80, 45, 30, .10);
  --shadow-lg: 0 24px 60px rgba(80, 45, 30, .16);

  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .3, 1);

  --font-body: 'Inter', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Playfair Display', 'Tajawal', Georgia, serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: -60px; inset-inline-start: 1rem; z-index: 300;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 1rem; }

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }
.icon-arrow { transition: transform .3s var(--ease); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; line-height: 1.2;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(194, 112, 90, .35); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 12px 26px rgba(194, 112, 90, .45); }
.btn-ghost { border-color: var(--border); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
/* blur lives on a pseudo-element so fixed children (mobile menu) keep the viewport as containing block */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .35s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { height: 44px; width: auto; }
.main-nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-block; padding: .6rem .8rem;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; inset-inline: .8rem; bottom: .3rem; height: 2px;
  background: var(--primary); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.dropdown-toggle {
  display: grid; place-items: center; width: 24px; height: 24px; margin-inline-start: -.45rem;
  border-radius: 50%; color: var(--muted); transition: color .25s;
}
.dropdown-toggle .icon { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.has-dropdown:hover .dropdown-toggle, .dropdown-toggle[aria-expanded="true"] { color: var(--primary); }
.has-dropdown:hover .dropdown-toggle .icon, .dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; inset-block-start: calc(100% + 6px); inset-inline-start: 0; min-width: 170px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .4rem;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a {
  display: block; padding: .6rem .9rem; border-radius: 8px; font-size: .92rem; font-weight: 500;
  transition: background-color .2s, color .2s, padding .25s var(--ease);
}
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); padding-inline-start: 1.2rem; }
.dropdown a.active { color: var(--primary); background: var(--primary-soft); }

.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .5rem; border-radius: 50%;
  color: var(--text); transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); transform: translateY(-2px); }
.icon-btn .icon { width: 1.3rem; height: 1.3rem; }
.icon-btn .icon-sun { display: none; }
.dir-btn {
  border-radius: 999px; border: 1.5px solid var(--border); min-width: 52px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
}
.hamburger { display: none; }

/* Search panel */
.search-panel {
  position: absolute; inset-inline: 0; inset-block-start: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md); padding-block: 1.25rem 1rem;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .3s, transform .35s var(--ease);
}
.search-panel.open { opacity: 1; transform: none; }
.search-form {
  display: flex; align-items: center; gap: .75rem; padding-block: .4rem; padding-inline: 1.1rem .5rem;
  border: 2px solid var(--border); border-radius: 999px; background: var(--bg);
  transition: border-color .25s, box-shadow .25s;
}
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: .6rem 0; }
.search-form input::placeholder { color: var(--muted); }
.search-tags { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .9rem; font-size: .88rem; color: var(--muted); }
.search-tags a { color: var(--primary); font-weight: 500; }
.search-tags a:hover { text-decoration: underline; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 12, 10, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- Shared section styles ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-alt { background: var(--bg-alt); transition: background-color .35s; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-block: .5rem .75rem; }
.section-head p { color: var(--muted); }
.section-cta { text-align: center; margin-top: 3rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  transition: background .35s;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: var(--blob-1); inset-block-start: -120px; inset-inline-end: -80px; animation: drift 14s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; background: var(--blob-2); inset-block-end: -120px; inset-inline-start: -100px; animation: drift 18s ease-in-out infinite reverse; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-content h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-block: 1rem 1.25rem; letter-spacing: -.01em; }
.hero-content h1 em { font-style: italic; color: var(--primary); }
.hero-text { max-width: 520px; color: var(--muted); font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 2rem 2.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.75rem; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--text); }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-media { position: relative; width: 100%; max-width: 500px; margin-inline: auto; }
.hero-img-wrap {
  border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface);
}
.hero-img-wrap img { width: 100%; transition: transform 1.2s var(--ease); }
.hero-media:hover .hero-img-wrap img { transform: scale(1.05); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: var(--surface); padding: .75rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); animation: float 5s ease-in-out infinite;
}
.float-card .icon { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.float-card .icon-fill { color: var(--gold); }
.float-card strong { display: block; font-size: .95rem; line-height: 1.2; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-1 { inset-inline-start: -9%; inset-block-end: 16%; }
.float-2 { inset-inline-end: -6%; inset-block-start: 14%; animation-delay: -2.2s; }

.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2rem, 4vw, 3.25rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
}
.trust-bar li { display: flex; align-items: center; gap: .8rem; font-size: .9rem; font-weight: 500; }
.trust-bar .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }

/* ---------- 2. Categories ---------- */
.cat-card {
  position: relative; display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.cat-img { overflow: hidden; aspect-ratio: 1; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-body { padding: 1.1rem 1.4rem 1.3rem; }
.cat-body h3 { font-size: 1.25rem; }
.cat-body span { font-size: .85rem; color: var(--muted); }
.cat-arrow {
  position: absolute; inset-inline-end: 1.1rem; inset-block-end: 1.1rem; width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.cat-card:hover .cat-arrow { background: var(--primary); color: #fff; transform: scale(1.1); }

/* ---------- 3. Products ---------- */
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.product-img > a { display: block; height: 100%; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.08); }
.badge {
  position: absolute; z-index: 2; inset-block-start: .85rem; inset-inline-start: .85rem;
  background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
}
.badge-new { background: var(--accent); }
.badge-sale { background: #d9534f; }
.wish-btn {
  position: absolute; z-index: 2; inset-block-start: .75rem; inset-inline-end: .75rem; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #5a4a42;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), color .25s, background-color .25s;
}
.wish-btn:hover { transform: scale(1.12); color: var(--primary); }
.wish-btn[aria-pressed="true"] { color: #fff; background: var(--primary); animation: pop .4s var(--ease); }
.wish-btn[aria-pressed="true"] .icon { fill: currentColor; }
.add-cart {
  position: absolute; z-index: 2; inset-inline: 1rem; inset-block-end: 1rem;
  transform: translateY(150%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s, background-color .25s, box-shadow .3s;
}
.product-card:hover .add-cart, .add-cart:focus-visible { transform: none; opacity: 1; }
.add-cart:hover { transform: translateY(-2px); }
.product-info { padding: 1.1rem 1.25rem 1.35rem; }
.product-cat { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.product-info h3 { font-size: 1.08rem; margin-block: .25rem .4rem; font-family: var(--font-body); font-weight: 600; }
.product-info h3 a:hover { color: var(--primary); }
.rating { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.rating .icon { width: 1rem; height: 1rem; color: var(--gold); }
.rating span { color: var(--muted); }
.price { margin-top: .5rem; display: flex; align-items: baseline; gap: .6rem; }
.price strong { font-size: 1.2rem; color: var(--primary); }
.price del { color: var(--muted); font-size: .9rem; }

/* ---------- 4. Concerns ---------- */
.concern-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 6 / 7; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.concern-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.concern-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.concern-card:hover img { transform: scale(1.1); }
.concern-overlay {
  position: absolute; inset-inline: 0; inset-block-end: 0; padding: 4rem 1.5rem 1.5rem; color: #fff;
  background: linear-gradient(to top, rgba(30, 18, 14, .85), rgba(30, 18, 14, 0));
}
.concern-overlay h3 { font-size: 1.5rem; }
.concern-overlay p { font-size: .9rem; opacity: .9; margin-block: .25rem .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; }
.concern-card:hover .link-arrow .icon-arrow { transform: translateX(5px); }

/* ---------- 5. Brands marquee ---------- */
.brands { overflow: hidden; }
.brands .section-head { margin-bottom: 2.25rem; }
.marquee {
  direction: ltr; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 1.5rem; padding-inline-end: 1.5rem; }
.marquee-set li {
  display: grid; place-items: center; width: 240px; height: 110px; padding: 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.marquee-set li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.marquee-set img { max-height: 64px; width: auto; }

/* ---------- 6. Quiz ---------- */
.quiz-card {
  display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; overflow: hidden;
  border-radius: 32px; background: linear-gradient(135deg, var(--primary-soft), var(--bg-alt));
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.quiz-media { align-self: stretch; }
.quiz-media img { width: 100%; height: 100%; object-fit: cover; }
.quiz-content { padding: clamp(1.75rem, 5vw, 4rem); }
.quiz-content h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-block: .6rem 1rem; }
.quiz-content > p { color: var(--muted); max-width: 520px; }
.quiz-steps { display: grid; gap: .75rem; margin-block: 1.75rem 2rem; }
.quiz-steps li { display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.quiz-steps span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .9rem; font-weight: 700;
  box-shadow: 0 0 0 5px var(--primary-soft);
}

/* ---------- 7. Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card {
  position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding: 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-card::before {
  content: "\201C"; position: absolute; inset-block-start: .5rem; inset-inline-end: 1.5rem;
  font-family: var(--font-head); font-size: 5rem; line-height: 1; color: var(--primary); opacity: .18;
}
.stars { display: flex; gap: .15rem; color: var(--gold); }
.stars .icon { width: 1.1rem; height: 1.1rem; }
.review-card blockquote { flex: 1; font-size: 1.02rem; }
.review-card figcaption { display: flex; align-items: center; gap: .9rem; }
.review-card figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-soft); }
.review-card figcaption strong { display: block; line-height: 1.2; }
.review-card figcaption span { font-size: .82rem; color: var(--muted); }
.review-dots { display: none; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.review-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--border); transition: width .3s var(--ease), background-color .3s; }
.review-dots span.active { width: 26px; background: var(--primary); }

/* ---------- 8. Newsletter ---------- */
.newsletter { padding-block-end: clamp(3.5rem, 7vw, 6rem); }
.news-card {
  display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 32px;
  background: linear-gradient(135deg, var(--news-from), var(--news-to)); color: #fff; box-shadow: var(--shadow-lg);
}
.news-content { padding: clamp(1.75rem, 5vw, 4rem); align-self: center; }
.news-content .eyebrow { color: #ffd9cb; }
.news-content h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-block: .6rem 1rem; }
.news-content > p { opacity: .92; max-width: 480px; }
.news-form { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; max-width: 520px; }
.news-form input {
  flex: 1 1 240px; min-width: 0; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  background: #fff; color: #2f2623; outline: none; transition: border-color .25s, box-shadow .25s;
}
.news-form input:focus { border-color: #ffd9cb; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.news-form input.invalid { border-color: #ffb3a7; }
.news-form .btn-primary { background: #fff; color: var(--news-from); box-shadow: none; padding-inline: 1.8rem; }
.news-form .btn-primary:hover { background: #ffe9df; }
.form-msg { min-height: 1.6em; margin-top: .85rem; font-size: .92rem; font-weight: 500; }
.form-msg.is-error { color: #ffc9bf; }
.news-media { align-self: stretch; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer .logo img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin-block: 1.1rem 1.4rem; max-width: 320px; font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a, .footer-bottom a { transition: color .2s, padding .25s var(--ease); }
.footer-col ul:not(.contact-list) a:hover { color: #f0a58f; padding-inline-start: .4rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .94rem; }
.contact-list .icon { margin-top: .2rem; color: #f0a58f; }
.contact-list a:hover { color: #f0a58f; }
.social { display: flex; gap: .6rem; }
.social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); transition: background-color .3s, transform .3s var(--ease), border-color .3s;
}
.social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-4px); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-bottom a:hover { color: #f0a58f; }

/* ---------- Back to top / toast ---------- */
.back-top {
  position: fixed; inset-inline-end: 1.25rem; inset-block-end: 1.25rem; z-index: 80;
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--primary); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s, background-color .25s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.toast {
  position: fixed; inset-inline: 0; margin-inline: auto; inset-block-end: 1.5rem; z-index: 200;
  width: max-content; max-width: calc(100% - 2rem); padding: .8rem 1.4rem; border-radius: 999px;
  background: #2b211e; color: #fff; font-size: .92rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.toast.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.92); } 60% { transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.12); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.anim-up { opacity: 0; animation: fadeUp .85s var(--ease) forwards; animation-delay: var(--d, 0s); }
.anim-pop { opacity: 0; animation: pop 1s var(--ease) forwards; animation-delay: var(--d, 0s); }

.reveal-left { --rx: -40px; }
.reveal-right { --rx: 40px; }
html.js .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal-left, html.js .reveal-right { transform: translateX(var(--rx)); }
html.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim-up, .anim-pop { opacity: 1; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

/* Large tablets / small laptops: tighten header */
@media (max-width: 1180px) {
  .logo img { height: 40px; }
  .nav-link { padding-inline: .6rem; font-size: .9rem; }
  .nav-link::after { inset-inline: .6rem; }
  .header-inner { gap: .75rem; }
}

/* Tablet & mobile: hamburger menu */
@media (max-width: 1024px) {
  .hamburger {
    display: grid; align-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; border-radius: 50%;
    transition: background-color .25s;
  }
  .hamburger:hover { background: var(--primary-soft); }
  .hamburger span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-actions { margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline-start: 0; margin: 0;
    width: min(86vw, 360px); height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1.25rem 1.25rem 2rem; background: var(--surface);
    border-inline-end: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateX(-105%); visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-list > li > .nav-link { flex: 1; padding: .9rem 1rem; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: var(--primary-soft); }
  .nav-list > li { opacity: 0; transform: translateX(-16px); }
  .main-nav.open .nav-list > li { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s var(--ease); }
  .main-nav.open .nav-list > li:nth-child(1) { transition-delay: .08s; }
  .main-nav.open .nav-list > li:nth-child(2) { transition-delay: .13s; }
  .main-nav.open .nav-list > li:nth-child(3) { transition-delay: .18s; }
  .main-nav.open .nav-list > li:nth-child(4) { transition-delay: .23s; }
  .main-nav.open .nav-list > li:nth-child(5) { transition-delay: .28s; }
  .main-nav.open .nav-list > li:nth-child(6) { transition-delay: .33s; }

  .dropdown-toggle { width: 44px; height: 44px; margin: 0; border-radius: var(--radius-sm); background: var(--bg-alt); }
  .dropdown-toggle .icon { width: 1.2rem; height: 1.2rem; }
  .has-dropdown:hover .dropdown-toggle .icon { transform: none; }
  .dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .dropdown {
    position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0 .75rem; opacity: 1; visibility: visible; transform: none;
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { max-height: 0; }
  .has-dropdown.open .dropdown { max-height: 200px; padding-block: .35rem; }
  .dropdown a { padding: .75rem 1rem; }
}

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-media { max-width: 420px; }
  .float-1 { inset-inline-start: -4%; }
  .float-2 { inset-inline-end: -3%; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .quiz-card, .news-card { grid-template-columns: 1fr; }
  .quiz-media, .news-media { overflow: hidden; }
  .quiz-media img, .news-media img { height: 300px; object-position: center; }
  .news-media { order: -1; }

  .reviews {
    display: flex; overflow-x: auto; gap: 1rem; scroll-snap-type: x mandatory;
    margin-inline: -1.25rem; padding: .5rem 1.25rem 1rem; scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 min(78%, 380px); scroll-snap-align: center; }
  .review-dots { display: flex; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { width: min(1200px, 100% - 2rem); }
  .reviews { margin-inline: -1rem; padding-inline: 1rem; }
  .logo img { height: 34px; }
  .header-actions { gap: .1rem; }
  .icon-btn { min-width: 38px; height: 38px; }
  .dir-btn { min-width: 46px; font-size: .68rem; }
  .hamburger { width: 38px; height: 38px; }
  .grid { gap: 1rem; }
  .section-head { margin-bottom: 2rem; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 1.25rem 2rem; }
  .float-card { padding: .55rem .8rem; }
  .float-card strong { font-size: .82rem; }
  .float-card span { display: none; }
  .trust-bar { padding: 1rem; gap: .9rem; }
  .trust-bar li { font-size: .8rem; gap: .55rem; }
  .trust-bar .icon { width: 2.1rem; height: 2.1rem; padding: .5rem; }
  .cat-body { padding: .85rem 1rem 1rem; }
  .cat-body h3 { font-size: 1.05rem; }
  .cat-arrow { display: none; }
  .product-info { padding: .9rem 1rem 1.1rem; }
  .product-info h3 { font-size: .95rem; }
  .price strong { font-size: 1.05rem; }
  .badge { font-size: .62rem; padding: .22rem .55rem; }
  .wish-btn { width: 32px; height: 32px; inset-block-start: .55rem; inset-inline-end: .55rem; }
  .concern-overlay { padding: 3rem 1rem 1rem; }
  .concern-overlay h3 { font-size: 1.15rem; }
  .concern-overlay p { display: none; }
  .marquee-set li { width: 190px; height: 90px; }
  .marquee-set img { max-height: 52px; }
  .review-card { padding: 1.5rem; flex-basis: 84%; }
  .news-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Touch devices: no hover, keep "Add to cart" visible */
@media (hover: none) {
  .product-img { aspect-ratio: auto; display: flex; flex-direction: column; padding-bottom: .9rem; }
  .product-img > a { height: auto; }
  .product-img img { height: auto; }
  .add-cart { position: static; transform: none; opacity: 1; inset: auto; margin: .75rem 1rem 0; width: calc(100% - 2rem); }
  .product-card:hover, .cat-card:hover, .concern-card:hover, .review-card:hover { transform: none; }
}

@media (max-width: 400px) {
  .grid-4.products { grid-template-columns: 1fr; }
  .dir-btn { min-width: 42px; }
}

/* =========================================================
   HOME 2 PAGE (home-2.html)
   Reuses the shared tokens, buttons, product cards and
   section styles above; only new components live here.
   ========================================================= */
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Shared: in-card "Add to Cart" buttons that are always visible */
.feature-foot .add-cart, .bundle-card .add-cart { position: static; transform: none; opacity: 1; inset: auto; margin: 0; width: auto; }
.feature-foot .add-cart:hover, .bundle-card .add-cart:hover { transform: translateY(-3px); }

/* ---------- 1. Split hero ---------- */
.routine { display: grid; gap: .7rem; margin-top: 1.75rem; max-width: 480px; text-align: start; }
.routine li {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s;
}
.routine li:hover { transform: translateX(6px); border-color: var(--primary); }
.routine b {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .9rem; box-shadow: 0 0 0 5px var(--primary-soft);
}
.routine strong { display: block; line-height: 1.25; }
.routine span { font-size: .85rem; color: var(--muted); }

.feature-card { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow-lg); }
.feature-img { position: relative; aspect-ratio: 1 / .85; overflow: hidden; background: var(--bg-alt); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-body { padding: 1.35rem 1.6rem 1.6rem; }
.feature-body h2 { font-size: 1.55rem; margin-block: .25rem .5rem; }
.feature-body h2 a:hover { color: var(--primary); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .9rem 1.1rem; }
.chips li { padding: .3rem .8rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .78rem; font-weight: 600; }
.feature-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; }
.feature-foot .price { margin-top: 0; }

/* ---------- 3. Daily essentials ---------- */
.step-card {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 1.5rem 1.4rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.step-no { position: absolute; inset-block-start: .7rem; inset-inline-end: 1.2rem; font-family: var(--font-head); font-size: 3.2rem; line-height: 1; color: var(--primary); opacity: .16; }
.step-card > .icon { width: 3rem; height: 3rem; padding: .8rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.step-card h3 { font-size: 1.3rem; margin-top: .4rem; }
.step-card p { flex: 1; color: var(--muted); font-size: .93rem; }
.step-pick { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; padding-top: 1rem; border-top: 1px dashed var(--border); font-size: .88rem; font-weight: 600; line-height: 1.3; }
.step-pick img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--bg-alt); }
.step-pick small { display: block; font-size: .85rem; font-weight: 600; color: var(--primary); }
.step-pick:hover span { color: var(--primary); }

/* ---------- 4. Ingredients spotlight ---------- */
.ingredient-card {
  --ing: var(--primary); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .85rem;
  padding: 2rem 1.75rem 1.75rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ing) 16%, var(--surface)), var(--surface) 65%);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.ingredient-card > * { position: relative; z-index: 1; }
.ingredient-card::after {
  content: ""; position: absolute; inset-block-start: -60px; inset-inline-end: -50px; width: 180px; height: 180px;
  border-radius: 50%; background: var(--ing); opacity: .13; pointer-events: none; transition: transform .8s var(--ease);
}
.ingredient-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--ing); }
.ingredient-card:hover::after { transform: scale(1.4); }
.ing-icon { width: 3.2rem; height: 3.2rem; padding: .85rem; border-radius: 50%; background: var(--ing); color: #fff; }
.ing-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ing); }
.ingredient-card h3 { font-size: 1.6rem; margin-top: -.4rem; }
.ingredient-card > p { color: var(--muted); font-size: .95rem; }
.ing-list { display: grid; gap: .5rem; flex: 1; font-size: .92rem; }
.ing-list li { display: flex; align-items: flex-start; gap: .6rem; }
.ing-list .icon { width: 1.1rem; height: 1.1rem; margin-top: .22rem; color: var(--ing); }
.ing-pick {
  display: flex; align-items: center; gap: .8rem; margin-top: .4rem; padding: .6rem .9rem .6rem .6rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .3s, transform .35s var(--ease);
}
.ing-pick:hover { border-color: var(--ing); transform: translateY(-3px); }
.ing-pick:hover .icon-arrow { transform: translateX(4px); }
.ing-pick img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--bg-alt); }
.ing-pick div { flex: 1; min-width: 0; line-height: 1.3; }
.ing-pick strong { display: block; font-size: .92rem; }
.ing-pick span { font-size: .85rem; color: var(--muted); }
.ing-pick .icon { color: var(--ing); }

/* ---------- 5. Skin type tabs ---------- */
.skin-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.25rem; }
.skin-tab {
  padding: .65rem 1.5rem; border-radius: 999px; border: 2px solid var(--border); background: var(--surface);
  font-weight: 600; font-size: .92rem;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease);
}
.skin-tab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.skin-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(194, 112, 90, .3); }
.skin-note { min-height: 1.7em; margin-bottom: 2rem; text-align: center; color: var(--muted); font-size: .95rem; }
.skin-grid [hidden] { display: none; }

/* ---------- 6. Bundles & offers ---------- */
.bundle-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.bundle-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.bundle-card.is-featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.bundle-thumbs { display: flex; justify-content: center; padding: 2.75rem 1rem 1.5rem; background: linear-gradient(135deg, var(--primary-soft), var(--bg-alt)); }
.bundle-thumbs img {
  width: 30%; max-width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--surface); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease);
}
.bundle-thumbs img + img { margin-inline-start: -1.4rem; }
.bundle-card:hover .bundle-thumbs img { transform: translateY(-6px); }
.bundle-body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.6rem; }
.bundle-body h3 { font-size: 1.35rem; }
.bundle-body > p { color: var(--muted); font-size: .92rem; }
.bundle-list { display: grid; flex: 1; gap: .35rem; margin-block: .3rem .6rem; font-size: .9rem; }
.bundle-list li { display: flex; align-items: center; gap: .5rem; }
.bundle-list .icon { width: 1rem; height: 1rem; color: var(--accent); }
.bundle-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.bundle-foot .price { margin-top: 0; }

.offer-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem;
  margin-top: 2.5rem; padding: 1.6rem 2rem; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, var(--news-from), var(--news-to)); box-shadow: var(--shadow-md);
}
.offer-banner h3 { font-size: 1.45rem; }
.offer-banner p { margin-top: .25rem; font-size: .92rem; opacity: .92; }
.offer-code {
  display: inline-flex; align-items: center; gap: .9rem; padding-block: .4rem; padding-inline: 1.3rem .4rem;
  border: 2px dashed rgba(255, 255, 255, .55); border-radius: 999px; font-weight: 700; letter-spacing: .14em;
}
.offer-code .btn-primary { background: #fff; color: var(--news-from); box-shadow: none; }
.offer-code .btn-primary:hover { background: #ffe9df; }

/* ---------- 7. Articles ---------- */
.article-card {
  display: flex; flex-direction: column; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.article-card:hover .article-img img { transform: scale(1.08); }
.article-tag {
  position: absolute; inset-block-start: .85rem; inset-inline-start: .85rem; padding: .3rem .75rem; border-radius: 999px;
  background: var(--surface); color: var(--primary); font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; box-shadow: var(--shadow-sm);
}
.article-body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1.4rem 1.5rem 1.6rem; }
.article-meta { display: flex; gap: .55rem; font-size: .8rem; color: var(--muted); }
.article-body h3 { font-size: 1.25rem; }
.article-body h3 a:hover { color: var(--primary); }
.article-body > p { flex: 1; color: var(--muted); font-size: .93rem; }
.article-body .link-arrow { color: var(--primary); }
.article-card:hover .link-arrow .icon-arrow { transform: translateX(5px); }

/* ---------- Home 2: Responsive ---------- */
@media (max-width: 1024px) {
  /* 3-up grids become a tidy single column on tablet */
  .grid-3 { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .article-card { flex-direction: row; }
  .article-img { flex: 0 0 42%; aspect-ratio: auto; }
}
@media (max-width: 900px) {
  .routine { margin-inline: auto; }
  .feature-card { text-align: start; }
}
@media (max-width: 640px) {
  .grid-3 { max-width: none; }
  .article-card { flex-direction: column; }
  .article-img { flex: none; aspect-ratio: 16 / 10; }
  .grid-4.steps { grid-template-columns: 1fr; }
  .routine li { padding: .6rem .85rem; }
  .feature-body { padding: 1.15rem 1.25rem 1.35rem; }
  .feature-body h2 { font-size: 1.35rem; }
  .skin-tabs { gap: .45rem; }
  .skin-tab { flex: 1 1 calc(50% - .45rem); padding-inline: 1rem; }
  .ingredient-card { padding: 1.6rem 1.35rem 1.35rem; }
  .offer-banner { justify-content: center; padding: 1.4rem 1.25rem; text-align: center; }
  .feature-foot .add-cart, .bundle-card .add-cart { flex: 1 1 100%; }
}
/* =========================================================
   ABOUT PAGE (about.html)
   Reuses tokens, buttons, hero, section-head, step-card and
   news gradient above; only new components live here.
   ========================================================= */
.check-list { display: grid; gap: .6rem; margin-top: 1.25rem; font-size: .95rem; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; }
.check-list .icon { width: 1.1rem; height: 1.1rem; margin-top: .25rem; color: var(--accent); }
.check-list.is-no .icon { color: #d9534f; }

/* ---------- 1. About hero ---------- */
.about-hero .hero-inner { grid-template-columns: .9fr 1.1fr; }
.about-hero .hero-media { order: -1; max-width: 460px; }
.about-hero .hero-stats { margin-top: 2rem; }

/* ---------- 2. Brand story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); }
.story-badge {
  position: absolute; inset-block-end: -1.25rem; inset-inline-end: 1.5rem; padding: .9rem 1.4rem; text-align: center;
  background: var(--primary); color: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.story-badge strong { display: block; font-family: var(--font-head); font-size: 1.8rem; line-height: 1.1; }
.story-badge span { font-size: .8rem; opacity: .92; }
.story-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-block: .5rem 1.1rem; }
.story-text > p { color: var(--muted); }
.story-text > p + p { margin-top: .9rem; }
.milestones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.75rem; }
.milestones li {
  padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 4px solid var(--primary); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.milestones strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--primary); line-height: 1.2; }
.milestones span { font-size: .88rem; color: var(--muted); }

/* ---------- 3. Beauty philosophy (tabs) ---------- */
.philo { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.philo-tabs { display: grid; gap: .65rem; }
.philo-tab {
  display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; text-align: start; font-weight: 600;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .25s, background-color .25s, transform .3s var(--ease);
}
.philo-tab .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color .25s, color .25s; }
.philo-tab:hover { border-color: var(--primary); transform: translateX(4px); }
.philo-tab[aria-selected="true"] { border-color: var(--primary); background: var(--primary-soft); }
.philo-tab[aria-selected="true"] .icon { background: var(--primary); color: #fff; }
.philo-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-md); animation: fadeUp .5s var(--ease);
}
.philo-panel[hidden] { display: none; }
.philo-panel h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-block: .4rem .8rem; }
.philo-panel > p { color: var(--muted); }

/* ---------- 4. Ingredients & selection ---------- */
.standards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.standard-card { padding: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.standard-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; }
.standard-card h3 .icon { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.standard-card.is-no h3 .icon { background: rgba(217, 83, 79, .14); color: #d9534f; }

/* ---------- 5. Why shop + CTA ---------- */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-card {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.why-card > .icon { width: 3rem; height: 3rem; padding: .8rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.why-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.why-card p { color: var(--muted); font-size: .92rem; }
.cta-card {
  position: relative; overflow: hidden; margin-top: 3.5rem; padding: clamp(2rem, 6vw, 4rem); text-align: center; color: #fff;
  border-radius: 32px; background: linear-gradient(135deg, var(--news-from), var(--news-to)); box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; inset-block-start: -90px; inset-inline-end: -70px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: #ffd9cb; }
.cta-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-block: .6rem 1rem; }
.cta-card p { max-width: 520px; margin-inline: auto; opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.cta-card .btn-primary { background: #fff; color: var(--news-from); box-shadow: none; }
.cta-card .btn-primary:hover { background: #ffe9df; }
.cta-card .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-card .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ---------- About: Responsive ---------- */
@media (max-width: 1024px) {
  .philo { grid-template-columns: 1fr; }
  .philo-tabs { grid-template-columns: repeat(2, 1fr); }
  .philo-tab:hover { transform: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .about-hero .hero-inner { grid-template-columns: 1fr; }
  .about-hero .hero-media { order: 0; }
  .story { grid-template-columns: 1fr; }
  .story-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .standards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .philo-tab { flex-direction: column; justify-content: center; gap: .5rem; padding: .85rem .5rem; text-align: center; font-size: .85rem; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 1.25rem; }
  .milestones { gap: .75rem; }
  .milestones li { padding: .8rem .9rem; }
  .standard-card { padding: 1.4rem; }
  .cta-actions .btn { width: 100%; }
}
/* =========================================================
   PRODUCTS PAGE (products.html)
   Reuses product-card, concern-card, feature-card, chips and
   section styles above; only new components live here.
   ========================================================= */

/* ---------- 1. Banner ---------- */
.page-banner {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); transition: background .35s;
}
.page-banner .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.1rem; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: .5rem; opacity: .6; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-block: .9rem 1rem; letter-spacing: -.01em; }
.page-banner h1 em { font-style: italic; color: var(--primary); }
.page-banner p { max-width: 600px; margin-inline: auto; color: var(--muted); font-size: 1.05rem; }
.banner-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.75rem; }
.banner-pills li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem; font-size: .88rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.banner-pills .icon { color: var(--primary); }

/* ---------- 3. Filters ---------- */
.filters-section { padding-block-end: 0; }
.filter-panel { padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.cat-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; font-weight: 600; font-size: .9rem;
  border: 2px solid var(--border); border-radius: 999px; background: var(--bg);
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s;
}
.cat-chip small { font-size: .75rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.cat-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.cat-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(194, 112, 90, .3); }
.cat-chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
.filter-toggle { display: none; width: 100%; margin-top: 1rem; }
.filter-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.filter-controls { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--border); }
.field label { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-width: 0; padding: .7rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-sm);
  background-color: var(--bg); color: var(--text); outline: none; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem;
}

/* ---------- 4. Listing ---------- */
.listing { padding-block-start: 2rem; }
.results-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.results-bar h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.results-bar p { color: var(--muted); font-size: .95rem; }
.clear-filters { margin-inline-start: .6rem; color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 3rem 1.5rem; text-align: center; border: 2px dashed var(--border); border-radius: var(--radius); }
.empty-state h3 { font-size: 1.5rem; }
.empty-state p { margin-block: .6rem 1.5rem; color: var(--muted); }
.empty-state .clear-filters { margin: 0; color: #fff; text-decoration: none; }
#productGrid [hidden] { display: none; }
.empty-state[hidden], .clear-filters[hidden] { display: none; }

/* ---------- 5. Featured / bestsellers ---------- */
.best-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: center; }
.feature-body h3 { font-size: 1.55rem; margin-block: .25rem .5rem; }
.feature-body h3 a:hover { color: var(--primary); }
.rank-list { display: grid; gap: 1rem; }
.rank-card {
  display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem .9rem .9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.rank-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.rank-no { flex: none; width: 2ch; text-align: center; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--primary); opacity: .55; }
.rank-card img { flex: none; width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: var(--bg-alt); }
.rank-info { flex: 1; min-width: 0; }
.rank-info h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; margin-bottom: .2rem; }
.rank-info .price { margin-top: .25rem; }
.rank-card .add-cart { position: static; transform: none; opacity: 1; inset: auto; margin: 0; width: auto; flex: none; }
.rank-card .add-cart:hover { transform: translateY(-3px); }

/* ---------- Products: Responsive ---------- */
@media (max-width: 1024px) {
  .filter-controls { grid-template-columns: repeat(2, 1fr); }
  .field-search { grid-column: 1 / -1; }
  .best-grid { grid-template-columns: 1fr; }
  .best-grid .feature-card { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .page-banner { padding-block: 2rem 2.5rem; }
  .banner-pills li { font-size: .8rem; padding: .45rem .85rem; }
  .filter-panel { padding: 1rem; }
  .cat-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -.25rem; padding: .25rem; scrollbar-width: none; }
  .cat-chips::-webkit-scrollbar { display: none; }
  .cat-chip { flex: none; }
  .filter-toggle { display: inline-flex; }
  .filter-controls { display: none; grid-template-columns: 1fr; gap: .85rem; }
  .filter-controls.open { display: grid; }
  .results-bar { flex-direction: column; align-items: flex-start; }
  .rank-card { flex-wrap: wrap; padding: .85rem; }
  .rank-card img { width: 72px; height: 72px; }
  .rank-card .add-cart { flex: 1 1 100%; }
}
/* =========================================================
   PRODUCT DETAILS PAGE (product-details.html)
   Reuses tokens, buttons, badge, wish-btn, step-card, routine,
   standard-card, review-card and product-card above.
   ========================================================= */
.stars .icon.off { opacity: .28; }

/* ---------- 1. Gallery + name + price ---------- */
body.page-product { overflow-x: clip; }
.pd-top { padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem); background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); }
.pd-top .breadcrumb { justify-content: flex-start; margin-bottom: 1.5rem; }
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pd-gallery { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); display: grid; gap: 1rem; min-width: 0; }
.pd-main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); border: 6px solid var(--surface); border-radius: 32px; box-shadow: var(--shadow-lg); }
.pd-main img { width: 100%; height: 100%; padding: clamp(1rem, 4vw, 2.5rem); object-fit: contain; transition: transform 1s var(--ease), opacity .2s; }
.pd-main:hover img { transform: scale(1.06); }
.pd-main img.swap { opacity: 0; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.pd-thumb { aspect-ratio: 1; overflow: hidden; border: 2px solid var(--border); border-radius: 14px; background: var(--bg-alt); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:first-child img { padding: .35rem; object-fit: contain; }
.pd-thumb:hover { transform: translateY(-3px); border-color: var(--primary); }
.pd-thumb[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

.pd-info { min-width: 0; }
.pd-info h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-block: .6rem .8rem; letter-spacing: -.01em; }
.pd-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .92rem; }
.pd-rating span { color: var(--muted); }
.pd-rating:hover span { color: var(--primary); text-decoration: underline; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .8rem; margin-block: 1.1rem; }
.pd-price strong { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--primary); }
.pd-price del { color: var(--muted); font-size: 1.1rem; }
.pd-save { padding: .25rem .7rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .78rem; font-weight: 700; }
.pd-lead { color: var(--muted); max-width: 540px; }
.pd-opt { margin-block: 1.5rem 1.25rem; }
.pd-label { display: block; margin-bottom: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pd-sizes { display: flex; flex-wrap: wrap; gap: .6rem; }
.pd-suitability { margin-block: 1.25rem 1.5rem; }
.pd-skin-types { display: flex; flex-wrap: wrap; gap: .5rem; }
.pd-skin-types li { padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .82rem; }
.pd-skin-types li.is-suitable { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.pd-skin-types li.not-listed { opacity: .65; }
.pd-size {
  padding: .6rem 1.3rem; font-weight: 600; font-size: .92rem; border: 2px solid var(--border); border-radius: 999px; background: var(--surface);
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s;
}
.pd-size:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.pd-size[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(194, 112, 90, .3); }
.pd-buy { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.pd-buy .add-cart { position: static; transform: none; opacity: 1; inset: auto; margin: 0; width: auto; flex: 1 1 200px; }
.pd-buy .add-cart:hover { transform: translateY(-3px); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--border); border-radius: 999px; background: var(--surface); }
.qty-btn { width: 44px; height: 48px; font-size: 1.3rem; line-height: 1; border-radius: 999px; transition: color .2s, background-color .2s; }
.qty-btn:hover { color: var(--primary); background: var(--primary-soft); }
.qty input { width: 2.6rem; padding: 0; text-align: center; font-weight: 700; border: 0; background: transparent; outline: none; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px dashed var(--border); }
.pd-perks li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 500; }
.pd-perks .icon { width: 2.2rem; height: 2.2rem; padding: .5rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.pd-delivery { margin-top: 1.5rem; padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.pd-delivery > label { display: block; margin-bottom: .55rem; font-size: .88rem; font-weight: 700; }
.pd-delivery-row { display: flex; gap: .6rem; }
.pd-delivery-row input { width: 100%; min-width: 0; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; }
.pd-delivery-row input[aria-invalid="true"] { border-color: #b84444; }
.pd-delivery .pd-note { margin-top: .65rem; padding: 0; background: none; font-size: .82rem; }

/* ---------- 2. Description + benefits ---------- */
.pd-desc { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pd-desc h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-block: .5rem 1.1rem; }
.pd-desc p { color: var(--muted); }
.pd-desc p + p { margin-top: .9rem; }
.pd-specs { margin: 0; padding: .5rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pd-specs div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem; font-size: .93rem; }
.pd-specs div + div { border-top: 1px dashed var(--border); }
.pd-specs dt { color: var(--muted); }
.pd-specs dd { margin: 0; font-weight: 600; text-align: end; }
.pd-sub { margin-block: 3.5rem 2rem; }
.pd-sub h2 { margin-bottom: 0; }

/* ---------- 3. Ingredients + how to use ---------- */
.pd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.pd-two .standard-card { padding: clamp(1.4rem, 3vw, 2rem); }
.pd-two .routine { max-width: none; margin-top: 1.25rem; }
.pd-note { margin-top: 1.5rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--primary-soft); font-size: .88rem; }

/* ---------- 4. Reviews & ratings ---------- */
.rv-sum {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); margin-bottom: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.rv-score { display: grid; justify-items: center; gap: .3rem; text-align: center; }
.rv-score strong { font-family: var(--font-head); font-size: 3.6rem; line-height: 1; }
.rv-score span { font-size: .85rem; color: var(--muted); }
.rv-bars { display: grid; gap: .45rem; }
.rv-bars li { display: grid; grid-template-columns: 2.4rem 1fr 2.4rem; align-items: center; gap: .75rem; font-size: .85rem; }
.rv-bars i { height: 8px; overflow: hidden; border-radius: 999px; background: var(--border); }
.rv-bars b { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.rv-bars em { font-style: normal; color: var(--muted); text-align: end; }
.pd-review-disclaimer, .pd-review-empty { color: var(--muted); text-align: center; }
.pd-review-empty { padding: 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius-sm); }

/* ---------- Product details: Responsive ---------- */
@media (max-width: 900px) {
  .pd-grid, .pd-desc, .pd-two { grid-template-columns: 1fr; }
  .pd-gallery { position: static; max-width: 560px; width: 100%; margin-inline: auto; }
  .pd-info { max-width: 640px; margin-inline: auto; }
  .rv-sum { grid-template-columns: 1fr; justify-items: center; }
  .rv-bars { width: 100%; max-width: 420px; }
}
@media (max-width: 640px) {
  .pd-top { padding-block-end: 2.5rem; }
  .pd-main { border-width: 4px; border-radius: 24px; }
  .pd-thumbs { gap: .5rem; }
  .pd-buy .qty { flex: 1 1 100%; justify-content: space-between; }
  .pd-buy .add-cart { flex: 1 1 100%; }
  .pd-perks { grid-template-columns: 1fr; }
  .pd-specs { padding-inline: 1.1rem; }
  .pd-sub { margin-block: 2.5rem 1.5rem; }
  .rv-sum .btn { width: 100%; }
}
/* =========================================================
   SKIN QUIZ PAGE (quiz.html)
   Reuses page-banner, breadcrumb, banner-pills, section-head,
   step-card, step-pick, chips, product-card and buttons above.
   ========================================================= */
.page-quiz .page-banner .hero-cta { margin-block: 2rem 0; }
.quiz-banner-layout {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  align-items: center; gap: clamp(2rem, 5vw, 4rem); text-align: start;
}
.quiz-banner-copy > p { margin-inline: 0; }
.quiz-banner-copy .banner-pills,
.quiz-banner-copy .hero-cta { justify-content: flex-start; }
.quiz-banner-img {
  width: 100%; height: auto; aspect-ratio: 640 / 560; object-fit: cover;
  border-radius: 32px; box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) {
  .quiz-banner-layout { grid-template-columns: 1fr; text-align: center; }
  .quiz-banner-copy > p { margin-inline: auto; }
  .quiz-banner-copy .banner-pills,
  .quiz-banner-copy .hero-cta { justify-content: center; }
  .quiz-banner-img { max-width: 420px; margin-inline: auto; }
}
.quiz-progress { position: sticky; inset-block-start: var(--header-h); z-index: 50; border-bottom: 1px solid var(--border); background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.qp-inner { display: flex; align-items: center; gap: 1rem; padding-block: .75rem; font-size: .85rem; font-weight: 600; }
.qp-track { flex: 1; height: 8px; overflow: hidden; border-radius: 999px; background: var(--border); }
.qp-fill { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--gold)); transition: width .5s var(--ease); }
#quizForm fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-block { max-width: 920px; }
.q-group + .q-group { margin-top: 2.25rem; }
.q-title { padding: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.q-hint { margin-block: .2rem 1rem; color: var(--muted); font-size: .92rem; }
.q-submit { margin-top: 3rem; text-align: center; }
.q-submit .btn.is-incomplete { opacity: .6; }

/* ---------- 2. Skin type cards ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.opt { position: relative; display: block; cursor: pointer; }
.opt-body {
  display: flex; flex-direction: column; align-items: center; gap: .7rem; height: 100%; padding: 1.5rem 1rem; text-align: center;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), border-color .25s, background-color .25s, box-shadow .3s;
}
.opt-body .icon { width: 3.2rem; height: 3.2rem; padding: .85rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color .25s, color .25s; }
.opt-body strong { display: block; margin-bottom: .25rem; font-family: var(--font-head); font-size: 1.2rem; }
.opt-body small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.opt:hover .opt-body { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.opt input:checked + .opt-body { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 4px var(--primary-soft); }
.opt input:checked + .opt-body .icon { background: var(--primary); color: #fff; }
.opt input:focus-visible + .opt-body, .pill input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 3px; }

/* ---------- 3 & 4. Pill answers ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .65rem; }
.pill { position: relative; cursor: pointer; }
.pill span {
  display: inline-block; padding: .7rem 1.35rem; font-weight: 600; font-size: .92rem; border: 2px solid var(--border); border-radius: 999px; background: var(--surface);
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s;
}
.pill:hover span { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.pill input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(194, 112, 90, .3); }
.q-group.missing .q-title { color: #d9534f; }

/* ---------- 5. Results ---------- */
.qr-empty { max-width: 640px; margin-inline: auto; padding: 3rem 1.5rem; text-align: center; border: 2px dashed var(--border); border-radius: var(--radius); }
.qr-empty > .icon { width: 3.2rem; height: 3.2rem; padding: .85rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); margin: 0 auto 1rem; }
.qr-empty h3 { font-size: 1.5rem; }
.qr-empty p { margin-block: .5rem 1.5rem; color: var(--muted); }
.qr-summary {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem; margin-bottom: 2.5rem;
  padding: 1.6rem 2rem; color: #fff; border-radius: var(--radius); background: linear-gradient(135deg, var(--news-from), var(--news-to)); box-shadow: var(--shadow-md); animation: fadeUp .6s var(--ease);
}
.qr-summary h3 { font-size: 1.5rem; }
.qr-summary p { margin-top: .25rem; font-size: .92rem; opacity: .92; }
.qr-summary .chips { margin-block: .8rem 0; }
.qr-summary .chips li { background: rgba(255, 255, 255, .16); color: #fff; }
.qr-total { text-align: end; }
.qr-total strong { display: block; font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.qr-total span { font-size: .82rem; opacity: .9; }
.qr-when { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.qr-sub { margin-block: 3rem 1.5rem; font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; }
.qr-notes { max-width: 720px; margin-inline: auto; padding: 1.5rem 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.qr-notes h3 { font-size: 1.2rem; }
.qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }

/* ---------- Quiz: Responsive ---------- */
@media (max-width: 1024px) {
  .opt-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .opt-grid { grid-template-columns: 1fr; gap: .75rem; }
  .opt-body { flex-direction: row; gap: 1rem; padding: 1rem; text-align: start; }
  .opt-body .icon { width: 2.9rem; height: 2.9rem; }
  .opt:hover .opt-body { transform: none; }
  .pills { gap: .5rem; }
  .pill span { padding: .6rem 1.05rem; font-size: .88rem; }
  .qp-inner { font-size: .78rem; gap: .7rem; }
  .qr-summary { padding: 1.35rem 1.25rem; }
  .qr-total { text-align: start; }
  .qr-actions .btn, .q-submit .btn { width: 100%; }
}
.qr-empty[hidden], #qrBody[hidden] { display: none; }
/* =========================================================
   SKINCARE CONCERNS PAGE (concerns.html)
   Reuses page-banner, section-head, cat-chip, check-list,
   step-card, product-card, article-card and cta-card above.
   ========================================================= */

/* ---------- 2. Browse concerns ---------- */
.cn-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cn-tab {
  display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.4rem .8rem; text-align: center;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), border-color .25s, background-color .25s, box-shadow .3s;
}
.cn-tab .icon { width: 3.2rem; height: 3.2rem; padding: .85rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color .25s, color .25s; }
.cn-tab strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.cn-tab small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.cn-tab:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.cn-tab[aria-selected="true"] { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 4px var(--primary-soft); }
.cn-tab[aria-selected="true"] .icon { background: var(--primary); color: #fff; }
.cn-panel { margin-top: 1.75rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.cn-head { max-width: 680px; }
.cn-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.cn-head p { color: var(--muted); }
.cn-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px dashed var(--border); }
.cn-cols h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.cn-cols .check-list { margin-top: .75rem; }
.cn-panel .btn { margin-top: 1.75rem; }

/* ---------- 3. Products by concern ---------- */
.cn-bar { margin-bottom: 2rem; }
.cn-more { margin-top: 2.5rem; text-align: center; }

/* ---------- 4. Routine guide ---------- */
.rt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.rt-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.rt-tip { max-width: 720px; margin: 2rem auto 0; padding: .9rem 1.2rem; border-radius: var(--radius-sm); background: var(--primary-soft); font-size: .92rem; text-align: center; }

/* ---------- Concerns: Responsive ---------- */
@media (max-width: 1024px) {
  .cn-tab { padding: 1.1rem .5rem; }
  .cn-tab small { display: none; }
  .rt-grid, .rt-grid.n3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cn-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cn-tabs { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cn-tab:last-child { grid-column: 1 / -1; }
  .cn-tab:hover { transform: none; }
  .cn-panel .btn { width: 100%; }
  .rt-grid, .rt-grid.n3 { grid-template-columns: 1fr; gap: 1rem; }
}
/* =========================================================
   CONTACT US PAGE (contact.html)
   Reuses page-banner, breadcrumb, banner-pills, section-head,
   check-list, pills, cat-chip, link-arrow and cta-card above.
   ========================================================= */
.page-contact .page-banner .hero-blob { opacity: .45; }
.ct-hero-cta { justify-content: center; margin-block: 2rem 0; }

/* ---------- 2. Contact information ---------- */
.ct-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.75rem 1.5rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.ct-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.ct-card > .icon { width: 3.2rem; height: 3.2rem; padding: .85rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: background-color .3s, color .3s; }
.ct-card:hover > .icon { background: var(--primary); color: #fff; }
.ct-card h3 { font-size: 1.25rem; margin-top: .3rem; }
.ct-card p { flex: 1; color: var(--muted); font-size: .93rem; }
.ct-card .link-arrow { color: var(--primary); word-break: break-word; }
.ct-card .link-arrow:hover .icon-arrow { transform: translateX(5px); }

.ct-status { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-size: .8rem; font-weight: 600; }
.ct-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.ct-status.is-open i { background: #3fa37a; box-shadow: 0 0 0 4px rgba(63, 163, 122, .2); animation: ctPulse 2s ease-in-out infinite; }
.ct-status.is-closed i { background: #d9534f; }
@keyframes ctPulse { 50% { box-shadow: 0 0 0 8px rgba(63, 163, 122, 0); } }

.ct-social { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.ct-social-label { margin-inline-end: .5rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.ct-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--primary);
  transition: background-color .3s, color .3s, transform .3s var(--ease), border-color .3s;
}
.ct-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-4px); }

/* ---------- 3. Enquiry form ---------- */
.ct-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ct-aside { padding: clamp(1.5rem, 3vw, 2.25rem); color: #fff; border-radius: var(--radius); background: linear-gradient(135deg, var(--news-from), var(--news-to)); box-shadow: var(--shadow-md); }
.ct-aside h3 { font-size: 1.6rem; }
.ct-aside .check-list { margin-top: 1.25rem; gap: .85rem; }
.ct-aside .check-list .icon { color: #ffd9cb; }
.ct-promise { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .14); }
.ct-promise .icon { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ct-promise strong { display: block; line-height: 1.3; }
.ct-promise span { font-size: .88rem; opacity: .9; }

.ct-form-wrap { padding: clamp(1.4rem, 4vw, 2.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow-lg); }
.ct-form { display: grid; gap: 1.15rem; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label b { color: var(--primary); }
.field textarea {
  display: block; width: 100%; min-width: 0; padding: .8rem 1rem; resize: vertical; min-height: 130px;
  font: inherit; line-height: 1.55; border: 2px solid var(--border); border-radius: var(--radius-sm);
  background-color: var(--bg); color: var(--text); outline: none; transition: border-color .25s, box-shadow .25s;
}
.field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea::placeholder, .field input::placeholder { color: var(--muted); opacity: .8; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d9534f; }
.field-err { min-height: 0; margin-top: .3rem; color: #d9534f; font-size: .82rem; font-weight: 500; }
.field-err:empty { display: none; }
.ct-pref { min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-pref legend { padding: 0; margin-bottom: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ct-msg-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ct-msg-foot .field-err { flex: 1; }
.ct-count { margin-inline-start: auto; margin-top: .3rem; color: var(--muted); font-size: .8rem; }
.ct-count.is-near { color: #d9534f; font-weight: 600; }
.ct-consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; color: var(--muted); cursor: pointer; }
.ct-consent input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--primary); }
.ct-consent a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ct-form > .field-err { margin-top: -.6rem; }
.ct-submit { justify-self: start; }

.ct-success { padding: 2rem 1rem; text-align: center; animation: pop .6s var(--ease); }
.ct-success[hidden], .ct-form[hidden] { display: none; }
.ct-success > .icon { width: 4rem; height: 4rem; padding: 1rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--accent); color: #fff; }
.ct-success h3 { font-size: 1.7rem; }
.ct-success p { max-width: 420px; margin: .6rem auto 1.5rem; color: var(--muted); }

/* ---------- 4. FAQs / support ---------- */
.ct-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.25rem; }
.ct-sup { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ct-sup .icon { width: 2.8rem; height: 2.8rem; padding: .7rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.ct-sup strong { display: block; line-height: 1.3; }
.ct-sup span { font-size: .85rem; color: var(--muted); }
.ct-faq-chips { margin-bottom: 1.75rem; }
.ct-faq { display: grid; gap: .85rem; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[hidden] { display: none; }
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-item h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.4; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1.4rem; text-align: start; font-weight: 600; transition: color .25s; }
.faq-q:hover { color: var(--primary); }
.faq-q .icon { width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); transition: transform .35s var(--ease), background-color .25s, color .25s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .95rem; }
.ct-faq-more { margin-top: 2rem; text-align: center; color: var(--muted); }
.ct-faq-more a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. Store information ---------- */
.store-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.store-map { position: relative; min-height: 380px; overflow: hidden; border: 6px solid var(--surface); border-radius: 32px; background: var(--bg-alt); box-shadow: var(--shadow-lg); }
.map-art { position: absolute; inset: 0; background: linear-gradient(135deg, var(--hero-from), var(--primary-soft)); }
.map-art .road { position: absolute; background: var(--surface); opacity: .9; }
.map-art .r1 { inset-inline: 0; inset-block-start: 38%; height: 26px; transform: rotate(-4deg); }
.map-art .r2 { inset-block: 0; inset-inline-start: 34%; width: 22px; transform: rotate(6deg); }
.map-art .r3 { inset-block: 0; inset-inline-start: 72%; width: 16px; transform: rotate(-8deg); }
.map-art .block { position: absolute; border-radius: 14px; background: var(--blob-2); opacity: .55; }
.map-art .b1 { inset-block-start: 8%; inset-inline-start: 6%; width: 22%; height: 22%; }
.map-art .b2 { inset-block-start: 10%; inset-inline-start: 46%; width: 20%; height: 18%; background: var(--blob-1); }
.map-art .b3 { inset-block-end: 8%; inset-inline-start: 8%; width: 20%; height: 20%; background: var(--blob-1); }
.map-art .b4 { inset-block-end: 12%; inset-inline-start: 46%; width: 18%; height: 18%; }
.map-pin { position: absolute; inset-block-start: 34%; inset-inline-start: 43%; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 0 0 10px var(--primary-soft), var(--shadow-md); animation: float 3.5s ease-in-out infinite; }
.map-pin .icon { width: 1.7rem; height: 1.7rem; }
.map-card { position: absolute; inset-inline: 1rem; inset-block-end: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); }
.map-card span { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }

.store-info { display: grid; gap: 1.25rem; align-content: start; }
.store-hours { padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.store-hours h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.3rem; }
.store-hours h3 .icon { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.store-hours ul { display: grid; margin-bottom: 1.1rem; }
.store-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: 10px; font-size: .92rem; }
.store-hours li + li { border-top: 1px dashed var(--border); }
.store-hours li span { color: var(--muted); }
.store-hours li b { font-weight: 600; text-align: end; }
.store-hours li.today { background: var(--primary-soft); border-color: transparent; }
.store-hours li.today span, .store-hours li.today b { color: var(--primary); font-weight: 700; }
.store-facts { display: grid; gap: .75rem; }
.store-facts li { display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; color: var(--muted); }
.store-facts .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.store-facts strong { display: block; color: var(--text); font-size: .95rem; }

/* ---------- Contact: Responsive ---------- */
@media (max-width: 1024px) {
  .ct-grid, .store-grid { grid-template-columns: 1fr; }
  .ct-aside { max-width: 720px; width: 100%; margin-inline: auto; }
  .ct-form-wrap, .store-info { max-width: 720px; width: 100%; margin-inline: auto; }
  .store-map { min-height: 340px; max-width: 720px; width: 100%; margin-inline: auto; }
  .ct-support { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; margin-bottom: 2rem; }
}
@media (max-width: 640px) {
  .ct-hero-cta .btn { width: 100%; }
  .ct-card { padding: 1.4rem 1.25rem; }
  .ct-row { grid-template-columns: 1fr; gap: 1.15rem; }
  .ct-form-wrap { border-radius: 24px; padding: 1.25rem; }
  .ct-submit { width: 100%; justify-self: stretch; }
  .ct-faq-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: .25rem; margin-inline: -.25rem; scrollbar-width: none; }
  .ct-faq-chips::-webkit-scrollbar { display: none; }
  .ct-faq-chips .cat-chip { flex: none; }
  .faq-q { padding: 1rem 1.1rem; font-size: .95rem; }
  .faq-a p { padding: 0 1.1rem 1.1rem; }
  .store-map { min-height: 320px; border-width: 4px; border-radius: 24px; }
  .map-card .btn { width: 100%; }
  .store-hours { padding: 1.25rem; }
  .ct-social-label { flex-basis: 100%; text-align: center; margin: 0 0 .25rem; }
}
/* =========================================================
   COMING SOON (coming-soon.html) + 404 (404.html)
   Reuses hero blobs, float-card, ct-card, cta-card, search-form,
   section-head, buttons and tokens above.
   ========================================================= */
a.ct-card:hover .link-arrow .icon-arrow { transform: translateX(5px); }
.ct-card .soon-tag { padding: .3rem .8rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Coming soon: hero ---------- */
.soon-hero {
  position: relative; overflow: hidden; display: grid; align-items: center;
  min-height: calc(100vh - var(--header-h)); padding-block: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); transition: background .35s;
}
.soon-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.soon-content h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-block: 1rem 1.25rem; letter-spacing: -.01em; }
.soon-content h1 em { font-style: italic; color: var(--primary); }
.soon-text { max-width: 540px; color: var(--muted); font-size: 1.08rem; }

.soon-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; max-width: 500px; margin-top: 2rem; }
.soon-count > div {
  display: grid; justify-items: center; gap: .15rem; padding: 1rem .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.soon-count strong { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.1; color: var(--primary); font-variant-numeric: tabular-nums; }
.soon-count span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.soon-live { margin-top: 2rem; padding: .9rem 1.2rem; border-radius: var(--radius-sm); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.soon-live[hidden], .soon-count[hidden] { display: none; }

.soon-progress { max-width: 500px; margin-top: 1.75rem; }
.soon-progress-head { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.soon-progress-head strong { color: var(--primary); }
.soon-track { height: 10px; overflow: hidden; border-radius: 999px; background: var(--border); }
.soon-track i { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--gold)); animation: soonFill 1.6s var(--ease) .6s backwards; }
@keyframes soonFill { from { width: 0; } }

.soon-form { display: flex; flex-wrap: wrap; gap: .7rem; max-width: 520px; margin-top: 1.75rem; }
.soon-form input {
  flex: 1 1 240px; min-width: 0; padding: .95rem 1.4rem; border-radius: 999px; border: 2px solid var(--border);
  background: var(--surface); color: var(--text); outline: none; transition: border-color .25s, box-shadow .25s;
}
.soon-form input::placeholder { color: var(--muted); opacity: .85; }
.soon-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.soon-form input.invalid { border-color: #d9534f; }
.soon-msg { color: var(--accent); }
.soon-msg.is-error { color: #d9534f; }

/* CSS candle illustration */
.soon-media { position: relative; width: 100%; max-width: 460px; margin-inline: auto; }
.candle-stage {
  position: relative; display: grid; place-items: end center; aspect-ratio: 1 / 1.1; padding-bottom: 12%; overflow: hidden;
  border: 6px solid var(--surface); border-radius: 999px 999px 28px 28px; box-shadow: var(--shadow-lg);
  background: radial-gradient(circle at 50% 40%, var(--primary-soft), var(--bg-alt) 70%);
}
.candle { display: flex; flex-direction: column; align-items: center; width: 40%; }
.candle-flame {
  position: relative; width: 24px; height: 44px; margin-bottom: -3px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(to top, #ff9a56, #ffe29a 75%); transform-origin: 50% 100%;
  box-shadow: 0 0 36px 14px rgba(255, 176, 96, .5); animation: flicker 2.4s ease-in-out infinite;
}
.candle-wick { width: 3px; height: 20px; border-radius: 2px; background: #4a3a34; }
.candle-jar {
  position: relative; width: 100%; aspect-ratio: 1 / 1.05; border-radius: 12px 12px 26px 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, .38)), var(--gold);
  border: 3px solid var(--surface); box-shadow: var(--shadow-md);
}
.candle-jar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; border-radius: 10px 10px 50% 50% / 10px 10px 100% 100%; background: rgba(255, 255, 255, .45); }
.candle-jar::after { content: ""; position: absolute; inset-inline: 22%; inset-block: 38% 22%; border-radius: 10px; background: var(--surface); opacity: .9; }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(-1deg); }
  25% { transform: scale(.94, 1.06) rotate(1.5deg); }
  50% { transform: scale(1.04, .95) rotate(-1.5deg); }
  75% { transform: scale(.97, 1.04) rotate(1deg); }
}

/* ---------- 404 ---------- */
.err-hero {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); transition: background .35s;
}
.err-inner { position: relative; }
.err-art { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.4rem, 2vw, 1.2rem); margin-bottom: 1.5rem; font-family: var(--font-head); font-size: clamp(5rem, 20vw, 10.5rem); line-height: 1; color: var(--primary); }
.err-digit { font-weight: 700; }
.err-zero {
  position: relative; display: grid; place-items: center; width: .66em; height: .8em; margin-bottom: .04em;
  border: .11em solid var(--primary); border-radius: 50%;
}
.err-zero .icon { width: .3em; height: .3em; color: var(--gold); fill: var(--gold); stroke: none; animation: flicker 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
.err-zero i { position: absolute; inset-block-start: -.2em; width: .09em; height: .09em; border-radius: 50%; background: var(--muted); opacity: 0; animation: smoke 3.4s ease-out infinite; }
.err-zero i:nth-child(1) { inset-inline-start: 38%; }
.err-zero i:nth-child(2) { inset-inline-start: 56%; animation-delay: 1.7s; }
@keyframes smoke { 0% { transform: translateY(.1em) scale(.6); opacity: 0; } 20% { opacity: .5; } 100% { transform: translateY(-.45em) translateX(.08em) scale(1.8); opacity: 0; } }
.err-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-block: .9rem 1rem; letter-spacing: -.01em; }
.err-hero h1 em { font-style: italic; color: var(--primary); }
.err-text { max-width: 560px; margin-inline: auto; color: var(--muted); font-size: 1.05rem; }
.err-search { max-width: 560px; margin: 2rem auto 0; background: var(--surface); text-align: start; }
.err-cta { justify-content: center; margin-block: 1.75rem 1.25rem; }
.err-url { color: var(--muted); font-size: .85rem; }
.err-url code { padding: .15rem .55rem; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); font-size: .82rem; word-break: break-all; }

/* ---------- Coming soon + 404: Responsive ---------- */
@media (max-width: 1024px) {
  .soon-hero { min-height: 0; }
}
@media (max-width: 900px) {
  .soon-inner { grid-template-columns: 1fr; text-align: center; }
  .soon-text, .soon-count, .soon-progress, .soon-form { margin-inline: auto; }
  .soon-form { justify-content: center; }
  .soon-media { max-width: 380px; }
  .soon-media .float-1 { inset-inline-start: -4%; }
  .soon-media .float-2 { inset-inline-end: -3%; }
}
@media (max-width: 640px) {
  .soon-count { gap: .55rem; }
  .soon-count > div { padding: .8rem .25rem; border-radius: var(--radius-sm); }
  .soon-count span { font-size: .62rem; letter-spacing: .06em; }
  .soon-form .btn { width: 100%; }
  .soon-media { max-width: 300px; }
  .soon-media .float-card { padding: .55rem .8rem; }
  .soon-media .float-card strong { font-size: .8rem; }
  .soon-media .float-card span { display: none; }
  .err-cta .btn { width: 100%; }
  .err-search { padding-inline-start: .9rem; }
}