/*
  Nile Frozen Store — original Arabic RTL e-commerce UI
  Pure CSS, no UI framework.
*/

:root {
  --green-950: #18362d;
  --green-900: #24493b;
  --green-850: #2b5142;
  --green-800: #315b49;
  --green-700: #48705e;
  --green-600: #658573;
  --sage-500: #839b8b;
  --sage-400: #9eb0a4;
  --sage-300: #becbc2;
  --sage-200: #dce4de;
  --sage-100: #eef2ef;
  --cream-50: #fdfcf9;
  --cream-100: #f8f6f0;
  --cream-200: #efede5;
  --paper: #fbfaf7;
  --white: #ffffff;
  --ink: #202c27;
  --ink-soft: #46534d;
  --muted: #717c76;
  --line: #dfe4df;
  --line-strong: #cbd4cd;
  --sale: #a65d48;
  --sale-soft: #f7ebe7;
  --gold: #bf9258;
  --warning: #b87a2e;
  --warning-soft: #fff6df;
  --success: #39785d;
  --success-soft: #e7f3ec;
  --danger: #b44d4d;
  --danger-soft: #faeaea;
  --shadow-xs: 0 1px 2px rgba(25, 54, 45, .06);
  --shadow-sm: 0 8px 24px rgba(25, 54, 45, .08);
  --shadow-md: 0 18px 50px rgba(25, 54, 45, .12);
  --shadow-lg: 0 28px 80px rgba(25, 54, 45, .16);
  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1280px;
  --header-height: 126px;
  --transition: 260ms cubic-bezier(.2, .7, .2, 1);
  --transition-slow: 600ms cubic-bezier(.16, 1, .3, 1);
  --font-ui: "Cairo", Tahoma, Arial, sans-serif;
  --font-display: "Noto Naskh Arabic", "Cairo", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--sage-400) var(--cream-100);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(251, 250, 247, .95), rgba(251, 250, 247, .95)),
    url("../images/paper-texture.webp") repeat;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--green-700);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--cream-100);
}

::-webkit-scrollbar-thumb {
  background: var(--sage-400);
  border: 2px solid var(--cream-100);
  border-radius: 999px;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
}

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

.mobile-only {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(72, 112, 94, .28);
  outline-offset: 3px;
}

/* Loader */
.page-loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--cream-50);
  opacity: 1;
  visibility: visible;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.loader-mark img {
  width: auto;
  height: 72px;
  max-width: 180px;
  animation: loaderFloat 1.4s ease-in-out infinite;
}

.loader-mark span {
  width: 86px;
  height: 2px;
  overflow: hidden;
  background: var(--sage-200);
  border-radius: 999px;
  position: relative;
}

.loader-mark span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-700);
  transform: translateX(100%);
  animation: loaderLine 1.2s ease-in-out infinite;
}

@keyframes loaderFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

@keyframes loaderLine {
  0% {
    transform: translateX(100%);
  }

  50% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Header */
.site-header {
  position: sticky;
  z-index: 800;
  inset-block-start: 0;
  background: rgba(253, 252, 249, .94);
  border-bottom: 1px solid rgba(203, 212, 205, .72);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transition: box-shadow var(--transition), transform var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(24, 54, 45, .09);
}

.announcement-bar {
  color: rgba(255, 255, 255, .9);
  background: var(--green-900);
  font-size: 11px;
  letter-spacing: .02em;
}

.announcement-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.announcement-inner p {
  margin: 0;
}

.announcement-message {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.announcement-message svg {
  width: 16px;
  height: 16px;
}

.announcement-meta {
  color: rgba(255, 255, 255, .68);
}

.main-header {
  background: rgba(253, 252, 249, .82);
}

.header-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
}

.header-search {
  justify-self: start;
  width: min(100%, 350px);
  position: relative;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-form input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 48px;
  color: var(--ink);
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.search-form input::placeholder {
  color: #929b96;
}

.search-form input:focus {
  background: var(--white);
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(131, 155, 139, .12);
}

.search-form button {
  position: absolute;
  inset-inline-end: 7px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green-800);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.search-form button:hover {
  background: var(--sage-100);
}

.search-form svg {
  width: 18px;
  height: 18px;
}

.search-suggestions {
  position: absolute;
  z-index: 40;
  inset-block-start: calc(100% + 10px);
  inset-inline: 0;
  overflow: hidden;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  animation: popIn 180ms ease both;
}

.search-suggestions[hidden] {
  display: none;
}

.suggestion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px;
  text-align: right;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.suggestion-item:hover {
  background: var(--sage-100);
}

.suggestion-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  background: var(--cream-100);
  border-radius: 9px;
}

.suggestion-item strong {
  display: block;
  font-size: 12px;
}

.suggestion-item small {
  color: var(--muted);
  font-size: 10px;
}

.suggestion-item b {
  color: var(--green-800);
  font-size: 12px;
  white-space: nowrap;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-900);
}

.brand-logo-wrap {
  flex: 0 0 auto;
  width: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  /* background: rgba(255, 255, 255, .9); */
  border: 1px solid rgba(72, 112, 94, .12);
}

.brand-logo-wrap-light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 3px;
  line-height: 1.18;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-light {
  color: var(--white);
  justify-self: start;
}

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, .72);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.icon-button:hover {
  color: var(--green-900);
  background: var(--sage-100);
}

.icon-button:active {
  transform: scale(.94);
}

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

.cart-count {
  position: absolute;
  inset-block-start: 1px;
  inset-inline-start: 0;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: var(--white);
  background: var(--green-800);
  border: 2px solid var(--cream-50);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  transition: transform 250ms cubic-bezier(.2, 1.7, .4, 1);
}

.cart-count.is-bumping {
  transform: scale(1.35);
}

.desktop-nav {
  border-top: 1px solid rgba(223, 228, 223, .78);
}

.desktop-nav .container {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 48px);
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  inset-block-end: -15px;
  height: 2px;
  background: var(--green-800);
  transition: inset-inline var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--green-900);
}

.desktop-nav a.is-active::after,
.desktop-nav a:hover::after {
  inset-inline: 0;
}

.nav-dot {
  width: 6px;
  height: 6px;
  background: var(--sale);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--sale-soft);
}

/* Common UI */
.app-view {
  min-height: 60vh;
  animation: pageEnter 420ms ease both;
}

.app-view.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section {
  padding-block: clamp(64px, 7vw, 104px);
}

.section-compact {
  padding-block: clamp(42px, 5vw, 72px);
}

.section-muted {
  background: var(--sage-100);
  border-block: 1px solid rgba(203, 212, 205, .5);
}

.section-cream {
  background: var(--cream-100);
}

.section-dark {
  color: var(--white);
  background: var(--green-900);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin-bottom: 8px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  letter-spacing: -.025em;
}

.section-copy {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: gap var(--transition), color var(--transition);
}

.section-link:hover {
  gap: 13px;
  color: var(--green-950);
}

.section-link svg {
  width: 16px;
  height: 16px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.button:active {
  transform: translateY(0) scale(.98);
}

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

.button-primary {
  color: var(--white);
  background: var(--green-800);
  box-shadow: 0 9px 24px rgba(49, 91, 73, .18);
}

.button-primary:hover {
  background: var(--green-950);
  box-shadow: 0 14px 30px rgba(49, 91, 73, .24);
}

.button-secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, .72);
  border-color: var(--green-700);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--green-800);
}

.button-ghost {
  color: var(--green-900);
  background: transparent;
  border-color: var(--line-strong);
}

.button-ghost:hover {
  background: var(--sage-100);
  border-color: var(--sage-500);
}

.button-light {
  color: var(--green-950);
  background: var(--white);
}

.button-light:hover {
  background: var(--cream-100);
}

.button-block {
  width: 100%;
}

.button[disabled] {
  opacity: .48;
  pointer-events: none;
}

.status-pill,
.menu-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.pending {
  color: var(--warning);
  background: var(--warning-soft);
}

.status-pill.success {
  color: var(--success);
  background: var(--success-soft);
}

.status-pill.cancelled {
  color: var(--danger);
  background: var(--danger-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Home hero */
.hero-section {
  position: relative;
  overflow: hidden;
  direction: rtl;
  text-align: right;
  background: var(--sage-100);
  border-bottom: 1px solid var(--line);
}

.hero-slider {
  position: relative;
  min-height: clamp(540px, 65vw, 710px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 900ms ease, visibility 900ms ease, transform 1800ms cubic-bezier(.2, .7, .2, 1);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 246, 242, .02) 0%, rgba(245, 246, 242, .12) 26%, rgba(245, 246, 242, .48) 56%, rgba(245, 246, 242, .86) 78%, #f5f6f2 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  inset-inline-start: 0;
  width: 48%;
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(49, 91, 73, .05) 72% 73%, transparent 73%),
    linear-gradient(45deg, transparent 0 78%, rgba(49, 91, 73, .05) 78% 79%, transparent 79%);
  background-size: 84px 84px;
  opacity: .35;
  pointer-events: none;
}

.hero-slide[data-tone="dark"]::before {
  background: linear-gradient(90deg, rgba(24, 54, 45, .05) 0%, rgba(24, 54, 45, .18) 38%, rgba(24, 54, 45, .9) 72%, var(--green-950) 100%);
}

.hero-slide[data-tone="dark"] .hero-content,
.hero-slide[data-tone="dark"] .hero-content h1,
.hero-slide[data-tone="dark"] .hero-content .eyebrow {
  color: var(--white);
}

.hero-slide[data-tone="dark"] .hero-content {
  background: rgba(21, 44, 36, .62);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.hero-slide[data-tone="dark"] .hero-content p {
  color: rgba(255, 255, 255, .74);
}

.hero-slide[data-tone="dark"] .hero-stat {
  border-color: rgba(255, 255, 255, .22);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-slide:nth-child(2) .hero-media img {
  object-position: center 55%;
}

.hero-slide:nth-child(3) .hero-media img {
  object-position: center 52%;
}

.hero-inner {
  position: relative;
  z-index: 3;
  min-height: clamp(540px, 65vw, 710px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-content {
  width: min(48%, 570px);
  padding: 34px clamp(24px, 2.8vw, 36px) 36px;
  background: rgba(253, 252, 249, .82);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 34px;
  box-shadow: 0 26px 72px rgba(22, 44, 36, .18);
  backdrop-filter: blur(12px);
}

.hero-content .eyebrow {
  color: var(--green-800);
}

.hero-content h1 {
  max-width: 600px;
  margin-bottom: 20px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.hero-content h1 em {
  color: var(--green-700);
  font-style: normal;
}

.hero-content>p {
  max-width: 500px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.85;
}

.hero-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(72, 112, 94, .14);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(22, 44, 36, .08);
}

.hero-brand-chip img {
  width: 78px;
  height: auto;
  display: block;
}

.hero-brand-chip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  color: var(--green-950);
}

.hero-brand-chip small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.hero-slide[data-tone="dark"] .hero-brand-chip {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .12);
}

.hero-slide[data-tone="dark"] .hero-brand-chip strong,
.hero-slide[data-tone="dark"] .hero-brand-chip small {
  color: var(--white);
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-feature-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--green-900);
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(72, 112, 94, .12);
  border-radius: 999px;
}

.hero-slide[data-tone="dark"] .hero-feature-tag {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 22px;
}

.hero-stat {
  min-width: 110px;
  padding-inline-end: 22px;
  border-inline-end: 1px solid var(--line-strong);
}

.hero-stat:last-child {
  padding-inline-end: 0;
  border-inline-end: 0;
}

.hero-stat strong {
  display: block;
  color: inherit;
  font-family: var(--font-display);
  font-size: 22px;
}

.hero-stat small {
  color: var(--muted);
  font-size: 11px;
}

.hero-slide[data-tone="dark"] .hero-stat small {
  color: rgba(255, 255, 255, .56);
}

.hero-discount-badge {
  position: absolute;
  z-index: 4;
  inset-block-start: 88px;
  inset-inline-start: auto;
  inset-inline-end: clamp(28px, 5vw, 84px);
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--white);
  text-align: center;
  background: rgba(49, 91, 73, .92);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(22, 44, 36, .22);
  backdrop-filter: blur(8px);
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero-discount-badge small {
  font-size: 9px;
}

.hero-discount-badge strong {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-9px) rotate(2deg);
  }
}

.hero-controls {
  position: absolute;
  z-index: 6;
  inset-block-end: 34px;
  inset-inline: 0;
}

.hero-controls .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.hero-dots {
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(49, 91, 73, .35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width var(--transition), background var(--transition);
}

.hero-dot.is-active {
  width: 30px;
  background: var(--green-800);
}

.hero-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--green-900);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(49, 91, 73, .18);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition), transform var(--transition);
}

.hero-arrow:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.hero-arrow svg {
  width: 16px;
  height: 16px;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 5;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  min-height: 102px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  border-inline-start: 1px solid var(--line);
}

.trust-item:last-child {
  border-inline-start: 0;
}

.trust-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--sage-100);
  border-radius: 50%;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-item strong {
  display: block;
  color: var(--green-950);
  font-size: 12px;
}

.trust-item small {
  color: var(--muted);
  font-size: 9.5px;
}

/* Promotion cards */
.offer-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.offer-ribbon {
  min-height: 116px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.offer-ribbon:hover {
  transform: translateY(-4px);
  border-color: var(--sage-400);
  box-shadow: var(--shadow-sm);
}

.offer-ribbon.featured {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.offer-ribbon-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.offer-ribbon.featured .offer-ribbon-icon {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
}

.offer-ribbon-icon svg {
  width: 24px;
  height: 24px;
}

.offer-ribbon strong {
  display: block;
  font-size: 13px;
}

.offer-ribbon small {
  color: var(--muted);
  font-size: 10px;
}

.offer-ribbon.featured small {
  color: rgba(255, 255, 255, .65);
}

.offer-ribbon>svg {
  width: 17px;
  color: var(--green-700);
}

.offer-ribbon.featured>svg {
  color: var(--white);
}

/* Categories */
.category-scroller {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  min-width: 0;
  text-align: center;
  cursor: pointer;
}

.category-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 15px;
  background: var(--sage-100);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform var(--transition-slow), box-shadow var(--transition), border-color var(--transition);
}

.category-image-wrap::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  pointer-events: none;
}

.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.category-card:hover .category-image-wrap {
  transform: translateY(-6px);
  border-color: var(--sage-500);
  box-shadow: 0 16px 34px rgba(25, 54, 45, .12);
}

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

.category-card strong {
  display: block;
  color: var(--green-950);
  font-size: 12px;
}

.category-card small {
  color: var(--muted);
  font-size: 9px;
}

/* Deals */
.deals-layout {
  display: grid;
  grid-template-columns: minmax(300px, .83fr) minmax(0, 1.7fr);
  gap: 24px;
}

.deal-feature {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
  background: var(--green-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.deal-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 34px;
  opacity: .72;
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}

.deal-feature:hover img {
  transform: scale(1.04);
}

.deal-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 54, 45, .04), rgba(24, 54, 45, .93) 82%);
}

.deal-feature-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.deal-feature .eyebrow {
  color: rgba(255, 255, 255, .85);
}

.deal-feature h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 40px;
}

.deal-feature p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  direction: ltr;
}

.countdown-box {
  min-height: 63px;
  display: grid;
  place-items: center;
  align-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.countdown-box strong {
  font-size: 20px;
  line-height: 1.1;
}

.countdown-box small {
  color: rgba(255, 255, 255, .56);
  font-size: 8px;
  direction: rtl;
}

.deal-product-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.deal-product-panel .product-grid {
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-slow), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: var(--sage-400);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / .92;
  background: var(--cream-100);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(14px, 2vw, 24px);
  transition: transform 850ms cubic-bezier(.16, 1, .3, 1), filter var(--transition);
}

.product-card:hover .product-media img {
  transform: scale(1.055);
}

.product-badges {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.product-badge {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  color: var(--white);
  background: var(--green-800);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(24, 54, 45, .14);
}

.product-badge.sale {
  background: var(--sale);
}

.product-badge.flash {
  background: #8c5938;
}

.favorite-button {
  position: absolute;
  z-index: 3;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.favorite-button:hover,
.favorite-button.is-active {
  color: var(--sale);
  background: var(--white);
  transform: scale(1.07);
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.favorite-button svg {
  width: 17px;
  height: 17px;
}

.quick-view-button {
  position: absolute;
  z-index: 3;
  inset-inline: 12px;
  inset-block-end: 12px;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--green-950);
  background: rgba(255, 255, 255, .92);
  border: 0;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  backdrop-filter: blur(10px);
}

.product-card:hover .quick-view-button,
.quick-view-button:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-button:hover {
  color: var(--white);
  background: var(--green-800);
}

.quick-view-button svg {
  width: 15px;
  height: 15px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.product-category {
  margin-bottom: 5px;
  color: var(--sage-500);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .06em;
}

.product-name {
  margin-bottom: 5px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.product-name a:hover {
  color: var(--green-700);
}

.product-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 9px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 12px;
}

.product-price {
  color: var(--green-950);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.product-old-price {
  color: #9aa29e;
  font-size: 10px;
  text-decoration: line-through;
  white-space: nowrap;
}

.product-minimum {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 8.5px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.add-to-cart {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--white);
  background: var(--green-800);
  border: 0;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.add-to-cart:hover {
  background: var(--green-950);
  box-shadow: 0 9px 20px rgba(49, 91, 73, .18);
  transform: translateY(-1px);
}

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

.product-detail-link {
  min-height: 41px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: background var(--transition), border-color var(--transition);
}

.product-detail-link:hover {
  background: var(--sage-100);
  border-color: var(--sage-400);
}

.product-detail-link svg {
  width: 17px;
  height: 17px;
}

/* Editorial promo grid */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  gap: 20px;
}

.editorial-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.editorial-card.large {
  grid-row: 1 / span 2;
  min-height: 590px;
}

.editorial-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 34px;
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.editorial-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(24, 54, 45, .82) 100%);
}

.editorial-card:hover img {
  transform: scale(1.05);
}

.editorial-card-content {
  max-width: 430px;
}

.editorial-card .eyebrow {
  color: rgba(255, 255, 255, .82);
}

.editorial-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
}

.editorial-card:not(.large) h3 {
  font-size: 32px;
}

.editorial-card p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .74);
  font-size: 12px;
}

/* How it works */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid::before {
  content: "";
  position: absolute;
  inset-block-start: 34px;
  inset-inline: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-300) 12% 88%, transparent);
}

.process-card {
  position: relative;
  z-index: 1;
  padding: 0 22px;
  text-align: center;
}

.process-number {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--white);
  background: var(--green-800);
  border: 8px solid var(--cream-50);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--sage-300);
  font-family: var(--font-display);
  font-size: 22px;
}

.process-card h3 {
  margin-bottom: 7px;
  color: var(--green-950);
  font-size: 13px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10.5px;
}

/* Business banner */
.business-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .85fr;
  min-height: 420px;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.business-content {
  align-self: center;
  padding: clamp(38px, 6vw, 76px);
}

.business-content .eyebrow {
  color: rgba(255, 255, 255, .82);
}

.business-content h2 {
  max-width: 560px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
}

.business-content p {
  max-width: 580px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.business-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 30px;
}

.business-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

.business-list svg {
  width: 16px;
  height: 16px;
  color: var(--sage-300);
}

.business-media {
  position: relative;
  min-height: 380px;
}

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

.business-media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--green-900), transparent 38%);
}

/* Page headers */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: var(--sage-100);
  border-bottom: 1px solid var(--line);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(49, 91, 73, .08);
  border-radius: 50%;
}

.page-hero::before {
  inset-block-start: -180px;
  inset-inline-start: 10%;
}

.page-hero::after {
  inset-block-end: -220px;
  inset-inline-end: 8%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: 62px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 9px;
}

.breadcrumbs a:hover {
  color: var(--green-800);
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.page-hero h1 {
  margin-bottom: 10px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 70px);
}

.page-hero p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Products page */
.shop-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
}

.filter-sidebar {
  align-self: start;
  position: sticky;
  inset-block-start: 154px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-head h3 {
  margin: 0;
  font-size: 14px;
}

.filter-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-filter-close {
  display: none;
}

.filter-reset {
  padding: 0;
  color: var(--green-700);
  background: transparent;
  border: 0;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.filter-group {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-child {
  border-bottom: 0;
}

.filter-group h4 {
  margin-bottom: 12px;
  color: var(--green-950);
  font-size: 11px;
}

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

.check-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 10px;
  cursor: pointer;
}

.check-option span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--green-800);
}

.check-option b {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
}

.price-range {
  width: 100%;
  accent-color: var(--green-800);
}

.price-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
}

.shop-main {
  min-width: 0;
}

.shop-toolbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.shop-count {
  color: var(--muted);
  font-size: 10px;
}

.shop-count strong {
  color: var(--green-950);
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 9px;
}

.sort-control select {
  min-width: 150px;
  height: 36px;
  padding-inline: 12px 32px;
  color: var(--ink);
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
}

.mobile-filter-trigger {
  display: none;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  color: var(--green-800);
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: 999px;
  font-size: 9px;
  cursor: pointer;
}

.filter-chip svg {
  width: 12px;
  height: 12px;
}

.empty-results {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
  background: var(--cream-100);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.empty-results svg {
  width: 48px;
  height: 48px;
  color: var(--sage-500);
}

.empty-results h3 {
  margin: 0;
  font-size: 16px;
}

.empty-results p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

/* Categories page */
.category-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-lg);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(24, 54, 45, .92));
}

.category-tile:hover img {
  transform: scale(1.06);
}

.category-tile-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.category-tile h2 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 34px;
}

.category-tile p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .65);
  font-size: 10px;
}

.category-tile .section-link {
  color: var(--white);
}

/* Offers page */
.offer-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.offer-big-card,
.offer-small-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius-lg);
}

.offer-big-card {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.offer-big-card img,
.offer-small-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

.offer-big-card::after,
.offer-small-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 54, 45, .05), rgba(24, 54, 45, .9));
}

.offer-big-card:hover img,
.offer-small-card:hover img {
  transform: scale(1.05);
}

.offer-card-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.offer-card-content h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 48px;
}

.offer-card-content p {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.offer-side-stack {
  display: grid;
  gap: 22px;
}

.offer-small-card {
  min-height: 249px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
}

.offer-small-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 30px;
}

.offer-small-card p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
}

.coupon-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--sage-100);
  border: 1px dashed var(--sage-500);
  border-radius: var(--radius-md);
}

.coupon-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--green-800);
  background: var(--white);
  border-radius: 50%;
}

.coupon-icon svg {
  width: 25px;
  height: 25px;
}

.coupon-strip h3 {
  margin-bottom: 2px;
  color: var(--green-950);
  font-size: 14px;
}

.coupon-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 10px;
}

.coupon-code {
  min-width: 145px;
  padding: 11px 18px;
  color: var(--green-900);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  cursor: pointer;
}

/* Product detail page */
.product-detail-section {
  padding-block: 48px 88px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
}

.gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(24px, 4vw, 52px);
  transition: transform 700ms ease;
}

.gallery-main:hover img {
  transform: scale(1.04);
}

.product-detail-info {
  position: sticky;
  inset-block-start: 160px;
}

.product-detail-category {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.product-detail-info h1 {
  margin-block: 8px 10px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.08;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.rating-row small {
  color: var(--muted);
  font-size: 9px;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-price {
  color: var(--green-950);
  font-size: 26px;
  font-weight: 800;
}

.detail-old-price {
  color: #9ca4a0;
  font-size: 13px;
  text-decoration: line-through;
}

.detail-saving {
  padding: 3px 9px;
  color: var(--sale);
  background: var(--sale-soft);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.product-description {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.detail-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-sm);
}

.detail-fact svg {
  width: 20px;
  height: 20px;
  color: var(--green-700);
}

.detail-fact strong {
  display: block;
  font-size: 10px;
}

.detail-fact small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.variation-group {
  margin-bottom: 22px;
}

.variation-group label,
.quantity-label {
  display: block;
  margin-bottom: 9px;
  color: var(--green-950);
  font-size: 10px;
  font-weight: 800;
}

.variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variation-option {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.variation-option.is-active,
.variation-option:hover {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.product-purchase-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.quantity-control {
  min-height: 48px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

.quantity-control button {
  height: 100%;
  padding: 0;
  color: var(--green-800);
  background: var(--cream-100);
  border: 0;
  cursor: pointer;
  transition: background var(--transition);
}

.quantity-control button:hover {
  background: var(--sage-100);
}

.quantity-control span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.minimum-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
}

.minimum-note svg {
  width: 15px;
  height: 15px;
  color: var(--green-700);
}

.detail-accordion {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.detail-accordion details {
  border-bottom: 1px solid var(--line);
}

.detail-accordion summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 700;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: "+";
  color: var(--green-700);
  font-size: 18px;
  font-weight: 400;
}

.detail-accordion details[open] summary::after {
  content: "−";
}

.detail-accordion p,
.detail-accordion ul {
  margin-block: -2px 18px;
  color: var(--muted);
  font-size: 10px;
}

/* Cart drawer + full cart */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  z-index: 1100;
  inset: 0;
  background: rgba(19, 39, 32, .48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}

.drawer-backdrop.is-visible,
.modal-backdrop.is-visible {
  opacity: 1;
}

.side-drawer {
  position: fixed;
  z-index: 1200;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(440px, 94vw);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform var(--transition-slow), visibility var(--transition-slow);
}

.side-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.drawer-header .eyebrow {
  margin-bottom: 2px;
}

.drawer-header h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 28px;
}

.drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.cart-empty {
  min-height: 60vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 13px;
  padding: 40px;
  text-align: center;
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--sage-100);
  border-radius: 50%;
}

.cart-empty-icon svg {
  width: 34px;
  height: 34px;
}

.cart-empty h3 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 28px;
}

.cart-empty p {
  max-width: 280px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
}

.cart-items {
  padding: 18px 22px 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 13px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 82px;
  height: 82px;
  object-fit: contain;
  padding: 7px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
}

.cart-item-info {
  min-width: 0;
}

.cart-item-info h4 {
  margin-bottom: 3px;
  color: var(--green-950);
  font-size: 11px;
}

.cart-item-info>small {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 8.5px;
}

.cart-item-price {
  color: var(--green-900);
  font-size: 11px;
  font-weight: 800;
}

.cart-item .quantity-control {
  width: 108px;
  min-height: 32px;
  grid-template-columns: 30px 1fr 30px;
  margin-top: 8px;
}

.cart-item-remove {
  align-self: start;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.cart-item-remove:hover {
  color: var(--danger);
  background: var(--danger-soft);
}

.cart-item-remove svg {
  width: 15px;
  height: 15px;
}

.delivery-progress {
  margin: 8px 22px 18px;
  padding: 14px;
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-sm);
}

.delivery-progress-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--green-900);
  font-size: 9px;
}

.delivery-progress-head svg {
  width: 17px;
  height: 17px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: var(--white);
  border-radius: 999px;
}

.progress-fill {
  width: 0;
  height: 100%;
  background: var(--green-700);
  border-radius: inherit;
  transition: width 700ms cubic-bezier(.16, 1, .3, 1);
}

.cart-summary {
  margin-top: auto;
  padding: 18px 22px calc(22px + env(safe-area-inset-bottom));
  background: var(--cream-50);
  border-top: 1px solid var(--line);
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 16px;
}

.coupon-row input {
  min-width: 0;
  height: 42px;
  padding-inline: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  outline: none;
}

.coupon-row button {
  min-width: 70px;
  color: var(--white);
  background: var(--green-700);
  border: 0;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.summary-lines {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
}

.summary-line.discount {
  color: var(--success);
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--green-950);
  font-size: 13px;
  font-weight: 800;
}

.summary-total strong {
  font-size: 19px;
}

.assisted-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.6;
}

.assisted-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--green-700);
}

.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  gap: 28px;
  align-items: start;
}

.cart-page-items,
.cart-page-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.cart-page-items {
  padding: 8px 24px;
}

.cart-page-summary {
  position: sticky;
  inset-block-start: 160px;
  padding: 24px;
}

.cart-page-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 130px 100px 36px;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-page-row:last-child {
  border-bottom: 0;
}

.cart-page-row img {
  width: 110px;
  height: 96px;
  object-fit: contain;
  padding: 8px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
}

.cart-page-product h3 {
  margin-bottom: 3px;
  font-size: 12px;
}

.cart-page-product small {
  color: var(--muted);
  font-size: 9px;
}

.cart-page-price {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Checkout */
.checkout-section {
  padding-block: 48px 90px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 30px;
  align-items: start;
}

.checkout-main,
.checkout-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.checkout-main {
  padding: clamp(24px, 4vw, 40px);
}

.checkout-summary {
  position: sticky;
  inset-block-start: 160px;
  padding: 24px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.checkout-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.checkout-step::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: transparent;
}

.checkout-step.is-active {
  color: var(--green-900);
}

.checkout-step.is-active::after {
  background: var(--green-800);
}

.checkout-step span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--sage-400);
  border-radius: 50%;
  font-size: 9px;
}

.checkout-step.is-active span {
  background: var(--green-800);
}

.form-section {
  margin-bottom: 32px;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.form-section-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--sage-100);
  border-radius: 50%;
}

.form-section-icon svg {
  width: 19px;
  height: 19px;
}

.form-section-head h2 {
  margin-bottom: 2px;
  color: var(--green-950);
  font-size: 15px;
}

.form-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 9px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

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

.field label {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 700;
}

.field label span {
  color: var(--sale);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding-inline: 13px;
  color: var(--ink);
  background: var(--cream-50);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field textarea {
  min-height: 100px;
  padding-block: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--sage-500);
  box-shadow: 0 0 0 4px rgba(131, 155, 139, .12);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(180, 77, 77, .09);
}

.field-error {
  color: var(--danger);
  font-size: 8px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--cream-50);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage-500);
}

.choice-card.is-selected {
  background: var(--sage-100);
  border-color: var(--green-700);
}

.choice-card input {
  position: absolute;
  opacity: 0;
}

.choice-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--white);
  border-radius: 50%;
}

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

.choice-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
}

.choice-card small {
  color: var(--muted);
  font-size: 8px;
}

.checkout-notice {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  color: var(--green-900);
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-sm);
}

.checkout-notice svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.checkout-notice strong {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
}

.checkout-notice p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 8.5px;
}

.checkout-product-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-product {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 10px;
}

.checkout-product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 4px;
  background: var(--cream-100);
  border-radius: 8px;
}

.checkout-product h4 {
  margin-bottom: 2px;
  font-size: 9.5px;
}

.checkout-product small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.checkout-product b {
  font-size: 9.5px;
  white-space: nowrap;
}

.order-success {
  min-height: 530px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.success-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  box-shadow: 0 0 0 12px var(--success-soft);
  animation: successPop 700ms cubic-bezier(.2, 1.6, .4, 1) both;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

@keyframes successPop {
  from {
    transform: scale(.4) rotate(-15deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.order-success h1 {
  margin: 12px 0 0;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 46px;
}

.order-success p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.order-number {
  padding: 10px 18px;
  color: var(--green-900);
  background: var(--sage-100);
  border: 1px dashed var(--sage-500);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

/* Account & OTP */
.auth-layout {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.auth-media {
  position: relative;
  min-height: 620px;
  color: var(--white);
}

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

.auth-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 54, 45, .08), rgba(24, 54, 45, .92));
}

.auth-media-content {
  position: absolute;
  z-index: 1;
  inset-inline: 38px;
  inset-block-end: 38px;
}

.auth-media h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 42px;
}

.auth-media p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: clamp(34px, 6vw, 72px);
}

.auth-box {
  width: min(100%, 420px);
}

.auth-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--green-800);
  background: var(--sage-100);
  border-radius: 50%;
}

.auth-icon svg {
  width: 27px;
  height: 27px;
}

.auth-box h1 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 42px;
}

.auth-box>p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 10.5px;
}

.phone-field {
  position: relative;
}

.phone-field .prefix {
  position: absolute;
  inset-block: 1px;
  inset-inline-end: 1px;
  min-width: 62px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--cream-100);
  border-inline-start: 1px solid var(--line);
  border-radius: 0 4px 4px 0;
  direction: ltr;
  font-size: 10px;
}

.phone-field input {
  padding-inline-end: 76px;
  direction: ltr;
  text-align: left;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  direction: ltr;
  margin-bottom: 18px;
}

.otp-input {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  color: var(--green-950);
  background: var(--cream-50);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  outline: none;
  font-size: 18px;
  font-weight: 800;
}

.otp-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(131, 155, 139, .12);
}

.demo-code {
  margin-bottom: 15px;
  padding: 10px 12px;
  color: var(--warning);
  background: var(--warning-soft);
  border-radius: 5px;
  font-size: 9px;
}

.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
}

.account-sidebar {
  align-self: start;
  position: sticky;
  inset-block-start: 160px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.account-profile {
  padding: 24px;
  text-align: center;
  background: var(--sage-100);
  border-bottom: 1px solid var(--line);
}

.account-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 24px;
}

.account-profile strong {
  display: block;
  font-size: 12px;
}

.account-profile small {
  color: var(--muted);
  font-size: 8.5px;
  direction: ltr;
}

.account-nav {
  display: grid;
  padding: 10px;
}

.account-nav button {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  text-align: right;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 10px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.account-nav button svg {
  width: 17px;
  height: 17px;
}

.account-nav button svg:last-child {
  width: 13px;
  height: 13px;
}

.account-nav button:hover,
.account-nav button.is-active {
  color: var(--green-900);
  background: var(--sage-100);
}

.account-nav button.logout {
  color: var(--danger);
}

.account-content {
  min-width: 0;
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.account-header h1 {
  margin-bottom: 3px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 38px;
}

.account-header p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.account-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.account-stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--sage-100);
  border-radius: 50%;
}

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

.account-stat strong {
  display: block;
  color: var(--green-950);
  font-size: 16px;
}

.account-stat small {
  color: var(--muted);
  font-size: 8px;
}

.order-card {
  margin-bottom: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.order-card-head h3 {
  margin-bottom: 3px;
  font-size: 13px;
}

.order-card-head small {
  color: var(--muted);
  font-size: 8.5px;
}

.order-card-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-block: 16px;
}

.order-meta-item span {
  display: block;
  color: var(--muted);
  font-size: 8px;
}

.order-meta-item strong {
  font-size: 10px;
}

.order-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 12px;
}

.order-timeline::before {
  content: "";
  position: absolute;
  inset-block-start: 23px;
  inset-inline: 9%;
  height: 2px;
  background: var(--line);
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.timeline-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  color: var(--white);
  background: var(--line-strong);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.timeline-step.is-complete .timeline-dot,
.timeline-step.is-current .timeline-dot {
  background: var(--green-700);
  box-shadow: 0 0 0 1px var(--green-700);
}

.timeline-step.is-current .timeline-dot {
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 1px var(--green-700), 0 0 0 0 rgba(72, 112, 94, .25);
  }

  50% {
    box-shadow: 0 0 0 1px var(--green-700), 0 0 0 8px rgba(72, 112, 94, 0);
  }
}

.timeline-step strong {
  display: block;
  font-size: 8px;
}

.timeline-step small {
  color: var(--muted);
  font-size: 7px;
}

.profile-form-card,
.address-card,
.account-table-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* Track order */
.track-shell {
  display: grid;
  grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr);
  gap: 26px;
  align-items: start;
}

.track-form-card,
.track-result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.track-form-card {
  padding: 28px;
}

.track-form-card h2 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 34px;
}

.track-form-card>p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
}

.track-result-card {
  min-height: 450px;
  padding: 28px;
}

.track-placeholder {
  min-height: 390px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.track-placeholder svg {
  width: 60px;
  height: 60px;
  color: var(--sage-500);
}

.track-placeholder h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 15px;
}

.track-placeholder p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  font-size: 9.5px;
}

.track-order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.track-order-head h3 {
  margin-bottom: 2px;
  font-size: 14px;
}

.track-order-head small {
  color: var(--muted);
  font-size: 8px;
}

.track-large-timeline {
  display: grid;
  gap: 0;
  margin-block: 24px;
}

.track-large-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 13px;
  min-height: 72px;
}

.track-large-step::before {
  content: "";
  position: absolute;
  inset-block-start: 28px;
  inset-block-end: 0;
  inset-inline-start: 16px;
  width: 2px;
  background: var(--line);
}

.track-large-step:last-child::before {
  display: none;
}

.track-large-step.is-complete::before {
  background: var(--green-700);
}

.track-large-dot {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--cream-100);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.track-large-step.is-complete .track-large-dot,
.track-large-step.is-current .track-large-dot {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

.track-large-dot svg {
  width: 16px;
  height: 16px;
}

.track-large-step h4 {
  margin-bottom: 2px;
  font-size: 10.5px;
}

.track-large-step p {
  margin: 0;
  color: var(--muted);
  font-size: 8.5px;
}

.track-large-step time {
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}

/* About/contact */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px -28px -28px 28px;
  border: 1px solid var(--sage-400);
  border-radius: var(--radius-lg);
}

.about-copy h2 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 62px);
}

.about-copy p {
  color: var(--muted);
  font-size: 12px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.value-card {
  padding: 18px;
  background: var(--sage-100);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-sm);
}

.value-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: 9px;
  color: var(--green-700);
}

.value-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
}

.value-card small {
  color: var(--muted);
  font-size: 8.5px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
}

.contact-info,
.contact-form-card {
  padding: clamp(26px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-info {
  color: var(--white);
  background: var(--green-900);
  border-color: var(--green-900);
}

.contact-info .eyebrow {
  color: rgba(255, 255, 255, .78);
}

.contact-info h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 42px;
}

.contact-info>p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .65);
  font-size: 10.5px;
}

.contact-methods {
  display: grid;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
}

.contact-method-icon svg {
  width: 19px;
  height: 19px;
}

.contact-method strong {
  display: block;
  font-size: 10px;
}

.contact-method small {
  color: rgba(255, 255, 255, .6);
  font-size: 8.5px;
  direction: ltr;
}

.contact-form-card h2 {
  margin-bottom: 6px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 38px;
}

.contact-form-card>p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
}

/* Modal */
.modal {
  position: fixed;
  z-index: 1300;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: min(960px, calc(100vw - 40px));
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(.97);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition-slow);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 4;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  color: var(--green-900);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-sm);
}

.quick-view-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.quick-view-media {
  min-height: 540px;
  background: var(--cream-100);
}

.quick-view-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(24px, 4vw, 50px);
}

.quick-view-info {
  align-self: center;
  padding: 46px;
}

.quick-view-info h2 {
  margin-bottom: 8px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 44px;
}

.quick-view-info p {
  color: var(--muted);
  font-size: 11px;
}

/* Toast */
.toast-region {
  position: fixed;
  z-index: 1600;
  inset-block-start: 22px;
  inset-inline-start: 22px;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  width: min(360px, calc(100vw - 44px));
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  animation: toastIn 420ms cubic-bezier(.16, 1, .3, 1) both;
}

.toast.is-leaving {
  animation: toastOut 260ms ease both;
}

.toast-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--success);
  background: var(--success-soft);
  border-radius: 50%;
}

.toast-icon.error {
  color: var(--danger);
  background: var(--danger-soft);
}

.toast-icon svg {
  width: 18px;
  height: 18px;
}

.toast strong {
  display: block;
  font-size: 10px;
}

.toast small {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
}

.toast-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.toast-close svg {
  width: 13px;
  height: 13px;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-24px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(-18px) scale(.97);
  }
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, .78);
  background: var(--green-950);
  padding-bottom: 0;
}

.footer-newsletter {
  color: var(--ink);
  background: var(--sage-100);
  border-top: 1px solid var(--line);
}

.newsletter-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr minmax(380px, .7fr);
  align-items: center;
  gap: 42px;
}

.newsletter-inner h2 {
  margin-bottom: 5px;
  color: var(--green-950);
  font-family: var(--font-display);
  font-size: 36px;
}

.newsletter-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
  height: 48px;
  padding-inline: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  outline: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
  padding-block: 70px 48px;
}

.footer-grid h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 11px;
}

.footer-grid>div:not(.footer-brand)>a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .58);
  font-size: 9.5px;
  transition: color var(--transition), transform var(--transition);
}

.footer-grid>div:not(.footer-brand)>a:hover {
  color: var(--white);
  transform: translateX(-3px);
}

.footer-brand>p {
  max-width: 400px;
  margin-block: 20px;
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
}

.social-row {
  display: flex;
  gap: 8px;
}

.social-row a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  transition: background var(--transition), transform var(--transition);
}

.social-row a:hover {
  background: var(--green-700);
  transform: translateY(-3px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 9.5px;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  color: var(--sage-300);
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .4);
  font-size: 8.5px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

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

.noscript-message {
  position: fixed;
  z-index: 3000;
  inset-inline: 12px;
  inset-block-start: 12px;
  padding: 16px;
  color: var(--white);
  text-align: center;
  background: var(--danger);
  border-radius: var(--radius-sm);
}

/* Mobile menu */
.mobile-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(105%);
}

.mobile-menu-links {
  display: grid;
  padding: 16px;
}

.mobile-menu-links a {
  min-height: 52px;
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.mobile-menu-links a>svg:first-child {
  width: 18px;
  color: var(--green-700);
}

.mobile-menu-links a>svg:last-child {
  width: 14px;
  color: var(--muted);
}

.menu-pill {
  color: var(--sale);
  background: var(--sale-soft);
}

.mobile-menu-card {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: auto 20px 24px;
  padding: 14px;
  background: var(--sage-100);
  border-radius: var(--radius-sm);
}

.mobile-menu-card>svg {
  width: 26px;
  color: var(--green-700);
}

.mobile-menu-card strong,
.mobile-menu-card small {
  display: block;
}

.mobile-menu-card strong {
  font-size: 10px;
}

.mobile-menu-card small {
  color: var(--muted);
  font-size: 8px;
}

.mobile-menu-card a {
  color: var(--green-800);
  font-size: 9px;
  font-weight: 800;
}

/* Floating helper */
.floating-help {
  position: fixed;
  z-index: 700;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green-800);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition);
}

.floating-help:hover {
  transform: translateY(-3px);
  background: var(--green-950);
}

.floating-help svg {
  width: 19px;
  height: 19px;
}

/* Responsive */
@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .header-grid {
    grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
  }

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

  .deal-product-panel .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-product-panel .product-card:nth-child(n+5) {
    display: none;
  }

  .category-scroller {
    grid-template-columns: repeat(7, 132px);
    overflow-x: auto;
    padding-block: 6px 16px;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    scroll-snap-align: start;
  }

  .shop-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }

  .cart-page-row {
    grid-template-columns: 90px minmax(0, 1fr) 120px 80px 32px;
  }

  .cart-page-row img {
    width: 90px;
    height: 82px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 112px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

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

  .announcement-inner {
    min-height: 30px;
    justify-content: center;
  }

  .announcement-message {
    font-size: 9px;
  }

  .main-header {
    padding-block: 7px 10px;
  }

  .header-grid {
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-logo-wrap {
    width: 72px;
    padding: 4px 6px;
    border-radius: 14px;
  }

  .brand-logo {
    width: 100%;
    height: auto;
  }

  .header-actions {
    justify-self: end;
  }

  .header-actions .icon-button {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-trigger {
    justify-self: start;
  }

  .mobile-search {
    display: block !important;
  }

  .mobile-search .search-form input {
    height: 40px;
    font-size: 11px;
  }

  .hero-slider,
  .hero-inner {
    min-height: 680px;
  }

  .hero-slide::before {
    background: linear-gradient(180deg, rgba(245, 246, 242, .04), rgba(245, 246, 242, .16) 30%, rgba(245, 246, 242, .72) 58%, rgba(245, 246, 242, .96) 78%, #f5f6f2 100%);
  }

  .hero-slide[data-tone="dark"]::before {
    background: linear-gradient(180deg, rgba(24, 54, 45, .08), rgba(24, 54, 45, .22) 34%, rgba(24, 54, 45, .93) 72%, var(--green-950) 100%);
  }

  .hero-media img {
    object-position: center top;
  }

  .hero-slide:nth-child(2) .hero-media img,
  .hero-slide:nth-child(3) .hero-media img {
    object-position: left top;
  }

  .hero-inner {
    align-items: flex-end;
  }

  .hero-content {
    width: 100%;
    max-width: 640px;
    margin: 0 0 82px;
    padding: 22px 18px 24px;
    border-radius: 26px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 8.8vw, 62px);
  }

  .hero-content>p {
    max-width: 580px;
    margin-bottom: 20px;
  }

  .hero-discount-badge {
    inset-block-start: 52px;
    inset-inline-start: auto;
    inset-inline-end: 24px;
    width: 98px;
    height: 98px;
  }

  .hero-discount-badge strong {
    font-size: 29px;
  }

  .hero-controls {
    inset-block-end: 22px;
  }

  .hero-controls .container {
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-inline-start: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .offer-ribbon-grid {
    grid-template-columns: 1fr;
  }

  .deals-layout,
  .business-banner,
  .product-detail-layout,
  .checkout-layout,
  .cart-page-layout,
  .track-shell,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .deal-feature {
    min-height: 440px;
  }

  .deal-product-panel .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deal-product-panel .product-card:nth-child(n+4) {
    display: none;
  }

  .editorial-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .editorial-card.large {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .business-media {
    min-height: 320px;
    order: -1;
  }

  .business-media::before {
    background: linear-gradient(180deg, transparent, var(--green-900));
  }

  .business-content {
    padding-top: 20px;
  }

  .category-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-hero-grid {
    grid-template-columns: 1fr;
  }

  .offer-side-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }

  .mobile-filter-trigger {
    display: inline-flex;
  }

  .product-detail-info,
  .cart-page-summary,
  .checkout-summary,
  .account-sidebar {
    position: static;
  }

  .cart-page-row {
    grid-template-columns: 90px minmax(0, 1fr) 110px 32px;
  }

  .cart-page-row>.cart-page-price {
    display: none;
  }

  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    display: grid;
    grid-template-columns: 220px 1fr;
  }

  .account-profile {
    border-bottom: 0;
    border-inline-end: 1px solid var(--line);
  }

  .account-nav {
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 650px;
    margin-inline: auto;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 32px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }

  .footer-grid>div:last-child {
    grid-column: 2 / -1;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 900;
    inset-inline: 0;
    inset-block-end: 0;
    min-height: calc(66px + env(safe-area-inset-bottom));
    align-items: start;
    justify-content: space-around;
    padding: 7px 8px env(safe-area-inset-bottom);
    background: rgba(253, 252, 249, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(24, 54, 45, .08);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    min-width: 52px;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 4px 6px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: 9px;
  }

  .mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
  }

  .mobile-bottom-nav small {
    font-size: 8px;
  }

  .mobile-bottom-nav a.is-active,
  .mobile-bottom-nav button.is-active {
    color: var(--green-800);
  }

  .mobile-bottom-nav .cart-count {
    inset-block-start: -1px;
    inset-inline-start: 4px;
    border-color: var(--cream-50);
  }

  .floating-help {
    inset-block-end: calc(82px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: 0;
  }
}

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

  .section-compact {
    padding-block: 38px;
  }

  .section-header {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 38px;
  }

  .hero-slider,
  .hero-inner {
    min-height: 610px;
  }

  .hero-content {
    margin-block-end: 76px;
    padding: 20px 16px 22px;
  }

  .hero-content h1 {
    margin-bottom: 12px;
    font-size: 46px;
  }

  .hero-content>p {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat {
    min-width: 90px;
    padding-inline-end: 12px;
  }

  .hero-stat strong {
    font-size: 20px;
  }

  .hero-stat small {
    font-size: 8px;
  }

  .hero-discount-badge {
    inset-block-start: 38px;
    inset-inline-start: auto;
    inset-inline-end: 18px;
    width: 92px;
    height: 92px;
  }

  .hero-discount-badge strong {
    font-size: 26px;
  }

  .trust-item {
    justify-content: flex-start;
    padding: 16px 12px;
  }

  .trust-icon {
    width: 38px;
    height: 38px;
  }

  .trust-item strong {
    font-size: 10px;
  }

  .trust-item small {
    font-size: 8px;
  }

  .product-grid,
  .deal-product-panel .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .deal-product-panel .product-card:nth-child(n+4) {
    display: flex;
  }

  .deal-product-panel .product-card:nth-child(n+5) {
    display: none;
  }

  .product-info {
    padding: 12px;
  }

  .product-media {
    aspect-ratio: 1;
  }

  .product-name {
    font-size: 11px;
  }

  .product-price {
    font-size: 13px;
  }

  .product-old-price,
  .product-minimum {
    font-size: 7.5px;
  }

  .product-card-actions {
    grid-template-columns: 1fr 36px;
  }

  .add-to-cart,
  .product-detail-link {
    min-height: 37px;
  }

  .quick-view-button {
    display: none;
  }

  .favorite-button {
    width: 32px;
    height: 32px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card.large,
  .editorial-card {
    grid-column: auto;
    min-height: 360px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
  }

  .process-grid::before {
    display: none;
  }

  .page-hero {
    min-height: 230px;
  }

  .page-hero-content {
    padding-block: 46px;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .category-page-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 340px;
  }

  .offer-side-stack {
    grid-template-columns: 1fr;
  }

  .offer-big-card {
    min-height: 440px;
    padding: 28px;
  }

  .offer-card-content h2 {
    font-size: 38px;
  }

  .coupon-strip {
    grid-template-columns: auto 1fr;
  }

  .coupon-code {
    grid-column: 1 / -1;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    order: 2;
    grid-template-columns: repeat(4, 70px);
    overflow-x: auto;
  }

  .product-detail-info h1 {
    font-size: 44px;
  }

  .product-purchase-row {
    grid-template-columns: 110px 1fr;
  }

  .cart-page-items {
    padding: 4px 16px;
  }

  .cart-page-row {
    grid-template-columns: 76px minmax(0, 1fr) 32px;
    gap: 12px;
  }

  .cart-page-row img {
    width: 76px;
    height: 76px;
  }

  .cart-page-row .quantity-control,
  .cart-page-row>.cart-page-price {
    display: none;
  }

  .checkout-main {
    padding: 22px 16px;
  }

  .checkout-steps {
    gap: 8px;
  }

  .checkout-step {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
    font-size: 7.5px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-media {
    display: none;
  }

  .auth-panel {
    min-height: 560px;
    padding: 30px 20px;
  }

  .account-sidebar {
    grid-template-columns: 1fr;
  }

  .account-profile {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .account-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px;
  }

  .account-nav button {
    min-width: 135px;
    grid-template-columns: 20px 1fr;
  }

  .account-nav button svg:last-child {
    display: none;
  }

  .account-stat-grid {
    grid-template-columns: 1fr;
  }

  .order-card {
    padding: 16px;
  }

  .order-card-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 4px;
  }

  .order-timeline::before {
    inset-block: 15px 15px;
    inset-inline-start: 10px;
    width: 2px;
    height: auto;
  }

  .timeline-step {
    min-height: 54px;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    text-align: right;
  }

  .timeline-dot {
    margin: 0;
  }

  .about-media::before {
    inset: 18px -12px -18px 12px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    padding-block: 48px 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid>div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 86px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .quick-view-layout {
    grid-template-columns: 1fr;
  }

  .quick-view-media {
    min-height: 320px;
  }

  .quick-view-info {
    padding: 28px 20px;
  }

  .modal {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .floating-help span {
    display: none;
  }

  .floating-help {
    width: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

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

  .brand-copy strong {
    font-size: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .header-actions .icon-button {
    width: 34px;
    height: 34px;
  }

  .hero-slider,
  .hero-inner {
    min-height: 640px;
  }

  .hero-content {
    margin-block-end: 70px;
    padding: 18px 14px 20px;
  }

  .hero-brand-chip {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(38px, 11vw, 43px);
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 17px;
  }

  .hero-stats {
    display: none;
  }

  .hero-discount-badge {
    width: 82px;
    height: 82px;
  }

  .hero-discount-badge strong {
    font-size: 23px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-link {
    font-size: 9px;
  }

  .trust-icon {
    width: 34px;
    height: 34px;
  }

  .trust-item {
    gap: 8px;
  }

  .trust-item small {
    display: none;
  }

  .offer-ribbon {
    grid-template-columns: 42px 1fr auto;
    padding: 16px;
  }

  .offer-ribbon-icon {
    width: 42px;
    height: 42px;
  }

  .product-grid,
  .deal-product-panel .product-grid {
    gap: 9px;
  }

  .product-info {
    padding: 10px;
  }

  .product-category,
  .product-meta,
  .product-minimum {
    display: none;
  }

  .product-name {
    min-height: 35px;
    font-size: 10px;
  }

  .product-price-row {
    gap: 5px;
    margin-bottom: 9px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-old-price {
    font-size: 7px;
  }

  .add-to-cart {
    padding: 0 7px;
    font-size: 8.5px;
  }

  .product-detail-link {
    display: none;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .product-badge {
    min-height: 22px;
    padding: 1px 7px;
    font-size: 7px;
  }

  .deal-feature {
    min-height: 400px;
    padding: 24px;
  }

  .deal-feature h3 {
    font-size: 34px;
  }

  .countdown-box {
    min-height: 55px;
  }

  .countdown-box strong {
    font-size: 17px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .business-content {
    padding: 28px 20px 36px;
  }

  .business-content h2 {
    font-size: 40px;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .shop-toolbar {
    flex-wrap: wrap;
  }

  .sort-control select {
    min-width: 130px;
  }

  .product-detail-info h1 {
    font-size: 38px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
  }

  .product-purchase-row {
    grid-template-columns: 1fr;
  }

  .order-card-head,
  .track-order-head,
  .account-header {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-card {
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid>div:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* App-specific interaction helpers */
.filter-overlay {
  display: none;
}

.gallery-main img {
  transition: transform 700ms ease, opacity 150ms ease;
}

.cart-count.is-empty {
  opacity: .72;
}

@media (max-width: 960px) {
  .filter-overlay {
    position: fixed;
    z-index: 1005;
    inset: 0;
    display: block;
    padding: 0;
    background: rgba(19, 39, 32, .48);
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity var(--transition), visibility var(--transition);
  }

  .filter-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .filter-sidebar.is-mobile-open {
    position: fixed;
    z-index: 1010;
    inset-block: 0;
    inset-inline-end: 0;
    width: min(340px, 92vw);
    display: block;
    overflow-y: auto;
    padding: 24px;
    border: 0;
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    animation: mobileFilterIn 380ms cubic-bezier(.16, 1, .3, 1) both;
  }

  .mobile-filter-close {
    display: inline-grid;
    width: 34px;
    height: 34px;
  }

  @keyframes mobileFilterIn {
    from {
      transform: translateX(105%);
    }

    to {
      transform: translateX(0);
    }
  }
}

@media (max-width: 960px) {
  .announcement-meta {
    display: none;
  }

  .announcement-message {
    white-space: nowrap;
  }
}

.toast-region {
  inset-inline-start: auto;
  inset-inline-end: 22px;
}

@media (max-width: 720px) {
  .toast-region {
    inset-inline-end: 10px;
    inset-block-start: 10px;
  }
}


@media (max-width: 991px) {
  .hero-brand-chip img {
    width: 66px;
  }

  .hero-feature-tags {
    gap: 6px;
    margin-bottom: 18px;
  }

  .hero-feature-tag {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 10px;
  }
}

/* Native backend offers keep the Glassy demo's translucent visual language. */
.glassy-native-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glassy-native-offer-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .63);
  box-shadow: inset 0 1px rgba(255, 255, 255, .95), var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.glassy-native-offer-visual,
.glassy-offer-detail-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(220, 234, 225, .9), rgba(249, 244, 235, .75));
}

.glassy-native-offer-visual img,
.glassy-offer-detail-media img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(25, 54, 45, .16));
}

.glassy-offer-image-stack { position: relative; display: grid; width: 100%; height: 100%; min-height: 120px; place-items: center; overflow: hidden; }
.glassy-offer-image-stack img { grid-area: 1 / 1; width: 68% !important; height: 68% !important; padding: 0 !important; transform: translate(calc((var(--i) - 1.5) * 15px), calc((var(--i) - 1.5) * -11px)); }
.offer-small-card > .glassy-offer-image-stack { width: 42%; min-width: 150px; height: auto; }

.glassy-offer-symbol,
.glassy-offer-detail-icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--green-800);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-sm);
}

.glassy-offer-symbol svg,
.glassy-offer-detail-icon svg {
  width: 32px;
  height: 32px;
}

.glassy-native-offer-card > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
}

.glassy-native-offer-card span,
.glassy-offer-detail-copy > span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
}

.glassy-native-offer-card h3 {
  margin: 7px 0;
  color: var(--green-950);
}

.glassy-native-offer-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.glassy-native-offer-card strong {
  color: var(--sale);
}

.glassy-offer-card-details { display: grid; gap: 5px; margin: 12px 0 0; padding: 0; color: var(--muted); font-size: 11px; line-height: 1.7; list-style: none; }
.glassy-offer-card-details li::before { content: "•"; margin-inline-end: 6px; color: var(--green-700); font-weight: 900; }

.glassy-native-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.glassy-native-offer-actions :is(a, button) {
  min-height: 38px;
}

.glassy-offer-detail {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .6);
  box-shadow: inset 0 1px #fff, var(--shadow-md);
  backdrop-filter: blur(22px);
}

.glassy-offer-detail-media {
  min-height: 390px;
}

.glassy-offer-detail-icon {
  width: 116px;
  height: 116px;
}

.glassy-offer-detail-icon svg {
  width: 48px;
  height: 48px;
}

.glassy-offer-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
}

.glassy-offer-detail-copy h1 {
  margin: 8px 0 12px;
  color: var(--green-950);
  font: 700 clamp(30px, 4vw, 48px)/1.35 var(--font-display);
}

.glassy-offer-detail-copy p {
  max-width: 650px;
  color: var(--ink-soft);
  line-height: 2;
}

.glassy-offer-detail-copy strong {
  color: var(--sale);
  font-size: 18px;
}

.glassy-offer-conditions {
  width: min(900px, calc(100% - 32px));
  margin: 28px auto 0;
  padding: 26px;
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px #fff;
}

.glassy-offer-conditions h2 {
  margin-top: 0;
}

.glassy-offer-conditions li {
  margin: 7px 0;
  color: var(--ink-soft);
}

@media (max-width: 1050px) {
  .glassy-native-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .glassy-native-offer-grid,
  .glassy-offer-detail {
    grid-template-columns: 1fr;
  }

  .glassy-native-offer-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .glassy-offer-detail-media {
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .glassy-native-offer-card {
    grid-template-columns: 1fr;
  }

  .glassy-native-offer-visual {
    min-height: 170px;
  }
}
