/* ============ Tokens ============ */
:root {
  --brand-red: #E11D2E;
  --brand-red-dark: #B0121F;
  --brand-green: #1FA84B;
  --brand-green-dark: #15823A;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #ECECEC;
  --border-strong: #D0D0D0;
  --discount: #D32F2F;
  --tag-bg: #FFF1E6;
  --tag-text: #B5530B;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1280px;
}

/* ============ Reset ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Smart App Banner ============ */
.smart-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 60;
}
.smart-banner.hidden { display: none; }
.sb-close {
  font-size: 22px;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #888;
  border-radius: 50%;
}
.sb-close:hover { background: #f1f1f1; color: #333; }
.sb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}
.sb-text strong { font-size: 13.5px; font-weight: 700; color: #111; }
.sb-text small { font-size: 11.5px; color: #666; margin-top: 2px; }
.sb-stars { color: #FFA000; letter-spacing: 1px; margin-right: 4px; }
.sb-cta {
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s;
}
.sb-cta:hover { background: var(--brand-red-dark); }

/* ============ Header ============ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

/* ============ Language strip (mobile-first, always obvious) ============ */
.lang-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 16px 12px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.lang-strip-inner {
  display: flex;
  width: 100%;
  max-width: 400px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
}
.lang-seg {
  flex: 1;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-seg + .lang-seg {
  border-inline-start: 1px solid rgba(225, 29, 46, 0.25);
}
.lang-seg:hover,
.lang-seg:focus-visible {
  background: #fff5f5;
}
.lang-seg.is-active {
  background: var(--brand-red);
  color: #fff;
}
.lang-seg.is-active:hover,
.lang-seg.is-active:focus-visible {
  background: var(--brand-red-dark);
  color: #fff;
}
.lang-seg:focus-visible {
  outline: 3px solid rgba(225, 29, 46, 0.35);
  outline-offset: 2px;
  z-index: 1;
  position: relative;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: inline-grid; place-items: center;
  color: #333;
  transition: background .15s ease;
}
.icon-btn:hover { background: #f1f1f1; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark svg,
.brand-mark img { display: block; width: 40px; height: 40px; object-fit: contain; }
.sb-icon img,
.mab-icon img { display: block; object-fit: contain; }
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-red);
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: #1a1a1a;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.location-btn:hover { border-color: var(--border-strong); background: #fafafa; }
.location-btn small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.1;
}
.location-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F2F3F5;
  border-radius: 999px;
  padding: 10px 16px;
  width: 100%;
  max-width: 560px;
  justify-self: stretch;
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.search-bar input::placeholder { color: #888; }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  position: relative;
  transition: background .15s, color .15s;
}
.header-link:hover { background: #f1f1f1; }
.header-app-cta {
  color: var(--brand-red);
  background: #FFE9EC;
}
.header-app-cta:hover { background: #FFD4D9; }
.cart-link { padding: 8px; }
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 2px solid #fff;
}

/* On Demand bar */
.ondemand-bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 14px;
}
.ondemand-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.ondemand-icon { display: inline-flex; }
.ondemand-pill .dot { opacity: .7; }
.ondemand-eta { opacity: .9; }
.ondemand-cta {
  margin-left: auto;
  font-weight: 700;
  background: rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .15s;
}
.ondemand-cta:hover { background: rgba(255,255,255,0.28); }

/* Category nav */
.cat-nav {
  border-top: 1px solid var(--border);
  background: #fff;
}
.cat-nav ul {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-block;
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.cat-nav a:hover { color: var(--brand-red); border-bottom-color: var(--brand-red); }

/* ============ Hero (app-conversion focus) ============ */
.hero {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 24px;
}
.hero-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, #FFD8DC 0%, transparent 55%),
    radial-gradient(circle at 90% 90%, #FFE0CC 0%, transparent 50%),
    linear-gradient(135deg, #FFF6F1 0%, #FFEFEA 100%);
  border-radius: var(--radius-lg);
  padding: 44px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.hero-badge {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(30px, 4.4vw, 54px);
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.hero-title span {
  color: var(--brand-red);
}
.hero-sub {
  font-size: 16px;
  color: #444;
  margin: 0 0 24px;
  max-width: 460px;
}
.hero-sub strong { color: var(--brand-red); }
.hero-app-cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #555;
}
.hero-stars { color: #FFA000; letter-spacing: 2px; font-size: 14px; }

/* Hero phone mock */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.hero-phone {
  position: relative;
  width: 230px;
  height: 460px;
  background: #1f2937;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18), inset 0 0 0 6px #111;
  padding: 14px 12px;
  z-index: 2;
  transform: rotate(-4deg);
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 18px;
  background: #111;
  border-radius: 999px;
  z-index: 1;
}
.phone-screen {
  background: #FFF6F1;
  border-radius: 24px;
  height: 100%;
  padding: 32px 12px 14px;
  overflow: hidden;
}
.phone-pill {
  background: var(--brand-red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.phone-card {
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.phone-img {
  height: 78px;
  border-radius: 8px;
  margin-bottom: 8px;
  background-color: #fafafa;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.phone-line {
  height: 8px;
  background: #eee;
  border-radius: 4px;
  margin-bottom: 6px;
}
.phone-line.short { width: 60%; }
.phone-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.25;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.phone-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  margin-top: 6px;
}
.phone-price strong { font-size: 13px; color: #111; }
.phone-price s { color: #888; }
.phone-pct {
  background: var(--discount);
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: auto;
}

.hero-floats { position: absolute; inset: 0; pointer-events: none; }
.float-pill {
  position: absolute;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.float-pill::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
}
.float-1 { top: 30px; left: 0; }
.float-2 { top: 110px; right: 10px; }
.float-3 { bottom: 50px; left: 10px; }
.float-2::before { background: #FFA000; }
.float-3::before { background: var(--brand-red); }

/* ============ Flash Deal Countdown ============ */
.flash-deal {
  margin-top: 28px;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.05) 14px 15px),
    linear-gradient(110deg, var(--brand-red) 0%, #8B0000 100%);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(225, 29, 46, 0.25);
}
.flash-deal::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,224,102,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.fd-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 224, 102, 0.18);
  display: grid;
  place-items: center;
  animation: fd-pulse 1.6s ease-in-out infinite;
  z-index: 1;
}
@keyframes fd-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 224, 102, 0.45); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255, 224, 102, 0); }
}

.fd-text { z-index: 1; min-width: 0; }
.fd-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.005em;
}
.fd-text small {
  display: block;
  font-size: 12.5px;
  opacity: 0.92;
  margin-top: 2px;
}

.fd-countdown {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  z-index: 1;
}
.fd-unit {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px 6px;
  text-align: center;
  min-width: 56px;
}
.fd-unit span {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: block;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fd-unit label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
  font-weight: 600;
}
.fd-unit.pulse span {
  animation: fd-tick 1s ease-in-out infinite;
}
@keyframes fd-tick {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); color: #FFE066; }
}
.fd-sep {
  font-size: 22px;
  font-weight: 800;
  opacity: 0.55;
  padding-top: 8px;
}

.fd-cta {
  background: #fff;
  color: var(--brand-red);
  font-weight: 800;
  font-size: 13px;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform .15s, background .15s;
}
.fd-cta:hover { background: #FFE9EC; transform: translateY(-1px); }

/* ============ Trust bar ============ */
.trust-bar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.trust-item strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.01em;
}
.trust-item span {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ Category Circles ============ */
.cat-circles {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
  transition: transform .15s;
}
.cat-circle { transition: transform .2s ease; }
.cat-circle:hover { transform: translateY(-3px); }
.cat-circle:hover .cc-img {
  box-shadow: 0 12px 24px rgba(0,0,0,0.14), inset 0 0 0 2px rgba(255,255,255,0.6);
}
.cc-img {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.65), transparent 55%),
              linear-gradient(145deg, var(--c, #f0f0f0) 0%, var(--c2, var(--c, #e0e0e0)) 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: box-shadow .2s ease;
}
.cc-img::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 40%);
  pointer-events: none;
}
.cc-img svg { position: relative; z-index: 1; }

/* ============ Sections ============ */
.product-section { margin-top: 40px; }
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin: 0 0 4px;
  font-weight: 600;
}
.section-eyebrow .lock-pip {
  display: inline-grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-size: 10px;
  margin-right: 4px;
}
.section-title {
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-red);
  margin-right: 6px;
}
.see-all:hover { text-decoration: underline; }
.carousel-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: inline-grid; place-items: center;
  transition: background .15s, border-color .15s, color .15s;
}
.carousel-btn:hover:not(:disabled) {
  background: var(--brand-red);
  color: #fff;
  border-color: var(--brand-red);
}
.carousel-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ============ Product Rail ============ */
.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 16px;
  scrollbar-width: thin;
}
.product-rail::-webkit-scrollbar { height: 6px; }
.product-rail::-webkit-scrollbar-thumb { background: #d6d6d6; border-radius: 999px; }

/* ============ Product Card (LuLu-style + button) ============ */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  position: relative;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d8d8d8;
  transform: translateY(-2px);
}

.pc-top {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  height: 200px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pc-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  z-index: 2;
}
.pc-discount {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--discount);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}
.pc-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: #888;
  z-index: 2;
  transition: color .15s, transform .15s;
}
.pc-wishlist:hover { color: var(--brand-red); transform: scale(1.05); }
.pc-wishlist.active { color: var(--brand-red); }
.product-card.has-discount .pc-wishlist { top: auto; bottom: 8px; }

.pc-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
}
.pc-art svg { max-height: 170px; }
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .25s ease;
}
.product-card:hover .pc-img { transform: scale(1.04); }
/* (.pc-img-skeleton + skeleton @keyframes removed: only used by the
 * old loremflickr loader; now all cards render inline SVG and don't
 * need a network-loader placeholder.) */

.pc-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  line-height: 1.35;
}
.pc-name:hover { color: var(--brand-red); }

.pc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pc-prices { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.pc-price small { font-size: 10.5px; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.pc-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pc-add {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--brand-green);
  color: #fff;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  transition: background .15s, transform .15s;
  box-shadow: 0 2px 6px rgba(31, 168, 75, 0.3);
}
.pc-add:hover { background: var(--brand-green-dark); transform: scale(1.06); }
.pc-add svg { width: 16px; height: 16px; }

/* App-locked card variant
 * (no backdrop-filter — too expensive to composite 8 blurred layers
 * simultaneously; an opaque-ish white scrim reads the same and paints
 * almost free.) */
.product-card.locked .pc-top { filter: blur(0); }
.product-card.locked .pc-locked {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  z-index: 3;
  border-radius: 10px;
  padding: 12px;
}
.product-card.locked .pc-locked-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: grid;
  place-items: center;
}
.product-card.locked .pc-locked strong { font-size: 13px; color: #111; }
.product-card.locked .pc-locked small { font-size: 11px; color: #555; }
.product-card.locked .pc-locked-cta {
  margin-top: 6px;
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.product-card.locked .pc-price-row { opacity: .55; pointer-events: none; }
.product-card.locked .pc-add { background: #ccc; box-shadow: none; cursor: not-allowed; }

/* ============ Promo Tiles ============ */
.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.promo-tile {
  background: linear-gradient(135deg, var(--bg, #E11D2E) 0%, var(--bg2, #7E0F1A) 100%);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 180px;
  overflow: hidden;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.promo-tile::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 80%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.promo-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.promo-text { z-index: 1; }
.promo-kicker {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 6px;
  opacity: .85;
  font-weight: 700;
}
.promo-tile h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.promo-cta {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 999px;
}
.promo-art {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  opacity: .95;
  z-index: 1;
}

/* ============ Inline App strip ============ */
.inline-app {
  margin-top: 40px;
  background: linear-gradient(110deg, #1f2937 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.inline-app::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.ia-text { z-index: 1; }
.ia-badge {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.inline-app h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.inline-app h3 em {
  color: #FFD27A;
  font-style: normal;
}
.inline-app p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  max-width: 540px;
}
.ia-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  z-index: 1;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid #2a2a2a;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  transition: transform .15s, background .15s;
}
.store-badge:hover { background: #1a1a1a; transform: translateY(-1px); }
.store-badge.dark { background: #111; }
.store-badge small { display: block; font-size: 10px; opacity: .85; line-height: 1; }
.store-badge strong { display: block; font-size: 14px; line-height: 1.2; }
.store-badge.dl { padding: 12px 20px; }
.store-badge.dl strong { font-size: 15px; line-height: 1.2; padding: 4px 0; letter-spacing: .2px; }

/* ============ Testimonials ============ */
.testimonials { margin-top: 48px; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testi-stars { color: #FFA000; letter-spacing: 2px; font-size: 14px; }
.testi-card p { margin: 0; font-size: 14px; color: #333; line-height: 1.5; flex: 1; }
.testi-card footer { font-size: 12.5px; color: var(--text-muted); }
.testi-card footer strong { color: #1a1a1a; font-weight: 700; margin-right: 4px; }

/* ============ Final CTA ============ */
.final-cta {
  margin-top: 56px;
  margin-bottom: 56px;
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 29, 46, 0.12) 0%, transparent 55%),
    linear-gradient(110deg, #fff 0%, #FFF6F1 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.fc-eyebrow {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.final-cta h2 em { color: var(--brand-red); font-style: normal; }
.fc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: #333;
}
.fc-check {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #DCFCE7;
  color: var(--brand-green-dark);
  font-weight: 800;
  font-size: 12px;
  margin-right: 10px;
}
.fc-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.fc-sms { font-size: 13px; color: #555; margin: 0; }
.sms-row {
  margin-top: 8px;
  display: inline-flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  width: 100%;
  max-width: 360px;
}
.sms-row input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  background: transparent;
  color: #1a1a1a;
}
.sms-btn {
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.sms-btn:hover { background: var(--brand-red-dark); }

.fc-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 420px;
  flex-wrap: wrap;
}
.fc-phone {
  transform: rotate(4deg);
  flex: 0 0 auto;
}
.fc-qr {
  position: relative;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 144px;
  box-sizing: border-box;
}
.fc-qr span {
  font-size: 11.5px;
  color: #555;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* Single source of truth for every QR placeholder on the site. The PNG
   served from the API is fixed-resolution; we render it at exactly 112×112
   CSS px regardless of source resolution so the QR card sizes stay
   identical in the final-cta and the install modal. */
.qr-grid {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  background: #fff;
  border-radius: 6px;
  display: block;
  position: relative;
  overflow: hidden;
}
.qr-grid img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  image-rendering: pixelated;
}

/* ============ Footer ============ */
.site-footer {
  background: #1a1a1a;
  color: #cfcfcf;
  margin-top: 24px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 40px 24px;
}
.footer-cols h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 8px; }
.footer-cols a {
  font-size: 13.5px;
  color: #cfcfcf;
  transition: color .15s;
}
.footer-cols a:hover { color: #fff; }
.footer-app-line { font-size: 13px; color: #cfcfcf; margin: 0 0 10px; }
.footer-app-badges {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-app-badges .store-badge {
  padding: 8px 12px;
  background: #fff;
  color: #111;
  border-color: #fff;
}
.footer-app-badges .store-badge:hover { background: #f0f0f0; }
.footer-app-badges .store-badge svg path { fill: #111; }
.footer-app-badges .store-badge small { color: #555; }
.footer-app-badges .store-badge strong { color: #111; }
.contact-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.socials {
  margin-top: 16px;
  display: inline-flex;
  gap: 8px;
  color: #cfcfcf;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  display: inline-grid; place-items: center;
  transition: background .15s, color .15s, border-color .15s;
}
.socials a:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 16px 0;
  font-size: 12.5px;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links { display: inline-flex; gap: 16px; }

/* ============ Mobile sticky app bar ============ */
.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  align-items: center;
  gap: 12px;
  z-index: 70;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.mab-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.mab-text strong { font-size: 13px; color: #111; }
.mab-text small { font-size: 11px; color: #666; }
.mab-cta {
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.mab-cta:hover { background: var(--brand-red-dark); }

/* ============ App install modal ============ */
.modal { position: fixed; inset: 0; z-index: 100; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  animation: fade .2s ease;
}
.modal-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(820px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  box-shadow: var(--shadow-lg);
  animation: pop .25s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: grid; place-items: center;
  font-size: 22px; line-height: 1;
  color: #555;
  z-index: 2;
  transition: background .15s;
}
.modal-close:hover { background: rgba(0,0,0,0.12); color: #111; }
.modal-left { padding: 36px 32px 28px; }
.modal-left h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.modal-left > p { margin: 0 0 16px; color: #555; font-size: 14px; }
.modal-left p strong { color: var(--brand-red); }
.modal-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #333;
  margin-bottom: 18px;
}
.modal-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.modal-sms { font-size: 13px; color: #555; margin: 0 0 14px; }
.modal-skip {
  font-size: 12.5px;
  font-weight: 600;
  color: #888;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.modal-skip:hover { color: #333; }

.modal-right {
  background: linear-gradient(135deg, #FFF6F1 0%, #FFE9EC 100%);
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.modal-qr {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 156px;
  box-sizing: border-box;
  box-shadow: var(--shadow-md);
}
.modal-qr span {
  font-size: 11.5px;
  color: #555;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.modal-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333;
}
.modal-rating strong { font-weight: 800; color: #111; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1f2937;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 90;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto auto 1fr auto; }
  .location-btn { display: none; }
  .cat-circles { grid-template-columns: repeat(4, 1fr); }
  .promo-row { grid-template-columns: repeat(2, 1fr); }
  .hero-card { grid-template-columns: 1fr; padding: 28px; }
  .hero-visual { min-height: 320px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .trust-bar .trust-item:nth-child(4),
  .trust-bar .trust-item:nth-child(5) { display: none; }
  .final-cta { grid-template-columns: 1fr; padding: 32px; }
  .fc-visual { min-height: 360px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-right { display: none; }
  .inline-app { grid-template-columns: 1fr; padding: 24px; }
}

@media (max-width: 1100px) {
  .flash-deal {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px 18px;
  }
  .fd-countdown { grid-column: 1 / -1; justify-content: center; }
  .fd-cta { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
}

@media (max-width: 720px) {
  .header-inner { grid-template-columns: auto auto 1fr auto; gap: 8px; padding: 10px 14px; }
  .flash-deal {
    padding: 12px 12px;
    gap: 10px;
    grid-template-columns: auto 1fr;
    border-radius: var(--radius-sm);
  }
  .flash-deal .fd-icon { width: 40px; height: 40px; }
  .flash-deal .fd-text { grid-column: 2; }
  .fd-text strong { font-size: 13.5px; line-height: 1.2; }
  .fd-text small { font-size: 11px; }
  .fd-countdown { grid-column: 1 / -1; gap: 6px; padding-top: 4px; }
  .fd-unit { min-width: 44px; padding: 5px 4px 3px; border-radius: 8px; }
  .fd-unit span { font-size: 17px; }
  .fd-unit label { font-size: 8px; letter-spacing: .5px; }
  .fd-sep { font-size: 16px; padding-top: 4px; }
  .fd-cta {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
    font-size: 13px;
    padding: 10px 16px;
  }
  .brand-name { display: none; }
  .header-app-cta span { display: none; }
  /* Keep language label visible (do not hide all .header-link spans — that hid عربي/English) */
  .search-bar { padding: 8px 12px; }
  .search-bar input { font-size: 13px; }
  .ondemand-bar { padding: 0 16px 12px; }
  .ondemand-pill { padding: 10px 16px; font-size: 13px; }
  .ondemand-cta { padding: 5px 10px; font-size: 12px; }
  .container { padding: 0 14px; }
  .hero { padding: 0 14px; margin-top: 18px; }
  .hero-card { padding: 24px 18px; gap: 22px; }
  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    gap: 16px;
  }
  .hero-phone { width: 200px; height: 400px; transform: rotate(-3deg); margin-bottom: 4px; }
  .hero-app-cta { display: flex; }
  .hero-app-cta .store-badge { width: 100%; justify-content: center; }
  .hero-floats {
    position: static;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    pointer-events: auto;
    width: 100%;
  }
  .float-pill {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    font-size: 11.5px;
    padding: 7px 12px;
    max-width: none;
    line-height: 1.25;
  }
  .float-1, .float-2, .float-3 {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .float-2 { display: inline-flex; }
  .cat-circles { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .cc-img { width: 68px; height: 68px; }
  .cc-img svg { width: 44px; height: 44px; }
  .promo-row { grid-template-columns: 1fr; }
  .promo-tile { min-height: 130px; }
  .promo-tile h3 { font-size: 18px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-rail { grid-auto-columns: minmax(150px, 1fr); }
  .pc-top { height: 150px; }
  .pc-name { font-size: 12.5px; min-height: 34px; }
  .pc-price { font-size: 14px; }
  .pc-old { font-size: 11.5px; }
  .testi-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(3, 1fr); padding: 12px 14px; gap: 10px; }
  .trust-item strong { font-size: 15px; }
  .trust-item span { font-size: 10.5px; }
  .inline-app { padding: 22px 18px; }
  .inline-app h3 { font-size: 18px; }
  .inline-app p { font-size: 13px; }
  .ia-actions { justify-content: stretch; }
  .ia-actions .store-badge { flex: 1; justify-content: center; }
  .final-cta { padding: 24px 18px; margin-top: 32px; margin-bottom: 88px; }
  .final-cta h2 { font-size: 24px; }
  .fc-actions .store-badge { width: 100%; justify-content: center; }
  .fc-qr { display: none; }
  .fc-visual { min-height: 0; display: none; }
  .smart-banner { padding: 8px 12px; gap: 10px; }
  .sb-text strong { font-size: 12.5px; }
  .sb-text small { font-size: 11px; }
  .sb-cta { padding: 8px 12px; font-size: 12px; }
  .mobile-app-bar { display: flex; padding: 8px 12px; gap: 10px; }
  .mab-text strong { font-size: 13px; }
  .mab-text small { font-size: 11px; }
  body { padding-bottom: 78px; }
  .toast { bottom: 92px; }
  .modal-card { width: 94vw; max-height: 90vh; }
  .modal-left { padding: 24px 18px 18px; }
  .modal-left h2 { font-size: 18px; }
  .modal-left p { font-size: 13px; }
  .modal-actions .store-badge { width: 100%; justify-content: center; }
  .section-title { font-size: 20px; }
  .section-eyebrow { font-size: 11px; }
  .testi-card p { font-size: 13.5px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero { padding: 0 12px; }
  .hero-card { padding: 22px 16px; }
  .hero-title { font-size: 26px; line-height: 1.1; }
  .hero-sub { font-size: 14px; }
  .hero-visual { min-height: 280px; }
  .hero-phone { width: 184px; height: 376px; }
  .float-pill { font-size: 10.5px; padding: 6px 10px; max-width: none; }
  #app-exclusive .product-rail { grid-auto-columns: minmax(180px, 1fr); }
  #app-exclusive .pc-top { height: 200px; }
  #app-exclusive .pc-locked { padding: 14px 12px; gap: 6px; }
  #app-exclusive .pc-locked strong { font-size: 13.5px; }
  #app-exclusive .pc-locked small { font-size: 11.5px; }
  #app-exclusive .pc-locked-cta { padding: 8px 14px; font-size: 12.5px; margin-top: 8px; }
  .flash-deal { padding: 10px 10px; gap: 8px; }
  .flash-deal .fd-icon { width: 36px; height: 36px; }
  .fd-text strong { font-size: 12.5px; }
  .fd-text small { font-size: 10.5px; }
  .fd-countdown { gap: 4px; }
  .fd-unit { min-width: 38px; padding: 4px 3px 3px; }
  .fd-unit span { font-size: 15px; }
  .fd-unit label { font-size: 7.5px; }
  .fd-sep { font-size: 14px; padding-top: 3px; }
  .fd-cta { font-size: 12.5px; padding: 9px 14px; }
  .cat-nav a { padding: 12px 10px; font-size: 12.5px; }
  .section-controls .see-all { display: none; }
  .cat-circles { gap: 8px; }
  .cc-img { width: 60px; height: 60px; }
  .cc-img svg { width: 38px; height: 38px; }
  .cat-circle span:not(.cc-img) { font-size: 11px; }
  .product-rail { grid-auto-columns: 145px; gap: 10px; }
  .pc-top { height: 140px; }
  .promo-tile { min-height: 118px; padding: 16px; }
  .promo-tile h3 { font-size: 16px; }
  .trust-bar { grid-template-columns: repeat(3, 1fr); padding: 10px 12px; gap: 8px; }
  .trust-item strong { font-size: 14px; }
  .trust-item span { font-size: 10px; }
  .inline-app { padding: 18px 14px; }
  .inline-app h3 { font-size: 16px; }
  .final-cta { padding: 20px 14px; margin-bottom: 84px; }
  .final-cta h2 { font-size: 21px; line-height: 1.15; }
  .smart-banner { padding: 7px 10px; }
  .sb-icon svg,
  .sb-icon img { width: 32px; height: 32px; }
  .modal-card { width: 96vw; }
  .modal-left { padding: 22px 14px 16px; }
  .testi-card { padding: 14px; }
}

@media (max-width: 360px) {
  .fd-unit { min-width: 34px; }
  .fd-unit span { font-size: 14px; }
  .fd-sep { font-size: 13px; }
  .hero-title { font-size: 23px; }
  .hero-phone { width: 168px; height: 350px; }
}

/* ============================================================
 * i18n — language toggle + Arabic font + RTL overrides
 * ============================================================ */

/* Arabic typography: Tajawal for body, also adjust some headings */
body[data-lang="ar"] {
  font-family: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif;
}
body[data-lang="ar"] .hero-title,
body[data-lang="ar"] .section-title,
body[data-lang="ar"] .final-cta h2,
body[data-lang="ar"] .inline-app h3,
body[data-lang="ar"] .promo-tile h3 {
  font-family: 'Tajawal', 'Inter', sans-serif;
  letter-spacing: 0; /* Latin tracking looks weird in Arabic */
}

/* Arabic price labels use ر.ق (QAR); widen old-price strikethrough slightly */
body[data-lang="ar"] .pc-old { letter-spacing: 0; }

/* Document direction is set on <html dir="rtl"> by JS. */

/* Mirror unicode arrows / chevrons / close glyphs. The carousel chevrons,
   the on-demand "Order in App →", the SMS "+" placeholders, the sb-close
   "×" are all symmetric or already directional, so most don't need work.
   We DO need to flip the carousel SVG arrows because they hard-code a
   geometric path that points one way. */
[dir="rtl"] .carousel-btn svg,
[dir="rtl"] .ondemand-cta svg,
[dir="rtl"] .header-app-cta svg,
[dir="rtl"] .store-badge svg,
[dir="rtl"] .fc-actions .store-badge svg {
  transform: scaleX(-1);
}

/* Search bar: keep icon + input flow correct. The form is a flexbox so
   it auto-mirrors. We do explicitly swap the icon's margin in case any
   container uses padding-left. */
[dir="rtl"] .search-bar svg { margin-left: 0; margin-right: 4px; }

/* Smart banner close button sits at top-right in LTR; flip to top-left in RTL */
[dir="rtl"] .sb-close { right: auto; left: 8px; }

/* Modal close X */
[dir="rtl"] .modal-close { right: auto; left: 12px; }

/* Product card discount/tag badges sit at top-left + top-right; swap them */
[dir="rtl"] .pc-tag { left: auto; right: 8px; }
[dir="rtl"] .pc-discount { right: auto; left: 8px; }
[dir="rtl"] .pc-wishlist { right: auto; left: 8px; }

/* Phone mockup price strike doesn't need mirroring (numbers stay LTR) but
   make sure numeric runs render LTR inside the RTL paragraph */
[dir="rtl"] .phone-price,
[dir="rtl"] .pc-price,
[dir="rtl"] .pc-old,
[dir="rtl"] .trust-item strong {
  unicode-bidi: plaintext;
}

/* Cat circles and trust bar text-align */
[dir="rtl"] .trust-item span { text-align: center; }
[dir="rtl"] .cat-circle { text-align: center; }

/* Hero phone arrow on percentage badges (-70%) — flip the minus sign? No.
   The "%" stays right of the digits in both languages; nothing to do. */

/* SMS row: input direction stays LTR (phone numbers) */
[dir="rtl"] #smsPhone,
[dir="rtl"] #modalSmsPhone {
  direction: ltr;
  text-align: right;
}

/* Section header carousel buttons appear on the right in LTR; in RTL they
   should appear on the left. The header is flex with `justify-content:
   space-between`, so this is automatic. We just need to flip the rail
   scroll direction so "scroll right" arrow scrolls toward the start of
   the rail in RTL — that's handled in JS by checking dir. */

/* RTL carousel rail: keep horizontal scroll snapping the same direction.
   Browsers automatically reverse the visual order in [dir="rtl"], so the
   first card appears on the right. No extra work required for the rail. */

/* Footer columns and bottom links — already use flex, will mirror. */
[dir="rtl"] .footer-bottom-links { justify-content: flex-end; }

/* Final-CTA list checkmarks: keep the ✓ on the start side in both modes */
[dir="rtl"] .fc-list .fc-check { margin-right: 0; }

/* App-rating block "★★★★★ 4.7 · 50K+ ratings" — keep stars/number LTR
   so they don't visually scramble in mixed RTL paragraphs */
[dir="rtl"] .modal-rating,
[dir="rtl"] .hero-rating { unicode-bidi: plaintext; }

