:root {
  --site-primary: #A65332;       /* Terracota MONAT - color principal */
  --site-secondary: #D9BFA7;     /* Champagne - detalles y acentos premium */
  --site-background: #F4E8DC;    /* Marfil - fondos luminosos y elegantes */
  --site-on-primary: #F4E8DC;    /* Marfil */
  --site-on-secondary: #493025;  /* Chocolate */
  --site-on-background: #493025; /* Chocolate */
  --paper: #F4E8DC;              /* Marfil */
  --cream: #EDE0D2;              /* Marfil cálido para tarjetas */
  --ink: #493025;                /* Chocolate */
  --muted: #75594C;              /* Chocolate suavizado */
  --line: #D9BFA7;               /* Champagne */
  --chocolate: #493025;          /* Chocolate */
  --terracotta: #A65332;         /* Terracota MONAT */
  --gold: #D9BFA7;               /* Champagne */
  --silver: #E0E0E0;
  --success: #2E7D32;
  --shadow-sm: 0 2px 8px rgba(73, 48, 37, 0.06);
  --shadow-md: 0 8px 24px rgba(73, 48, 37, 0.10);
  --shadow-lg: 0 16px 40px rgba(73, 48, 37, 0.14);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --site-font-body: Arial, Helvetica, sans-serif;
  --site-font-heading: Arial, Helvetica, sans-serif;
  --transition-smooth: all 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--site-font-body);
  background-color: var(--site-background);
  color: var(--site-on-background);
  font-size: 13px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--site-font-heading);
  font-weight: 700;
  color: var(--ink);
  margin-top: 0;
  letter-spacing: -0.01em;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   TOP ANNOUNCEMENT BAR (Con camioncito animado avanzando)
   ========================================================= */
.announcement-bar {
  background: var(--site-primary);
  color: var(--site-on-primary);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  z-index: 50;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.announcement-ticker {
  display: flex;
  white-space: nowrap;
  animation: truckTicker 28s linear infinite;
  gap: 48px;
  padding-left: 20px;
}

.announcement-ticker:hover {
  animation-play-state: paused;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.truck-icon {
  font-size: 15px;
  display: inline-block;
  animation: truckBounce 0.5s infinite alternate ease-in-out;
}

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

@keyframes truckBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px); }
}

/* =========================================================
   HEADER & REFINED MINIMAL MENU
   ========================================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 232, 220, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 clamp(16px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.55vw, 24px);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.nav-links li {
  position: relative;
}

.has-dropdown {
  position: relative !important;
}

.nav-link {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 28px 0;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--site-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--site-primary);
}

.nav-link-featured {
  padding: 8px 15px;
  margin: 18px 0;
  border-radius: 999px;
  background: var(--site-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(166, 83, 50, 0.25);
}

.nav-link-featured:hover,
.nav-link-featured.active {
  background: var(--site-secondary);
  color: #F4E8DC !important;
  opacity: 1;
}

.nav-link-featured.active::after {
  display: none;
}

.chevron-icon {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Elegant Minimal Dropdown for Tienda (Centrado directamente bajo "Tienda") */
.clean-dropdown {
  position: absolute !important;
  top: calc(100% - 10px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  width: 230px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(46, 29, 23, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 100;
}

.clean-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #FFFDF9;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.has-dropdown:hover .clean-dropdown,
.has-dropdown.is-open .clean-dropdown,
.has-dropdown:focus-within .clean-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-header {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 18px 8px;
  border-bottom: 1px solid rgba(220, 205, 189, 0.4);
  font-weight: 700;
}

.clean-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.clean-dropdown a:hover {
  background: var(--cream);
  color: var(--site-primary);
}

.dropdown-divider {
  height: 1px;
  background: rgba(220, 205, 189, 0.4);
  margin: 6px 0;
}

.clean-dropdown a.view-all-link {
  color: var(--site-primary);
  font-size: 10px;
  font-weight: 700;
}

/* Center Brand Logo */
.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo img {
  width: 78px;
  height: 62px;
  object-fit: cover;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease;
}

.brand-logo:hover img {
  opacity: 0.85;
}

/* Right Actions */
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.2s ease;
}

.icon-btn:hover {
  color: var(--site-primary);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  border-radius: 50%;
  background: var(--site-primary);
  color: #F4E8DC;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 4px;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
  display: none;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 16px 24px;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(220, 205, 189, 0.4);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

/* =========================================================
   BUTTONS (Redondeados)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 32px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 40px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--site-primary);
  color: var(--site-on-primary);
  border-color: var(--site-primary);
}

.btn-primary:hover {
  background-color: #493025;
  border-color: #493025;
  color: #F4E8DC;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(73, 48, 37, 0.28);
}

.btn-secondary {
  background-color: var(--site-secondary);
  color: #493025;
  border-color: var(--site-secondary);
}

.btn-secondary:hover {
  background-color: #C9A98C;
}

.btn-light {
  background-color: var(--cream);
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  background-color: #FFFDF9;
  color: var(--site-primary);
  border-color: var(--site-primary);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background-color: var(--site-primary);
  color: #F4E8DC;
  border-color: var(--site-primary);
}

/* Subtle, Elegant Buy Now Button Redondeado */
.btn-buy-now {
  background: var(--site-primary);
  color: #F4E8DC;
  border-radius: 40px;
  border: 1px solid rgba(217, 191, 167, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(73, 48, 37, 0.22);
  animation: subtleBreathing 3.6s ease-in-out infinite;
}

.btn-buy-now:hover {
  background: #493025;
  border-color: #493025;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(73, 48, 37, 0.32);
}

@keyframes subtleBreathing {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(166, 83, 50, 0.22);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(166, 83, 50, 0.32);
  }
}

/* =========================================================
   HERO SLIDER (Panorámico armonizado con paleta MONAT)
   ========================================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(460px, 62vh, 580px);
  overflow: hidden;
  background: #493025;
  border-bottom: 1px solid var(--line);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
  padding: 48px 24px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Degradado cálido Chocolate transparente para resaltar cuero y legibilidad Marfil */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(73, 48, 37, 0.28) 0%, rgba(73, 48, 37, 0.56) 55%, rgba(73, 48, 37, 0.78) 100%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-center-box {
  position: relative;
  z-index: 3;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #FFFFFF;
}

.slide-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.slide-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 14px;
  font-weight: 700;
  max-width: 740px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

/* IMAGEN DEBAJO DEL TÍTULO EN LA ENTRADA */
.slide-hero-img-wrap {
  margin: 16px auto 18px;
  max-width: 440px;
  width: 90%;
  aspect-ratio: 16 / 10;
  max-height: 250px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide.active .slide-hero-img-wrap {
  animation: heroImgEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide.active .slide-title {
  animation: heroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide.active .slide-desc {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.slide.active .slide-actions {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

@keyframes heroImgEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-desc {
  max-width: 580px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #FFFFFF;
  margin: 0 auto 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.slide-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(247, 242, 234, 0.85);
  backdrop-filter: blur(6px);
  color: var(--ink);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slider-nav-btn:hover {
  background: #FFF;
  color: var(--site-primary);
  transform: translateY(-50%) scale(1.06);
}

.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  background: #FFF;
  width: 48px;
}

/* =========================================================
   SCROLL REVEAL & CENTERED HEADINGS
   ========================================================= */
.section-head-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-head-center .eyebrow {
  margin-bottom: 8px;
}

.section-head-center h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.section-head-center p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 auto;
}

/* BANNER DE ENTRADA CON IMAGEN DEBAJO DEL TEXTO Y TEXTO BLANCO */
.page-entry-banner {
  position: relative;
  background-color: #493025;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(54px, 7vw, 94px) 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

.page-entry-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(73, 48, 37, 0.54) 0%, rgba(73, 48, 37, 0.76) 100%);
  z-index: 1;
}

.page-entry-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.page-entry-banner .eyebrow {
  color: #FFFFFF !important;
  opacity: 0.92;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.page-entry-banner h1,
.page-entry-banner h2 {
  color: #FFFFFF !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
}

.page-entry-banner p {
  color: #FFFFFF !important;
  opacity: 0.96;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.section-entry-banner {
  border-radius: 16px;
  padding: clamp(42px, 5vw, 68px) 24px;
  margin-bottom: 36px;
  border-bottom: none;
  box-shadow: var(--shadow-md);
}

/* =========================================================
   SCROLL REVEAL ANIMATION ENGINE
   ========================================================= */
.reveal-on-scroll,
.reveal-fade-up,
.product-card,
.collection-card,
.benefit-item,
.story-split {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed,
.reveal-fade-up.is-revealed,
.product-card.is-revealed,
.collection-card.is-revealed,
.benefit-item.is-revealed,
.story-split.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =========================================================
   SECTIONS & GRIDS
   ========================================================= */
.section {
  padding: clamp(52px, 6vw, 84px) clamp(20px, 4.5vw, 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
  font-weight: 700;
}

.section-head h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

.section-head p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--site-primary);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.link-arrow:hover {
  color: var(--site-secondary);
}

/* =========================================================
   COLLECTIONS GRID
   ========================================================= */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.collection-card {
  display: flex;
  flex-direction: column;
  background: #FFFDF9;
  border: 1px solid rgba(220, 205, 189, 0.5);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.collection-img-box {
  position: relative;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background: var(--cream);
}

.collection-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-img-box img {
  transform: scale(1.04);
}

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(46, 29, 23, 0.4) 100%);
}

.collection-meta {
  padding: 12px 14px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collection-meta h3 {
  font-size: 15px;
  margin: 0 0 3px;
  color: var(--ink);
  font-weight: 700;
}

.collection-meta p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.collection-arrow {
  color: var(--site-primary);
  font-size: 15px;
}

.collection-action {
  padding: 0 14px 14px;
  margin-top: auto;
  width: 100%;
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: #FFFDF9;
  border: 1px solid rgba(220, 205, 189, 0.5);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: #EFE4D6;
  overflow: hidden;
  display: block;
}

.product-image-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(247, 242, 234, 0.95);
  color: var(--site-primary);
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 5;
}

.discount-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--site-primary);
  color: #FFF;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  z-index: 5;
}

/* BOTÓN AGREGAR AL CARRITO UBICADO ABAJO DEL PRODUCTO */
.product-card-action {
  margin-top: 12px;
  width: 100%;
}

.btn-card-add {
  width: 100%;
  min-height: 40px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-card-add:hover {
  background: var(--site-primary);
  color: #FFF;
  border-color: var(--site-primary);
  box-shadow: 0 4px 14px rgba(112, 64, 47, 0.25);
}

.btn-card-add svg {
  flex-shrink: 0;
}

.product-details {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  font-weight: 700;
}

.product-title {
  font-size: 14px;
  margin: 0 0 5px;
  font-weight: 700;
  line-height: 1.35;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #C17B58;
  margin-bottom: 8px;
}

.product-rating .count {
  color: var(--muted);
  font-size: 10.5px;
}

.product-price-box {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 15px;
  font-weight: 700;
  color: var(--site-primary);
}

.price-compare {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--muted);
}

/* =========================================================
   STORY SECTION
   ========================================================= */
.story-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  margin: 32px auto;
  max-width: 1440px;
}

.story-media {
  min-height: 440px;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text {
  padding: clamp(36px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.story-text h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.story-text p {
  color: #614D41;
  font-size: 13.5px;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin: 36px 0;
}

.benefit-item {
  background: var(--paper);
  padding: 28px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--site-primary);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 10px;
}

.benefit-item h3 {
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 700;
}

.benefit-item p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  max-width: 220px;
}

/* =========================================================
   3D CUSTOMIZER (personalizacion.php)
   ========================================================= */
.customizer-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.canvas-viewport-wrap {
  position: relative;
  width: 100%;
  height: 600px;
  background: radial-gradient(circle at center, #F7F2EA 0%, #E8DFD4 100%);
  overflow: hidden;
  border: 1px solid rgba(220, 205, 189, 0.6);
}

#wallet-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-overlay-ui {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
}

.badge-3d-live {
  background: rgba(46, 29, 23, 0.85);
  color: #FFF;
  font-size: 9.5px;
  padding: 5px 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.canvas-views-bar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(247, 242, 234, 0.95);
  padding: 4px 8px;
  border: 1px solid var(--line);
  display: flex;
  gap: 6px;
}

.view-btn {
  background: transparent;
  border: none;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--ink);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.view-btn.active, .view-btn:hover {
  background: var(--site-primary);
  color: #FFF;
}

.customizer-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 6px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 12px;
}

.option-group-title {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.option-group-title span.selected-val {
  color: var(--ink);
}

.color-swatches-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  background-clip: content-box;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.swatch-btn.active {
  border-color: var(--site-primary);
  transform: scale(1.1);
}

.monogram-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--line);
  background: #FFF;
  color: var(--ink);
}

.foil-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.foil-btn {
  padding: 10px 8px;
  border: 1px solid var(--line);
  background: #FFF;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 30px;
}

.foil-btn.active {
  border-color: var(--site-primary);
  background: var(--cream);
  color: var(--site-primary);
}

.custom-summary-card {
  background: var(--cream);
  padding: 16px;
  border: 1px solid var(--line);
  margin-top: 8px;
}

.custom-price-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--site-primary);
  margin-bottom: 12px;
}

/* =========================================================
   PRODUCT DETAIL (producto.php)
   ========================================================= */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  margin-bottom: 50px;
}

.product-gallery-container {
  display: flex;
  gap: 14px;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 80px;
}

.thumb-item {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.thumb-item.active, .thumb-item:hover {
  opacity: 1;
  border-color: var(--site-primary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main-view {
  flex: 1;
  aspect-ratio: 1 / 1.08;
  background: #EFE4D6;
  border: 1px solid rgba(220, 205, 189, 0.5);
  position: relative;
  overflow: hidden;
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-column h1 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.product-stars-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.stars-gold {
  color: #C17B58;
  font-size: 14px;
}

.product-price-large {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.product-price-large .current {
  font-size: 26px;
  font-weight: 700;
  color: var(--site-primary);
}

.product-price-large .compare {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
}

.stock-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 20px;
}

.stock-status-badge::before {
  content: '•';
  font-size: 18px;
  line-height: 0;
}

.product-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.quantity-and-add {
  display: flex;
  gap: 10px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #FFF;
  border-radius: 30px;
  overflow: hidden;
  padding: 0 4px;
}

.qty-btn {
  width: 36px;
  height: 46px;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
  background: transparent;
}

/* =========================================================
   STICKY FLOATING ACTION BAR
   ========================================================= */
.sticky-product-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(247, 242, 234, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px clamp(16px, 4vw, 54px);
  z-index: 45;
  box-shadow: 0 -4px 18px rgba(46, 29, 23, 0.08);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-product-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sticky-prod-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.sticky-prod-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.sticky-prod-titles {
  min-width: 0;
}

.sticky-prod-titles h4 {
  font-size: 13.5px;
  margin: 0 0 2px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-prod-titles .sticky-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--site-primary);
}

.sticky-prod-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-prod-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  white-space: nowrap;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  min-height: 42px;
}

/* =========================================================
   SHOPIFY CART DRAWER
   ========================================================= */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, 0.5);
  backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  background: var(--paper);
  z-index: 100;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.cart-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--ink);
}

.shipping-progress-bar {
  padding: 12px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink);
}

.meter-track {
  width: 100%;
  height: 5px;
  background: #DCCDBD;
  margin-top: 6px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--site-primary);
  transition: width 0.3s ease;
}

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-row {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(220, 205, 189, 0.4);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 13px;
  margin: 0 0 3px;
  font-weight: 700;
}

.cart-item-custom-tag {
  display: inline-block;
  background: #FFFDF9;
  border: 1px solid var(--line);
  color: var(--site-primary);
  font-size: 9.5px;
  padding: 2px 5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.cart-item-price {
  font-weight: 700;
  color: var(--site-primary);
  font-size: 13px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: #FFFDF9;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* =========================================================
   FLOATING FILTER PILL & FILTER DRAWER MODAL
   ========================================================= */
.floating-filter-pill {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9990 !important;
  background: #493025;
  color: #F4E8DC;
  border: 1px solid #D9BFA7;
  box-shadow: 0 8px 26px rgba(73, 48, 37, 0.45);
  border-radius: 40px;
  padding: 12px 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.2s, box-shadow 0.25s;
  white-space: nowrap;
  pointer-events: auto !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.floating-filter-pill:hover {
  background: var(--site-primary);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 28px rgba(166, 83, 50, 0.5);
}

.floating-filter-pill:active {
  transform: translateX(-50%) scale(0.97);
}

.filter-badge-count {
  background: var(--site-primary);
  color: #FFF;
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
}

.filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99995 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  height: 100dvh;
  width: min(88vw, 380px);
  max-width: 380px;
  background: #FFFDF9;
  z-index: 100000 !important;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.filter-drawer-backdrop.open .filter-drawer {
  transform: translateX(0) !important;
}

.filter-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}

.filter-drawer-header h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.filter-drawer-close {
  background: transparent;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s;
}

.filter-drawer-close:hover {
  background: #2E1D17;
  color: #FFF;
  border-color: #2E1D17;
}

.filter-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.filter-group-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  font-family: inherit;
}

.filter-option-item:hover,
.filter-option-item.active {
  background: #FFF;
  border-color: var(--site-primary);
  color: var(--site-primary);
}

.filter-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #FFFDF9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-container {
  max-width: 1160px;
  margin: 36px auto 72px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
}

.checkout-box {
  background: #FFFDF9;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #FFF;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  font-family: Arial, sans-serif;
}

.form-control:focus {
  border-color: var(--site-primary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.payment-method-card {
  border: 1px solid var(--line);
  padding: 12px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-method-card.active {
  border-color: var(--site-primary);
  background: var(--cream);
}

/* =========================================================
   SEGUIMIENTO
   ========================================================= */
.tracking-wrapper {
  max-width: 840px;
  margin: 36px auto 72px;
  padding: 0 20px;
}

.tracking-search-card {
  background: #FFFDF9;
  border: 1px solid var(--line);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.tracking-timeline {
  margin: 36px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tracking-step {
  text-align: center;
}

.step-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E8D9C7;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: 700;
  font-size: 12px;
}

.tracking-step.done .step-node {
  background: var(--site-primary);
  color: #FFF;
}

.tracking-step.current .step-node {
  background: var(--site-secondary);
  color: #FFF;
  box-shadow: 0 0 0 5px rgba(193, 123, 88, 0.2);
}

.tracking-step h4 {
  font-size: 12px;
  margin: 0 0 3px;
  font-weight: 700;
}

.tracking-step p {
  font-size: 10.5px;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.main-footer {
  background: #493025;
  color: #F4E8DC;
  padding: 60px clamp(20px, 5vw, 72px) 24px;
  border-top: 1px solid #D9BFA7;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 44px;
}

.footer-brand img {
  width: 86px;
  height: auto;
  mix-blend-mode: screen;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 18px;
  font-weight: 700;
  color: #F4E8DC;
}

.footer-column h3 {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D9BFA7;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-column a {
  display: block;
  color: #F4E8DC;
  opacity: 0.88;
  font-size: 11.5px;
  margin: 10px 0;
}

.footer-column a:hover {
  color: #D9BFA7;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(217, 191, 167, 0.25);
  padding-top: 20px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #D9BFA7;
  font-size: 10.5px;
}

/* =========================================================
   WHATSAPP & TOAST
   ========================================================= */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
}

body.sticky-bar-active .whatsapp-floating {
  bottom: 88px !important;
}

.whatsapp-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.whatsapp-tooltip {
  background: #2E1D17;
  color: #FFF;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  pointer-events: none !important;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-msg {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  background: #2E1D17;
  color: #FFF4E9;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   RESPONSIVE COMPLETO (DESKTOP, TABLET Y MÓVIL)
   ========================================================= */
@media (max-width: 1180px) {
  .header-container {
    gap: 14px;
    padding: 0 20px;
  }
  .nav-links {
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .tienda-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 1040px) {
  .header-container {
    min-height: 68px;
    padding: 0 16px;
  }
  .nav-center {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .collections-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .customizer-layout, .checkout-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .customizer-layout {
    padding: 18px;
  }
  .checkout-box {
    position: static !important;
  }
  .canvas-viewport-wrap {
    height: 400px;
    min-height: 360px !important;
  }
  #corp-3d-canvas {
    height: 400px !important;
  }
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .tienda-layout {
    grid-template-columns: 1fr;
  }
  .tienda-sidebar {
    display: none;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .story-split {
    grid-template-columns: 1fr;
  }
  .collection-split-row {
    grid-template-columns: 1fr !important;
  }
  .collection-split-media {
    order: -1;
    min-height: 240px !important;
  }
  .tracking-details-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .tracking-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 901px) {
  .floating-filter-pill,
  .js-filter-open {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: clamp(360px, 52vh, 440px);
  }
  .slide {
    padding: 32px 16px;
  }
  .slide-title {
    font-size: clamp(26px, 6.5vw, 38px);
    margin-bottom: 10px;
  }
  .slide-desc {
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.55;
  }
  .slide-actions {
    gap: 10px;
  }
  .slide-actions .btn {
    min-height: 40px;
    padding: 10px 20px;
    font-size: 10px;
  }
  .slider-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dots {
    bottom: 14px;
  }
  .page-entry-banner {
    padding: 40px 18px;
  }
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-gallery-container {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .gallery-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .gallery-thumbs .thumb-item {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }
  .canvas-viewport-wrap {
    height: 340px;
    min-height: 320px !important;
  }
  #corp-3d-canvas,
  #wallet-3d-canvas {
    height: 340px !important;
  }
  .canvas-views-bar {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 94%;
    gap: 6px;
  }
  .canvas-views-bar .view-btn {
    padding: 6px 10px;
    font-size: 9.5px;
  }
  .whatsapp-tooltip {
    display: none !important;
  }
  .whatsapp-floating {
    bottom: 20px !important;
    right: 14px !important;
    z-index: 500 !important;
  }
  .whatsapp-btn {
    width: 46px !important;
    height: 46px !important;
  }
  .whatsapp-btn svg {
    width: 24px !important;
    height: 24px !important;
  }
  body.sticky-bar-active .whatsapp-floating {
    bottom: 118px !important;
    right: 14px !important;
  }
  .sticky-product-bar {
    padding: 8px 12px;
  }
  .sticky-bar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .sticky-prod-info {
    gap: 10px;
  }
  .sticky-prod-thumb {
    width: 36px;
    height: 36px;
  }
  .sticky-prod-titles h4 {
    font-size: 12px;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sticky-prod-titles .sticky-price {
    font-size: 12px;
  }
  .sticky-prod-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .sticky-prod-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 6px;
    font-size: 10.5px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .sticky-prod-actions .btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .sticky-prod-actions .btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Product actions group on mobile */
  .quantity-and-add {
    display: flex;
    gap: 8px;
  }
  .qty-stepper {
    flex: 0 0 auto;
  }
  #btnAddToCartDetail {
    flex: 1;
    min-width: 0;
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 12px 10px;
    white-space: nowrap;
  }
  #btnBuyNowDetail {
    font-size: 11.5px;
    letter-spacing: 0.04em;
    padding: 14px 12px;
    white-space: nowrap;
  }

  /* Vista de productos de 2 hacia abajo en responsive (móvil) */
  .desktop-only-chips {
    display: none !important;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }
  .product-card {
    border-radius: 8px;
    overflow: hidden;
  }
  .product-image-wrap {
    aspect-ratio: 1 / 1.05;
  }
  .product-details {
    padding: 10px 8px;
  }
  .product-category-label {
    font-size: 8px;
    margin-bottom: 2px;
  }
  .product-title {
    font-size: 11.5px;
    line-height: 1.3;
    min-height: 30px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-rating {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .product-price-box {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .product-price-box .price-current {
    font-size: 12px;
  }
  .badge-tag, .discount-tag {
    font-size: 7.5px;
    padding: 2px 5px;
    top: 6px;
  }
  .badge-tag { left: 6px; }
  .discount-tag { right: 6px; }

  .product-card-action {
    margin-top: 8px;
    width: 100%;
  }

  .btn-card-add {
    width: 100%;
    min-height: 34px;
    padding: 6px 6px;
    font-size: 9.5px;
    letter-spacing: 0.02em;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .checkout-container {
    padding: 0 14px;
    margin: 24px auto 48px;
  }
  .checkout-box {
    padding: 18px 16px;
  }
  .customizer-layout {
    padding: 14px;
  }
  .corp-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .corp-products-grid .corp-item-card > div:last-child {
    padding: 10px 8px !important;
  }
  .corp-products-grid .corp-qty-row {
    flex-wrap: wrap;
    gap: 4px !important;
  }
  .corp-products-grid .js-corp-qty {
    width: 58px !important;
  }
  .b2b-showcase-grid {
    gap: 8px !important;
  }
  .collections-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 10px !important;
  }
  .collection-card {
    border-radius: 8px;
  }
  .collection-img-box {
    aspect-ratio: 1 / 1;
  }
  .collection-meta {
    padding: 8px 8px 4px;
  }
  .collection-meta h3 {
    font-size: 11.5px;
  }
  .collection-meta p {
    font-size: 9.5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .collection-action {
    padding: 0 8px 8px;
  }
  .collection-action .btn-card-add {
    min-height: 30px;
    font-size: 9px;
    padding: 4px 6px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-logo img {
    width: 62px;
    height: auto;
  }
  .nav-right {
    gap: 8px;
  }
  .icon-btn {
    padding: 4px;
  }
  .tracking-timeline {
    grid-template-columns: 1fr;
  }
  .product-value-props {
    grid-template-columns: 1fr !important;
  }
  .club-stats-grid {
    grid-template-columns: 1fr !important;
  }
  .canvas-viewport-wrap {
    height: 290px;
    min-height: 270px !important;
  }
  #corp-3d-canvas,
  #wallet-3d-canvas {
    height: 290px !important;
  }
  .wheel-modal-card {
    padding: 22px 16px 20px;
  }
  .wheel-wrapper,
  .wheel-wrapper canvas {
    width: 216px;
    height: 216px;
  }
}

@media (max-width: 375px) {
  .product-grid {
    gap: 8px 6px !important;
  }
  .product-details {
    padding: 8px 4px;
  }
  .product-title {
    font-size: 10.5px;
  }
  .product-price-box .price-current {
    font-size: 11px;
  }
  .sticky-prod-actions .btn {
    font-size: 9.5px;
    padding: 8px 2px;
  }
  #btnAddToCartDetail,
  #btnBuyNowDetail {
    font-size: 10.5px;
  }
}


/* =========================================================
   PUNTOS MONAT, BEST SELLER & RULETA DE PREMIOS
   ========================================================= */
.points-nav-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #493025;
  color: #F4E8DC;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid #D9BFA7;
}

.badge-tag.is-bestseller {
  background: #493025;
  color: #F4E8DC;
  border: 1px solid #D9BFA7;
  letter-spacing: 0.1em;
}

.product-stars-empty {
  color: #D9BFA7;
}

.wheel-modal-card {
  max-width: 440px;
  width: 92%;
  margin: 4vh auto;
  background: #F4E8DC;
  border: 1px solid #D9BFA7;
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 28px 70px rgba(73, 48, 37, 0.42);
  position: relative;
  text-align: center;
  max-height: 92vh;
  overflow-y: auto;
}

.wheel-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #493025;
  color: #F4E8DC;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.wheel-close-btn:hover {
  background: var(--site-primary);
}

.wheel-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 18px;
}

.wheel-wrapper canvas {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(73, 48, 37, 0.28);
  border: 6px solid #493025;
  display: block;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  color: #A65332;
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(73, 48, 37, 0.45);
  z-index: 4;
  pointer-events: none;
}

.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #F4E8DC;
  border: 3px solid #493025;
  color: #493025;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(73, 48, 37, 0.2);
  pointer-events: none;
}

.star-picker-row {
  display: inline-flex;
  gap: 6px;
  margin: 6px 0 12px;
}

.star-pick-btn {
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 16px;
  cursor: pointer;
  color: #D9BFA7;
  transition: all 0.15s ease;
}

.star-pick-btn.active {
  color: #A65332;
  border-color: var(--site-primary);
  background: #F4E8DC;
}

.review-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.review-filter-pill {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  font-family: Arial, sans-serif;
}

.review-filter-pill.active,
.review-filter-pill:hover {
  background: #493025;
  color: #F4E8DC;
  border-color: #493025;
}


/* =========================================================
   TIENDA LEFT SIDEBAR FILTERS (ESCRITORIO)
   ========================================================= */
.tienda-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.tienda-sidebar {
  position: sticky;
  top: 98px;
  background: #FFFDF9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-filter-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(217, 191, 167, 0.55);
}

.sidebar-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-filter-title {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.sidebar-filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: all 0.15s ease;
}

.sidebar-filter-link:hover {
  background: var(--cream);
  color: var(--site-primary);
}

.sidebar-filter-link.active {
  background: var(--site-primary);
  color: #FFFFFF;
}

.sidebar-filter-link .count-pill {
  font-size: 10.5px;
  opacity: 0.8;
}

@media (max-width: 1180px) {
  .tienda-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .tienda-layout {
    grid-template-columns: 1fr;
  }
  .tienda-sidebar {
    display: none;
  }
}
