:root {
  --green-950: #00271e;
  --green-900: #003f31;
  --green-850: #004738;
  --green-800: #005443;
  --green-700: #0b6b57;
  --green-600: #23816d;
  --green-100: #dceee8;
  --green-50: #eef7f4;
  --orange-600: #e75d00;
  --orange-500: #ff6b00;
  --orange-400: #ff8533;
  --orange-50: #fff3e9;
  --red-600: #b9380d;
  --red-50: #fff0ea;
  --blue-50: #eaf5fb;
  --blue-500: #2192c5;
  --ink-950: #0b1f19;
  --ink-800: #1b312a;
  --ink-700: #32463f;
  --ink-600: #52645e;
  --ink-500: #75837f;
  --line: #dce4e1;
  --line-strong: #cad5d1;
  --surface: #ffffff;
  --surface-2: #f5f7f6;
  --surface-3: #eef2f1;
  --shadow-sm: 0 6px 18px rgba(0, 45, 34, 0.06);
  --shadow-md: 0 16px 42px rgba(0, 45, 34, 0.11);
  --shadow-lg: 0 28px 80px rgba(0, 35, 27, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1500px;
  --header-height: 142px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-2);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-950);
  background: var(--surface-2);
  font-family: "Almarai", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

::-webkit-scrollbar-track {
  background: var(--surface-3);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--surface-3);
  border-radius: 999px;
  background: #9aaba5;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-700);
}

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

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

button {
  color: inherit;
}

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

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.25);
  outline-offset: 2px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.muted {
  color: var(--ink-500);
}

.text-orange {
  color: var(--orange-500);
}

.desktop-only {
  display: initial;
}

.mobile-only {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: auto auto -80% -30%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transform: scale(0);
  transition: transform .45s var(--ease);
}

.button:hover::after {
  transform: scale(4.2);
}

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

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

.button .icon {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 10px 24px rgba(0, 63, 49, 0.18);
}

.button-primary:hover {
  background: var(--green-800);
  box-shadow: 0 15px 30px rgba(0, 63, 49, 0.25);
}

.button-orange {
  color: #fff;
  background: var(--orange-500);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.22);
}

.button-orange:hover {
  background: var(--orange-600);
  box-shadow: 0 15px 30px rgba(255, 107, 0, 0.28);
}

.button-light {
  color: var(--green-900);
  border-color: var(--line);
  background: #fff;
}

.button-light:hover {
  border-color: var(--green-700);
  background: var(--green-50);
}

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

.button-outline:hover {
  color: #fff;
  background: var(--green-900);
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
}

.button-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-800);
  background: #fff;
  cursor: pointer;
  transition: .25s var(--ease);
}

.icon-button:hover {
  color: #fff;
  border-color: var(--green-900);
  background: var(--green-900);
  transform: translateY(-2px);
}

.page-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}

.page-loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-900);
  animation: loaderPulse .8s ease-in-out infinite alternate;
}

.page-loader span:nth-child(2) {
  animation-delay: .14s;
  background: var(--orange-500);
}

.page-loader span:nth-child(3) {
  animation-delay: .28s;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(204, 215, 211, .78);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 45, 34, .09);
  background: rgba(255, 255, 255, .97);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1;
}

.brand-name {
  color: var(--green-900);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 900;
  letter-spacing: -.8px;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 7px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.brand.inverse .brand-name,
.brand.inverse .brand-subtitle {
  color: #fff;
}

.brand.inverse .brand-subtitle {
  color: rgba(255, 255, 255, .65);
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.header-search:focus-within {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(11, 107, 87, .09);
}

.header-search>.icon {
  margin-inline-start: 16px;
  color: var(--green-900);
}

.header-search input {
  width: 100%;
  height: 100%;
  padding: 0 13px;
  border: 0;
  outline: 0;
  color: var(--ink-950);
  background: transparent;
}

.header-search input::placeholder {
  color: #a1ada9;
}

.header-search kbd {
  margin-inline-end: 10px;
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-500);
  background: var(--surface-2);
  font-family: inherit;
  font-size: 10px;
  direction: ltr;
}

.search-suggestions {
  position: absolute;
  z-index: 50;
  top: calc(100% + 9px);
  inset-inline: 0;
  max-height: 420px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(.99);
  transform-origin: top;
  transition: .22s var(--ease);
}

.search-suggestions.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

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

.search-suggestion-item:hover {
  background: var(--green-50);
}

.search-suggestion-item img {
  width: 54px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.search-suggestion-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

.search-suggestion-item small {
  color: var(--ink-500);
}

.search-suggestion-item .suggestion-price {
  color: var(--green-900);
  font-weight: 800;
  white-space: nowrap;
}

.search-empty {
  padding: 24px;
  color: var(--ink-500);
  text-align: center;
}

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

}

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-800);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: .25s var(--ease);
}

.header-action:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.header-action .icon {
  width: 22px;
  height: 22px;
}

.icon-wrap {
  position: relative;
  display: inline-flex;
}

.action-badge,
.cart-mobile-button b,
.mobile-cart-wrap b {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--orange-500);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.action-badge {
  top: -6px;
  inset-inline-start: -9px;
}

.action-badge.subtle {
  position: static;
  min-width: 19px;
  border: 0;
  color: var(--green-900);
  background: var(--green-100);
}

.category-nav {
  border-top: 1px solid rgba(220, 228, 225, .85);
  background: #fff;
}

.category-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 55px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-inner::-webkit-scrollbar {
  display: none;
}

.category-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: max-content;
  padding: 9px 18px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 600;
  transition: .23s var(--ease);
}

.category-nav a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--green-900);
  transition: .25s var(--ease);
}

.category-nav a:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.category-nav a:hover::after {
  right: 18px;
  left: 18px;
}

.category-nav a .icon {
  width: 18px;
  height: 18px;
}

.category-nav .nav-order {
  align-self: center;
  min-height: 41px;
  margin-inline-end: 8px;
  border-radius: 9px;
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 8px 18px rgba(0, 63, 49, .15);
}

.category-nav .nav-order::after {
  display: none;
}

.category-nav .nav-order:hover {
  color: #fff;
  background: var(--green-800);
}

.mobile-header,
.mobile-search-wrap {
  display: none;
}

#app {
  min-height: 65vh;
  outline: none;
}

.page-shell {
  padding: 26px 0 74px;
}

.home-page {
  padding: 20px 0 70px;
}

.section-block {
  margin-top: 58px;
}

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

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
}

.section-header h2 {
  margin: 0;
  color: var(--ink-950);
  font-size: clamp(23px, 2.2vw, 34px);
  font-weight: 800;
}

.section-header p {
  max-width: 640px;
  margin: 7px 0 0;
  color: var(--ink-500);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-weight: 700;
  white-space: nowrap;
  transition: gap .2s var(--ease), color .2s var(--ease);
}

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

.section-link .icon {
  width: 18px;
  height: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(310px, .82fr);
  gap: 14px;
  min-height: 520px;
}

.hero-main {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--green-950);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.hero-main::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 35, 27, .1) 0%, rgba(0, 48, 38, .58) 50%, rgba(0, 35, 27, .94) 100%),
    linear-gradient(0deg, rgba(0, 28, 22, .86) 0%, transparent 52%);
}

.hero-main::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -190px;
  inset-inline-end: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 107, 0, .14), transparent 65%);
}

.hero-slide {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  transition: opacity .85s var(--ease), transform 7.5s linear;
}

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

.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(650px, 64%);
  min-height: 520px;
  padding: 50px 58px 120px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(255, 107, 0, .15);
}

.hero-content h1 {
  margin: 0 0 17px;
  font-size: clamp(38px, 4.2vw, 67px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.8px;
  white-space: pre-line;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.hero-content>p {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.9;
}

.hero-content .button {
  width: fit-content;
  min-height: 53px;
  padding-inline: 25px;
  font-size: 16px;
}

.hero-features {
  position: absolute;
  z-index: 6;
  inset-inline: 32px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(0, 42, 32, .56);
  backdrop-filter: blur(13px);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px 16px;
}

.hero-feature+.hero-feature {
  border-inline-start: 1px solid rgba(255, 255, 255, .12);
}

.hero-feature .icon {
  width: 27px;
  height: 27px;
  color: #d9f1e9;
}

.hero-feature strong,
.hero-feature small {
  display: block;
}

.hero-feature strong {
  font-size: 12px;
}

.hero-feature small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.hero-controls {
  position: absolute;
  z-index: 7;
  top: 24px;
  inset-inline-start: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  left: 10px !important;
  display: flex;
  justify-content: end;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 37, 29, .46);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .25s var(--ease);
}

.hero-arrow:hover {
  border-color: var(--orange-500);
  background: var(--orange-500);
  transform: translateY(-2px);
}

.hero-arrow .icon {
  width: 19px;
  height: 19px;
}

.hero-dots {
  position: absolute;
  z-index: 7;
  top: 37px;
  inset-inline-end: 32px;
  display: flex;
  gap: 7px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  opacity: .62;
  background: #fff;
  cursor: pointer;
  transition: width .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}

.hero-dot.is-active {
  width: 30px;
  opacity: 1;
  background: var(--orange-500);
}

.promo-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--ink-950);
  background: #dfe8ec;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.promo-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.promo-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(235, 244, 247, .08) 10%, rgba(233, 241, 243, .88) 65%, rgba(235, 244, 247, .98) 100%);
}

.promo-card.dark {
  color: #fff;
}

.promo-card.dark::before {
  background: linear-gradient(90deg, rgba(0, 39, 30, .1) 0%, rgba(0, 39, 30, .72) 67%, rgba(0, 39, 30, .94) 100%);
}

.promo-card:hover img {
  transform: scale(1.06);
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 64%;
  min-height: 100%;
  margin-inline-start: auto;
  padding: 27px 25px;
}

.promo-label {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
}

.promo-card.dark .promo-label {
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.promo-content h3 {
  margin-bottom: 7px;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 800;
}

.promo-content p {
  margin-bottom: 15px;
  color: var(--ink-600);
  font-size: 12px;
}

.promo-card.dark p {
  color: rgba(255, 255, 255, .72);
}

.promo-content .button {
  min-height: 39px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
}

.trust-item+.trust-item {
  border-inline-start: 1px solid var(--line);
}

.trust-item .icon-wraper,
.category-icon,
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--green-900);
  background: var(--green-50);
}

.trust-item strong,
.trust-item small {
  display: block;
}

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

.trust-item small {
  margin-top: 1px;
  color: var(--ink-500);
  font-size: 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 142px;
  padding: 22px 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 45, 34, .04);
  transition: .32s var(--ease);
}

.category-card::before {
  content: "";
  position: absolute;
  top: -45px;
  inset-inline-start: -45px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 0;
  background: var(--green-100);
  transition: .4s var(--ease);
}

.category-card:hover {
  border-color: #b5cec5;
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.category-card:hover::before {
  opacity: .7;
  transform: scale(2.4);
}

.category-card .category-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 15px;
  background: var(--surface-2);
  transition: .3s var(--ease);
}

.category-card:hover .category-icon {
  color: #fff;
  background: var(--green-900);
  transform: rotate(-4deg) scale(1.05);
}

.category-card .category-icon .icon {
  width: 26px;
  height: 26px;
}

.category-card strong {
  position: relative;
  display: block;
  color: var(--ink-950);
  font-size: 13px;
}

.category-card small {
  position: relative;
  color: var(--ink-500);
  font-size: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 45, 34, .045);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}

.product-card:hover {
  border-color: #b9cec6;
  box-shadow: 0 20px 50px rgba(0, 45, 34, .11);
  transform: translateY(-7px);
}

.product-media {
  position: relative;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #fafbfa;
}

.product-media::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 3%;
  left: 12%;
  height: 12px;
  border-radius: 50%;
  opacity: .17;
  background: #61716c;
  filter: blur(9px);
  transition: .35s var(--ease);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

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

.product-card:hover .product-media::after {
  opacity: .25;
  transform: scaleX(.88);
}

.stock-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  inset-inline-start: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 7px;
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .1);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.stock-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.stock-badge.limited {
  background: var(--red-600);
}

.stock-badge.out {
  color: var(--ink-600);
  background: #d9dfdd;
}

.stock-badge.deal {
  background: var(--orange-600);
}

.product-actions-float {
  position: absolute;
  z-index: 3;
  top: 12px;
  inset-inline-end: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-float-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(205, 218, 213, .86);
  border-radius: 9px;
  opacity: 0;
  color: var(--ink-700);
  background: rgba(255, 255, 255, .93);
  cursor: pointer;
  box-shadow: 0 7px 15px rgba(0, 30, 22, .08);
  transform: translateX(-8px);
  transition: .26s var(--ease);
}

.product-card:hover .product-float-button,
.product-float-button.is-active {
  opacity: 1;
  transform: translateX(0);
}

.product-float-button:hover,
.product-float-button.is-active {
  color: #fff;
  border-color: var(--green-900);
  background: var(--green-900);
}

.product-float-button .icon {
  width: 17px;
  height: 17px;
}

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

.product-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--green-700);
  font-size: 10px;
  font-weight: 700;
}

.product-category .cold-icon {
  color: var(--blue-500);
}

.product-title {
  display: -webkit-box;
  min-height: 47px;
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--ink-950);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a {
  transition: color .2s var(--ease);
}

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

.product-pack {
  margin-bottom: 8px;
  color: var(--ink-500);
  font-size: 11px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-500);
  font-family: Arial, sans-serif;
  font-size: 10px;
  direction: ltr;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b46c00;
  font-weight: 700;
}

.product-rating .icon {
  width: 13px;
  height: 13px;
  fill: #ffb229;
  stroke: #ffb229;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--green-900);
  white-space: nowrap;
}

.product-price strong {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  direction: ltr;
}

.product-price span {
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
}

.old-price {
  color: var(--ink-500);
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-decoration: line-through;
  direction: ltr;
}

.product-minimum {
  margin: 8px 0 9px;
  color: var(--ink-500);
  font-size: 9px;
}

.qty-control {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  direction: ltr;
  height: 39px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}

.qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--green-900);
  background: var(--surface-2);
  cursor: pointer;
  transition: .2s var(--ease);
}

.qty-button:hover {
  color: #fff;
  background: var(--green-900);
}

.qty-button .icon {
  width: 15px;
  height: 15px;
}

.qty-button .qty-glyph {
  display: block;
  font-family: Arial, Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.qty-value {
  border: 0;
  outline: 0;
  text-align: center;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.product-add {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border-radius: 9px;
  font-size: 12px;
}

.product-add[disabled],
.button[disabled] {
  opacity: .48;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.product-add.is-added {
  color: #fff;
  background: var(--green-700);
}

.flash-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  min-height: 260px;
  padding: 42px 54px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(0, 39, 30, .98), rgba(0, 79, 61, .85)),
    url('../images/brand-texture.webp') center/cover;
  box-shadow: var(--shadow-md);
}

/* Backend offers rendered through Classic's native promotional language. */
.classic-native-offers { display: grid; gap: 44px; padding-bottom: 64px; }
.classic-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
.classic-native-offer-card { min-height: 310px; }
.classic-offer-card-images { position: absolute; inset: 0 auto 0 0; display: grid; width: 36%; place-items: center; overflow: hidden; background: #e5ebe7; }
.classic-offer-card-images img { grid-area: 1 / 1; width: 68%; height: 54%; object-fit: contain; transform: translate(calc((var(--i) - 1.5) * 18px), calc((var(--i) - 1.5) * -13px)); filter: drop-shadow(0 12px 10px #001a1230); }
.classic-offer-icon { position: absolute; inset: 0 auto 0 0; display: grid; width: 36%; place-items: center; color: var(--green-800); background: #e5ebe7; }
.classic-offer-icon .icon { width: 76px; height: 76px; }
.classic-offer-benefit { display: block; margin: -5px 0 14px; color: var(--green-800); font-size: 13px; }
.classic-offer-card-details { display: grid; gap: 5px; margin: 0 0 14px; padding: 0; color: var(--ink-500); font-size: 11px; list-style: none; }
.classic-offer-card-details li::before { content: "✓"; margin-inline-end: 6px; color: var(--orange-500); font-weight: 900; }
.classic-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.classic-offer-actions > a:not(.button) { color: currentColor; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.classic-featured-image, .classic-offer-detail-images { position: relative; z-index: 2; display: flex; align-items: end; justify-content: center; min-width: 280px; }
.classic-featured-image img { width: 280px; height: 220px; object-fit: contain; filter: drop-shadow(0 20px 16px #001a1238); }
.classic-offer-benefits { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fff; }
.classic-offer-benefits > div { position: relative; justify-content: flex-start; }
.classic-offer-benefits .classic-offer-card-details { width: 100%; }
.classic-offer-benefits a { margin-inline-start: auto; color: var(--green-800); font-size: 11px; font-weight: 800; }
.classic-offer-detail { display: grid; gap: 28px; padding-bottom: 64px; }
.classic-offer-detail-hero { margin-top: 0; }
.classic-offer-detail-images { gap: 0; min-width: 330px; }
.classic-offer-detail-images img { width: 155px; height: 210px; margin-inline-start: -38px; object-fit: contain; filter: drop-shadow(0 18px 14px #001a1238); }
.classic-offer-detail-images img:first-child { width: 205px; margin-inline-start: 0; }
.classic-offer-detail-symbol { position: relative; z-index: 2; display: grid; width: 260px; height: 190px; place-items: center; color: #fff; }
.classic-offer-detail-symbol .icon { width: 96px; height: 96px; }
.classic-offer-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.classic-offer-terms li { display: grid; gap: 5px; padding: 18px; border: 1px solid var(--line); background: #fff; }
.classic-offer-terms span { color: var(--ink-500); font-size: 12px; }

@media (max-width: 760px) {
  .classic-offer-grid, .classic-offer-benefits, .classic-offer-terms { grid-template-columns: 1fr; }
  .classic-featured-image, .classic-offer-detail-images, .classic-offer-detail-symbol { min-width: 0; width: 100%; }
  .classic-featured-image img { width: 210px; height: 170px; }
  .classic-offer-benefits > div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
}

.flash-panel::before,
.flash-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.flash-panel::before {
  top: -120px;
  inset-inline-start: -70px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
}

.flash-panel::after {
  right: 45%;
  bottom: -130px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 107, 0, .18), transparent 65%);
}

.flash-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.flash-copy .flash-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange-500);
  font-size: 11px;
  font-weight: 800;
}

.flash-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 44px);
}

.flash-copy p {
  max-width: 640px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .7);
}

.countdown {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  direction: ltr;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 73px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
}

.countdown-box strong {
  font-family: Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.countdown-box span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
}

.logistics-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, .9fr) minmax(0, 1.4fr);
  min-height: 310px;
  border: 1px solid #d8e1de;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(90deg, #e6efec, #f7faf9);
  box-shadow: var(--shadow-sm);
}

.logistics-image {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.logistics-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, #e8f0ed 100%);
}

.logistics-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.logistics-banner:hover .logistics-image img {
  transform: scale(1.035);
}

.logistics-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px 40px;
}

.logistics-content h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.5vw, 39px);
  font-weight: 800;
}

.logistics-content>p {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink-600);
}

.logistics-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.logistics-feature {
  min-width: 0;
}

.logistics-feature .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 7px;
  color: var(--green-900);
}

.logistics-feature strong,
.logistics-feature small {
  display: block;
}

.logistics-feature strong {
  font-size: 11px;
}

.logistics-feature small {
  color: var(--ink-500);
  font-size: 9px;
}

.logistics-content .button {
  align-self: flex-start;
}

.page-hero {
  position: relative;
  padding: 45px 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 39, 30, .98), rgba(0, 79, 61, .84)),
    url('../images/brand-texture.webp') center/cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  inset-inline-start: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .022), 0 0 0 120px rgba(255, 255, 255, .015);
}

.page-hero .container {
  position: relative;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .63);
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-hero h1 {
  margin: 0 0 9px;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

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

.filter-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
}

.filter-head button {
  border: 0;
  color: var(--green-700);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

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

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

.filter-group h4 {
  margin-bottom: 11px;
  font-size: 13px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 0;
  color: var(--ink-700);
  cursor: pointer;
  font-size: 12px;
}

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

.filter-option input {
  accent-color: var(--green-900);
}

.filter-option b {
  min-width: 25px;
  padding: 1px 5px;
  border-radius: 999px;
  color: var(--ink-500);
  background: var(--surface-2);
  text-align: center;
  font-size: 9px;
}

.price-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-range-row label {
  display: block;
  color: var(--ink-500);
  font-size: 9px;
}

.price-range-row input {
  width: 100%;
  height: 37px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
  font-family: Arial, sans-serif;
  direction: ltr;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.catalog-result-count {
  color: var(--ink-600);
  font-size: 12px;
}

.catalog-result-count strong {
  color: var(--ink-950);
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-select,
.toolbar-search {
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: 0;
  background: #fff;
}

.sort-select {
  min-width: 170px;
  padding: 0 12px;
  color: var(--ink-700);
  font-size: 11px;
}

.toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
}

.toolbar-search .icon {
  width: 17px;
  height: 17px;
  margin-inline-start: 11px;
  color: var(--ink-500);
}

.toolbar-search input {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
}

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

.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #bfd5cd;
  border-radius: 999px;
  color: var(--green-900);
  background: var(--green-50);
  font-size: 10px;
  font-weight: 700;
}

.filter-chip button {
  display: inline-flex;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 40px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  text-align: center;
  background: #fff;
}

.empty-state .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 17px;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-50);
}

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

.empty-state h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.empty-state p {
  max-width: 440px;
  margin-bottom: 18px;
  color: var(--ink-500);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 34px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.product-main-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.product-main-image .stock-badge {
  top: 18px;
  inset-inline-start: 18px;
}

.gallery-thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.gallery-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: .2s var(--ease);
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--green-700);
  box-shadow: 0 0 0 2px rgba(11, 107, 87, .1);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.product-detail-info {
  padding: 5px 0;
}

.detail-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.detail-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 700;
}

.detail-action-buttons {
  display: flex;
  gap: 7px;
}

.detail-action-buttons .icon-button {
  width: 39px;
  height: 39px;
}

.product-detail-info h1 {
  margin-bottom: 8px;
  font-size: clamp(29px, 3vw, 45px);
  font-weight: 800;
}

.detail-pack {
  margin-bottom: 12px;
  color: var(--ink-500);
  font-size: 13px;
}

.detail-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 21px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 11px;
}

.detail-rating-row .product-rating {
  font-size: 12px;
}

.detail-price-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
  padding: 20px;
  border: 1px solid #d6e4df;
  border-radius: 14px;
  background: var(--green-50);
}

.detail-price .product-price strong {
  font-size: 35px;
}

.detail-price .old-price {
  margin-top: 2px;
  font-size: 13px;
}

.stock-meter {
  min-width: 185px;
  text-align: left;
  direction: rtl;
}

.stock-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 10px;
}

.stock-meter-head strong {
  color: var(--green-800);
}

.stock-bar {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #d5e2de;
}

.stock-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-700), #48a68f);
}

.detail-description {
  margin-bottom: 20px;
  color: var(--ink-600);
  line-height: 1.95;
}

.detail-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 22px;
}

.detail-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-700);
  background: #fff;
  font-size: 11px;
}

.detail-highlight .icon {
  width: 17px;
  height: 17px;
  color: var(--green-700);
}

.detail-order-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--ink-700);
  font-size: 11px;
}

.detail-qty-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
}

.detail-order-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 11px 0 0;
  color: var(--ink-500);
  font-size: 10px;
}

.detail-order-note .icon {
  width: 15px;
  height: 15px;
  color: var(--orange-600);
}

.product-tabs {
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.tabs-head {
  display: flex;
  gap: 5px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tab-button {
  min-width: max-content;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--ink-600);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  transition: .2s var(--ease);
}

.tab-button.is-active,
.tab-button:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.tab-content {
  display: none;
  padding: 25px;
  color: var(--ink-600);
}

.tab-content.is-active {
  display: block;
  animation: fadeSlide .35s var(--ease);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr+tr {
  border-top: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  padding: 12px;
  text-align: right;
  font-size: 12px;
}

.spec-table th {
  width: 190px;
  color: var(--ink-950);
  background: var(--surface-2);
}

.cart-page-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 23px;
}

.cart-list,
.checkout-panel,
.summary-card,
.account-card,
.order-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.cart-list-header,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-list-header h2,
.panel-heading h2,
.panel-heading h3 {
  margin: 0;
  font-size: 18px;
}

.cart-list-header button {
  border: 0;
  color: var(--red-600);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.cart-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 130px auto;
  align-items: center;
  gap: 17px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

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

.cart-item-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}

.cart-item-image img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.cart-item-info h3 {
  margin-bottom: 3px;
  font-size: 14px;
}

.cart-item-info p {
  margin: 0;
  color: var(--ink-500);
  font-size: 10px;
}

.cart-item-price {
  margin-top: 8px;
  color: var(--green-900);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  direction: ltr;
  text-align: right;
}

.cart-item .qty-control {
  height: 38px;
}

.cart-item-total {
  min-width: 90px;
  color: var(--ink-950);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  direction: ltr;
  text-align: center;
}

.remove-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: var(--red-600);
  background: var(--red-50);
  cursor: pointer;
  transition: .2s var(--ease);
}

.remove-item:hover {
  color: #fff;
  background: var(--red-600);
}

.remove-item .icon {
  width: 17px;
  height: 17px;
}

.summary-card {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 20px;
}

.summary-card h2 {
  margin-bottom: 18px;
  font-size: 18px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 11px;
  color: var(--ink-600);
  font-size: 12px;
}

.summary-line strong {
  color: var(--ink-950);
  font-family: Arial, sans-serif;
  direction: ltr;
}

.summary-divider {
  height: 1px;
  margin: 15px 0;
  background: var(--line);
}

.summary-total {
  font-size: 15px;
  font-weight: 700;
}

.summary-total strong {
  color: var(--green-900);
  font-size: 23px;
}

.delivery-progress {
  margin: 16px 0;
  padding: 12px;
  border-radius: 10px;
  background: var(--green-50);
}

.delivery-progress p {
  margin-bottom: 7px;
  color: var(--ink-700);
  font-size: 10px;
}

.delivery-progress p strong {
  color: var(--green-800);
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: #d5e3de;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-500), #ff9a54);
}

.promo-code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-bottom: 13px;
}

.promo-code input {
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: 0;
}

.promo-code button {
  min-height: 42px;
  padding-inline: 13px;
}

.summary-card>.button {
  width: 100%;
  margin-top: 8px;
}

.assisted-note {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  padding: 11px;
  border: 1px solid #f1d9c5;
  border-radius: 9px;
  color: #7a4b27;
  background: var(--orange-50);
  font-size: 9px;
}

.assisted-note .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--orange-600);
}

.checkout-panel {
  overflow: hidden;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.checkout-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 700;
}

.checkout-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(50% + 28px);
  left: calc(-50% + 28px);
  height: 1px;
  background: var(--line-strong);
}

.checkout-step:last-child::after {
  display: none;
}

.checkout-step span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  font-family: Arial, sans-serif;
}

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

.checkout-step.is-active span,
.checkout-step.is-done span {
  color: #fff;
  border-color: var(--green-900);
  background: var(--green-900);
}

.checkout-form-section {
  padding: 22px 23px;
  border-bottom: 1px solid var(--line);
}

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

.checkout-form-section h3 {
  margin-bottom: 15px;
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: 0;
  color: var(--ink-950);
  background: #fff;
  transition: .2s var(--ease);
}

.form-control:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(11, 107, 87, .08);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: .2s var(--ease);
}

.choice-card:hover,
.choice-card.is-selected {
  border-color: var(--green-700);
  background: var(--green-50);
}

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

.choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border-radius: 9px;
  color: var(--green-900);
  background: #fff;
}

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

.choice-card strong {
  font-size: 12px;
}

.choice-card small {
  color: var(--ink-500);
  font-size: 9px;
}

.checkout-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
}

.success-card {
  max-width: 760px;
  margin: 28px auto 80px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-900);
  box-shadow: 0 0 0 13px var(--green-50);
}

.success-icon .icon {
  width: 42px;
  height: 42px;
}

.success-card h1 {
  margin-bottom: 8px;
  font-size: 32px;
}

.success-card>p {
  max-width: 590px;
  margin: 0 auto 23px;
  color: var(--ink-500);
}

.order-reference {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 23px;
  padding: 10px 15px;
  border: 1px dashed #acc8bd;
  border-radius: 10px;
  color: var(--green-900);
  background: var(--green-50);
  font-size: 12px;
}

.order-reference strong {
  font-family: Arial, sans-serif;
  font-size: 18px;
  direction: ltr;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 25px;
  text-align: right;
}

.success-step {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}

.success-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--green-900);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.success-step strong,
.success-step small {
  display: block;
}

.success-step strong {
  font-size: 11px;
}

.success-step small {
  color: var(--ink-500);
  font-size: 9px;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.account-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.account-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.account-profile-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  margin-bottom: 7px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  font-size: 16px;
  font-weight: 800;
}

.account-profile-mini strong,
.account-profile-mini small {
  display: block;
}

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

.account-profile-mini small {
  color: var(--ink-500);
  font-size: 9px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 600;
  transition: .2s var(--ease);
}

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

.account-nav .icon {
  width: 18px;
  height: 18px;
}

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

.account-welcome {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, var(--green-950), var(--green-700));
}

.account-welcome::after {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-start: -40px;
  width: 180px;
  height: 180px;
  border: 35px solid rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.account-welcome h2 {
  margin-bottom: 5px;
  font-size: 23px;
}

.account-welcome p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

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

.stat-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-card .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
  border-radius: 9px;
  color: var(--green-900);
  background: var(--green-50);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  font-family: Arial, sans-serif;
  font-size: 24px;
  direction: ltr;
  text-align: right;
}

.stat-card span {
  color: var(--ink-500);
  font-size: 10px;
}

.account-card {
  overflow: hidden;
}

.account-card-body {
  padding: 20px;
}

.recent-order-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.recent-order-row:first-child {
  border-top: 0;
}

.order-number strong,
.order-number small {
  display: block;
}

.order-number strong {
  font-family: Arial, sans-serif;
  font-size: 13px;
  direction: ltr;
  text-align: right;
}

.order-number small {
  color: var(--ink-500);
  font-size: 9px;
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #6b4d00;
  background: #fff5d7;
  font-size: 9px;
  font-weight: 800;
}

.order-status.confirmed {
  color: var(--green-800);
  background: var(--green-50);
}

.order-status.delivery {
  color: #07567b;
  background: var(--blue-50);
}

.order-status.cancelled {
  color: var(--red-600);
  background: var(--red-50);
}

.order-amount {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  direction: ltr;
}

.order-card {
  overflow: hidden;
  margin-bottom: 14px;
}

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

.order-card-head h3 {
  margin: 0 0 2px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  direction: ltr;
  text-align: right;
}

.order-card-head p {
  margin: 0;
  color: var(--ink-500);
  font-size: 9px;
}

.order-card-body {
  padding: 18px 19px;
}

.order-mini-products {
  display: flex;
  gap: 7px;
  margin-bottom: 16px;
}

.order-mini-products img {
  width: 65px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
}

.order-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 19px 0;
}

.order-timeline::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: var(--line-strong);
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--ink-500);
  font-size: 9px;
}

.timeline-step b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 7px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--line-strong);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.timeline-step.is-done b,
.timeline-step.is-active b {
  background: var(--green-900);
  box-shadow: 0 0 0 1px var(--green-900);
}

.timeline-step.is-active b {
  box-shadow: 0 0 0 1px var(--orange-500), 0 0 0 5px var(--orange-50);
  background: var(--orange-500);
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-card-foot .button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 10px;
}

.auth-centered {
  display: grid;
  place-items: center;
  min-height: 570px;
  padding: 45px 0;
  background:
    linear-gradient(rgba(245, 247, 246, .88), rgba(245, 247, 246, .96)),
    url('../images/hero-warehouse.webp') center/cover fixed;
}

.auth-card {
  width: min(510px, calc(100% - 30px));
  padding: 32px;
  border: 1px solid rgba(215, 227, 223, .9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}

.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 17px;
  color: #fff;
  background: var(--green-900);
}

.auth-icon .icon {
  width: 29px;
  height: 29px;
}

.auth-card h1 {
  margin-bottom: 7px;
  font-size: 28px;
}

.auth-card>p {
  margin-bottom: 22px;
  color: var(--ink-500);
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  direction: ltr;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink-700);
  background: var(--surface-2);
  font-family: Arial, sans-serif;
}

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

.otp-input {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.otp-input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 4px rgba(11, 107, 87, .08);
}

.auth-card .button {
  width: 100%;
  margin-top: 11px;
}

.auth-help {
  margin-top: 16px;
  color: var(--ink-500);
  text-align: center;
  font-size: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 22px;
}

.contact-card {
  padding: 24px;
}

.contact-card h2 {
  margin-bottom: 7px;
  font-size: 22px;
}

.contact-card>p {
  margin-bottom: 20px;
  color: var(--ink-500);
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}

.contact-method .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  background: var(--green-900);
}

.contact-method strong,
.contact-method span {
  display: block;
}

.contact-method strong {
  font-size: 12px;
}

.contact-method span {
  color: var(--ink-500);
  font-size: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-block: 24px;
}

.footer-benefits>div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 17px;
}

.footer-benefits>div+div {
  border-inline-start: 1px solid var(--line);
}

.footer-benefits .benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-benefits p {
  margin: 0;
}

.footer-benefits strong,
.footer-benefits small {
  display: block;
}

.footer-benefits strong {
  color: var(--ink-800);
  font-size: 11px;
}

.footer-benefits small {
  color: var(--ink-500);
  font-size: 8px;
}

.footer-main {
  color: #fff;
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 50px;
  padding-block: 48px 37px;
}

.footer-brand p {
  max-width: 510px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .57);
  font-size: 11px;
  line-height: 1.9;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
}

.footer-grid>div:not(.footer-brand)>a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.footer-grid>div:not(.footer-brand)>a:hover {
  color: #fff;
  transform: translateX(-4px);
}

.footer-contact .contact-number {
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 23px !important;
  font-weight: 800;
  direction: ltr;
}

.footer-contact span {
  display: block;
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
}

.footer-contact .button {
  display: inline-flex !important;
  min-height: 40px;
  margin: 0 !important;
  color: #fff !important;
  font-size: 10px !important;
}

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

.footer-bottom p {
  margin: 0;
}

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

.footer-bottom a:hover {
  color: #fff;
}

.mobile-bottom-nav {
  display: none;
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  z-index: 501;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 24, 18, .58);
  backdrop-filter: blur(4px);
  transition: .3s var(--ease);
}

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

.side-drawer {
  position: fixed;
  z-index: 502;
  top: 0;
  bottom: 0;
  width: min(440px, 93vw);
  display: flex;
  flex-direction: column;
  opacity: 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .38s var(--ease), opacity .25s var(--ease);
}

.cart-drawer {
  left: 0;
  transform: translateX(-104%);
}

.mobile-menu-drawer {
  right: 0;
  transform: translateX(104%);
}

.side-drawer.is-open {
  opacity: 1;
  transform: translateX(0);
}

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

.drawer-header h2 {
  margin: 0;
  font-size: 20px;
}

.drawer-header p {
  margin: 2px 0 0;
  color: var(--ink-500);
  font-size: 10px;
}

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

.mobile-menu-content {
  padding: 14px;
}

.mobile-menu-content>a,
.mobile-menu-content #mobileCategories a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink-700);
  font-weight: 600;
  transition: .2s var(--ease);
}

.mobile-menu-content>a:hover,
.mobile-menu-content #mobileCategories a:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.mobile-menu-content .icon {
  width: 19px;
  height: 19px;
}

.mobile-menu-divider {
  height: 1px;
  margin: 12px 0;
  background: var(--line);
}

.mobile-menu-content h4 {
  margin: 0 10px 7px;
  color: var(--ink-500);
  font-size: 10px;
}

.cart-drawer-content {
  padding: 0 16px;
}

.drawer-cart-item {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-cart-item img {
  width: 78px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 9px;
  object-fit: cover;
  background: var(--surface-2);
}

.drawer-cart-info h4 {
  margin-bottom: 2px;
  font-size: 11px;
}

.drawer-cart-info p {
  margin-bottom: 7px;
  color: var(--ink-500);
  font-size: 8px;
}

.drawer-cart-info .qty-control {
  width: 124px;
  height: 31px;
  grid-template-columns: 33px 1fr 33px;
}

.drawer-cart-item-total {
  align-self: center;
  text-align: left;
}

.drawer-cart-item-total strong {
  display: block;
  color: var(--green-900);
  font-family: Arial, sans-serif;
  font-size: 12px;
  direction: ltr;
}

.drawer-cart-item-total button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--red-600);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
}

.cart-drawer-footer {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -10px 30px rgba(0, 38, 28, .06);
}

.cart-drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-drawer-total span {
  color: var(--ink-600);
  font-size: 12px;
}

.cart-drawer-total strong {
  color: var(--green-900);
  font-family: Arial, sans-serif;
  font-size: 21px;
  direction: ltr;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cart-drawer-actions .button {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 10px;
}

.quick-modal {
  position: fixed;
  z-index: 602;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100% - 30px));
  max-height: min(720px, calc(100vh - 40px));
  overflow-y: auto;
  border-radius: var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -46%) scale(.96);
  transition: .32s var(--ease);
}

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

.quick-modal-inner {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
}

.quick-modal-image {
  min-height: 480px;
  background: var(--surface-2);
}

.quick-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-modal-info {
  padding: 36px 32px;
}

.quick-modal-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  inset-inline-end: 14px;
}

.quick-modal-info h2 {
  margin: 9px 0 5px;
  font-size: 26px;
}

.quick-modal-info>p {
  color: var(--ink-500);
}

.quick-modal-info .detail-order-box {
  margin-top: 19px;
}

.toast-stack {
  position: fixed;
  z-index: 900;
  bottom: 24px;
  inset-inline-end: 24px;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100% - 30px));
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-800);
  opacity: 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transform: translateY(15px) scale(.98);
  animation: toastIn .35s var(--ease) forwards;
}

.toast.is-leaving {
  animation: toastOut .3s var(--ease) forwards;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: #fff;
  background: var(--green-900);
}

.toast.toast-warning .toast-icon {
  background: var(--orange-600);
}

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

.toast strong {
  font-size: 11px;
}

.toast span {
  color: var(--ink-500);
  font-size: 9px;
}

.toast button {
  padding: 4px;
  border: 0;
  color: var(--ink-500);
  background: transparent;
  cursor: pointer;
}

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

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

.reveal-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

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

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: .07s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: .14s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: .21s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: .28s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: .35s;
}

.reveal-stagger.is-visible>*:nth-child(7) {
  transition-delay: .42s;
}

.reveal-stagger.is-visible>*:nth-child(8) {
  transition-delay: .49s;
}

@keyframes loaderPulse {
  to {
    transform: translateY(-11px);
  }
}

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

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

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

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}

@media (max-width: 1320px) {
  :root {
    --container: 1240px;
  }

  .header-main {
    grid-template-columns: 220px minmax(280px, 1fr) auto;
    gap: 20px;
  }

  .header-action span:not(.icon-wrap) {
    display: none;
  }

  .header-action {
    width: 43px;
    justify-content: center;
  }

  .category-nav a {
    padding-inline: 13px;
  }

  .hero-content {
    width: 67%;
    padding-inline: 42px;
  }

  .hero-content h1 {
    font-size: clamp(36px, 4vw, 55px);
  }

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

  .product-body {
    padding-inline: 13px;
  }

  .logistics-banner {
    grid-template-columns: minmax(330px, .8fr) minmax(0, 1.4fr);
  }

  .logistics-content {
    padding-inline: 30px;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 142px;
  }

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

  .brand-name {
    font-size: 27px;
  }

  .header-main {
    grid-template-columns: 200px minmax(240px, 1fr) auto;
  }

  .category-nav-inner {
    justify-content: flex-start;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .72fr);
    min-height: 500px;
  }

  .hero-content {
    min-height: 500px;
    padding-inline: 35px;
  }

  .hero-features {
    inset-inline: 20px;
  }

  .hero-feature {
    padding-inline: 10px;
  }

  .hero-feature .icon {
    display: none;
  }

  .promo-content {
    width: 73%;
    padding-inline: 20px;
  }

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

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

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

  .trust-item:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .logistics-banner {
    grid-template-columns: .75fr 1.25fr;
  }

  .logistics-features {
    grid-template-columns: 1fr 1fr;
  }

  .flash-panel {
    gap: 24px;
    padding-inline: 36px;
  }

  .countdown-box {
    width: 62px;
    height: 73px;
  }

  .footer-grid {
    gap: 28px;
  }

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

  .footer-benefits>div:nth-child(4),
  .footer-benefits>div:nth-child(5) {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 235px 1fr;
  }

  .catalog-main .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-page-grid,
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .cart-item {
    grid-template-columns: 105px minmax(0, 1fr) 120px auto;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 116px;
  }

  body {
    padding-bottom: 72px;
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65px;
  }

  .mobile-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
  }

  .mobile-brand strong {
    color: var(--green-900);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.4px;
  }

  .mobile-brand small {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 8px;
  }

  .cart-mobile-button {
    position: relative;
  }

  .cart-mobile-button b {
    top: -6px;
    inset-inline-start: -7px;
  }

  .mobile-search-wrap {
    display: block;
    padding-bottom: 10px;
  }

  .mobile-search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink-500);
    background: var(--surface-2);
    cursor: pointer;
    text-align: right;
    font-size: 11px;
  }

  .mobile-search .icon {
    width: 17px;
    height: 17px;
    color: var(--green-900);
  }

  .home-page,
  .page-shell {
    padding-top: 15px;
  }

  .hero-grid {
    display: block;
  }

  .hero-main {
    min-height: 510px;
  }

  .hero-content {
    width: 100%;
    min-height: 510px;
    justify-content: flex-end;
    padding: 38px 28px 148px;
  }

  .hero-content h1 {
    max-width: 600px;
  }

  .hero-main::before {
    background:
      linear-gradient(0deg, rgba(0, 35, 27, .98) 0%, rgba(0, 49, 38, .65) 57%, rgba(0, 35, 27, .08) 100%);
  }

  .hero-features {
    bottom: 18px;
  }

  .promo-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    margin-top: 13px;
  }

  .promo-card {
    min-height: 235px;
  }

  .trust-strip {
    margin-top: 13px;
  }

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

  .flash-panel {
    grid-template-columns: 1fr;
  }

  .countdown {
    justify-content: flex-start;
  }

  .logistics-banner {
    grid-template-columns: 1fr;
  }

  .logistics-image {
    min-height: 260px;
  }

  .logistics-image::after {
    background: linear-gradient(0deg, #e9f0ee 0%, transparent 45%);
  }

  .logistics-content {
    padding: 29px;
  }

  .footer-benefits {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-contact {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 300;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(67px + env(safe-area-inset-bottom));
    padding: 6px 6px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -12px 35px rgba(0, 42, 32, .1);
    backdrop-filter: blur(15px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: var(--ink-500);
    background: transparent;
    cursor: pointer;
    font-size: 8px;
    font-weight: 700;
  }

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

  .mobile-bottom-nav .icon {
    width: 21px;
    height: 21px;
  }

  .mobile-bottom-nav .mobile-order-button {
    color: #fff;
    background: var(--green-900);
    transform: translateY(-14px);
    box-shadow: 0 11px 24px rgba(0, 63, 49, .24);
  }

  .mobile-bottom-nav .mobile-order-button .icon {
    width: 24px;
    height: 24px;
  }

  .mobile-cart-wrap {
    position: relative;
    display: inline-flex;
  }

  .mobile-cart-wrap b {
    top: -8px;
    inset-inline-start: -10px;
  }

  .toast-stack {
    right: 15px;
    bottom: 82px;
    left: 15px;
    width: auto;
  }

  .page-hero {
    padding: 36px 0;
  }

  .catalog-layout {
    display: block;
  }

  .filter-panel {
    position: fixed;
    z-index: 502;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 91vw);
    overflow-y: auto;
    border-radius: 0;
    opacity: 0;
    transform: translateX(104%);
    transition: .35s var(--ease);
  }

  .filter-panel.is-open {
    opacity: 1;
    transform: translateX(0);
  }

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

  .toolbar-search {
    min-width: 0;
    flex: 1;
  }

  .catalog-main .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-gallery {
    position: static;
  }

  .product-main-image img {
    max-height: 580px;
  }

  .cart-page-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

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

  .account-sidebar {
    position: static;
  }

  .account-nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .account-nav::-webkit-scrollbar {
    display: none;
  }

  .account-nav a {
    min-width: max-content;
  }

  .account-profile-mini {
    display: none;
  }

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

@media (max-width: 620px) {
  .container {
    width: calc(100% - 26px);
  }

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

  .mobile-only {
    display: initial;
  }

  .section-block {
    margin-top: 42px;
  }

  .section-header {
    align-items: center;
    margin-bottom: 16px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .section-header p {
    display: none;
  }

  .section-link {
    font-size: 10px;
  }

  .hero-main {
    min-height: 500px;
    border-radius: 18px;
  }

  .hero-content {
    min-height: 500px;
    padding: 30px 21px 145px;
  }

  .hero-eyebrow {
    margin-bottom: 11px;
    font-size: 9px;
  }

  .hero-content h1 {
    margin-bottom: 10px;
    font-size: clamp(31px, 10vw, 44px);
  }

  .hero-content>p {
    margin-bottom: 19px;
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-content .button {
    min-height: 47px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .hero-features {
    inset-inline: 11px;
    bottom: 11px;
  }

  .hero-feature {
    flex-direction: column;
    gap: 2px;
    padding: 10px 5px;
    text-align: center;
  }

  .hero-feature strong {
    font-size: 8px;
  }

  .hero-feature small {
    font-size: 7px;
  }

  .hero-controls {
    top: 14px;
    inset-inline-start: 14px;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-dots {
    top: 27px;
    inset-inline-end: 16px;
  }

  .promo-stack {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .promo-stack::-webkit-scrollbar {
    display: none;
  }

  .promo-card {
    min-width: 83%;
    min-height: 210px;
    scroll-snap-align: start;
    border-radius: 16px;
  }

  .promo-content {
    width: 72%;
    padding: 18px;
  }

  .promo-content h3 {
    font-size: 20px;
  }

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

  .trust-item {
    gap: 8px;
    padding: 12px;
  }

  .trust-item .icon-wraper {
    width: 36px;
    height: 36px;
  }

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

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

  .category-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    min-width: 132px;
    min-height: 127px;
    scroll-snap-align: start;
  }

  .products-grid,
  .catalog-main .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 13px;
  }

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

  .stock-badge {
    top: 8px;
    inset-inline-start: 8px;
    min-height: 23px;
    padding: 4px 7px;
    font-size: 8px;
  }

  .product-actions-float {
    top: 8px;
    inset-inline-end: 8px;
  }

  .product-float-button {
    width: 29px;
    height: 29px;
    opacity: 1;
    transform: none;
  }

  .product-float-button[data-quick-view] {
    display: none;
  }

  .product-body {
    padding: 10px;
  }

  .product-category {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .product-title {
    min-height: 40px;
    margin-bottom: 2px;
    font-size: 2rem;
  }

  .product-pack,
  .product-meta,
  .old-price {
    font-size: 8px;
  }

  .product-meta {
    padding-bottom: 7px;
  }

  .product-price-row {
    margin-top: 8px;
  }

  .product-price strong {
    font-size: 15px;
  }

  .product-price span {
    font-size: 8px;
  }

  .product-minimum {
    margin: 6px 0;
    font-size: 7px;
  }

  .qty-control {
    height: 34px;
    grid-template-columns: 32px 1fr 32px;
  }

  .qty-value {
    font-size: 10px;
  }

  .product-add {
    min-height: 36px;
    margin-top: 7px;
    padding: 7px 5px;
    font-size: 9px;
  }

  .product-add .icon {
    display: none;
  }

  .flash-panel {
    min-height: 310px;
    padding: 28px 21px;
    border-radius: 18px;
  }

  .flash-copy h2 {
    font-size: 28px;
  }

  .flash-copy p {
    font-size: 11px;
  }

  .countdown {
    gap: 6px;
  }

  .countdown-box {
    width: 56px;
    height: 66px;
  }

  .countdown-box strong {
    font-size: 22px;
  }

  .logistics-banner {
    border-radius: 18px;
  }

  .logistics-image {
    min-height: 215px;
  }

  .logistics-content {
    padding: 23px 19px;
  }

  .logistics-content h2 {
    font-size: 25px;
  }

  .logistics-content>p {
    font-size: 11px;
  }

  .logistics-features {
    gap: 9px;
  }

  .logistics-feature strong {
    font-size: 9px;
  }

  .logistics-feature small {
    font-size: 7px;
  }

  .footer-benefits {
    grid-template-columns: 1fr;
    padding-block: 13px;
  }

  .footer-benefits>div {
    justify-content: flex-start;
    padding: 8px 5px;
  }

  .footer-benefits>div+div {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .footer-benefits>div:nth-child(3) {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-block: 36px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 88px;
    padding-block: 14px;
    text-align: center;
  }

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

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .toolbar-search {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .sort-select {
    min-width: 0;
  }

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

  .detail-price-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .stock-meter {
    width: 100%;
    min-width: 0;
  }

  .detail-highlights {
    grid-template-columns: 1fr;
  }

  .detail-qty-row {
    grid-template-columns: 1fr;
  }

  .gallery-thumb-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cart-item {
    position: relative;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .cart-item .qty-control {
    grid-column: 2;
    width: 132px;
  }

  .cart-item-total {
    grid-column: 2;
    text-align: right;
  }

  .remove-item {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .checkout-steps {
    padding-inline: 12px;
  }

  .checkout-step {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 8px;
  }

  .checkout-step::after {
    top: 14px;
  }

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

  .success-card {
    padding: 30px 18px;
  }

  .success-steps {
    grid-template-columns: 1fr;
  }

  .success-actions {
    flex-direction: column;
  }

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

  .recent-order-row {
    grid-template-columns: 1fr auto;
  }

  .recent-order-row .order-status {
    justify-self: end;
  }

  .recent-order-row .order-amount,
  .recent-order-row .section-link {
    display: none;
  }

  .order-timeline {
    overflow-x: auto;
    grid-template-columns: repeat(5, 95px);
    justify-content: start;
  }

  .order-timeline::before {
    display: none;
  }

  .order-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-modal-inner {
    grid-template-columns: 1fr;
  }

  .quick-modal-image {
    min-height: 280px;
    max-height: 330px;
  }

  .quick-modal-info {
    padding: 24px 18px;
  }

  .cart-drawer-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {

  .products-grid,
  .catalog-main .products-grid {
    grid-template-columns: 1fr;
  }

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

  .product-title {
    min-height: auto;
  }

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

  .countdown-box {
    width: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Desktop composition follows the approved mockup: main hero and truck imagery on the left. */
@media (min-width: 861px) {

  .hero-grid,
  .logistics-banner {
    direction: ltr;
  }

  .hero-main,
  .promo-stack,
  .logistics-image,
  .logistics-content {
    direction: rtl;
  }
}


/* ==========================================================================
   Classic RTL refinement — 2026-08
   ========================================================================== */
:root {
  --surface-2: #f4f5f3;
  --surface-3: #ecefeb;
  --line: #d5dad6;
  --line-strong: #bec7c0;
  --shadow-sm: 0 2px 7px rgba(14, 43, 34, .05);
  --shadow-md: 0 5px 16px rgba(14, 43, 34, .08);
  --shadow-lg: 0 10px 26px rgba(14, 43, 34, .12);
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --radius-xl: 5px;
}

html,
body {
  direction: rtl;
}

body,
button,
input,
select,
textarea {
  font-family: "Almarai", Tahoma, Arial, sans-serif;
}

body {
  font-size: 14px;
  line-height: 1.75;
  background: #f5f6f4;
}

input,
select,
textarea {
  text-align: right;
}

input[dir="ltr"],
textarea[dir="ltr"] {
  text-align: left;
}

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

.site-header {
  border-bottom: 1px solid #c8d0ca;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 35, 27, .07);
}

.header-main {
  direction: rtl;
  grid-template-columns: 230px minmax(340px, 1fr) auto;
  gap: 26px;
  min-height: 84px;
}

.brand-with-logo {
  align-items: flex-start;
}

.brand-logo {
  display: block;
  width: 145px;
  height: 54px;
  object-fit: contain;
  object-position: right center;
}

.brand-with-logo .brand-subtitle {
  margin-top: 2px;
  color: #59645f;
  font-size: 10px;
  font-weight: 600;
}

.mobile-brand img {
  width: 86px;
  height: 36px;
  object-fit: contain;
}

.mobile-brand small {
  margin-top: 1px;
}

.header-search,
.search-suggestions,
.search-suggestion-item,
.search-suggestion-item img,
.header-action,
.category-nav .nav-order,
.mobile-search,
.icon-button {
  border-radius: 2px;
}

.header-search {
  height: 46px;
  border-color: #c7cec9;
  box-shadow: none;
}

.header-search:focus-within {
  border-color: var(--green-900);
  box-shadow: 0 0 0 2px rgba(0, 63, 49, .08);
}

.header-search kbd {
  display: none;
}

.header-actions {
  direction: rtl;
  gap: 0;
}

.header-action {
  border-inline-start: 1px solid #e1e5e2;
  border-radius: 0;
  font-weight: 600;
}

.header-action:last-child {
  border-inline-start: 0;
}

.header-action:hover {
  background: #f3f5f3;
}

.category-nav {
  border-top: 1px solid #e0e4e1;
  border-bottom: 1px solid #d7ddd8;
}

.category-nav-inner {
  direction: rtl;
  justify-content: flex-start;
  min-height: 50px;
}

.category-nav a {
  padding: 8px 16px;
  border-inline-end: 1px solid #eef0ee;
  font-size: 12px;
}

.category-nav a::after {
  height: 2px;
  border-radius: 0;
}

.category-nav .nav-order {
  min-height: 36px;
  margin-inline: 0 10px;
  border-radius: 2px;
  box-shadow: none;
}

.button {
  min-height: 44px;
  border-radius: 2px;
  font-weight: 700;
  box-shadow: none;
}

.button::after {
  display: none;
}

.button:hover {
  transform: none;
}

.button-primary,
.button-orange,
.button-primary:hover,
.button-orange:hover {
  box-shadow: none;
}

.icon-button {
  box-shadow: none;
}

.icon-button:hover {
  transform: none;
}

.page-shell {
  padding-top: 24px;
}

.section-block {
  margin-top: 46px;
}

.section-header {
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--green-900);
}

.section-header h2 {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
}

.section-header p {
  margin-top: 5px;
  font-size: 11px;
}

.section-kicker {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0;
}

.hero-grid {
  direction: rtl !important;
  grid-template-columns: minmax(0, 1.88fr) minmax(300px, .78fr);
  gap: 10px;
  min-height: 500px;
}

.hero-main,
.promo-stack,
.logistics-image,
.logistics-content {
  direction: rtl !important;
}

.hero-main {
  min-height: 500px;
  border: 1px solid #c4cdc7;
  border-radius: 4px;
  box-shadow: none;
}

.hero-main::before {
  background:
    linear-gradient(90deg, rgba(0, 34, 26, .08) 0%, rgba(0, 43, 33, .48) 44%, rgba(0, 34, 26, .91) 100%),
    linear-gradient(0deg, rgba(0, 27, 20, .65) 0%, transparent 46%);
}

.hero-main::after {
  display: none;
}

.hero-slide {
  transform: scale(1.025);
  transition: opacity .65s ease, transform 8s linear;
}

.hero-content {
  width: min(650px, 61%);
  min-height: 500px;
  padding: 44px 48px 112px;
  text-align: right;
}

.hero-eyebrow,
.promo-label,
.flash-label,
.filter-chip,
.stock-badge {
  border-radius: 2px;
}

.hero-eyebrow {
  padding: 5px 9px;
  border-color: rgba(255, 255, 255, .34);
  background: rgba(0, 0, 0, .10);
  backdrop-filter: none;
  font-size: 10px;
}

.hero-eyebrow::before {
  border-radius: 0;
  box-shadow: none;
}

.hero-content h1 {
  max-width: 590px;
  font-size: clamp(35px, 3.55vw, 57px);
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .16);
}

.hero-content>p {
  max-width: 590px;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 2;
}

.hero-features {
  inset-inline: 24px;
  bottom: 19px;
  border-radius: 2px;
  background: rgba(0, 42, 32, .70);
  backdrop-filter: none;
}

.hero-controls {
  top: 18px;
  inset-inline-start: 18px;
}

.hero-arrow {
  width: 37px;
  height: 37px;
  border-radius: 2px;
  background: rgba(0, 37, 29, .72);
  backdrop-filter: none;
}

.hero-arrow:hover {
  transform: none;
}

.hero-dot {
  border-radius: 0;
}

.promo-stack {
  gap: 10px;
}

.promo-card {
  border: 1px solid #cbd3cd;
  border-radius: 4px;
  background: #f1f3f1;
  box-shadow: none;
}

.promo-card::before {
  background: linear-gradient(90deg, rgba(246, 248, 246, .20), rgba(246, 248, 246, .96) 58%, #f6f8f6 100%);
}

.promo-card.dark::before {
  background: linear-gradient(90deg, rgba(0, 39, 30, .16), rgba(0, 39, 30, .78) 58%, rgba(0, 39, 30, .95) 100%);
}

.promo-card:hover img {
  transform: none;
}

.product-promo {
  color: var(--ink-950);
  background: #f7f8f6;
}

.product-promo::before {
  background: linear-gradient(90deg, rgba(247, 248, 246, .40) 0%, rgba(247, 248, 246, .94) 48%, #f7f8f6 75%);
}

.product-promo img {
  z-index: -1;
  inset-inline-start: auto;
  inset-inline-end: 0;
  width: 46%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.promo-content {
  width: 64%;
  margin-inline-start: 0;
  margin-inline-end: auto;
  padding: 24px 22px;
  align-items: flex-start;
  text-align: right;
}

.promo-content h3 {
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.6;
}

.promo-content .button {
  min-height: 36px;
  border-radius: 2px;
}

.trust-strip {
  margin-top: 10px;
  border-radius: 2px;
  box-shadow: none;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.category-card {
  border-radius: 2px !important;
  box-shadow: none !important;
}

.category-card::before {
  display: none;
}

.category-card:hover {
  transform: none !important;
}

.products-grid {
  gap: 12px;
}

.product-card {
  border-color: #cfd6d1;
  border-radius: 2px;
  box-shadow: none;
}

.product-card:hover {
  border-color: #8da298;
  box-shadow: 0 4px 12px rgba(0, 45, 34, .07);
  transform: none;
}

.product-media {
  aspect-ratio: 1.5 / 1;
  border-bottom: 1px solid #e0e4e1;
  background: #fff;
}

.product-media::after {
  display: none;
}

.product-media img {
  padding: 18px;
  object-fit: contain;
  transform: none !important;
}

.stock-badge {
  min-height: 25px;
  padding: 5px 8px;
  box-shadow: none;
}

.product-actions-float {
  gap: 5px;
}

.product-float-button {
  border-radius: 2px;
  box-shadow: none;
}

.product-body {
  padding: 14px;
}

.product-category {
  margin-bottom: 4px;
  font-size: 9px;
}

.product-title {
  min-height: 48px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.75;
}

.product-pack {
  font-size: 10px;
}

.product-meta {
  direction: rtl;
  padding-bottom: 8px;
  font-family: "Almarai", Tahoma, Arial, sans-serif;
  font-size: 9px;
}

.product-meta>span:first-child {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: Arial, sans-serif;
}

.product-price-row {
  margin-top: 9px;
}

.product-price {
  direction: rtl;
}

.product-price strong {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 18px;
}

.product-price span {
  font-size: 10px;
}

.old-price {
  font-size: 10px;
}

.product-minimum {
  font-size: 8px;
}

.qty-control {
  border-radius: 2px;
}

.product-add {
  border-radius: 2px;
}

.flash-panel,
.logistics-banner,
.page-hero,
.filter-panel,
.catalog-toolbar,
.product-gallery,
.product-detail-info,
.detail-price-box,
.detail-order-box,
.product-tabs,
.cart-list,
.cart-summary,
.checkout-form,
.checkout-summary,
.account-card,
.account-welcome,
.stat-card,
.order-card,
.auth-card,
.contact-card,
.quick-modal,
.side-drawer,
.toast {
  border-radius: 3px !important;
  box-shadow: none !important;
}

.logistics-banner {
  direction: rtl !important;
  border: 1px solid #cfd6d1;
}

.logistics-image img {
  border-radius: 0 !important;
}

.form-control,
.sort-select,
.toolbar-search,
.price-range-row input,
.promo-code input,
.promo-code button {
  border-radius: 2px !important;
}

.form-control:focus {
  box-shadow: 0 0 0 2px rgba(0, 63, 49, .08) !important;
}

.mobile-bottom-nav .mobile-order-button,
.mobile-bottom-nav a,
.mobile-bottom-nav button {
  border-radius: 0 !important;
}

.drawer-backdrop,
.modal-backdrop {
  backdrop-filter: none !important;
}

@media (min-width: 861px) {

  .hero-grid,
  .logistics-banner {
    direction: rtl !important;
  }

  .hero-main,
  .promo-stack,
  .logistics-image,
  .logistics-content {
    direction: rtl !important;
  }
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 190px minmax(260px, 1fr) auto;
    gap: 14px;
  }

  .brand-logo {
    width: 126px;
  }

  .category-nav a {
    padding-inline: 12px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 24px, 720px);
  }

  .site-header {
    border-bottom: 1px solid #cfd6d1;
  }

  .mobile-header {
    min-height: 60px;
  }

  .mobile-search {
    border-radius: 2px;
    background: #fff;
  }

  .home-page,
  .page-shell {
    padding-top: 12px;
  }

  .hero-main {
    min-height: 480px;
    border-radius: 3px;
  }

  .hero-content {
    min-height: 480px;
    padding: 35px 28px 126px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.5;
  }

  .hero-content>p {
    font-size: 12px;
  }

  .promo-stack {
    gap: 8px;
  }

  .promo-card {
    border-radius: 3px;
  }

  .product-promo img {
    width: 42%;
    padding: 10px;
  }

  .promo-content {
    width: 67%;
    padding: 18px 16px;
  }

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

  .section-header {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  .container {
    width: calc(100% - 18px);
  }

  .hero-main {
    min-height: 455px;
  }

  .hero-content {
    min-height: 455px;
    padding: 30px 20px 126px;
  }

  .hero-content h1 {
    font-size: 31px;
  }

  .hero-features {
    inset-inline: 10px;
  }

  .hero-feature {
    padding: 9px 6px;
  }

  .hero-feature strong {
    font-size: 9px;
  }

  .hero-feature small {
    font-size: 7px;
  }

  .products-grid {
    gap: 8px;
  }

  .product-body {
    padding: 11px;
  }

  .product-media img {
    padding: 10px;
  }

  .product-title {
    min-height: 43px;
    font-size: 2rem;
  }
}

/* ==========================================================================
   Unified reference UI and responsive overrides
   ========================================================================== */
/* Reference UI skin: matches the approved SAKR wholesale screenshot while preserving app behavior. */
:root {
  --ref-green: #003d2f;
  --ref-green-dark: #002d23;
  --ref-green-soft: #eef4f1;
  --ref-orange: #f56f20;
  --ref-orange-dark: #dc5a0e;
  --ref-text: #10271f;
  --ref-muted: #68756f;
  --ref-border: #d9dfdc;
  --ref-bg: #f7f8f7;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Almarai", Tahoma, Arial, sans-serif !important;
}

html {
  background: #fff;
}

body {
  background: #fff;
  color: var(--ref-text);
  font-size: 14px;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e1e5e3;
  background: rgba(255, 255, 255, .98);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 52, 39, .07);
}

.reference-header {
  display: grid;
  grid-template-areas: "actions categories search brand";
  grid-template-columns: auto minmax(430px, 1fr) minmax(210px, 300px) 178px;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  direction: ltr;
}

.reference-header .brand {
  grid-area: brand;
  justify-self: end;
  align-items: flex-end;
  direction: rtl;
}

.reference-header .brand-logo {
  width: 160px;
  height: 62px;
  object-fit: contain;
  object-position: right center;
}

.reference-header .brand-subtitle {
  margin-top: -4px;
  color: #6f7773;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.reference-header .header-search {
  grid-area: search;
  direction: rtl;
  height: 46px;
  border: 1px solid #cfd6d2;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
}

.reference-header .header-search input {
  padding: 0 14px;
  color: var(--ref-text);
  font-size: 12px;
  text-align: right;
}

.reference-header .header-search>.icon {
  width: 20px;
  height: 20px;
  margin-inline: 0 14px;
  color: var(--ref-green-dark);
}

.reference-header .header-search:focus-within {
  border-color: #76958a;
  box-shadow: 0 0 0 2px rgba(0, 61, 47, .07);
}

.reference-header .search-suggestions {
  direction: rtl;
  border-radius: 4px;
}

.header-categories {
  grid-area: categories;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  min-width: 0;
  height: 74px;
  direction: rtl;
}

.header-categories>a {
  position: relative;
  display: flex;
  flex: 1 1 68px;
  min-width: 60px;
  max-width: 90px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 5px;
  color: #202b27;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.55;
  transition: background .18s ease, color .18s ease;
}

.header-categories>a:hover {
  color: var(--ref-green);
  background: #f4f7f5;
}

.header-categories .icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.header-categories .header-bulk-link {
  align-self: center;
  height: 66px;
  min-width: 70px;
  margin-inline-start: 4px;
  border-radius: 4px;
  color: #fff;
  background: var(--ref-green);
  box-shadow: 0 2px 6px rgba(0, 61, 47, .18);
}

.header-categories .header-bulk-link:hover {
  color: #fff;
  background: var(--ref-green-dark);
}

.reference-actions {
  grid-area: actions;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0;
  direction: rtl;
  margin-top: 6px;
}

.reference-actions .header-action {
  display: flex;
  min-width: 56px;
  height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px 7px;
  border: 0;
  border-radius: 0;
  color: #111d18;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.reference-actions .header-action:hover {
  color: var(--ref-green);
  background: #f5f7f6;
}

.reference-actions .header-action .icon {
  width: 23px;
  height: 23px;
}

.reference-actions .action-badge {
  top: -7px;
  inset-inline-start: -8px;
  min-width: 17px;
  height: 17px;
  border: 1px solid #fff;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.reference-actions .alert-badge {
  background: #f26c21;
}

/* ---------- Home ---------- */
.reference-home {
  padding: 16px 0 30px;
  background: #fff;
}

.reference-home-top {
  margin-bottom: 34px;
}

.reference-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(300px, .98fr);
  grid-template-areas: "main promos";
  gap: 14px;
  min-height: 430px;
  direction: ltr !important;
}

.reference-hero-main {
  grid-area: main;
  min-height: 430px;
  border: 1px solid #d3dbd7;
  border-radius: 6px;
  color: #fff;
  background: var(--ref-green-dark);
  box-shadow: none;
  direction: rtl !important;
}

.reference-hero-main::before {
  background:
    linear-gradient(90deg, rgba(0, 45, 35, .03) 0%, rgba(0, 50, 39, .18) 35%, rgba(0, 50, 39, .76) 67%, rgba(0, 42, 32, .97) 100%),
    linear-gradient(0deg, rgba(0, 36, 27, .60) 0%, transparent 47%);
}

.reference-hero-main::after {
  display: none;
}

.reference-hero-main .hero-slide {
  background-position: center center;
  transform: scale(1.01);
  transition: opacity .55s ease, transform 8s linear;
}

.reference-hero-main .hero-slide.is-active {
  transform: scale(1.025);
}

.reference-hero-main .hero-content {
  width: 54%;
  min-height: 430px;
  padding: 48px 42px 105px 28px;
  margin-inline-start: auto;
  text-align: right;
}

.reference-hero-main .hero-eyebrow {
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 15px;
  background: rgba(255, 255, 255, .09);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 9px;
}

.reference-hero-main .hero-eyebrow::before {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.reference-hero-main .hero-content h1 {
  max-width: 570px;
  margin-bottom: 12px;
  font-size: clamp(31px, 3.2vw, 52px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, .16);
}

.reference-hero-main .hero-content>p {
  max-width: 550px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.95;
}

.reference-hero-main .hero-content .button {
  min-height: 45px;
  padding-inline: 19px;
  border-radius: 4px;
  font-size: 12px;
}

.reference-hero-main .hero-features {
  inset-inline: 24px;
  bottom: 20px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px;
  background: rgba(0, 50, 39, .72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.reference-hero-main .hero-feature {
  justify-content: center;
  gap: 9px;
  padding: 12px 9px;
  text-align: right;
}

.reference-hero-main .hero-feature .icon {
  width: 25px;
  height: 25px;
}

.reference-hero-main .hero-feature strong {
  font-size: 10px;
}

.reference-hero-main .hero-feature small {
  font-size: 8px;
}

.reference-hero-main .hero-controls {
  top: 16px;
  inset-inline-start: 16px;
}

.reference-hero-main .hero-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 55, 43, .56);
  backdrop-filter: none;
}

.reference-hero-main .hero-arrow:hover {
  background: var(--ref-orange);
  transform: none;
}

.reference-hero-main .hero-dots {
  top: auto;
  right: auto;
  bottom: 18px;
  left: 18px;
  direction: ltr;
}

.reference-hero-main .hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.reference-hero-main .hero-dot.is-active {
  width: 24px;
  border-radius: 8px;
}

.reference-promo-stack {
  grid-area: promos;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  direction: rtl !important;
}

.reference-promo-card {
  min-height: 0;
  border: 1px solid #d4dcda;
  border-radius: 6px;
  box-shadow: none;
  background: #eef2f1;
}

.reference-promo-card img {
  z-index: -2;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.reference-promo-card .promo-content {
  position: relative;
  z-index: 2;
  width: 66%;
  height: 100%;
  margin: 0;
  padding: 23px 22px;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
}

.reference-promo-card .promo-label {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 8px;
  font-weight: 800;
}

.reference-promo-card .promo-content h3 {
  margin: 8px 0 5px;
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 800;
  line-height: 1.5;
}

.reference-promo-card .promo-content p {
  margin-bottom: 15px;
  font-size: 9px;
  line-height: 1.7;
}

.reference-promo-card .promo-content .button {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 4px;
  font-size: 9px;
}

.reference-promo-light::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(244, 247, 246, .22), rgba(244, 247, 246, .83) 55%, #f4f7f6 100%);
}

.reference-promo-light .promo-content {
  margin-inline-start: auto;
  color: var(--ref-text);
}

.reference-promo-light .promo-label {
  color: var(--ref-green-dark);
  background: rgba(255, 255, 255, .86);
}

.reference-promo-dark::before {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 48, 37, .25), rgba(0, 48, 37, .83) 57%, rgba(0, 40, 31, .96) 100%);
}

.reference-promo-dark .promo-content {
  margin-inline-start: auto;
  color: #fff;
}

.reference-promo-dark .promo-content p {
  color: rgba(255, 255, 255, .73);
}

.reference-promo-dark .promo-label {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.reference-promo-card:hover img {
  transform: scale(1.015);
}

/* ---------- Product section/cards ---------- */
.reference-products-section {
  margin-top: 0;
}

.reference-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cfd7d3;
  direction: rtl;
}

.reference-section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ref-green-dark);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 800;
}

.reference-section-head h2 .icon {
  width: 25px;
  height: 25px;
}

.reference-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f5d57;
  font-size: 10px;
  font-weight: 700;
}

.reference-section-head a:hover {
  color: var(--ref-orange-dark);
}

.reference-section-head a .icon {
  width: 14px;
  height: 14px;
}

.reference-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  direction: rtl;
}

.reference-product-card {
  border: 1px solid #d7ddda;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.reference-product-card:hover {
  border-color: #9eb1a9;
  box-shadow: 0 4px 12px rgba(0, 54, 41, .05);
  transform: none;
}

.reference-product-card .product-media {
  aspect-ratio: 1.6/1;
  border-bottom: 1px solid #e5e9e7;
  background: #fbfcfb;
}

.reference-product-card .product-media::after {
  display: none;
}

.reference-product-card .product-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.reference-product-card .product-media img {
  width: 100%;
  height: 100%;
  padding: 17px 24px 13px;
  object-fit: contain;
  transform: none !important;
}

.reference-product-card .stock-badge {
  top: 10px;
  inset-inline-start: 10px;
  min-height: 23px;
  padding: 5px 7px;
  border-radius: 3px;
  box-shadow: none;
  font-size: 8px;
}

.reference-product-card .stock-badge::before {
  display: none;
}

.reference-product-card .product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 13px 12px;
}

.reference-product-card .product-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
  color: #2f765f;
  font-size: 9px;
  font-weight: 700;
}

.reference-product-card .product-category .icon {
  width: 16px;
  height: 16px;
}

.reference-product-card .product-title {
  min-height: 42px;
  margin: 0 0 2px;
  color: var(--ref-text);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.75;
}

.reference-product-card .product-pack {
  margin-bottom: 7px;
  color: #7a8680;
  font-size: 9px;
}

.reference-product-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid #edf0ee;
  direction: rtl;
}

.reference-sku {
  color: #6d7873;
  font-size: 8px;
  white-space: nowrap;
}

.reference-sku bdi {
  font-family: Arial, sans-serif;
}

.reference-product-card .product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ref-green-dark);
  direction: rtl;
  white-space: nowrap;
}

.reference-product-card .product-price strong {
  font-family: Arial, Tahoma, sans-serif !important;
  font-size: 16px;
  font-weight: 700;
  direction: ltr;
}

.reference-product-card .product-price span {
  color: #4f5f58;
  font-size: 8px;
}

.reference-old-price {
  margin-top: 2px;
  color: #8c9691;
  font-size: 8px;
  text-align: left;
}

.reference-product-card .product-minimum {
  margin: 5px 0 7px;
  color: #6d7772;
  font-size: 7px;
  text-align: right;
}

.reference-qty-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  direction: rtl;
}

.reference-unit {
  color: #52615a;
  font-size: 8px;
}

.reference-product-card .qty-control {
  min-height: 31px;
  border: 1px solid #d5dbd8;
  border-radius: 3px;
  background: #fff;
}

.reference-product-card .qty-button {
  width: 31px;
  border-radius: 0;
}

.reference-product-card .qty-button .icon {
  width: 12px;
  height: 12px;
}

.reference-product-card .qty-value {
  font-family: Arial, Tahoma, sans-serif !important;
  font-size: 10px;
}

.reference-product-card .product-add {
  min-height: 34px;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 3px;
  background: var(--ref-green);
  box-shadow: none;
  font-size: 9px;
}

.reference-product-card .product-add:hover {
  background: var(--ref-green-dark);
}

.reference-product-card .product-add:disabled {
  color: #8a938f;
  background: #e4e8e6;
}

/* ---------- Logistics ---------- */
.reference-logistics-section {
  margin-top: 22px;
}

.reference-logistics-banner {
  display: grid;
  grid-template-columns: minmax(350px, .78fr) minmax(0, 1.45fr);
  min-height: 205px;
  border: 1px solid #d6ddda;
  border-radius: 4px !important;
  overflow: hidden;
  background: linear-gradient(90deg, #eef3f1 0%, #f8faf9 66%, #edf3f0 100%);
  box-shadow: none !important;
  direction: ltr !important;
}

.reference-logistics-banner .logistics-image {
  min-height: 205px;
  direction: rtl;
}

.reference-logistics-banner .logistics-image::after {
  background: linear-gradient(90deg, transparent 52%, #eef3f1 100%);
}

.reference-logistics-banner .logistics-image img {
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
  transform: none !important;
}

.reference-logistics-banner .logistics-content {
  justify-content: center;
  padding: 22px 30px;
  direction: rtl !important;
  text-align: right;
}

.reference-logistics-banner .logistics-content h2 {
  margin-bottom: 6px;
  color: var(--ref-green-dark);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
}

.reference-logistics-banner .logistics-content>p {
  margin-bottom: 15px;
  color: #63706a;
  font-size: 9px;
  line-height: 1.8;
}

.reference-logistics-banner .logistics-features {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.reference-logistics-banner .logistics-feature {
  padding-inline: 6px;
  text-align: center;
}

.reference-logistics-banner .logistics-feature .icon {
  width: 25px;
  height: 25px;
  margin: 0 auto 4px;
}

.reference-logistics-banner .logistics-feature strong {
  font-size: 9px;
}

.reference-logistics-banner .logistics-feature small {
  margin-top: 2px;
  color: #6f7a75;
  font-size: 7px;
}

.reference-logistics-button {
  align-self: flex-end;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 3px;
  font-size: 8px;
}

/* ---------- Footer ---------- */
.reference-footer {
  margin-top: 18px;
  border-top: 1px solid #dfe4e1;
  background: #fff;
}

.reference-footer-benefits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 17px 0;
  direction: rtl;
}

.reference-footer-benefits>div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 3px 13px;
  border-inline-start: 1px solid #e4e8e6;
}

.reference-footer-benefits>div:last-child {
  border-inline-start: 0;
}

.reference-footer-benefits .benefit-icon {
  width: 30px;
  height: 30px;
  color: var(--ref-green-dark);
}

.reference-footer-benefits .benefit-icon .icon {
  width: 22px;
  height: 22px;
}

.reference-footer-benefits p {
  margin: 0;
  line-height: 1.55;
}

.reference-footer-benefits strong {
  display: block;
  color: #26352f;
  font-size: 8px;
}

.reference-footer-benefits small {
  display: block;
  color: #7b8580;
  font-size: 6.5px;
}

.reference-footer-bar {
  background: var(--ref-green);
  color: rgba(255, 255, 255, .88);
}

.reference-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
  gap: 18px;
  direction: rtl;
  font-size: 8px;
}

.reference-footer-inner p {
  margin: 0;
  text-align: center;
}

.reference-footer-links,
.reference-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.reference-footer-social {
  justify-content: flex-end;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 8px;
}

.reference-footer-inner a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Shared classic treatment for internal pages ---------- */
.page-hero,
.filter-panel,
.catalog-toolbar,
.product-gallery,
.product-detail-info,
.detail-price-box,
.detail-order-box,
.product-tabs,
.cart-list,
.cart-summary,
.checkout-form,
.checkout-summary,
.account-card,
.account-welcome,
.stat-card,
.order-card,
.auth-card,
.contact-card,
.quick-modal,
.side-drawer,
.toast,
.flash-panel {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.button,
.icon-button,
.form-control,
.sort-select,
.toolbar-search,
.price-range-row input,
.promo-code input,
.promo-code button,
.qty-control {
  border-radius: 3px !important;
}

.button {
  box-shadow: none !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.button:hover {
  transform: none !important;
}

.button::after {
  display: none !important;
}

.page-hero {
  background: #f1f5f3;
}

.page-hero h1 {
  font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .container {
    width: min(100% - 34px, 1280px);
  }

  .reference-header {
    grid-template-columns: auto minmax(365px, 1fr) minmax(190px, 250px) 158px;
    gap: 9px;
  }

  .reference-header .brand-logo {
    width: 142px;
  }

  .header-categories>a {
    min-width: 54px;
    padding-inline: 3px;
    font-size: 8px;
  }

  .header-categories .icon {
    width: 22px;
    height: 22px;
  }

  .reference-actions .header-action {
    min-width: 49px;
    padding-inline: 4px;
  }

  .reference-hero-grid {
    grid-template-columns: minmax(0, 1.95fr) minmax(280px, .9fr);
  }

  .reference-hero-main .hero-content {
    width: 58%;
  }
}

@media (max-width: 1080px) {
  .reference-header {
    grid-template-columns: auto minmax(300px, 1fr) minmax(180px, 220px) 145px;
  }

  .header-categories>a {
    min-width: 48px;
    font-size: 7.5px;
  }

  .reference-actions .header-action span:not(.icon-wrap) {
    display: none;
  }

  .reference-actions .header-action {
    min-width: 37px;
    height: 60px;
  }

  .reference-actions .header-action .icon {
    width: 21px;
    height: 21px;
  }

  .reference-hero-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(270px, .85fr);
  }

  .reference-hero-main .hero-content {
    width: 64%;
    padding-inline-start: 30px;
  }

  .reference-promo-card .promo-content {
    width: 72%;
    padding-inline: 16px;
  }

  .reference-products-grid {
    gap: 10px;
  }

  .reference-product-card .product-media img {
    padding-inline: 16px;
  }
}

/* Preserve the Arabic reading order after consolidating the former override file. */
.reference-header {
  direction: rtl;
  grid-template-areas: "brand search categories actions";
}

.reference-header .brand {
  justify-self: start;
  align-items: flex-start;
  text-align: right;
}

.header-categories,
.reference-actions,
.reference-header .header-search {
  direction: rtl;
}

.reference-hero-grid {
  direction: rtl !important;
  grid-template-areas: none;
}

.reference-hero-main {
  grid-area: auto;
  grid-column: 1;
  grid-row: 1;
}

.reference-promo-stack {
  grid-area: auto;
  grid-column: 2;
  grid-row: 1;
}

.reference-hero-main .hero-content,
.reference-promo-light .promo-content,
.reference-promo-dark .promo-content {
  margin-inline-start: 0;
  margin-inline-end: auto;
  text-align: right;
}

.reference-product-card .product-minimum {
  font-size: 9.5px;
}

.reference-unit {
  font-size: 9.5px;
}

.reference-product-card .qty-value {
  font-size: 11px;
}

.reference-product-card .product-add {
  font-size: 10.5px;
}

.reference-logistics-banner .logistics-content h2 {
  font-size: clamp(18px, 1.65vw, 24px);
}

.reference-logistics-banner .logistics-content>p {
  font-size: 11px;
}

.reference-logistics-banner .logistics-feature strong {
  font-size: 10px;
}

.reference-logistics-banner .logistics-feature small {
  font-size: 8.5px;
}

.reference-logistics-button {
  font-size: 9.5px;
}

/* Compact the desktop header without changing its visual language. */
.reference-header {
  min-height: 80px;
}

.reference-header .brand-logo {
  width: 145px;
  height: 54px;
}

.reference-header .brand-subtitle {
  font-size: 9px;
}

.reference-header .header-search {
  height: 42px;
}

.reference-header .header-search input {
  font-size: 11px;
}

.header-categories {
  height: 64px;
}

.header-categories>a {
  min-width: 56px;
  max-width: 84px;
  padding: 6px 4px;
  gap: 4px;
  font-size: 8px;
}

.header-categories .icon {
  width: 21px;
  height: 21px;
}

.header-categories>a.is-active {
  min-height: 58px;
}

.reference-actions .header-action {
  min-width: 52px;
  height: 62px;
  font-size: 8px;
}

.reference-actions .header-action .icon {
  width: 21px;
  height: 21px;
}

/* Restore a proper branded breadcrumb/page banner (the light override made white text disappear). */
.page-hero {
  padding: 28px 0 30px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(0, 39, 30, .98), rgba(0, 79, 61, .84)),
    url('../images/brand-texture.webp') center/cover;
}

.page-hero::before {
  display: block;
}

.breadcrumbs {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.breadcrumbs a {
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.45;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.85;
}

/* Internal page copy gets readable sizing while display titles remain restrained. */
.filter-head h3 {
  font-size: 15px;
}

.filter-head button {
  font-size: 12px;
}

.filter-group h4 {
  font-size: 13px;
}

.filter-option {
  font-size: 13px;
}

.filter-option b {
  font-size: 10px;
}

.price-range-row label {
  font-size: 10px;
}

.catalog-result-count {
  font-size: 13px;
}

.sort-select,
.toolbar-search {
  font-size: 12px;
}

.active-filter-chips {
  font-size: 12px;
}

.product-detail-info h1 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.detail-pack {
  font-size: 14px;
}

.detail-rating-row {
  font-size: 12px;
}

.product-tabs,
.cart-list,
.cart-summary,
.checkout-form,
.checkout-summary,
.account-card,
.order-card,
.contact-card {
  font-size: 14px;
}

.account-welcome h2,
.contact-card h2 {
  font-size: 20px;
}

@media (max-width: 1320px) {
  .reference-header {
    grid-template-columns: 158px minmax(190px, 250px) minmax(365px, 1fr) auto;
  }

  .reference-header .brand-logo {
    width: 136px;
    height: 50px;
  }
}

@media (max-width: 1080px) {
  .reference-header {
    grid-template-columns: 145px minmax(180px, 220px) minmax(300px, 1fr) auto;
  }

  .header-categories>a {
    min-width: 46px;
    font-size: 7.5px;
  }

  .header-categories>a.is-active {
    min-height: 54px;
  }
}

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

  .reference-hero-main {
    grid-column: 1;
    grid-row: 1;
  }

  .reference-promo-stack {
    grid-column: 1;
    grid-row: 2;
  }

  .reference-hero-main .hero-content {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  .page-hero {
    padding: 23px 0 25px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 14px;
  }

  .reference-hero-main .hero-content h1 {
    font-size: 26px;
    line-height: 1.48;
  }

  .reference-hero-main .hero-content>p {
    font-size: 12px;
  }

  .reference-promo-card .promo-content p {
    font-size: 10.5px;
  }

  .reference-section-head h2 {
    font-size: 17px;
  }

  .reference-section-head a {
    font-size: 9.5px;
  }

  .reference-product-card .product-title {
    font-size: 1.5rem;
  }

  .reference-product-card .product-minimum,
  .reference-product-card .product-price span,
  .reference-sku,
  .reference-unit {
    font-size: 9px;
  }

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

  .page-hero p {
    font-size: 12px;
  }

  .breadcrumbs {
    font-size: 11px;
  }
}

/* ========================================================================== 
   Navigation, readable type, and unified responsive behavior
   ========================================================================== */

html {
  overflow-x: hidden;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.8;
}

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

main,
.page-shell,
.catalog-main,
.product-detail-info,
.cart-list,
.checkout-form,
.account-main,
.contact-card,
.reference-logistics-banner>* {
  min-width: 0;
}

/* Seven equal navigation cells keep the new Home item stable at every desktop width. */
.reference-header {
  grid-template-columns: minmax(126px, 158px) minmax(180px, 250px) minmax(420px, 1fr) auto;
  gap: clamp(6px, .8vw, 13px);
}

.header-categories {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  height: 70px;
  padding: 3px;
  gap: 2px;
  border: 1px solid #dce3df;
  border-radius: 6px;
  background: #f6f8f7;
}

.header-categories>a,
.header-categories .header-bulk-link {
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 100%;
  min-height: 62px;
  margin: 0;
  padding: 6px 2px;
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 1.35;
}

.header-categories .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.8;
}

.header-categories .header-bulk-link {
  color: #202b27;
  background: transparent;
  box-shadow: none;
}

.header-categories .header-bulk-link:hover {
  color: var(--ref-green);
  background: #edf3f0;
}

.header-categories>a.is-active,
.header-categories>a.is-active:hover,
.header-categories .header-bulk-link.is-active,
.header-categories .header-bulk-link.is-active:hover {
  align-self: stretch;
  height: 100%;
  min-height: 62px;
  color: #fff;
  background: var(--ref-green);
}

.header-categories>a.is-active .icon,
.header-categories .header-bulk-link.is-active .icon {
  color: #fff;
}

.reference-actions {
  height: 70px;
  padding-inline: 2px;
  border: 1px solid #dce3df;
  border-radius: 6px;
  overflow: hidden;
  background: #f6f8f7;
}

.reference-actions .header-action {
  height: 66px;
  font-size: 10px;
}

.reference-actions .header-action .icon {
  width: 25px;
  height: 25px;
}

/* Larger content copy while keeping dense navigation controls compact. */
.reference-hero-main .hero-content>p {
  font-size: 15px;
}

.reference-hero-main .hero-feature strong {
  font-size: 12px;
}

.reference-hero-main .hero-feature small {
  font-size: 10px;
}

.reference-promo-card .promo-content p {
  font-size: 13px;
}

.reference-promo-card .promo-label,
.reference-promo-card .promo-content .button,
.reference-section-head a {
  font-size: 11px;
}

.reference-product-card .product-category {
  font-size: 11px;
}

.reference-product-card .product-title {
  min-height: 34px;
  margin-bottom: 4px;
  font-size: 1.5rem;
  line-height: 1.55;
}

.reference-product-card .product-pack {
  font-size: 12px;
}

.reference-sku,
.reference-product-card .product-price span,
.reference-old-price,
.reference-product-card .product-minimum,
.reference-unit {
  font-size: 11px;
}

.reference-product-card .product-price strong {
  font-size: 20px;
}

.reference-product-card .qty-value {
  font-size: 13px;
}

.reference-product-card .product-add {
  min-height: 40px;
  font-size: 12px;
}

/* Compact card rhythm: less empty media/body space and consistent control gaps. */
.reference-products-grid {
  gap: 16px;
}

.reference-product-card .product-media {
  aspect-ratio: 1.85 / 1;
}

.reference-product-card .product-media img {
  padding: 12px 20px;
}

.reference-product-card .product-body {
  padding: 14px;
  line-height: 1.55;
}

.reference-product-card .product-pack {
  margin-bottom: 8px;
  line-height: 1.5;
}

.reference-product-row {
  margin-top: 0;
  padding-top: 9px;
}

.reference-product-card .product-price,
.reference-product-card .product-price strong,
.reference-product-card .product-price span {
  line-height: 1.2;
}

.reference-old-price,
.reference-product-card .product-minimum {
  line-height: 1.45;
}

.reference-product-card .product-minimum {
  margin-block: 6px;
}

.reference-qty-line {
  margin-bottom: 6px;
}

.reference-product-card .product-add {
  margin-top: 0;
}

.reference-logistics-banner .logistics-content>p {
  font-size: 14px;
}

.reference-logistics-banner .logistics-feature strong {
  font-size: 12px;
}

.reference-logistics-banner .logistics-feature small,
.reference-logistics-button {
  font-size: 10px;
}

.reference-footer-benefits strong {
  font-size: 10.5px;
}

.reference-footer-benefits small,
.reference-footer-inner,
.reference-footer-social {
  font-size: 9px;
}

.page-hero p,
.product-tabs,
.cart-list,
.cart-summary,
.checkout-form,
.checkout-summary,
.account-card,
.order-card,
.contact-card {
  font-size: 15px;
}

.breadcrumbs,
.catalog-result-count,
.filter-option,
.sort-select,
.toolbar-search,
.active-filter-chips,
.detail-rating-row {
  font-size: 13px;
}

.filter-head h3 {
  font-size: 16px;
}

.filter-group h4 {
  font-size: 14px;
}

.form-control,
.choice-card,
.promo-code input,
.promo-code button {
  font-size: 14px;
}

.mobile-menu-content>a.is-active,
.mobile-menu-content #mobileCategories a.is-active {
  color: var(--ref-green);
  background: #eaf3ef;
}

@media (min-width: 961px) and (max-width: 1180px) {
  .reference-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  .reference-header {
    grid-template-columns: 126px 180px minmax(420px, 1fr) 138px;
    gap: 6px;
  }

  .reference-actions .header-action {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
}

/* Use one breakpoint for the complete mobile shell and every page layout. */
@media (max-width: 960px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100% - 30px, 820px);
  }

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

  .mobile-header,
  .mobile-search-wrap {
    display: flex !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 300;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 90px;
    padding: 5px;
    border-top: 1px solid #d5ddd9;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -8px 24px rgba(0, 42, 32, .1);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button,
  .mobile-bottom-nav .mobile-order-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 56px;
    padding: 4px 2px;
    border: 0;
    color: #66736d;
    background: transparent;
    box-shadow: none;
    transform: none;
    border-radius: 5px !important;
    font-size: 11px;
    font-weight: 700;
  }

  .mobile-bottom-nav a.is-active,
  .mobile-bottom-nav button.is-active,
  .mobile-bottom-nav .mobile-order-button.is-active {
    color: var(--ref-green);
    background: #eaf3ef;
  }

  .mobile-bottom-nav .icon,
  .mobile-bottom-nav .mobile-order-button .icon {
    width: 26px;
    height: 26px;
  }

  .mobile-menu-content>a,
  .mobile-menu-content #mobileCategories a {
    gap: 13px;
    min-height: 54px;
    font-size: 15px;
  }

  .mobile-menu-content .icon {
    width: 24px;
    height: 24px;
  }

  .reference-home {
    padding-top: 12px;
  }

  .reference-hero-main,
  .reference-hero-main .hero-content {
    min-height: 440px;
  }

  .reference-promo-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 220px;
  }

  .reference-products-grid,
  .products-grid,
  .catalog-main .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-layout,
  .product-detail-grid,
  .cart-page-grid,
  .checkout-grid,
  .account-layout,
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .filter-panel {
    position: fixed;
    z-index: 502;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 92vw);
    max-height: none;
    overflow-y: auto;
    border-radius: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(104%);
    transition: opacity .25s ease, visibility .25s ease, transform .3s ease;
  }

  .filter-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

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

  .product-gallery,
  .summary-card,
  .account-sidebar {
    position: static;
  }

  .account-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .account-nav::-webkit-scrollbar {
    display: none;
  }

  .account-nav a {
    flex: 0 0 auto;
  }

  .account-profile-mini {
    display: none;
  }

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

  .reference-footer-benefits>div:nth-child(4) {
    border-inline-start: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .mobile-header {
    min-height: 58px;
  }

  .mobile-header .icon-button {
    width: 44px;
    height: 44px;
  }

  .mobile-brand img {
    width: 82px;
  }

  .mobile-search-wrap {
    padding-bottom: 9px;
  }

  .mobile-search {
    min-height: 42px;
    font-size: 12px;
  }

  .reference-home-top {
    margin-bottom: 28px;
  }

  .reference-hero-main,
  .reference-hero-main .hero-content {
    min-height: 430px;
  }

  .reference-hero-main .hero-content {
    padding: 30px 18px 118px;
  }

  .reference-hero-main .hero-content h1 {
    max-width: 420px;
    font-size: clamp(25px, 8vw, 32px);
  }

  .reference-hero-main .hero-content>p {
    font-size: 14px;
    line-height: 1.85;
  }

  .reference-hero-main .hero-feature strong {
    font-size: 9px;
  }

  .reference-promo-stack {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(205px, auto));
  }

  .reference-promo-card .promo-content {
    width: 72%;
  }

  .reference-promo-card .promo-content p {
    font-size: 12px;
  }

  .reference-products-grid,
  .products-grid,
  .catalog-main .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .reference-product-card {
    display: grid;
    grid-template-columns: minmax(145px, 40%) minmax(0, 1fr);
    direction: ltr;
  }

  .reference-product-card .product-media {
    min-height: 245px;
    border-right: 1px solid #e5e9e7;
    border-bottom: 0;
    direction: rtl;
  }

  .reference-product-card .product-body {
    padding: 14px 12px;
    direction: rtl;
  }

  .reference-product-card .product-title {
    min-height: 0;
    font-size: 1.5rem;
    line-height: 1.55;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .toolbar-search {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  .sort-select {
    min-width: 0;
    width: 100%;
  }

  .page-hero {
    padding: 22px 0 24px;
  }

  .page-hero h1 {
    font-size: clamp(23px, 7vw, 28px);
  }

  .page-hero p {
    font-size: 13px;
  }

  .product-detail-info,
  .detail-order-box,
  .product-tabs,
  .cart-list,
  .cart-summary,
  .checkout-form,
  .checkout-summary,
  .account-card,
  .account-welcome,
  .order-card,
  .auth-card,
  .contact-card {
    padding-inline: 16px;
  }

  .detail-price-box,
  .detail-qty-row,
  .detail-highlights,
  .form-grid,
  .choice-grid,
  .success-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-price-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .stock-meter {
    width: 100%;
    min-width: 0;
  }

  .cart-item {
    position: relative;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .cart-item .qty-control,
  .cart-item-total {
    grid-column: 2;
  }

  .cart-item-total {
    text-align: right;
  }

  .remove-item {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .checkout-step {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 9px;
  }

  .order-timeline {
    grid-template-columns: repeat(5, 100px);
    justify-content: start;
    overflow-x: auto;
  }

  .order-timeline::before {
    display: none;
  }

  .order-card-foot,
  .success-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .order-card-foot>div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .quick-modal {
    width: min(100% - 24px, 560px);
    max-height: calc(100dvh - 24px);
  }

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

  .tabs-head {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .tab-button {
    min-width: 0;
    padding-inline: 5px;
    font-size: 11px;
    line-height: 1.5;
    white-space: normal;
  }

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

  .reference-logistics-banner .logistics-content {
    padding: 22px 18px;
  }

  .reference-logistics-banner .logistics-content>p {
    font-size: 13px;
  }

  .reference-footer-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-footer-benefits>div,
  .reference-footer-benefits>div:nth-child(4) {
    border-inline-start: 1px solid #e4e8e6;
  }

  .reference-footer-benefits>div:nth-child(odd) {
    border-inline-start: 0;
  }

  .reference-footer-benefits strong {
    font-size: 11px;
  }

  .reference-footer-benefits small {
    font-size: 9.5px;
  }

  .reference-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 14px;
    font-size: 10px;
    text-align: center;
  }

  .reference-footer-links,
  .reference-footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .reference-footer-social {
    display: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 18px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button,
  .mobile-bottom-nav .mobile-order-button {
    font-size: 10px;
  }

  .reference-hero-main,
  .reference-hero-main .hero-content {
    min-height: 450px;
  }

  .reference-hero-main .hero-content {
    padding-inline: 14px;
  }

  .reference-hero-main .hero-features {
    inset-inline: 7px;
  }

  .reference-hero-main .hero-feature {
    padding-inline: 3px;
  }

  .reference-product-card {
    display: flex;
    flex-direction: column;
  }

  .reference-product-card .product-media {
    min-height: 210px;
    aspect-ratio: 1.45 / 1;
    border-right: 0;
    border-bottom: 1px solid #e5e9e7;
  }

  .reference-product-card .product-body {
    padding: 14px;
  }

  .reference-product-card .product-title {
    font-size: 1.5rem;
  }

  .reference-logistics-banner .logistics-features,
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .reference-footer-benefits>div,
  .reference-footer-benefits>div:nth-child(odd),
  .reference-footer-benefits>div:nth-child(4) {
    justify-content: flex-start;
    border-inline-start: 0;
    border-top: 1px solid #e4e8e6;
  }

  .reference-footer-benefits>div:first-child {
    border-top: 0;
  }

  .cart-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .countdown {
    flex-wrap: wrap;
  }
}

.classic-offer-benefits > div {
  flex-wrap: wrap;
}

.classic-offer-benefits .classic-offer-actions {
  width: 100%;
  margin-top: 10px;
}
