/* ==============================================
   CASA NEGRA PERFUMERÍA — styles.css
   Versión: 1.0 — Fase 1
   Fonts: Playfair Display (serif) / Montserrat (sans)
   Palette: #000 negro · #fff blanco · #C9A84C dorado
   ============================================== */

/* -----------------------------------------------
   VARIABLES
----------------------------------------------- */
:root {
  --black:       #000000;
  --white:       #ffffff;
  --gold:        #C9A84C;
  --gold-dark:   #a8852e;
  --card-bg:     #0a0a0a;
  --subtle-bg:   #0d0d0d;
  --border-dim:  rgba(201, 168, 76, 0.18);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  --navbar-h: 86px;

  --ease:        0.25s ease;
  --ease-slow:   0.45s ease;
  --ease-spring: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* -----------------------------------------------
   TYPOGRAPHY HELPERS
----------------------------------------------- */
.serif { font-family: var(--font-serif); }

/* -----------------------------------------------
   LAYOUT — Container
----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 780px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}

/* Outline (hero CTA) */
.btn--outline {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Gold fill */
.btn--gold {
  background-color: var(--gold);
  border: 1px solid var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background-color: var(--black);
  color: var(--gold);
}

/* Product card button */
.btn--card {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  background: transparent;
  padding: 11px 20px;
  font-size: 0.68rem;
  position: relative;
  z-index: 4;
  min-height: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn--card:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.btn--card:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.3);
}

/* WhatsApp button */
.btn--whatsapp {
  width: 100%;
  background-color: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  padding: 15px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.btn--whatsapp:hover:not(:disabled) {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
}
.btn--whatsapp:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}


/* ===============================================
   NAVBAR
   =============================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background-color: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid var(--border-dim);
  transition: border-color var(--ease), box-shadow var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
  border-bottom-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.navbar__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 768px) {
  .navbar__container { padding: 0 32px; }
}

/* Logo */
.navbar__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.navbar__logo-icon {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.navbar__logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
  gap: 3px;
}
.navbar__logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
}
.navbar__logo-sub {
  display: block;
  width: 100%;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.38em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Desktop nav — hidden on mobile */
.navbar__nav { display: none; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 44px;
}

.navbar__link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  position: relative;
  padding: 3px 0;
  transition: color var(--ease);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--ease-slow);
}
.navbar__link:hover {
  color: var(--gold);
}
.navbar__link:hover::after {
  width: 100%;
}

/* Actions group */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .navbar {
    border-bottom-color: rgba(255, 255, 255, 0.055);
  }

  .navbar.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
  }

  .navbar__container {
    padding: 0 14px;
    gap: 12px;
  }

  .navbar__brand {
    min-width: 0;
    gap: 8px;
  }

  .navbar__logo-icon {
    height: 76px;
  }

  .navbar__logo-name {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
  }

  .navbar__logo-sub {
    font-size: 0.5rem;
    letter-spacing: 0.24em;
  }

  .navbar__actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .navbar__search,
  .navbar__cart {
    padding: 8px;
  }

  .navbar__search svg,
  .navbar__cart svg {
    width: 19px;
    height: 19px;
  }
}

/* Cart icon */
.navbar__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}
.navbar__cart:hover {
  color: var(--gold);
  border-color: rgba(201,168,76,0.5);
  background-color: rgba(201,168,76,0.08);
}

/* Search icon */
.navbar__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}
.navbar__search:hover {
  color: var(--gold);
  border-color: rgba(201,168,76,0.5);
  background-color: rgba(201,168,76,0.08);
}

.navbar__cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  background-color: var(--gold);
  color: var(--black);
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.15s ease;
  /* Hidden when 0 */
}
.navbar__cart-count.hidden { display: none; }
.navbar__cart-count.bump  { transform: scale(1.4); }

/* Hamburger — mobile only */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 34px;
  padding: 9px 8px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
}
.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: rgba(255,255,255,0.85);
  transform-origin: center;
  transition: transform var(--ease), opacity var(--ease);
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(6.25px)  rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

/* Mobile menu drawer */
.navbar__mobile-menu {
  background-color: var(--black);
  border-top: 1px solid var(--border-dim);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow), padding var(--ease-slow);
}
.navbar__mobile-menu.open {
  max-height: 280px;
  padding: 12px 0 20px;
}
.navbar__mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 24px;
}
.navbar__mobile-menu li a {
  display: block;
  padding: 10px 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--ease);
}
.navbar__mobile-menu li a:hover { color: var(--gold); }

/* Show desktop nav at md+ */
@media (min-width: 768px) {
  .navbar__nav        { display: flex; }
  .navbar__hamburger  { display: none; }
  .navbar__mobile-menu { display: none !important; }
}


/* ===============================================
   HERO — CAROUSEL
   =============================================== */

.hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  margin-top: var(--navbar-h);
}

/* ── Track & slide layout ── */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* ── Slide variant backgrounds set via inline style in HTML ── */
/* Fallback: black base already on .carousel__slide */

/* Dark overlay sobre la imagen real del slide */
.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.28) 100%
  );
  z-index: 1;
}

/* ── Slide content ── */
.carousel__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 680px;
}
/* Animation class toggled by JS on slide enter */
.carousel__content.is-entering {
  animation: slideContentIn 0.7s var(--ease-spring) both;
}
@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.carousel__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.carousel__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.carousel__subtitle {
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  margin-bottom: 38px;
}

/* ── Navigation arrows ── */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  display: none; /* ocultas en móvil */
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.28);
  transition: color var(--ease), border-color var(--ease), background var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.carousel__arrow:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.carousel__arrow--prev { left: 16px; }
.carousel__arrow--next { right: 16px; }

@media (min-width: 768px) {
  .carousel__arrow        { display: flex; } /* visibles desde tablet */
  .carousel__arrow--prev  { left: 36px; }
  .carousel__arrow--next  { right: 36px; }
}

/* ── Dots ── */
.carousel__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--ease-slow), width var(--ease-slow);
}
.carousel__dot--active {
  background-color: var(--gold);
  width: 26px;
}


/* ===============================================
   SECTION SHARED STYLES
   =============================================== */

.section {
  padding: 96px 0;
  background-color: var(--black);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}
.section__divider {
  width: 56px;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto;
}


/* ===============================================
   PRODUCTS GRID
   =============================================== */

.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 4px 0 10px;
}

.catalog-filters__toggle {
  display: none;
}

.catalog-filters__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-count {
  margin: -4px 0 28px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.catalog-filters__chip {
  flex: 0 0 auto;
  border: 1px solid rgba(201,168,76,0.24);
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.02);
  border-radius: 999px;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  transition: border-color var(--ease), color var(--ease), background var(--ease), transform var(--ease);
}

.catalog-filters__chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.catalog-filters__chip.is-active {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  font-weight: 700;
}

@media (min-width: 768px) {
  .catalog-filters {
    justify-content: center;
  }

  .catalog-filters__chip {
    min-height: 0;
    padding: 10px 14px;
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .productos-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 270px));
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .catalog-filters {
    display: block;
    width: min(320px, 88vw);
    margin: 0 auto 24px;
    padding: 0;
  }

  .catalog-filters__toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,168,76,0.32);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.03);
    border-radius: 999px;
    min-height: 42px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.64rem;
    font-weight: 600;
    padding: 10px 14px;
  }

  .catalog-filters__list {
    display: none;
    margin-top: 10px;
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 14px;
    padding: 10px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-filters.is-open .catalog-filters__list {
    display: grid;
  }

  .productos-grid {
    gap: 14px;
  }

  .catalog-filters__chip {
    width: 100%;
    justify-content: center;
  }

  .catalog-count {
    margin: 2px 0 22px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .product-card__body {
    padding: 14px;
    gap: 4px;
  }

  .product-card__brand {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .product-card__name {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .product-card__volume {
    font-size: 0.65rem;
  }

  .product-card__description {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .product-card__price {
    font-size: 1.05rem;
    margin-top: 6px;
  }

  .product-card__footer {
    padding: 0 14px 14px;
  }
}

@media (min-width: 1280px) {
  .productos-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 272px));
  }
}

/* ── Product card ── */
.product-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.product-card:hover {
  border-color: rgba(201,168,76,0.45);
  box-shadow: 0 0 28px rgba(201,168,76,0.07);
  transform: translateY(-2px);
}

/* Badge */
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background-color: var(--gold);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}

/* Image wrapper */
.product-card__img-wrap {
  background-color: #050505;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-spring);
}
.product-card:hover .product-card__img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #111009 50%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.15);
  font-size: 3rem;
}

/* Card body */
.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  pointer-events: none;
}
.product-card__brand {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}
.product-card__volume {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.product-card__description {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-top: 4px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 8px;
}
.product-card__footer {
  padding: 0 20px 20px;
  margin-top: auto;
  position: relative;
  z-index: 3;
}


/* ===============================================
   NOSOTROS
   =============================================== */

.nosotros {
  background-color: var(--black);
}

/* Logo grande en sección nosotros */
.nosotros__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.nosotros__logo {
  width: min(480px, 90%);
  height: auto;
  object-fit: contain;
  /* Recorta el fondo blanco del JPEG mezclándolo con el fondo oscuro */
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.08);
}

.nosotros__text {
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 2;
  letter-spacing: 0.025em;
}


/* ===============================================
   POR QUE ELEGIR
   =============================================== */

.why {
  position: relative;
  background:
    radial-gradient(circle at 50% -18%, rgba(201,168,76,0.12) 0%, transparent 52%),
    linear-gradient(180deg, rgba(255,255,255,0.008), transparent 18%),
    var(--black);
}

.why__lead {
  text-align: center;
  max-width: 76ch;
  margin: 0 auto 34px;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.why-card {
  border: 1px solid rgba(201,168,76,0.2);
  background:
    linear-gradient(165deg, rgba(201,168,76,0.1), rgba(255,255,255,0.01) 42%),
    rgba(8,8,8,0.95);
  padding: 20px;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.52);
  box-shadow: 0 14px 36px rgba(0,0,0,0.44);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border: 1px solid rgba(201,168,76,0.34);
  background: rgba(201,168,76,0.12);
  font-size: 1rem;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.28;
}

.why-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.72;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .why__lead {
    font-size: 0.84rem;
    line-height: 1.75;
    margin-bottom: 20px;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-card {
    padding: 15px;
  }

  .why-card h3 {
    font-size: 0.96rem;
  }

  .why-card p {
    font-size: 0.75rem;
    line-height: 1.65;
  }
}


/* ===============================================
   FAQ COMPACTA (ACORDEON DISCRETO)
   =============================================== */

.faq-compact {
  padding: 0 0 44px;
}

.faq-compact__head {
  margin: 0 0 16px;
  text-align: center;
}

.faq-compact__head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.82);
}

.faq-compact__list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(201,168,76,0.22);
  background: linear-gradient(140deg, rgba(201,168,76,0.06), rgba(255,255,255,0.01));
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.66);
}

@media (max-width: 767px) {
  .faq-compact {
    padding: 4px 0 36px;
  }

  .faq-item summary {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    padding: 13px 14px;
    padding-right: 34px;
  }

  .faq-item summary::after {
    right: 12px;
  }

  .faq-item p {
    padding: 0 14px 12px;
    font-size: 0.82rem;
    line-height: 1.62;
  }
}


/* ===============================================
   FOOTER
   =============================================== */

.footer {
  background:
    radial-gradient(circle at 50% -30%, rgba(201,168,76,0.1) 0%, rgba(201,168,76,0.02) 35%, transparent 65%),
    var(--black);
  padding-bottom: 36px;
}

.footer__gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--gold) 30%, var(--gold) 70%, transparent 100%);
  margin-bottom: 64px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 52px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
    text-align: left;
    align-items: start;
    gap: 26px;
  }
}

/* Brand */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(201,168,76,0.2);
  background: linear-gradient(150deg, rgba(201,168,76,0.08), rgba(255,255,255,0.01));
}
@media (min-width: 768px) {
  .footer__brand {
    align-items: center;
    justify-self: center;
  }
}
.footer__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer__symbol {
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-align: center;
}

.footer__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.9);
  text-align: center;
  line-height: 1.9;
  max-width: 34ch;
}

/* Nav */
.footer__nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .footer__nav ul { align-items: flex-start; }
}
.footer__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--gold); }

/* Social */
.footer__social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .footer__social {
    justify-content: flex-start;
    align-items: flex-end;
  }
}
.footer__social-link {
  width: auto;
  min-height: 38px;
  justify-content: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(201,168,76,0.22);
  background: rgba(255,255,255,0.01);
  color: rgba(255,255,255,0.65);
  transition: color var(--ease), border-color var(--ease), transform var(--ease);
}

.footer__social-link span {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.footer__social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Bottom bar */
.footer__bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__bottom p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
}


/* ===============================================
   CART SIDEBAR
   =============================================== */

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease-slow), visibility var(--ease-slow);
}
.cart-overlay.open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-sidebar {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background-color: #040404;
  border-left: 1px solid var(--gold);
  z-index: 1100;
  flex-direction: column;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform var(--ease-spring);
  box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}
.cart-sidebar.open {
  display: flex;
  transform: translateX(0);
  pointer-events: auto;
}

/* Header */
.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  flex-shrink: 0;
}
.cart-sidebar__header h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.cart-sidebar__close {
  color: rgba(255,255,255,0.6);
  padding: 4px;
  transition: color var(--ease);
  display: flex;
  align-items: center;
}
.cart-sidebar__close:hover { color: var(--gold); }

/* Items list */
.cart-sidebar__items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.cart-sidebar__items::-webkit-scrollbar      { width: 4px; }
.cart-sidebar__items::-webkit-scrollbar-track { background: transparent; }
.cart-sidebar__items::-webkit-scrollbar-thumb { background-color: rgba(201,168,76,0.3); border-radius: 2px; }

.cart-sidebar__empty {
  text-align: center;
  color: rgba(255,255,255,0.28);
  font-size: 0.85rem;
  padding: 48px 24px;
  letter-spacing: 0.04em;
}

/* Cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background-color var(--ease);
}
.cart-item:hover { background-color: rgba(255,255,255,0.02); }

.cart-item__name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 3px;
}
.cart-item__volume {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* Qty controls */
.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-item__qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: border-color var(--ease), color var(--ease);
}
.cart-item__qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cart-item__qty {
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  color: var(--white);
}

/* Price + remove */
.cart-item__price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.cart-item__price {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  white-space: nowrap;
}
.cart-item__remove {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease);
}
.cart-item__remove:hover { color: #ff6b6b; }

/* Footer */
.cart-sidebar__footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(201,168,76,0.2);
  flex-shrink: 0;
  background-color: #040404;
}
.cart-sidebar__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.cart-sidebar__total-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cart-sidebar__total-amount {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--gold);
  font-weight: 700;
}


/* ===============================================
   SEARCH SIDEBAR
   =============================================== */

.search-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(380px, 100vw);
  height: 100dvh;
  background-color: #040404;
  border-right: 1px solid var(--gold);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform var(--ease-spring);
  box-shadow: 8px 0 40px rgba(0,0,0,0.6);
}
.search-sidebar.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Header con input */
.search-sidebar__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  flex-shrink: 0;
}

.search-sidebar__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 14px;
  transition: border-color var(--ease);
}
.search-sidebar__input-wrap:focus-within {
  border-color: rgba(201,168,76,0.5);
}

.search-sidebar__icon {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.search-sidebar__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.search-sidebar__input::placeholder {
  color: rgba(255,255,255,0.25);
}

.search-sidebar__clear {
  color: rgba(255,255,255,0.25);
  display: none;
  align-items: center;
  transition: color var(--ease);
  padding: 0;
  flex-shrink: 0;
}
.search-sidebar__clear.visible { display: flex; }
.search-sidebar__clear:hover   { color: rgba(255,255,255,0.7); }

.search-sidebar__close {
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color var(--ease);
  flex-shrink: 0;
}
.search-sidebar__close:hover { color: var(--gold); }

/* Results area */
.search-sidebar__results {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.3) transparent;
}
.search-sidebar__results::-webkit-scrollbar      { width: 4px; }
.search-sidebar__results::-webkit-scrollbar-track { background: transparent; }
.search-sidebar__results::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 2px; }

.search-sidebar__hint,
.search-sidebar__empty {
  padding: 48px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* Result item */
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background-color var(--ease);
}
.search-result:hover { background-color: rgba(255,255,255,0.03); }

.search-result__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a0a0a;
}
.search-result__img-placeholder {
  width: 52px;
  height: 52px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.15);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.search-result__info {
  flex: 1;
  min-width: 0;
}
.search-result__brand {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 2px;
}
.search-result__name {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result__volume {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1px;
}

.search-result__price {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.search-result__unavailable {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 3px;
}

/* Highlight match */
.search-highlight {
  color: var(--gold);
  font-weight: 600;
}


/* ===============================================
   TOAST NOTIFICATION
   =============================================== */

.toast {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background-color: #0d0d0d;
  border: 1px solid rgba(201,168,76,0.4);
  border-left: 3px solid var(--gold);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 14px 20px;
  z-index: 1300;
  transform: translateX(calc(100% + 32px));
  transition: transform var(--ease-spring);
  max-width: 280px;
}
.toast.show {
  transform: translateX(0);
}


/* ===============================================
   ANIMATIONS — KEYFRAMES
   =============================================== */

/* Fade up — base reveal */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade in from left */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Fade in from right */
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scale up subtle */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Gold line draw */
@keyframes drawLine {
  from { width: 0; }
  to   { width: 56px; }
}

/* Gold line draw — full width footer */
@keyframes drawLineFull {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* Shimmer sweep on hero */
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Pulse glow on gold elements */
@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 0px rgba(201,168,76,0); }
  50%       { text-shadow: 0 0 18px rgba(201,168,76,0.45); }
}

/* Blink cursor for eyebrow text */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Navbar slide down on load */
@keyframes navbarIn {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===============================================
   UTILITIES
   =============================================== */

/* ── Scroll reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.reveal--left {
  transform: translateX(-36px);
}
.reveal--left.visible {
  transform: translateX(0);
}
.reveal--right {
  transform: translateX(36px);
}
.reveal--right.visible {
  transform: translateX(0);
}
.reveal--scale {
  transform: scale(0.94);
}
.reveal--scale.visible {
  transform: scale(1);
}

/* Stagger delays for grids */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

/* ── Section divider animated ── */
.section__divider {
  width: 0;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.section__divider.visible {
  width: 56px;
}

/* ── Gold eyebrow shimmer ── */
.section__eyebrow,
.carousel__eyebrow {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #f0d080 40%,
    var(--gold) 60%,
    #c08820 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSweep 4s linear infinite;
}

/* ── Page load — navbar ── */
.navbar {
  animation: navbarIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Hero content entrance on page load ── */
.hero .carousel__content.is-entering {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .carousel__eyebrow  { animation-delay: 0s; }
.hero .carousel__title    {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.hero .carousel__subtitle {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}
.hero .carousel__content .btn {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

/* ── Hero ambient shimmer overlay ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(201,168,76,0.03) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmerSweep 8s ease-in-out infinite;
}

/* ── Gold price pulse ── */
.product-card__price {
  animation: goldGlow 4s ease-in-out infinite;
}

/* ── Product card hover lift (enhanced) ── */
.product-card {
  transition: border-color 0.35s ease,
              box-shadow   0.35s ease,
              transform    0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5),
              0 0 0 1px rgba(201,168,76,0.3);
}

/* ── Footer gold line animated ── */
.footer__gold-line {
  transform-origin: center;
  animation: drawLineFull 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  /* triggered when .visible added by JS */
  animation-play-state: paused;
}
.footer__gold-line.visible {
  animation-play-state: running;
}

/* ── Nosotros logo fade in ── */
.nosotros__logo {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.nosotros__logo-wrap.reveal {
  transform: none; /* override—use scale instead */
}
.nosotros__logo-wrap.reveal .nosotros__logo {
  opacity: 0;
  transform: scale(0.88);
}
.nosotros__logo-wrap.visible .nosotros__logo {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.1s;
}

html.is-product-modal-open,
body.is-product-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}


/* ===============================================
   PRODUCT MODAL — VISTA DETALLE
   =============================================== */

.product-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease-slow), visibility var(--ease-slow);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-modal-overlay.open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1400;
  padding: 16px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ease-slow);
}
.product-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.product-modal__content {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  width: min(95vw, 900px);
  max-height: 95vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: block;
  padding: 32px;
  pointer-events: auto;
  box-shadow: 0 24px 120px rgba(0,0,0,0.8);
}

.product-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 28px;
  align-items: start;
}

@media (max-width: 768px) {
  .product-modal__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.product-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  padding: 8px;
  color: rgba(255,255,255,0.7);
  transition: color var(--ease);
  cursor: pointer;
}
.product-modal__close:hover {
  color: var(--gold);
}

/* Image section */
.product-modal__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background-color: #050505;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 2px;
  overflow: hidden;
}
.product-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.product-modal__thumb {
  border: 1px solid rgba(255,255,255,0.12);
  background: #090909;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color var(--ease), transform var(--ease);
}

.product-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__thumb:hover,
.product-modal__thumb.is-active {
  border-color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .product-modal__image-wrap {
    aspect-ratio: 3 / 4;
  }
}

/* Details section */
.product-modal__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-modal__brand {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.product-modal__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.product-modal__description {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 58ch;
}

/* Presentaciones section */
.product-modal__section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.product-modal__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.product-modal__presentations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.presentation-btn {
  flex: 1;
  min-width: 85px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(201,168,76,0.3);
  background-color: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: border-color var(--ease), background-color var(--ease), color var(--ease);
  text-align: center;
}
.presentation-btn:hover {
  border-color: var(--gold);
  background-color: rgba(201,168,76,0.08);
  color: var(--white);
}
.presentation-btn.active {
  border-color: var(--gold);
  background-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.presentation-btn--decant {
  border-style: dashed;
}

#basePresentationContainer .presentation-btn {
  width: 100%;
  flex: 1 1 100%;
}

#decantsContainer .presentation-btn {
  flex: 1 1 calc(50% - 10px);
}

.product-modal__empty {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Price section */
.product-modal__price-section {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.product-modal__price-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.product-modal__price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

/* Add to cart button */
.product-modal__btn-add {
  width: 100%;
  margin-top: 12px;
  padding: 16px 24px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-modal__wa-float {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #25d366;
  background: #25d366;
  color: #ffffff;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(0,0,0,0.42);
  transition: transform var(--ease), box-shadow var(--ease);
}

.product-modal__wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .product-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .product-modal__wa-float {
    left: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .product-modal__content {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: calc(52px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }

  .product-modal__body {
    gap: 14px;
  }

  .product-modal__close {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    right: 10px;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,168,76,0.28);
    border-radius: 999px;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .product-modal__image-wrap {
    aspect-ratio: 4 / 5;
    max-height: min(56dvh, 520px);
  }

  .product-modal__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .product-modal__title {
    font-size: 1.48rem;
  }

  .product-modal__description {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .product-modal__presentations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  #basePresentationContainer {
    grid-template-columns: 1fr;
  }

  #basePresentationContainer .presentation-btn,
  #decantsContainer .presentation-btn {
    width: 100%;
    min-width: 0;
    min-height: 46px;
  }
}
