/* ================================================
   PERFUM LAB — Store Pages Shared Stylesheet
   Usado por: index.html, catalog.html, product.html, checkout.html
   ================================================ */

/* ── Variables & Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --gold:    #c9a03e;
  --gold-lt: #ddb85c;
  --gold-dk: #9b7a2a;
  --white:   #ffffff;
  --panel:   #050505;
  --muted:   rgba(255,255,255,.72);
  --muted-2: rgba(255,255,255,.45);
  --outer:   #1b1b1b;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

body   { font-family: var(--sans); background: var(--outer); color: var(--white); min-height: 100vh; min-height: 100svh; overflow-x: hidden; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; background: none; }

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: sticky; top: 0; z-index: 300;
  width: 100%;
  background: var(--panel);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: row; align-items: center;
  padding: 0 2.5rem;
  transition: background .35s, backdrop-filter .35s, box-shadow .35s, border-color .35s;
}

.navbar.scrolled {
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.45);
  border-bottom-color: rgba(201,160,62,.15);
}

.navbar-top {
  display: contents;
}

.nav-left {
  display: flex; align-items: center;
  order: 1;
}

.navbar-bottom {
  display: flex; justify-content: center; align-items: center;
  flex: 1;
  padding: .9rem 2rem;
  border-top: none;
  order: 3;
}

.nav-brand {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
  order: 2;
  flex: 0 0 auto;
}

.nav-brand-icon {
  width: 34px; height: 34px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
  background-image: url('../assets/images/logo-perfum.jpg');
  background-size: cover;
  background-position: center;
}

.nav-brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex; gap: 2.8rem;
}

.nav-link {
  font-size: .72rem; font-weight: 400; color: rgba(255,255,255,.65);
  letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s; position: relative; padding-bottom: 4px;
}

.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width .25s;
}

.nav-link:hover, .nav-link.active           { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-icons { display: flex; align-items: center; gap: 1.2rem; order: 4; flex: 0 0 auto; }
.nav-icon  { color: rgba(255,255,255,.75); font-size: .95rem; transition: color .2s; padding: 4px; }
.nav-icon:hover { color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 20px; height: 1.5px; background: #fff; border-radius: 2px; display: block; transition: all .25s; }

/* Botón búsqueda solo en móvil (oculto en desktop) */
.nav-search-mobile { display: none; }

/* Botón cerrar drawer: solo visible en móvil */
.drawer-close { display: none; }

/* ================================================
   CART & WISH BADGES
   ================================================ */
.cart-btn-wrap, .wish-btn-wrap { position: relative; }
.cart-badge, .wish-badge {
  position: absolute; top: -4px; right: -6px;
  min-width: 17px; height: 17px; padding: 0 3px;
  background: var(--gold); color: #000;
  font-size: .65rem; font-weight: 700; border-radius: 99px;
  display: none; align-items: center; justify-content: center;
  pointer-events: none; line-height: 1;
}

/* ================================================
   PRODUCT BADGES (catalog + product)
   ================================================ */
.badge-top    { background: rgba(201,160,62,.14); color: var(--gold-lt);  border-color: rgba(201,160,62,.28); }
.badge-new    { background: rgba(255,255,255,.08); color: #e8e8e8;        border-color: rgba(255,255,255,.2); }
.badge-excl   { background: rgba(147,112,219,.12); color: #c8a8ff;        border-color: rgba(147,112,219,.28); }
.badge-luxury { background: rgba(201,160,62,.08);  color: var(--gold-lt); border-color: rgba(201,160,62,.22); }

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(5,5,5,.85); border: 1px solid rgba(201,160,62,.3);
  color: var(--gold); font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .25s, border-color .25s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover   { background: rgba(201,160,62,.12); border-color: rgba(201,160,62,.55); }
.scroll-top i       { transition: transform .25s; }
.scroll-top:hover i { transform: translateY(-2px); }

/* ================================================
   SEARCH OVERLAY
   ================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(3,3,3,.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; align-items: center; padding-top: 130px;
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}

.search-overlay.open { opacity: 1; pointer-events: auto; }

.search-overlay-close {
  position: absolute; top: 1.4rem; right: 2rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}

.search-overlay-close:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }

.search-overlay-hint { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }

.search-overlay-form { width: 100%; max-width: 680px; padding: 0 2rem; display: flex; align-items: center; gap: .65rem; }

.search-overlay-input {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 1.05rem 1.4rem; font-size: 1.08rem;
  font-family: var(--sans); color: #fff; outline: none;
  transition: border-color .22s, background .22s;
}

.search-overlay-input::placeholder { color: rgba(255,255,255,.28); }
.search-overlay-input:focus { border-color: rgba(201,160,62,.45); background: rgba(255,255,255,.07); }

.search-overlay-submit {
  width: 52px; height: 52px; border-radius: 12px; background: var(--gold);
  color: #000; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity .22s, transform .22s; cursor: pointer; border: none;
}

.search-overlay-submit:hover { opacity: .88; transform: scale(1.05); }

.search-suggestions {
  margin-top: 1.5rem; display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; justify-content: center; max-width: 680px; padding: 0 2rem;
}

.search-sugg-label { font-size: .7rem; color: rgba(255,255,255,.3); letter-spacing: .08em; }

.search-sugg-chip {
  padding: .28rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); font-size: .74rem; cursor: pointer; background: transparent;
  font-family: var(--sans); transition: border-color .2s, color .2s, background .2s;
}

.search-sugg-chip:hover { border-color: rgba(201,160,62,.38); color: var(--gold-lt); background: rgba(201,160,62,.07); }

/* ================================================
   CART DRAWER
   ================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
  touch-action: none;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 999;
  width: min(420px, 100vw); background: #0d0d0d;
  border-left: 1px solid rgba(201,160,62,.15);
  overscroll-behavior: none;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cart-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: #fff; }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: 1.1rem; transition: background .2s, color .2s;
}
.cart-close:hover { background: rgba(255,255,255,.08); color: #fff; }

.cart-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1rem 1.5rem; }
.cart-body::-webkit-scrollbar       { width: 4px; }
.cart-body::-webkit-scrollbar-thumb { background: rgba(201,160,62,.3); border-radius: 2px; }

.cart-empty {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1rem; color: rgba(255,255,255,.4);
}
.cart-empty p { font-size: .9rem; margin-bottom: 1.25rem; }
.cart-shop-link {
  font-size: .82rem; color: var(--gold);
  border: 1px solid rgba(201,160,62,.35); padding: .55rem 1.2rem; border-radius: 2px;
  transition: background .2s;
}
.cart-shop-link:hover { background: rgba(201,160,62,.1); }

.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 72px; height: 72px; flex-shrink: 0;
  background: #1a1a1a; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cart-item-img img  { width: 100%; height: 100%; object-fit: contain; padding: .35rem; }
.cart-item-info     { flex: 1; min-width: 0; }
.cart-item-name     { font-size: .88rem; font-weight: 500; color: #fff; margin-bottom: .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-brand    { font-size: .75rem; color: rgba(255,255,255,.45); margin-bottom: .4rem; }
.cart-item-price    { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.cart-item-controls { display: flex; align-items: center; gap: .4rem; }

.qty-btn {
  width: 40px; height: 40px; border-radius: 3px;
  background: rgba(255,255,255,.07); color: #fff; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.qty-btn:hover { background: rgba(201,160,62,.2); color: var(--gold); }
.qty-val       { font-size: .85rem; color: #fff; min-width: 22px; text-align: center; }

.remove-btn {
  margin-left: auto; width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-size: .8rem; border-radius: 3px;
  transition: background .2s, color .2s;
}
.remove-btn:hover { background: rgba(231,76,60,.15); color: #e74c3c; }

.cart-footer        { padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.07); flex-shrink: 0; }
.cart-summary       { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.cart-total-amount  { font-size: 1.1rem; color: #fff; font-weight: 600; }

.cart-checkout-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: .85rem; background: var(--gold); color: #000;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px; margin-bottom: .6rem; transition: background .2s, transform .15s;
  text-decoration: none;
}
.cart-checkout-btn:hover { background: var(--gold-lt); transform: translateY(-1px); }

.cart-continue-btn {
  width: 100%; padding: .7rem; background: transparent;
  color: rgba(255,255,255,.5); font-size: .8rem;
  border: 1px solid rgba(255,255,255,.1); border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.cart-continue-btn:hover { border-color: rgba(255,255,255,.25); color: #fff; }

/* ================================================
   FOOTER (site-footer)
   ================================================ */
.site-footer { background: #030303; border-top: 1px solid rgba(255,255,255,.06); padding: 4rem 2.5rem 0; }

.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
}

.footer-brand-row  { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }

.footer-brand-icon {
  width: 32px; height: 32px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: .58rem; font-weight: 700; flex-shrink: 0;
}

.footer-brand-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.footer-about      { color: var(--muted-2); font-size: .82rem; line-height: 1.72; max-width: 230px; margin-bottom: 1.4rem; }
.footer-social     { display: flex; gap: .9rem; }

.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); font-size: .85rem;
  transition: color .22s, border-color .22s, background .22s;
}
.footer-social a:hover { color: var(--gold); border-color: rgba(201,160,62,.35); background: rgba(201,160,62,.07); }

.footer-col-title  { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.1rem; }

.footer-col ul     { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a   { color: var(--muted-2); font-size: .83rem; transition: color .2s, padding-left .2s; display: inline-block; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }

.footer-contact-item   { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted-2); font-size: .83rem; line-height: 1.5; margin-bottom: .75rem; }
.footer-contact-item i { color: var(--gold); font-size: .8rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .8rem;
}

.footer-copy    { color: var(--muted-2); font-size: .75rem; }
.footer-tagline { color: var(--muted-2); font-size: .75rem; font-family: var(--serif); font-style: italic; }

/* Footer minimalista para index.html */
.footer-minimal {
  background: #000;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: clamp(4.5rem, 8vw, 6.8rem) 2.5rem 0;
}

.footer-minimal-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-logo-text {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.footer-minimal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.8rem);
  padding: clamp(3.4rem, 6vw, 5rem) 0 3.6rem;
}

.footer-minimal-title {
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.94);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-minimal-col ul {
  display: flex;
  flex-direction: column;
  gap: .82rem;
}

.footer-minimal-col li,
.footer-minimal-col a {
  color: rgba(255,255,255,.58);
  font-size: .86rem;
  font-weight: 300;
  line-height: 1.55;
}

.footer-minimal-col a {
  display: inline-block;
  transition: color .22s ease, transform .22s ease;
}

.footer-minimal-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-minimal-bottom {
  padding: 1.45rem 0 1.9rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.42);
  font-size: .72rem;
  font-weight: 300;
  letter-spacing: .04em;
  transition-delay: .4s;
}
.footer-minimal-grid .footer-minimal-col:nth-child(2) { transition-delay: .1s; }
.footer-minimal-grid .footer-minimal-col:nth-child(3) { transition-delay: .2s; }
.footer-minimal-grid .footer-minimal-col:nth-child(4) { transition-delay: .3s; }

/* ================================================
   RESPONSIVE COMPARTIDO
   ================================================ */
@media (max-width: 768px) {
  /* En móvil volver a columna para el menú desplegable */
  .navbar {
    flex-direction: column;
    padding: 0;
    align-items: stretch;
  }
  .navbar-top {
    display: flex; justify-content: space-between; align-items: center;
    padding: .7rem 1.1rem;
    order: unset;
  }
  .nav-brand { order: unset; flex: unset; }
  .nav-icons  { order: unset; flex: unset; gap: .9rem; }
  .nav-left   { order: unset; }

  /* Ocultar logo circular en móvil — solo texto */
  .nav-brand-icon { display: none; }

  /* Nombre en una sola línea */
  .nav-brand-name {
    font-size: 1.05rem;
    letter-spacing: .14em;
    white-space: nowrap;
  }

  /* Búsqueda se mueve al lado izquierdo en móvil */
  .nav-left     { gap: .35rem; align-items: center; }
  .nav-search-mobile { display: flex !important; }
  #searchBtn    { display: none; }


  /* Drawer lateral izquierdo */
  .navbar-bottom {
    position: fixed;
    top: 0; left: 0;
    height: 100vh; height: 100dvh;
    width: 260px;
    background: rgba(8,8,8,.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid rgba(255,255,255,.1);
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 200;
    overflow-y: auto;
    order: unset; flex: unset; border-top: none;
  }
  .navbar-bottom.is-open { transform: translateX(0); }

  /* Overlay oscuro detrás del drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 250;
  }
  .nav-overlay.is-open { display: block; }

  .nav-links {
    flex-direction: column; gap: 0;
    background: transparent;
    padding: 0; width: 100%;
    border-top: none;
  }
  .nav-links li { padding: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links li:last-child { border-bottom: none; }
  /* Link ocupa todo el ancho del li para área de toque completa */
  .nav-links li .nav-link { display: block; padding: .9rem 0; color: #fff; font-size: .82rem; width: 100%; }
  .nav-toggle { display: flex; }

  /* Botón cerrar drawer */
  .drawer-close {
    display: block;
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    background: none; border: none;
    color: rgba(255,255,255,.6);
    font-size: 1.25rem;
    cursor: pointer; padding: 6px;
    line-height: 1;
    transition: color .2s;
  }
  .drawer-close:hover { color: #fff; }
}

@media (max-width: 560px) {
  .search-overlay       { padding-top: 100px; }
  .search-overlay-input { font-size: .95rem; }
}

@media (max-width: 960px) {
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-about     { max-width: 100%; }
}

@media (max-width: 560px) {
  .footer-grid   { grid-template-columns: 1fr; }
  .site-footer   { padding: 3rem 1.5rem 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .4rem; }
}

@media (max-width: 768px) {
  /* Disable backdrop-filter on mobile — causes GPU repaints on every scroll */
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(5,5,5,.96);
  }
  .search-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(3,3,3,.97);
  }
  .cart-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 480px) {
  .navbar      { padding: 0 1.1rem; }
  .nav-icons   { gap: .65rem; }
  .scroll-top  { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
  .cart-drawer { width: 100%; }
  .site-footer { padding: 2.5rem 1.1rem 0; }
}

@media (max-width: 960px) {
  .footer-minimal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.7rem 3.5rem;
  }
}

@media (max-width: 560px) {
  .site-footer.footer-minimal {
    padding: 3.6rem 1.4rem 0;
  }

  .footer-logo-text {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
    letter-spacing: .12em;
    line-height: 1;
  }

  .footer-minimal-grid {
    grid-template-columns: 1fr;
    gap: 2.35rem;
    padding: 3.1rem 0 3rem;
  }

  .footer-minimal-title {
    margin-bottom: 1rem;
  }

  .footer-minimal-col,
  .footer-minimal-bottom {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .site-footer.footer-minimal {
    padding-inline: 1.1rem;
  }

  .footer-logo-text {
    font-size: 1.55rem;
    letter-spacing: .1em;
  }
}

/* ── Accesibilidad: focus visible ─────────────────── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

/* ================================================
   INDEX — Hero, Featured, Benefits
   ================================================ */

    :root {
      --dark: #000000;
      --panel-2: #0c0c0c;
      --script: 'Pinyon Script', cursive;
    }

    .page {
      width: 100%;
      margin: 0 auto;
      background: var(--panel);
      overflow: hidden;
      min-height: calc(100vh - 100px);
      min-height: calc(100svh - 100px);
      display: flex;
      flex-direction: column;
    }

    .hero {
      display: grid;
      grid-template-columns: 48% 52%;
      min-height: calc(100vh - 100px);
      min-height: calc(100svh - 100px);
      height: calc(100vh - 100px);
      height: calc(100svh - 100px);
      background: var(--panel);
      align-items: center;
      overflow: hidden;
    }

    .hero-visual {
      position: relative;
      background: var(--panel);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      min-height: 0;
      height: 100%;
      isolation: isolate;
      padding: 1.5rem 0 0.75rem;
    }

    .hero-visual::before {
      content: '';
      position: absolute;
      inset: auto 0 0 0;
      height: 140px;
      background: linear-gradient(to top, rgba(255,255,255,.06), transparent 65%);
      z-index: 1;
      pointer-events: none;
    }

    .bottle-wrap {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  width: 550px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  margin-top: 0;
}

    .img1-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 4;
  filter:
    drop-shadow(0 0 16px rgba(255,255,255,.07))
    drop-shadow(0 30px 40px rgba(0,0,0,.46));
}

    .smoke {
      position: absolute;
      width: 170px;
      height: 170px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.12) 28%, rgba(255,255,255,.04) 55%, transparent 75%);
      filter: blur(26px);
      opacity: 0;
      animation: riseSmoke 10s infinite ease-in-out;
      z-index: 2;
    }

    .smoke::before,
    .smoke::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,.06) 52%, transparent 78%);
      filter: blur(22px);
    }

    .smoke::before { transform: translate(-20px, -14px) scale(1.1); }
    .smoke::after { transform: translate(20px, 10px) scale(.88); }

    .smoke-1 { left: -35px; bottom: 30px; animation-delay: 0s; }
    .smoke-2 { left: 4px; bottom: 120px; animation-delay: 2s; }
    .smoke-3 { right: -25px; bottom: 45px; animation-delay: 3.5s; }
    .smoke-4 { right: 6px; bottom: 155px; animation-delay: 5s; }
    .smoke-5 { left: 48px; bottom: 235px; animation-delay: 6.5s; }
    .smoke-6 { right: 22px; bottom: 270px; animation-delay: 8s; }

    .smoke-stream {
      position: absolute;
      inset: auto 0 0 0;
      height: 180px;
      z-index: 1;
      pointer-events: none;
    }

    .smoke-stream.left,
    .smoke-stream.right {
      position: absolute;
      bottom: 0;
      width: 300px;
      height: 160px;
      opacity: .45;
      filter: blur(8px);
      background:
        radial-gradient(ellipse at 30% 75%, rgba(255,255,255,.34), transparent 55%),
        radial-gradient(ellipse at 60% 60%, rgba(255,255,255,.22), transparent 52%),
        radial-gradient(ellipse at 75% 85%, rgba(255,255,255,.18), transparent 48%);
      animation: driftSmoke 14s infinite ease-in-out;
    }

    .smoke-stream.left { left: -28px; }
    .smoke-stream.right { right: -28px; transform: scaleX(-1); animation-delay: 3s; }

    @keyframes riseSmoke {
      0% {
        transform: translateY(0) translateX(0) scale(.75);
        opacity: 0;
      }
      20% { opacity: .14; }
      50% { opacity: .22; }
      100% {
        transform: translateY(-85px) translateX(12px) scale(1.6);
        opacity: 0;
      }
    }

    @keyframes driftSmoke {
      0%, 100% { transform: translateX(0) scaleX(1); }
      50% { transform: translateX(10px) translateY(-6px) scaleX(1.02); }
    }

    .hero-text {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 2rem 4rem 1.5rem 2rem;
      background: var(--panel);
      overflow: hidden;
    }

    .hero-text::before { content: ''; display: none; }

    .hero-eyebrow {
      font-size: .72rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 500;
      margin-bottom: 1rem;
    }

    .hero-heading {
      font-family: var(--serif);
      font-size: clamp(2.6rem, 4.4vw, 4.6rem);
      font-weight: 600;
      color: #ffffff;
      line-height: 1.02;
      letter-spacing: -.02em;
      margin-bottom: 1rem;
      max-width: 620px;
    }

    .shimmer-text {
      display: inline-block;
      position: relative;
      color: #ffffff;
      -webkit-text-fill-color: #ffffff;
    }

    .shimmer-text::after {
      content: attr(data-text);
      position: absolute;
      inset: 0;
      color: transparent;
      background:
        linear-gradient(
          90deg,
          rgba(255,255,255,0) 0%,
          rgba(255,255,255,.08) 18%,
          rgba(255,255,255,.95) 35%,
          rgba(255,255,255,.18) 50%,
          rgba(255,255,255,.95) 65%,
          rgba(255,255,255,.08) 82%,
          rgba(255,255,255,0) 100%
        );
      background-size: 260% 100%;
      background-repeat: no-repeat;
      background-position: -160% 0;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      pointer-events: none;
      opacity: 1;
    }

    .shimmer-text.is-shimmering::after {
      animation: shimmerSweepOnce 2.2s linear 1 forwards;
    }

    .shimmer-text.is-idle::after {
      animation: shimmerIdle 4.8s linear infinite;
    }

    @keyframes shimmerSweepOnce {
      0% {
        background-position: -160% 0;
      }
      100% {
        background-position: 160% 0;
      }
    }

    @keyframes shimmerIdle {
      0% {
        background-position: -160% 0;
      }
      100% {
        background-position: 160% 0;
      }
    }

    .hero-divider {
      width: 48px;
      height: 1px;
      background: linear-gradient(90deg, rgba(201,160,62,0), rgba(201,160,62,.7), rgba(201,160,62,0));
      margin-bottom: 1.2rem;
      flex-shrink: 0;
    }

    .botanical,
    .badge-discount,
    .hero-script,
    .ornament-badge {
      display: none;
    }

    .hero-desc {
      font-size: .92rem;
      color: var(--muted);
      line-height: 1.75;
      max-width: 430px;
      margin-bottom: 1.6rem;
    }

    .hero-cta-row {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      cursor: pointer;
      width: fit-content;
    }

    .cta-circle {
      width: auto;
      height: auto;
      border-radius: 12px;
      border: none;
      background: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #000;
      transition: all .25s;
      flex-shrink: 0;
      padding: 14px 26px;
      position: relative;
      overflow: hidden;
    }

    .cta-circle:hover { transform: translateY(-2px); opacity: .92; }

    .cta-text {
      font-size: .8rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #000;
      transition: color .2s;
    }

    .hero-tagline {
      font-size: .82rem;
      color: var(--muted-2);
      font-style: italic;
      font-family: var(--serif);
    }

    .featured-section {
      background: linear-gradient(180deg, #050505 0%, #090909 100%);
      padding: 5rem 2rem 6rem;
      border-top: none;
      margin-top: 0;
      overflow-x: hidden;
    }

    .featured-wrap {
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }

    .featured-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .featured-label {
      display: inline-block;
      color: var(--gold);
      font-size: .72rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      margin-bottom: .9rem;
    }

    .featured-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 3vw, 3.4rem);
      line-height: 1.05;
      margin-bottom: .9rem;
      color: #fff;
      overflow-wrap: anywhere;
    }

    .featured-desc {
      max-width: 700px;
      margin: 0 auto;
      color: var(--muted);
      line-height: 1.8;
      font-size: .95rem;
    }

    .featured-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.5rem;
    }

    .featured-card {
      position: relative;
      background: linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.015) 100%);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 22px;
      overflow: hidden;
      padding: 1.4rem 1.4rem 1.6rem;
      min-height: 420px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
    }

    .featured-card:hover {
      transform: translateY(-6px);
      border-color: rgba(201,160,62,.28);
      box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }

    .featured-card::before {
      content: '';
      position: absolute;
      inset: auto -10% -18% auto;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
      filter: blur(12px);
      pointer-events: none;
    }

    .featured-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      padding: .3rem .6rem;
      border-radius: 999px;
      background: rgba(201,160,62,.12);
      color: var(--gold-lt);
      border: 1px solid rgba(201,160,62,.18);
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: .6rem;
    }

    .featured-image {
      height: 150px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: .75rem;
    }

    .featured-image img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      filter:
        drop-shadow(0 8px 26px rgba(0,0,0,.34))
        drop-shadow(0 0 16px rgba(255,255,255,.05));
      transition: transform .45s cubic-bezier(.25,.46,.45,.94), filter .45s ease;
    }

    .featured-card:hover .featured-image img {
      transform: scale(1.08) translateY(-4px);
      filter:
        drop-shadow(0 16px 36px rgba(0,0,0,.45))
        drop-shadow(0 0 22px rgba(255,255,255,.10));
    }

    .featured-name {
      font-family: var(--serif);
      font-size: 1.2rem;
      margin-bottom: .2rem;
      color: #fff;
    }

    .featured-brand {
      color: var(--gold-lt);
      font-size: .75rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      margin-bottom: .5rem;
    }

    .featured-copy {
      color: var(--muted);
      line-height: 1.75;
      font-size: .88rem;
      margin-bottom: 1.2rem;
    }

    .featured-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-top: auto;
    }

    .featured-price {
      font-family: var(--serif);
      font-size: 1.35rem;
      color: #fff;
    }

    .featured-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: .8rem 1rem;
      border-radius: 12px;
      background: #fff;
      color: #000;
      font-size: .78rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 600;
      transition: transform .25s ease, opacity .25s ease;
    }

    .featured-btn:hover {
      transform: translateY(-2px);
      opacity: .92;
    }

    .featured-cart-btn {
      width: 42px; height: 42px; flex-shrink: 0;
      border-radius: 12px;
      background: rgba(201,160,62,.1);
      border: 1px solid rgba(201,160,62,.3);
      color: var(--gold); font-size: .9rem;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s, border-color .2s, transform .2s;
    }
    .featured-cart-btn:hover { background: rgba(201,160,62,.22); border-color: var(--gold); transform: translateY(-2px); }
    .featured-cart-btn.added { background: rgba(39,174,96,.2); border-color: #27ae60; color: #2ecc71; }

    @media (max-width: 960px) {
      .featured-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .featured-card {
        padding: 1rem 1.1rem 1.2rem;
        min-height: 320px;
      }
    }

    @media (max-width: 600px) {
      .featured-grid     {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .6rem;
        width: 100%;
        max-width: 100%;
      }
      .featured-section  { padding: 3rem .85rem 4rem; }
      .featured-card     {
        width: 100%;
        min-width: 0;
        padding: .6rem .6rem .9rem;
        min-height: auto;
        position: relative;
      }
      /* Badge: absolute sobre la imagen como en el catálogo */
      .featured-badge    {
        position: absolute; top: .5rem; left: .5rem; z-index: 1;
        font-size: .5rem; padding: .14rem .42rem;
        letter-spacing: .07em; margin-bottom: 0;
      }
      /* Imagen: padding-top para no quedar debajo del badge */
      .featured-image    { height: 120px; padding: 1.6rem 0 .2rem !important; }
      .featured-name     { font-size: .82rem; margin-top: .3rem; overflow-wrap: anywhere; }
      .featured-brand    { font-size: .56rem; overflow-wrap: anywhere; }
      .featured-copy     { display: none; }
      .featured-footer   { flex-wrap: wrap; gap: .35rem; padding-top: .45rem; min-width: 0; }
      .featured-price    { width: 100%; font-size: .9rem; white-space: nowrap; }
      .featured-btn      {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
        text-align: center;
        padding: .38rem .28rem;
        font-size: .55rem;
        letter-spacing: .055em;
        white-space: nowrap;
        overflow: hidden;
      }
      .featured-cart-btn { width: 28px; height: 28px; min-width: 28px; font-size: .72rem; }
    }

    @media (max-width: 400px) {
      .featured-grid     { gap: .45rem; }
      .featured-section  { padding-left: .7rem; padding-right: .7rem; }
      .featured-card     { padding-left: .5rem; padding-right: .5rem; }
      .featured-image    { height: 100px; }
      .featured-name     { font-size: .76rem; }
      .featured-badge    { font-size: .46rem; padding: .12rem .36rem; }
      .featured-btn      { padding: .32rem .22rem; font-size: .52rem; letter-spacing: .045em; }
    }

    @media (max-width: 960px) {
      .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
      }

      .hero-visual {
        min-height: 420px;
        height: auto;
        order: 1;
      }

      .hero-text {
        padding: 2.5rem 2rem;
        order: 2;
      }

      .navbar {
        padding: 0 1.75rem;
      }

      .bottle-wrap {
        width: 360px;
        height: auto;
      }
    }

    @media (max-width: 600px) {
      .hero         { grid-template-columns: 42% 58%; min-height: auto; height: auto; }
      .hero-visual  { min-height: 0; height: auto; order: 1; padding: 1.5rem 0; }
      .hero-text    { order: 2; padding: 1.5rem .75rem 1.5rem .25rem; align-self: center; }
      .bottle-wrap  { width: 150px; height: auto; }
      .hero-heading { font-size: 1.35rem; line-height: 1.1; }
      .hero-desc, .hero-tagline { display: none; }
      .hero-eyebrow { font-size: .62rem; margin-bottom: .6rem; }
      .cta-circle   { padding: 10px 14px; }
      .cta-text     { font-size: .68rem; letter-spacing: .06em; }
    }

    @media (max-width: 480px) {
      .hero         { grid-template-columns: 1fr; }
      .hero-visual  { min-height: 260px; order: 1; }
      .hero-text    { order: 2; padding: 1.75rem 1.25rem; text-align: center; align-self: auto; }
      .bottle-wrap  { width: 180px; margin: 0 auto; }
      .hero-heading { font-size: 1.6rem; }
      .hero-eyebrow { font-size: .58rem; margin-bottom: .5rem; }
      .hero-cta-row { justify-content: center; }
    }

    @media (max-width: 768px) {
      .nav-toggle { display: flex; }
      .hero-text { padding: 2rem 1.5rem; }
    }

    @media (max-width: 480px) {
      .hero         { grid-template-columns: 40% 60%; }
      .hero-visual  { min-height: 250px; height: 250px; }
      .bottle-wrap  { width: 145px; }
      .hero-heading { font-size: 1.2rem; }
      .hero-eyebrow { font-size: .58rem; }
      .smoke        { width: 100px; height: 100px; }
      .nav-icons    { gap: .65rem; }
    }

    /* ── Hero animation — runs immediately on load, no IntersectionObserver ── */
    @keyframes heroFadeIn {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes heroFadeLeft {
      from { opacity: 0; transform: translateX(-28px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    .hero-animate      { animation: heroFadeIn  .7s cubic-bezier(.22,.61,.36,1) both; }
    .hero-animate-left { animation: heroFadeLeft .7s cubic-bezier(.22,.61,.36,1) both; }

    /* ── Scroll reveal keyframes ── */
    @keyframes revealUp {
      from { opacity: 0; transform: translateY(32px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes revealLeft {
      from { opacity: 0; transform: translateX(-36px); }
      to   { opacity: 1; transform: translateX(0); }
    }
    @keyframes revealRight {
      from { opacity: 0; transform: translateX(36px); }
      to   { opacity: 1; transform: translateX(0); }
    }

    /* ── Scroll animation base states ── */
    .reveal,
    .reveal-left,
    .reveal-right { opacity: 0; }

    .reveal.visible       { animation: revealUp    .65s cubic-bezier(.22,.61,.36,1) forwards; }
    .reveal-left.visible  { animation: revealLeft  .65s cubic-bezier(.22,.61,.36,1) forwards; }
    .reveal-right.visible { animation: revealRight .65s cubic-bezier(.22,.61,.36,1) forwards; }

    /* Escalonado: benefit items (misma fila, entran juntos) */
    .benefit-item:nth-child(2).visible { animation-delay: .10s; }
    .benefit-item:nth-child(3).visible { animation-delay: .20s; }
    .benefit-item:nth-child(4).visible { animation-delay: .30s; }

    /* Escalonado: tarjetas destacadas */
    .featured-card:nth-child(2).visible { animation-delay: .12s; }
    .featured-card:nth-child(3).visible { animation-delay: .24s; }

    /* Escalonado: columnas del footer */
    .footer-minimal-col:nth-child(2).visible { animation-delay: .10s; }
    .footer-minimal-col:nth-child(3).visible { animation-delay: .20s; }
    .footer-minimal-col:nth-child(4).visible { animation-delay: .30s; }

    @media (max-width: 768px) {
      /* En móvil, las animaciones laterales van hacia arriba */
      .reveal-left.visible,
      .reveal-right.visible { animation-name: revealUp; }
      /* Sin escalonado horizontal en móvil (stack vertical) */
      .benefit-item:nth-child(2).visible,
      .benefit-item:nth-child(3).visible,
      .benefit-item:nth-child(4).visible { animation-delay: 0s; }
    }

    /* ── Barra de beneficios ── */
    .benefits-bar {
      background: #070707;
      border-top: 1px solid rgba(255,255,255,.04);
      border-bottom: 1px solid rgba(255,255,255,.04);
      padding: 0 2.5rem;
    }

    .benefits-inner {
      max-width: 1200px;
      width: 100%;
      min-width: 0;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .benefit-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      min-width: 0;
      padding: 1.6rem 1.2rem;
      border-right: 1px solid rgba(255,255,255,.05);
      transition: background .25s;
    }

    .benefit-text {
      min-width: 0;
    }

    .benefit-item:last-child { border-right: none; }
    .benefit-item:nth-child(2) { transition-delay: .1s; }
    .benefit-item:nth-child(3) { transition-delay: .2s; }
    .benefit-item:nth-child(4) { transition-delay: .3s; }

    .benefit-item:hover {
      background: rgba(255,255,255,.02);
    }

    .benefit-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: rgba(201,160,62,.08);
      border: 1px solid rgba(201,160,62,.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--gold);
      font-size: .95rem;
      flex-shrink: 0;
      transition: background .25s, border-color .25s;
    }

    .benefit-item:hover .benefit-icon {
      background: rgba(201,160,62,.14);
      border-color: rgba(201,160,62,.30);
    }

    .benefit-text strong {
      display: block;
      font-size: .82rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: .18rem;
      letter-spacing: .01em;
      overflow-wrap: anywhere;
    }

    .benefit-text span {
      font-size: .74rem;
      color: var(--muted-2);
      line-height: 1.4;
      overflow-wrap: anywhere;
    }

    @media (max-width: 960px) {
      .benefits-inner {
        grid-template-columns: repeat(2, 1fr);
      }

      .benefit-item:nth-child(2) {
        border-right: none;
      }

      .benefit-item:nth-child(3) {
        border-right: 1px solid rgba(255,255,255,.05);
        border-top: 1px solid rgba(255,255,255,.05);
      }

      .benefit-item:nth-child(4) {
        border-right: none;
        border-top: 1px solid rgba(255,255,255,.05);
      }
    }

    @media (max-width: 560px) {
      .benefits-inner {
        grid-template-columns: repeat(2, 1fr);
      }

      .benefit-item {
        padding: .9rem .6rem;
        gap: .55rem;
        border-right: none;
        border-top: 1px solid rgba(255,255,255,.05);
      }

      .benefit-item:nth-child(1),
      .benefit-item:nth-child(2) { border-top: none; }

      .benefit-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.05) !important; }
      .benefit-item:nth-child(even) { border-right: none !important; }

      .benefit-icon { width: 34px; height: 34px; font-size: .82rem; }
      .benefit-text strong { font-size: .78rem; }
      .benefit-text span   { font-size: .68rem; }

      .benefits-bar { padding: 0 1rem; }
    }

    /* ── Ver todas ── */
    .view-all-wrap {
      text-align: center;
      margin-top: 2.8rem;
    }

    .view-all-btn {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      padding: 13px 34px;
      border-radius: 12px;
      border: 1px solid rgba(201,160,62,.32);
      color: var(--gold-lt);
      font-size: .78rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      font-weight: 600;
      font-family: var(--sans);
      transition: background .25s, border-color .25s, color .25s, transform .25s;
    }

    .view-all-btn:hover {
      background: rgba(201,160,62,.08);
      border-color: rgba(201,160,62,.55);
      color: #fff;
      transform: translateY(-2px);
    }

    .view-all-btn i {
      font-size: .7rem;
      transition: transform .25s;
    }

    .view-all-btn:hover i {
      transform: translateX(4px);
    }

  

/* ================================================
   CATALOG — Header, Toolbar, Product Grid
   ================================================ */

    /* ===========================
       CATALOG HEADER
    =========================== */
    .catalog-header {
      background: linear-gradient(180deg, #050505 0%, #080808 100%);
      padding: 3.5rem 2.5rem 3rem;
      text-align: center;
      border-bottom: 1px solid rgba(255,255,255,.04);
      position: relative; overflow: hidden;
    }

    .catalog-header::before {
      content: '';
      position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
      width: 500px; height: 220px;
      background: radial-gradient(ellipse, rgba(201,160,62,.07) 0%, transparent 70%);
      pointer-events: none;
    }

    .catalog-breadcrumb {
      font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
      color: var(--muted-2); margin-bottom: 1rem; position: relative; z-index: 1;
    }

    .catalog-breadcrumb a   { color: var(--gold); transition: color .2s; }
    .catalog-breadcrumb a:hover { color: var(--gold-lt); }
    .catalog-breadcrumb .sep    { margin: 0 .55rem; opacity: .35; }

    .btn-back {
      display: inline-flex; align-items: center; gap: .45rem;
      color: var(--muted); font-size: .76rem; text-decoration: none;
      border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
      padding: .4rem 1.1rem; transition: all .22s;
      margin-bottom: 1.2rem; position: relative; z-index: 1;
    }
    .btn-back:hover { color: var(--gold-lt); border-color: rgba(201,160,62,.35); }

    .catalog-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 600; color: #fff; line-height: 1.05;
      margin-bottom: .8rem; position: relative; z-index: 1;
    }

    .catalog-subtitle {
      color: var(--muted-2); font-size: .9rem;
      max-width: 480px; margin: 0 auto; line-height: 1.65;
      position: relative; z-index: 1;
    }

    /* ===========================
       TOOLBAR
    =========================== */
    .catalog-toolbar {
      background: rgba(6,6,6,.97);
      border-bottom: 1px solid rgba(255,255,255,.05);
      padding: 1rem 2.5rem;
      position: sticky; top: 46px; z-index: 90;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .toolbar-inner {
      max-width: 1300px; margin: 0 auto;
      display: flex; align-items: center;
      justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    }

    .filter-pills { display: flex; gap: .45rem; flex-wrap: wrap; }

    .filter-pill {
      padding: .42rem 1rem; border-radius: 999px;
      border: 1px solid rgba(255,255,255,.1);
      color: var(--muted); font-size: .72rem;
      letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
      transition: all .22s; cursor: pointer; background: transparent;
    }

    .filter-pill:hover  { border-color: rgba(201,160,62,.35); color: #fff; }
    .filter-pill.active {
      background: rgba(201,160,62,.1);
      border-color: rgba(201,160,62,.45);
      color: var(--gold-lt);
    }

    .toolbar-right { display: flex; align-items: center; gap: .7rem; }

    .search-box { position: relative; }

    .search-box i {
      position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
      color: var(--muted-2); font-size: .75rem; pointer-events: none;
      transition: color .2s; z-index: 1;
    }

    .search-box:focus-within i { color: var(--gold); }

    .search-input {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
      padding: .52rem .9rem .52rem 2.2rem;
      color: #fff; font-size: .81rem; font-family: var(--sans); width: 210px;
      transition: border-color .22s, background .22s; outline: none;
    }

    .search-input::placeholder { color: var(--muted-2); }
    .search-input:focus { border-color: rgba(201,160,62,.38); background: rgba(255,255,255,.055); }

    .sort-select {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
      padding: .52rem 2.2rem .52rem .9rem;
      color: var(--muted); font-size: .78rem; font-family: var(--sans);
      outline: none; cursor: pointer;
      appearance: none; -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,.35)'/%3E%3C/svg%3E");
      background-repeat: no-repeat; background-position: right .8rem center; background-size: 8px;
      transition: border-color .22s;
    }

    .sort-select:focus  { border-color: rgba(201,160,62,.38); }
    .sort-select option { background: #0a0a0a; color: #fff; }

    .toolbar-count {
      max-width: 1300px; margin: .55rem auto 0;
      font-size: .74rem; color: var(--muted-2);
    }

    .toolbar-count strong { color: var(--gold-lt); font-weight: 600; }

    /* ===========================
       CATALOG BODY
    =========================== */
    .catalog-body   { background: var(--panel); padding: 2.5rem 2.5rem 6rem; }
    .catalog-inner  { max-width: 1300px; margin: 0 auto; }

    /* ===========================
       PRODUCT GRID
    =========================== */
    .product-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.4rem;
    }

    /* ===========================
       PRODUCT CARD
    =========================== */
    .product-card {
      position: relative;
      background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.016) 100%);
      border: 1px solid rgba(255,255,255,.07); border-radius: 20px;
      overflow: hidden; display: flex; flex-direction: column;
      transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    }

    .product-card:hover {
      transform: translateY(-6px);
      border-color: rgba(201,160,62,.25);
      box-shadow: 0 20px 44px rgba(0,0,0,.32);
    }

    @keyframes fadeInCard {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .product-card.show   { animation: fadeInCard .38s ease both; }
    .product-card.hidden { display: none; }

    /* Image area */
    .card-image-wrap {
      position: relative; height: 195px;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,.018); overflow: hidden;
      border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .card-image-wrap img {
      max-width: 72%; max-height: 82%; object-fit: contain;
      filter: drop-shadow(0 6px 18px rgba(0,0,0,.42));
      transition: transform .45s cubic-bezier(.25,.46,.45,.94), filter .45s ease;
    }

    .product-card:hover .card-image-wrap img {
      transform: scale(1.09) translateY(-4px);
      filter: drop-shadow(0 14px 30px rgba(0,0,0,.52)) drop-shadow(0 0 16px rgba(255,255,255,.06));
    }

    /* Badges */
    .card-badge {
      position: absolute; top: .75rem; left: .75rem;
      padding: .22rem .62rem; border-radius: 999px;
      font-size: .62rem; letter-spacing: .1em;
      text-transform: uppercase; font-weight: 600; border: 1px solid;
    }

    .badge-top    { background: rgba(201,160,62,.14); color: var(--gold-lt);  border-color: rgba(201,160,62,.28); }
    .badge-new    { background: rgba(255,255,255,.08); color: #e8e8e8;        border-color: rgba(255,255,255,.2); }
    .badge-excl   { background: rgba(147,112,219,.12); color: #c8a8ff;        border-color: rgba(147,112,219,.28); }
    .badge-luxury { background: rgba(201,160,62,.08);  color: var(--gold-lt); border-color: rgba(201,160,62,.22); }

    /* Wishlist button */
    .card-wish {
      position: absolute; top: .75rem; right: .75rem;
      width: 30px; height: 30px; border-radius: 50%;
      background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.1);
      color: rgba(255,255,255,.4); font-size: .78rem;
      display: flex; align-items: center; justify-content: center;
      transition: color .22s, border-color .22s, background .22s; cursor: pointer;
    }

    .card-wish:hover { color: #e05c6f; border-color: rgba(224,92,111,.4); background: rgba(224,92,111,.08); }
    .card-wish.active { color: #e05c6f; }

    /* Card body */
    .card-body {
      padding: 1rem 1.1rem 1.2rem;
      display: flex; flex-direction: column; flex: 1; gap: .25rem;
    }

    .card-brand { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-lt); font-weight: 500; }
    .card-name  { font-family: var(--serif); font-size: 1.05rem; color: #fff; font-weight: 600; line-height: 1.2; }

    .card-desc {
      font-size: .78rem; color: var(--muted-2); line-height: 1.55; margin-top: .18rem;
      display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }

    .card-footer {
      display: flex; align-items: center; justify-content: space-between; gap: .5rem;
      margin-top: auto; padding-top: .85rem;
      border-top: 1px solid rgba(255,255,255,.05);
    }

    .card-price { font-family: var(--serif); font-size: 1.2rem; color: #fff; }

    .card-btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: .55rem 1rem; border-radius: 9px;
      background: #fff; color: #000;
      font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
      transition: transform .22s, opacity .22s; white-space: nowrap;
    }

    .card-btn:hover { transform: translateY(-1px); opacity: .88; }

    /* ===========================
       EMPTY STATE
    =========================== */
    .empty-state {
      display: none; text-align: center;
      padding: 5rem 2rem; width: 100%;
    }

    .empty-state i  { font-size: 2.8rem; color: rgba(201,160,62,.2); margin-bottom: 1.2rem; display: block; }
    .empty-state h3 { font-family: var(--serif); font-size: 1.4rem; color: rgba(255,255,255,.45); margin-bottom: .5rem; }
    .empty-state p  { font-size: .85rem; color: var(--muted-2); }

    /* ===========================
       RESPONSIVE
    =========================== */
    @media (max-width: 1200px) {
      .product-grid { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 880px) {
      .product-grid  { grid-template-columns: repeat(2, 1fr); }
      .toolbar-inner { flex-wrap: wrap; gap: .8rem; }
      .toolbar-right { width: 100%; overflow: hidden; }
      .search-input  { flex: 1; width: auto; min-width: 0; }
      .sort-select   { flex-shrink: 0; max-width: 130px; min-width: 0; }
    }

    @media (max-width: 768px) {
      .catalog-toolbar { padding: 1rem 1.5rem; top: 46px; }
      .catalog-header  { padding: 2.5rem 1.5rem 2rem; }
      .catalog-body    { padding: 1.5rem 1.5rem 5rem; }
    }

    @media (max-width: 560px) {
      .product-grid    { grid-template-columns: 1fr; }
      .catalog-body    { padding: 1.5rem 1rem 4rem; }
      .catalog-toolbar { padding: .9rem 1rem; }
      .toolbar-right   { gap: .5rem; }
      .sort-select     { flex: 1; max-width: none; }
      .filter-pills    { flex-wrap: nowrap; width: 100%; }
      .filter-pill     { flex: 1; text-align: center; padding: .42rem .3rem; font-size: .65rem; letter-spacing: .05em; }
    }

    /* ── Paginación ── */
    .pagination {
      display: flex; align-items: center; justify-content: center;
      gap: .4rem; padding: 2rem 0 .5rem; flex-wrap: wrap;
    }
    .page-btn {
      min-width: 38px; height: 38px; border-radius: 8px;
      border: 1px solid rgba(255,255,255,.1);
      background: transparent; color: var(--muted);
      font-size: .82rem; font-family: var(--sans);
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: all .2s; padding: 0 .6rem;
    }
    .page-btn:hover   { border-color: rgba(201,160,62,.35); color: #fff; }
    .page-btn.active  { background: rgba(201,160,62,.12); border-color: rgba(201,160,62,.5); color: var(--gold-lt); font-weight: 600; }
    .page-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
    .page-dots { color: var(--muted); font-size: .85rem; padding: 0 .2rem; }
  

/* ── Catalog: card-add-btn ── */

.card-add-btn {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(201,160,62,.12); border: 1px solid rgba(201,160,62,.3);
  color: var(--gold); font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s, border-color .2s;
}
.card-add-btn:hover { background: rgba(201,160,62,.25); border-color: var(--gold); transform: translateY(-1px); }
.card-add-btn.added { background: rgba(39,174,96,.2); border-color: #27ae60; color: #27ae60; }


/* ================================================
   PRODUCT — Detail Page
   ================================================ */

    /* ── Product page ── */
    .product-page {
      background: var(--panel);
      padding: 0 2.5rem 6rem;
      min-height: calc(100vh - 74px);
      min-height: calc(100svh - 74px);
    }

    .product-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    /* Breadcrumb */
    .product-breadcrumb {
      padding: 1.6rem 0 0;
      font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
      color: var(--muted-2); display: flex; align-items: center; gap: .5rem;
    }

    .product-breadcrumb a { color: var(--gold); transition: color .2s; }
    .product-breadcrumb a:hover { color: var(--gold-lt); }
    .product-breadcrumb .sep { opacity: .35; }

    /* Main grid */
    .product-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      padding-top: 2.5rem;
      align-items: start;
    }

    /* Image column */
    .product-image-col { }

    .product-image-wrap {
      background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.015) 100%);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 24px;
      padding: 3rem 2rem;
      display: flex; align-items: center; justify-content: center;
      min-height: 420px;
      position: relative; overflow: hidden;
    }

    .product-image-wrap::before {
      content: '';
      position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
      width: 280px; height: 120px;
      background: radial-gradient(ellipse, rgba(201,160,62,.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .product-image-wrap img {
      max-width: 75%; max-height: 380px;
      object-fit: contain;
      filter: drop-shadow(0 20px 40px rgba(0,0,0,.55));
      position: relative; z-index: 1;
      transition: transform .5s ease;
    }

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

    .product-badge-img {
      position: absolute; top: 1rem; left: 1rem;
      padding: .25rem .7rem; border-radius: 999px;
      font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border: 1px solid;
    }

    /* Info column */
    .product-info-col { padding-top: .5rem; }

    .back-catalog-link {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        margin-bottom: 1rem;
        font-size: .75rem;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--muted-2);
        transition: color .22s, transform .22s;
    }

    .back-catalog-link i {
      font-size: .72rem;
    }

    .back-catalog-link:hover {
      color: var(--gold);
      transform: translateX(-2px);
    }

    .product-eyebrow {
      font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
      color: var(--gold); margin-bottom: .7rem;
    }

    .product-name {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 600; color: #fff; line-height: 1.05;
      margin-bottom: .3rem;
    }

    .product-brand {
      font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 1.2rem;
    }

    .product-divider {
      width: 40px; height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin-bottom: 1.4rem;
    }

    .product-desc {
      color: var(--muted); font-size: .94rem; line-height: 1.8;
      margin-bottom: 1.8rem;
    }

    /* Notes */
    .product-notes {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 14px;
      padding: 1.2rem 1.4rem;
      margin-bottom: 1.8rem;
    }

    .product-notes-title {
      font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 1rem;
    }

    .product-notes-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
    }

    .note-item { text-align: center; }

    .note-label {
      font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
      color: var(--muted-2); margin-bottom: .3rem;
    }

    .note-value {
      font-family: var(--serif); font-size: .88rem; color: rgba(255,255,255,.75);
      font-style: italic;
    }

    /* Price + CTA */
    .product-buy {
      display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
      margin-bottom: 1.4rem;
    }

    .product-price {
      font-family: var(--serif); font-size: 2.2rem; color: #fff;
    }

    .btn-add {
      flex: 1; min-width: 180px;
      padding: 1rem 1.8rem; border-radius: 12px;
      background: #fff; color: #000;
      font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
      display: flex; align-items: center; justify-content: center; gap: .6rem;
      transition: transform .25s, opacity .25s; cursor: pointer; border: none;
    }

    .btn-add:hover { transform: translateY(-2px); opacity: .9; }

    .btn-wish {
      width: 50px; height: 50px; border-radius: 12px;
      background: rgba(255,255,255,.05);
      border: 1px solid rgba(255,255,255,.1);
      color: rgba(255,255,255,.5); font-size: 1rem;
      display: flex; align-items: center; justify-content: center;
      transition: color .22s, border-color .22s, background .22s; cursor: pointer;
    }

    .btn-wish:hover      { color: #e05c6f; border-color: rgba(224,92,111,.4); background: rgba(224,92,111,.08); }
    .btn-wish.active     { color: #e05c6f; }

    .product-meta {
      display: flex; flex-wrap: wrap; gap: .6rem .8rem;
    }

    .meta-chip {
      display: flex; align-items: center; gap: .4rem;
      font-size: .74rem; color: var(--muted-2);
    }

    .meta-chip i { color: var(--gold); font-size: .7rem; }

    /* ── Variant selector ── */
    .variants-label {
      font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
      color: var(--gold); margin-bottom: .85rem;
    }

    .variants-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem;
      margin-bottom: 1.6rem;
    }

    .variant-card {
      background: rgba(255,255,255,.03);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 12px;
      padding: .85rem .75rem;
      cursor: pointer;
      transition: border-color .2s, background .2s;
      text-align: center;
    }

    .variant-card:hover {
      border-color: rgba(201,160,62,.35);
      background: rgba(201,160,62,.04);
    }

    .variant-card.selected {
      border-color: var(--gold);
      background: rgba(201,160,62,.08);
    }

    .variant-size {
      font-family: var(--serif); font-size: 1.05rem; color: #fff;
      margin-bottom: .2rem;
    }

    .variant-price {
      font-size: .88rem; color: var(--gold); font-weight: 600;
      margin-bottom: .5rem;
    }

    .variant-details {
      font-size: .68rem; color: var(--muted-2); line-height: 1.55;
    }

    @media (max-width: 560px) {
      .variants-grid { grid-template-columns: 1fr; }
    }

    /* Not found */
    .product-not-found {
      text-align: center; padding: 6rem 2rem;
    }

    .product-not-found i { font-size: 3rem; color: rgba(201,160,62,.2); margin-bottom: 1.2rem; display: block; }
    .product-not-found h2 { font-family: var(--serif); font-size: 1.8rem; color: rgba(255,255,255,.5); margin-bottom: .6rem; }
    .product-not-found p  { color: var(--muted-2); font-size: .9rem; margin-bottom: 1.8rem; }
    .product-not-found a  {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .8rem 2rem; border-radius: 12px;
      border: 1px solid rgba(201,160,62,.35); color: var(--gold-lt);
      font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
      transition: background .25s, border-color .25s;
    }
    .product-not-found a:hover { background: rgba(201,160,62,.08); border-color: rgba(201,160,62,.55); }

    /* Responsive */
    @media (max-width: 900px) {
      .product-grid { grid-template-columns: 1fr; gap: 2rem; }
      .product-image-col { position: static; }
      .product-image-wrap { min-height: 300px; }
    }

    @media (max-width: 768px) {
      .product-page { padding: 0 1.5rem 5rem; }
      .product-notes-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 560px) {
      .product-page { padding: 0 1rem 4rem; }
    }

    @media (max-width: 480px) {
      .product-notes-grid { grid-template-columns: 1fr; }
      .product-price { font-size: 1.7rem; }
      .btn-add { padding: .8rem 1.2rem; font-size: .74rem; min-width: 0; }
      .product-page { padding: 0 .85rem 3rem; }
      .product-image-wrap { min-height: 240px; }
    }
  
