﻿:root {
  --ivory: #f6f4f1;
  --pearl: #ece8e2;
  --khaki: #ddd6ca;
  --greige: #b9aea2;
  --taupe: #9e9084;
  --saddle: #6b5d52;
  --charcoal: #393634;
  --black: #1f1f1f;

  --bg: var(--ivory);
  --surface: var(--pearl);
  --surface-2: var(--khaki);
  --text: var(--black);
  --muted: var(--saddle);
  --border: rgba(31, 31, 31, 0.14);
  --shadow: 0 18px 45px rgba(31, 31, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.oculto {
  display: none !important;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 128px;
  padding: 22px 13vw;
  display: flex;
  align-items: center;
  gap: 70px;
  background: rgba(246, 244, 241, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

#logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.navbar {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 130px;
}

.nav-link {
  position: relative;
  color: var(--charcoal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.25s ease;
}

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

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#cart-count {
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0;
}



/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-btn span,
.category-btn span {
  margin-left: 6px;
}

.dropdown-menu {
  position: absolute;
  top: 42px;
  left: 0;
  width: 330px;
  padding: 12px 0;
  background: var(--ivory);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  z-index: 100;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.menu-category {
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.menu-category:last-child {
  border-bottom: none;
}

.category-btn {
  width: 100%;
  padding: 18px 24px;
  border: none;
  background: transparent;
  color: var(--charcoal);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-btn:hover {
  background: var(--pearl);
}

.subcategory-list {
  display: none;
  padding: 6px 0 14px;
  background: rgba(236, 232, 226, 0.55);
}

.menu-category.open .subcategory-list {
  display: block;
}

.subcategory-list a {
  display: block;
  padding: 11px 34px;
  color: var(--saddle);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subcategory-list a:hover {
  color: var(--black);
  background: var(--khaki);
}

/* HOME HERO */

.home-hero {
  min-height: calc(100vh - 128px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--khaki);
}

.home-hero-content {
  padding: 9vw 6vw 8vw 13vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--saddle);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
  font-weight: 700;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--black);
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--charcoal);
  font-size: 21px;
  line-height: 1.7;
}

.home-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: var(--pearl);
}

.home-hero-image img {
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--ivory);
}

.hero-actions {
  margin-top: 52px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  min-width: 160px;
  padding: 18px 28px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-btn.primary,
.hero-btn:hover {
  background: var(--black);
  color: var(--ivory);
}

/* FEATURED */

.featured-products {
  padding: 80px 60px;
  background: var(--ivory);
}

.featured-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.featured-header h2 {
  margin: 8px 0 14px;
  color: var(--black);
  font-size: 52px;
  line-height: 1.05;
}

.featured-header p {
  color: var(--saddle);
  font-size: 18px;
}

/* CATALOGO */

.catalogo {
  min-height: 70vh;
  padding: 70px 60px;
  background: var(--ivory);
}

.catalogo-header {
  margin-bottom: 34px;
}

.catalogo-header h2 {
  margin: 0 0 10px;
  font-size: 52px;
  line-height: 1.05;
}

.catalogo-header p {
  margin: 0;
  color: var(--saddle);
  font-size: 18px;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px 14px;
  align-items: start;
}

.producto {
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
  transition: opacity 0.25s ease;
}

.producto:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.82;
}

.producto-imagen {
  width: 100%;
  height: 320px;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #f4f4f4;
}

.producto-info {
  padding: 20px 0 0;
  min-height: auto;
  background: transparent;
  border: none;
  text-align: center;
}

.producto-info h2 {
  margin: 0 0 10px;
  color: var(--charcoal);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.producto-precio {
  margin: 0;
  color: var(--charcoal);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.mensaje-vacio {
  color: var(--saddle);
  font-size: 18px;
}

/* STORE NOTES */

.store-notes {
  padding: 80px 60px;
  background: var(--black);
  color: var(--ivory);
}

.store-notes-intro {
  margin-bottom: 42px;
}

.store-notes-intro .section-kicker {
  color: var(--taupe);
}

.store-notes-intro h2 {
  max-width: 920px;
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
}

.store-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(246, 244, 241, 0.22);
  border-left: 1px solid rgba(246, 244, 241, 0.22);
}

.store-note {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid rgba(246, 244, 241, 0.22);
  border-bottom: 1px solid rgba(246, 244, 241, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.store-note span {
  color: var(--taupe);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.store-note h3 {
  margin: auto 0 14px;
  font-size: 28px;
  color: var(--ivory);
}

.store-note p {
  margin: 0;
  color: var(--khaki);
  line-height: 1.7;
  font-size: 17px;
}

/* PRODUCT DETAIL */

.producto-detalle {
  padding: 50px 60px 90px;
  background: var(--ivory);
}

.btn-volver {
  margin-bottom: 30px;
  border: none;
  background: transparent;
  color: var(--saddle);
  font-size: 16px;
}

.detalle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.detalle-galeria {
  background: transparent;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.detalle-galeria-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: min(100%, 360px);
}

.detalle-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--pearl);
}

#detalle-imagen {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
}

.galeria-extra {
  aspect-ratio: 3 / 4;
}

.detalle-info {
  position: sticky;
  top: 155px;
  padding: 10px 0;
}

.detalle-marca {
  margin: 0 0 14px;
  color: var(--saddle);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
}

.detalle-info h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.1;
  font-weight: 400;
}

.detalle-precio {
  margin: 0 0 14px;
  color: var(--charcoal);
  font-size: 21px;
}

.detalle-impuestos {
  margin: 0 0 30px;
  color: var(--saddle);
  line-height: 1.7;
}

.detalle-opcion {
  margin: 28px 0;
}

.detalle-opcion > p {
  margin: 0 0 10px;
  color: var(--saddle);
  font-size: 15px;
}

.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.color-card {
  width: 104px;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
}

.color-card .color-image-wrap {
  background: transparent;
  border: none;
}

.color-card img {
  width: 100%;
  height: 96px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: transparent;
  display: block;
  box-sizing: border-box;
}

.color-card span {
  display: block;
  padding: 9px 0 2px;
  font-weight: 700;
}

.color-card small {
  display: block;
  color: var(--saddle);
  font-size: 14px;
}

.color-card.selected img {
  box-shadow: none;
}

.color-card.selected span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.size-grid,
.grip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(64px, 1fr));
  gap: 14px;
}

.size-grid button,
.grip-grid button {
  min-height: 56px;
  border: 1px solid var(--border);
  background: var(--ivory);
  color: var(--black);
}

.size-grid button.selected,
.grip-grid button.selected {
  background: var(--black);
  color: var(--ivory);
  border-color: var(--black);
}

.quantity-control {
  width: 170px;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--taupe);
}

.quantity-control button {
  border: none;
  background: transparent;
  font-size: 26px;
}

.quantity-control span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-cart-btn,
.buy-btn,
.buy-now-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 1px solid var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
}

.add-cart-btn {
  background: transparent;
  color: var(--black);
}

.buy-btn,
.buy-now-btn {
  background: var(--black);
  color: var(--ivory);
}

.metodos-pago {
  margin-top: 20px;
}

.metodos-pago-label {
  margin: 0 0 10px;
  color: var(--saddle);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metodos-pago-botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 0;
}

.metodos-pago-botones > * {
  min-width: 0;
}

.pago-btn {
  min-height: 54px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.pago-btn:hover {
  opacity: 0.9;
}

.pago-btn:active {
  transform: scale(0.98);
}

.pago-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pago-btn-mercadopago {
  background: #009ee3;
  color: #ffffff;
}

.pago-btn-paypal {
  background: #ffc439;
  color: #003087;
}

.pago-btn-clip {
  background: #ff5a1f;
  color: #ffffff;
}

.checkout-mensaje {
  margin: 12px 0 0;
  color: #8a2c2c;
  font-size: 14px;
  min-height: 18px;
}

.checkout-mensaje-ok {
  color: #1b6b3a;
}

/* TARJETAS */

.tarjeta-aviso {
  margin: -4px 0 4px;
  color: var(--saddle);
  font-size: 13px;
  line-height: 1.5;
}

.campo-tarjeta-label {
  margin: 2px 0 -4px;
  color: var(--saddle);
  font-size: 13px;
}

.campo-tarjeta-seguro {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: var(--ivory);
  display: flex;
  align-items: center;
}

.tarjeta-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}

.tarjeta-fila > * {
  min-width: 0;
}

.pago-btn-tarjeta-guardada {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.pago-btn-tarjeta-guardada:hover {
  background: var(--pearl);
}

.panel-tarjetas-guardadas {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--pearl);
}

.checkout-tarjetas-lista {
  display: grid;
  gap: 10px;
}

.checkout-tarjeta-opcion {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--ivory);
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}

.checkout-tarjeta-opcion.selected {
  border-color: var(--black);
  font-weight: 700;
}

.checkout-cvv-bloque {
  margin-top: 18px;
  max-width: 220px;
}

.checkout-cvv-bloque .pago-btn {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border-radius: 999px;
}

/* CHECKOUT */

.checkout-section {
  min-height: 70vh;
  padding: 70px 60px;
  background: var(--ivory);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  max-width: 1100px;
  align-items: start;
}

.checkout-resumen,
.checkout-direccion {
  min-width: 0;
  background: var(--pearl);
  border: 1px solid var(--border);
  padding: 28px;
}

.checkout-resumen h3,
.checkout-direccion h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
}

.checkout-resumen-lista {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 15px;
}

.checkout-resumen-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.checkout-resumen-total p {
  margin: 0;
  color: var(--saddle);
}

.checkout-resumen-total strong {
  font-size: 24px;
}

.checkout-direccion .form-direccion {
  max-width: none;
  margin-bottom: 24px;
}

#checkout-direcciones-guardadas-wrap {
  margin-bottom: 18px;
}

#checkout-direcciones-guardadas-wrap select {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--ivory);
  font-size: 15px;
}

.checkout-guardar-direccion {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  color: var(--charcoal);
  font-size: 14px;
  cursor: pointer;
}

.checkout-guardar-direccion input {
  width: auto;
}

@media (max-width: 900px) {
  .checkout-section {
    padding: 40px 20px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .metodos-pago-botones {
    grid-template-columns: 1fr;
  }
}

.detalle-descripcion {
  margin-top: 34px;
  color: var(--saddle);
  font-size: 18px;
  line-height: 1.8;
}

.detalle-descripcion ul {
  padding-left: 22px;
}

/* CARRITO */

.cart-section {
  min-height: 70vh;
  padding: 70px 60px;
  background: var(--ivory);
}

.cart-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.cart-header h1 {
  margin: 0 0 12px;
  font-size: 56px;
}

.cart-header p {
  color: var(--saddle);
}

.cart-list {
  display: grid;
  gap: 18px;
  max-width: 1050px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px;
  background: var(--ivory);
  border: 1px solid var(--border);
}

.cart-item img {
  width: 120px;
  height: 150px;
  object-fit: contain;
  background: var(--pearl);
}

.cart-item h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cart-item p {
  margin: 4px 0;
  color: var(--saddle);
}

.cart-remove {
  border: 1px solid var(--black);
  background: transparent;
  padding: 12px 16px;
}

.cart-summary {
  max-width: 1050px;
  margin-top: 28px;
  padding: 24px;
  background: var(--pearl);
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cart-summary p {
  margin: 0;
  color: var(--saddle);
}

.cart-summary strong {
  font-size: 28px;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  background: var(--ivory);
  padding: 56px 60px 34px;
  color: var(--black);
}

.footer-ubicacion {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.3fr;
  gap: 36px;
  align-items: stretch;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.ubicacion-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ubicacion-eyebrow {
  margin: 0 0 16px;
  color: var(--saddle);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ubicacion-texto h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1.05;
  font-weight: 400;
}

.ubicacion-nombre {
  margin: 0 0 26px;
  color: var(--saddle);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ubicacion-dato {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.ubicacion-dato svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--charcoal);
}

.ubicacion-dato p {
  margin: 0;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.4;
}

.ubicacion-dato p span {
  display: block;
  color: var(--saddle);
  font-size: 15px;
}

.ubicacion-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 16px 28px;
  background: var(--black);
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ubicacion-boton:hover {
  opacity: 0.85;
}

.ubicacion-foto {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--pearl);
}

.ubicacion-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ubicacion-mapa-link {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--pearl);
}

.ubicacion-mapa {
  position: absolute;
  left: 0;
  top: -130px;
  width: 100%;
  height: calc(100% + 130px);
  border: 0;
  pointer-events: none;
  filter: grayscale(0.35) sepia(0.1);
}

@media (max-width: 900px) {
  .footer-ubicacion {
    grid-template-columns: 1.15fr 1fr;
    gap: 14px;
  }

  .ubicacion-eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .ubicacion-texto h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 8vw, 40px);
  }

  .ubicacion-nombre {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .ubicacion-dato p {
    font-size: 15px;
  }

  .ubicacion-dato p span {
    font-size: 14px;
  }

  .ubicacion-boton {
    padding: 14px 20px;
    font-size: 12px;
  }

  .ubicacion-foto {
    min-height: 300px;
  }

  .ubicacion-mapa-link {
    grid-column: 1 / -1;
    min-height: 300px;
    margin-top: 6px;
  }
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  padding: 42px 0;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}

.footer-instagram:hover {
  background: var(--black);
  color: var(--ivory);
}

.footer-instagram svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: var(--saddle);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--saddle);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--black);
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  header {
    padding: 20px 40px;
  }

  #btn-cuenta,
  .cuenta-btn {
    right: 40px;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-content {
    padding: 70px 40px;
  }

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

  .detalle-layout {
    grid-template-columns: 1fr;
  }

  .detalle-info {
    position: static;
  }
}

@media (max-width: 800px) {
  header {
    min-height: auto;
    padding: 16px 20px;
    gap: 22px;
  }

  #logo {
    width: 74px;
    height: 74px;
  }

  .navbar {
    gap: 22px;
    overflow-x: auto;
    padding-right: 0;
  }

  #btn-cuenta,
  .cuenta-btn {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-left: 0;
  }

  .dropdown-menu {
    position: fixed;
    top: 128px;
    left: 20px;
    right: 20px;
    width: auto;
    max-height: 70vh;
    overflow-y: auto;
  }

  .home-hero-content {
    padding: 58px 22px;
  }

  .home-hero h1 {
    font-size: 46px;
  }

  .home-hero-content > p:not(.eyebrow) {
    font-size: 18px;
  }

  .home-hero-image {
    padding: 34px 22px 54px;
  }

  .featured-products,
  .catalogo,
  .store-notes,
  .producto-detalle,
  .cart-section {
    padding: 46px 20px;
  }

  .featured-header h2,
  .catalogo-header h2,
  .store-notes-intro h2,
  .cart-header h1 {
    font-size: 38px;
  }

  .productos-grid {
    grid-template-columns: 1fr;
  }

  .producto-imagen {
    height: 340px;
  }

  .store-notes-grid {
    grid-template-columns: 1fr;
  }

  .store-note {
    min-height: 210px;
    padding: 28px;
  }

  .detalle-galeria {
    min-height: auto;
    padding: 0;
    background: transparent;
  }

  .detalle-galeria-lista {
    gap: 6px;
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .detalle-info h1 {
    font-size: 30px;
  }

  .size-grid,
  .grip-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cart-item {
    grid-template-columns: 90px 1fr;
  }

  .cart-item img {
    width: 90px;
    height: 115px;
  }

  .cart-remove {
    grid-column: 1 / -1;
  }

  .cart-summary,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    padding: 42px 20px 28px;
  }

  .footer-social,
  .footer-links {
    justify-content: flex-start;
  }
}

.premium-hero {
  min-height: calc(100vh - 128px);
  grid-template-columns: 1fr 0.95fr;
  background: var(--greige);
}

.hero-photo {
  min-height: 620px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery {
  padding: 90px 60px;
  background: var(--ivory);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.gallery-text h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.05;
}

.gallery-text p:not(.section-kicker) {
  color: var(--saddle);
  font-size: 19px;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery-grid img:first-child {
  grid-row: span 2;
  height: 654px;
}

.home-categories {
  padding: 85px 60px;
  background: var(--pearl);
}

.section-heading {
  margin-bottom: 34px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.category-tile {
  position: relative;
  height: clamp(170px, 12vw, 230px);
  border: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-tile span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: var(--ivory);
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  z-index: 2;
}

.category-tile:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

@media (max-width: 1100px) {
  .premium-hero,
  .home-gallery {
    grid-template-columns: 1fr;
  }

  .category-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-photo {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  .home-gallery,
  .home-categories {
    padding: 52px 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:first-child {
    height: 360px;
  }

  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .category-tile {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .hero-photo {
    min-height: 420px;
  }
}

.video-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--black);
  padding: 0 clamp(24px, 8vw, 110px);
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(31, 31, 31, 0.62) 0%,
      rgba(31, 31, 31, 0.4) 45%,
      rgba(31, 31, 31, 0.2) 100%
    );
}

.video-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  text-align: left;
  color: var(--ivory);
}

.video-content .section-kicker {
  color: var(--khaki);
}

.video-content h1 {
  margin: 0;
  font-size: clamp(46px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 400;
}

.video-content h1 .video-destacado {
  font-family: "Allura", "Brush Script MT", "Segoe Script", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2em;
  line-height: 1.1;
  color: var(--khaki);
}

.video-content p:not(.section-kicker) {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--pearl);
  font-size: 21px;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .video-section {
    min-height: 560px;
    padding: 0 22px;
    justify-content: center;
  }

  .video-content {
    text-align: center;
  }

  .video-content h1 {
    font-size: 44px;
  }

  .video-content p:not(.section-kicker) {
    font-size: 17px;
  }
}

@media (max-width: 1200px) {
  .productos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .producto-imagen {
    height: 300px;
  }
}

@media (max-width: 850px) {
  .productos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 14px;
  }

  .producto-imagen {
    height: 260px;
  }

  .producto-info h2 {
    font-size: 14px;
  }

  .producto-precio {
    font-size: 16px;
  }
}

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

  .producto-imagen {
    height: 400px;
  }

  .producto-info {
    padding-top: 16px;
  }
}

.producto-variantes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  padding: 14px 8px 0;
}

.variante-mini {
  width: 22px;
  height: 22px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 31, 31, 0.18);
  border-radius: 50%;
  background: var(--pearl);
}

.variante-mini img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.variante-mini.selected {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--black);
}

@media (max-width: 700px) {
  .producto-variantes {
    gap: 6px;
    padding-top: 12px;
  }

  .variante-mini {
    width: 20px;
    height: 20px;
  }
}

.catalogo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

.filtros-panel {
  position: sticky;
  top: 150px;
  border-left: 1px solid var(--khaki);
  padding-left: 26px;
  color: var(--charcoal);
}

.filtros-panel h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.filtro-grupo {
  border-bottom: 1px solid var(--khaki);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.filtro-grupo h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.filtro-opcion {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  cursor: pointer;
}

.filtro-opcion input {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
}

.precio-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.precio-inputs input,
.filtro-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--greige);
  background: var(--ivory);
  font-size: 15px;
}

.btn-limpiar-filtros {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.btn-limpiar-filtros:hover {
  background: var(--black);
  color: var(--ivory);
}

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

  .filtros-panel {
    order: -1;
    position: static;
    border-left: 0;
    border-bottom: 1px solid var(--khaki);
    padding-left: 0;
    padding-bottom: 24px;
  }

  .precio-inputs {
    grid-template-columns: 1fr;
  }
}

.cuenta-btn.sesion-activa {
  font-weight: 700;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 31, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-box {
  width: min(100%, 420px);
  background: var(--ivory);
  border: 1px solid var(--khaki);
  padding: 34px;
  position: relative;
}

.cerrar-auth {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.auth-box h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

.auth-box input {
  width: 100%;
  padding: 15px;
  margin-bottom: 14px;
  border: 1px solid var(--greige);
  background: white;
  font-size: 16px;
}

.auth-principal,
.auth-google {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  cursor: pointer;
  font-size: 16px;
}

.auth-principal {
  background: var(--black);
  color: var(--ivory);
  border: 1px solid var(--black);
}

.auth-google {
  background: white;
  color: var(--black);
  border: 1px solid var(--greige);
}

#auth-cambiar {
  margin-top: 18px;
  font-size: 15px;
}

#auth-cambiar button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
  color: var(--black);
}

#auth-mensaje {
  margin-top: 12px;
  color: #8a2c2c;
  font-size: 14px;
}

#btn-cuenta,
.cuenta-btn {
  order: 99;
  margin-left: auto;
  position: static;
  transform: none;
}



#btn-cuenta,
.cuenta-btn {
  order: 99;
  margin-left: auto;
  position: static;
  transform: none;
}

/* CUENTA A LA DERECHA */

header {
  padding: 22px 56px 22px 13vw;
}

.navbar {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 0;
}

#btn-cuenta,
.cuenta-btn {
  order: 99;
  margin-left: auto;
  position: static;
  transform: none;
  z-index: auto;
}

@media (max-width: 1100px) {
  header {
    padding: 20px 32px;
  }
}

@media (max-width: 800px) {
  header {
    min-height: auto;
    padding: 16px 20px;
    gap: 22px;
  }

  .navbar {
    gap: 22px;
    overflow-x: auto;
    padding-right: 0;
  }

  #btn-cuenta,
  .cuenta-btn {
    margin-left: auto;
    position: static;
    transform: none;
  }
}

.cuenta-btn {
  margin-left: auto;
}

/* Productos destacados del inicio */
#productos-destacados {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 360px));
  justify-content: space-between;
  gap: 32px;
}

#productos-destacados .producto-card {
  width: 100%;
}

#productos-destacados .producto-imagen,
#productos-destacados .producto-img,
#productos-destacados .producto-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1000px) {
  #productos-destacados {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    justify-content: center;
  }

  #productos-destacados .producto-imagen,
  #productos-destacados .producto-img,
  #productos-destacados .producto-card img {
    height: 380px;
  }
}

@media (max-width: 650px) {
  #productos-destacados {
    grid-template-columns: 1fr;
  }

  #productos-destacados .producto-imagen,
  #productos-destacados .producto-img,
  #productos-destacados .producto-card img {
    height: 360px;
  }
}
/* HEADER SIMPLE CON BUSCADOR */
.site-header {
  min-height: 112px;
  padding: 18px clamp(22px, 12vw, 260px);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
  flex-wrap: nowrap;
  background: rgba(246, 244, 241, 0.96);
}

.site-header .logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-header #logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.site-header .navbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  padding-right: 0;
  overflow: visible;
}

.site-header .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--charcoal);
  font-size: 1.02rem;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}

.site-header .nav-link::after {
  bottom: 1px;
}

.site-header .icon-nav-link {
  width: 48px;
  flex-direction: column;
  gap: 3px;
}

.site-header .icon-nav-link .nav-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header .icon-nav-link.active::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--midnight);
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.site-header .header-icon {
  width: 31px;
  height: 31px;
  display: block;
  stroke-width: 1.45;
}

.site-header .dropdown {
  position: relative;
}

.site-header .dropdown-btn {
  text-transform: uppercase;
}

.site-header .chevron {
  font-size: 0.8rem;
  transform: translateY(-1px);
}

.site-header .header-search-btn {
  padding: 0;
}

.site-header .header-search-btn .nav-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header .cuenta-btn {
  margin-left: auto;
  position: static;
  transform: none;
  order: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header .cuenta-icon {
  display: none;
}

.site-header .cart-btn {
  margin-left: 0;
  position: relative;
  gap: 0;
}

.site-header #cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
}

.site-header #cart-count {
  width: 24px;
  height: 24px;
  min-width: 24px;
  font-size: 0.8rem;
}

.site-header .dropdown-menu {
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
}

.search-panel {
  position: fixed;
  top: 112px;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 24px clamp(18px, 10vw, 220px);
  background: rgba(246, 244, 241, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 44px rgba(31, 31, 31, 0.08);
}

.search-panel.oculto {
  display: none;
}

.search-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--taupe);
  background: var(--ivory);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 18px 20px;
  font-size: 1.1rem;
  color: var(--midnight);
}

.search-box button {
  width: 58px;
  border: 0;
  border-left: 1px solid var(--taupe);
  background: transparent;
  color: var(--midnight);
  font-size: 1.8rem;
  cursor: pointer;
}

.search-results {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-top: 14px;
}

.search-result {
  width: 100%;
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid transparent;
  background: transparent;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.search-result:hover {
  border-color: var(--border);
  background: var(--pearl);
}

.search-result img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  background: var(--pearl);
}

.search-result strong {
  display: block;
  color: var(--midnight);
  font-size: 1rem;
  margin-bottom: 5px;
}

.search-result small,
.search-empty {
  color: var(--saddle);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 92px;
    padding: 14px 18px;
    gap: 16px;
  }

  .site-header #logo {
    width: 62px;
    height: 62px;
  }

  .site-header .navbar {
    gap: 14px;
  }

  .site-header .nav-link {
    font-size: 0.88rem;
    letter-spacing: 1.1px;
  }

  .site-header .header-icon {
    width: 27px;
    height: 27px;
  }

  .site-header .cuenta-btn {
    margin-left: auto;
  }

  .site-header .dropdown-menu {
    position: fixed;
    top: 92px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 120px);
    transform: none;
    overflow-y: auto;
  }

  .search-panel {
    top: 92px;
    padding: 18px 12px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 78px;
    padding: 10px 6px;
    gap: 6px;
  }

  .site-header #logo {
    width: 46px;
    height: 46px;
  }

  .site-header .brand-link {
    min-width: auto;
    gap: 0;
  }

  .site-header .brand-divider,
  .site-header .brand-wordmark {
    display: none;
  }

  .site-header .navbar {
    gap: 6px;
  }

  .site-header .menu-label {
    font-size: 0.68rem;
    letter-spacing: 0.3px;
  }

  .site-header .cuenta-btn {
    gap: 0;
  }

  .site-header .cuenta-icon {
    display: block;
  }

  .site-header .cuenta-texto {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-header .header-icon {
    width: 22px;
    height: 22px;
  }

  .site-header .chevron {
    font-size: 0.68rem;
  }

  .site-header #cart-count {
    width: 21px;
    height: 21px;
    min-width: 21px;
    font-size: 0.72rem;
  }

  .site-header .dropdown-menu {
    top: 78px;
  }

  .search-panel {
    top: 78px;
  }

  .search-result {
    grid-template-columns: 54px 1fr;
  }

  .search-result img {
    width: 54px;
    height: 70px;
  }
}

@media (max-width: 1250px) {
  .category-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-tile {
    height: 230px;
  }
}

@media (max-width: 1100px) {
  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile {
    height: 260px;
  }
}

@media (max-width: 700px) {
  .home-categories {
    padding: 40px 8px 44px;
  }

  .home-categories .section-heading {
    padding: 0 12px;
    margin-bottom: 22px;
  }

  .category-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .category-tile {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .category-tile img {
    opacity: 0.85;
  }

  .category-tile span {
    left: 14px;
    right: 10px;
    bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.25;
  }

  .category-tile span::after {
    content: "";
    display: block;
    width: 18px;
    height: 1px;
    margin-top: 7px;
    background: rgba(246, 244, 241, 0.85);
  }
}

/* HERO INICIO CON IMAGEN DE FONDO VISIBLE */

.premium-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url("imagenes/todos.png") center top / cover no-repeat;
  border-top: 1px solid rgba(31, 31, 31, 0.12);
  border-bottom: 1px solid rgba(31, 31, 31, 0.12);
}

.premium-hero .hero-photo {
  display: none !important;
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(185, 174, 162, 0.45);
  z-index: 1;
}

.premium-hero::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(31, 31, 31, 0.18);
  pointer-events: none;
  z-index: 2;
}

.premium-hero .home-hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 86px 52px;
  text-align: center;
  align-items: center;
}

.premium-hero .home-hero-content::before {
  content: "";
  display: block;
  width: 96px;
  height: 1px;
  margin: 0 auto 34px;
  background: var(--saddle);
}

.premium-hero .home-hero-content::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -30px;
  width: 1px;
  height: 60px;
  background: rgba(31, 31, 31, 0.26);
}

.premium-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--black);
  font-size: 92px;
  line-height: 0.96;
}

.premium-hero .home-hero-content > p:not(.eyebrow) {
  max-width: 760px;
  margin: 32px auto 0;
  color: var(--black);
  font-size: 22px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .premium-hero {
    min-height: 640px;
  }

  .premium-hero h1 {
    font-size: 72px;
  }
}

@media (max-width: 700px) {
  .premium-hero {
    min-height: 560px;
  }

  .premium-hero::after {
    inset: 20px;
  }

  .premium-hero .home-hero-content {
    padding: 68px 22px;
  }

  .premium-hero h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  .premium-hero .home-hero-content > p:not(.eyebrow) {
    font-size: 18px;
  }
}

/* FILTROS COMO PANEL DESPLEGABLE */
.catalogo-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 34px;
}

.btn-toggle-filtros {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-toggle-filtros:hover,
.btn-toggle-filtros.is-open {
  background: var(--black);
  color: var(--ivory);
  border-color: var(--black);
}

.catalogo-layout {
  display: block;
}

.filtros-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  width: min(390px, calc(100% - 28px));
  height: 100vh;
  padding: 34px 28px;
  background: var(--ivory);
  border-left: 1px solid var(--border);
  box-shadow: -22px 0 45px rgba(31, 31, 31, 0.16);
  overflow-y: auto;
  transform: translateX(105%);
  pointer-events: none;
  transition: transform 0.28s ease;
}

.filtros-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}

.filtros-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.filtros-head h3 {
  margin: 0;
}

.cerrar-filtros {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--black);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cerrar-filtros:hover {
  background: var(--black);
  color: var(--ivory);
  border-color: var(--black);
}

@media (max-width: 900px) {
  .catalogo-actions {
    justify-content: stretch;
  }

  .btn-toggle-filtros {
    width: 100%;
  }

  .filtros-panel {
    width: 100%;
    max-width: none;
    padding: 28px 22px;
  }
}

/* Marca tipografica del header */
.site-header .brand-link {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  flex: 0 0 auto;
  min-width: clamp(160px, 17vw, 260px);
  color: var(--black);
  text-decoration: none;
}

.site-header .brand-logo-img {
  height: clamp(30px, 3.4vw, 42px);
  width: auto;
  display: block;
}

.site-header .brand-divider {
  width: 1px;
  height: clamp(22px, 2.6vw, 30px);
  background: var(--charcoal);
  opacity: 0.55;
}

.site-header .brand-wordmark {
  font-family: "Times New Roman", Times, serif;
  color: var(--black);
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header .brand-link:hover .brand-wordmark {
  color: var(--saddle);
}

@media (max-width: 900px) {
  .site-header .brand-link {
    min-width: 140px;
    gap: 10px;
  }

  .site-header .brand-logo-img {
    height: 26px;
  }

  .site-header .brand-wordmark {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 560px) {
  .site-header .brand-link {
    min-width: 102px;
    gap: 8px;
  }

  .site-header .brand-logo-img {
    height: 22px;
  }

  .site-header .brand-wordmark {
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }
}

.color-image-wrap {
  position: relative;
}

.color-card.sold-out {
  opacity: 0.55;
  cursor: not-allowed;
}

.color-card.sold-out img {
  filter: grayscale(1);
}

.sold-out-badge {
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.68);
  color: #f6f4f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* MENU DE CUENTA */

.site-header .cuenta-dropdown {
  margin-left: auto;
  position: relative;
  order: 0;
}

.site-header .cuenta-dropdown .cuenta-btn {
  margin-left: 0;
}

.cuenta-menu {
  width: 200px;
  right: 0;
  left: auto;
}

.site-header .cuenta-menu {
  top: calc(100% + 12px);
  left: auto;
  right: 0;
  transform: none;
}

.cuenta-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  background: transparent;
  border: none;
  font-size: 15px;
  cursor: pointer;
}

.cuenta-menu-item:hover {
  background: var(--pearl);
}

/* VISTA MI CUENTA */

.cuenta-section {
  min-height: 70vh;
  padding: 70px 60px;
  background: var(--ivory);
}

.cuenta-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.cuenta-header h1 {
  margin: 0 0 12px;
  font-size: 48px;
}

.cuenta-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  max-width: 1050px;
}

.cuenta-contenido {
  min-width: 0;
}

.cuenta-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
  padding-right: 20px;
}

.cuenta-tab {
  text-align: left;
  padding: 12px 10px;
  background: transparent;
  border: none;
  color: var(--saddle);
  font-size: 15px;
  cursor: pointer;
}

.cuenta-tab.active {
  color: var(--black);
  font-weight: 700;
  border-left: 2px solid var(--black);
}

.cuenta-panel.oculto {
  display: none;
}

.cuenta-campo {
  margin-bottom: 22px;
}

.cuenta-campo p {
  margin: 0 0 6px;
  color: var(--saddle);
  font-size: 14px;
}

.cuenta-campo strong {
  font-size: 18px;
}

.cuenta-vacio-texto {
  color: var(--saddle);
}

.cuenta-direcciones-lista {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.direccion-card {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--pearl);
}

.direccion-card p {
  margin: 3px 0;
}

.btn-eliminar-direccion {
  margin-top: 10px;
  border: 1px solid var(--black);
  background: transparent;
  padding: 8px 14px;
  font-size: 13px;
}

.form-direccion {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.form-direccion h3 {
  margin: 0 0 4px;
}

.form-direccion input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--ivory);
  font-size: 15px;
}

.dir-cp-estado {
  margin: -6px 0 0;
  font-size: 13px;
  color: var(--saddle);
  min-height: 16px;
}

@media (max-width: 720px) {
  .cuenta-section {
    padding: 40px 20px;
  }

  .cuenta-layout {
    grid-template-columns: 1fr;
  }

  .cuenta-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 12px;
  }
}

/* PRODUCT GRID ON MOBILE (dos productos por fila) */

@media (max-width: 700px) {
  .productos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
    padding: 0 6px;
  }

  .producto-imagen {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .producto-info {
    padding: 12px 8px 0;
  }

  .producto-info h2 {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.32;
    letter-spacing: 0;
  }

  .producto-precio {
    font-size: 15px;
    letter-spacing: 0;
  }
}

/* MIS PEDIDOS */

.pedido-card {
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  background: var(--pearl);
}

.pedido-card-header {
  margin-bottom: 18px;
}

.pedido-id {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.pedido-estatus-libre {
  margin: 0 0 16px;
  color: var(--saddle);
}

.pedido-pasos {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pedido-paso {
  position: relative;
  flex: 1;
  min-width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pedido-paso::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.pedido-paso:first-child::before {
  display: none;
}

.pedido-paso.completado::before {
  background: var(--black);
}

.pedido-paso-punto {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--border);
}

.pedido-paso.completado .pedido-paso-punto {
  background: var(--black);
  border-color: var(--black);
}

.pedido-paso.actual .pedido-paso-punto {
  box-shadow: 0 0 0 3px rgba(31, 31, 31, 0.18);
}

.pedido-paso-texto {
  margin-top: 8px;
  font-size: 12px;
  color: var(--saddle);
  line-height: 1.3;
}

.pedido-paso.completado .pedido-paso-texto {
  color: var(--black);
  font-weight: 700;
}

.pedido-productos {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.pedido-productos p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--charcoal);
}

.pedido-direccion {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--saddle);
}

@media (max-width: 560px) {
  .pedido-paso {
    min-width: 70px;
  }

  .pedido-paso-texto {
    font-size: 11px;
  }
}

/* PAGO DIRECTO CON TARJETA (Clip) */

.pago-btn-tarjeta-nueva {
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  border: none;
  border-radius: 999px;
  background: var(--black);
  color: var(--ivory);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.pago-btn-tarjeta-nueva:hover {
  opacity: 0.9;
}

.panel-tarjeta-clip {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--pearl);
}

.clip-card {
  min-height: 150px;
  background: #ffffff;
}

.pago-btn-confirmar-clip {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: none;
  border-radius: 999px;
  background: #ff5a1f;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.pago-btn-confirmar-clip:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.clip-3ds-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #ffffff;
}

.clip-3ds-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.clip-3ds-cancelar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 10px 18px;
  border: 1px solid var(--black);
  background: var(--ivory);
  cursor: pointer;
}