/* ============================================================
   NutriSpoon — luxury design system
   Deep purple · Sage · Cream
   ============================================================ */
:root {
  --purple-deepest: #381d48;
  --purple-deep:   #48265c;
  --purple:        #5a3d78;
  --purple-soft:   #8a6fa8;
  --purple-mist:   #efe9f4;
  --sage-dark:     #6d7f5e;
  --sage:          #93a583;
  --sage-light:    #c6d1ba;
  --sage-mist:     #eef1e8;
  --cream:         #faf7f1;
  --cream-dark:    #f2ecE2;
  --ivory:         #fffdf9;
  --ink:           #2b2233;
  --ink-soft:      #6b6172;
  --line:          #e5ddd2;
  --shadow-sm: 0 2px 12px rgba(42, 26, 58, .06);
  --shadow-md: 0 10px 40px rgba(42, 26, 58, .10);
  --shadow-lg: 0 24px 70px rgba(42, 26, 58, .16);
  --serif: 'Alice', Georgia, serif;
  --brand: 'Alice', Georgia, serif;
  --sans: 'Alice', Georgia, serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--purple-deepest);
  line-height: 1.15;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- eyebrow / section labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(44px, 6.4vw, 72px); margin-bottom: 12px; }
.section-sub { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
  background: rgba(250, 247, 241, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark {
  font-family: var(--brand);
  font-size: 26px;
  font-weight: 400;
  color: var(--purple-deep);
  letter-spacing: .08em;
}
.logo-mark em { font-style: normal; font-weight: 400; color: var(--sage-dark); }
.logo-tag {
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav > a, .nav-drop-toggle {
  font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 400; color: var(--ink);
  padding: 8px 0; position: relative;
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a::after, .nav-drop-toggle::after {
  content: ''; position: absolute; left: 0; bottom: 2px;
  width: 0; height: 1px; background: var(--sage-dark);
  transition: width .35s var(--ease);
}
.main-nav > a:hover::after, .nav-drop:hover .nav-drop-toggle::after { width: 100%; }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: 100%; left: -24px;
  min-width: 250px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  padding: 14px 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
  max-height: 70vh; overflow-y: auto;
}
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(6px); }
.nav-drop-menu a {
  display: block; padding: 9px 26px;
  font-size: 13.5px; color: var(--ink);
  transition: all .2s;
}
.nav-drop-menu a:hover { background: var(--purple-mist); color: var(--purple-deep); padding-left: 32px; }
.nav-drop-menu a:first-child {
  font-weight: 500; color: var(--purple-deep);
  border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-bottom: 12px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: none; color: var(--purple-deep);
  transition: background .25s;
}
.header-icon:hover { background: var(--purple-mist); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--sage-dark); color: #fff;
  font-size: 10.5px; font-weight: 500; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.menu-toggle { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: var(--purple-deep); transition: all .3s; }

.mobile-nav {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--ivory); z-index: 500;
  padding: 90px 34px 40px;
  transform: translateX(-105%); transition: transform .4s var(--ease);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav > a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 24px; color: var(--purple-deepest);
  border-bottom: 1px solid var(--line);
}
.mobile-shop-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 0; background: none; border: none; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 24px; color: var(--purple-deepest);
  text-align: left; cursor: pointer;
}
.mobile-shop-toggle svg { transition: transform .3s var(--ease); color: var(--purple-deep); flex-shrink: 0; }
.mobile-shop-toggle.open svg { transform: rotate(180deg); }
.mobile-nav-cats {
  max-height: 0; overflow: hidden; padding: 0 0 0 14px;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.mobile-nav-cats.open { max-height: 640px; padding: 10px 0 10px 14px; border-bottom: 1px solid var(--line); }
.mobile-nav-cats a { display: block; padding: 8px 0; font-size: 14px; color: var(--ink-soft); }

.page-overlay {
  position: fixed; inset: 0; background: rgba(56, 29, 72, .45);
  z-index: 400; opacity: 0; visibility: hidden; transition: opacity .35s;
  backdrop-filter: blur(2px);
}
.page-overlay.show { opacity: 1; visibility: visible; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 38px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  border-radius: 2px; border: 1px solid transparent;
  transition: all .3s var(--ease);
  text-align: center;
}
.btn-primary { background: var(--purple-deep); color: #f4eefa; }
.btn-primary:hover { background: var(--purple-deepest); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sage { background: var(--sage-dark); color: #fff; }
.btn-sage:hover { background: #5b6b4e; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--cream); color: var(--purple-deep); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--purple-deep); color: var(--purple-deep); background: transparent; }
.btn-outline:hover { background: var(--purple-deep); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--purple-deepest); }
.btn-ghost { color: var(--purple-deep); background: var(--purple-mist); }
.btn-ghost:hover { background: #e4d9ef; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* interactive add-to-cart */
[data-add-to-cart] {
  position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .25s var(--ease);
}
[data-add-to-cart]:hover { transform: translateY(-2px) scale(1.04); box-shadow: var(--shadow-md); }
[data-add-to-cart]:active { transform: translateY(0) scale(.94); }
[data-add-to-cart].added { background: var(--purple-deep); animation: cart-pop .5s var(--ease); }
@keyframes cart-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12); }
  65%  { transform: scale(.96); }
  100% { transform: scale(1); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--purple-deepest);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 70% 72%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(56,29,72,.82) 0%, rgba(56,29,72,.55) 42%, rgba(56,29,72,.08) 75%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
  padding: 120px 24px 120px clamp(24px, 7vw, 110px);
  color: #f3edda;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--sage-light); margin-bottom: 22px; font-weight: 400;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 44px; height: 1px; background: var(--sage); }
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  color: #fbf8f0;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--sage-light); }
.hero p { font-size: 17px; font-weight: 300; color: #e0d7e9; max-width: 470px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.65);
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 50% { opacity: .3; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ---------- category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}
.cat-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(56,29,72,.78) 0%, rgba(56,29,72,.18) 45%, transparent 70%);
}
.cat-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 24px;
  color: #fff;
}
.cat-card-label h3 { color: #fdfaf3; font-size: 24px; margin-bottom: 4px; }
.cat-card-label span {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--sage-light);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .3s var(--ease);
}
.cat-card:hover .cat-card-label span { gap: 14px; }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card-img {
  position: relative;
  aspect-ratio: 1;
  background: #f4f0e8;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--purple-deep); color: #f4eefa;
  font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
}
.badge.sage { background: var(--sage-dark); }
.badge.out { background: #9c8570; }
.product-card-body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; flex: 1;
  text-align: center;
}
.product-card-cat {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 6px;
}
.product-card h3 {
  font-size: 21px; font-weight: 600;
  margin-bottom: 4px;
}
.product-card h3 a:hover { color: var(--purple); }
.product-card-size { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.product-card-price {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 16px; margin-top: auto;
}
.product-card .btn { padding: 12px 20px; font-size: 11.5px; }

/* ---------- why strip ---------- */
.why-strip { background: var(--purple-deepest); color: #d9cfe6; }
.why-strip .section-title { color: #fbf8f0; }
.why-strip .eyebrow { color: var(--sage-light); }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px; margin-top: 60px;
}
.why-item { text-align: center; padding: 0 10px; }
.why-icon {
  width: 68px; height: 68px; margin: 0 auto 22px;
  border: 1px solid rgba(198, 209, 186, .4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-light);
  font-family: var(--serif); font-size: 26px; font-style: italic;
}
.why-item h3 { color: #f3edda; font-size: 22px; margin-bottom: 10px; }
.why-item p { font-size: 14.5px; color: #b9abc7; }

/* ---------- editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-img { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 22px; }
.split-text p { color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sage-dark), var(--sage));
  color: #fff; text-align: center;
  padding: 90px 24px;
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.cta-band p { color: #eef1e8; max-width: 520px; margin: 0 auto 36px; }

/* ---------- shop page ---------- */
.page-hero {
  background: var(--purple-deepest);
  color: #e8e0f0; text-align: center;
  padding: 84px 24px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: 'N'; position: absolute; right: -40px; top: -80px;
  font-family: var(--serif); font-style: italic; font-size: 340px;
  color: rgba(147, 165, 131, .08); line-height: 1;
}
.page-hero h1 { color: #fbf8f0; font-size: clamp(36px, 5vw, 56px); margin-bottom: 14px; }
.page-hero p { max-width: 560px; margin: 0 auto; color: #c3b6d1; }

/* shop filter bar */
.shop-filter-bar {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  max-width: 1100px;
  margin: -34px auto 56px;
  position: relative; z-index: 5;
  padding: 18px 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.filter-search {
  flex: 1 1 260px;
  display: flex; align-items: center; gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 0 18px;
  color: var(--sage-dark);
  transition: border-color .25s;
}
.filter-search:focus-within { border-color: var(--sage-dark); background: #fff; }
.filter-search input {
  flex: 1; border: none; background: none;
  padding: 13px 0;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
}
.filter-search input:focus { outline: none; }
.filter-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.shop-filter-bar select {
  padding: 12px 36px 12px 16px;
  border: 1px solid var(--line); border-radius: 30px;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236d7f5e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 15px center;
  font-family: var(--sans); font-size: 13px; letter-spacing: .04em;
  color: var(--ink);
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .25s;
}
.shop-filter-bar select:hover, .shop-filter-bar select:focus { border-color: var(--sage-dark); outline: none; }
.filter-apply { padding: 12px 26px; font-size: 11.5px; border-radius: 30px; }
.filter-clear {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: #a94747; padding: 8px 4px;
  border-bottom: 1px solid transparent;
}
.filter-clear:hover { border-bottom-color: #a94747; }
.no-results {
  text-align: center; padding: 70px 20px; color: var(--ink-soft);
}
.no-results .serif { display: block; font-size: 28px; color: var(--purple-deepest); margin-bottom: 10px; }
.no-results p { margin-bottom: 26px; }

.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: -28px auto 56px;
  position: relative; z-index: 5;
  max-width: 1100px; padding: 0 20px;
}
.filter-chip {
  background: var(--ivory); border: 1px solid var(--line);
  padding: 10px 22px; border-radius: 30px;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: all .25s;
  box-shadow: var(--shadow-sm);
}
.filter-chip:hover { border-color: var(--sage); color: var(--sage-dark); }
.filter-chip.active { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }

.shop-cat-head { margin: 20px 0 26px; display: flex; align-items: baseline; gap: 18px; }
.shop-cat-head h2 { font-size: 36px; }
.shop-cat-head span { font-size: 13px; color: var(--ink-soft); }
.shop-cat-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- product page ---------- */
.product-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 70px;
  padding: 70px 0 30px;
}
.product-gallery {
  position: sticky; top: 110px; align-self: start;
  border-radius: 8px; overflow: hidden;
  background: #f4f0e8;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }

.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.crumbs a:hover { color: var(--purple); }
.product-info h1 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 10px; }
.product-hook { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 20px; font-style: italic; font-family: var(--serif); font-size: 20px; }
.product-price-row { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.product-price { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--purple-deep); }
.product-size-label { font-size: 13px; color: var(--ink-soft); border: 1px solid var(--line); padding: 5px 14px; border-radius: 20px; }

.trust-line {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage-dark);
  margin: 18px 0 30px;
}
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line span::before { content: '✦'; font-size: 9px; }

.qty-cart-row { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.qty-box {
  display: inline-flex; align-items: center;
  border: 1px solid var(--purple-deep); border-radius: 2px;
  height: 52px;
}
.qty-box button {
  width: 46px; height: 100%; background: none; border: none;
  font-size: 20px; color: var(--purple-deep);
  transition: background .2s;
}
.qty-box button:hover { background: var(--purple-mist); }
.qty-box input {
  width: 46px; text-align: center; border: none; background: none;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  -moz-appearance: textfield;
}
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-buttons { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 240px; }

/* ---------- accordions ---------- */
.accordion { border-top: 1px solid var(--line); margin-top: 34px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--purple-deepest);
  text-align: left;
}
.acc-icon {
  width: 30px; height: 30px; flex: none;
  border: 1px solid var(--sage); border-radius: 50%;
  position: relative;
  transition: all .35s var(--ease);
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--sage-dark);
  transition: all .35s var(--ease);
}
.acc-icon::before { width: 12px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 12px; }
.acc-item.open .acc-icon { background: var(--sage-dark); border-color: var(--sage-dark); }
.acc-item.open .acc-icon::before { background: #fff; }
.acc-item.open .acc-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease);
}
.acc-content { padding: 2px 4px 26px; color: var(--ink-soft); font-size: 15px; }
.acc-content ul { padding-left: 20px; margin: 8px 0; }
.acc-content li { margin-bottom: 7px; }
.acc-content li::marker { color: var(--sage-dark); }

/* ---------- cart drawer ---------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 94vw);
  background: var(--ivory);
  z-index: 500;
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 26px; }
.cart-close { background: none; border: none; font-size: 30px; color: var(--ink-soft); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.cart-empty .serif { font-size: 24px; display: block; margin-bottom: 8px; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: 16px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; background: #f4f0e8; }
.cart-item-name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--purple-deepest); }
.cart-item-size { font-size: 12px; color: var(--ink-soft); }
.cart-item-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.cart-item-qty button {
  width: 24px; height: 24px; border: 1px solid var(--line); background: none;
  border-radius: 50%; font-size: 14px; color: var(--purple-deep); line-height: 1;
}
.cart-item-qty button:hover { border-color: var(--sage-dark); }
.cart-item-price { font-family: var(--serif); font-weight: 600; color: var(--purple-deep); }
.cart-item-remove { background: none; border: none; font-size: 11px; color: #b08d8d; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.cart-foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.cart-subtotal strong { font-family: var(--serif); font-size: 22px; color: var(--purple-deep); }
.cart-hint { font-size: 12px; color: var(--ink-soft); margin-bottom: 16px; }
.cart-foot .btn + .btn { margin-top: 10px; }

/* ---------- cart page & checkout ---------- */
.cart-page-table { width: 100%; border-collapse: collapse; }
.checkout-layout { display: grid; grid-template-columns: 1.2fr .9fr; gap: 60px; padding: 60px 0; align-items: start; }
.form-card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 28px; margin-bottom: 24px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 3px;
  background: var(--cream); font-family: var(--sans); font-size: 15px; color: var(--ink);
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage-dark); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.summary-card {
  background: var(--purple-deepest); color: #d9cfe6;
  border-radius: 8px; padding: 36px;
  position: sticky; top: 110px;
}
.summary-card h3 { color: #fbf8f0; font-size: 24px; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; }
.summary-line.total {
  border-top: 1px solid rgba(255,255,255,.18); margin-top: 12px; padding-top: 16px;
  font-family: var(--serif); font-size: 20px; color: #fbf8f0;
}
.summary-note { font-size: 12.5px; color: #a293b3; margin-top: 16px; }
.discount-box { display: flex; gap: 8px; margin: 14px 0 4px; }
.discount-box input {
  flex: 1; min-width: 0;
  padding: 11px 14px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  font-family: var(--sans); font-size: 14px; color: #fbf8f0;
  transition: border-color .25s;
}
.discount-box input::placeholder { color: #a293b3; }
.discount-box input:focus { outline: none; border-color: var(--sage-light); }
.discount-box .btn { padding: 11px 18px; font-size: 11px; }
.discount-msg { font-size: 13px; margin: 4px 0 8px; min-height: 0; }
.discount-msg.ok { color: #b8d4a8; }
.discount-msg.err { color: #e0a8a8; }
.summary-line.discount { color: #b8d4a8; }
.method-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method-opt {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.method-opt:hover { border-color: var(--sage-dark); }
.method-opt:has(input:checked) { border-color: var(--sage-dark); box-shadow: 0 0 0 1px var(--sage-dark); background: var(--sage-mist); }
.method-opt input { margin-top: 4px; accent-color: var(--sage-dark); }
.method-opt span { display: flex; flex-direction: column; line-height: 1.35; }
.method-opt small { color: var(--ink-soft); font-size: 12px; }
@media (max-width: 560px) { .method-toggle { grid-template-columns: 1fr; } }
.whish-box {
  margin-top: 12px; padding: 14px 16px;
  background: var(--purple-mist); border: 1px dashed var(--purple-deep); border-radius: 8px;
}
.whish-box strong { color: var(--purple-deepest); font-size: 15px; }
.whish-box .whish-number { letter-spacing: .06em; }
.whish-box p { margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- about ---------- */
.about-body { max-width: 760px; margin: 0 auto; }
.about-body p { margin-bottom: 22px; color: #4a4152; font-size: 16.5px; }
.about-body .lead { font-family: var(--serif); font-size: 26px; color: var(--purple-deepest); line-height: 1.45; }
.about-pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px; margin: 60px 0;
  background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.pillar { background: var(--ivory); padding: 36px 28px; text-align: center; }
.pillar h3 { font-size: 20px; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.founder-quote { margin: 56px 0; padding: 36px 40px; border-left: 3px solid var(--sage-dark); background: var(--sage-mist); border-radius: 0 8px 8px 0; }
.founder-quote p { font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--purple-deepest); font-style: italic; margin: 0 0 18px; }
.founder-quote footer { font-size: 15px; color: var(--purple-deep); line-height: 1.5; }
.founder-quote footer span { font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-group-title { font-size: 24px; margin: 40px 0 8px; color: var(--sage-dark); font-style: italic; }
.faq-subgroup-title { font-size: 17px; margin: 22px 0 4px; color: var(--ink-soft); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 70px 0; align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.channel-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 8px;
  padding: 24px 28px;
  transition: all .3s var(--ease);
}
.channel-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--sage-light); }
.channel-icon {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: var(--sage-mist); color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
}
.channel-card h3 { font-size: 20px; }
.channel-card p { font-size: 13.5px; color: var(--ink-soft); }

/* step form */
.step-form { background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 44px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.step-progress { display: flex; gap: 6px; margin-bottom: 34px; }
.step-progress span { height: 3px; flex: 1; background: var(--line); border-radius: 2px; transition: background .4s; }
.step-progress span.done { background: var(--sage-dark); }
.form-step { display: none; animation: stepIn .5s var(--ease); }
.form-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.form-step h3 { font-size: 26px; margin-bottom: 6px; }
.form-step .step-hint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.step-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.step-back { background: none; border: none; color: var(--ink-soft); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.step-back:hover { color: var(--purple); }
.step-success { text-align: center; padding: 30px 0; }
.step-success .big { font-size: 54px; margin-bottom: 12px; }

/* ---------- footer ---------- */
.site-footer { background: var(--purple-deepest); color: #b9abc7; margin-top: 0; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding: 80px 24px 50px;
}
.footer-brand .logo-mark { color: #f3edda; font-size: 26px; }
.footer-brand .logo-mark em { color: var(--sage-light); }
.footer-brand p { font-size: 14px; margin: 16px 0 22px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #d9cfe6; transition: all .3s;
}
.footer-social a:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage-light); margin-bottom: 20px;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-note { font-size: 13.5px; padding: 5px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  max-width: 1240px; margin: 0 auto;
  font-size: 12.5px; color: #8d7d9e;
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 250;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translate(-50%, 20px);
  background: var(--purple-deepest); color: #f3edda;
  padding: 14px 28px; border-radius: 40px;
  font-size: 14px;
  opacity: 0; visibility: hidden;
  transition: all .4s var(--ease);
  z-index: 600;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- order success ---------- */
.success-wrap { max-width: 640px; margin: 0 auto; text-align: center; padding: 100px 24px; }
.success-icon {
  width: 90px; height: 90px; margin: 0 auto 30px;
  border-radius: 50%; background: var(--sage-mist);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--sage-dark);
}
.order-no {
  display: inline-block; margin: 18px 0 26px;
  background: var(--purple-mist); color: var(--purple-deep);
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  padding: 10px 30px; border-radius: 6px; letter-spacing: .06em;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .split, .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .site-header { padding: 12px 18px; }
  .logo-tag { display: none; }
  .logo-mark { font-size: 19px; }
  section { padding: 64px 0; }
  .hero { min-height: 76vh; }
  .hero-content { padding: 90px 24px; }
  /* 2 products per row on mobile */
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card-body { padding: 14px 12px 18px; }
  .product-card h3 { font-size: 17px; }
  .product-card .btn { padding: 11px 10px; font-size: 10.5px; letter-spacing: .12em; }
  .form-card, .step-form { padding: 28px 22px; }
  .shop-filter-bar { margin-left: 14px; margin-right: 14px; padding: 14px; gap: 8px; }
  .filter-search { flex-basis: 100%; }
  .shop-filter-bar select { flex: 1; min-width: 0; padding: 11px 30px 11px 12px; font-size: 12px; }
  .filter-apply { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
  .why-grid { gap: 30px; }
}
@media (max-width: 480px) {
  .cat-card-label h3 { font-size: 18px; }
  .cat-card-label { padding: 16px 14px; }
  .hero-actions .btn { padding: 13px 22px; font-size: 11.5px; }
  .footer-inner { grid-template-columns: 1fr; }
}
