:root {
  --color-emerald: #0B4A38;
  --color-forest: #083A2D;
  --color-champagne: #C9A45C;
  --color-gold: #E3C77A;
  --color-ivory: #F5F1E8;
  --color-charcoal: #1B211E;

  --bg: var(--color-forest);
  --bg-deep: var(--color-emerald);
  --panel: rgba(245, 241, 232, 0.95);
  --panel-dark: rgba(8, 58, 45, 0.95);
  --text: var(--color-charcoal);
  --text-soft: #4a4a4a;
  --text-inverse: var(--color-ivory);
  --line: rgba(201, 164, 92, 0.2); /* Champagne line */
  --accent: var(--color-champagne);
  --accent-strong: var(--color-gold);
  --success: #1f7a52;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

/* --- SPLASH SCREEN --- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: 
    radial-gradient(circle at 50% 30%, rgba(13, 64, 48, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(201, 164, 92, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(10, 51, 37, 0.5) 0%, transparent 50%),
    linear-gradient(135deg, #0a3325 0%, #0d4030 40%, #0b3528 70%, #0a2e22 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-screen__content {
  text-align: center;
  color: var(--color-ivory);
  max-width: 600px;
}

@media (max-width: 768px) {
  .splash-screen__logo {
    width: 60vw !important;
  }
}

.splash-screen__logo {
  width: 300px;
  max-width: 80vw;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.splash-screen__title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 12px;
  color: var(--color-gold);
  line-height: 1.1;
}

.splash-screen__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 40px;
  color: rgba(245, 241, 232, 0.85);
  text-align: center;
}

.splash-screen__selector h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--color-ivory);
}

.splash-screen__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.btn-splash {
  background: var(--color-champagne);
  color: var(--color-forest);
  border: none;
  padding: 16px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-splash:hover, .btn-splash:focus-visible {
  transform: translateY(-2px);
  background: var(--color-gold);
}

/* --- BIENVENIDA: entrada animada (~1,8 s) ---
   Las entradas usan "backwards": antes de empezar quedan ocultas y al terminar vuelven a su
   estilo normal (así el hover de los botones sigue funcionando). Con "reducir movimiento"
   del sistema, la regla global las deja directamente en su estado final. */

.splash-screen__logo-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 16px;
}

.splash-screen__logo-wrap .splash-screen__logo {
  display: block;
  margin: 0;
  animation: splashLogoIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s backwards;
}

/* Resplandor dorado detrás del logo: se enciende y luego "respira" muy lento */
.splash-screen__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -45% -25%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(227, 199, 122, 0.22), rgba(201, 164, 92, 0.08) 55%, transparent 75%);
  pointer-events: none;
  animation:
    splashGlowIn 1.4s ease-out 0.2s backwards,
    splashGlowBreathe 6s ease-in-out 1.6s infinite alternate;
}

/* Destello de luz que recorre solo la forma del logo (la imagen hace de máscara) */
.splash-screen__logo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 214, 0.85) 50%, transparent 62%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  opacity: 0;
  animation: splashLogoSheen 1.3s ease-in-out 1s;
}

.splash-screen__title {
  animation: splashTitleIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s backwards;
}

/* Línea dorada que se dibuja bajo el título */
.splash-screen__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  animation: splashLineIn 0.8s ease-out 0.85s backwards;
}

.splash-screen__lead {
  animation: splashFadeUp 0.7s ease-out 0.75s backwards;
}

.splash-screen__question {
  animation: splashFadeUp 0.7s ease-out 0.95s backwards;
}

.btn-splash {
  position: relative;
  overflow: hidden;
  animation: splashButtonIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.btn-splash:nth-child(1) { animation-delay: 1.05s; }
.btn-splash:nth-child(2) { animation-delay: 1.17s; }
.btn-splash:nth-child(3) { animation-delay: 1.29s; }

/* Brillo que recorre los botones una vez que entraron */
.btn-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
  animation: splashButtonSheen 0.9s ease-in-out 1.7s;
}

.btn-splash:nth-child(2)::after { animation-delay: 1.8s; }
.btn-splash:nth-child(3)::after { animation-delay: 1.9s; }

.splash-screen__info {
  margin-top: 32px;
  animation: splashFadeUp 0.7s ease-out 1.5s backwards;
}

.splash-screen__info-link {
  color: var(--color-champagne);
  font-weight: 600;
  text-decoration: underline;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes splashLogoIn {
  from {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(12px) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  }
}

@keyframes splashGlowIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes splashGlowBreathe {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0.55; transform: scale(1.08); }
}

@keyframes splashLogoSheen {
  0% { opacity: 1; background-position: 120% 0; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: -20% 0; }
}

@keyframes splashTitleIn {
  from { opacity: 0; transform: translateY(14px); letter-spacing: 0.1em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0; }
}

@keyframes splashLineIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

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

@keyframes splashButtonIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splashButtonSheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

/* --- MAIN CATALOG SHELL --- */
.page-shell {
  display: none; /* Initially hidden until splash completes */
  min-height: 100vh;
  background: var(--color-ivory);
}

.page-shell.is-ready {
  display: block;
  animation: fadeIn 0.6s ease forwards;
}

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

/* --- STICKY TOOLBAR --- */
.sticky-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(135deg, #0a3325 0%, #0d4030 40%, #0b3528 70%, #0a2e22 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.2);
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.sticky-toolbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.sticky-toolbar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sticky-toolbar__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sticky-toolbar__title {
  line-height: 1.1;
}

.sticky-toolbar__link {
  font-size: 0.8rem;
  color: var(--color-champagne);
  text-decoration: underline;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
}
.sticky-toolbar__link:hover {
  color: var(--color-gold);
}

.sticky-toolbar__logo {
  width: auto;
  height: 128px;
  object-fit: contain;
}

/* --- FILTERS NEW UX --- */
.btn-mobile-filters {
  display: none; /* Only mobile */
}
.filters-header-mobile,
.filters-footer-mobile,
.filter-group__label {
  display: none; /* Only mobile */
}

.sticky-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.filter-group {
  display: flex;
  align-items: center;
}

.chip-divider {
  display: none;
}

.chip-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chip-row::-webkit-scrollbar { display: none; }

/* --- BUSCADOR PREDICTIVO --- */
.search-bar {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 0;
}

.search-bar__input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 999px;
  padding: 8px 16px;
  gap: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-bar__input-wrapper:focus-within {
  border-color: rgba(201, 164, 92, 0.6);
  background: rgba(0, 0, 0, 0.35);
}

.search-bar__icon {
  flex-shrink: 0;
  color: rgba(201, 164, 92, 0.6);
}

.search-bar__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--color-ivory);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.search-bar__input::placeholder {
  color: rgba(245, 241, 232, 0.4);
}

.search-bar__clear {
  background: none;
  border: none;
  color: rgba(245, 241, 232, 0.5);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.2s ease;
}
.search-bar__clear:hover {
  color: var(--color-ivory);
}

.search-bar__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-forest);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 14px;
  list-style: none;
  margin: 0;
  padding: 6px;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  max-height: 320px;
  overflow-y: auto;
}

.search-bar__dropdown[hidden] { display: none; }

.search-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-bar__item:hover {
  background: rgba(201, 164, 92, 0.12);
}

.search-bar__thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
}

.search-bar__item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-bar__item-name {
  font-size: 0.85rem;
  color: var(--color-ivory);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-bar__item-name mark {
  background: rgba(201, 164, 92, 0.35);
  color: var(--color-gold);
  border-radius: 2px;
  padding: 0 1px;
}

.search-bar__item-meta {
  font-size: 0.75rem;
  color: rgba(201, 164, 92, 0.7);
  font-weight: 500;
}

.search-bar__no-results {
  padding: 14px 12px;
  color: rgba(245, 241, 232, 0.5);
  font-size: 0.85rem;
  text-align: center;
}

/* Swipe hint: oculto en desktop */

.chip {
  flex: 0 0 auto;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-ivory);
  border: 1px solid rgba(201, 164, 92, 0.3);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.chip:hover {
  background: rgba(201, 164, 92, 0.15);
  border-color: rgba(201, 164, 92, 0.6);
  transform: translateY(-1px);
}
.chip.is-active {
  background: var(--color-gold);
  color: var(--color-forest);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(201, 164, 92, 0.3);
}

.chip.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Twist Chip – Estilo especial diferenciado */
.chip--twist {
  border-color: rgba(201, 164, 92, 0.6);
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(201, 164, 92, 0.05));
  letter-spacing: 0.03em;
}
.chip--twist:hover {
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.25), rgba(201, 164, 92, 0.1));
  border-color: var(--color-gold);
}
.chip--twist.is-active {
  background: linear-gradient(135deg, var(--color-gold), var(--color-champagne));
  color: var(--color-forest);
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(201, 164, 92, 0.4);
}

/* Twist Banner (arriba del grid cuando se filtra por Twist) */
.twist-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.12), rgba(201, 164, 92, 0.04));
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 14px;
  margin-bottom: 20px;
}

.twist-banner__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.twist-banner__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.twist-banner__text strong {
  color: var(--color-forest);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

.twist-banner__text span {
  color: #2a2a2a;
  font-size: 0.85rem;
  line-height: 1.4;
}


/* --- MAIN CONTENT --- */
.catalog-main {
  width: var(--container);
  margin: 0 auto;
  padding: 24px 0 100px; /* Extra padding for WhatsApp FAB */
}

/* --- VITRINA: contador, grilla y tarjetas ---
   Estética de boutique: foto protagonista, nombre en serif, "Inspirado en" como dato clave,
   precio sobrio y una sola acción. Las tarjetas de una fila quedan siempre de igual altura. */

.feedback {
  margin: 4px 0 20px;
  padding: 0;
  background: none;
  border: none;
  color: rgba(27, 33, 30, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
}

.feedback.is-error {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fbeeee;
  border: 1px solid #f0cfcf;
  color: #9b2c2c;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid rgba(8, 58, 45, 0.06);
  box-shadow: 0 1px 2px rgba(8, 58, 45, 0.04), 0 10px 30px rgba(8, 58, 45, 0.05);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideUpFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(8, 58, 45, 0.04), 0 18px 40px rgba(8, 58, 45, 0.1);
}

.product-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f2ee;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Las fotos de origen traen un marco gris: un leve acercamiento lo deja fuera del cuadro */
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.12);
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Etiquetas discretas sobre la foto (Twist, últimas unidades) */
.product-card__tag {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 58, 45, 0.88);
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product-card__tag--stock {
  top: auto;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-forest);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 14px 6px 4px;
  text-align: left;
}

.product-card__eyebrow {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #9a7b3c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card__name {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-charcoal);
}

.product-card__name button {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name button:hover {
  color: var(--color-emerald);
}

.product-card__inspired {
  margin: 0;
  color: rgba(27, 33, 30, 0.6);
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__inspired span {
  color: rgba(27, 33, 30, 0.85);
  font-style: italic;
}

/* Precio y talla al pie: margin-top auto alinea el pie de todas las tarjetas de la fila */
.product-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(8, 58, 45, 0.08);
}

.product-card__price {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: 0.01em;
}

.product-card__size {
  color: rgba(27, 33, 30, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card__actions {
  margin-top: 4px;
}

.product-card__add-wrapper {
  display: flex;
}

/* Botón de compra: verde de la marca con texto marfil; en la ficha ocupa el resto de la fila */
.product-card__add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--color-forest);
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--color-ivory);
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.product-card__add:hover {
  background: var(--color-emerald);
}

.product-card__add:active {
  transform: scale(0.98);
}

.product-card__add.is-success {
  background: var(--color-champagne);
  border-color: var(--color-champagne);
  color: var(--color-forest);
}

.product-card__add.is-disabled {
  background: transparent;
  border-color: rgba(27, 33, 30, 0.15);
  color: rgba(27, 33, 30, 0.4);
  cursor: not-allowed;
}

/* Selector de cantidad (solo en la ficha) */
.product-card__stepper {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 999px;
  overflow: hidden;
}

.product-card__stepper button {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--color-gold);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-card__stepper button:hover {
  background: rgba(201, 164, 92, 0.12);
}

.product-card__stepper span {
  min-width: 28px;
  text-align: center;
  color: var(--color-ivory);
  font-weight: 700;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 40px 24px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
  border: 1px dashed rgba(6, 59, 45, 0.2);
}
.empty-state h3 {
  color: var(--color-emerald);
  margin-bottom: 8px;
}

/* --- SKELETON LOADER --- */
.skeleton-card {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-element {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 14px;
}

.skeleton-text {
  height: 18px;
  border-radius: 4px;
  width: 80%;
  margin: 0 auto;
}

.skeleton-text.short {
  width: 50%;
}

.skeleton-button {
  height: 40px;
  border-radius: 8px;
  width: 100%;
  margin-top: 8px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- TRANSFER CARD --- */
.transfer-card {
  background: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-top: auto;
  margin-bottom: 16px;
}
.transfer-card h3 {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--color-champagne);
  font-size: 1.2rem;
}
.transfer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.transfer-item:last-child {
  margin-bottom: 0;
}
.transfer-label {
  color: rgba(245, 241, 232, 0.7);
}
.transfer-value {
  color: var(--color-ivory);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-btn {
  background: transparent;
  border: none;
  color: var(--color-gold);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.copy-btn:hover {
  background: rgba(201, 164, 92, 0.2);
}
.copy-btn svg {
  width: 16px;
  height: 16px;
}
.copy-btn.copied {
  color: #25D366;
}

/* --- FAB CANASTA DE PEDIDO --- */
.cart-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-champagne);
  color: var(--color-forest);
  box-shadow: 0 8px 24px rgba(220, 192, 115, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
}

.cart-fab:hover {
  transform: translateY(-3px) scale(1.05);
  background: #C4A759;
}

/* --- FAB WHATSAPP --- */
.whatsapp-fab {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  background: #1EBD5A;
}

.whatsapp-fab.is-disabled {
  display: none !important;
}

.cart-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E63946;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--color-emerald);
  animation: badge-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badge-pop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* --- DRAWER CANASTA --- */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 70;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop[hidden] {
  opacity: 0;
  pointer-events: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: rgba(8, 58, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-ivory);
  z-index: 71;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0,0,0,0.5);
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-drawer[hidden] {
  transform: translateX(100%);
}

.cart-drawer__header {
  padding: 24px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer__header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--color-champagne);
  margin: 0;
}

.cart-drawer__close {
  background: transparent;
  border: none;
  color: var(--color-ivory);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
}

.cart-drawer__close:hover {
  background: rgba(245, 241, 232, 0.1);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 241, 232, 0.05);
}

.cart-item__img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  background: white;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.cart-item__meta {
  font-size: 0.8rem;
  color: var(--color-champagne);
}

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

.cart-item__btn {
  background: rgba(245, 241, 232, 0.1);
  border: none;
  color: var(--color-ivory);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-item__btn:hover {
  background: rgba(245, 241, 232, 0.2);
}

.cart-item__btn--remove {
  color: #E63946;
  background: transparent;
}

.cart-item__btn--remove:hover {
  background: rgba(230, 57, 70, 0.1);
}

.cart-item__qty {
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 1ch;
  text-align: center;
}

.cart-drawer__footer {
  padding: 24px;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  background: var(--color-emerald);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.cart-drawer__total strong {
  font-size: 1.5rem;
  color: var(--color-champagne);
}

.cart-drawer__checkout {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: var(--color-champagne);
  color: var(--color-forest);
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.cart-drawer__checkout:hover {
  background: #C4A759;
  transform: translateY(-2px);
}

.cart-empty-state {
  text-align: center;
  color: rgba(245, 241, 232, 0.6);
  padding: 40px 0;
}

/* --- FICHA DE PRODUCTO (lightbox) ---
   Escritorio: foto a la izquierda (con galería) y columna de información con su propio desplazamiento.
   Orden de lectura: línea · nombre · inspiración · datos · precio · compra · confianza · descripción. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 23, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: fadeIn 0.3s ease forwards;
}

.lightbox__dialog {
  position: relative;
  width: min(1080px, 94vw);
  height: min(680px, calc(100svh - 48px));
  background: var(--color-forest);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(201, 164, 92, 0.18);
  z-index: 1;
  animation: slideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.lightbox__media {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: #f4f2ee;
}

.lightbox__photo {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
}

/* Mismo recorte leve que en las tarjetas para ocultar el marco gris de las fotos */
.lightbox__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
}

.lightbox__thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lightbox__thumbs[hidden] {
  display: none;
}

.lightbox__thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.lightbox__thumb:hover,
.lightbox__thumb[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--color-champagne);
}

.lightbox__details {
  flex: 0 0 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 56px 40px 36px;
  overflow-y: auto;
  color: var(--color-ivory);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 164, 92, 0.35) transparent;
}

.lightbox__eyebrow {
  margin: 0;
  color: var(--color-champagne);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox__name {
  margin: -8px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.02;
  color: var(--color-ivory);
}

/* "Inspirado en": el dato que más decide la compra, con filete dorado */
.lightbox__inspired {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-left: 3px solid var(--color-champagne);
  border-radius: 4px 12px 12px 4px;
  background: rgba(201, 164, 92, 0.06);
}

.lightbox__inspired[hidden] {
  display: none;
}

.lightbox__inspired-label {
  color: var(--color-champagne);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox__inspired-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ivory);
}

.lightbox__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lightbox__facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  border-radius: 999px;
  color: rgba(245, 241, 232, 0.85);
  font-size: 0.78rem;
  font-weight: 600;
}

.lightbox__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox__price {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-gold);
}

.lightbox__share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(201, 164, 92, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--color-champagne);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__share:hover,
.lightbox__share:focus-visible {
  background: rgba(201, 164, 92, 0.12);
}

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

/* En la ficha (fondo verde) el botón de compra va en dorado */
.lightbox__action-container .product-card__add {
  min-height: 48px;
  background: var(--color-champagne);
  border-color: var(--color-champagne);
  color: var(--color-forest);
  font-size: 0.92rem;
}

.lightbox__action-container .product-card__add:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.lightbox__action-container .product-card__add.is-success {
  background: var(--color-ivory);
  border-color: var(--color-ivory);
}

.lightbox__trust {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}

.lightbox__trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 241, 232, 0.8);
  font-size: 0.84rem;
  line-height: 1.4;
}

.lightbox__trust svg {
  flex-shrink: 0;
  color: var(--color-champagne);
}

.lightbox__section-title {
  margin: 0 0 10px;
  color: var(--color-champagne);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox__description {
  color: rgba(245, 241, 232, 0.82);
  font-size: 0.94rem;
  line-height: 1.75;
}

.lightbox__description p {
  margin: 0 0 12px;
}

.lightbox__description p:last-child {
  margin-bottom: 0;
}

.lightbox__description strong,
.lightbox__description b {
  color: var(--color-ivory);
  font-weight: 600;
}

.lightbox__description h3,
.lightbox__description h4 {
  margin: 18px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: var(--color-gold);
}

.lightbox__description ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 50%;
  background: rgba(8, 58, 45, 0.85);
  color: var(--color-gold);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__close:hover {
  background: var(--color-emerald);
  transform: rotate(90deg);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  /* Tarjeta compacta: la foto manda y el botón no se parte en dos líneas */
  .product-card {
    padding: 8px;
    border-radius: 16px;
  }
  .product-card__body {
    gap: 4px;
    padding: 12px 4px 2px;
  }
  .product-card__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .product-card__line {
    display: none;
  }
  .product-card__name {
    font-size: 1.15rem;
  }
  .product-card__inspired {
    font-size: 0.74rem;
  }
  .product-card__price {
    font-size: 1rem;
  }
  .product-card__size {
    font-size: 0.64rem;
  }
  .product-card__add {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .product-card__tag {
    left: 8px;
    top: 8px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }
  .product-card__tag--stock {
    top: auto;
    bottom: 8px;
  }

  /* Ficha como hoja inferior; todo el contenido se desplaza junto */
  .lightbox {
    align-items: flex-end;
  }
  .lightbox__dialog {
    flex-direction: column;
    width: 100vw;
    height: auto;
    max-height: 94svh;
    border-radius: 24px 24px 0 0;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(201, 164, 92, 0.2);
    overflow-y: auto;
    animation: slideUpSheet 0.3s cubic-bezier(0.175, 0.885, 0.32, 1) forwards;
  }
  @keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .lightbox__media {
    flex: none;
    gap: 10px;
    padding: 28px 16px 14px;
  }
  .lightbox__photo {
    height: 42vh;
    flex: none;
  }
  .lightbox__thumb {
    width: 52px;
    height: 52px;
  }
  .lightbox__details {
    flex: none;
    gap: 16px;
    padding: 22px 22px 0;
    overflow: visible;
  }
  .lightbox__name {
    font-size: 2.05rem;
  }
  .lightbox__inspired-value {
    font-size: 1.2rem;
  }
  .lightbox__price {
    font-size: 1.6rem;
  }
  /* La compra queda fija al pie de la hoja mientras se lee la descripción */
  #lightboxActionBottom {
    order: 99;
    position: sticky;
    bottom: 0;
    margin: 4px -22px 0;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    background: rgba(8, 58, 45, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201, 164, 92, 0.2);
    z-index: 10;
  }
  .lightbox__close {
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-forest);
    border-color: rgba(8, 58, 45, 0.12);
  }
  
  .whatsapp-fab span {
    display: none;
  }
  .whatsapp-fab {
    padding: 14px;
    border-radius: 50%;
  }
  
  .sticky-toolbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .sticky-toolbar__brand {
    font-size: 1.2rem;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
  .sticky-toolbar__logo {
    height: 52px;
  }
  .sticky-toolbar__title {
    font-size: 1.15rem;
  }
  .sticky-toolbar__link {
    font-size: 0.72rem;
    padding: 3px 8px;
    background: rgba(245, 241, 232, 0.08);
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .search-bar {
    max-width: none;
    min-width: 0;
    width: 100%;
    padding-bottom: 4px;
  }
  /* --- HORIZONTAL SCROLL FILTERS (MOBILE) --- */
  .sticky-toolbar__filters {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    
    animation: slideInFilters 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: 0.3s;
  }
  
  @keyframes slideInFilters {
    0% { transform: translateX(50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
  }
  .sticky-toolbar__filters::-webkit-scrollbar {
    display: none;
  }

  .chip.is-disabled {
    opacity: 0.4;
    pointer-events: none;
  }
  
  .chip-row {
    display: contents;
  }
  
  .chip {
    flex: 0 0 auto;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-color: rgba(201, 164, 92, 0.4);
    background: rgba(8, 58, 45, 0.4);
  }
  
  .chip-divider {
    display: block;
    flex: 0 0 auto;
    width: 1.5px;
    height: 20px;
    background: rgba(201, 164, 92, 0.35);
    border-radius: 2px;
    margin: 0 2px;
  }

}

@media (max-width: 480px) {
  .catalog-main {
    padding: 16px 0 100px;
  }
  .sticky-toolbar__logo {
    height: 44px;
  }
  .sticky-toolbar__title {
    font-size: 1.05rem;
  }
}

/* --- TOAST NOTIFICATION --- */
.toast-container {
  position: fixed;
  bottom: 100px; /* Above whatsapp FAB */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  align-items: center;
}

@media (min-width: 768px) {
  .toast-container {
    bottom: 24px;
  }
}

.toast-notification {
  background: rgba(227, 57, 70, 0.95); /* Red/Error */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(227, 57, 70, 0.3);
  animation: toastEnter 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.toast-notification.is-closing {
  animation: toastExit 0.3s ease-in forwards;
}

.toast-notification.toast-info {
  background: rgba(8, 58, 45, 0.95);
  box-shadow: 0 8px 24px rgba(8, 58, 45, 0.3);
  border: 1px solid rgba(201, 164, 92, 0.3);
}

@keyframes toastEnter {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastExit {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(0.9); }
}

/* Disabled stepper state */
.product-card__stepper button:disabled,
.cart-item__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* --- CHECKOUT DRAWER --- */
.cart-drawer--checkout {
  z-index: 75;
  max-width: 450px;
  background: rgba(5, 45, 35, 0.95);
}
.checkout-back-btn {
  background: none;
  border: none;
  color: var(--color-champagne);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-back-btn:hover {
  background: rgba(245, 241, 232, 0.1);
}
.checkout-body {
  gap: 24px;
  padding: 24px 24px 100px 24px;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.checkout-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 241, 232, 0.1);
}
.checkout-section h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--color-champagne);
  margin: 0 0 16px 0;
  font-size: 1.2rem;
}
.checkout-section--highlight {
  border-color: var(--color-champagne);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(245, 241, 232, 0.8);
}
.form-group input,
.form-group select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-ivory);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-champagne);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}
.delivery-notice {
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.7);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
  margin-top: -8px;
}
.delivery-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-champagne);
}
.delivery-notice a {
  color: var(--color-champagne);
  text-decoration: underline;
}
.urgency-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* --- MODAL TERMINOS --- */
.terms-dialog {
  max-width: 520px;
  padding: 32px;
  background: var(--color-emerald);
  color: var(--color-ivory);
  text-align: left;
  max-height: 80vh;
  overflow-y: auto;
}
.terms-dialog h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--color-champagne);
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.terms-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.terms-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.2s ease;
}
.terms-block__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.terms-block h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--color-ivory);
  font-size: 0.95rem;
  margin: 0 0 6px 0;
}
.terms-block p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.75);
  margin: 0;
}
/* Notice variant — amber border for critical info */
.terms-block--notice {
  border-color: rgba(255, 183, 77, 0.4);
  background: rgba(255, 183, 77, 0.06);
}
.terms-block--notice h4 {
  color: #FFB74D;
}
/* Positive variant — green/gold for guarantees */
.terms-block--positive {
  border-color: rgba(129, 199, 132, 0.4);
  background: rgba(129, 199, 132, 0.06);
}
.terms-block--positive h4 {
  color: #81C784;
}

/* --- BANNER INFO COMPACTO (CHECKOUT) --- */
.checkout-info-banner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 12px;
}
.checkout-info-banner__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-champagne);
  margin: 0 0 10px 0;
}
.checkout-info-banner__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkout-info-banner__list li {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(245, 241, 232, 0.8);
}
.checkout-info-banner__list li strong {
  color: var(--color-ivory);
}
.checkout-info-banner__footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

/* Toggle button */
.checkout-terms-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-champagne);
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.checkout-terms-toggle:hover {
  opacity: 1;
}
.checkout-terms-toggle svg {
  transition: transform 0.3s ease;
}
.checkout-terms-toggle.is-open svg {
  transform: rotate(180deg);
}

/* Accordion detail */
.checkout-terms-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 241, 232, 0.06);
  animation: termsSlideIn 0.3s ease forwards;
}
.checkout-terms-detail[hidden] {
  display: none;
}
.checkout-terms-detail .terms-block {
  padding: 12px;
}
.checkout-terms-detail .terms-block__icon {
  font-size: 1.1rem;
}
.checkout-terms-detail .terms-block h4 {
  font-size: 0.85rem;
}
.checkout-terms-detail .terms-block p {
  font-size: 0.8rem;
}
@keyframes termsSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- CHECKBOX ACEPTAR --- */
.checkout-accept__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.9);
  cursor: pointer;
}
.checkout-accept__label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-champagne);
  cursor: pointer;
  flex-shrink: 0;
}
.checkout-accept__label a {
  color: var(--color-champagne);
  text-decoration: underline;
}


/* --- CATÁLOGO Y BARRA DE CARGA --- */
.catalog-main {
  position: relative;
}

.catalog-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 32px;
}

.catalog-loader[hidden] {
  display: none;
}

.catalog-loader__content {
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.catalog-loader__text {
  color: var(--color-emerald);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.catalog-loader__bar-track {
  width: 100%;
  height: 6px;
  background: rgba(8, 58, 45, 0.12);
  border-radius: 3px;
  overflow: hidden;
}

.catalog-loader__bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-champagne), var(--color-gold));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.catalog-loader__percent {
  color: var(--color-emerald);
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 1px;
}

/* =========================================================
   EXPERIENCIA: entradas, imágenes, transiciones y sonido
   ========================================================= */

/* Tarjetas fuera de pantalla: esperan a ser vistas para animarse */
.product-card.is-deferred {
  animation-play-state: paused;
}

/* Imágenes que aparecen suavemente al terminar de cargar */
.fade-img {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card__image img.fade-img {
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.fade-img.is-loaded {
  opacity: 1;
}


/* Ficha: salida suave */
.lightbox.is-closing .lightbox__backdrop {
  animation: fadeOut 0.25s ease forwards;
}

.lightbox.is-closing .lightbox__dialog {
  animation: lightboxOut 0.25s ease forwards;
}

@keyframes fadeOut {
  to { opacity: 0; }
}

@keyframes lightboxOut {
  to { opacity: 0; transform: translateY(24px) scale(0.98); }
}

/* Canasta → checkout: la canasta retrocede mientras el checkout entra */
.cart-drawer {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, visibility 0.3s;
}

.cart-drawer[hidden] {
  visibility: hidden;
}

.cart-drawer.is-stepped-back[hidden] {
  transform: translateX(-40px);
  opacity: 0;
}

/* Miniatura que vuela a la canasta */
.fly-to-cart {
  position: fixed;
  z-index: 200;
  margin: 0;
  object-fit: cover;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  will-change: transform, opacity;
}

/* Botón para activar o silenciar los sonidos */
.sound-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid rgba(201, 164, 92, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--color-champagne);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  background: rgba(201, 164, 92, 0.12);
}

.sound-toggle[aria-pressed="false"] {
  opacity: 0.6;
}

.sound-toggle .icon-muted,
.sound-toggle[aria-pressed="false"] .icon-on {
  display: none;
}

.sound-toggle[aria-pressed="false"] .icon-muted {
  display: block;
}

/* Movimiento reducido (opción de accesibilidad del sistema): sin animaciones ni desplazamientos */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* La canasta flotante solo aparece cuando tiene productos */
.cart-fab[hidden] {
  display: none;
}

/* Navegación con teclado: contorno visible en todo lo que se puede activar */
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Dentro de la tarjeta (que recorta lo que sobresale) el contorno va hacia adentro */
.product-card__image:focus-visible {
  outline-offset: -3px;
}

/* Celular: la ficha es una hoja que se cierra deslizándola hacia abajo */
@media (max-width: 768px) {
  .lightbox__dialog {
    overscroll-behavior: contain;
    /* Sin "forwards": al terminar de entrar, el gesto puede moverla libremente */
    animation-fill-mode: backwards;
  }

  .lightbox__dialog::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: rgba(201, 164, 92, 0.5);
    z-index: 2;
  }
}

/* =========================================================
   SISTEMA VISUAL ALTA GAMA: checkout, transferencia, WhatsApp y cabecera móvil
   ========================================================= */

/* Botón de WhatsApp en la paleta de la marca (antes verde WhatsApp, chocaba con el resto) */
.whatsapp-fab {
  width: 54px;
  height: 54px;
  background: var(--color-forest);
  color: var(--color-gold);
  border: 1px solid rgba(201, 164, 92, 0.55);
  box-shadow: 0 10px 28px rgba(8, 58, 45, 0.35);
}

.whatsapp-fab:hover {
  background: var(--color-emerald);
  transform: translateY(-2px);
}

/* Canasta */
.cart-drawer__note {
  margin: -6px 0 14px;
  color: rgba(245, 241, 232, 0.55);
  font-size: 0.78rem;
}

/* Checkout: pasos numerados con círculo dorado */
.checkout-section h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: 1px solid var(--color-champagne);
  border-radius: 50%;
  color: var(--color-champagne);
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
}

.checkout-delivery-note {
  margin: -4px 0 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--color-champagne);
  border-radius: 0 10px 10px 0;
  background: rgba(201, 164, 92, 0.08);
  color: rgba(245, 241, 232, 0.85);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checkout-delivery-note[hidden] {
  display: none;
}

.checkout-payment-note {
  margin: 0 0 14px;
  color: rgba(245, 241, 232, 0.8);
  font-size: 0.86rem;
  line-height: 1.5;
}

.checkout-info-banner__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkout-info-banner__list li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-champagne);
}

.checkout-terms-detail .terms-block {
  display: block;
}

/* Casilla de aceptación con estilo propio (antes, el cuadro blanco del navegador) */
.checkout-accept__label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--color-champagne);
  border-radius: 6px;
  background: transparent;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.checkout-accept__label input[type="checkbox"]::after {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-left: 2px solid var(--color-forest);
  border-bottom: 2px solid var(--color-forest);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s ease;
}

.checkout-accept__label input[type="checkbox"]:checked {
  background: var(--color-champagne);
}

.checkout-accept__label input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

/* Datos de transferencia: etiqueta y valor nunca se pegan; el correo largo se corta bien */
.transfer-card {
  margin: 0;
}

.transfer-item {
  gap: 16px;
  margin-bottom: 10px;
}

.transfer-label {
  flex-shrink: 0;
}

.transfer-value {
  min-width: 0;
  margin: 0;
  justify-content: flex-end;
  text-align: right;
}

.transfer-value span {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  /* Cabecera compacta: logo más chico y sin el título repetido (el logo ya lo dice) */
  .sticky-toolbar__inner {
    gap: 8px;
  }
  .sticky-toolbar__logo {
    height: 40px;
  }
  .sticky-toolbar__title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .sticky-toolbar__brand {
    justify-content: space-between;
  }
  .sticky-toolbar__brand-text {
    margin-right: auto;
  }
  /* El borde derecho de los filtros se desvanece: indica que hay más hacia el lado */
  .sticky-toolbar__filters {
    -webkit-mask-image: linear-gradient(to right, #000 82%, transparent);
    mask-image: linear-gradient(to right, #000 82%, transparent);
    padding-right: 40px;
  }
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    padding: 0;
    bottom: 84px;
    right: 16px;
  }
}

/* =========================================================
   PÁGINA "CONOCE SMART COLLECTION" (info.php): editorial, sobre verde de la marca
   ========================================================= */

.info-page {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(201, 164, 92, 0.12), transparent 55%),
    var(--color-forest);
  color: var(--color-ivory);
}

.info-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 20px;
  background: rgba(8, 58, 45, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.18);
}

.info-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  padding: 8px 10px 8px 4px;
  color: var(--color-champagne);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.info-header__back:hover {
  color: var(--color-gold);
}

.info-header__logo img {
  display: block;
  height: 44px;
  width: auto;
}

.info-eyebrow {
  margin: 0 0 12px;
  color: var(--color-champagne);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.info-title {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-ivory);
}

.info-center {
  text-align: center;
}

.info-section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid rgba(201, 164, 92, 0.14);
}

.info-section p {
  color: rgba(245, 241, 232, 0.78);
  line-height: 1.75;
}

/* Portada */
.info-hero {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 80px;
  text-align: center;
  animation: splashFadeUp 0.9s ease-out backwards;
}

.info-hero__title {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  color: var(--color-ivory);
}

.info-hero__title em {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 500;
}

.info-hero__lead {
  max-width: 620px;
  margin: 0 auto 34px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.info-btn:hover {
  transform: translateY(-2px);
}

.info-btn--primary {
  background: var(--color-champagne);
  color: var(--color-forest);
}

.info-btn--primary:hover {
  background: var(--color-gold);
}

.info-btn--ghost {
  border: 1px solid rgba(201, 164, 92, 0.55);
  color: var(--color-gold);
}

.info-btn--ghost:hover {
  background: rgba(201, 164, 92, 0.1);
}

/* Pilares */
.info-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-pillar {
  padding: 28px 22px;
  border: 1px solid rgba(201, 164, 92, 0.18);
  border-radius: 18px;
  background: rgba(245, 241, 232, 0.03);
}

.info-pillar svg {
  color: var(--color-champagne);
}

.info-pillar h2 {
  margin: 16px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ivory);
}

.info-pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Especialidad y casas de diseñador */
.info-specialty {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.info-houses {
  padding: 32px;
  border: 1px solid rgba(201, 164, 92, 0.22);
  border-radius: 20px;
  text-align: center;
}

.info-section .info-houses__label {
  margin: 0 0 18px;
  color: var(--color-champagne);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.info-houses__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-houses__list li {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-ivory);
}

.info-houses__list li:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: var(--color-champagne);
}

.info-houses__note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  font-style: italic;
}

/* Video: portada propia con el logo; el reproductor se carga al tocar */
.info-video {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}

.info-video__frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.info-video__poster {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  border: none;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 164, 92, 0.22), transparent 60%),
    linear-gradient(160deg, #0d4030 0%, #072a20 100%);
  color: var(--color-gold);
}

.info-video__logo {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.info-video__play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding-left: 4px;
  border: 1px solid rgba(227, 199, 122, 0.7);
  border-radius: 50%;
  background: rgba(8, 58, 45, 0.6);
  transition: transform 0.25s ease, background 0.25s ease;
}

.info-video__poster:hover .info-video__play {
  transform: scale(1.08);
  background: var(--color-champagne);
  color: var(--color-forest);
}

.info-video__caption {
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-video__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Pasos */
.info-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.info-steps li {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(245, 241, 232, 0.08);
}

.info-steps__number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-champagne);
  border-radius: 50%;
  color: var(--color-champagne);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.info-steps h3,
.info-delivery__option h3 {
  margin: 16px 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ivory);
}

.info-steps p,
.info-delivery__option p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Entregas */
.info-delivery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.info-delivery__option {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(245, 241, 232, 0.1);
}

.info-delivery__option h3 {
  margin-top: 0;
}

.info-delivery__option.is-recommended {
  border-color: rgba(201, 164, 92, 0.55);
  background: rgba(201, 164, 92, 0.07);
}

.info-delivery__badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-champagne);
  color: var(--color-forest);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Preguntas frecuentes (acordeón nativo, sin JavaScript) */
.info-faq__list {
  max-width: 760px;
  margin: 32px auto 0;
}

.info-faq details {
  border-bottom: 1px solid rgba(201, 164, 92, 0.18);
}

.info-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-ivory);
}

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

.info-faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--color-champagne);
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.info-faq details[open] summary::after {
  transform: rotate(45deg);
}

.info-faq details p {
  margin: 0;
  padding: 0 4px 22px;
  max-width: 680px;
}

/* Cierre y pie */
.info-closing {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 88px;
  text-align: center;
  border-top: 1px solid rgba(201, 164, 92, 0.14);
}

.info-footer {
  padding: 32px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(201, 164, 92, 0.14);
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.85rem;
}

.info-footer p {
  margin: 0 0 8px;
}

.info-footer .info-footer__legal {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(245, 241, 232, 0.45);
}

.info-sticky-cta {
  display: none;
}

@media (max-width: 900px) {
  .info-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .info-specialty,
  .info-video {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-video__frame {
    max-width: 320px;
    margin: 0 auto;
  }
  .info-steps,
  .info-delivery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .info-header__back span {
    display: none;
  }
  .info-header__logo img {
    height: 36px;
  }
  .info-hero {
    padding: 56px 0 48px;
  }
  .info-section {
    padding: 52px 0;
  }
  .info-pillars {
    grid-template-columns: 1fr;
  }
  .info-houses {
    padding: 24px 18px;
  }
  .info-houses__list li {
    font-size: 1.1rem;
  }
  .info-actions .info-btn {
    width: 100%;
  }
  /* Acceso fijo al catálogo, con espacio reservado al final para no tapar el contenido */
  .info-page {
    padding-bottom: 84px;
  }
  .info-sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--color-champagne);
    color: var(--color-forest);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}

/* Textos de bienvenida: reparte las líneas para no dejar una palabra sola al final */
.splash-screen__lead,
.splash-screen__question,
.info-hero__lead,
.info-title {
  text-wrap: balance;
}

.info-hero__title {
  text-wrap: balance;
}

@media (max-width: 600px) {
  .info-hero__title br {
    display: none;
  }
}

/* --- REDES SOCIALES (portada, pie del catálogo e info.php) --- */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.social-links__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne);
}

.social-links__list {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.45);
  color: var(--color-gold);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links__link:hover,
.social-links__link:focus-visible {
  background: var(--color-champagne);
  color: var(--color-forest);
  transform: translateY(-2px);
}

.social-links--splash {
  margin-top: 22px;
  animation: splashFadeUp 0.7s ease-out 1.6s backwards;
}

.info-footer .social-links {
  margin-bottom: 22px;
}

/* El pie del catálogo ocupa el espacio que dejaba el catálogo para los botones flotantes */
.catalog-main:has(+ .catalog-footer) {
  padding-bottom: 24px;
}

.catalog-footer {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 110px;
  border-top: 1px solid rgba(201, 164, 92, 0.14);
  text-align: center;
}

.catalog-footer__brand {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: rgba(245, 241, 232, 0.6);
}

.catalog-footer__brand a {
  color: var(--color-champagne);
}

/* --- PRIVACIDAD Y CONDICIONES (legal.php) --- */
.legal .info-section {
  max-width: 760px;
  padding-top: 40px;
  border-top: 0;
}

.legal h2 {
  margin: 34px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
}

.legal p {
  line-height: 1.7;
}

.legal a,
.info-footer__legal a {
  color: var(--color-champagne);
}

/* El catálogo tiene fondo claro: el pie usa verde en vez de dorado para que se lea bien */
.catalog-footer {
  border-top-color: rgba(8, 58, 45, 0.12);
}

.catalog-footer .social-links__label {
  color: var(--color-emerald);
}

.catalog-footer .social-links__link {
  border-color: rgba(8, 58, 45, 0.35);
  color: var(--color-forest);
}

.catalog-footer .social-links__link:hover,
.catalog-footer .social-links__link:focus-visible {
  background: var(--color-forest);
  color: var(--color-gold);
}

.catalog-footer__brand {
  color: rgba(27, 33, 30, 0.6);
}

.catalog-footer__brand a {
  color: var(--color-emerald);
  font-weight: 600;
}
