:root {
  --ink: #18342c;
  --ink-soft: #4f675f;
  --forest: #174b3a;
  --forest-2: #24644f;
  --leaf: #86b53f;
  --sage: #dce9df;
  --sage-2: #edf5ef;
  --cream: #faf7f1;
  --sand: #e8dccd;
  --gold: #b58f5d;
  --white: #ffffff;
  --danger: #a24343;
  --shadow-sm: 0 10px 30px rgba(24, 52, 44, 0.08);
  --shadow-md: 0 20px 60px rgba(24, 52, 44, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(134, 181, 63, .25);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--forest-2);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--leaf);
}

.section-heading {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.section-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.centered {
  text-align: center;
}

.centered .section-heading, .centered .section-copy {
  margin-inline: auto;
}

.centered .section-kicker::before {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  transition: .25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(23, 75, 58, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0e3f30;
  box-shadow: 0 16px 36px rgba(23, 75, 58, .28);
}

.btn-secondary {
  border-color: rgba(24, 52, 44, .18);
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--forest);
  background: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--forest);
}

.btn-light:hover {
  transform: translateY(-2px);
}

.btn-link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--forest);
}

.btn-link:hover {
  gap: 14px;
}

.announcement {
  background: var(--forest);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  letter-spacing: .02em;
}

.announcement .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.announcement strong {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid rgba(24,52,44,.08);
  background: rgba(250,247,241,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 132px;
  height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .91rem;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--leaf);
  transition: .2s ease;
}

.nav a:hover, .nav a.active {
  color: var(--ink);
}

.nav a:hover::after, .nav a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(24,52,44,.13);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  right: -2px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--white);
  font-size: .66rem;
  font-weight: 900;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h) - 34px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--sage-2);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  right: -180px;
  top: -190px;
  border-radius: 50%;
  border: 1px solid rgba(23,75,58,.12);
  box-shadow: 0 0 0 80px rgba(23,75,58,.025), 0 0 0 160px rgba(23,75,58,.025);
}

.hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: inherit;
}

.hero-content {
  padding: 86px 72px 86px max(40px, calc((100vw - var(--container))/2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(134,181,63,.15);
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.8vw, 7rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

.hero h1 em {
  color: var(--forest-2);
  font-weight: 500;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid rgba(24,52,44,.13);
}

.trust-item strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: .77rem;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(237,245,239,.36), transparent 34%), linear-gradient(0deg, rgba(17,53,42,.18), transparent 45%);
}

.hero-card {
  position: absolute;
  z-index: 2;
  left: 34px;
  bottom: 34px;
  max-width: 330px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
}

.hero-card-icon svg {
  width: 21px;
  height: 21px;
}

.hero-card strong {
  display: block;
}

.hero-card p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: .86rem;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(24,52,44,.08);
  background: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 0 28px;
  color: var(--forest);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item::after {
  content: " | ";
  color: var(--leaf);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.category-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--forest);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,40,31,.78) 0%, rgba(9,40,31,.06) 65%);
}

.category-card:hover img {
  transform: scale(1.045);
}

.category-body {
  position: absolute;
  z-index: 2;
  inset: auto 28px 28px;
  color: var(--white);
}

.category-number {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.category-card h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.category-card p {
  margin: 8px 0 18px;
  max-width: 320px;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  font-weight: 800;
}

.feature-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.feature-image {
  position: relative;
  min-height: inherit !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 150px;
  height: 150px;
  padding: 20px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.15;
  box-shadow: 0 20px 40px rgba(14,63,48,.3);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 34px 0;
}

.feature-list-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(24,52,44,.1);
}

.feature-list-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
}

.feature-list-icon svg {
  width: 20px;
  height: 20px;
}

.feature-list-item strong {
  display: block;
  margin-bottom: 3px;
}

.feature-list-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24,52,44,.08);
  border-radius: 22px;
  background: var(--white);
  transition: .25s ease;
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.treatment-thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--sage);
}

.treatment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.treatment-card:hover .treatment-thumb img {
  transform: scale(1.04);
}

.treatment-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--forest);
  font-size: .69rem;
  font-weight: 850;
}

.treatment-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.treatment-content h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.treatment-content p {
  margin: 9px 0 18px;
  color: var(--ink-soft);
  font-size: .84rem;
}

.treatment-meta {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--forest);
  font-weight: 900;
}

.price small {
  display: block;
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 600;
}

.circle-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sage-2);
  color: var(--forest);
}

.circle-arrow svg {
  width: 17px;
  height: 17px;
}

.stats-band {
  background: var(--forest);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .6fr);
  gap: 28px;
  align-items: center;
}

.stats-intro h2 {
  margin: 0;
  max-width: 420px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
}

.stat {
  padding-left: 26px;
  border-left: 1px solid rgba(255,255,255,.22);
}

.stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
}

.gift-section {
  background: var(--sand);
  overflow: hidden;
}

.gift-wrap {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: 54px;
  align-items: center;
}

.gift-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.gift-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-card-img {
  position: absolute;
  width: 250px;
  right: 30px;
  bottom: 28px;
  filter: drop-shadow(0 20px 24px rgba(42,27,18,.25));
  transform: rotate(2deg);
}

.gift-copy ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  gap: 10px;
}

.gift-copy li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gift-copy li::before {
  content: " + ";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(23,75,58,.1);
  color: var(--forest);
  font-size: .75rem;
  font-weight: 900;
}

.reviews-shell {
  margin-top: 48px;
  position: relative;
}

.review-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: .84rem;
}

.review-card blockquote {
  margin: 22px 0;
  font-family: Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.45;
}

.reviewer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(24,52,44,.1);
}

.reviewer strong, .reviewer span {
  display: block;
}

.reviewer span {
  color: var(--ink-soft);
  font-size: .78rem;
}

.cta-panel {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: grid;
  align-items: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,48,37,.9), rgba(10,48,37,.32));
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 72px;
}

.cta-content h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
}

.cta-content p {
  margin: 22px 0 30px;
  color: rgba(255,255,255,.78);
}

.page-hero {
  padding: 74px 0 64px;
  background: var(--sage-2);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 58px;
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.055em;
}

.page-hero p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-hero-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-toolbar {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  z-index: 20;
  margin: -24px auto 44px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(24,52,44,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 800;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--forest);
  color: var(--white);
}

.search-field {
  position: relative;
  min-width: 250px;
}

.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(24,52,44,.12);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}

.search-field input:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(36,100,79,.1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24,52,44,.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(24,52,44,.05);
  transition: .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card.hidden {
  display: none;
}

.product-image {
  position: relative;
  aspect-ratio: 1.18/1;
  overflow: hidden;
  background: var(--sage-2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--forest);
  font-size: .7rem;
  font-weight: 850;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  color: var(--forest-2);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-body h2 {
  margin: 8px 0 8px;
  font-family: Georgia, serif;
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.15;
}

.product-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .86rem;
}

.product-footer {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-weight: 900;
  color: var(--forest);
}

.add-cart {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  transition: .2s ease;
}

.add-cart:hover {
  background: var(--leaf);
  transform: rotate(-4deg) scale(1.06);
}

.add-cart svg {
  width: 19px;
  height: 19px;
}

.empty-state {
  display: none;
  padding: 56px 20px;
  text-align: center;
  color: var(--ink-soft);
}

.empty-state.visible {
  display: block;
}

.cart-drawer {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,28,22,.42);
  opacity: 0;
  transition: .25s ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(430px, 100%);
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  transform: translateX(100%);
  transition: .3s ease;
  box-shadow: -20px 0 60px rgba(9,40,31,.2);
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.cart-items {
  flex: 1;
  margin: 26px 0;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 12px;
}

.cart-empty {
  padding: 50px 12px;
  text-align: center;
  color: var(--ink-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
}

.cart-item strong {
  display: block;
  font-size: .84rem;
  line-height: 1.3;
}

.cart-item span {
  color: var(--ink-soft);
  font-size: .76rem;
}

.remove-cart {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: .75rem;
  font-weight: 800;
}

.cart-note {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .78rem;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  padding: 12px 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  box-shadow: var(--shadow-md);
  font-size: .84rem;
  font-weight: 750;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: stretch;
}

.contact-info {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: var(--white);
}

.contact-info h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
}

.contact-info > p {
  color: rgba(255,255,255,.7);
}

.contact-list {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item small {
  display: block;
  color: rgba(255,255,255,.55);
}

.contact-item a, .contact-item strong {
  display: block;
  color: var(--white);
}

.contact-form-wrap {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
}

.contact-form-wrap > p {
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1/-1;
}

.field label {
  font-size: .78rem;
  font-weight: 800;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid rgba(24,52,44,.14);
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: .2s ease;
}

.field input, .field select {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 138px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(36,100,79,.1);
  background: var(--white);
}

.field.invalid input, .field.invalid textarea {
  border-color: var(--danger);
}

.field-error {
  min-height: 15px;
  color: var(--danger);
  font-size: .7rem;
}

.checkbox {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: .78rem;
}

.checkbox input {
  margin-top: 4px;
  accent-color: var(--forest);
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: var(--sage-2);
  color: var(--forest);
  font-size: .84rem;
  font-weight: 700;
}

.form-success.visible {
  display: block;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 126%;
  border: 0;
  filter: saturate(.68) contrast(.95);
}

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-bottom: 1px solid rgba(24,52,44,.12);
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
}

.faq-question span:last-child {
  font-size: 1.35rem;
  font-weight: 400;
  transition: .2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.site-footer {
  padding-top: 74px;
  background: #102e25;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .7fr .7fr .9fr;
  gap: 46px;
  padding-bottom: 54px;
}

.footer-brand img {
  width: 150px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.footer-brand p {
  max-width: 350px;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}

.footer-title {
  margin: 12px 0 16px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .86rem;
}

.footer-links a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: var(--white);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.5);
  font-size: .76rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.subsidy {
  padding: 18px 0;
  background: var(--white);
}

.subsidy img {
  width: min(100%, 690px);
  margin: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .nav {
    display: none;
    position: fixed;
    inset: calc(var(--header-h) + 34px) 0 0;
    padding: 36px 28px;
    align-items: flex-start;
    flex-direction: column;
    background: var(--cream);
  }
}

@media (max-width: 1050px) {
  .nav.open {
    display: flex;
  }
}

@media (max-width: 1050px) {
  .nav a {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
  }
}

@media (max-width: 1050px) {
  .nav a::after {
    display: none;
  }
}

@media (max-width: 1050px) {
  .menu-toggle {
    display: inline-grid;
  }
}

@media (max-width: 1050px) {
  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 1050px) {
  .hero-grid, .feature-split, .gift-wrap, .page-hero-grid, .contact-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }
}

@media (max-width: 1050px) {
  .hero-content {
    padding: 74px 40px;
  }
}

@media (max-width: 1050px) {
  .hero-media {
    min-height: 560px;
  }
}

@media (max-width: 1050px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1050px) {
  .category-card:last-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 1050px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1050px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1050px) {
  .stats-intro {
    grid-column: 1/-1;
  }
}

@media (max-width: 1050px) {
  .stat {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
  }
}

@media (max-width: 1050px) {
  .review-track {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1050px) {
  .review-card:last-child {
    display: none;
  }
}

@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1050px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 76px 0;
  }
}

@media (max-width: 720px) {
  .section-sm {
    padding: 54px 0;
  }
}

@media (max-width: 720px) {
  .announcement .container {
    min-height: 42px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: var(--header-h);
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 110px;
    height: 54px;
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding: 62px 22px 54px;
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5.2rem);
  }
}

@media (max-width: 720px) {
  .hero-media {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .hero-trust {
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .category-grid, .treatment-grid, .product-grid, .review-track, .stats-grid, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .category-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .category-card {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .feature-image {
  }
}

@media (max-width: 720px) {
  .feature-badge {
    width: 126px;
    height: 126px;
    font-size: .96rem;
  }
}

@media (max-width: 720px) {
  .stats-intro {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .gift-visual {
    min-height: 400px;
  }
}

@media (max-width: 720px) {
  .gift-card-img {
    width: 205px;
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 720px) {
  .review-card:last-child {
    display: flex;
  }
}

@media (max-width: 720px) {
  .cta-panel {
    min-height: 540px;
  }
}

@media (max-width: 720px) {
  .cta-content {
    padding: 36px 24px;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: 56px;
  }
}

@media (max-width: 720px) {
  .page-hero-media {
  }
}

@media (max-width: 720px) {
  .shop-toolbar {
    position: static;
    margin-top: -16px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .filter-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
}

@media (max-width: 720px) {
  .filter-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 720px) {
  .search-field {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .contact-info, .contact-form-wrap {
    padding: 28px;
  }
}

@media (max-width: 720px) {
  .contact-info h2, .contact-form-wrap h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 720px) {
  .field.full, .checkbox {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .map-wrap {
  }
}

@media (max-width: 720px) {
  .footer-bottom .container {
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Reflow-ready multipage extension ===== */

:root {
  --reflow-accent: #79a84b;
  --reflow-accent-dark: #0f6b3a;
  --cream: #faf7ef;
}

body {
  overflow-x: hidden;
}

.reflow-live-only {
  display: none!important;
}

.reflow-connected .reflow-live-only {
  display: block!important;
}

.reflow-connected .reflow-demo-only {
  display: none!important;
}

.header-commerce {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commerce-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(24,52,44,.13);
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  position: relative;
}

.commerce-link svg {
  width: 19px;
}

.demo-cart-count {
  position: absolute;
  right: -3px;
  top: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: .68rem;
  display: grid;
  place-items: center;
}

[data-reflow-type="view-cart"], [data-reflow-type="auth-button"] {
  font-family: inherit;
}

.header-reflow {
  display: none!important;
  align-items: center;
  gap: 8px;
}

.header-reflow [data-reflow-type="auth-button"] {
  max-width: 48px;
  overflow: hidden;
}

.shop-hero {
  padding: 72px 0 44px;
  background: linear-gradient(135deg,var(--sage-2),#fff 64%);
}

.shop-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.shop-hero h1, .commerce-page-hero h1 {
  margin: 0;
  font-family: Georgia,serif;
  font-size: clamp(3rem,6vw,5.8rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.055em;
}

.shop-hero p, .commerce-page-hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 690px;
}

.shop-hero-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.shop-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.benefit-pill {
  border: 1px solid rgba(24,52,44,.12);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.65);
  font-size: .8rem;
  font-weight: 750;
}

.store-shell {
  padding: 70px 0 100px;
}

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.store-search {
  position: relative;
  max-width: 510px;
  flex: 1;
}

.store-search input {
  width: 100%;
  border: 1px solid rgba(24,52,44,.14);
  background: #fff;
  border-radius: 999px;
  padding: 15px 20px 15px 48px;
  font: inherit;
}

.store-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 19px;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.store-count {
  color: var(--ink-soft);
  font-size: .9rem;
}

.store-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 38px;
  align-items: start;
}

.store-aside {
  position: sticky;
  top: 112px;
  border-radius: 24px;
  background: var(--sage-2);
  padding: 24px;
}

.store-aside h2 {
  font-family: Georgia,serif;
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.demo-category-list {
  display: grid;
  gap: 5px;
}

.demo-category-list button, .demo-category-list a {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-size: .9rem;
}

.demo-category-list button:hover, .demo-category-list button.active {
  background: #fff;
  color: var(--forest);
  font-weight: 800;
}

.demo-product-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.demo-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(24,52,44,.08);
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(24,52,44,.06);
  transition: .25s;
}

.demo-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.demo-product-image {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--sage-2);
}

.demo-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.demo-product-card:hover img {
  transform: scale(1.035);
}

.demo-product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.demo-product-cat {
  color: var(--leaf-dark);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.demo-product-card h2 {
  font-family: Georgia,serif;
  font-size: 1.45rem;
  line-height: 1.12;
  margin: 9px 0;
}

.demo-product-card p {
  font-size: .84rem;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.demo-product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-price {
  font-weight: 850;
  color: var(--forest);
}

.demo-add {
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 1.2rem;
}

.demo-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  border: 1px dashed rgba(24,52,44,.18);
  border-radius: 22px;
  color: var(--ink-soft);
}

.reflow-component-card {
  background: #fff;
  border: 1px solid rgba(24,52,44,.09);
  border-radius: 28px;
  padding: clamp(20px,4vw,48px);
  box-shadow: var(--shadow-sm);
  min-height: 220px;
}

.reflow-component-card [data-reflow-type] {
  font-family: Inter,system-ui,sans-serif;
  color: var(--ink);
}

.reflow-connected [data-reflow-type="product-list"] {
  min-height: 500px;
}

.reflow-connected [data-reflow-type="category-list"] a {
  color: var(--ink-soft);
}

.commerce-page-hero {
  padding: 68px 0 48px;
  background: var(--sage-2);
}

.commerce-page-hero h1 {
  font-size: clamp(2.8rem,5vw,5rem);
}

.commerce-content {
  padding: 70px 0 110px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--ink-soft);
  font-size: .82rem;
}

.breadcrumb a:hover {
  color: var(--forest);
}

.demo-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: start;
}

.demo-detail-media {
  border-radius: 30px;
  overflow: hidden;
  background: var(--sage-2);
  box-shadow: var(--shadow-md);
}

.demo-detail-media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.demo-detail-info {
  padding: 22px 0;
}

.demo-detail-info h1 {
  font-family: Georgia,serif;
  font-size: clamp(2.6rem,5vw,4.4rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -.045em;
}

.demo-detail-price {
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--leaf-dark);
  margin: 18px 0;
}

.demo-detail-excerpt {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.demo-detail-description {
  margin: 25px 0;
  color: var(--ink-soft);
}

.demo-detail-description ul {
  padding-left: 20px;
}

.demo-purchase {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  border-top: 1px solid rgba(24,52,44,.12);
  padding-top: 24px;
}

.demo-purchase label {
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.demo-purchase select {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(24,52,44,.15);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

.demo-add-wide {
  width: 100%;
  justify-content: center;
}

.demo-cart {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 30px;
  align-items: start;
}

.demo-cart-items {
  display: grid;
  gap: 14px;
}

.demo-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(24,52,44,.08);
  border-radius: 19px;
  padding: 13px;
}

.demo-cart-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 13px;
}

.demo-cart-item strong {
  display: block;
  font-family: Georgia,serif;
  font-size: 1.15rem;
}

.demo-cart-item span {
  color: var(--ink-soft);
  font-size: .84rem;
}

.demo-remove {
  border: 0;
  background: transparent;
  color: #a34848;
  cursor: pointer;
}

.demo-cart-summary {
  position: sticky;
  top: 112px;
  background: var(--forest);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
}

.demo-cart-summary h2 {
  font-family: Georgia,serif;
  font-size: 2rem;
  margin: 0;
}

.demo-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.demo-cart-summary .btn {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
  background: #fff;
  color: var(--forest);
}

.demo-cart-empty {
  padding: 60px 30px;
  text-align: center;
  background: var(--sage-2);
  border-radius: 24px;
}

.status-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 30px;
  align-items: start;
}

.status-intro {
  background: var(--forest);
  color: #fff;
  padding: 34px;
  border-radius: 28px;
}

.status-intro h2 {
  font-family: Georgia,serif;
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.status-intro p {
  color: rgba(255,255,255,.74);
}

.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--leaf);
  font-size: 2rem;
  margin-bottom: 20px;
}

.account-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
}

.account-nav {
  position: sticky;
  top: 112px;
  background: var(--forest);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
}

.account-nav h2 {
  font-family: Georgia,serif;
  font-size: 2rem;
  margin-top: 0;
}

.account-nav a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.78);
}

.account-content {
  display: grid;
  gap: 24px;
}

.account-section {
  background: #fff;
  border: 1px solid rgba(24,52,44,.09);
  border-radius: 24px;
  padding: 28px;
}

.account-section h2 {
  font-family: Georgia,serif;
  font-size: 2rem;
  margin-top: 0;
}

.setup-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid #dfca9a;
  background: #fff8e7;
  border-radius: 17px;
  padding: 18px;
  margin-bottom: 24px;
  color: #72561c;
}

.reflow-connected .setup-banner {
  display: none;
}

.setup-banner code {
  background: rgba(114,86,28,.09);
  padding: 2px 6px;
  border-radius: 5px;
}

.setup-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4a84e;
  margin-top: 5px;
}

.policy {
  max-width: 850px;
}

.policy h2 {
  font-family: Georgia,serif;
  font-size: 2rem;
  margin-top: 42px;
}

.policy h3 {
  margin-top: 28px;
}

.policy p, .policy li {
  color: var(--ink-soft);
}

.policy ul {
  padding-left: 20px;
}

.notice-card {
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(24,52,44,.09);
  border-radius: 24px;
}

.notice-card h2 {
  font-family: Georgia,serif;
  font-size: 2.2rem;
  margin-top: 0;
}

.notice-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* Reflow broad visual harmonization */

.reflow-connected [data-reflow-type] button, .reflow-connected [data-reflow-type] input[type="submit"] {
  border-radius: 999px!important;
}

.reflow-connected [data-reflow-type] input, .reflow-connected [data-reflow-type] select, .reflow-connected [data-reflow-type] textarea {
  border-radius: 11px!important;
  font-family: inherit!important;
}

.reflow-connected [data-reflow-type] img {
  border-radius: 17px;
}

.reflow-connected [data-reflow-type="product-list"] {
  --ref-primary: #0f6b3a;
}

.reflow-connected [data-reflow-type="shopping-cart"] {
  --ref-primary: #0f6b3a;
}

@media (max-width:1050px) {
  .demo-product-list {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:1050px) {
  .store-layout {
    grid-template-columns: 190px 1fr;
  }
}

@media (max-width:1050px) {
  .shop-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:1050px) {
  .demo-cart, .status-layout, .account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:1050px) {
  .demo-cart-summary, .account-nav {
    position: static;
  }
}

@media (max-width:780px) {
  .header-commerce .reflow-live-only, .header-reflow [data-reflow-type="auth-button"] {
    display: none!important;
  }
}

@media (max-width:780px) {
  .shop-hero-grid, .demo-product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width:780px) {
  .shop-hero-card {
  }
}

@media (max-width:780px) {
  .store-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width:780px) {
  .store-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width:780px) {
  .store-aside {
    position: static;
    padding: 15px;
  }
}

@media (max-width:780px) {
  .demo-category-list {
    display: flex;
    overflow: auto;
  }
}

@media (max-width:780px) {
  .demo-category-list button {
    white-space: nowrap;
  }
}

@media (max-width:780px) {
  .demo-product-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width:780px) {
  .demo-product-body {
    padding: 15px;
  }
}

@media (max-width:780px) {
  .demo-product-card h2 {
    font-size: 1.16rem;
  }
}

@media (max-width:780px) {
  .demo-product-card p {
    display: none;
  }
}

@media (max-width:780px) {
  .demo-detail-info {
    padding-top: 0;
  }
}

@media (max-width:780px) {
  .commerce-content {
    padding-top: 42px;
  }
}

@media (max-width:780px) {
  .demo-cart-item {
    grid-template-columns: 70px 1fr auto;
  }
}

@media (max-width:780px) {
  .demo-cart-item img {
    width: 70px;
    height: 70px;
  }
}

@media (max-width:520px) {
  .demo-product-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width:520px) {
  .shop-hero h1, .commerce-page-hero h1 {
    font-size: 2.7rem;
  }
}

@media (max-width:520px) {
  .shop-hero {
    padding-top: 45px;
  }
}

@media (max-width:520px) {
  .demo-cart-item {
    grid-template-columns: 60px 1fr;
  }
}

@media (max-width:520px) {
  .demo-cart-item img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width:520px) {
  .demo-remove {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }
}

@media (max-width:520px) {
  .status-intro, .account-section, .reflow-component-card {
    padding: 22px;
  }
}

.reflow-connected .header-reflow.reflow-live-only {
  display: flex!important;
}

.btn-secondary {
  color: inherit !important;
}

/* ===== Mobile storefront refinement ===== */

@media (max-width: 1050px) {
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    padding: 32px max(24px, calc((100vw - var(--container)) / 2));
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 20px 40px rgba(24,52,44,.1);
  }
}

@media (max-width: 780px) {
  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .commerce-link,
  .icon-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .shop-hero {
    padding: 48px 0 30px;
  }

  .shop-hero-grid {
    gap: 30px;
  }

  .shop-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: .98;
  }

  .shop-hero p {
    margin-top: 18px;
    font-size: 1rem;
  }

  .shop-benefits {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 22px;
    padding-bottom: 5px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .shop-benefits::-webkit-scrollbar,
  .demo-category-list::-webkit-scrollbar,
  .reflow-connected [data-reflow-type="category-list"]::-webkit-scrollbar {
    display: none;
  }

  .benefit-pill {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .shop-hero-card {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .store-shell {
    padding: 38px 0 74px;
  }

  .store-toolbar {
    gap: 10px;
    margin-bottom: 18px;
  }

  .store-search {
    width: 100%;
    max-width: none;
  }

  .store-search input {
    min-height: 52px;
    padding: 13px 18px 13px 48px;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(24,52,44,.055);
  }

  .store-count {
    align-self: flex-end;
    padding-inline: 4px;
    font-size: .82rem;
  }

  .store-layout {
    gap: 20px;
  }

  .store-aside {
    overflow: hidden;
    border: 1px solid rgba(24,52,44,.08);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(24,52,44,.04);
  }

  .store-aside h2 {
    margin: 0 0 10px 2px;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .demo-category-list,
  .reflow-connected [data-reflow-type="category-list"] {
    display: flex;
    gap: 8px;
    padding-bottom: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .demo-category-list button,
  .demo-category-list a,
  .reflow-connected [data-reflow-type="category-list"] a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(24,52,44,.1);
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .demo-category-list button.active {
    border-color: var(--forest);
    background: var(--forest);
    color: #fff;
  }

  .demo-product-list {
    gap: 14px;
  }

  .demo-product-card {
    border-radius: 19px;
    box-shadow: 0 9px 25px rgba(24,52,44,.055);
  }

  .demo-product-card:hover {
    transform: none;
  }

  .demo-product-cat {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .demo-product-card h2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .demo-add {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .faq-question {
    min-height: 58px;
  }
}

@media (max-width: 620px) {
  .demo-product-list {
    grid-template-columns: 1fr;
  }

  .demo-product-card {
    display: grid;
    grid-template-columns: minmax(112px, 34vw) minmax(0, 1fr);
    min-height: 152px;
  }

  .demo-product-image {
    height: 100%;
    min-height: 152px;
    aspect-ratio: auto;
  }

  .demo-product-body {
    min-width: 0;
    padding: 14px;
  }

  .demo-product-card h2 {
    margin: 6px 0 10px;
    font-size: clamp(1.06rem, 4.8vw, 1.25rem);
  }

  .demo-product-bottom {
    align-items: flex-end;
  }

  .demo-price {
    font-size: .91rem;
    line-height: 1.25;
  }

  .demo-empty {
    padding: 48px 18px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand img {
    width: 100px;
  }

  .commerce-link,
  .icon-btn {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .shop-hero {
    padding-top: 38px;
  }

  .shop-hero-grid {
    gap: 24px;
  }

  .shop-hero h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.25rem);
  }

  .shop-hero-card {
    border-radius: 18px;
  }

  .store-aside {
    margin-inline: -2px;
  }

  .demo-product-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 146px;
  }

  .demo-product-image {
    min-height: 146px;
  }

  .demo-product-body {
    padding: 12px;
  }

  .demo-add {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}



/* ===== Responsive hardening v2 ===== */

/* Bootstrap also sets max-width on .container. Keep the project container
   fluid at every breakpoint so layouts never collapse into a half-width rail. */
.container {
  max-width: var(--container);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

main,
section,
.container,
.header-inner,
.hero-grid,
.feature-split,
.gift-wrap,
.page-hero-grid,
.contact-grid,
.faq-grid,
.footer-grid,
.shop-hero-grid,
.store-toolbar,
.store-layout,
.demo-product-list,
.demo-product-detail,
.demo-cart,
.status-layout,
.account-grid,
.reflow-component-card,
[data-reflow-type="product-list"] {
  min-width: 0;
}

.hero-grid > *,
.feature-split > *,
.gift-wrap > *,
.page-hero-grid > *,
.contact-grid > *,
.faq-grid > *,
.footer-grid > *,
.shop-hero-grid > *,
.store-layout > *,
.demo-product-detail > *,
.demo-cart > *,
.status-layout > *,
.account-grid > * {
  min-width: 0;
}

img,
video,
svg,
iframe {
  max-width: 100%;
}

input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}

.demo-product-card h2,
.demo-detail-info h1,
.notice-card h2,
.policy,
.contact-item,
.footer-links {
  overflow-wrap: anywhere;
}

body[data-page="tienda"] .store-shell > .container,
body[data-page="tienda"] .store-toolbar,
body[data-page="tienda"] .store-layout,
body[data-page="tienda"] .store-layout > div,
body[data-page="tienda"] .store-aside,
body[data-page="tienda"] .demo-product-list,
body[data-page="tienda"] .reflow-component-card,
body[data-page="tienda"] [data-reflow-type="product-list"] {
  width: 100%;
  max-width: none;
}

@media (max-width: 780px) {
  /* Store: always use the full mobile width. */
  body[data-page="tienda"] .store-shell > .container {
    width: min(calc(100% - 28px), var(--container));
  }

  body[data-page="tienda"] .store-toolbar,
  body[data-page="tienda"] .store-layout {
    width: 100%;
  }

  body[data-page="tienda"] .store-toolbar > *,
  body[data-page="tienda"] .store-layout > * {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  body[data-page="tienda"] .store-count {
    align-self: flex-start;
  }

  body[data-page="tienda"] .demo-product-list {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 16px;
  }

  /* Tablet/small landscape: one generous horizontal card per row. */
  body[data-page="tienda"] .demo-product-card {
    width: 100%;
    display: grid;
    grid-template-columns: clamp(145px, 31vw, 220px) minmax(0, 1fr);
    min-height: 170px;
  }

  body[data-page="tienda"] .demo-product-image {
    width: 100%;
    height: 100%;
    min-height: 170px;
    aspect-ratio: auto;
  }

  body[data-page="tienda"] .demo-product-body {
    min-width: 0;
    padding: 18px;
  }

  body[data-page="tienda"] .demo-product-card h2 {
    margin: 7px 0 10px;
    font-size: clamp(1.14rem, 3.5vw, 1.35rem);
    -webkit-line-clamp: 2;
  }

  body[data-page="tienda"] .demo-product-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 14px;
  }

  body[data-page="tienda"] .demo-product-bottom {
    margin-top: auto;
  }

  .commerce-content {
    padding: 46px 0 76px;
  }

  .commerce-page-hero {
    padding: 46px 0 34px;
  }

  .commerce-page-hero h1 {
    font-size: clamp(2.25rem, 9vw, 3.4rem);
    line-height: 1;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }

  .demo-product-detail {
    gap: 30px;
  }

  .demo-detail-info {
    padding-top: 0;
  }

  .demo-detail-info h1 {
    font-size: clamp(2.25rem, 9vw, 3.3rem);
  }

  .demo-cart,
  .status-layout,
  .account-grid {
    width: 100%;
  }

  .reflow-component-card {
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  :root {
    --radius-lg: 26px;
  }

  .container,
  body[data-page="tienda"] .store-shell > .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 62px 0;
  }

  .section-sm {
    padding: 46px 0;
  }

  .announcement .container {
    min-height: 38px;
    padding-block: 5px;
    flex-wrap: wrap;
    column-gap: 6px;
    row-gap: 0;
    font-size: .72rem;
    line-height: 1.2;
  }

  .site-header {
    height: 68px;
  }

  :root {
    --header-h: 68px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand img {
    width: 96px;
    height: 48px;
  }

  .header-actions,
  .header-commerce,
  .reflow-demo-only[style*="display:flex"] {
    gap: 5px !important;
  }

  .commerce-link,
  .icon-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .nav {
    padding: 28px 18px;
  }

  .nav a {
    font-size: 1.75rem;
  }

  .hero-content {
    padding: 48px 18px 44px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
    line-height: .92;
  }

  .hero-copy {
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    margin-top: 34px;
    gap: 18px 24px;
  }

  .hero-media {
    min-height: 400px;
  }

  .hero-card {
    padding: 16px;
  }

  .category-card {
    min-height: 310px;
  }

  .category-body {
    inset: auto 20px 20px;
  }

  .category-card h3 {
    font-size: 1.75rem;
  }

  .feature-split,
  .gift-wrap,
  .contact-grid,
  .faq-grid {
    gap: 34px;
  }

  .feature-badge {
    right: 14px;
    bottom: 14px;
    width: 112px;
    height: 112px;
    padding: 14px;
    font-size: .88rem;
  }

  .gift-visual {
    min-height: 330px;
  }

  .gift-card-img {
    width: 170px;
    right: 14px;
    bottom: 14px;
  }

  .cta-panel {
    min-height: 470px;
  }

  .cta-content {
    padding: 30px 18px;
  }

  .page-hero {
    padding-top: 42px;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  .page-hero h1,
  .section-heading {
    overflow-wrap: anywhere;
  }

  .contact-info,
  .contact-form-wrap,
  .status-intro,
  .account-section,
  .account-nav,
  .notice-card,
  .reflow-component-card {
    padding: 22px;
  }

  .contact-info h2,
  .contact-form-wrap h2,
  .status-intro h2,
  .notice-card h2,
  .account-section h2,
  .account-nav h2 {
    font-size: 2rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field.full,
  .checkbox {
    grid-column: auto;
  }

  .field input,
  .field select,
  .field textarea,
  .store-search input,
  .demo-purchase select {
    font-size: 16px;
  }

  .faq-question {
    gap: 12px;
    padding: 17px 0;
  }

  .footer-grid {
    gap: 30px;
  }

  .site-footer {
    padding-top: 54px;
  }

  /* Phone storefront: vertical, full-width cards. No cramped half cards. */
  body[data-page="tienda"] .shop-hero {
    padding: 34px 0 26px;
  }

  body[data-page="tienda"] .shop-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  body[data-page="tienda"] .shop-hero p {
    font-size: .95rem;
  }

  body[data-page="tienda"] .shop-benefits {
    flex-wrap: wrap;
    overflow: visible;
    scroll-snap-type: none;
  }

  body[data-page="tienda"] .benefit-pill {
    min-height: 36px;
    padding: 7px 11px;
    white-space: normal;
    line-height: 1.25;
  }

  body[data-page="tienda"] .shop-hero-card {
    aspect-ratio: 4 / 3;
  }

  body[data-page="tienda"] .store-shell {
    padding: 32px 0 62px;
  }

  body[data-page="tienda"] .store-aside {
    margin: 0;
    padding: 13px;
  }

  body[data-page="tienda"] .demo-product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
  }

  body[data-page="tienda"] .demo-product-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  body[data-page="tienda"] .demo-product-body {
    padding: 16px;
  }

  body[data-page="tienda"] .demo-product-card h2 {
    font-size: 1.28rem;
    -webkit-line-clamp: 2;
  }

  body[data-page="tienda"] .demo-product-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
  }

  body[data-page="tienda"] .demo-price {
    font-size: .98rem;
  }

  .demo-detail-media {
    border-radius: 20px;
  }

  .demo-detail-info h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .demo-detail-price {
    font-size: 1.45rem;
  }

  .demo-cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .demo-cart-item img {
    width: 64px;
    height: 64px;
  }

  .demo-remove {
    grid-column: 2;
    justify-self: start;
    padding: 4px 0;
  }

  .demo-cart-summary {
    padding: 22px;
  }

  .demo-summary-line {
    gap: 12px;
    padding: 15px 0;
  }

  .policy h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 360px) {
  .container,
  body[data-page="tienda"] .store-shell > .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .brand img {
    width: 88px;
  }

  .commerce-link,
  .icon-btn {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .shop-hero h1 {
    font-size: 2.3rem;
  }

  .benefit-pill {
    font-size: .72rem;
  }

  .demo-category-list button,
  .demo-category-list a,
  .reflow-connected [data-reflow-type="category-list"] a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: .82rem;
  }

  .demo-product-body {
    padding: 14px;
  }

  .notice-actions .btn,
  .demo-add-wide {
    width: 100%;
  }
}

/* ===== Menú móvil estable y accesible ===== */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20050;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.menu-icon {
  position: relative;
  display: grid;
  width: 21px;
  height: 16px;
  align-content: space-between;
  pointer-events: none;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform .22s ease, opacity .16s ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {
  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 10020;
    overflow: visible;
    isolation: isolate;
    background: rgba(250,247,241,.99);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    position: relative;
    z-index: 10030;
    display: inline-grid;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    border-color: rgba(24,52,44,.2);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(24,52,44,.1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--white);
  }

  .nav,
  .nav.open {
    position: fixed !important;
    z-index: 10010;
    inset: var(--mobile-menu-top, var(--header-h)) 0 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: clamp(24px, 5vh, 46px) max(22px, env(safe-area-inset-left)) calc(30px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-right)) !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: var(--cream);
    box-shadow: 0 22px 55px rgba(24,52,44,.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }

  .nav::before {
    content: "Menú principal";
    display: block;
    margin: 0 0 14px;
    color: var(--forest-2);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }

  .nav a {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 9px 4px;
    border-bottom: 1px solid rgba(24,52,44,.12);
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 7vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.025em;
    -webkit-tap-highlight-color: transparent;
  }

  .nav a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 14px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: transparent;
  }

  .nav a::after {
    content: "→";
    position: static;
    display: block !important;
    width: auto;
    height: auto;
    margin-left: auto;
    padding-left: 18px;
    background: none;
    color: var(--forest-2);
    font-family: Inter, sans-serif;
    font-size: 1.05rem;
    line-height: 1;
    opacity: .65;
    transition: transform .18s ease;
  }

  .nav a:hover,
  .nav a:focus-visible {
    color: var(--forest);
  }

  .nav a:hover::after,
  .nav a:focus-visible::after {
    transform: translateX(4px);
  }

  .nav a.active,
  .nav a[aria-current="page"] {
    color: var(--forest);
    font-weight: 600;
  }

  .nav a.active::before,
  .nav a[aria-current="page"]::before {
    background: var(--leaf);
    box-shadow: 0 0 0 5px rgba(134,181,63,.15);
  }
}

@media (max-width: 520px) {
  .menu-toggle,
  .commerce-link,
  .icon-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }

  .nav,
  .nav.open {
    padding-top: 24px !important;
  }

  .nav a {
    min-height: 56px;
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav.open,
  .menu-icon span,
  .skip-link {
    transition: none !important;
  }
}

#main-content:focus { outline: none; }

@media (max-width: 1050px) {
  body.menu-open .site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
  }
}
