/* =============================================================
   KRYSTAL TOUCH - design system
   Luxury wigs & hair oils e-commerce storefront
   Palette / typography / grid / components
   Designed & Developed by CX Labs
   ============================================================= */

/* ---------------------------------------------------- 1. foundations */
:root {
  /* palette */
  --blush: #F7D6E0;
  --blush-soft: #FBEBF0;
  --blush-deep: #F2C6D4;
  --rose: #D9829A;
  --deep-rose: #B85C78;
  --deep-rose-dark: #9C4761;
  --gold: #D4AF70;
  --gold-light: #EAD6AE;
  --gold-dark: #A9834A;
  --warm-white: #FFF9FA;
  --white: #FFFFFF;
  --brown: #241A1D;
  --brown-soft: #4A3B3F;
  --muted: #8A7A7E;
  --line: #F0DDE3;

  /* type */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', 'Didot', 'Bodoni MT', 'Times New Roman', Georgia, serif;
  --font-sans: 'Jost', 'Inter', 'Helvetica Neue', Arial, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* shape + depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --shadow-sm: 0 4px 16px rgba(36, 26, 29, 0.05);
  --shadow: 0 14px 40px rgba(36, 26, 29, 0.08);
  --shadow-lg: 0 26px 70px rgba(36, 26, 29, 0.12);
  --shadow-rose: 0 16px 34px rgba(184, 92, 120, 0.28);

  /* rhythm */
  --container: 1240px;
  --gap: 24px;
  --section-y: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--warm-white);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--brown);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.9rem, 6vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blush); color: var(--brown); }

/* ---------------------------------------------------- 2. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--blush { background: var(--blush); }
.section--soft { background: var(--blush-soft); }
.section--white { background: var(--white); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

.video-feature .section-head p:empty { display: none; }

.video-feature__player {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70vh, 620px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: #1b1517;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--deep-rose);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold-dark); }
.eyebrow--light { color: rgba(255, 255, 255, 0.82); }

.rule-gold {
  width: 64px; height: 2px; border: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 22px auto 0;
}

/* ---------------------------------------------------- 3. buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--deep-rose); color: var(--white); box-shadow: var(--shadow-rose); }
.btn--primary:hover { background: var(--deep-rose-dark); }

.btn--outline { background: transparent; color: var(--deep-rose); box-shadow: inset 0 0 0 1.5px var(--deep-rose); }
.btn--outline:hover { background: var(--deep-rose); color: var(--white); box-shadow: var(--shadow-rose); }

.btn--gold { background: var(--gold); color: var(--brown); box-shadow: 0 14px 30px rgba(212, 175, 112, 0.38); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }

.btn--ghost-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.7); }
.btn--ghost-light:hover { background: var(--white); color: var(--deep-rose); }

.btn--dark { background: var(--brown); color: var(--white); }
.btn--dark:hover { background: #3A2A2E; }

.btn--block { width: 100%; }
.btn--sm { padding: 12px 22px; font-size: 0.68rem; }

.text-link {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--deep-rose);
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: color 0.25s var(--ease);
}
.text-link:hover { color: var(--brown); }

/* ---------------------------------------------------- 4. badges & pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--deep-rose);
  color: var(--white);
}
.badge--new { background: var(--gold); color: var(--brown); }
.badge--soft { background: var(--blush); color: var(--deep-rose); }
.badge--sale { background: var(--brown); color: var(--white); }

.stars { display: inline-flex; gap: 3px; color: var(--gold); font-size: 0.86rem; letter-spacing: 2px; }
.stars--sm { font-size: 0.74rem; }

.price { font-family: var(--font-sans); font-weight: 600; color: var(--deep-rose); }
.price--lg { font-size: 1.5rem; }
.price s, .price-was { color: var(--muted); font-weight: 400; font-size: 0.9rem; margin-left: 8px; }

/* ---------------------------------------------------- 5. announcement bar */
.announce {
  background: var(--deep-rose);
  color: var(--white);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 11px 20px;
}
.announce strong { font-weight: 600; color: var(--gold-light); }

/* ---------------------------------------------------- 6. header */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
}
.wordmark {
  font-family: var(--font-serif);
  font-size: 1.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brown);
  white-space: nowrap;
}
.wordmark span { color: var(--deep-rose); }

.main-nav ul { display: flex; gap: 34px; justify-content: center; }
.main-nav a {
  position: relative;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown-soft);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--deep-rose); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--deep-rose); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--brown);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn:hover { background: var(--blush-soft); color: var(--deep-rose); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn.is-active { color: var(--deep-rose); }
.icon-btn .count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--deep-rose); color: var(--white);
  font-size: 0.6rem; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--warm-white);
}
.icon-btn .count[hidden] { display: none; }

/* cart-added confirmation */
.icon-btn.is-bumped { animation: bump 0.55s var(--ease); }
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); background: var(--blush); }
  100% { transform: scale(1); }
}

.nav-toggle { display: none; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(84vw, 340px);
  background: var(--warm-white);
  z-index: 90;
  transform: translateX(105%);
  transition: transform 0.4s var(--ease);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer nav ul { display: grid; gap: 4px; }
.drawer nav a {
  display: block; padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.drawer nav a:hover { color: var(--deep-rose); }
.drawer-foot { margin-top: 26px; display: grid; gap: 10px; }
.drawer-foot a { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scrim {
  position: fixed; inset: 0; background: rgba(36, 26, 29, 0.42);
  z-index: 80; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%);
  background: var(--brown); color: var(--white);
  padding: 14px 26px; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  box-shadow: var(--shadow-lg); z-index: 120;
  transition: transform 0.45s var(--ease);
  display: inline-flex; align-items: center; gap: 10px;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------------------------------------------------- 7. hero */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 82% 40%, var(--blush-soft) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(120deg, var(--warm-white) 0%, var(--blush-soft) 46%, var(--blush) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 45fr 55fr;
  align-items: center;
  gap: 48px;
  padding-block: 74px 84px;
  min-height: 660px;
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-size: clamp(3rem, 5.8vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--deep-rose); }
.hero-lead { font-size: 1.06rem; color: var(--brown-soft); max-width: 430px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-tagline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dark);
}
.hero-tagline span { color: var(--gold); }

.hero-art { position: relative; align-self: stretch; }
.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  max-height: 640px;
  object-fit: cover;
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-art__glow {
  position: absolute; inset: 12% 8% 6% 6%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(255,255,255,0.9), rgba(255,255,255,0));
}
.hero-float {
  position: absolute; left: -34px; bottom: 46px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.hero-float svg { width: 26px; height: 26px; color: var(--gold-dark); flex: none; }
.hero-float b { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.hero-float small { color: var(--muted); font-size: 0.72rem; }

/* ---------------------------------------------------- 8. trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 42px;
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
  padding-inline: 30px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 30px; height: 30px; color: var(--deep-rose); flex: none; stroke-width: 1.4; }
.trust-item b {
  display: block; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.17em; text-transform: uppercase; color: var(--brown);
}
.trust-item span { font-size: 0.85rem; color: var(--muted); }

/* ---------------------------------------------------- 9. category cards */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cat-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--blush-soft); }
.cat-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { padding: 34px 36px 38px; }
.cat-card__body h3 { font-size: 1.9rem; letter-spacing: 0.06em; margin-bottom: 10px; }
.cat-card__body p { color: var(--muted); margin-bottom: 24px; }
.cat-card__tag {
  position: absolute; top: 22px; left: 22px;
  background: rgba(255,255,255,0.92); color: var(--deep-rose);
  border: 1px solid var(--gold-light);
}

/* ---------------------------------------------------- 10. product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--blush);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: var(--blush-soft);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card .badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.wish {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  color: var(--deep-rose);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.wish:hover { transform: scale(1.1); }
.wish svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wish.is-active { background: var(--deep-rose); color: var(--white); }
.wish.is-active svg { fill: var(--white); }
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.24rem; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.product-card__cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.product-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.product-card__body .btn { margin-top: auto; }

.quick-add {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.product-card:hover .quick-add { transform: translateY(0); }

/* ---------------------------------------------------- 11. editorial split */
.editorial { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.editorial__media { position: relative; overflow: hidden; min-height: 560px; background: var(--blush-soft); }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__panel {
  background: linear-gradient(150deg, var(--deep-rose), #933f59 70%, #7E3550);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: center;
  padding: 84px clamp(34px, 6vw, 92px);
}
.editorial__panel h2 { color: var(--white); font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
.editorial__panel p { color: rgba(255,255,255,0.86); max-width: 440px; margin-bottom: 32px; }
.editorial__ornament { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.editorial__ornament i { height: 1px; width: 54px; background: var(--gold-light); display: block; }
.editorial__ornament em {
  font-style: normal; font-family: var(--font-serif);
  color: var(--gold-light); letter-spacing: 0.4em; font-size: 0.8rem;
}

/* ---------------------------------------------------- 12. hair oil feature */
.oilfeature { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.oilfeature__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--blush-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.6;
}
.oilfeature__media img { width: 100%; height: 100%; object-fit: cover; }
.benefits { display: grid; gap: 26px; margin: 34px 0 36px; }
.benefit { display: flex; gap: 20px; align-items: flex-start; }
.benefit__icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--gold-light);
  color: var(--deep-rose);
  box-shadow: var(--shadow-sm);
}
.benefit__icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.benefit h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin: 0 0 4px;
}
.benefit p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------------------------------------------------- 13. why krystal touch */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-card {
  text-align: center;
  padding: 42px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card__icon {
  width: 66px; height: 66px; margin: 0 auto 22px;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blush-soft), var(--blush));
  color: var(--deep-rose);
  border: 1px solid var(--gold-light);
}
.why-card__icon svg { width: 30px; height: 30px; stroke-width: 1.3; }
.why-card h3 { font-size: 1.28rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------- 14. newsletter */
.newsletter {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 140% at 8% 0%, rgba(255,255,255,0.75), rgba(255,255,255,0) 55%),
    linear-gradient(120deg, var(--blush) 0%, var(--blush-deep) 55%, var(--rose) 100%);
  padding: 72px clamp(28px, 6vw, 84px);
  text-align: center;
  box-shadow: var(--shadow);
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { color: var(--brown-soft); max-width: 520px; margin: 0 auto 34px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; max-width: 560px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; min-width: 0;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  background: rgba(255,255,255,0.94);
  font-family: inherit; font-size: 0.94rem; color: var(--brown);
  outline: none;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.newsletter-form input::placeholder { color: var(--muted); letter-spacing: 0.06em; }
.newsletter-form input:focus { border-color: var(--deep-rose); box-shadow: 0 0 0 4px rgba(184,92,120,0.14); }
.newsletter-note { margin-top: 16px; font-size: 0.76rem; color: var(--brown-soft); letter-spacing: 0.08em; }

/* ---------------------------------------------------- 17. footer */
.site-footer { background: var(--brown); color: rgba(255,255,255,0.76); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding-block: 76px 56px;
}
.footer-brand .wordmark { color: var(--white); font-size: 1.8rem; }
.footer-brand p { max-width: 300px; margin: 18px 0 24px; font-size: 0.94rem; line-height: 1.75; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212,175,112,0.42);
  color: var(--gold-light);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--brown); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-mid {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.pay-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pay-row span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.pay-row svg { height: 26px; width: auto; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 24px 34px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 0.82rem;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Creator credit. Deliberately understated: sits below the copyright, uses the
   brand's letterspaced uppercase style and champagne gold so it reads as part
   of the luxury system rather than an add-on. Never competes with the wordmark. */
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 34px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(212, 175, 112, 0.5);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* ---------------------------------------------------- 18. mobile bottom nav */
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,249,250,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
}
.tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a {
  display: grid; place-items: center; gap: 4px;
  padding: 6px 2px;
  font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.tabbar a svg { width: 21px; height: 21px; stroke-width: 1.5; }
.tabbar a.is-active { color: var(--deep-rose); }
.tabbar .count {
  position: absolute; transform: translate(14px, -12px);
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--deep-rose); color: var(--white);
  font-size: 0.56rem; font-weight: 700; display: grid; place-items: center;
}
.tabbar .count[hidden] { display: none; }

/* ============================================================
   PAGE LAYER - shop / product / cart / checkout
   ============================================================ */

/* ---------------------------------------------------- page hero */
.page-hero {
  background: linear-gradient(120deg, var(--warm-white), var(--blush-soft) 60%, var(--blush));
  padding-block: 60px 54px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 10px; }
.breadcrumbs { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs a:hover { color: var(--deep-rose); }
.breadcrumbs span { color: var(--gold); margin-inline: 8px; }

/* ---------------------------------------------------- 19. shop */
.shop-layout { display: grid; grid-template-columns: 264px 1fr; gap: 46px; align-items: start; }
.filters {
  position: sticky; top: 104px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.filters h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; margin: 0 0 16px;
}
.filter-group { padding-block: 20px; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-option {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 0; font-size: 0.92rem; color: var(--brown-soft); cursor: pointer;
}
.filter-option input { accent-color: var(--deep-rose); width: 17px; height: 17px; }
.filter-option:hover { color: var(--deep-rose); }
.filter-range { width: 100%; accent-color: var(--deep-rose); }
.filter-range-out { font-size: 0.84rem; color: var(--muted); margin-top: 6px; }

.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 30px;
}
.shop-count { font-size: 0.86rem; color: var(--muted); }
.shop-count b { color: var(--brown); }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  padding: 12px 44px 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit; font-size: 0.84rem; color: var(--brown);
  cursor: pointer;
}
.select-wrap::after {
  content: ''; position: absolute; right: 20px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--deep-rose); border-bottom: 1.5px solid var(--deep-rose);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.product-grid--shop { grid-template-columns: repeat(3, 1fr); }
.empty-state {
  grid-column: 1 / -1;
  text-align: center; padding: 80px 20px;
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--muted);
}

/* ---------------------------------------------------- 20. product page */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: start; }
.pdp-gallery { display: grid; grid-template-columns: 92px 1fr; gap: 18px; }
.pdp-thumbs { display: grid; gap: 14px; align-content: start; }
.pdp-thumb {
  border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid transparent; background: var(--blush-soft);
  aspect-ratio: 1 / 1; padding: 0;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.is-active { border-color: var(--deep-rose); }
.pdp-main {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blush-soft);
  aspect-ratio: 1 / 1.14;
  box-shadow: var(--shadow);
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main .badge { position: absolute; top: 20px; left: 20px; z-index: 2; }
.pdp-info h1 { font-size: clamp(2rem, 3.2vw, 2.9rem); margin-bottom: 12px; }
.pdp-price { display: flex; align-items: center; gap: 12px; margin: 18px 0 20px; }
.pdp-rating { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--muted); margin-bottom: 22px; }
.pdp-desc { color: var(--brown-soft); margin-bottom: 26px; }
.pdp-field { margin-bottom: 24px; }
.pdp-field > label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 12px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 0.8rem; letter-spacing: 0.06em;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.swatch:hover { border-color: var(--rose); }
.swatch.is-active { border-color: var(--deep-rose); background: var(--blush-soft); color: var(--deep-rose); font-weight: 600; }
/* Fixed-volume products (hair oils) state the single size instead of choosing. */
.pdp-size-static {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font-size: 0.92rem; color: var(--brown);
}
.pdp-buy { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 24px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 46px; height: 50px; font-size: 1.1rem; color: var(--deep-rose); transition: background-color 0.25s var(--ease); }
.qty button:hover { background: var(--blush-soft); }
.qty input {
  width: 46px; height: 50px; text-align: center; border: 0;
  font-family: inherit; font-size: 0.96rem; font-weight: 600;
  background: transparent; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.pdp-meta { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 12px; font-size: 0.9rem; }
.pdp-meta div { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.pdp-meta svg { width: 19px; height: 19px; color: var(--gold-dark); flex: none; }
.pdp-meta b { color: var(--brown); font-weight: 500; }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 34px; margin-bottom: 34px; }
.tab-btn {
  padding: 14px 2px; font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tab-btn:hover { color: var(--brown); }
.tab-btn.is-active { color: var(--deep-rose); border-color: var(--deep-rose); }
.tab-panel[hidden] { display: none; }
.tab-panel p { color: var(--brown-soft); max-width: 760px; }
.spec-list { display: grid; gap: 12px; max-width: 620px; }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }

/* ---------------------------------------------------- 21. cart */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 46px; align-items: start; }
.cart-list { display: grid; gap: 20px; }
.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.cart-item__media { border-radius: var(--radius); overflow: hidden; background: var(--blush-soft); aspect-ratio: 1 / 1; }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-serif); font-size: 1.24rem; margin-bottom: 4px; }
.cart-item__variant { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.cart-item__controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; }
.link-remove {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-remove:hover { color: var(--deep-rose); border-color: var(--deep-rose); }

.cart-summary {
  position: sticky; top: 104px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.cart-summary h3 { font-size: 1.5rem; margin-bottom: 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 0.94rem; color: var(--brown-soft); }
.summary-line--total {
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 20px;
  font-size: 1.16rem; font-weight: 600; color: var(--brown);
}
.summary-line--total .price { font-size: 1.4rem; }
.cart-summary .btn { margin-top: 22px; }
.cart-note { margin-top: 18px; font-size: 0.78rem; color: var(--muted); text-align: center; }

.ship-progress { margin-bottom: 24px; }
.ship-progress p { font-size: 0.82rem; color: var(--brown-soft); margin-bottom: 10px; }
.ship-bar { height: 6px; border-radius: 999px; background: var(--blush); overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--deep-rose); border-radius: 999px; transition: width 0.6s var(--ease); }

.cart-empty { text-align: center; padding: 90px 24px; }
.cart-empty svg { width: 66px; height: 66px; color: var(--rose); margin: 0 auto 22px; }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { color: var(--muted); margin-bottom: 28px; }

/* --------------------------------------- 22. order generation (no payment) */
.order-layout { display: grid; grid-template-columns: 1fr 400px; gap: 46px; align-items: start; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: 1.55rem; margin-bottom: 6px; }
.panel-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brown-soft); }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--warm-white);
  font-family: inherit; font-size: 0.94rem; color: var(--brown);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--deep-rose); background: var(--white);
  box-shadow: 0 0 0 4px rgba(184,92,120,0.12);
}
.field input:invalid:not(:placeholder-shown) { border-color: #C56A6A; }
.field textarea { resize: vertical; min-height: 100px; }
.field__hint { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }
.radio-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; margin-bottom: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--warm-white); cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.radio-card:hover { border-color: var(--rose); }
.radio-card.is-active { border-color: var(--deep-rose); background: var(--blush-soft); }
.radio-card input { accent-color: var(--deep-rose); width: 18px; height: 18px; }
.radio-card b { display: block; font-size: 0.9rem; font-weight: 600; }
.radio-card small { color: var(--muted); font-size: 0.8rem; }
.radio-card__price { margin-left: auto; font-weight: 600; color: var(--deep-rose); font-size: 0.9rem; }

.order-review { display: grid; gap: 16px; margin-bottom: 20px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.order-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.order-row__media { border-radius: var(--radius-sm); overflow: hidden; background: var(--blush-soft); aspect-ratio: 1 / 1; }
.order-row__media img { width: 100%; height: 100%; object-fit: cover; }
.order-row b { display: block; font-size: 0.9rem; font-weight: 600; }
.order-row small { color: var(--muted); font-size: 0.78rem; }

.order-steps { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.order-steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.order-steps li::after { content: '/'; color: var(--line); margin-left: 4px; }
.order-steps li:last-child::after { display: none; }
.order-steps b {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--deep-rose); font-size: 0.72rem;
}
.order-steps li.is-active { color: var(--deep-rose); }
.order-steps li.is-done b { background: var(--gold); color: var(--brown); }
.order-steps li.is-done { color: var(--brown-soft); }
.order-steps li.is-active b { background: var(--deep-rose); color: var(--white); }

/* --------------------------------- ORDER SUMMARY document (screen + print) */
/* This is an order summary, NOT a receipt. No payment is taken on this site. */
.order-doc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.order-doc__head {
  padding: 34px 32px;
  background: linear-gradient(140deg, var(--blush-soft), var(--blush));
  border-bottom: 1px solid var(--gold-light);
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-start; justify-content: space-between;
}
.order-doc__brand .wordmark { font-size: 1.7rem; }
.order-doc__brand p { margin: 6px 0 0; color: var(--brown-soft); font-size: .86rem; }
.order-doc__meta { text-align: right; }
.order-doc__meta dt {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.order-doc__meta dd { margin: 2px 0 12px; font-weight: 600; font-size: .98rem; }
.order-doc__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--gold); color: var(--brown);
  font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.order-doc__body { padding: 32px; }
.order-block + .order-block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.order-block > h3 {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--deep-rose);
  margin: 0 0 18px;
}
.order-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.order-fact dt {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.order-fact dd { margin: 0; font-size: .95rem; }
.order-items { display: grid; }
.order-item {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.order-item:last-child { border-bottom: 0; }
.order-item__media {
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--blush-soft); aspect-ratio: 1 / 1;
}
.order-item__media img { width: 100%; height: 100%; object-fit: cover; }
.order-item__name { font-family: var(--font-serif); font-size: 1.16rem; margin: 0 0 3px; }
.order-item__variant { font-size: .78rem; color: var(--deep-rose); letter-spacing: .06em; }
.order-item__unit { font-size: .78rem; color: var(--muted); }
.order-item__total { text-align: right; white-space: nowrap; }
.order-item__total b { display: block; font-weight: 600; }
.order-item__total small { color: var(--muted); font-size: .74rem; }
.order-totals { margin-left: auto; width: min(320px, 100%); }
.order-notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 28px; padding: 18px 20px;
  background: var(--blush-soft); border: 1px dashed var(--gold);
  border-radius: var(--radius); font-size: .92rem; color: var(--brown);
}
.order-notice svg { width: 20px; height: 20px; color: var(--deep-rose); flex: none; margin-top: 3px; }
.order-doc__actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 32px 32px; }
.order-doc__foot {
  padding: 18px 32px 26px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.order-error {
  margin-bottom: 22px; padding: 16px 20px; border-radius: var(--radius);
  background: #FDEEF0; border: 1px solid #EFC7CE; color: #8C2F44; font-size: .9rem;
}
.order-error ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; }
.order-code {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--blush-soft); border: 1px dashed var(--gold);
  font-weight: 600; letter-spacing: 0.18em; color: var(--deep-rose);
  margin-bottom: 28px;
}

/* ---------------------------------------------------- 23. utilities & motion */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--deep-rose); color: var(--white);
  padding: 12px 24px; border-radius: 0 0 var(--radius) var(--radius);
  z-index: 200; transition: top 0.3s var(--ease);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.skip-link:focus { top: 0; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.hscroll-wrap { position: relative; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  :root { --section-y: 80px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item { padding-inline: 20px; }
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 32px; }
  .product-grid--shop { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: 1fr 320px; gap: 32px; }
  .order-layout { grid-template-columns: 1fr 340px; gap: 32px; }
  .oilfeature { gap: 44px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { grid-template-columns: 1fr auto; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media { min-height: 440px; }
  .editorial__panel { padding-block: 64px; }
  .oilfeature { grid-template-columns: 1fr; }
  .oilfeature__media { order: -1; }
  .pdp { grid-template-columns: 1fr; gap: 40px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; margin-bottom: 28px; }
  .cart-layout, .order-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 860px) {
  body.has-tabbar { padding-bottom: 84px; }
  .tabbar { display: block; }
  .hide-sm { display: none !important; }

  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-block: 34px 56px; min-height: 0; }
  .hero-art { order: -1; }
  .hero-art img { max-height: 430px; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
  .hero-float { left: 12px; bottom: 18px; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 3.4rem); }
  .hero-lead { margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding-block: 18px; padding-inline: 16px; }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .cat-grid { grid-template-columns: 1fr; gap: 22px; }

  .product-grid, .product-grid--shop { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card__body { padding: 16px 16px 18px; }
  .product-card__name { font-size: 1.06rem; }
  .product-card__body .btn { padding: 12px 16px; font-size: 0.64rem; letter-spacing: 0.14em; }
  .wish { width: 34px; height: 34px; top: 10px; right: 10px; }
  .product-card .badge { top: 10px; left: 10px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-card { padding: 30px 18px; }

  .newsletter { border-radius: var(--radius-lg); padding: 48px 22px; }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form .btn { width: 100%; }

  .footer-top { grid-template-columns: repeat(2, 1fr); padding-block: 56px 40px; }
  .footer-mid, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom nav { flex-wrap: wrap; gap: 16px; }

  .page-hero { padding-block: 40px 36px; }
  .toast { bottom: 96px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  :root { --section-y: 60px; }
  .section-head { margin-bottom: 36px; }

  .announce { font-size: 0.6rem; letter-spacing: 0.16em; padding: 9px 14px; }
  .wordmark { font-size: 1.28rem; letter-spacing: 0.12em; }
  .header-inner { padding-block: 14px; }
  .icon-btn { width: 38px; height: 38px; }

  .cart-item { grid-template-columns: 84px 1fr; gap: 16px; padding: 14px; }
  .cart-item__right { grid-column: 2; align-items: flex-start; }
  .cart-item__media { aspect-ratio: 1 / 1.1; }

  .form-grid { grid-template-columns: 1fr; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { grid-auto-flow: column; overflow-x: auto; padding-bottom: 4px; }
  .pdp-thumb { width: 74px; }
  .review-card { flex: 0 0 88%; }
  .cart-empty { padding: 60px 18px; }

  /* order summary document */
  .order-doc__head { flex-direction: column; padding: 26px 22px; }
  .order-doc__meta { text-align: left; }
  .order-doc__body { padding: 24px 22px; }
  .order-doc__actions { padding: 0 22px 26px; }
  .order-doc__foot { padding: 16px 22px 22px; }
  .order-facts { grid-template-columns: 1fr; gap: 14px; }
  .order-item { grid-template-columns: 60px 1fr; gap: 14px; }
  .order-item__total { grid-column: 2; text-align: left; }
  .order-totals { width: 100%; }
  .order-doc__actions .btn { width: 100%; }
}

/* ---------------------------------------------------- 24. search overlay */
.search-pop {
  position: fixed; left: 0; right: 0; top: 0; z-index: 95;
  background: rgba(255, 249, 250, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding-block: 28px 34px;
  animation: dropIn 0.32s var(--ease);
}
.search-pop[hidden] { display: none; }
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}
.search-pop__form {
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 14px;
  color: var(--deep-rose);
  max-width: 780px; margin-inline: auto;
}
.search-pop__form svg { width: 22px; height: 22px; flex: none; }
.search-pop__form input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--brown);
  outline: none; padding-block: 6px;
}
.search-pop__form input::placeholder { color: var(--muted); opacity: 0.7; }
.search-pop__results {
  max-width: 780px; margin: 22px auto 0;
  display: grid; gap: 10px;
}
.search-result {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px; border-radius: var(--radius);
  transition: background-color 0.25s var(--ease);
}
.search-result:hover { background: var(--blush-soft); }
.search-result img { border-radius: var(--radius-sm); object-fit: cover; flex: none; }
.search-result span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.search-result b { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; }
.search-result small { color: var(--muted); font-size: 0.8rem; }
.search-result > svg { width: 20px; height: 20px; color: var(--deep-rose); flex: none; }
.search-empty { color: var(--muted); font-size: 0.94rem; text-align: center; }

/* ============================================================
   25. PRINT - the Order Summary must be savable as a PDF
   Works on desktop and mobile: the browser print dialog offers
   "Save as PDF" on both. Only the document itself is printed.
   ============================================================ */
@media print {
  @page { margin: 14mm; size: A4; }

  html, body {
    background: #fff !important;
    padding-bottom: 0 !important;
  }
  body.has-tabbar { padding-bottom: 0 !important; }

  /* Hide every piece of site chrome - only the order document remains. */
  .site-header, .announce, .tabbar, .drawer, .scrim, .search-pop, .toast,
  .skip-link, .footer-credit, .page-hero, .order-steps, .order-doc__actions,
  .site-footer, .reveal { display: none !important; }

  .section { padding: 0 !important; }
  .order-doc {
    box-shadow: none !important;
    border: 1px solid #d8d8d8 !important;
    border-radius: 0 !important;
    break-inside: avoid;
  }
  .order-doc__head,
  .order-doc__status,
  .order-notice {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .order-item, .order-block { break-inside: avoid; }
  a[href]::after { content: "" !important; }
}
