﻿:root {
  --bg: #eef3ff;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --ink: #192548;
  --muted: #5e6a8c;
  --primary: #2f4cb3;
  --primary-2: #4066da;
  --line: #d7dff5;
  --accent: #35b6c4;
  --footer: #29357d;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 52px rgba(39, 65, 146, 0.16);
  --shadow-md: 0 12px 28px rgba(30, 51, 120, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html {
  --header-offset: 120px;
  scroll-padding-top: var(--header-offset);
}

main section[id],
footer#contact {
  scroll-margin-top: var(--header-offset);
}

body {
  font-family: "Manrope", "Cairo", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 10%, rgba(64, 102, 218, 0.2), transparent 28%),
    radial-gradient(circle at 100% 16%, rgba(53, 182, 196, 0.2), transparent 26%),
    linear-gradient(180deg, #f1f5ff, var(--bg) 48%, #f9fbff 100%);
}

::selection {
  background: rgba(47, 76, 179, 0.25);
}

.shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(12px, 2.2vw, 30px);
}

.announce {
  padding: 10px 14px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  color: #edf1ff;
  background: linear-gradient(90deg, #213283, #2f4cb3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 10px;
  backdrop-filter: blur(16px) saturate(140%);
  background: linear-gradient(180deg, rgba(239, 245, 255, 0.94), rgba(239, 245, 255, 0.52));
}

.quality-bar {
  margin-top: 8px;
  border-radius: 999px;
  border: 1px solid #d7e2fb;
  background: linear-gradient(180deg, #f5f8ff, #ecf2ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  white-space: nowrap;
  direction: ltr;
}

.quality-track {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  width: max-content;
  padding: 8px 0;
  animation: quality-marquee 28s linear infinite;
  will-change: transform;
  direction: ltr;
}

html[lang="en"] .quality-track,
html[lang="ar"] .quality-track {
  animation-duration: 28s;
}

.quality-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline-end: 14px;
  flex: 0 0 auto;
  direction: ltr;
}

.quality-track > * {
  flex-shrink: 0;
}

.quality-text {
  flex: 0 0 auto;
  color: #26408f;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1px;
}

html[lang="ar"] .quality-text {
  direction: rtl;
  unicode-bidi: plaintext;
}

.quality-dot {
  color: #5d74bb;
  font-size: 1rem;
  opacity: 0.8;
}

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

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.86)),
    radial-gradient(circle at 8% 10%, rgba(64, 102, 218, 0.13), rgba(64, 102, 218, 0));
  border: 1px solid #dde6fd;
  box-shadow:
    0 14px 30px rgba(31, 53, 124, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: visible;
}

.nav-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(47, 76, 179, 0), rgba(47, 76, 179, 0.65), rgba(53, 182, 196, 0.65), rgba(53, 182, 196, 0));
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  position: relative;
  z-index: 1;
}

.brand-logo {
  width: 156px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(47, 76, 179, 0.1));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(46, 74, 170, 0.07);
  border: 1px solid rgba(46, 74, 170, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  margin-inline: auto;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: #233561;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(33, 56, 130, 0.12);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #2f4cb3, #35b6c4);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4f608b;
  font-size: 0.84rem;
  font-weight: 700;
  flex-wrap: nowrap;
  background: linear-gradient(170deg, #ffffff, #f7faff);
  border: 1px solid #d7e2fd;
  border-radius: 999px;
  padding: 5px 7px 5px 10px;
  box-shadow:
    0 8px 16px rgba(39, 65, 146, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

.header-tools label {
  letter-spacing: 0.2px;
  font-size: 0.8rem;
  color: #5a6c97;
}

.language-select-native {
  display: none;
}

.language-picker {
  position: relative;
  min-width: 98px;
}

.language-trigger {
  border: 1px solid #cbd8fa;
  border-radius: 11px;
  padding: 6px 28px 6px 10px;
  background: #fff;
  color: #22335f;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  width: 100%;
  min-width: 98px;
  line-height: 1.2;
  cursor: pointer;
  text-align: start;
  position: relative;
}

.language-trigger::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6275a9;
  font-size: 0.72rem;
}

.language-trigger:focus-visible {
  outline: 2px solid rgba(47, 76, 179, 0.35);
  outline-offset: 1px;
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  width: 100%;
  padding: 6px;
  border: 1px solid #c9d6f9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(27, 45, 106, 0.18);
  z-index: 30;
}

.language-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: #21335f;
  text-align: start;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.language-option:hover {
  background: #f2f6ff;
}

.language-option.is-active {
  background: #2f4cb3;
  color: #fff;
}

.cart-toggle {
  border: 1px solid #c8d6fa;
  background: linear-gradient(160deg, #ffffff, #f1f6ff);
  color: #22335f;
  border-radius: 999px;
  padding: 7px 11px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cart-toggle:hover {
  transform: translateY(-1px);
  border-color: #b5c6f3;
  box-shadow: 0 10px 18px rgba(36, 60, 140, 0.16);
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  box-shadow: 0 4px 10px rgba(47, 76, 179, 0.35);
}

.hero-wrap {
  padding: 22px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.hero-copy,
.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.74));
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  padding: 28px;
}

.kicker {
  display: inline-block;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 76, 179, 0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.14;
}

.hero-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(47, 76, 179, 0.3);
}

.btn-outline {
  color: var(--primary);
  background: rgba(47, 76, 179, 0.08);
  border: 1px solid rgba(47, 76, 179, 0.24);
}

.btn-ghost {
  color: var(--primary);
  background: #fff;
  border: 1px solid rgba(47, 76, 179, 0.3);
}

.hero-stats {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats article {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e0e7fb;
  background: rgba(255, 255, 255, 0.8);
}

.hero-stats strong {
  display: block;
  font-size: 1.05rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  background: linear-gradient(160deg, #2c43a8, #3758ce 52%, #2f9daf);
  color: #fff;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-1 {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
}

.orb-2 {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: -70px;
  background: radial-gradient(circle, rgba(90, 223, 233, 0.34), rgba(90, 223, 233, 0));
}

.chip {
  position: relative;
  margin: 0;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.hero-card h2 {
  position: relative;
  margin: 10px 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.hero-product-image {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(280px, 34vw, 360px);
  object-fit: contain;
  object-position: center top;
  display: block;
  border-radius: 14px;
  border: 0;
  background: #ffffff;
  margin-bottom: 12px;
  box-shadow: none;
}

.hero-price {
  position: relative;
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
}

.section {
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 2rem);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.card {
  border: 1px solid #e0e7fb;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(39, 65, 146, 0.12);
}

.category-grid,
.product-grid,
.benefit-grid,
.review-grid {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

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

.card-gradient {
  background: linear-gradient(145deg, #ffffff, var(--surface-soft));
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

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

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #2c45ab;
  background: #e8edff;
  font-size: 0.74rem;
  font-weight: 800;
}

.product-card .muted {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-subtitle {
  margin-top: 8px;
  color: #2f4cb3;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-name-row h3 {
  margin: 0;
}

.product-name-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 0;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.product-tagline {
  font-style: italic;
  min-height: 46px;
}

.product-image {
  width: 100%;
  border-radius: 12px;
  border: 0;
  margin-bottom: 10px;
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(36, 62, 145, 0.16);
}

.price {
  margin: 8px 0 12px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}

.price-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.price-old {
  font-size: 0.92rem;
  color: #7f8bb3;
  text-decoration: line-through;
  font-weight: 700;
}

.price-now {
  color: #173a9f;
  font-size: 1.1rem;
  font-weight: 900;
}

.discount-pill {
  background: #e8efff;
  color: #1f44ad;
  border: 1px solid #cdd9ff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.collection-shipping-note {
  margin: 0 0 8px;
  color: #1a4e9b;
  font-size: 0.86rem;
  font-weight: 800;
}

.product-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding: 7px 9px;
  border: 1px solid #d9e3ff;
  border-radius: 10px;
  background: #f6f9ff;
  color: #2f4378;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-rating {
  color: #1f3f99;
}

.product-card .btn {
  width: 100%;
  margin-top: auto;
}

.soldout .btn-outline {
  background: #f5f7ff;
}

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

.bundle-builder {
  display: grid;
  gap: 12px;
}

.bundle-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bundle-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce5fd;
  border-radius: 12px;
  padding: 10px;
  background: #f7faff;
  font-weight: 700;
  color: #2a3d72;
}

.bundle-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2f4cb3;
  flex-shrink: 0;
}

.bundle-message {
  margin: 0;
  min-height: 20px;
  font-size: 0.88rem;
}

.lemon-demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  align-items: center;
}

.lemon-glass {
  position: relative;
  min-height: 180px;
  border: 1px solid #d7e2ff;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fbff, #edf4ff);
}

.lemon-liquid {
  position: absolute;
  inset: auto 0 0 0;
  height: 74%;
  background: linear-gradient(180deg, #6ba7ff, #2f5fd1 65%, #2f4cb3);
  transition: background 0.35s ease;
}

.lemon-liquid.is-purple {
  background: linear-gradient(180deg, #c086ff, #8b5bd8 65%, #6932b8);
}

.lemon-liquid.is-mint {
  background: linear-gradient(180deg, #7fd6ff, #4ea8d8 65%, #3e6dc7);
}

.lemon-liquid.is-amber {
  background: linear-gradient(180deg, #8fb8ff, #6d8de0 56%, #d58b3f 100%);
}

.lemon-liquid.is-rose {
  background: linear-gradient(180deg, #e29bff, #b86ddb 60%, #8f3ac3);
}

.lemon-liquid.is-gold {
  background: linear-gradient(180deg, #a0b8ff, #8aa2ed 58%, #d9b15a 100%);
}

.lemon-liquid.is-copper {
  background: linear-gradient(180deg, #9caef5, #7d8fd8 55%, #b87347 100%);
}

.lemon-liquid.is-cyan {
  background: linear-gradient(180deg, #81dcff, #54b7ef 62%, #2f74d1);
}

.lemon-content {
  display: grid;
  gap: 10px;
}

.lemon-content p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #243a73;
}

.addon-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.addon-chip {
  border: 1px solid #d3defa;
  background: #f6f9ff;
  color: #284182;
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.addon-chip:hover {
  border-color: #aec2f4;
  background: #eef4ff;
}

.addon-chip.is-active {
  background: linear-gradient(120deg, #2f4cb3, #3a6bde);
  border-color: #2f4cb3;
  color: #fff;
  box-shadow: 0 8px 14px rgba(47, 76, 179, 0.28);
}

.review-grid {
  overflow: hidden;
  padding-bottom: 6px;
  direction: ltr;
  --reviews-loop-distance: 0px;
}

.review-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: reviews-marquee-right 85s linear infinite;
  will-change: transform;
}

.review-card {
  flex: 0 0 min(320px, 85vw);
}

html[dir="rtl"] .review-card {
  direction: rtl;
  text-align: right;
}

@keyframes reviews-marquee-right {
  from {
    transform: translateX(calc(-1 * var(--reviews-loop-distance)));
  }
  to {
    transform: translateX(0);
  }
}

.stars {
  margin: 0;
  color: #f4b400;
  letter-spacing: 1.3px;
}

.review-card span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--ink);
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.story-panel {
  background: linear-gradient(155deg, #ffffff, #f4f8ff);
  padding: 18px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.story-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.story-panel p {
  margin-top: 12px;
  white-space: pre-line;
  font-size: 1.22rem;
  line-height: 1.7;
  margin-inline: 0;
  max-width: none;
}

.story-visual {
  border-radius: var(--radius-lg);
  border: 0;
  background: #fff;
  padding: 14px;
  box-shadow: none;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-video {
  width: 58%;
  height: 58%;
  min-height: 0;
  aspect-ratio: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: 0;
  background: transparent;
}

.faq-list {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.faq-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-toggle-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #d4def7;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-toggle-btn:hover {
  background: #f6f9ff;
  border-color: #c2d0f5;
}

.faq-toggle-btn.is-open {
  transform: rotate(180deg);
}

.faq-list.is-collapsed {
  display: none;
}

.faq-list details {
  padding: 12px 14px;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details:not([open]) p {
  display: none;
}

.faq-list details p {
  margin-top: 8px;
}

.site-footer {
  margin-top: 24px;
  padding: 56px 0 24px;
  color: #fff;
  background: linear-gradient(165deg, var(--footer), #3548a1);
}

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

.footer-col h3 {
  margin: 0 0 16px;
  width: 100%;
  font-size: 0.84rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  position: relative;
  font-weight: 800;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 3px;
  border-radius: 99px;
  background: #9fd5ff;
}

.footer-inner .footer-col:nth-child(1) h3::after {
  background: #9fd5ff;
}

.footer-inner .footer-col:nth-child(2) h3::after {
  background: #8de7df;
}

.footer-inner .footer-col:nth-child(3) h3::after {
  background: #ffe39b;
}

.footer-inner .footer-col:nth-child(4) h3::after {
  background: #c2d4ff;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}


.footer-col p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.footer-subscribe {
  margin-top: 12px;
  display: flex;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid rgba(14, 22, 58, 0.6);
  background: #fff;
}

.footer-subscribe input {
  flex: 1;
  border: 0;
  padding: 11px 12px;
  font-family: inherit;
  outline: none;
}

.footer-subscribe button {
  border: 0;
  background: #fff;
  color: #243476;
  padding: 0 12px;
  cursor: pointer;
}

.footer-follow {
  margin-top: 13px;
  margin-bottom: 0;
}

.footer-social {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 9px;
}

.footer-social a {
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-payments span {
  padding: 5px 10px;
  border-radius: 6px;
  background: #f3f7ff;
  color: #2b3f93;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-copy {
  margin: 0;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100dvh;
  background: #fff;
  z-index: 90;
  border-left: 1px solid #dde5fb;
  box-shadow: -16px 0 36px rgba(31, 48, 102, 0.18);
  transform: translateX(102%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 80, 0.36);
  z-index: 80;
}

.cart-header {
  padding: 14px 16px;
  border-bottom: 1px solid #e3e9fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  margin: 0;
}

.icon-btn {
  border: 1px solid #d7dff5;
  background: #fff;
  color: var(--ink);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.cart-items {
  padding: 10px 16px;
  overflow-y: auto;
  flex: 1;
}

.cart-item {
  border: 1px solid #e1e8fc;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.cart-item h4 {
  margin: 0;
  font-size: 0.95rem;
}

.cart-item-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #dce6ff;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.cart-item p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.87rem;
}

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

.qty-btn {
  border: 1px solid #ced8f5;
  background: #fff;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: 800;
}

.cart-item-controls .remove-btn {
  margin-inline-start: auto;
  border: 0;
  background: transparent;
  color: #b32f4b;
  cursor: pointer;
  font-weight: 700;
}

.cart-summary {
  border-top: 1px solid #e2e9fc;
  padding: 12px 16px 18px;
  display: grid;
  gap: 8px;
}

.mobile-checkout-bar {
  display: none;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.cart-summary .total-row {
  color: var(--ink);
  font-weight: 800;
}

.cart-summary .discount-row {
  color: #1f44ad;
  font-weight: 700;
}

.cart-note {
  margin: 2px 0 6px;
  font-size: 0.84rem;
}

.checkout-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(560px, 94vw);
  max-height: 90dvh;
  overflow: auto;
  overflow-x: hidden;
  box-shadow: 0 20px 44px rgba(26, 43, 108, 0.25);
}

.checkout-dialog::backdrop {
  background: rgba(16, 26, 67, 0.45);
}

.feedback-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(680px, 95vw);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 24px 56px rgba(21, 37, 95, 0.35);
}

.feedback-dialog::backdrop {
  background: rgba(16, 26, 67, 0.45);
}

.feedback-form {
  padding: 22px;
  display: grid;
  gap: 12px;
  background: linear-gradient(165deg, #ffffff, #f5f8ff);
}

.feedback-head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #213991;
}

.feedback-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.feedback-field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #d7e1ff;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(39, 65, 146, 0.05);
}

.feedback-field select,
.feedback-field textarea {
  width: 100%;
  border: 1px solid #d5def8;
  border-radius: 10px;
  padding: 10px 11px;
  font-family: inherit;
  background: #fff;
}

.feedback-recommend {
  margin: 0;
  padding: 12px;
  border: 1px solid #d7e1ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  box-shadow: 0 8px 16px rgba(39, 65, 146, 0.05);
}

.feedback-recommend legend {
  padding: 0 6px;
  font-size: 0.9rem;
  font-weight: 800;
  color: #213991;
}

.feedback-recommend label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #2a3866;
}

.feedback-recommend input[type="radio"] {
  width: auto;
  min-width: 0;
  accent-color: #2f4cb3;
}

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

.product-detail-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(980px, 95vw);
  max-height: 92dvh;
  overflow: auto;
  box-shadow: 0 26px 60px rgba(22, 38, 93, 0.35);
}

.product-detail-dialog::backdrop {
  background: rgba(16, 26, 67, 0.5);
}

.product-detail-panel {
  position: relative;
  padding: 18px;
  background: linear-gradient(160deg, #ffffff, #f6f9ff);
}

.product-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: start;
}

.product-detail-media {
  border: 1px solid #dce5ff;
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(38, 63, 149, 0.1);
}

.product-detail-image {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 0;
}

.product-detail-content h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.product-detail-subtitle {
  margin: 8px 0 0;
  color: #2f4cb3;
  font-weight: 800;
}

.product-detail-description {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-detail-meta {
  margin-top: 14px;
}

.product-detail-meta h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.product-detail-meta ul {
  margin: 0;
  padding-inline-start: 18px;
  display: grid;
  gap: 6px;
  color: #2a355d;
}

.product-detail-meta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-detail-meta-grid article {
  border: 1px solid #dde6ff;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.product-detail-meta-grid h5 {
  margin: 0 0 6px;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  color: #2b43a7;
}

.product-detail-meta-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-form {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.checkout-mobile-stepper,
.checkout-step-controls {
  display: none;
}

.checkout-step-pill {
  border: 1px solid #d6def7;
  border-radius: 999px;
  padding: 6px 8px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #4a5c88;
  background: #f7f9ff;
}

.checkout-step-pill.is-active {
  border-color: #bfcdf7;
  background: #eaf0ff;
  color: #1e3ea3;
}

.checkout-step {
  display: grid;
  gap: 10px;
}

.checkout-form h3 {
  margin: 0 0 2px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  min-width: 0;
  display: block;
  border: 1px solid #d3dcf7;
  border-radius: 10px;
  padding: 10px 11px;
  font-size: 16px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Manrope", "Cairo", sans-serif;
  background: #fff;
}

#addressRegion {
  font-family: "Manrope", "Cairo", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: start;
}

#addressRegion option {
  font-family: "Manrope", "Cairo", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.checkout-total-line {
  margin: 2px 0;
  display: flex;
  justify-content: space-between;
}

.checkout-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.order-message {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #186d46;
  font-weight: 700;
}

.payment-methods {
  margin: 2px 0;
  padding: 10px;
  border: 1px solid #d7dff5;
  border-radius: 10px;
  display: grid;
  gap: 8px;
}

.payment-methods legend {
  padding: 0 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-form .pay-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-weight: 600;
}

.checkout-form .pay-option input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: #c01963;
}

.checkout-form .pay-option input[type="radio"]:disabled + span {
  opacity: 0.55;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(72px, 0.36fr) minmax(0, 1.44fr);
  gap: 8px;
  direction: ltr;
}

.phone-row > * {
  min-width: 0;
}

.select-with-flag {
  position: relative;
}

.select-with-flag select {
  padding-inline-start: 42px;
}

.native-country-select {
  display: none !important;
}

.country-flag {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 22px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid #d7def5;
  background: #fff;
  pointer-events: none;
}

.select-with-flag.full {
  width: 100%;
}

.country-picker {
  position: relative;
}

.country-trigger {
  width: 100%;
  border: 1px solid #d3dcf7;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: start;
  padding: 9px 36px 9px 10px;
  font-family: "Manrope", "Cairo", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-trigger::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.trigger-flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #d7def5;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.trigger-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 12;
  border: 1px solid #d3dcf7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(24, 37, 84, 0.16);
  overflow: hidden;
}

.country-menu.opens-up {
  top: auto;
  bottom: calc(100% + 4px);
}

.country-search {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e0e7fb;
  padding: 10px 12px;
  font-family: inherit;
  outline: none;
}

.country-list {
  max-height: 250px;
  overflow-y: auto;
}

.country-option {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  text-align: start;
  cursor: pointer;
  font-family: inherit;
}

.country-option:hover {
  background: #f3f7ff;
}

.country-option img {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #d7def5;
  object-fit: cover;
}

#phoneCode {
  text-align: center;
  font-weight: 800;
  background: #f7f9ff;
  padding-inline: 6px;
  width: 100%;
  max-width: 88px;
  justify-self: start;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

#customerPhone {
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

html[dir="rtl"] body {
  font-family: "Cairo", "Manrope", sans-serif;
}

html[dir="rtl"] .main-nav {
  direction: rtl;
}

html[dir="rtl"] .header-tools {
  direction: rtl;
}

html[dir="rtl"] .story-panel {
  align-items: flex-start;
  text-align: right;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .story {
  direction: rtl;
}

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .native-country-select {
    display: block !important;
    width: 100%;
    min-height: 46px;
    border: 1px solid #d3dcf7;
    border-radius: 11px;
    padding: 10px 34px 10px 10px;
    font-family: "Manrope", "Cairo", sans-serif;
    font-size: 16px !important;
    line-height: 1.25;
    background: #fff;
    color: var(--ink);
  }

  #addressCountryFlag {
    display: none !important;
  }

  #phoneCountry.native-country-select {
    padding-inline-start: 42px;
  }

  #addressCountry.native-country-select {
    padding-inline-start: 10px;
  }

  .country-picker {
    display: none !important;
  }

  .select-with-flag .native-country-select {
    appearance: auto;
    -webkit-appearance: menulist;
  }

  .main-nav {
    justify-content: flex-start;
    width: fit-content;
    margin-inline: 0;
  }

  .header-tools {
    flex-wrap: wrap;
    border-radius: 14px;
    width: 100%;
    justify-self: stretch;
  }

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

  .category-grid,
  .product-grid,
  .benefit-grid,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card {
    min-height: 290px;
  }
}

@media (max-width: 760px) {
  html {
    --header-offset: 104px;
  }

  .site-header {
    padding: 5px 0;
  }

  .shell {
    padding-inline: 10px;
  }

  .nav-shell {
    gap: 6px;
    padding: 8px;
    border-radius: 12px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand tools"
      "nav nav";
    justify-items: stretch;
  }

  .brand {
    grid-area: brand;
  }

  .brand-logo {
    width: 102px;
  }

  .quality-bar {
    margin-top: 5px;
  }

  .quality-track {
    padding: 5px 0;
    animation-duration: 24s;
  }

  html[lang="en"] .quality-track,
  html[lang="ar"] .quality-track {
    animation-duration: 24s;
  }

  html[lang="en"] .quality-track {
    animation-duration: 32s !important;
  }

  .quality-group {
    gap: 8px;
    padding-inline-end: 8px;
  }

  .quality-text {
    font-size: 0.74rem;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    border-radius: 10px;
    padding: 4px 6px;
    gap: 4px;
    justify-content: flex-start;
    margin-inline: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

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

  .main-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .header-tools {
    grid-area: tools;
    width: auto;
    max-width: 100%;
    padding: 4px 5px;
    gap: 4px;
    border-radius: 10px;
    justify-self: end;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .header-tools::-webkit-scrollbar {
    display: none;
  }

  .language-picker {
    display: block;
    min-width: 82px;
  }

  .language-select-native {
    display: none;
  }

  .language-menu {
    width: 100%;
    min-width: 0;
    inset-inline-end: 0;
  }

  .checkout-form .country-menu {
    position: fixed;
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(92vw, 420px);
    max-height: min(64dvh, 520px);
    border-radius: 14px;
    z-index: 250;
    display: flex;
    flex-direction: column;
    border: 1px solid #c9d7fa;
    box-shadow: 0 22px 44px rgba(20, 34, 84, 0.3);
    overflow: hidden;
  }

  .checkout-form .country-search {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
  }

  .checkout-form .country-list {
    max-height: min(52dvh, 420px);
    overflow-y: auto;
  }

  .checkout-form .country-option {
    min-height: 44px;
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .theme-toggle {
    padding: 2px;
    gap: 2px;
  }

  .theme-btn {
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .language-trigger {
    min-width: 74px;
    padding: 5px 22px 5px 8px;
    font-size: 0.74rem;
  }

  .cart-toggle {
    padding: 5px 7px;
    font-size: 0.74rem;
  }

  .cart-count {
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  .hero-wrap {
    padding: 12px 0 6px;
  }

  .hero-grid {
    gap: 10px;
  }

  .hero-copy,
  .hero-card,
  .section {
    padding: 14px;
    border-radius: 16px;
  }

  .hero-product-image {
    height: 205px;
    margin-bottom: 10px;
  }

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

  .category-grid,
  .product-grid,
  .benefit-grid,
  .bundle-options,
  .footer-inner,
  .footer-social {
    grid-template-columns: 1fr;
  }

  .lemon-demo {
    grid-template-columns: 1fr;
  }

  .lemon-glass {
    min-height: 150px;
  }

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

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .phone-row {
    grid-template-columns: minmax(72px, 0.34fr) minmax(0, 1.66fr);
    grid-template-areas:
      "country country"
      "code number";
    gap: 8px;
  }

  .phone-row > :nth-child(1) {
    grid-area: country;
  }

  .phone-row > :nth-child(2) {
    grid-area: code;
  }

  .phone-row > :nth-child(3) {
    grid-area: number;
  }

  .checkout-dialog {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    max-height: 88dvh;
    border-radius: 14px;
    overflow-x: hidden;
  }

  .checkout-form {
    padding: 14px 12px;
    gap: 11px;
  }

  .checkout-form.is-mobile-steps .checkout-mobile-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .checkout-form.is-mobile-steps .checkout-step {
    display: none;
  }

  .checkout-form.is-mobile-steps .checkout-step.is-active {
    display: grid;
    gap: 11px;
  }

  .checkout-form h3 {
    font-size: 1.18rem;
    line-height: 1.35;
  }

  .checkout-form label {
    gap: 7px;
    font-size: 1rem;
  }

  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select,
  .checkout-form .country-trigger,
  .checkout-form .country-search {
    font-size: 16px !important;
    min-height: 46px;
    border-radius: 11px;
    padding: 10px 11px;
  }

  #addressRegion,
  #addressRegion option {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .checkout-form textarea {
    min-height: 92px;
  }

  #phoneCode,
  #customerPhone {
    min-height: 46px;
    font-size: 1rem;
  }

  .payment-methods {
    padding: 9px;
    gap: 10px;
    border-radius: 11px;
  }

  .checkout-form .pay-option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    font-size: 0.95rem;
  }

  .checkout-total-line {
    margin-top: 2px;
    padding-top: 6px;
    font-size: 1rem;
  }

  .checkout-actions {
    position: sticky;
    bottom: -1px;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24%);
    z-index: 2;
  }

  .checkout-actions .btn {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .checkout-form.is-mobile-steps .checkout-step-controls {
    display: flex;
    gap: 8px;
    position: sticky;
    bottom: -1px;
    padding-top: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24%);
    z-index: 2;
  }

  .checkout-form.is-mobile-steps .checkout-step-controls .btn {
    min-height: 44px;
    font-size: 0.95rem;
    flex: 1;
  }

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

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

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

  .story-panel p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .story-visual {
    display: none;
  }

  .story-video {
    width: 100%;
    height: auto;
    max-height: 330px;
  }

  .mobile-checkout-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 78;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 14px;
    border: 1px solid #cfdcfb;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(27, 48, 116, 0.2);
  }

  .mobile-checkout-meta {
    display: grid;
    gap: 2px;
  }

  .mobile-checkout-meta strong {
    font-size: 0.98rem;
    color: #203a8f;
  }

  .mobile-checkout-meta span {
    font-size: 0.8rem;
    color: #5f6e93;
  }

  .mobile-checkout-bar .btn {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .checkout-dialog {
    width: calc(100vw - 6px);
    max-width: calc(100vw - 6px);
  }

  .checkout-form {
    padding: 12px 10px;
  }

  .checkout-form h3 {
    font-size: 1.08rem;
  }

  .phone-row {
    grid-template-columns: minmax(70px, 0.32fr) minmax(0, 1.68fr);
    grid-template-areas:
      "country country"
      "code number";
  }
}

@media (max-width: 520px) {
  .checkout-dialog {
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    max-height: min(90dvh, calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 8px));
  }

  .checkout-form {
    padding: 12px 10px;
    gap: 10px;
  }

  .checkout-form h3 {
    font-size: 1.06rem;
  }

  .checkout-form label {
    font-size: 0.95rem;
  }

  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select,
  .checkout-form .country-trigger,
  .checkout-form .country-search {
    min-height: 44px;
    border-radius: 10px;
    padding: 9px 10px;
  }

  #addressRegion,
  #addressRegion option {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .checkout-form textarea {
    min-height: 84px;
  }

  .phone-row {
    grid-template-columns: minmax(70px, 0.32fr) minmax(0, 1.68fr);
    grid-template-areas:
      "country country"
      "code number";
  }

  .checkout-form.is-mobile-steps .checkout-mobile-stepper {
    gap: 5px;
  }

  .checkout-step-pill {
    font-size: 0.72rem;
    padding: 6px 6px;
  }

  .checkout-form.is-mobile-steps .checkout-step-controls .btn,
  .checkout-actions .btn {
    min-height: 42px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .checkout-dialog {
    width: calc(100vw - 4px);
    max-width: calc(100vw - 4px);
    border-radius: 12px;
  }

  .checkout-form {
    padding: 10px 8px;
  }

  .checkout-form h3 {
    font-size: 0.98rem;
  }

  .checkout-step-pill {
    font-size: 0.68rem;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #cfdaf9;
  border-radius: 999px;
  background: #f7faff;
}

.theme-btn {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: transparent;
  color: #41527f;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.theme-btn.is-active {
  background: #fff;
  color: #24429f;
  box-shadow: 0 6px 12px rgba(40, 62, 139, 0.15);
}

html[data-theme="dark"] {
  --bg: #0b1328;
  --surface: #121e3c;
  --surface-soft: #17274d;
  --ink: #eef3ff;
  --muted: #a8b8df;
  --primary: #78a0ff;
  --primary-2: #4f7ff0;
  --line: #2b416f;
  --footer: #081127;
  --shadow-lg: 0 24px 52px rgba(2, 7, 20, 0.55);
  --shadow-md: 0 12px 28px rgba(3, 8, 23, 0.46);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 0% 10%, rgba(106, 142, 255, 0.16), transparent 28%),
    radial-gradient(circle at 100% 16%, rgba(68, 178, 201, 0.13), transparent 26%),
    linear-gradient(180deg, #0a1226, var(--bg) 48%, #070f22 100%);
}

html[data-theme="dark"] .announce {
  color: #eaf0ff;
  background: linear-gradient(90deg, #11204f, #1a348a);
}

html[data-theme="dark"] .site-header {
  background: linear-gradient(180deg, rgba(11, 19, 40, 0.92), rgba(11, 19, 40, 0.5));
}

html[data-theme="dark"] .quality-bar {
  background: linear-gradient(180deg, #142650, #102144);
  border-color: #2f4a84;
}

html[data-theme="dark"] .quality-text {
  color: #d8e6ff;
}

html[data-theme="dark"] .quality-dot {
  color: #89a8ef;
}

html[data-theme="dark"] .nav-shell {
  background: linear-gradient(160deg, rgba(17, 29, 58, 0.95), rgba(14, 25, 50, 0.9));
  border-color: #2c4579;
}

html[data-theme="dark"] .main-nav {
  background: rgba(85, 122, 230, 0.15);
  border-color: rgba(100, 136, 240, 0.3);
}

html[data-theme="dark"] .main-nav a {
  color: #dde7ff;
}

html[data-theme="dark"] .main-nav a:hover {
  background: rgba(125, 159, 255, 0.2);
}

html[data-theme="dark"] .header-tools {
  background: linear-gradient(170deg, #162a53, #122245);
  border-color: #36558f;
}

html[data-theme="dark"] .theme-toggle {
  border-color: #3a5c9e;
  background: #122548;
}

html[data-theme="dark"] .theme-btn {
  color: #b9c8ed;
}

html[data-theme="dark"] .theme-btn.is-active {
  background: #24417f;
  color: #f2f6ff;
  box-shadow: 0 6px 12px rgba(8, 16, 40, 0.35);
}

html[data-theme="dark"] .language-trigger,
html[data-theme="dark"] .cart-toggle {
  background: #13264d;
  border-color: #3a5a9a;
  color: #e6eeff;
}

html[data-theme="dark"] .language-trigger::after {
  color: #bfd1ff;
}

html[data-theme="dark"] .language-menu {
  background: #14274f;
  border-color: #385a9c;
  box-shadow: 0 14px 26px rgba(5, 11, 29, 0.44);
}

html[data-theme="dark"] .language-option {
  color: #e6eeff;
}

html[data-theme="dark"] .language-option:hover {
  background: #1c3467;
}

html[data-theme="dark"] .language-option.is-active {
  background: #2b4b95;
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .card,
html[data-theme="dark"] .checkout-dialog,
html[data-theme="dark"] .feedback-dialog,
html[data-theme="dark"] .product-detail-panel {
  background: #121f3d;
  border-color: #2c436f;
}

html[data-theme="dark"] .hero-card {
  background: linear-gradient(160deg, #1a2f63, #26439c 55%, #1d7688);
}

html[data-theme="dark"] .hero-stats article {
  background: #16274d;
  border-color: #35508a;
}

html[data-theme="dark"] .hero-desc,
html[data-theme="dark"] .section-head p,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .hero-stats span,
html[data-theme="dark"] .product-detail-description,
html[data-theme="dark"] .faq-list details p {
  color: #aab9de;
}

html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .card h3,
html[data-theme="dark"] .faq-list summary,
html[data-theme="dark"] .hero-copy h1,
html[data-theme="dark"] .footer-col h3,
html[data-theme="dark"] .product-detail-content h3,
html[data-theme="dark"] .hero-stats strong {
  color: #edf2ff;
}

html[data-theme="dark"] .hero-actions .btn-primary {
  background: linear-gradient(120deg, #557fe9, #3f6ad7);
  box-shadow: 0 10px 22px rgba(35, 61, 139, 0.36);
}

html[data-theme="dark"] .hero-actions .btn-outline {
  background: rgba(119, 154, 255, 0.14);
  border-color: rgba(126, 161, 255, 0.36);
  color: #dfe9ff;
}

html[data-theme="dark"] .price-old {
  color: #91a5d9;
}

html[data-theme="dark"] .price-now,
html[data-theme="dark"] .product-subtitle,
html[data-theme="dark"] .collection-shipping-note {
  color: #90b1ff;
}

html[data-theme="dark"] .discount-pill {
  background: rgba(113, 146, 242, 0.18);
  border-color: #4f70bf;
  color: #dce7ff;
}

html[data-theme="dark"] .product-stats {
  background: #162a53;
  border-color: #35538e;
  color: #dbe7ff;
}

html[data-theme="dark"] .product-rating {
  color: #b8d1ff;
}

html[data-theme="dark"] .bundle-option {
  background: #162a53;
  border-color: #36558f;
  color: #e3ecff;
}

html[data-theme="dark"] .lemon-glass {
  background: linear-gradient(180deg, #1a2e5e, #16284f);
  border-color: #395a97;
}

html[data-theme="dark"] .lemon-content p {
  color: #dce7ff;
}

html[data-theme="dark"] .addon-chip {
  background: #1a2f5f;
  border-color: #3a5a99;
  color: #dce8ff;
}

html[data-theme="dark"] .addon-chip:hover {
  background: #223a73;
  border-color: #4b6db4;
}

html[data-theme="dark"] .addon-chip.is-active {
  background: linear-gradient(120deg, #537be0, #3f6ad7);
  border-color: #5a81e4;
  color: #f2f6ff;
}

html[data-theme="dark"] .mobile-checkout-bar {
  border-color: #35548f;
  background: rgba(15, 30, 64, 0.96);
  box-shadow: 0 12px 24px rgba(3, 8, 23, 0.5);
}

html[data-theme="dark"] .mobile-checkout-meta strong {
  color: #e7efff;
}

html[data-theme="dark"] .mobile-checkout-meta span {
  color: #b0c1e9;
}

/* Final mobile sizing safeguards */
html,
body {
  overflow-x: clip;
}

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

@media (max-width: 760px) {
  .header-tools {
    max-width: 100%;
    overflow: visible;
  }

  .language-picker,
  .language-menu {
    overflow: visible;
  }

  .checkout-form,
  .checkout-form * {
    box-sizing: border-box;
  }

  .phone-row,
  .phone-row > * {
    min-width: 0;
  }

  #phoneCode,
  #customerPhone {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 520px) {
  .checkout-dialog {
    width: min(100vw - 8px, 520px);
    max-width: min(100vw - 8px, 520px);
    margin: 0 auto;
    border-radius: 12px;
  }

  .checkout-form {
    padding: 12px 10px 14px;
  }

  .checkout-form input,
  .checkout-form textarea,
  .checkout-form select,
  .checkout-form .country-trigger,
  .checkout-form .country-search {
    width: 100%;
    max-width: 100%;
  }

  .mobile-checkout-bar {
    left: 8px;
    right: 8px;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .checkout-dialog {
    width: calc(100vw - 6px);
    max-width: calc(100vw - 6px);
  }
}

@media (max-width: 380px) {
  .checkout-dialog {
    width: calc(100vw - 4px);
    max-width: calc(100vw - 4px);
  }
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .country-trigger,
html[data-theme="dark"] .country-menu,
html[data-theme="dark"] .country-option {
  background: #14254a;
  color: #e7efff;
  border-color: #375690;
}

@media (max-width: 760px) {
  html[data-theme="dark"] .native-country-select {
    background: #14254a;
    color: #e7efff;
    border-color: #375690;
  }
}

@media (max-width: 760px) {
  html[data-theme="dark"] .checkout-form .country-menu {
    border-color: #3a5c9a;
    box-shadow: 0 22px 44px rgba(3, 8, 23, 0.62);
    background: #13264d;
  }

  html[data-theme="dark"] .checkout-form .country-search {
    background: #13264d;
    border-bottom-color: #355893;
    color: #e7efff;
  }
}

html[data-theme="dark"] .country-option:hover {
  background: #1b315f;
}

html[data-theme="dark"] .btn-outline,
html[data-theme="dark"] .btn-ghost {
  background: rgba(115, 151, 255, 0.12);
  color: #dfe9ff;
  border-color: rgba(115, 151, 255, 0.35);
}

html[data-theme="dark"] .site-footer {
  background: linear-gradient(165deg, #0b1532, #102357);
}

html[data-theme="dark"] .footer-payments span {
  background: #1a2f62;
  color: #e3ecff;
}

html[data-theme="dark"] .cart-drawer {
  background: #101d3a;
  border-left-color: #2e4678;
  box-shadow: -16px 0 36px rgba(3, 8, 23, 0.5);
}

html[data-theme="dark"] .cart-header {
  border-bottom-color: #2b446f;
}

html[data-theme="dark"] .icon-btn {
  background: #14274f;
  border-color: #355892;
  color: #e9f0ff;
}

html[data-theme="dark"] .cart-item {
  border-color: #2f4b7e;
  background: #13254a;
}

html[data-theme="dark"] .cart-item p,
html[data-theme="dark"] .cart-summary > div {
  color: #b7c7eb;
}

html[data-theme="dark"] .cart-summary {
  border-top-color: #2b446f;
}

html[data-theme="dark"] .cart-summary .total-row {
  color: #edf2ff;
}

html[data-theme="dark"] .checkout-form h3,
html[data-theme="dark"] .checkout-form label,
html[data-theme="dark"] .payment-methods legend {
  color: #edf2ff;
}

html[data-theme="dark"] .checkout-step-pill {
  border-color: #355892;
  background: #162a53;
  color: #c9d9ff;
}

html[data-theme="dark"] .checkout-step-pill.is-active {
  border-color: #5478c5;
  background: #22417f;
  color: #f2f6ff;
}

html[data-theme="dark"] .payment-methods {
  border-color: #36558f;
  background: #14274f;
}

html[data-theme="dark"] .checkout-form .pay-option {
  color: #dde8ff;
}

html[data-theme="dark"] .checkout-total-line {
  color: #dbe7ff;
}

html[data-theme="dark"] .checkout-actions {
  background: linear-gradient(180deg, rgba(18, 31, 61, 0), #121f3d 28%);
}

html[data-theme="dark"] .checkout-form.is-mobile-steps .checkout-step-controls {
  background: linear-gradient(180deg, rgba(18, 31, 61, 0), #121f3d 28%);
}

html[data-theme="dark"] .country-flag,
html[data-theme="dark"] .trigger-flag,
html[data-theme="dark"] .country-option img {
  border-color: #4866a4;
  background: #20355f;
}

html[data-theme="dark"] #phoneCode {
  background: linear-gradient(180deg, #1b3263, #162b56);
  border-color: #4f72b7;
  color: #f2f6ff;
  font-weight: 900;
}
