@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* ── Brand palette ── */
  --gold: #D4A43C;
  --gold-light: #e8c872;
  --gold-dark: #b8892a;
  --navy: #0F172A;
  --black: #0B0B0B;
  --white: #FFFFFF;
  --gray: #E5E5E5;

  /* ── Light theme (derived from brand) ── */
  --accent: var(--gold);
  --accent-hover: var(--gold-light);
  --accent-soft: rgba(212, 164, 60, 0.12);
  --accent-gradient: linear-gradient(135deg, #e8c872 0%, #D4A43C 50%, #b8892a 100%);
  --hero-gradient: linear-gradient(135deg, #0B0B0B 0%, #0F172A 55%, #162033 100%);
  --bg: #E5E5E5;
  --surface: #FFFFFF;
  --surface-alt: #E5E5E5;
  --surface-elevated: #FFFFFF;
  --border: #E5E5E5;
  --border-dark: rgba(15, 23, 42, 0.12);
  --text: #0F172A;
  --text-on-dark: #FFFFFF;
  --text-muted: rgba(15, 23, 42, 0.6);
  --text-light: rgba(15, 23, 42, 0.4);
  --navy-mid: #1e293b;
  --navy-light: #334155;
  --green: #059669;
  --green-bg: rgba(5, 150, 105, 0.1);
  --red: #dc2626;
  --red-bg: rgba(220, 38, 38, 0.08);
  --amber: #d97706;
  --amber-bg: rgba(217, 119, 6, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(11, 11, 11, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(11, 11, 11, 0.08), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 16px 48px rgba(11, 11, 11, 0.1), 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-accent: 0 8px 28px rgba(212, 164, 60, 0.3);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Tahoma', sans-serif;
  --header-h: 148px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container { width: min(1180px, 94%); max-width: 100%; margin-inline: auto; padding-inline: 0; box-sizing: border-box; }
main, .header, section, .footer, .brands-bar, .trust-bar, .promo-strip, .cta-bar, .cat-strip {
  max-width: 100%;
}
.page-content { padding-block: 0.5rem 1rem; }
.page-narrow { max-width: 800px; margin-inline: auto; }
.page-wide { max-width: 1180px; margin-inline: auto; }

/* ── Trust / Stats bar ── */
.trust-bar {
  background: var(--surface); border-bottom: 1px solid var(--gray);
  padding: 1.25rem 0; box-shadow: var(--shadow-sm);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat-item {
  text-align: center; padding: 0.5rem;
  border-inline-end: 1px solid var(--border);
}
.stat-item:last-child { border-inline-end: none; }
.stat-item strong {
  display: block; font-size: 1.35rem; font-weight: 800;
  color: var(--gold); letter-spacing: -0.02em; line-height: 1.2;
}
.stat-item span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* ── Feature cards ── */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0;
}
.feature-card {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: var(--surface); padding: 1.15rem; border-radius: var(--radius-lg);
  border: 1px solid var(--gray); transition: all var(--transition);
}
.feature-card:hover { background: var(--accent-soft); border-color: var(--gold); }
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-gradient); color: var(--navy);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 800; box-shadow: var(--shadow-accent);
}
.feature-card h3 { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.feature-card p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

.mission-block {
  margin-top: 1.5rem; padding: 1.5rem;
  background: var(--hero-gradient); border-radius: var(--radius-lg);
  color: var(--text-on-dark); position: relative; overflow: hidden;
  border: 1px solid rgba(212, 164, 60, 0.2);
}
.mission-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(212,164,60,0.18) 0%, transparent 50%);
}
.mission-block h2, .mission-block p { position: relative; z-index: 1; }
.mission-block h2 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.mission-block p { font-size: 0.9375rem; opacity: 0.85; line-height: 1.65; margin: 0; }

.welcome-bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem;
  background: var(--surface); padding: 1rem 1.25rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.welcome-bar p { font-size: 0.9375rem; color: var(--text-muted); }
.welcome-bar strong { color: var(--text); }

.contact-form-card {
  background: var(--surface); padding: 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); margin-top: 0.5rem;
}
.contact-form-card h3 {
  font-size: 0.9375rem; font-weight: 700; color: var(--text);
  margin-bottom: 1rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.panel-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 1.5rem;
}


/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.35rem; border-radius: var(--radius-full); font-weight: 600;
  font-size: 0.875rem; border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition); font-family: inherit;
}
.btn-primary {
  background: var(--accent-gradient); color: var(--navy); border-color: transparent;
  box-shadow: var(--shadow-accent); font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-1px); box-shadow: 0 12px 32px rgba(212, 164, 60, 0.45); color: var(--navy);
}
.btn-outline {
  background: var(--white); color: var(--navy); border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--text-on-dark); border-color: rgba(229,229,229,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(229,229,229,0.5); color: var(--text-on-dark); }
.btn-whatsapp { background: linear-gradient(135deg, #22c55e, #16a34a); color: var(--white); border-color: transparent; box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3); }
.btn-whatsapp:hover { transform: translateY(-1px); color: var(--white); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ── Header ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: transform 0.28s ease;
  will-change: transform;
}
#site-header.is-hidden {
  transform: translateY(-100%);
}

.header {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray);
  box-shadow: var(--shadow-sm);
}
#site-header.is-hidden .header {
  box-shadow: none;
}

.top-bar {
  background: var(--navy); color: var(--gray);
  font-size: 0.75rem; padding: 0.35rem 0; letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(212, 164, 60, 0.15);
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-bar a { color: var(--gray); }
.top-bar a:hover { color: var(--white); }
.top-bar-left { display: flex; gap: 1.25rem; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 0.35rem; }
.top-bar-right { display: flex; align-items: center; gap: 0.75rem; margin-inline-start: auto; }
.top-bar-social { display: flex; align-items: center; gap: 0.35rem; }
.top-bar-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  color: rgba(229,229,229,0.85); background: rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}
.top-bar-social-link svg { width: 0.95rem; height: 0.95rem; fill: currentColor; }
.top-bar-social-link:hover { color: var(--white); background: rgba(212,164,60,0.22); transform: translateY(-1px); }
.top-bar-social-whatsapp:hover { color: #25d366; }
.top-bar-social-facebook:hover { color: #1877f2; }
.top-bar-social-youtube:hover { color: #ff0000; }
.top-bar-social-instagram:hover { color: #e4405f; }

@media (max-width: 640px) {
  .top-bar-left span:last-child { display: none; }
  .top-bar-social-link { width: 1.6rem; height: 1.6rem; }
}

.lang-switch { display: flex; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); overflow: hidden; }
.lang-btn {
  background: transparent; border: none; color: rgba(229,229,229,0.75);
  padding: 0.15rem 0.55rem; cursor: pointer; font-size: 0.7rem; font-family: inherit;
}
.lang-btn.active { background: var(--accent-soft); color: var(--gold); font-weight: 600; }
.lang-btn:hover:not(.active) { color: var(--white); }

.header-main {
  display: flex; align-items: center; gap: 1.25rem; padding: 0.85rem 0;
}

.logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.footer .logo-img {
  height: 40px;
  max-width: 180px;
}
.logo-mark {
  width: 42px; height: 42px; background: var(--accent-gradient); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.15rem; border-radius: var(--radius-sm);
  letter-spacing: -0.02em; box-shadow: var(--shadow-accent);
}
.logo-text { font-weight: 700; font-size: 1.25rem; color: var(--text); line-height: 1.2; }
.logo-tagline { display: block; font-size: 0.65rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.logo:hover .logo-text { color: var(--gold); }

.search-form {
  flex: 1; display: flex; min-width: 180px; max-width: 440px;
  border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.search-form:focus-within { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-form input {
  flex: 1; border: none; padding: 0.6rem 1rem; font-size: 0.875rem;
  outline: none; background: transparent; font-family: inherit; color: var(--text);
}
.search-form input::placeholder { color: var(--text-light); }
.search-form button {
  background: var(--gold); color: var(--navy); border: none;
  padding: 0 1rem; cursor: pointer; display: flex; align-items: center;
  transition: background var(--transition);
}
.search-form button:hover { background: var(--gold-light); }
.search-form button svg { width: 16px; height: 16px; }

.nav-desktop { display: flex; gap: 0.15rem; }
.nav-desktop a {
  color: var(--text-muted); font-weight: 600; font-size: 0.875rem;
  padding: 0.45rem 0.85rem; border-radius: var(--radius-full);
  transition: all var(--transition);
}
.nav-desktop a:hover { background: var(--accent-soft); color: var(--gold); }
.nav-desktop a.active { background: var(--accent-soft); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.15rem; margin-inline-start: auto; }
.action-btn {
  position: relative; color: var(--text-muted); padding: 0.5rem 0.65rem;
  border-radius: var(--radius-full); display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.8125rem; font-weight: 600; transition: all var(--transition);
}
.action-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.action-btn:hover { background: var(--accent-soft); color: var(--gold); }
.action-label { display: none; }

.badge {
  position: absolute; top: 2px; inset-inline-end: 2px;
  background: var(--gold); color: var(--navy); font-size: 0.6rem;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.badge[hidden], .badge:empty { display: none; }

/* Mini cart */
.mini-cart-wrap { position: relative; }
.mini-cart-toggle {
  background: none; border: none; cursor: pointer; font: inherit;
}
.mini-cart-toggle.active { background: var(--accent-soft); color: var(--gold); }
.mini-cart-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  width: min(360px, calc(100% - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(15, 23, 42, 0.14));
  z-index: 200;
  overflow: hidden;
}
.mini-cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem; border-bottom: 1px solid var(--border);
  background: var(--surface-alt, #f8fafc);
}
.mini-cart-head strong { font-size: 0.9rem; color: var(--text); }
.mini-cart-count {
  background: var(--gold); color: var(--navy); font-size: 0.72rem;
  font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--radius-full);
}
.mini-cart-items {
  max-height: 280px; overflow-y: auto; padding: 0.5rem;
}
.mini-cart-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 0.65rem;
  align-items: center; padding: 0.55rem; border-radius: var(--radius-sm);
}
.mini-cart-item:hover { background: var(--accent-soft); }
.mini-cart-thumb img {
  width: 56px; height: 56px; object-fit: contain;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff;
}
.mini-cart-name {
  display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text);
  line-height: 1.35; margin-bottom: 0.15rem;
}
.mini-cart-name:hover { color: var(--gold); }
.mini-cart-meta { font-size: 0.75rem; color: var(--text-muted); }
.mini-cart-remove {
  width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 50%;
  background: var(--white); color: var(--text-muted); cursor: pointer;
  font-size: 1.1rem; line-height: 1; transition: all var(--transition);
}
.mini-cart-remove:hover { border-color: var(--red, #dc2626); color: var(--red, #dc2626); }
.mini-cart-foot {
  padding: 0.85rem 1rem 1rem; border-top: 1px solid var(--border);
  background: var(--surface-alt, #f8fafc);
}
.mini-cart-row {
  display: flex; justify-content: space-between; gap: 0.75rem;
  font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem;
}
.mini-cart-row.total { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed var(--border); color: var(--text); }
.mini-cart-row.total strong { font-size: 1rem; color: var(--navy); }
.mini-cart-row.discount { color: var(--green, #059669); }
.mini-cart-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.85rem;
}
.mini-cart-actions .btn { width: 100%; justify-content: center; }
.mini-cart-empty { padding: 1.5rem 1rem; text-align: center; }
.mini-cart-empty p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1rem; }
.mini-cart-foot .cart-min-notice { margin: 0.65rem 0 0; font-size: 0.75rem; }

.menu-toggle {
  display: none; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.35rem 0.5rem; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 20px; height: 20px; }

/* Category strip */
.cat-strip {
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.cat-strip .hscroll-wrap { padding-block: 0; }
.cat-strip-inner {
  display: flex; gap: 0;
}
.cat-strip a {
  white-space: nowrap; padding: 0.7rem 1.1rem; font-size: 0.8125rem;
  font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.cat-strip a:hover { color: var(--text); }
.cat-strip a.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── Hero slider ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  min-height: min(620px, 78vh);
  background: var(--black);
}

.hero-slider {
  position: relative;
  display: grid;
  width: 100%;
  min-height: min(620px, 78vh);
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: min(620px, 78vh);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-color: #0b0b0b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  animation: heroKenBurns 7s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-slide-bg.is-placeholder {
  background-image:
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(212,164,60,0.15) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(15,23,42,0.5) 0%, transparent 45%),
    var(--hero-gradient);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,11,0.15) 0%, rgba(11,11,11,0.35) 55%, rgba(11,11,11,0.82) 100%),
    linear-gradient(90deg, rgba(11,11,11,0.78) 0%, rgba(11,11,11,0.45) 42%, rgba(11,11,11,0.12) 72%, transparent 100%);
  pointer-events: none;
}

[dir="rtl"] .hero-slide-overlay {
  background:
    linear-gradient(180deg, rgba(11,11,11,0.15) 0%, rgba(11,11,11,0.35) 55%, rgba(11,11,11,0.82) 100%),
    linear-gradient(-90deg, rgba(11,11,11,0.78) 0%, rgba(11,11,11,0.45) 42%, rgba(11,11,11,0.12) 72%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding: clamp(2.5rem, 6vh, 4rem) 0 clamp(4.5rem, 9vh, 5.5rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  width: 100%;
}

.hero-content {
  max-width: 620px;
  animation: heroContentIn 0.8s ease both;
}

.hero-slide.active .hero-content {
  animation: heroContentIn 0.8s ease both;
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.1rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
  margin: 0;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.hero-counter-sep {
  margin-inline: 0.35rem;
  opacity: 0.45;
}

.hero-title {
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  line-height: 1.12;
  color: var(--text-on-dark);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-desc {
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  color: rgba(229, 229, 229, 0.88);
  margin-bottom: 1.75rem;
  max-width: 540px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-btn-primary {
  box-shadow: var(--shadow-accent);
  min-width: 148px;
}

.hero-btn-secondary {
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

.hero-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-promo {
  align-self: end;
  min-width: 168px;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  text-align: center;
  animation: heroContentIn 0.9s 0.1s ease both;
}

.hero-promo-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-promo-value {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold-dark);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: 1rem;
  pointer-events: none;
}

.hero-controls > * {
  pointer-events: auto;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(10px);
  color: var(--text-on-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.hero-arrow:hover {
  background: rgba(212,164,60,0.22);
  border-color: rgba(212,164,60,0.55);
  transform: scale(1.05);
}

.hero-arrow svg {
  display: block;
}

[dir="rtl"] .hero-arrow svg {
  transform: scaleX(-1);
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(15,23,42,0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-dot {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.35rem 0;
}

.hero-dot span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active span {
  width: 44px;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-slide-bg,
  .hero-content,
  .hero-promo {
    animation: none !important;
  }
}

/* legacy */
.hero-btns,
.hero-points,
.hero-point,
.hero-content-badge,
.hero-media { display: none; }
.hero-showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 400px;
  padding: 0.25rem;
}
.hero-showcase-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: block;
}
.hero-showcase-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,164,60,0.35);
}
.hero-showcase-main { grid-row: span 2; }
.hero-showcase-item img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  padding: 1rem; background: linear-gradient(180deg, var(--white) 0%, var(--gray) 100%);
  min-height: 130px;
}
.hero-showcase-main img { padding: 1.25rem; min-height: 100%; }
.hero-showcase-label {
  position: absolute; bottom: 0; inset-inline: 0;
  padding: 2rem 0.85rem 0.65rem; font-size: 0.75rem; font-weight: 600;
  color: var(--text-on-dark); letter-spacing: 0.01em;
  background: linear-gradient(transparent, rgba(11,11,11,0.85));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-showcase-item::after {
  content: ''; position: absolute; top: 0.65rem; inset-inline-end: 0.65rem;
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}
.hero-img-badge {
  position: absolute; bottom: 1.25rem; inset-inline-start: 1.25rem; z-index: 2;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem; border-radius: var(--radius-lg);
  font-size: 0.8125rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); color: var(--text-muted);
}
.hero-img-badge strong { display: block; color: var(--gold-dark); font-size: 1.1rem; font-weight: 800; margin-top: 0.15rem; }

.nav-mobile {
  background: var(--navy); padding: 0.75rem 1rem;
  display: flex; flex-direction: column; border-bottom: 1px solid rgba(212,164,60,0.2);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a { color: var(--gray); padding: 0.55rem 0; font-size: 0.875rem; font-weight: 500; }
.nav-mobile a:hover { color: var(--text-on-dark); }
.nav-mobile a.active { color: var(--gold); font-weight: 600; }

/* ── Promo strip ── */
.promo-strip { padding: 1.5rem 0; }
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.promo-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: rgba(212,164,60,0.3); }
.promo-card.featured {
  background: var(--hero-gradient); color: var(--text-on-dark);
  box-shadow: var(--shadow-lg); border-color: rgba(212,164,60,0.25);
}
.promo-card h3 { font-size: 0.9375rem; font-weight: 700; line-height: 1.4; color: var(--text); }
.promo-card p { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.promo-card.featured p { color: var(--gray); }
.promo-card .btn { flex-shrink: 0; }
.promo-card.featured .btn-outline { color: var(--text-on-dark); border-color: rgba(229,229,229,0.4); background: rgba(255,255,255,0.08); }
.promo-card.featured .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--gold); color: var(--gold-light); }

/* ── Brands ── */
.brands-bar {
  background: var(--surface); border-block: 1px solid var(--border); padding: 0.85rem 0;
}
.brands-inner {
  display: flex; align-items: center; gap: 1.5rem; overflow-x: auto;
  scrollbar-width: none;
}
.brands-inner::-webkit-scrollbar { display: none; }
.brands-label { font-size: 0.75rem; color: var(--text-light); white-space: nowrap; font-weight: 500; }
.brand-name {
  font-size: 0.8125rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap; letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem; background: var(--surface-alt); border-radius: var(--radius-full);
  transition: all var(--transition);
}
.brand-name:hover { color: var(--gold); background: var(--accent-soft); }

/* ── Sections ── */
section { padding: 3rem 0; }
.page-hero + section { padding-top: 2.5rem; padding-bottom: 3rem; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; gap: 1rem;
}
.section-header h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.02em; position: relative; padding-inline-start: 0.85rem;
}
.section-header h2::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.15em; bottom: 0.15em;
  width: 3px; background: var(--accent-gradient); border-radius: var(--radius-full);
}
.section-header a {
  font-size: 0.8125rem; font-weight: 600; color: var(--accent);
  padding: 0.35rem 0.85rem; border-radius: var(--radius-full);
  background: var(--accent-soft); transition: all var(--transition);
}
.section-header a:hover { background: var(--gold); color: var(--navy); }

.section-alt { background: var(--surface-alt); }

/* Horizontal scroll controls */
.hscroll-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hscroll-wrap [data-hscroll-track] {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hscroll-wrap [data-hscroll-track]::-webkit-scrollbar { display: none; }
.hscroll-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
}
.hscroll-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
[dir="rtl"] .hscroll-btn svg {
  transform: scaleX(-1);
}
.hscroll-btn:hover:not(:disabled) {
  background: var(--accent-soft);
  border-color: var(--gold);
  transform: scale(1.04);
}
.hscroll-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.hscroll-btn[hidden] {
  display: none;
}

/* Categories */
.category-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-block: 0.15rem 0.35rem;
}
.category-grid::-webkit-scrollbar { display: none; }
.category-card {
  flex: 0 0 auto;
  width: 8.5rem;
  min-width: 8.5rem;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gray);
  border-radius: var(--radius-lg); padding: 1.25rem 0.75rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.category-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.cat-thumb {
  width: 64px; height: 64px; margin: 0 auto 0.75rem;
  background: var(--accent-soft); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: all var(--transition);
  overflow: hidden;
}
.cat-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-card:hover .cat-thumb:not(:has(.cat-thumb-img)) { background: var(--accent-gradient); color: var(--navy); }
.category-card:hover .cat-thumb:has(.cat-thumb-img) { transform: scale(1.04); }
.cat-thumb svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.category-card h3 { font-size: 0.75rem; font-weight: 700; color: var(--text); line-height: 1.4; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); max-width: 960px; }

.product-card {
  background: var(--surface); border: 1px solid var(--gray);
  border-radius: var(--radius-lg); position: relative;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: all var(--transition); overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.discount-badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
  background: var(--red); color: var(--white); padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full); font-size: 0.6875rem; font-weight: 700;
}

.wishlist-btn {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  background: var(--white); border: none; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-light); padding: 0; box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.wishlist-btn:hover { color: var(--red); transform: scale(1.08); }
.wishlist-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.wishlist-btn.active { color: var(--red); background: var(--red-bg); }
.wishlist-btn.active svg { fill: var(--red); stroke: var(--red); }

.product-img-wrap {
  aspect-ratio: 1; overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray) 55%, var(--gray) 100%);
  padding: 1.25rem; position: relative;
  border-bottom: 1px solid var(--border);
}
.product-img-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,0.06), transparent);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 8px 16px rgba(15,23,42,0.08));
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.product-brand {
  font-size: 0.6875rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.product-body h3 { font-size: 0.8125rem; line-height: 1.45; font-weight: 600; }
.product-body h3 a { color: var(--text); transition: color var(--transition); }
.product-body h3 a:hover { color: var(--accent); }

.rating-row { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--text-muted); }
.rating-bar span {
  width: 12px; height: 12px; background: var(--border);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.rating-bar span.on { background: #fbbf24; }

.product-price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem; flex-wrap: wrap; }
.price-current { font-size: 1.05rem; font-weight: 800; color: var(--gold-dark); letter-spacing: -0.02em; }
.price-old { font-size: 0.75rem; color: var(--text-light); text-decoration: line-through; }

.product-visitor-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.65rem;
  margin-top: 0.15rem;
}
.product-added-date {
  font-size: 0.6875rem; color: var(--text-muted); font-weight: 500;
}
.product-meta-label {
  color: var(--text-light); font-weight: 600;
}
.product-added-date-lg {
  font-size: 0.8125rem;
}
.product-meta .product-added-date-lg {
  display: block;
  width: 100%;
  margin-bottom: 0.15rem;
}

.stock { font-size: 0.6875rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: var(--radius-full); }
.stock.in { color: var(--green); background: var(--green-bg); }
.stock.low { color: var(--amber); background: var(--amber-bg); }
.stock.out { color: var(--red); background: var(--red-bg); }

.product-actions { margin-top: 0.75rem; }
.product-actions .btn { width: 100%; font-size: 0.8125rem; padding: 0.5rem; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testimonial-card {
  background: var(--surface-elevated); border: 1px solid var(--border);
  padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: all var(--transition); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 0.75rem; inset-inline-start: 1rem;
  font-size: 2.5rem; line-height: 1; color: var(--accent-soft); font-weight: 800;
  font-family: Georgia, serif; pointer-events: none;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0.75rem 0; line-height: 1.65; padding-inline-start: 0.5rem; }
.testimonial-card footer { font-size: 0.8125rem; }
.testimonial-card footer strong { color: var(--text); font-weight: 700; }
.testimonial-card footer span { color: var(--text-light); }
.testimonial-submit-wrap { margin-top: 2rem; max-width: 640px; margin-inline: auto; }

.reviews-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.review-card {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.review-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  flex-wrap: wrap; margin-bottom: 0.5rem;
}
.review-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.5rem; }
.review-date { font-size: 0.75rem; color: var(--text-light); }
.review-empty { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.25rem; }
.product-reviews-section { margin-top: 2.5rem; }
.review-form-card {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
  max-width: 640px;
}
.review-form-card h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.review-form-note { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1rem; }
.review-form-card .form-group { margin-bottom: 0.85rem; }
.review-form-card label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.35rem; }
.review-form-card input,
.review-form-card textarea {
  width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.875rem;
}
.star-rating-input {
  display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem;
}
.star-rating-label { position: relative; cursor: pointer; line-height: 1; }
.star-rating-label span { color: #d1d5db; font-size: 1.35rem; transition: color var(--transition); }
.star-rating-label input,
.review-form-card .star-rating-label input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.star-rating-label:hover span,
.star-rating-label:hover ~ .star-rating-label span,
.star-rating-label:has(input:checked) span,
.star-rating-label:has(input:checked) ~ .star-rating-label span { color: #fbbf24; }

/* CTA bar */
.cta-bar {
  background: var(--hero-gradient); color: var(--text-on-dark); padding: 2.5rem 0;
  position: relative; overflow: hidden;
}
.cta-bar::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(212,164,60,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-bar h2 { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.cta-bar p { font-size: 0.875rem; opacity: 0.75; margin-top: 0.3rem; }
.cta-form { display: flex; gap: 0.5rem; }
.cta-form input {
  padding: 0.65rem 1.1rem; border: 1px solid rgba(229,229,229,0.3);
  border-radius: var(--radius-full); background: rgba(255,255,255,0.08);
  color: var(--text-on-dark); font-size: 0.875rem; min-width: 0; width: min(240px, 100%); font-family: inherit;
  backdrop-filter: blur(4px); transition: all var(--transition);
  flex: 1 1 160px;
}
.cta-form input::placeholder { color: rgba(229,229,229,0.55); }
.cta-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }

/* Page hero */
.page-hero {
  background: var(--hero-gradient); padding: 2.5rem 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,164,60,0.1) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-layout {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem; flex-wrap: wrap;
}
.page-hero-text { flex: 1 1 200px; min-width: 0; }
.page-hero h1 { font-size: 1.5rem; font-weight: 800; color: var(--text-on-dark); letter-spacing: -0.02em; }
.page-breadcrumb { font-size: 0.8125rem; color: rgba(229,229,229,0.6); margin-top: 0.4rem; }
.page-breadcrumb a { color: var(--gray); }
.page-breadcrumb a:hover { color: var(--gold-light); }

.page-hero-ads-wrap {
  flex: 1 1 260px; max-width: 420px; min-width: 200px; margin-inline-start: auto;
}
.page-hero.has-ads .page-hero-ads-wrap { margin-inline-start: auto; }
.page-hero-ads {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 16 / 5; background: rgba(0,0,0,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.page-hero-ad-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.65s ease;
  pointer-events: none;
}
.page-hero-ad-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.page-hero-ad-link { display: block; width: 100%; height: 100%; }
.page-hero-ad-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-hero-ad-controls {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.5rem;
}
.page-hero-ad-arrow {
  width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: var(--text-on-dark); cursor: pointer;
  font-size: 1rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.page-hero-ad-arrow:hover { background: rgba(212,164,60,0.25); border-color: var(--gold); }
.page-hero-ad-dots { display: flex; gap: 0.35rem; }
.page-hero-ad-dot {
  width: 0.45rem; height: 0.45rem; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.35); cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.page-hero-ad-dot.active { background: var(--gold); transform: scale(1.15); }

@media (max-width: 640px) {
  .page-hero.has-ads { padding: 1.75rem 0 2rem; }
  .page-hero-ads-wrap { flex: 1 1 100%; max-width: none; margin-inline-start: 0; }
  .page-hero-ads { aspect-ratio: 2.4 / 1; }
}

/* Filters */
.filters-bar {
  background: var(--surface-elevated); padding: 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1.5rem; box-shadow: var(--shadow-md);
}
.filters-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; align-items: end; }
.filters-form label { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.result-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1rem; }
.filters-form input, .filters-form select {
  width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.875rem; font-family: inherit; background: var(--white);
  color: var(--text); transition: all var(--transition);
}
.filters-form input:focus, .filters-form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--white);
}

/* ── Product detail page ── */
.product-detail-wrap {
  padding-block: 1.25rem 3.5rem;
}

.product-detail-wrap .page-breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  padding: 0.65rem 0;
}

.product-detail-wrap .page-breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.product-detail-wrap .page-breadcrumb a:hover {
  color: var(--gold-dark);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

.product-gallery-col {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.product-gallery-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  overflow: hidden;
}

.product-gallery-stage {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(212,164,60,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #f3f4f6 100%);
  border: 1px solid var(--border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-stage .main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(1rem, 3vw, 2rem);
  transition: transform 0.35s ease;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  aspect-ratio: auto;
}

.product-gallery-card:hover .product-gallery-stage .main-img {
  transform: scale(1.03);
}

.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.gallery-thumb {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  width: 76px;
  height: 76px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--accent-soft);
  transform: translateY(-1px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.product-purchase-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
  overflow: hidden;
}

.product-purchase-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.product-purchase-head {
  margin-bottom: 1.15rem;
}

.product-purchase-head .product-brand {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.45rem;
}

.product-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.product-meta .product-rating { margin: 0; }
.product-meta .stock { font-size: 0.75rem; padding: 0.25rem 0.65rem; }

.product-price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(212,164,60,0.1) 0%, rgba(212,164,60,0.04) 100%);
  border: 1px solid rgba(212,164,60,0.22);
}

.product-price-lg {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
}

.product-price-lg .price-current {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-price-lg .price-old { font-size: 0.9375rem; }

.product-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin: 0 0 1.35rem;
}

.product-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.product-qty-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.product-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.qty-step-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--surface-alt);
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.qty-step-btn:hover {
  background: var(--accent-soft);
  color: var(--gold-dark);
}

.product-qty-stepper input {
  width: 52px;
  height: 40px;
  border: none;
  border-inline: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  -moz-appearance: textfield;
}

.product-qty-stepper input::-webkit-outer-spin-button,
.product-qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions-main { margin-bottom: 0.75rem; }
.product-actions-main .btn { width: 100%; font-weight: 700; }

.product-actions-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.product-actions-sub .btn {
  font-size: 0.8125rem;
  padding: 0.65rem 0.75rem;
  justify-content: center;
}

.product-wishlist-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.product-wishlist-btn svg { width: 16px; height: 16px; }

.product-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  padding: 0.55rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.product-trust-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--gold-dark);
  font-size: 0.625rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-specs-section { margin-bottom: 2.75rem; }

.product-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.product-section-title::before {
  content: '';
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: var(--accent-gradient);
}

.product-specs-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.product-specs-table th,
.product-specs-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: start;
  vertical-align: top;
}

.product-specs-table tr:last-child th,
.product-specs-table tr:last-child td { border-bottom: none; }

.product-specs-table th {
  width: 38%;
  font-weight: 600;
  color: var(--navy);
  background: rgba(229, 229, 229, 0.45);
}

.product-specs-table td {
  color: var(--text-muted);
  line-height: 1.55;
}

.related-section { padding-top: 0.5rem; }
.related-section .section-header { margin-bottom: 1.15rem; }
.related-section .section-header h2 { font-size: 1.15rem; }

/* shared with service detail page */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: 2.5rem;
}

.service-detail .product-gallery .main-img,
.product-gallery .main-img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray) 100%);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  object-fit: contain;
  aspect-ratio: 1;
}

.service-detail .product-info h1,
.product-info h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin: 0.35rem 0 0.65rem;
}

.service-detail .product-btns,
.product-btns {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.service-detail .product-btns .btn,
.product-btns .btn { flex: 1; min-width: 140px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 0.85rem; align-items: center;
  background: var(--surface-elevated); padding: 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 0.75rem; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-md); }
.cart-item img { border-radius: var(--radius); object-fit: contain; background: var(--surface-alt); border: 1px solid var(--border); }
.cart-item-info h3 { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.qty-controls { display: inline-flex; align-items: center; border: 1px solid var(--border-dark); border-radius: var(--radius); margin-top: 0.4rem; }
.qty-controls button {
  width: 28px; height: 28px; border: none; background: var(--surface-alt);
  cursor: pointer; font-size: 0.9rem; color: var(--text);
}
.qty-controls span { padding: 0 0.5rem; font-size: 0.875rem; min-width: 28px; text-align: center; }
.cart-item-total { font-weight: 700; font-size: 0.9375rem; color: var(--navy); }
.remove-btn { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 0.75rem; grid-column: 3; }
.remove-btn:hover { color: var(--red); }

.cart-summary {
  background: var(--surface-elevated); padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  position: sticky; top: calc(var(--header-h) + 0.75rem);
}
.cart-summary h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.85rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.875rem; }
.summary-row.total {
  font-size: 1.05rem; font-weight: 700; border-top: 1px solid var(--border);
  margin-top: 0.5rem; padding-top: 0.75rem; color: var(--navy);
}
.summary-row.discount { color: var(--green); }
.coupon-row { display: flex; gap: 0.4rem; margin: 0.75rem 0; }
.coupon-row input { flex: 1; padding: 0.45rem 0.65rem; border: 1px solid var(--border-dark); border-radius: var(--radius); font-size: 0.8125rem; font-family: inherit; background: var(--white); color: var(--text); }
.coupon-hint { font-size: 0.6875rem; color: var(--text-light); text-align: center; margin-top: 0.5rem; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; }
.checkout-form {
  background: var(--surface-elevated); padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.checkout-form h2 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; margin-top: 1.25rem; }
.checkout-form h2:first-child { margin-top: 0; }
.cart-min-notice {
  margin: 0.85rem 0 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #fffbeb;
  border: 1px solid rgba(212, 164, 60, 0.35);
  color: #92400e;
  font-size: 0.8125rem;
  line-height: 1.55;
}
.cart-summary .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-group { margin-bottom: 0.85rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.8125rem; margin-bottom: 0.25rem; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.875rem; font-family: inherit;
  background: var(--white); color: var(--text); transition: all var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.payment-options { display: flex; flex-direction: column; gap: 0.5rem; margin: 0.75rem 0; }
.payment-option {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.85rem;
  border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 0.875rem;
  transition: all var(--transition);
}
.payment-option:has(input:checked) { border-color: var(--gold); background: var(--accent-soft); }
.payment-option input { flex-shrink: 0; accent-color: var(--gold); }
.payment-option-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.payment-option-body strong { font-weight: 700; color: var(--text); }
.payment-option-account { font-size: 0.8125rem; color: var(--accent); font-weight: 600; }
.payment-intro { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.payment-details {
  margin: 0.75rem 0 1rem; padding: 0.85rem 1rem;
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--surface-alt);
}
.payment-hint { font-size: 0.8125rem; color: var(--text-muted); margin: 0 0 0.5rem; }
.payment-account-display { margin: 0; font-size: 0.875rem; }
.payment-account-display strong { color: var(--navy); font-size: 1rem; margin-inline-start: 0.35rem; }
.payment-option-static {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.85rem 1rem; border: 2px solid var(--gold); border-radius: var(--radius-sm);
  background: var(--accent-soft); font-weight: 600;
}
.payment-cod-icon { font-size: 1.25rem; line-height: 1; }
.secure-note { font-size: 0.8125rem; color: var(--green); margin-top: 0.75rem; }

.account-type-options { display: flex; flex-direction: column; gap: 0.5rem; }
.account-type-option { position: relative; cursor: pointer; }
.account-type-option input,
.form-group .account-type-option input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
.account-type-box {
  display: block; padding: 0.75rem 0.85rem; border: 2px solid var(--border);
  border-radius: var(--radius); transition: all var(--transition);
}
.account-type-box strong { display: block; font-size: 0.875rem; color: var(--text); margin-bottom: 0.15rem; }
.account-type-box small { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.account-type-option:has(input:checked) .account-type-box {
  border-color: var(--gold); background: var(--accent-soft);
}
.account-type-option:hover .account-type-box { border-color: var(--gold); }

.tier-badge {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-full);
  background: var(--accent-soft); color: var(--gold); margin-inline-start: 0.35rem;
  vertical-align: middle;
}

.order-success {
  text-align: center; padding: 3rem 2rem; background: var(--surface-elevated);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.order-success .icon {
  width: 56px; height: 56px; background: var(--green-bg); color: var(--green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem; box-shadow: 0 4px 16px rgba(5, 150, 105, 0.15);
}

/* Account */
.account-tabs { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; background: var(--surface); padding: 0.35rem; border-radius: var(--radius-full); box-shadow: var(--shadow-sm); border: 1px solid var(--border); width: fit-content; }
.tab-btn {
  padding: 0.55rem 1.15rem; background: none; border: none; cursor: pointer;
  font-weight: 600; font-size: 0.875rem; color: var(--text-muted);
  border-radius: var(--radius-full); font-family: inherit; transition: all var(--transition);
}
.tab-btn.active { color: var(--navy); background: var(--accent-gradient); box-shadow: var(--shadow-accent); }
.tab-btn:hover:not(.active) { color: var(--gold); background: var(--accent-soft); }
.tab-panel[hidden] { display: none; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 720px; margin: 0 auto; }
.auth-card { background: var(--surface-elevated); padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.auth-card h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }
.auth-note {
  font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55;
  margin: -0.35rem 0 1rem; padding: 0.65rem 0.75rem;
  background: var(--accent-soft); border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 164, 60, 0.25);
}
.order-card {
  background: var(--surface-elevated); padding: 1rem 1.15rem; border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 0.5rem; font-size: 0.875rem;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.order-card:hover { box-shadow: var(--shadow-md); }

/* Content */
.content-page {
  background: var(--surface-elevated); padding: 2rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); max-width: 780px; margin: 0 auto;
}
.page-hero + section .content-page { margin-top: -1.5rem; }
.page-head { padding: 2rem 0 0.25rem; }
.page-head h1 { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.page-head .page-breadcrumb { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.35rem; }
.page-head .page-breadcrumb a { color: var(--text-muted); }
.page-head .page-breadcrumb a:hover { color: var(--gold); }
.content-page h1 { font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.content-page .page-breadcrumb { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.content-page .page-breadcrumb a { color: var(--text-muted); }
.content-page h2 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 1.5rem 0 0.65rem; position: relative; padding-inline-start: 0.75rem;
}
.content-page h2::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 0.2em; bottom: 0.2em;
  width: 3px; background: var(--accent-gradient); border-radius: var(--radius-full);
}
.content-page h2:first-of-type { margin-top: 0.75rem; }
.content-page .lead { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 0.5rem; }
.content-page .meta { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 0.5rem; }
.content-page p, .content-page li { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 0.65rem; line-height: 1.65; }
.content-page ul { padding-inline-start: 1.25rem; list-style: disc; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-card {
  background: var(--surface-elevated); padding: 1.15rem 1.25rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  display: flex; gap: 0.85rem; transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(212,164,60,0.25); }
.contact-card h3 { font-size: 0.8125rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.contact-card p { font-size: 0.875rem; color: var(--text-muted); }
.contact-card .contact-icon {
  width: 40px; height: 40px; background: var(--accent-soft); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--accent); font-size: 0.75rem; font-weight: 800;
}
.map-wrap { border: none; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 280px; border: 0; }

.home-map-section {
  padding: 3rem 0;
  background: var(--surface);
}
.home-map-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.home-map-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.home-map-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.home-map-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.home-map-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.home-map-card a { color: var(--accent); }
.home-map-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  flex-shrink: 0;
  font-size: 1.1rem;
}
.home-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}
.home-map-wrap iframe { height: 100%; min-height: 320px; }
.home-map-wrap { min-height: 320px; height: 100%; }

@media (max-width: 900px) {
  .home-map-grid { grid-template-columns: 1fr; }
  .home-map-wrap iframe { min-height: 280px; }
}

.faq-item {
  background: var(--surface-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: 0.65rem; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(212,164,60,0.25); }
.faq-item summary { padding: 1rem 1.15rem; cursor: pointer; font-weight: 600; font-size: 0.875rem; color: var(--text); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.15rem 1rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.25rem; }
.install-card {
  background: var(--surface-elevated); padding: 1.75rem; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  transition: all var(--transition); text-align: center;
}
.install-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(212,164,60,0.25); }
.install-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.install-card p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.55; }
.install-card .cat-thumb { margin: 0 auto 1rem; }

.install-intro { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 1.5rem; line-height: 1.65; max-width: 640px; }
.install-section-head { margin-top: 2.5rem; }

.install-tech-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem; margin-top: 1rem;
}
.install-tech-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.install-tech-card:hover { border-color: rgba(212,164,60,0.3); box-shadow: var(--shadow-md); }
.install-tech-photo {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(212,164,60,0.35);
}
.install-tech-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--gold);
}
.install-tech-photo-placeholder svg { width: 2rem; height: 2rem; }
.install-tech-body { flex: 1; min-width: 0; }
.install-tech-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text); }
.install-tech-specialty { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.install-tech-phone {
  display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--gold-dark);
  margin-bottom: 0.65rem; direction: ltr; text-align: start;
}
.install-tech-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.install-portfolio { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1rem; }
.install-portfolio-card {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.install-portfolio-head h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.35rem; }
.install-portfolio-head p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.install-portfolio-gallery {
  display: flex; gap: 0.65rem; overflow-x: auto; padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.install-portfolio-thumb {
  flex: 0 0 auto; width: 180px; height: 120px; border-radius: var(--radius-md);
  overflow: hidden; scroll-snap-align: start; border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.install-portfolio-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.install-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.price-note { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.15rem; }


.service-meta {
  display: grid; gap: 0.65rem; margin: 1rem 0;
  padding: 1.15rem; background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.service-meta-item { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; }
.service-meta-item strong { color: var(--navy); font-weight: 600; white-space: nowrap; }
.service-meta-item span { color: var(--text-muted); text-align: end; }

.service-note { font-size: 0.8125rem; color: var(--text-light); margin-top: 0.75rem; }

.service-detail-sections {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  margin: 2rem 0;
}
.service-block {
  background: var(--surface-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-md);
}
.service-block h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.85rem; }
.service-list { padding-inline-start: 1.25rem; list-style: disc; }
.service-list li { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.4rem; line-height: 1.5; }
.service-steps { list-style: none; padding: 0; }
.service-steps li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.875rem; color: var(--text-muted); margin-bottom: 0.65rem; line-height: 1.5;
}
.step-num {
  flex-shrink: 0; width: 26px; height: 26px; background: var(--accent-gradient); color: var(--navy);
  border-radius: 50%; font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-accent);
}

@media (max-width: 768px) {
  .service-detail-sections { grid-template-columns: 1fr; }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--black) 0%, var(--navy) 100%);
  color: var(--gray); margin-top: auto; font-size: 0.8125rem;
  border-top: 2px solid var(--gold);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding: 2.5rem 0; }
.footer .logo-text { color: var(--text-on-dark); }
.footer .logo-tagline { color: rgba(229,229,229,0.5); }
.footer .logo-mark { background: var(--accent-gradient); color: var(--navy); }
.footer-brand > p { margin-top: 0.75rem; line-height: 1.65; max-width: 280px; }
.footer h4 { color: var(--text-on-dark); font-size: 0.8125rem; font-weight: 700; margin-bottom: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer ul li { margin-bottom: 0.4rem; }
.footer a { color: rgba(229,229,229,0.7); }
.footer a:hover { color: var(--gold); }
.footer-contact { margin-top: 0.85rem; }
.footer-contact p { margin-bottom: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(229,229,229,0.12); padding: 0.85rem 0; text-align: center; font-size: 0.75rem; color: rgba(229,229,229,0.45); }

.float-whatsapp {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 99;
  width: 54px; height: 54px; background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.4);
  transition: all var(--transition);
}
.float-whatsapp:hover { transform: scale(1.08); color: var(--white); box-shadow: 0 8px 28px rgba(22, 163, 74, 0.5); }
.float-whatsapp svg { width: 26px; height: 26px; fill: var(--white); }

.toast {
  position: fixed; bottom: 90px; inset-inline-start: 50%; transform: translateX(-50%) translateY(12px);
  background: var(--gold); color: var(--navy); padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full); z-index: 200; opacity: 0;
  transition: opacity 0.25s, transform 0.25s; pointer-events: none; font-size: 0.875rem;
  font-weight: 600; box-shadow: var(--shadow-accent);
}
[dir="rtl"] .toast { transform: translateX(50%) translateY(12px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
[dir="rtl"] .toast.show { transform: translateX(50%) translateY(0); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state .btn { margin-top: 0.85rem; }

main { flex: 1; }

/* ── Responsive ── */
@media (min-width: 768px) {
  .action-label { display: inline; }
}

@media (max-width: 992px) {
  .hero,
  .hero-slider,
  .hero-slide {
    min-height: min(540px, 72vh);
  }

  .hero-inner {
    align-items: flex-end;
    padding-bottom: 5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-promo {
    justify-self: start;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0.85rem 1rem;
  }

  .hero-title { font-size: clamp(1.75rem, 6vw, 2.35rem); }
  .hero-desc { margin-bottom: 1.35rem; }
  .hero-actions { margin-bottom: 1.25rem; }
  .hero-controls { bottom: 1rem; gap: 0.65rem; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-dot span { width: 22px; }
  .hero-dot.active span { width: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-inline-end: none; }
  .stat-item { border-inline-end: none; border-bottom: 1px solid var(--border); padding-bottom: 0.85rem; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; max-width: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .product-layout, .product-detail-grid, .cart-layout, .checkout-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-gallery-col { position: static; }
  .product-trust { grid-template-columns: 1fr; }
  .product-actions-sub { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; align-items: center; }
  .install-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-main { flex-wrap: wrap; gap: 0.65rem; }
  .search-form { order: 3; flex-basis: 100%; max-width: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item-total { grid-column: 2; font-size: 0.875rem; }
  .remove-btn { grid-column: 2; justify-self: start; }
  .auth-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-bar-inner { flex-direction: column; text-align: center; }
  .cta-form { width: 100%; flex-direction: column; }
  .cta-form input { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
