:root {
  --ink: #18342b;
  --muted: #64746c;
  --line: #dfe8df;
  --leaf: #1f6b43;
  --leaf-dark: #12432d;
  --mint: #eaf5e9;
  --cream: #faf7ee;
  --paper: #fffdf8;
  --gold: #c19a4a;
  --shadow: 0 24px 80px rgba(24, 52, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Noto Sans Arabic", Arial, sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(31, 107, 67, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.brand-logo {
  width: auto;
  height: 44px;
  max-width: 110px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}

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

.desktop-nav,
.header-actions,
.hero-actions,
.strip,
.footer-links {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 30px;
  color: #385348;
  font-weight: 700;
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--leaf);
}

.header-actions {
  gap: 10px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  min-height: 34px;
  padding: 6px 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher button.active {
  color: #fff;
  background: var(--leaf);
}

.icon-button,
.cart-button,
.close-button,
.qty-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
}

.cart-icon {
  font-size: 13px;
  font-weight: 800;
}

.cart-total {
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: #fff;
  background: var(--leaf);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mobile-menu {
  position: fixed;
  inset: 84px 16px auto 16px;
  z-index: 18;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
}

.mobile-menu a:hover {
  background: var(--mint);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  padding: clamp(24px, 4vw, 54px) clamp(18px, 4vw, 56px) 52px;
  background:
    linear-gradient(115deg, rgba(234, 245, 233, 0.9), rgba(255, 253, 248, 0.78) 46%, rgba(250, 247, 238, 0.98)),
    var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 3;
  order: 2;
  width: min(100%, 1180px);
  max-width: 1180px;
  padding-top: clamp(24px, 4vw, 44px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-family: Manrope, "Noto Sans Arabic", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.feature-copy p,
.usage-grid p,
.commerce-grid p,
.site-footer p,
.checkout-note {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 820px;
  margin-inline: auto;
  font-size: 20px;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.taste-signature {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 14px auto 0;
}

.taste-signature strong {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, var(--leaf-dark), var(--leaf), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(31, 107, 67, 0.14);
}

.taste-signature span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  color: var(--leaf-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 107, 67, 0.16);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(31, 107, 67, 0.1);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.35;
}

.taste-signature strong::after {
  content: "";
  display: block;
  width: 72%;
  height: 8px;
  margin-top: 8px;
  background: linear-gradient(90deg, rgba(31, 107, 67, 0.18), rgba(193, 154, 74, 0.38), transparent);
  border-radius: 999px;
}

.primary-button,
.secondary-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.primary-button,
.add-button {
  color: #fff;
  background: var(--leaf);
}

.primary-button:hover,
.add-button:hover {
  background: var(--leaf-dark);
}

.secondary-button {
  color: var(--leaf);
  background: transparent;
  border-color: rgba(31, 107, 67, 0.28);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin: 0;
}

.quick-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 107, 67, 0.14);
  border-radius: 8px;
}

.quick-stats dt {
  font-family: Manrope, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.quick-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  z-index: 2;
  order: 1;
  top: auto;
  right: auto;
  width: min(100%, 1520px);
  transform: none;
}

.hero-media img {
  height: clamp(420px, 62vh, 720px);
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  image-rendering: auto;
}

.hero-image-button {
  position: absolute;
  right: clamp(16px, 2.6vw, 34px);
  bottom: clamp(16px, 2.6vw, 34px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  color: #fff;
  background: rgba(18, 67, 45, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(24, 52, 43, 0.24);
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-image-button:hover {
  background: var(--leaf);
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  min-width: 160px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(24, 52, 43, 0.2);
}

.floating-note strong {
  font-family: Manrope, sans-serif;
  font-size: 26px;
}

.floating-note span {
  color: var(--muted);
  font-size: 13px;
}

.strip {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px;
  color: #fff;
  background: var(--leaf-dark);
}

.strip span {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-weight: 700;
}

.shop-section,
.usage-section,
.commerce-section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.brand-note-section {
  padding: 0 clamp(18px, 5vw, 76px) clamp(24px, 4vw, 42px);
  background: var(--paper);
}

.shop-highlight {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px clamp(18px, 3vw, 28px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(234, 245, 233, 0.92), rgba(255, 253, 248, 0.96)),
    #fff;
  border: 1px solid rgba(31, 107, 67, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(24, 52, 43, 0.1);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.shop-highlight::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px 0;
  width: 5px;
  background: linear-gradient(180deg, var(--leaf), var(--gold));
  border-radius: 8px 0 0 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fffdfa 0%, #f4f8ef 100%);
}

.product-meta {
  color: var(--leaf);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price {
  display: block;
  margin: 12px 0;
  color: var(--leaf-dark);
  font-family: Manrope, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.product-card p {
  color: var(--muted);
  line-height: 1.75;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.quantity {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.qty-button {
  width: 42px;
  height: 48px;
  border-width: 0;
  background: #fff;
  font-size: 20px;
}

.quantity span {
  min-width: 38px;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 76px);
  background: var(--mint);
}

.commerce-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.commerce-grid article {
  min-height: 260px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.commerce-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--leaf);
  border-radius: 50%;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.feature-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.feature-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-collage img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(24, 52, 43, 0.12);
}

.feature-copy {
  max-width: 720px;
}

.stevia-origin-media,
.stevia-origin-copy {
  align-self: center;
}

.stevia-origin-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stevia-origin-collage img {
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(24, 52, 43, 0.13);
}

.stevia-origin-copy {
  max-width: 720px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 14px 12px 46px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(31, 107, 67, 0.12);
  border-radius: 6px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--leaf);
  font-weight: 900;
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.usage-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.usage-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.usage-grid h3,
.usage-grid p {
  padding-inline: 18px;
}

.usage-grid h3 {
  margin-top: 18px;
}

.usage-grid p {
  padding-bottom: 20px;
}

.gallery-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 clamp(18px, 5vw, 76px) clamp(56px, 8vw, 100px);
}

.gallery-section img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(18px, 5vw, 76px);
  background: #102f22;
  color: #fff;
}

.site-footer p,
.footer-brand small {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand .brand-logo {
  height: 48px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.18));
}

.footer-links {
  gap: 22px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(16, 47, 34, 0.42);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(430px, 100vw);
  height: 100vh;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

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

.drawer-header,
.drawer-footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.checkout-options,
.checkout-form {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-options label,
.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.checkout-options select,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form .field-error {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.close-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.cart-items {
  overflow: auto;
  padding: 10px 20px;
}

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

.cart-line img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.cart-line h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.cart-line p {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: Manrope, sans-serif;
  font-weight: 800;
}

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

.subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 18px;
}

.full-width {
  width: 100%;
}

.checkout-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
}

.empty-cart {
  padding: 36px 0;
  color: var(--muted);
  text-align: center;
}

.lang-ar {
  text-align: right;
}

.lang-ar .brand,
.lang-ar .product-meta {
  direction: ltr;
}

.lang-ar .hero-actions,
.lang-ar .header-actions,
.lang-ar .line-controls,
.lang-ar .product-actions {
  direction: rtl;
}

.lang-ar .hero-copy {
  margin-left: auto;
  margin-right: auto;
}

.lang-ar .hero-media {
  left: auto;
  right: auto;
}

.lang-ar .hero-image-button {
  right: auto;
  left: clamp(16px, 2.6vw, 34px);
}

.lang-ar .checkout-options select,
.lang-ar .checkout-form input,
.lang-ar .checkout-form textarea {
  text-align: right;
}

.lang-ar .shop-highlight::before {
  right: 0;
  left: auto;
  border-radius: 0 8px 8px 0;
}

.content-page {
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 76px);
  background: var(--paper);
}

.content-page article {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-page h1 {
  font-size: clamp(36px, 5vw, 64px);
}

.page-content {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.page-content h2,
.page-content h3 {
  color: var(--ink);
}

.page-content a {
  color: var(--leaf);
  font-weight: 800;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .language-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .icon-button {
    display: block;
  }

  .hero,
  .feature-band,
  .product-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: 100%;
    padding-top: 24px;
  }

  .hero-media {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center;
    background: rgba(255, 253, 248, 0.72);
  }

  .hero-image-button {
    right: 14px;
    bottom: 14px;
    min-height: 42px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .product-grid,
  .usage-grid,
  .commerce-grid {
    grid-template-columns: 1fr;
  }

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

  .stevia-origin-media,
  .stevia-origin-copy {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand small,
  .cart-total {
    display: none;
  }

  .brand-logo {
    height: 38px;
    max-width: 96px;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

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

  .floating-note {
    right: 10px;
    bottom: 10px;
  }

  .product-card {
    padding: 14px;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
