/* Storefront layout cleanup */
:root{--bg:#100d0c;--bg-2:#1b1512;--bg-3:#271d18;--bg-card:#211814;--bg-sidebar:#18120f;--surface:#2d211b;--surface-hover:rgba(255,255,255,.05);--border:rgba(201,169,110,.18);--text:#f5eee8;--text-muted:#b29b8c;--text-faint:#836f62;--navbar-bg:rgba(16,13,12,.96);--brown:#5a3e36;--brown-light:#7a5548;--brown-dark:#3d2a24;--gold:#c9a96e;--gold-light:#e5c98e;--primary:#c9a96e;--pink:#c98f9d;--radius:8px;--radius-sm:6px}
html{scroll-padding-top:88px}body{background:var(--bg)}.section{padding:84px 0}
.navbar{top:0;padding:0;background:var(--navbar-bg);border-bottom:1px solid var(--border);box-shadow:0 3px 18px rgba(0,0,0,.22);backdrop-filter:blur(14px)}.navbar.scrolled{background:var(--navbar-bg);box-shadow:0 4px 20px rgba(0,0,0,.28)}.nav-container{min-height:78px;padding:10px 28px}.logo-img{height:52px;width:auto}.nav-links{gap:26px}.nav-link{color:#d6c8bd}.nav-link.active,.nav-link:hover{color:var(--gold-light)}.cart-btn,.hamburger{background:#211814;color:#f5eee8;border-color:var(--border)}
.hero{min-height:690px;min-height:min(760px,calc(100svh - 78px));margin-top:78px;padding:72px max(6vw,32px);gap:34px;background:#16110e}.hero-bg{background:linear-gradient(90deg,rgba(16,12,10,.84) 0%,rgba(16,12,10,.62) 43%,rgba(16,12,10,.24) 100%),url('images/669630510_122228436380343040_8959235185376526573_n.jpg') center 44%/cover no-repeat}.hero-bg::before{background-image:radial-gradient(circle,rgba(255,255,255,.08) 1px,transparent 1px);background-size:26px 26px;opacity:.35}.hero-content{max-width:620px}.hero-title{font-size:clamp(2.8rem,5vw,5rem);line-height:1.2}.hero-badge{background:rgba(255,255,255,.08);border-color:rgba(230,200,165,.4)}.hero-subtitle{max-width:500px}.hero-image{width:clamp(220px,28vw,360px);margin-inline-start:auto}.hero-img-wrapper{width:100%}.hero-bag-img{height:min(55vh,440px);object-fit:cover;object-position:center 38%;border:5px solid rgba(255,255,255,.76);border-radius:var(--radius);box-shadow:0 18px 46px rgba(0,0,0,.4)}.hero-img-glow{inset:-14%}.stat-num{font-size:1.25rem}.stat-label{font-size:.78rem}
.section-header{margin-bottom:38px}.section-tag{border-radius:30px}.section-title{font-weight:700;color:var(--text)}.categories{background:var(--bg-2)}.categories-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.category-card{min-height:220px;padding:28px 20px;border-radius:var(--radius);background:var(--bg-card)}.category-icon{width:56px;height:56px}.products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product-card{border-radius:var(--radius);background:var(--bg-card);box-shadow:0 4px 18px rgba(0,0,0,.2)}.product-card:hover{transform:translateY(-5px);box-shadow:0 14px 30px rgba(0,0,0,.32)}.product-img-wrapper{padding-top:112%;background:#2b211b}.product-img-wrapper img{object-fit:contain;padding:10px}.product-overlay{opacity:1;inset:auto 0 0;background:linear-gradient(transparent,rgba(20,12,8,.58));padding:14px;justify-content:center}.product-overlay .add-to-cart-btn{border-radius:7px}.product-body{padding:16px}.product-name{font-size:1rem;min-height:2.5em}.product-footer{gap:8px}.product-price{font-size:1.08rem}.product-footer .add-to-cart-btn{white-space:nowrap}.footer{background:#120e0c}
@media(max-width:1024px){.categories-grid,.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding-inline:5vw}.hero-image{width:30vw}.category-card{min-height:190px}}
@media(max-width:700px){.section{padding:64px 0}.nav-container{min-height:68px}.navbar{padding:0}.hero{margin-top:68px;min-height:700px;min-height:calc(100svh - 68px);padding:36px 22px 54px;flex-direction:column;justify-content:center;gap:24px}.hero-content{order:2;text-align:center}.hero-image{order:1;width:min(54vw,230px);margin:0 auto}.hero-bag-img{height:min(31vh,245px);object-position:center 38%}.hero-title{font-size:clamp(2.5rem,10vw,3.7rem)}.hero-subtitle{font-size:.98rem;margin-inline:auto}.hero-actions,.hero-stats{justify-content:center}.hero-actions{margin-bottom:25px}.stat-divider{display:block}.categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{min-height:190px;padding:22px 14px}.category-card p{font-size:.82rem}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.product-img-wrapper{padding-top:115%}.product-body{padding:12px}.product-name{font-size:.9rem}.product-footer{flex-wrap:wrap}.product-footer .add-to-cart-btn{padding:8px 10px;font-size:.8rem}.nav-links{background:#1b1512;border:1px solid var(--border)}.nav-link{color:var(--text)}}
@media(prefers-reduced-motion:reduce){.animate-float,.animate-fade-up,.animate-on-scroll{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}}

/* Saved cart and order invoice */
.cart-retention{margin:-12px 4px 16px;color:var(--text-muted);font-size:.78rem;display:flex;align-items:center;gap:8px}
.cart-retention i{color:var(--gold)}
.cart-sidebar .cart-header,.cart-sidebar .cart-footer{background:#18120f;border-color:rgba(201,169,110,.18)}
.cart-sidebar .cart-item{background:#211814;border-color:rgba(201,169,110,.16);border-radius:12px}
.cart-sidebar .cart-item-img{border-radius:9px;object-fit:contain;background:#2b211b}
.cart-sidebar .cart-item-qty,.cart-sidebar .summary-row{background:#2a1e18;border-color:rgba(201,169,110,.15)}
.cart-sidebar .cart-body{padding:22px}
.cart-sidebar .cart-items-container{gap:12px}
.cart-sidebar .cart-footer{padding:18px 22px 24px}
.cart-sidebar .summary-row{margin-bottom:8px;padding:13px 16px;border-radius:10px}
.checkout-modal{width:min(760px,calc(100vw - 28px));max-width:760px;max-height:calc(100dvh - 28px);overflow:auto;padding:30px;background:#191310;border:1px solid rgba(201,169,110,.25);border-radius:18px}
.checkout-modal .checkout-container,.checkout-modal .checkout-form-container{width:100%;max-width:none}
.checkout-title{text-align:right;font-size:1.7rem;font-weight:800;margin:0 0 18px}
.checkout-summary{margin-bottom:16px;background:#261b16;border-color:rgba(201,169,110,.18)}
.invoice-preview{margin:0 0 23px;padding:21px;background:linear-gradient(145deg,#231914,#191310);border:1px solid rgba(201,169,110,.2);border-radius:14px;box-shadow:0 14px 32px rgba(0,0,0,.22)}
.invoice-brand{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid rgba(201,169,110,.18)}
.invoice-brand img{width:54px;height:54px;object-fit:contain;border-radius:8px;background:#120e0c}
.invoice-brand div{display:grid;gap:2px}.invoice-brand strong{font-size:1.05rem;color:#f4e9dc}.invoice-brand span{font-size:.8rem;color:var(--text-muted)}
.invoice-lines{display:grid;gap:0;margin:7px 0 0}.invoice-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px dashed rgba(201,169,110,.16);font-size:.9rem;color:#e9ddd2}.invoice-line span{display:grid;gap:3px}.invoice-line small{font-size:.76rem;color:var(--text-muted)}.invoice-line strong{white-space:nowrap;font-size:.88rem;color:var(--gold-light)}.invoice-empty{padding:14px 0;color:var(--text-muted);font-size:.88rem}
.invoice-total{display:flex;align-items:center;justify-content:space-between;padding-top:15px;color:#f5eee8;font-weight:700}.invoice-total strong{font-size:1.12rem;color:var(--gold-light)}.invoice-note{display:flex;gap:8px;align-items:flex-start;margin-top:13px;color:var(--text-muted);font-size:.78rem}.invoice-note i{color:var(--gold);padding-top:4px}
.checkout-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-modal .form-field:last-child{grid-column:1/-1}.checkout-modal .form-field input,.checkout-modal .form-field select{border-radius:9px;background:#241a15}.checkout-modal .btn-checkout-submit{margin-top:5px;border-radius:10px}
.hero-bg{background-image:linear-gradient(90deg,rgba(14,10,9,.78),rgba(14,10,9,.43) 54%,rgba(14,10,9,.18)),url('images/669630510_122228436380343040_8959235185376526573_n.jpg');background-size:cover;background-position:center 43%}.hero::after{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(0deg,rgba(10,7,6,.45),transparent 28%,transparent 78%,rgba(10,7,6,.15));}
@media(max-width:700px){.checkout-modal{padding:23px 17px}.invoice-preview{padding:16px}.checkout-modal .form-grid{grid-template-columns:1fr}.checkout-modal .form-field:last-child{grid-column:auto}.cart-sidebar .cart-body{padding:16px}.cart-sidebar .cart-footer{padding:15px 16px 20px}}

/* Clear, centered logo hero: the supplied logo already carries its own artwork. */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(760px, calc(100svh - 78px));
  margin-top: 78px;
  padding: 30px 24px 92px;
  overflow: hidden;
  background: #090706;
}
.hero-bg,
.hero::after { position: absolute; inset: 0; }
.hero-bg { background: #090706; }
.hero-bg::before { display: none; }
.hero::after { content: ''; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, rgba(112,66,39,.15), transparent 62%); }
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: auto;
  margin: 0;
  pointer-events: none;
  filter: none;
}
.hero-logo-img {
  display: block;
  width: min(66vh, 540px, 82vw);
  height: auto;
  max-height: calc(100% - 25px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  mix-blend-mode: normal;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px 26px;
  text-align: center;
  text-shadow: none;
  pointer-events: none;
}
.hero-content > :not(.hero-actions) { display: none !important; }
.hero-actions {
  display: flex;
  justify-content: center;
  margin: 0;
  pointer-events: auto;
}
.hero-actions .btn-primary { box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.hero-scroll-hint { display: none; }
@media (max-width: 700px) {
  .hero { min-height: calc(100svh - 68px); margin-top: 68px; padding: 18px 16px 84px; }
  .hero-logo-img { width: min(82vw, 54vh, 440px); max-height: calc(100% - 12px); }
  .hero-content { padding-bottom: 22px; }
  .hero-actions { margin: 0; }
}

/* ===================================
   NIHAL STORE — Complete Stylesheet
   =================================== */

/* ── Variables ── */
:root {
  --brown: #5A3E36;
  --brown-light: #7A5548;
  --brown-dark: #3D2A24;
  --gold: #C9A96E;
  --gold-light: #E5C98E;
  --pink: #E8A0B4;
  --pink-light: #F5C6D6;
  --white: #FFFFFF;
  --black: #000000;
  --primary: #C9A96E;
  --nav-height: 88px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── Dark Theme (Default) ── */
[data-theme="dark"] {
  --bg: #0E0A09;
  --bg-2: #1A1210;
  --bg-3: #251815;
  --bg-card: #1F1511;
  --bg-sidebar: #160F0C;
  --surface: #2A1D18;
  --surface-hover: rgba(255,255,255,0.06);
  --border: rgba(90,62,54,0.3);
  --text: #F5EDE8;
  --text-muted: #9E7A6E;
  --text-faint: #6B4D45;
  --navbar-bg: rgba(14,10,9,0.92);
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg: #FDF8F5;
  --bg-2: #F5ECE7;
  --bg-3: #EDE0D8;
  --bg-card: #FFFFFF;
  --bg-sidebar: #FAF5F2;
  --surface: #F0E5DF;
  --surface-hover: rgba(90,62,54,0.06);
  --border: rgba(90,62,54,0.15);
  --text: #2A1208;
  --text-muted: #7A5548;
  --text-faint: #A0786C;
  --navbar-bg: rgba(253,248,245,0.95);
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 6px; }

/* ── Utilities ── */
.section { padding: 100px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   NAVBAR
=================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  isolation: isolate;
  padding-top: 10px;
  transition: var(--transition);
  background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent);
}

.navbar.scrolled {
  background: linear-gradient(180deg, rgba(0,0,0,0.26), transparent);
}

.nav-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  transition: var(--transition);
}

.nav-logo::before {
  content: none;
}

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

.nav-logo .logo-img {
  position: relative;
  z-index: 1;
  height: 54px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  border: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-inline: auto;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  isolation: isolate;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,169,110,0.16), rgba(232,160,180,0.12));
  opacity: 0;
  transform: scale(0.96);
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  inset-inline: 28%;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0.6);
  transform-origin: center;
  border-radius: 999px;
  opacity: 0;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text);
  transform: translateY(-1px);
}
.nav-link:hover::after, .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link:hover::before, .nav-link.active::before {
  opacity: 1;
}

.nav-link.active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(90,62,54,0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-actions > * {
  flex-shrink: 0;
}

.nav-actions button:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid rgba(201,169,110,0.55);
  outline-offset: 3px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: var(--gold);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.18);
  transition: var(--transition);
}

.theme-toggle:hover {
  background: linear-gradient(180deg, rgba(201,169,110,0.16), rgba(255,255,255,0.05));
  color: var(--gold-light);
  transform: translateY(-1px) rotate(12deg);
}

/* ── Language Toggle Switch ── */
.lang-toggle {
  position: relative;
  width: 68px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.16);
}

.lang-toggle:hover {
  border-color: rgba(201,169,110,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045));
}

.lang-toggle .lang-toggle-knob {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
}

.lang-toggle-label {
  position: absolute;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  z-index: 2;
  pointer-events: none;
}

.lang-toggle .lang-ar {
  left: 10px;
}

.lang-toggle .lang-en {
  right: 10px;
}

.lang-toggle.active .lang-toggle-knob {
  transform: translateX(34px);
}

[dir="rtl"] .lang-toggle.active .lang-toggle-knob {
  transform: translateX(-34px);
}

[dir="rtl"] .lang-toggle .lang-toggle-knob {
  transform: translateX(0);
}

[dir="ltr"] .lang-toggle .lang-toggle-knob {
  transform: translateX(0);
}

.lang-toggle.active {
  border-color: rgba(201,169,110,0.35);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
}

.lang-toggle.active .lang-toggle-label {
  color: var(--text);
}
[dir="ltr"] .lang-toggle .lang-en {
  display: block;
  right: 10px;
  left: auto;
}
[dir="ltr"] .lang-toggle .lang-ar {
  display: block;
}


/* LTR-specific overrides for English mode */
[lang="en"] {
  font-family: 'Poppins', sans-serif;
}
[lang="en"] .hero-arrow-icon { transform: rotate(180deg); }
[lang="en"] .cat-arrow-icon  { transform: rotate(180deg); }
[lang="en"] .contact-arrow-icon { transform: rotate(180deg); }
[lang="en"] .float-tooltip {
  right: auto;
  left: calc(100% + 12px);
  transform: translateX(-8px);
}
[lang="en"] .float-whatsapp:hover .float-tooltip {
  transform: translateX(0);
}

.cart-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 24px rgba(90,62,54,0.36);
}

.cart-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(90,62,54,0.42);
}

.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  left: auto;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: var(--transition);
  display: block;
}

.hamburger:hover {
  transform: translateY(-1px);
  border-color: rgba(201,169,110,0.24);
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ===================================
   HERO SECTION
=================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 60px 60px;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(90,62,54,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(201,169,110,0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,169,110,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(232,160,180,0.1));
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-image {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}
.hero-img-wrapper {
  position: relative;
  width: clamp(280px, 40vw, 500px);
}
.hero-bag-img {
  width: 100%;
  border-radius: 24px;
  filter: drop-shadow(0 20px 60px rgba(90,62,54,0.5));
}
.hero-img-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.8rem;
  z-index: 1;
}

/* ===================================
   BUTTONS
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(90,62,54,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brown-light), var(--brown));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(90,62,54,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,169,110,0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-size: 1rem;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.4);
}

/* ===================================
   SECTION HEADERS
=================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(232,160,180,0.1));
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-desc { color: var(--text-muted); font-size: 1rem; }

/* ===================================
   CATEGORIES
=================================== */
.categories { background: var(--bg-2); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90,62,54,0), rgba(201,169,110,0.08));
  opacity: 0;
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.category-card:hover::before { opacity: 1; }
.category-card.featured { border-color: var(--gold); }

.category-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--black);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.category-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(90,62,54,0.2), rgba(201,169,110,0.15));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0 auto 16px;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  transform: scale(1.1);
}

.category-card h3 { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.category-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.category-arrow { color: var(--gold); font-size: 0.9rem; }

/* ===================================
   PRODUCTS
=================================== */
.products { background: var(--bg); }

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(90,62,54,0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.5s ease both;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(201,169,110,0.3); }

.product-img-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--surface);
}
.product-img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrapper img { transform: scale(1.08); }

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 20px;
}
.product-card:hover .product-overlay { opacity: 1; }

.product-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-faint);
}
.product-img-placeholder i { font-size: 3rem; }
.product-img-placeholder span { font-size: 0.85rem; }

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
}
.badge-new { background: linear-gradient(135deg, var(--gold), var(--pink)); color: var(--black); }
.badge-sale { background: #E74C3C; color: #fff; }

.product-body {
  padding: 20px;
}
.product-cat {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.add-to-cart-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(90,62,54,0.5);
}
.add-to-cart-btn.added {
  background: linear-gradient(135deg, #27AE60, #2ECC71);
}

/* ===================================
   CONTACT
=================================== */
.contact { background: var(--bg-2); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.contact-card.whatsapp::before { background: linear-gradient(135deg, rgba(37,211,102,0.08), rgba(18,140,126,0.05)); }
.contact-card.facebook::before { background: linear-gradient(135deg, rgba(66,103,178,0.08), rgba(24,119,242,0.05)); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.contact-card:hover::before { opacity: 1; }

.contact-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.whatsapp .contact-icon { background: rgba(37,211,102,0.15); color: #25D366; }
.facebook .contact-icon { background: rgba(66,103,178,0.15); color: #4267B2; }
.contact-card:hover .contact-icon { transform: scale(1.1) rotate(5deg); }

.contact-info h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.contact-info p { color: var(--text-muted); font-size: 0.85rem; }
.contact-info span { color: var(--gold); font-size: 0.9rem; font-weight: 600; }
.contact-arr { margin-right: auto; color: var(--text-faint); transition: var(--transition); }
.contact-card:hover .contact-arr { color: var(--gold); transform: translateX(-4px); }

/* ===================================
   FOOTER
=================================== */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo { height: 48px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; max-width: 300px; margin-bottom: 20px; }

.footer-socials {
  display: flex; gap: 12px;
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--brown); color: var(--white); border-color: var(--brown); transform: translateY(-2px); }

.footer-links-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1rem;
}
.footer-links-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-links-col a:hover { color: var(--gold); padding-right: 6px; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ===================================
/* ===================================
   LUXURY CART REDESIGN
=================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(520px, 100vw);
  height: 100vh;
  z-index: 1100;
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  direction: rtl;
}
.cart-sidebar.open { right: 0; }

.cart-wrapper {
  width: 100%;
  height: 100%;
  background: var(--bg-sidebar);
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* ── Cart Header ── */
.cart-header {
  padding: 24px 32px;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-title i { font-size: 1.5rem; color: var(--gold); }
.cart-title h2 { font-size: 1.3rem; font-weight: 900; color: var(--text); }

.cart-close-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.cart-close-btn:hover {
  background: #E74C3C;
  color: #fff;
  border-color: #E74C3C;
  transform: rotate(90deg);
}

/* ── Cart Body ── */
.cart-body {
  padding: 32px;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}
.cart-body::-webkit-scrollbar { display: none; }

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease backwards;
}
.cart-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--surface);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item-price {
  font-weight: 800;
  color: var(--gold);
  font-size: 1.1rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.qty-btn {
  width: 28px; height: 28px;
  border: none; background: none;
  color: var(--gold);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { color: var(--white); background: var(--brown); border-radius: 6px; }
.qty-val { font-weight: 900; font-size: 1rem; min-width: 24px; text-align: center; }

.cart-item-remove {
  background: none; border: none;
  color: #E74C3C; opacity: 0.6;
  font-size: 1rem; cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}
.cart-item-remove:hover { opacity: 1; transform: scale(1.2); }

/* ── Empty State ── */
.cart-empty-state {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 40px;
}
.empty-icon {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: var(--border);
}
.cart-empty-state p { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); }

/* ── Cart Footer ── */
.cart-footer {
  padding: 24px 32px 40px;
  background: var(--bg-card);
  border-top: 2px solid var(--border);
  box-shadow: 0 -15px 50px rgba(0,0,0,0.1);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 16px;
  margin-bottom: 24px;
}
.total-price-amount {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold);
  background: var(--bg-card);
  box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.1);
}

.btn-whatsapp-order {
  width: 100%;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-whatsapp-order:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* ===================================
   FLOATING WHATSAPP
=================================== */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 24px;
  left: auto;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.float-whatsapp:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--bg-card);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.float-whatsapp:hover .float-tooltip { opacity: 1; transform: translateX(0); }

@media (max-width: 700px) {
  .float-whatsapp { right: 16px; left: auto; bottom: 18px; width: 44px; height: 44px; font-size: 1.2rem; }
}

/* Keep the cart action fully visible above mobile browser safe areas. */
@media (max-width: 700px) {
  .cart-sidebar { height: 100vh; height: 100dvh; }
  .cart-wrapper { min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
  .cart-body { min-height: 0; overflow-y: auto; }
  .cart-sidebar .cart-footer {
    position: relative;
    z-index: 2;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .cart-sidebar .summary-row { margin-bottom: 8px; padding: 10px 14px; }
  .cart-sidebar .btn-checkout {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin: 8px 0 0;
    padding: 12px 16px;
    line-height: 1.3;
    white-space: normal;
  }
}

/* ===================================
   ANIMATIONS
=================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.animate-float { animation: float 5s ease-in-out infinite; }
.bounce { animation: bounce 1.2s ease-in-out infinite; }

/* Center the supplied brand artwork as the hero focal point. */
.hero { justify-content: center; text-align: center; }
.hero-content { width: min(100%, 760px); max-width: 760px; margin-inline: auto; }
.hero-subtitle { margin-inline: auto; }
.hero-actions, .hero-stats { justify-content: center; }
.stat { text-align: center; }
.hero-image { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none; }
.hero-logo-img { width: clamp(250px, 42vw, 520px); height: auto; max-height: min(68vh, 660px); object-fit: contain; border-radius: 0; box-shadow: none; opacity: .46; mix-blend-mode: screen; }
.hero-content { z-index: 1; text-shadow: 0 2px 22px rgba(0,0,0,.55); }
.hero-content .btn { text-shadow: none; }

@media (max-width: 700px) {
  .hero { justify-content: center; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-logo-img { width: min(78vw, 390px); max-height: 58vh; opacity: .4; }
  .hero-actions, .hero-stats { justify-content: center; }
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   TOAST NOTIFICATION
=================================== */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: #27AE60; }
.toast.error { border-color: #E74C3C; }
.toast i { font-size: 1.1rem; }
.toast.success i { color: #27AE60; }
.toast.error i { color: #E74C3C; }

/* ===================================
   RESPONSIVE
=================================== */
/* ===================================
   HAMBURGER MENU
=================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 24px rgba(0,0,0,0.18);
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text);
  border-radius: 999px;
  transition: var(--transition);
}
.hamburger:hover {
  transform: translateY(-1px);
  border-color: rgba(201,169,110,0.24);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===================================
   RESPONSIVE DESIGN (REFINED)
=================================== */

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 24px 60px;
  }
  .hero-content { max-width: 100%; align-items: center; }
  .hero-actions, .hero-stats { justify-content: center; }
  .stat-divider { display: none; }
  .hero-image { order: -1; }
  .hero-img-wrapper { width: min(320px, 80vw); }
  
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-container {
    padding: 12px 14px;
    gap: 10px;
  }
  .nav-actions {
    gap: 6px;
    padding: 6px;
  }
  
  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 10px);
    width: min(340px, calc(100vw - 24px));
    max-height: calc(100vh - var(--nav-height) - 20px);
    overflow-y: auto;
    padding: 16px;
    gap: 10px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.06),
      0 28px 80px rgba(0,0,0,0.45);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    flex-direction: column;
    transition: var(--transition);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    align-items: stretch;
  }
  [dir="rtl"] .nav-links {
    inset-inline-end: 12px;
    inset-inline-start: auto;
    transform: translateX(18px);
  }
  [dir="ltr"] .nav-links {
    inset-inline-start: 12px;
    inset-inline-end: auto;
    transform: translateX(-18px);
  }
  [dir="rtl"] .nav-links.open,
  [dir="ltr"] .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    font-size: 1rem;
    padding: 0 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
  }
  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(135deg, rgba(201,169,110,0.16), rgba(232,160,180,0.1));
    border-color: rgba(201,169,110,0.28);
  }

  .section { padding: 64px 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; text-align: center; align-items: center; }
  
  .cart-sidebar { width: 100% !important; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .container { padding: 0 16px; }
  
  /* Navbar Responsiveness */
  .nav-container { padding: 10px 12px; gap: 8px; }
  .nav-actions { gap: 5px; padding: 5px; }
  .nav-logo .logo-img { height: 40px; }
  .cart-btn, .theme-toggle, .hamburger { width: 38px; height: 38px; font-size: 0.95rem; }
  .lang-toggle { width: 60px; height: 30px; }
  .lang-toggle .lang-toggle-knob { width: 24px; height: 24px; left: 3px; top: 3px; }
  .lang-toggle.active .lang-toggle-knob { transform: translateX(30px); }
  [dir="rtl"] .lang-toggle.active .lang-toggle-knob { transform: translateX(-30px); }
}

/* ================================
   CHECKOUT MODAL STYLES
================================ */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.checkout-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.checkout-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}
.checkout-close-btn:hover {
  color: var(--primary);
  transform: rotate(90deg);
}
.checkout-form h2 {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text);
  text-align: center;
}
.checkout-form p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 24px;
}
.checkout-form .form-field {
  margin-bottom: 16px;
}
.checkout-form .form-field input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: 'Tajawal', 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}
.checkout-form .form-field input::placeholder {
  color: var(--text-muted);
}
.checkout-form .form-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
  outline: none;
}
.checkout-form .btn-block {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}
/* ================================
   CHECKOUT MODAL & CART BUTTON
================================ */
.btn-checkout {
  padding: 16px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 14px;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--brown-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(201,169,110,0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.btn-checkout:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(201,169,110,0.5);
  background: linear-gradient(135deg, var(--brown-light), var(--gold));
  color: #fff;
}

.checkout-modal {
  max-width: 340px; 
  padding: 18px;    
}

.checkout-title {
  font-family: 'Tajawal', 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
  text-align: center;
}

.checkout-summary {
  background: var(--surface-hover);
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-summary .summary-label {
  font-weight: 600;
  color: var(--text-muted);
}

.checkout-summary #checkoutTotalPrice {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.checkout-section-title {
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gov-select {
  position: relative;
}

.gov-select select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}

.gov-select select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
  outline: none;
}

.gov-select .select-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.btn-checkout-submit {
  width: 100%;
  padding: 14px;
  margin-top: 24px;
  border-radius: 12px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-checkout-submit:hover {
  background: #20BA56;
  transform: translateY(-2px);
}

/* Wide hero campaign image, with copy in its open dark area. */
.hero {
  position: relative;
  display: block;
  min-height: min(760px, calc(100svh - 78px));
  margin-top: 78px;
  padding: 0;
  overflow: hidden;
  background: #100a07;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(13,8,5,.58) 0%, rgba(13,8,5,.36) 35%, rgba(13,8,5,.06) 68%), url('images/hero-nihala-campaign.png');
  background-position: center, center 54%;
  background-size: cover;
}
.hero-bg::before { display: none; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(12,7,5,.22), transparent 30%);
}
.hero-content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(28px, 8vw, 132px);
  right: auto;
  inset-inline: auto;
  width: min(43%, 570px);
  max-width: 570px;
  margin: 0;
  padding: 0;
  display: block;
  transform: translateY(-50%);
  text-align: right;
  text-shadow: 0 2px 22px rgba(0,0,0,.5);
  pointer-events: auto;
}
.hero-content > :not(.hero-actions) { display: block !important; }
.hero-content > .hero-badge,
.hero-content > .hero-stats { display: none !important; }
.hero-title { color: #fff8ed; font-size: clamp(2.6rem, 4.8vw, 4.8rem); line-height: 1.2; }
.hero .gradient-text { color: #dfb27e; -webkit-text-fill-color: #dfb27e; }
.hero-subtitle { max-width: 460px; color: rgba(255,248,237,.84); margin: 18px 0 30px; }
.hero-actions { position: static; inset: auto; display: flex; justify-content: flex-start; margin: 0; pointer-events: auto; }
.hero-actions .btn-primary { background: #d9ae7d; color: #2b1b10; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero-actions .btn-outline { color: #fff8ed; border-color: rgba(255,248,237,.72); }
.hero-scroll-hint { display: none; }
@media (max-width: 700px) {
  .hero { min-height: min(860px, calc(100svh - 68px)); margin-top: 68px; }
  .hero-bg {
    background-image: linear-gradient(180deg, rgba(12,7,5,.2) 0%, transparent 25%, rgba(12,7,5,.12) 72%, rgba(12,7,5,.5) 100%), url('images/hero-nihala-mobile.png');
    background-position: center, center center;
    background-size: cover;
  }
  .hero-content { top: 8%; left: 18px; right: 18px; width: auto; max-width: none; transform: none; text-align: center; }
  .hero-title { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .hero-subtitle { max-width: 370px; margin: 12px auto 20px; font-size: .95rem; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { padding: 12px 20px; }
}

/* Balance desktop copy with the mirrored product placement. */
:root { --nav-height: 64px; }
.navbar { padding: 0; }
.nav-container { min-height: 64px; padding: 4px 24px; }
.logo-img { height: 42px; }
.hero { margin-top: 64px; min-height: min(760px, calc(100svh - 64px)); }
.hero-bg { background-image: none; background-color: #100a07; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-nihala-campaign.png') center 54%/cover no-repeat;
  transform: scaleX(-1);
}
.hero::after { background: linear-gradient(90deg, rgba(12,7,5,.08) 0%, rgba(12,7,5,.04) 47%, rgba(12,7,5,.64) 100%), linear-gradient(0deg, rgba(12,7,5,.2), transparent 30%); }
.hero-content { left: auto; right: clamp(28px, 8vw, 132px); width: min(43%, 570px); text-align: right; }
@media (max-width: 700px) {
  :root { --nav-height: 58px; }
  .navbar { height: 58px; }
  .navbar .nav-container { position: relative; width: 100%; max-width: none; min-height: 58px; padding: 4px 12px; justify-content: center; }
  .nav-logo { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
  .nav-logo .logo-img { height: 38px; }
  .nav-actions { position: absolute; left: 10px; right: auto; top: 50%; transform: translateY(-50%); display: flex; flex-direction: row-reverse; direction: ltr; align-items: center; gap: 7px; width: auto; padding: 0; }
  .cart-btn, .hamburger { width: 38px; height: 38px; }
  .hero { margin-top: 58px; min-height: calc(100svh - 58px); }
  .hero-bg { background-image: linear-gradient(180deg, rgba(12,7,5,.2) 0%, transparent 25%, rgba(12,7,5,.12) 72%, rgba(12,7,5,.5) 100%), url('images/hero-nihala-mobile.png'); background-position: center, center center; background-size: cover; }
  .hero-bg::after { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(12,7,5,.16), transparent 30%, transparent 72%, rgba(12,7,5,.45)); }
  .hero-content { top: 5.5%; left: 18px; right: 18px; bottom: auto; width: auto; text-align: center; }
  .hero-content .hero-title, .hero-content .hero-subtitle { margin-inline: auto; text-align: center; }
  .hero-title { max-width: 330px; margin: 0 auto; font-size: clamp(1.85rem, 7.3vw, 2.45rem); line-height: 1.12; }
  .hero-subtitle { max-width: 310px; margin: 9px auto 14px; font-size: .82rem; line-height: 1.65; }
  .hero-actions { position: absolute; top: min(66svh, 490px); left: 14px; right: 14px; justify-content: center; gap: 10px; flex-wrap: wrap; }
  .hero-actions .btn { min-height: 42px; padding: 10px 20px; font-size: .88rem; }
  .hero-actions .btn-outline { display: inline-flex; color: #fff8ed; background: rgba(20,12,9,.78); border-color: rgba(231,190,139,.75); }
  .hero-actions .btn-primary { background: #e5bd8e; }
  .nav-links { z-index: 1100; color: #fff8ed; background: rgba(18,11,8,.98); border: 1px solid rgba(223,178,126,.48); box-shadow: 0 18px 48px rgba(0,0,0,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .nav-links.open { z-index: 1100; }
  .nav-link { min-height: 50px; color: #fff8ed; font-size: 1rem; text-shadow: none; }
  .nav-link.active, .nav-link:hover { color: #f0c58f; background: rgba(223,178,126,.12); }
  .hero-scroll-hint { display: flex; bottom: 12px; color: #fff0dc; font-size: .74rem; text-shadow: 0 1px 8px #000; animation: hero-scroll-pulse 1.8s ease-in-out infinite; }
  .hero-scroll-hint .bounce { animation: hero-scroll-bounce 1.2s ease-in-out infinite; }
}

@keyframes hero-scroll-pulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes hero-scroll-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint, .hero-scroll-hint .bounce { animation: none !important; }
}

/* Refined glass navigation that stays legible over the campaign artwork. */
.navbar {
  background: rgba(20, 13, 10, .62);
  border-bottom: 1px solid rgba(229, 201, 142, .18);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .035);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}
.navbar.scrolled {
  background: rgba(18, 12, 10, .88);
  border-bottom-color: rgba(229, 201, 142, .22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
}
@media (max-width: 700px) {
  .navbar { background: rgba(20, 13, 10, .76); }
  .navbar.scrolled { background: rgba(18, 12, 10, .92); }
}
