/* ═══════════════════════════════════════════════════════════════
   SOULAI — styles.css
   Paleta: #CBAC52 (gold) · #1A1A1A (carbon) · #FAF7F2 (cream)
   Tipografía: Cinzel (headers) · Montserrat (body)
════════════════════════════════════════════════════════════════ */

/* ── Importación de fuentes ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;1,200;1,300&display=swap');

/* ══════════════════════════════
   TOKENS / VARIABLES
══════════════════════════════ */
:root {
  --gold:        #CBAC52;
  --gold-dark:   #a88c3a;
  --gold-light:  #e8d48a;
  --carbon:      #1A1A1A;
  --carbon-mid:  #2d2d2d;
  --cream:       #FAF7F2;
  --cream-dark:  #F0EBE3;
  --white:       #FFFFFF;
  --font-head:   'Cinzel', serif;
  --font-body:   'Montserrat', sans-serif;
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap:   cubic-bezier(0.77, 0, 0.175, 1);
}

/* ══════════════════════════════
   RESET & BASE
══════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--carbon);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ══════════════════════════════
   UTILIDADES GLOBALES
══════════════════════════════ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.label-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--carbon);
}

.section-title span { color: var(--gold); }

.divider-gold {
  width: 40px;
  height: 1px;
  background: var(--gold);
  display: block;
}

/* ══════════════════════════════
   ANIMACIONES
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-8deg) scale(0.85); }
  to   { opacity: 1; transform: rotate(0deg)  scale(1); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.anim-fade-up    { opacity: 0; }
.anim-fade-in    { opacity: 0; }
.anim-slide-right{ opacity: 0; }

.is-visible.anim-fade-up     { animation: fadeUp    0.8s var(--ease-luxury) both; }
.is-visible.anim-fade-in     { animation: fadeIn    0.8s var(--ease-luxury) both; }
.is-visible.anim-slide-right { animation: slideRight 0.8s var(--ease-luxury) both; }

.delay-1 { animation-delay: 0.1s !important; }
.delay-2 { animation-delay: 0.2s !important; }
.delay-3 { animation-delay: 0.35s !important; }
.delay-4 { animation-delay: 0.5s !important; }
.delay-5 { animation-delay: 0.65s !important; }

/* ══════════════════════════════
   CURSOR CUSTOM
══════════════════════════════ */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--gold);
  transition: opacity 0.3s;
}

@media (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ══════════════════════════════
   PRELOADER
══════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--carbon);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s var(--ease-luxury), visibility 0.6s;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-icon {
  width: 56px;
  animation: spin-slow 3s linear infinite, shimmer 2s ease-in-out infinite;
  filter: invert(70%) sepia(60%) saturate(400%) hue-rotate(5deg);
}

.preloader-bar {
  width: 160px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: marquee 1.2s var(--ease-snap) infinite;
}

/* ══════════════════════════════
   NAVBAR & HEADER (V3 REDESIGN)
══════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--cream);
  z-index: 1000;
  border-bottom: 1px solid rgba(203,172,82,0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.4s var(--ease-luxury), background 0.3s;
}
.navbar.navbar-hide { transform: translateY(-100%); }

.navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.navbar-left {
  display: flex;
  align-items: center;
  z-index: 2;
}
.navbar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: auto;
}
.navbar-right {
  display: flex;
  align-items: center;
  z-index: 2;
}

/* BRAND LOGO */
.nav-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 0.5rem;
}
.brand-wordmark {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--carbon);
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  transition: color 0.3s;
  /* Native high-DPI font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.brand-wordmark:hover { color: var(--gold); }
.nav-logo-text {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* DESKTOP LINKS (Left Column) */
.nav-desktop-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--carbon);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}
.nav-desktop-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease-luxury);
}
.nav-desktop-links a:hover { color: var(--gold); }
.nav-desktop-links a:hover::after { width: 100%; }

/* DESKTOP ACTIONS (Right Column) */
.nav-desktop-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* Language Pill Switcher (No ugly native select!) */
.lang-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(26,26,26,0.05);
  border: 1px solid rgba(26,26,26,0.1);
  border-radius: 20px;
  padding: 0.2rem 0.35rem;
  gap: 0.15rem;
}
.lang-pill {
  background: transparent;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(26,26,26,0.55);
  padding: 0.25rem 0.6rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.lang-pill:hover { color: var(--carbon); }
.lang-pill.active {
  background: var(--carbon);
  color: var(--gold);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Currency Toggle */
.currency-pill {
  background: transparent;
  border: 1px solid rgba(26,26,26,0.15);
  border-radius: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--carbon);
  padding: 0.25rem 0.65rem;
  cursor: pointer;
  transition: all 0.25s;
}
.currency-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Cart Button */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--carbon);
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.3s, transform 0.2s;
}
.cart-btn:hover { color: var(--gold); transform: scale(1.08); }
.cart-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--carbon);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

/* MOBILE ELEMENTS (Hidden on Desktop) */
.nav-mobile-hamburger {
  display: none;
}
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
  padding: 0;
  z-index: 1005;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--carbon);
  border-radius: 2px;
  transition: all 0.3s var(--ease-luxury);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

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

/* MOBILE MENU DRAWER */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1004;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5.5rem 2rem 2.5rem;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease-luxury);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-links a {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--carbon);
  text-decoration: none;
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}
.mobile-menu-links a:hover { color: var(--gold); transform: translateX(8px); }

.mobile-menu-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(26,26,26,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-selector-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-selector-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(26,26,26,0.55);
}

/* RESPONSIVE BREAKPOINT FOR NAV */
@media (max-width: 900px) {
  .navbar-container {
    padding: 0.8rem 1.25rem;
    grid-template-columns: 1fr auto 1fr;
  }
  .nav-desktop-links { display: none; }
  .nav-desktop-actions .lang-pills,
  .nav-desktop-actions .currency-pill { display: none; }
  .nav-mobile-hamburger { display: flex; align-items: center; justify-content: flex-start; }
  .brand-wordmark { font-size: 1.45rem; letter-spacing: 0.22em; }
  .nav-logo-text { height: 24px; }
}

/* ══════════════════════════════
   HERO SECTION (V3 EDITORIAL 2-COLUMN)
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--carbon);
  overflow: hidden;
  padding: 4rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(203,172,82,0.12) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(203,172,82,0.06) 0%, transparent 45%),
    linear-gradient(155deg, #0d0b08 0%, #15110c 45%, #1f170f 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CBAC52' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-left {
  max-width: 640px;
}

.hero-icon-small {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: rgba(250,247,242,0.7);
  max-width: 480px;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-perks {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(203,172,82,0.18);
}
.hero-perk-item {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-perk-item svg { width: 14px; height: 14px; color: var(--gold); }

/* HERO RIGHT: EDITORIAL SHOWCASE CARD */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(203,172,82,0.35) 0%, rgba(203,172,82,0.08) 60%, rgba(255,255,255,0.05) 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: #110e0a;
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-luxury);
}
.hero-visual-card:hover .hero-main-photo {
  transform: scale(1.04);
}

.hero-visual-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(13,11,8,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(203,172,82,0.3);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-visual-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-gold 2s infinite;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(13,11,8,0.95) 0%, rgba(13,11,8,0.6) 65%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.hero-visual-cat {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.hero-visual-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--cream);
  font-weight: 500;
}

.hero-visual-btn {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--carbon);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s;
}
.hero-visual-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* HERO RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 4rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }
  .hero-left {
    max-width: 100%;
  }
  .hero-visual-card {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ══════════════════════════════
   TICKER / BANDA
══════════════════════════════ */
.ticker {
  background: var(--carbon);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}
.ticker-item {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.ticker-item::after {
  content: '◆';
  color: var(--gold);
  font-size: 0.45rem;
}

/* ══════════════════════════════
   CATEGORÍAS (EDITORIAL GRID)
══════════════════════════════ */
.categories {
  padding: 7rem 0;
  background: var(--cream);
}

.categories-header {
  margin-bottom: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
}

.cat-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
}

.cat-card:first-child {
  grid-row: 1 / 3;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-luxury);
  /* Placeholder mientras no hay imagen real */
  background: linear-gradient(135deg, #2a2015 0%, #3d2f18 50%, #1a1208 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card:first-child .cat-card-img { min-height: 600px; }

.cat-card:hover .cat-card-img { transform: scale(1.06); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,7,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background 0.4s;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top, rgba(13,11,7,0.9) 0%, rgba(13,11,7,0.1) 100%);
}

.cat-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.cat-card:first-child .cat-title { font-size: 2rem; }

.cat-link {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.cat-card:hover .cat-link { opacity: 1; transform: translateY(0); }

/* Imagen placeholder para categorías */
.cat-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2015 0%, #3d2f18 50%, #1a1208 100%);
}
.cat-placeholder-icon {
  opacity: 0.15;
  filter: invert(1);
  width: 48px;
}

/* ══════════════════════════════
   PRODUCTOS DESTACADOS
══════════════════════════════ */
.products {
  padding: 7rem 0;
  background: var(--white);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.products-header-left { max-width: 420px; }
.products-header-left .label-tag { margin-bottom: 0.75rem; display: block; }
.products-header-left .section-title { margin-bottom: 1rem; }
.products-header-left p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(26,26,26,0.55);
}

/* Tabs de filtro */
.products-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(26,26,26,0.15);
  color: rgba(26,26,26,0.55);
  transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(203,172,82,0.05);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tarjeta de producto */
.product-card {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease-luxury);
}

.product-card:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,0.1);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

/* Placeholder imagen producto */
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(26,26,26,0.25);
  transition: transform 0.7s var(--ease-luxury);
}
.product-card:hover .product-img-placeholder { transform: scale(1.04); }
.product-img-placeholder svg { width: 28px; opacity: 0.2; }

/* Imagen real del producto */
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.7s var(--ease-luxury);
}
.product-card:hover .product-img { transform: scale(1.04); }


/* Badge */
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.badge-gold   { background: var(--gold);   color: var(--cream); }
.badge-dark   { background: var(--carbon); color: var(--cream); }

/* Quick add btn */
.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.9rem;
  background: var(--carbon);
  color: var(--cream);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-luxury);
}
.product-card:hover .product-quick-add { transform: translateY(0); }
.product-quick-add:hover { background: var(--gold); color: var(--carbon); }

/* Info */
.product-info {
  padding: 1.2rem 1.4rem 1.6rem;
  border-top: 1px solid rgba(26,26,26,0.06);
}

.product-category {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--carbon);
  margin-bottom: 0.3rem;
}

.product-desc {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(26,26,26,0.45);
  margin-bottom: 1rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--carbon);
}

.product-price-old {
  font-size: 0.75rem;
  color: rgba(26,26,26,0.3);
  text-decoration: line-through;
}

.add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(26,26,26,0.15);
  color: var(--carbon);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.add-to-cart:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}
.add-to-cart svg { width: 16px; height: 16px; }

/* CTA ver más */
.products-cta {
  margin-top: 4rem;
  text-align: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--carbon);
  color: var(--carbon);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease-luxury), color 0.35s;
}
.btn-outline:hover {
  background: var(--carbon);
  color: var(--cream);
}

/* ══════════════════════════════
   SECCIÓN EDITORIAL / HISTORIA
══════════════════════════════ */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.editorial-visual {
  position: relative;
  overflow: hidden;
  background: var(--carbon);
  min-height: 500px;
}

/* Placeholder imagen editorial:
  Reemplazar con <img src="../img/about/artesano.jpg" class="editorial-img"> */
.editorial-img-placeholder {
  width: 100%; height: 100%;
  min-height: 500px;
  background: linear-gradient(135deg, #1a1208 0%, #2d2010 40%, #3d2f18 70%, #1a1208 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: rgba(255,255,255,0.1);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.editorial-img-placeholder img {
  width: 60px;
  opacity: 0.1;
  filter: invert(1);
}

/* Tarjeta flotante sobre imagen */
.editorial-float-card {
  position: absolute;
  bottom: 2rem;
  right: -1px;
  background: var(--gold);
  padding: 1.5rem 2rem;
  width: 220px;
}
.editorial-float-card .num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--carbon);
  line-height: 1;
}
.editorial-float-card .label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.65);
  margin-top: 0.25rem;
}

.editorial-content {
  background: var(--cream-dark);
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-content .label-tag { margin-bottom: 1rem; }
.editorial-content .section-title { margin-bottom: 1.5rem; }

.editorial-content p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(26,26,26,0.6);
  margin-bottom: 1rem;
}

.editorial-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26,26,26,0.08);
}

.editorial-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
}

.editorial-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.4);
  margin-top: 0.25rem;
}

/* ══════════════════════════════
   SECCIÓN PROCESO (3 columnas)
══════════════════════════════ */
.process {
  padding: 7rem 0;
  background: var(--carbon);
}

.process-header {
  text-align: center;
  margin-bottom: 5rem;
}
.process-header .label-tag { display: block; margin-bottom: 1rem; }
.process-header .section-title { color: var(--cream); }
.process-header .section-title span { color: var(--gold); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.process-item {
  background: var(--carbon);
  padding: 3.5rem 2.5rem;
  position: relative;
  transition: background 0.4s;
}
.process-item:hover { background: rgba(203,172,82,0.04); }

.process-num {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 500;
  color: rgba(203,172,82,0.1);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}
.process-item:hover .process-num { color: rgba(203,172,82,0.2); }

.process-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.process-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.process-text {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(250,247,242,0.4);
}

/* ══════════════════════════════
   NEWSLETTER
══════════════════════════════ */
.newsletter {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.newsletter-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.035;
  animation: spin-slow 80s linear infinite;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
}

.newsletter-inner .label-tag { display: block; margin-bottom: 1rem; }
.newsletter-inner .section-title { margin-bottom: 1rem; }

.newsletter-desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(26,26,26,0.5);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(26,26,26,0.15);
  border-right: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--carbon);
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-input::placeholder { color: rgba(26,26,26,0.3); }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-submit {
  padding: 1rem 1.75rem;
  background: var(--gold);
  color: var(--carbon);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-submit:hover { background: var(--gold-dark); color: var(--cream); }

.newsletter-msg {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-height: 1.2em;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--carbon);
  color: rgba(250,247,242,0.5);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand-desc {
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(250,247,242,0.35);
  max-width: 280px;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.footer-social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(203,172,82,0.08);
}
.footer-social-btn svg { width: 15px; height: 15px; }

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.8);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(250,247,242,0.35);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links li a:hover { color: var(--gold); }
.footer-links li a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.footer-links li a:hover::before { width: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(250,247,242,0.2);
}

.footer-copy span { color: rgba(203,172,82,0.4); }

.footer-regions {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.15);
}

/* ══════════════════════════════
   CART TOAST
══════════════════════════════ */
.cart-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  background: var(--carbon);
  color: var(--cream);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s var(--ease-luxury), opacity 0.4s;
  min-width: 260px;
}
.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.cart-toast-icon { color: var(--gold); flex-shrink: 0; }
.cart-toast-icon svg { width: 18px; height: 18px; }
.cart-toast-msg { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.05em; }
.cart-toast-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--gold);
  width: 100%;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 2.4s linear;
}
.cart-toast.show .cart-toast-bar { transform: scaleX(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:first-child { grid-column: 1 / 3; grid-row: auto; }
  .cat-card:first-child .cat-card-img { min-height: 320px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-content { padding: 4rem 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid  { grid-template-columns: 1fr; }
  .hero-stats    { display: none; }
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card:first-child { grid-column: auto; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 0 1.25rem 5rem; grid-template-columns: 1fr; }
  .categories-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .products-header { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: 1fr; }
  .editorial-content { padding: 3rem 1.5rem; }
  .editorial-stats { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-input { border-right: 1px solid rgba(26,26,26,0.15); border-bottom: none; }
}

/* ══════════════════════════════
   RTL — Soporte árabe (dir="rtl")
   Se activa cuando el <html> tiene dir="rtl"
══════════════════════════════ */
[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'Montserrat', sans-serif;
  text-align: right;
}

/* Tipografía árabe más grande para legibilidad */
[dir="rtl"] .hero-title { font-size: clamp(2.5rem, 5.5vw, 5.2rem); }
[dir="rtl"] .section-title { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }

/* Navbar: invertir orden de flex */
[dir="rtl"] .navbar { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }

/* Hero: contenido alineado a la derecha */
[dir="rtl"] .hero-content { direction: rtl; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-cta-group { flex-direction: row-reverse; }

/* Btn-primary: invertir flecha */
[dir="rtl"] .btn-primary svg { transform: scaleX(-1); }
[dir="rtl"] .btn-primary:hover svg { transform: scaleX(-1) translateX(-4px); }

/* Categorías */
[dir="rtl"] .categories-header { flex-direction: row-reverse; }

/* Productos */
[dir="rtl"] .products-header { flex-direction: row-reverse; }
[dir="rtl"] .product-price-row { flex-direction: row-reverse; }

/* Footer */
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-socials { flex-direction: row-reverse; }

/* Links del footer: eliminar pseudo ::before a la izquierda */
[dir="rtl"] .footer-links li a::before { display: none; }
[dir="rtl"] .footer-links li a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
  margin-right: 0;
  margin-left: 0;
}
[dir="rtl"] .footer-links li a:hover::after { width: 14px; }

/* Mobile menu RTL */
[dir="rtl"] .mobile-menu { text-align: right; }

/* Newsletter */
[dir="rtl"] .newsletter-form { flex-direction: row-reverse; }

/* Editorial */
[dir="rtl"] .editorial { direction: rtl; }

/* Proceso */
[dir="rtl"] .process-item { text-align: right; }

/* ══════════════════════════════
   MÉTODOS DE PAGO
══════════════════════════════ */
.payment-section {
  background: var(--cream-dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(26,26,26,0.06);
}

.payment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.payment-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.4);
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-badge {
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  cursor: default;
}
.payment-badge:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.payment-badge svg {
  width: 56px;
  height: 35px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.payment-security {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  color: rgba(26,26,26,0.4);
  letter-spacing: 0.04em;
}
.payment-security svg {
  width: 14px;
  height: 14px;
  color: #2d7a27;
  flex-shrink: 0;
}

/* ══════════════════════════════
   SHIPPING BANNER
══════════════════════════════ */
.shipping-banner {
  background: var(--carbon);
  color: rgba(255,255,255,0.85);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.55rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 200;
  overflow: hidden;
  max-height: 40px;
  transition: max-height 0.4s, opacity 0.4s;
}
.shipping-banner strong { color: var(--gold); }
.shipping-banner button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  position: absolute;
  right: 1rem;
}
.shipping-banner button:hover { color: white; }
.shipping-banner button svg { width: 10px; height: 10px; }

/* ══════════════════════════════
   CART DRAWER
══════════════════════════════ */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(420px, 100vw);
  background: var(--cream);
  z-index: 9000;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.5);
  backdrop-filter: blur(2px);
  z-index: 8999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cart-overlay.show { opacity: 1; pointer-events: all; }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.cart-drawer-header h2 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--carbon);
  padding: 0.25rem;
  transition: opacity 0.2s;
}
.cart-drawer-close:hover { opacity: 0.5; }
.cart-drawer-close svg { width: 20px; height: 20px; }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.75rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  gap: 1rem;
  color: rgba(26,26,26,0.4);
}
.cart-empty svg { width: 48px; opacity: 0.2; }
.cart-empty p { font-size: 0.8rem; }
.cart-empty .btn-primary { font-size: 0.65rem; padding: 0.8rem 1.5rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26,26,26,0.06);
}
.cart-item-img { width: 72px; height: 90px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cart-item-img-placeholder { width: 100%; height: 100%; background: var(--cream-dark); }

.cart-item-name  { font-size: 0.75rem; font-weight: 500; margin-bottom: 0.25rem; }
.cart-item-meta  { font-size: 0.65rem; color: rgba(26,26,26,0.45); margin-bottom: 0.4rem; }
.cart-item-price { font-size: 0.8rem; color: var(--gold); font-weight: 500; margin-bottom: 0.5rem; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-item-qty button {
  width: 24px; height: 24px;
  border: 1px solid rgba(26,26,26,0.15);
  background: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--carbon);
}
.cart-item-qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-item-qty span { font-size: 0.8rem; min-width: 20px; text-align: center; }

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(26,26,26,0.3);
  padding: 0.25rem;
  transition: color 0.2s;
}
.cart-item-remove:hover { color: #c0392b; }
.cart-item-remove svg { width: 16px; height: 16px; }

.cart-drawer-footer {
  padding: 1.25rem 1.75rem 1.75rem;
  border-top: 1px solid rgba(26,26,26,0.08);
}
.cart-drawer-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.cart-drawer-total span:last-child { color: var(--gold); }
.cart-drawer-note {
  font-size: 0.62rem;
  color: rgba(26,26,26,0.4);
  margin-bottom: 1rem;
}
.btn-checkout {
  width: 100%;
  background: var(--carbon);
  color: var(--gold);
  border: none;
  padding: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-checkout:hover { background: var(--gold); color: var(--carbon); }

/* Badge carrito con items */
.cart-count.has-items {
  background: var(--gold);
  color: var(--carbon);
  animation: badge-pop 0.3s var(--ease-luxury);
}
@keyframes badge-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════
   WISHLIST BUTTON
══════════════════════════════ */
.wishlist-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(250,247,242,0.9);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 2;
}
.wishlist-btn svg { width: 16px; height: 16px; transition: all 0.3s; stroke: rgba(26,26,26,0.4); }
.wishlist-btn:hover svg { stroke: #c0392b; }
.wishlist-btn.active svg { fill: #c0392b; stroke: #c0392b; }

/* ══════════════════════════════
   COLOR SWATCHES
══════════════════════════════ */
.product-colors {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.color-swatch {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.color-swatch:hover  { transform: scale(1.2); }
.color-swatch.active { outline-color: var(--gold); transform: scale(1.15); }

/* ══════════════════════════════
   PRODUCT STOCK BADGE
══════════════════════════════ */
.badge-stock {
  background: rgba(192,57,43,0.9) !important;
  color: white !important;
  font-size: 0.5rem !important;
}

/* Product name link */
.product-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.product-name a:hover { color: var(--gold); }

/* ══════════════════════════════
   CATEGORY COMING SOON
══════════════════════════════ */
.cat-card--soon .cat-card-img { filter: grayscale(0.6); }
.cat-coming-soon {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}
.cat-coming-soon img { width: 60px; opacity: 0.3; }
.cat-coming-soon p {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.cat-link--soon {
  opacity: 0.4;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6) !important;
  cursor: default;
}

/* ══════════════════════════════
   COUNTDOWN TIMER
══════════════════════════════ */
.countdown-section {
  background: var(--carbon);
  padding: 5rem 0;
  overflow: hidden;
  position: relative;
}
.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(203,172,82,0.08) 0%, transparent 70%);
}
.countdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.countdown-left .label-tag { color: var(--gold); margin-bottom: 1rem; display: block; }
.countdown-left h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: white;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.countdown-desc { color: rgba(255,255,255,0.5); font-size: 0.8rem; line-height: 1.8; margin-bottom: 2rem; }

.countdown-timer {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}
.cnt-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.cnt-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  min-width: 80px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(203,172,82,0.2);
}
.cnt-unit small {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.cnt-sep {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1.2rem;
}

/* ══════════════════════════════
   LOOKBOOK
══════════════════════════════ */
.lookbook {
  background: var(--carbon);
  padding: 6rem 0 0;
  overflow: hidden;
}
.lookbook-header {
  text-align: center;
  padding: 0 2rem 3rem;
}
.lookbook-header .label-tag { color: var(--gold); display: block; margin-bottom: 0.75rem; }
.lookbook-header .section-title { color: white; }
.lookbook-header .section-title em { color: var(--gold); font-style: italic; }

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  max-height: 80vh;
}
.lookbook-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.lookbook-img {
  overflow: hidden;
  position: relative;
}
.lookbook-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}
.lookbook-img:hover img { transform: scale(1.06); }
.lookbook-large { min-height: 60vh; }

.lookbook-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(26,26,26,0.75));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.lookbook-caption span { font-size: 0.65rem; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; }
.lookbook-caption.small { padding: 1rem 1rem 0.75rem; }
.lookbook-link {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.lookbook-link:hover { opacity: 0.7; }

/* ══════════════════════════════
   TESTIMONIOS
══════════════════════════════ */
.testimonials {
  background: var(--cream-dark);
  padding: 6rem 0;
  overflow: hidden;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}
.testimonials-header .label-tag { display: block; margin-bottom: 0.75rem; }

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
}
.testimonials-track-wrap::before,
.testimonials-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.testimonials-track-wrap::before { left: 0; background: linear-gradient(to right, var(--cream-dark), transparent); }
.testimonials-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--cream-dark), transparent); }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  animation: testimonials-scroll 30s linear infinite;
  width: max-content;
}
@keyframes testimonials-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  width: 340px;
  flex-shrink: 0;
  background: white;
  padding: 2rem;
  border-left: 3px solid var(--gold);
}
.testimonial-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 0.75rem; }
.testimonial-text {
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(26,26,26,0.7);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--carbon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.75rem; font-weight: 500; }
.testimonial-city { font-size: 0.62rem; color: rgba(26,26,26,0.4); }

/* ══════════════════════════════
   WHATSAPP FAB
══════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 8000;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--carbon);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.65rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; }

/* ══════════════════════════════
   COOKIE BANNER
══════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--carbon);
  color: rgba(255,255,255,0.8);
  padding: 1.25rem 2rem;
  z-index: 9500;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-luxury);
  border-top: 1px solid rgba(203,172,82,0.2);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.72rem; line-height: 1.7; flex: 1; min-width: 280px; }
.cookie-btns {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--carbon);
  border: none;
  padding: 0.55rem 1.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-btn-accept:hover { opacity: 0.85; }
.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  padding: 0.55rem 1.25rem;
  font-size: 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,0.5); }
.cookie-link { color: var(--gold); font-size: 0.62rem; text-decoration: underline; }

/* ══════════════════════════════
   WELCOME POPUP (10% OFF)
══════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.popup-overlay.show { opacity: 1; pointer-events: all; }

.popup-inner {
  background: var(--cream);
  max-width: 460px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(26,26,26,0.4);
  line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: var(--carbon); }
.popup-logo img { width: 48px; margin-bottom: 1.25rem; }
.popup-tag { font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.popup-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.popup-desc { font-size: 0.75rem; color: rgba(26,26,26,0.6); margin-bottom: 1.5rem; line-height: 1.7; }
.popup-form {
  display: flex;
  gap: 0;
  max-width: 340px;
  margin: 0 auto 0.75rem;
}
.popup-form input {
  flex: 1;
  border: 1px solid rgba(26,26,26,0.15);
  border-right: none;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  background: white;
  outline: none;
}
.popup-form button {
  background: var(--carbon);
  color: var(--gold);
  border: none;
  padding: 0.7rem 1.1rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.popup-form button:hover { background: var(--gold); color: var(--carbon); }
.popup-form-msg { font-size: 0.7rem; min-height: 1.2rem; margin-bottom: 0.5rem; }
.popup-skip {
  background: none;
  border: none;
  font-size: 0.62rem;
  color: rgba(26,26,26,0.35);
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.popup-skip:hover { color: var(--carbon); }

/* ══════════════════════════════
   MOROCCO LANGUAGE MODAL
══════════════════════════════ */
.morocco-modal {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.8);
  backdrop-filter: blur(6px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.morocco-modal.show { opacity: 1; pointer-events: all; }

.morocco-modal-inner {
  background: var(--cream);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 100%;
}
.morocco-modal-inner img { width: 48px; margin-bottom: 1.25rem; }
.morocco-modal-inner h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.morocco-modal-inner p { font-size: 0.8rem; color: rgba(26,26,26,0.6); line-height: 1.7; margin-bottom: 1.75rem; }
.morocco-modal-inner p small { color: rgba(26,26,26,0.4); }
.morocco-modal-btns { display: flex; flex-direction: column; gap: 0.75rem; }
.morocco-modal-btns button {
  width: 100%;
  padding: 0.9rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border: 1px solid var(--carbon);
  background: var(--carbon);
  color: var(--gold);
  cursor: pointer;
  transition: all 0.2s;
}
.morocco-modal-btns button:hover { background: var(--gold); color: var(--carbon); border-color: var(--gold); }
.morocco-modal-btns button.ghost { background: transparent; color: rgba(26,26,26,0.4); border-color: rgba(26,26,26,0.15); font-size: 0.65rem; }
.morocco-modal-btns button.ghost:hover { background: rgba(26,26,26,0.05); color: var(--carbon); border-color: rgba(26,26,26,0.3); }

/* ══════════════════════════════
   RESPONSIVE — nuevas secciones
══════════════════════════════ */
@media (max-width: 1024px) {
  .countdown-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .countdown-timer { justify-content: flex-start; }
  .lookbook-grid { grid-template-columns: 1fr; max-height: none; }
  .lookbook-large { min-height: 50vw; }
}
@media (max-width: 768px) {
  .cnt-num { font-size: 2rem; min-width: 60px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-drawer { width: 100vw; }
  .testimonial-card { width: 280px; }
  .cookie-content { flex-direction: column; gap: 1rem; }
  .cookie-btns { width: 100%; flex-wrap: wrap; }
  .popup-form { flex-direction: column; }
  .popup-form input { border-right: 1px solid rgba(26,26,26,0.15); border-bottom: none; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .lookbook-col { grid-template-rows: 1fr; }
}

/* REDISEÑO FOOTER */
.footer { background: var(--carbon); color: white; padding: 6rem 0 2rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; } @media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col-title { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold); margin-bottom: 1.5rem; letter-spacing: 0.1em; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-brand-logo { width: 120px; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand-desc { color: rgba(255,255,255,0.6); font-size: 0.8rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 1rem; }
.footer-social-btn { color: white; background: rgba(255,255,255,0.1); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.footer-social-btn:hover { background: var(--gold); color: var(--carbon); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: rgba(255,255,255,0.4); }

/* OPTIMIZE IMAGE RENDERING */
img {
  
  image-rendering: auto;
}
.hero-img, .cat-card-img, .product-img, .editorial-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (min-width: 1400px) {
  .hero, .editorial { max-width: 1800px; margin-left: auto; margin-right: auto; }
}

/* RTL SUPPORT FOR V3 */
[dir="rtl"] .brand-wordmark { letter-spacing: 0.05em; font-family: 'Noto Naskh Arabic', serif; }
[dir="rtl"] .nav-desktop-actions { justify-content: flex-start; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-perks { flex-direction: row-reverse; }
[dir="rtl"] .hero-visual-overlay { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .hero-visual-badge { right: 1.25rem; left: auto; flex-direction: row-reverse; }

/* ══════════════════════════════════════════════
   HERO BUTTONS VISIBILITY FIX
══════════════════════════════════════════════ */
.hero .hero-cta-group,
.hero .hero-perks,
.hero .hero-left,
.hero .hero-right {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.btn-primary {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.btn-ghost {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ══════════════════════════════════════════════
   ARABIC LUXURY TYPOGRAPHY & RTL MASTERY
══════════════════════════════════════════════ */
[dir="rtl"] {
  font-family: 'Tajawal', sans-serif !important;
  letter-spacing: 0 !important;
}

[dir="rtl"] body,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  font-family: 'Tajawal', sans-serif !important;
  letter-spacing: 0 !important;
}

/* Headings in Arabic: Luxury Calligraphic Serif */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .section-title,
[dir="rtl"] .hero-title,
[dir="rtl"] .cat-title,
[dir="rtl"] .product-name,
[dir="rtl"] .footer-col-title,
[dir="rtl"] .popup-title {
  font-family: 'Amiri', serif !important;
  letter-spacing: 0 !important;
  line-height: 1.38 !important;
}

[dir="rtl"] .hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem) !important;
  line-height: 1.3 !important;
  text-align: right !important;
}

[dir="rtl"] .hero-title em {
  font-style: normal !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
}

[dir="rtl"] .hero-subtitle {
  text-align: right !important;
  font-size: 0.95rem !important;
  line-height: 1.9 !important;
  max-width: 540px !important;
}

[dir="rtl"] .hero-eyebrow {
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
}

[dir="rtl"] .hero-cta-group {
  justify-content: flex-start !important;
  gap: 1.25rem !important;
}

[dir="rtl"] .hero-perks {
  justify-content: flex-start !important;
  flex-direction: row !important;
  gap: 2rem !important;
}
[dir="rtl"] .hero-perk-item {
  flex-direction: row-reverse !important;
}

/* Flip arrows in buttons for Arabic (pointing forward to the left) */
[dir="rtl"] .btn-primary svg,
[dir="rtl"] .cat-link svg,
[dir="rtl"] .hero-visual-btn svg,
[dir="rtl"] .btn-outline svg {
  transform: rotate(180deg) !important;
}

/* Hero card in RTL */
[dir="rtl"] .hero-visual-badge {
  right: 1.25rem !important;
  left: auto !important;
  flex-direction: row-reverse !important;
}

[dir="rtl"] .hero-visual-overlay {
  text-align: right !important;
  flex-direction: row-reverse !important;
}

/* Navbar in RTL */
[dir="rtl"] .navbar-container {
  flex-direction: row-reverse !important;
}
[dir="rtl"] .nav-desktop-links {
  gap: 2rem !important;
}
[dir="rtl"] .nav-desktop-links a {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}
[dir="rtl"] .lang-pills {
  flex-direction: row-reverse !important;
}

/* Testimonials & Products in RTL */
[dir="rtl"] .testimonial-author {
  flex-direction: row-reverse !important;
  text-align: right !important;
}
[dir="rtl"] .testimonial-text {
  text-align: right !important;
  line-height: 1.8 !important;
}

[dir="rtl"] .product-info {
  text-align: right !important;
}
[dir="rtl"] .product-price-row {
  flex-direction: row-reverse !important;
}

/* Cart Drawer in RTL */
[dir="rtl"] .cart-drawer {
  right: auto !important;
  left: 0 !important;
  transform: translateX(-100%) !important;
  box-shadow: 8px 0 40px rgba(0,0,0,0.15) !important;
}
[dir="rtl"] .cart-drawer.open {
  transform: translateX(0) !important;
}
[dir="rtl"] .cart-drawer-header {
  flex-direction: row-reverse !important;
}
[dir="rtl"] .cart-drawer-total {
  flex-direction: row-reverse !important;
}

/* Mobile Drawer in RTL */
[dir="rtl"] .mobile-menu {
  transform: translateX(100%) !important;
}
[dir="rtl"] .mobile-menu.open {
  transform: translateX(0) !important;
}
[dir="rtl"] .mobile-menu-links a {
  font-family: 'Amiri', serif !important;
  text-align: right !important;
  font-size: 1.5rem !important;
}
[dir="rtl"] .mobile-selector-row {
  flex-direction: row-reverse !important;
}
