/* ==========================================================================
   COMPONENTS - ANATOMÍA COMPLETA DE 13 SECCIONES (RONEO SHOP FASE 5.1)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECCIÓN 1: ANNOUNCEMENT BAR MARQUEE INFINITO
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   SECCIÓN 1: ANNOUNCEMENT BAR MARQUEE (FIJO AL INICIO DE LA PÁGINA)
   -------------------------------------------------------------------------- */
.announcement-bar {
  position: relative !important;
  width: 100% !important;
  height: var(--announcement-height, 32px) !important;
  min-height: var(--announcement-height, 32px) !important;
  max-height: var(--announcement-height, 32px) !important;
  background-color: #4d2525 !important;
  color: #ffffff !important;
  z-index: 20 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.announcement-bar__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.announcement-bar__track {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  width: max-content !important;
  white-space: nowrap !important;
  will-change: transform;
  animation: announcementMarqueeScroll 44s linear infinite !important;
}

.announcement-bar:hover .announcement-bar__track {
  animation-play-state: paused;
}

.announcement-bar__group {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.announcement-bar__item {
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--font-serif, 'Fraunces', 'Playfair Display', 'Cormorant Garamond', Georgia, serif) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  line-height: normal !important;
  padding-right: 56px !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes announcementMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   SECCIÓN 2: HEADER FIJO / STICKY EN SCROLL
   -------------------------------------------------------------------------- */
.site-header,
.checkout-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--header-height, 60px) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e5e1 !important;
  box-shadow: 0 2px 10px rgba(77, 37, 37, 0.04) !important;
  z-index: 125 !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-menu-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #4d2525 !important;
  padding: 0;
}

.header-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  padding: 4px 0 !important;
}

.header-logo__img {
  height: 34px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (min-width: 768px) {
  .header-logo__img {
    height: 38px !important;
    max-width: 175px !important;
  }
}

.header-logo__fallback {
  flex-direction: column;
  line-height: 0.88;
  font-family: var(--font-serif, 'Fraunces', Georgia, serif);
  font-weight: 800;
  color: #4d2525;
  letter-spacing: 0.03em;
}
.header-logo__fallback .logo-line-top {
  font-size: 18px;
  text-align: left;
}
.header-logo__fallback .logo-line-bottom {
  font-size: 18px;
  padding-left: 22px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #4d2525 !important;
  stroke: #4d2525 !important;
  transition: opacity var(--transition-fast);
}

.header-icon-btn:active {
  opacity: 0.7;
}

/* Badge circular de la bolsa */
.cart-badge,
.cart-count-badge,
#header-cart-count {
  position: absolute !important;
  top: -5px !important;
  right: -6px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background-color: #4d2525 !important;
  color: #ffffff !important;
  font-family: var(--font-sans, sans-serif) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 1px 4px rgba(77, 37, 37, 0.25);
}

.cart-badge.is-empty,
.cart-count-badge.is-empty,
#header-cart-count.is-empty {
  display: none !important;
}

/* Buscador Desplegable */
.search-bar-drawer {
  background-color: var(--color-bg, #ffffff);
  border-bottom: 1px solid var(--color-border, #e8e5e1);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, padding 0.3s ease;
  padding: 0 16px;
}

.search-bar-drawer.is-open {
  max-height: 80px;
  opacity: 1;
  padding: 12px 16px;
}

.search-bar-drawer__inner {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-bar-input {
  width: 100%;
  background-color: var(--color-surface, #f8f7f5);
  border: 1px solid var(--color-border, #e8e5e1);
  border-radius: 8px;
  padding: 10px 38px 10px 14px;
  font-size: 13.5px;
  color: var(--color-text, #4d2525);
}

.search-bar-input::placeholder {
  color: var(--color-text-muted, #7d5353);
}

.search-bar-close {
  position: absolute;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text, #4d2525);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   SECCIÓN 3: HERO EDITORIAL DE PRESENTACIÓN
   -------------------------------------------------------------------------- */
.editorial-hero {
  padding: 14px 16px 0;
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.editorial-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-bg-subtle);
}

.editorial-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
}

.editorial-hero__content {
  padding: 18px 4px 24px;
  text-align: left;
}

.editorial-hero__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: #121212;
  margin-bottom: 8px;
  line-height: 1.15;
}

.editorial-hero__subtitle {
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECCIÓN 4: CARRUSEL HORIZONTAL DE "COLECCIONES"
   -------------------------------------------------------------------------- */
.collections-section {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.collections-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin: 12px 0 18px;
  color: #121212;
}

.collections-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 16px 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.collections-carousel::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .collections-carousel {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    padding: 0 24px 32px;
  }
}

.collection-card {
  background: #f6f2ed;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100% !important;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.collection-card:active {
  transform: scale(0.98);
}

.collection-card__media {
  aspect-ratio: 3 / 4 !important;
  width: 100%;
  overflow: hidden;
  background-color: #ebe5de;
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-card__footer {
  padding: 12px 14px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f6f2ed;
}

.collection-card__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #121212;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.collection-card__count {
  font-size: 11px;
  color: #717171;
  margin-top: 3px;
}

.collection-card__arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #121212;
  transition: background 0.2s, transform 0.2s;
}

.collection-card:hover .collection-card__arrow {
  background: rgba(0, 0, 0, 0.12);
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   SECCIÓN 5: PESTAÑAS SERIF + CARRUSEL DE PRODUCTOS + VER TODO
   -------------------------------------------------------------------------- */
.category-tabs {
  display: flex;
  align-items: baseline;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 22px 16px 16px;
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(77, 37, 37, 0.42) !important;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  padding: 0 0 6px 0;
  line-height: 1;
}

@media (min-width: 990px) {
  .category-tab {
    font-size: 28px;
  }
}

.category-tab:hover {
  color: var(--color-text, #4d2525) !important;
}

.category-tab.is-active {
  color: var(--color-text, #4d2525) !important;
  border-bottom: 2px solid #4d2525 !important;
  font-weight: 500;
}

.products-wrapper {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

/* Carrusel horizontal en portada y relacionados: tarjetas más grandes y parejas */
.products-track--carousel {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: calc(47.5% - 6px) !important;
  gap: 10px !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 12px 24px !important;
  scrollbar-width: none;
  align-items: stretch !important;
}
.products-track--carousel::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .products-track--carousel {
    grid-auto-columns: calc(25% - 12px) !important;
    gap: 16px !important;
    padding: 8px 24px 32px !important;
  }
}

/* Cuadrícula de colección 2 columnas simétricas en móvil / 4 en escritorio */
.collection-grid,
.products-track--grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px 10px !important;
  padding: 4px 12px 36px !important;
  align-items: stretch !important;
}
@media (min-width: 768px) {
  .collection-grid,
  .products-track--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px 16px !important;
    padding: 8px 24px 48px !important;
  }
}

/* Tarjeta de producto 100% uniforme y simétrica */
.product-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  scroll-snap-align: start;
  background: transparent;
  border-radius: 12px;
  overflow: visible;
  position: relative;
  cursor: pointer;
}

/* Contenedor de imagen: proporción vertical editorial idéntica (3:4) y 100% simétrica en TODAS las tarjetas */
.product-card__media,
.product-card .product-card__image-wrapper,
.product-card:nth-child(even) .product-card__media,
.product-card:nth-child(odd) .product-card__media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #f3f1ed !important;
  flex-shrink: 0 !important;
}

/* Imagen interna: fija absoluta al 100% del contenedor para eliminar diferencias de ratio entre fotos */
.product-card__media img,
.product-card__img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  border-radius: 12px !important;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute !important;
  top: auto !important;
  bottom: 10px !important;
  left: 10px !important;
  right: auto !important;
  width: max-content !important;
  height: auto !important;
  max-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 4px !important;
  font-family: var(--font-sans) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.product-card__badge--new {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #231515 !important;
  border: 1px solid rgba(35, 21, 21, 0.08) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.product-card__badge--discount,
.badge--sale {
  background: #4d2525 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(77, 37, 37, 0.28) !important;
}

.product-card__badge--soldout,
.badge--soldout {
  background: rgba(24, 15, 15, 0.90) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Botón circular flotante de compra rápida Roneo Shop */
.product-card__quick-add,
.quick-add-btn,
.product-card__bag-btn {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #4d2525 !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(77, 37, 37, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, background-color 0.2s ease;
  padding: 0;
}

.product-card__bag-btn:hover,
.product-card__bag-btn:active,
.quick-add-btn:hover,
.quick-add-btn:active {
  transform: scale(1.08) !important;
}

/* Textos inferiores alineados a la misma altura */
.product-card__info,
.product-card__body {
  padding: 10px 2px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 4px !important;
}

.product-card__title {
  font-family: var(--font-sans, 'DM Sans', sans-serif) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #4d2525 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.product-card__title a,
.product-card__title-link {
  color: inherit !important;
  text-decoration: none !important;
}

.product-card__price-row,
.product-card__price {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #4d2525 !important;
  margin: 0 !important;
}

.price--compare {
  font-weight: 400;
  color: #8c6262 !important;
  text-decoration: line-through;
  font-size: 12px;
}

.view-all-wrapper {
  text-align: center;
  padding: 14px 0 24px;
}

.view-all-btn {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4d2525;
  padding-bottom: 4px;
  border-bottom: 1.5px solid #4d2525;
  display: inline-block;
  cursor: pointer;
  background: none;
  transition: opacity var(--transition-fast);
}


  /* --------------------------------------------------------------------------
   SECCIONES 6, 7 y 11: BLOQUES EDITORIALES (FEATURE BANNERS)
   -------------------------------------------------------------------------- */
  .feature-banner {
    padding: 14px 16px 28px;
    max-width: var(--page-max-width);
    margin: 0 auto;
  }

  .feature-banner__media {
    position: relative;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: var(--color-bg-subtle);
  }

  .feature-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .feature-banner__overlay-tag {
    position: absolute;
    top: 14px;
    left: 16px;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  }

  .feature-banner__content {
    padding-top: 18px;
    text-align: left;
  }

  .feature-banner__title {
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 400;
    color: #121212;
    margin-bottom: 10px;
  }

  .feature-banner__desc {
    font-size: 13.5px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .btn-editorial {
    display: inline-block;
    background-color: #121212;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 26px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
  }

  .btn-editorial:active {
    transform: scale(0.98);
  }

  /* --------------------------------------------------------------------------
   SECCIÓN 8: BLOQUE DESTACADO "COSMETICA COREANA" (FONDO TIERRA)
   -------------------------------------------------------------------------- */
  .promo-color-box {
    background-color: #8c6550;
    color: #ffffff;
    padding: 24px 16px 28px;
    margin: 12px 0 24px;
  }

  .promo-color-box__inner {
    max-width: var(--page-max-width);
    margin: 0 auto;
  }

  .promo-color-box__media {
    aspect-ratio: 4 / 3;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    margin-bottom: 18px;
  }

  .promo-color-box__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .promo-color-box__title {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .btn-light {
    display: inline-block;
    background-color: #ffffff;
    color: #121212;
    font-size: 12px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
  }

  /* --------------------------------------------------------------------------
   SECCIÓN 9: MULTIMEDIA VÍDEO + 2 PRODUCTOS DESTACADOS
   -------------------------------------------------------------------------- */
  .video-showcase-section {
    padding: 8px 16px 28px;
    max-width: var(--page-max-width);
    margin: 0 auto;
  }

  .video-showcase {
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: #000000;
    position: relative;
    margin-bottom: 20px;
  }

  .video-showcase video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-showcase__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
  }

  .video-showcase__play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
  }

  .video-showcase__play-overlay:hover .video-showcase__play-btn {
    transform: scale(1.08);
  }

  .duo-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
  }

  .video-showcase-btn-wrapper {
    text-align: center;
  }

  /* --------------------------------------------------------------------------
   SECCIÓN 10: TARJETA EDITORIAL "TRATAMIENTO CAPILAR"
   -------------------------------------------------------------------------- */
  .treatment-card-section {
    padding: 8px 16px 28px;
    max-width: var(--page-max-width);
    margin: 0 auto;
  }

  .treatment-card {
    background-color: #eeeeee;
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .treatment-card__media {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
  }

  .treatment-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .treatment-card__content {
    padding: 22px 18px 26px;
    text-align: left;
  }

  .treatment-card__title {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.15;
    color: #121212;
    margin-bottom: 10px;
  }

  .treatment-card__desc {
    font-size: 13px;
    color: #4a4a4a;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  /* --------------------------------------------------------------------------
   SECCIÓN 12: CARRUSEL DE TESTIMONIOS
   -------------------------------------------------------------------------- */
  .testimonials-section {
    max-width: var(--page-max-width);
    margin: 0 auto;
  }

  .testimonials-title {
    font-family: var(--font-serif);
    font-size: 22px;
    text-align: center;
    margin: 12px 0 18px;
    color: #121212;
  }

  .testimonials-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 28px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .testimonials-carousel::-webkit-scrollbar {
    display: none;
  }

  @media (min-width: 768px) {
    .testimonials-carousel {
      grid-template-columns: repeat(3, 1fr);
      grid-auto-flow: unset;
      grid-auto-columns: unset;
      padding: 4px 24px 36px;
    }
  }

  .testimonial-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-card);
    padding: 20px 18px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .testimonial-stars {
    color: #121212;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .testimonial-author {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #121212;
    letter-spacing: 0.04em;
  }

  .testimonial-text {
    font-size: 12.5px;
    color: #4a4a4a;
    line-height: 1.55;
  }

  /* --------------------------------------------------------------------------
   SECCIÓN 13: SITE FOOTER ESTILO SHOPIFY DAWN
   -------------------------------------------------------------------------- */
  .site-footer {
    border-top: 1px solid #401d1d;
    padding: 32px 16px 40px;
    text-align: center;
    background-color: #4d2525 !important;
    color: #ffffff !important;
  }

  .footer-country-pill {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    color: #ffffff;
    cursor: pointer;
  }

  .footer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
  }

  .footer-social-link {
    color: #ffffff;
    transition: opacity 0.2s ease;
  }

  .footer-social-link:hover {
    opacity: 0.8;
  }

  .footer-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 22px;
  }

  .footer-links-row a {
    color: #ffffff;
    text-decoration: none;
  }

  .footer-links-row a:hover {
    text-decoration: underline;
    color: #ffffff;
  }

  .footer-payment-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .payment-tag {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 12px;
  }

  /* --------------------------------------------------------------------------
   BARRA DE NAVEGACIÓN FIJA INFERIOR (5 BOTONES)
   -------------------------------------------------------------------------- */
  .bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height, 56px);
    background-color: #ffffff !important;
    border-top: 1px solid #e8e5e1 !important;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 150;
    box-shadow: 0 -2px 10px rgba(77, 37, 37, 0.04);
  }

  @media (min-width: 990px) {
    .bottom-tab-bar {
      display: none;
    }
  }

  .bottom-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    border-right: 1px solid #e8e5e1;
    color: #7d5353;
    font-size: 11px;
    font-weight: 400;
    position: relative;
    cursor: pointer;
    padding: 0;
  }

  .bottom-tab-item:last-child {
    border-right: none;
  }

  .bottom-tab-item.is-active {
    font-weight: 700;
    color: #4d2525 !important;
  }

  .bottom-tab-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.7;
  }

  .bottom-tab-badge {
    position: absolute;
    top: 6px;
    right: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #4d2525;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bottom-tab-badge.is-empty {
    display: none;
  }

  /* --------------------------------------------------------------------------
   MODAL BOTTOM-SHEET, CART DRAWER Y OTROS OVERLAYS
   -------------------------------------------------------------------------- */
  .sheet-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--color-overlay);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
  }

  .sheet-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
    z-index: 100;
    transform: translateY(100%);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
    padding: 20px 20px 28px;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    display: none;
  }

  .bottom-sheet.is-open {
    display: block !important;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  @media (min-width: 768px) {
    .bottom-sheet {
      max-width: 500px;
      left: 50%;
      border-radius: var(--radius-sheet);
    }

    .bottom-sheet.is-open {
      bottom: 40px;
      transform: translate(-50%, 0) !important;
    }

    /* Ocultar sheet rápido en Escritorio */
    #quick-add-sheet {
      display: none !important;
      visibility: hidden !important;
      pointer-events: none !important;
      opacity: 0 !important;
    }
  }

  .sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .sheet-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #121212;
  }

  .sheet-product-preview {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: center;
  }

  .sheet-product-media {
    width: 64px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-bg-subtle);
    flex-shrink: 0;
  }

  .sheet-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sheet-product-title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

  .sheet-product-price {
    font-size: 15px;
    font-weight: 700;
  }

  .sheet-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .stock-warning-text {
    color: #b91c1c;
    font-weight: 600;
    display: none;
  }

  .stock-warning-text.is-visible {
    display: inline;
  }

  .size-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .size-pill {
    min-width: 48px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    transition: all var(--transition-fast);
  }

  .size-pill.is-selected {
    background-color: #121212;
    color: #ffffff;
    border-color: #121212;
  }

  .size-pill.is-disabled {
    text-decoration: line-through;
    opacity: 0.35;
    cursor: not-allowed;
    background-color: #fafafa;
  }

  /* Cart Drawer Lateral */
  .cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90vw;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 110;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .cart-drawer.is-open {
    transform: translateX(0);
  }

  .cart-drawer__header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
  }

  .cart-drawer__title {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .cart-free-shipping-bar {
    padding: 12px 20px;
    background-color: #fafafa;
    border-bottom: 1px solid var(--color-border);
  }

  .cart-free-shipping-text {
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
  }

  .cart-progress-track {
    width: 100%;
    height: 5px;
    border-radius: var(--radius-full);
    background-color: #eaeaea;
    overflow: hidden;
  }

  .cart-progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background-color: #121212;
    width: 0%;
    transition: width 0.35s ease;
  }

  .cart-rewards-box {
    padding: 12px 16px;
    background-color: #faf9f7;
    border-bottom: 1px solid #ece9e5;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cart-reward-tier {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .cart-reward-tier__header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    line-height: 1.3;
    color: #3b2828;
  }

  .cart-reward-tier__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4d2525;
    flex-shrink: 0;
  }

  .cart-reward-tier.is-unlocked .cart-reward-tier__icon {
    color: #157347;
  }

  .cart-reward-tier__bar {
    width: 100%;
    height: 5px;
    background-color: #e9e5e0;
    border-radius: 999px;
    overflow: hidden;
  }

  .cart-reward-tier__fill {
    height: 100%;
    background-color: #4d2525;
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease;
  }

  .cart-reward-tier__fill--gift {
    background: linear-gradient(90deg, #4d2525 0%, #b08d57 100%);
  }

  .cart-reward-tier.is-unlocked .cart-reward-tier__fill {
    background-color: #157347;
  }

  .cart-gift-unlocked-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8f5f0;
    border: 1px solid #dfc298;
    margin-top: 4px;
  }

  .cart-drawer__items,
  #cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .cart-drawer-item {
    display: grid !important;
    grid-template-columns: 78px 1fr !important;
    gap: 14px !important;
    align-items: start !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #efefef;
  }

  .cart-drawer-item__media {
    width: 78px !important;
    height: 106px !important;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: block;
    flex-shrink: 0;
  }

  .cart-drawer-item__img,
  .cart-drawer-item img {
    width: 78px !important;
    height: 106px !important;
    max-width: 78px !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-radius: 8px !important;
  }

  .cart-drawer-item__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 106px;
    min-width: 0;
  }

  .cart-drawer-item__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .cart-drawer-item__title {
    font-size: 13px;
    font-weight: 600;
    color: #121212;
    text-transform: uppercase;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cart-drawer-item__remove {
    background: transparent;
    border: none;
    color: #888888;
    padding: 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cart-drawer-item__remove:hover {
    color: #d92d20;
    background: #fff0f0;
  }

  .cart-drawer-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #666666;
    margin: 6px 0;
  }

  .cart-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f6f6f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11.5px;
  }

  .cart-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    display: inline-block;
  }

  .cart-drawer-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
  }

  .cart-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    height: 30px;
    overflow: hidden;
  }

  .cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: #ffffff;
    color: #121212;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cart-qty-btn:hover {
    background: #f2f2f2;
  }

  .cart-qty-value {
    min-width: 26px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
  }

  .cart-drawer-item__price {
    font-size: 14px;
    font-weight: 700;
    color: #121212;
  }

  .cart-drawer__footer {
    border-top: 1px solid #eaeaea;
    padding: 16px;
    background: #ffffff;
  }

  .cart-drawer__subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  /* Menú Lateral Izquierdo */
  .hamburger-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 80vw;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 110;
    transform: translateX(-100%);
    transition: transform var(--transition-smooth);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .hamburger-drawer.is-open {
    transform: translateX(0);
  }

  .hamburger-drawer__close {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .hamburger-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .hamburger-drawer__link {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    color: #121212;
    letter-spacing: 0.04em;
  }

  .hamburger-drawer__admin {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Modal Info */
  .info-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
  }

  .info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .info-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .info-item__title {
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 2px;
  }

  .info-item__desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
  }


/* ==========================================================================
   FASE 2: DETALLE DE PRODUCTO, CATÁLOGO Y CHECKOUT
   ========================================================================== */

/* --------------------------------------------------------------------------
   A) DETALLE DE PRODUCTO (product.html)
   -------------------------------------------------------------------------- */
.product-breadcrumbs {
  padding: 12px 16px;
  font-size: 11.5px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.product-breadcrumbs::-webkit-scrollbar {
  display: none;
}
.product-breadcrumbs a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.product-breadcrumbs a:hover {
  color: var(--color-text);
}
.product-breadcrumbs span.active-crumb {
  color: var(--color-text);
  font-weight: 600;
}

.product-detail-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 990px) {
  .product-detail-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    padding: 24px 20px 48px;
    max-width: var(--page-max-width);
    margin: 0 auto;
    align-items: start;
  }
}

/* Galería Deslizable en Móvil / Cuadrícula Desktop */
.product-gallery-wrapper {
  width: 100%;
  position: relative;
}

.product-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 10px;
  padding: 0 16px;
  width: 100%;
}
.product-gallery::-webkit-scrollbar {
  display: none;
}

.product-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;
}

.product-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-badge);
  letter-spacing: 0.04em;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 0;
}

.gallery-counter {
  font-size: 11.5px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.gallery-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1d1d1;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.gallery-dot.is-active {
  width: 18px;
  border-radius: 4px;
  background-color: #121212;
}

.gallery-thumbnails {
  display: none;
}

@media (min-width: 990px) {
  .product-gallery {
    padding: 0;
    gap: 16px;
    flex-direction: column;
    overflow-x: visible;
  }
  .product-gallery__slide {
    flex: 0 0 auto;
    width: 100%;
  }
  .gallery-pagination {
    display: none;
  }
  .gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
  }
  .gallery-thumb {
    width: 70px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f5f5f5;
    opacity: 0.7;
    transition: all var(--transition-fast);
  }
  .gallery-thumb.is-active,
  .gallery-thumb:hover {
    border-color: #121212;
    opacity: 1;
  }
  .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Panel de Información Sticky */
.product-info-panel {
  padding: 20px 16px;
}

@media (min-width: 990px) {
  .product-info-panel {
    padding: 0;
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }
}

.product-info__brand {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #717171;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-info__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  color: #121212;
  line-height: 1.25;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-info__price-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.product-info__price {
  font-size: 22px;
  font-weight: 700;
  color: #121212;
  letter-spacing: -0.01em;
}

.product-info__compare-price {
  font-size: 15px;
  color: #717171;
  text-decoration: line-through;
}

.product-info__savings-pill {
  background-color: #f0f0f0;
  color: #121212;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-info__tax-note {
  font-size: 12px;
  color: #717171;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Selector de Tallas */
.product-variants-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.size-guide-trigger {
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  color: #121212;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.size-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.size-pill {
  min-width: 52px;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  font-size: 13px;
  font-weight: 600;
  background-color: #ffffff;
  color: #121212;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.size-pill:hover:not(.is-disabled) {
  border-color: #121212;
}

.size-pill.is-selected {
  background-color: #121212;
  color: #ffffff;
  border-color: #121212;
}

.size-pill.is-disabled {
  opacity: 0.38;
  text-decoration: line-through;
  background-color: #f7f7f7;
  cursor: not-allowed;
  border-color: #e5e5e5;
}

/* Indicador dinámico de stock */
.stock-status-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  margin-bottom: 18px;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-dot.is-green {
  background-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.stock-dot.is-orange {
  background-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
}

.stock-dot.is-gray {
  background-color: #9ca3af;
}

/* Stepper y Botones de Compra */
.product-quantity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-quantity-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 0 6px;
}

.product-quantity-stepper button {
  width: 34px;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-quantity-stepper span {
  font-size: 14px;
  font-weight: 700;
}

.btn-add-to-cart {
  width: 100%;
  height: 50px;
  background-color: #121212;
  color: #ffffff;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  margin-bottom: 10px;
}

.btn-add-to-cart:active {
  transform: scale(0.99);
}

.btn-add-to-cart:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-buy-now {
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border: 1.5px solid #121212;
  color: #121212;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  margin-bottom: 18px;
}

.btn-buy-now:active {
  background-color: #f7f7f7;
}

.btn-buy-now:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Caja de Confianza */
.product-trust-box {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #2b2b2b;
}

.trust-item span.trust-icon {
  font-size: 16px;
}

/* Acordeones Desplegables */
.product-accordions {
  border-top: 1px solid var(--color-border);
  margin-top: 10px;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}

.accordion-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  list-style: none;
}
.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--transition-fast);
  line-height: 1;
}

details[open] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding-top: 12px;
  font-size: 13px;
  color: #4b4b4b;
  line-height: 1.6;
}

/* Sección También te puede gustar */
.related-products-section {
  padding: 36px 0 24px;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.related-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Modal Guía de Tallas */
.size-guide-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.size-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: center;
}

.size-guide-table th {
  background-color: #f7f7f7;
  padding: 10px 8px;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
}

.size-guide-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eee;
}

/* --------------------------------------------------------------------------
   B) PÁGINA DE COLECCIÓN Y CATÁLOGO COMPLETO (collection.html)
   -------------------------------------------------------------------------- */
.collection-hero {
  text-align: center;
  padding: 24px 16px 12px;
  max-width: 800px;
  margin: 0 auto;
}

.collection-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #121212;
}

.collection-hero__desc {
  font-size: 13px;
  color: #555555;
  max-width: 540px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.collection-quick-pills {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 8px;
  padding: 4px 16px 14px;
  justify-content: flex-start;
}
.collection-quick-pills::-webkit-scrollbar {
  display: none;
}

@media (min-width: 990px) {
  .collection-quick-pills {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.quick-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background-color: #f3f3f3;
  color: #121212;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

.quick-pill.is-active,
.quick-pill:hover {
  background-color: #121212;
  color: #ffffff;
}

.quick-pill.is-sale {
  color: #b91c1c;
}
.quick-pill.is-sale.is-active {
  background-color: #b91c1c;
  color: #ffffff;
}

.collection-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 20px;
}

@media (min-width: 990px) {
  .collection-toolbar {
    padding: 14px 20px;
    max-width: var(--page-max-width);
    margin: 0 auto 24px;
  }
}

.collection-toolbar__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  cursor: pointer;
}

.collection-toolbar__count {
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.collection-toolbar__sort-select {
  padding: 7px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  background-color: #ffffff;
  color: #121212;
  cursor: pointer;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 10px;
  padding: 0 16px 40px;
}

@media (min-width: 990px) {
  .collection-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    padding: 0 20px 60px;
    max-width: var(--page-max-width);
    margin: 0 auto;
  }
}

/* Modal Filtros */
.filter-group {
  margin-bottom: 20px;
}

.filter-group__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #121212;
}

/* --------------------------------------------------------------------------
   C) PÁGINA DE CHECKOUT (checkout.html)
   -------------------------------------------------------------------------- */
.checkout-header {
  height: var(--header-height, 60px) !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #efefef !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 140 !important;
}

@media (min-width: 990px) {
  .checkout-header {
    padding: 0 32px;
  }
}

.checkout-header__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #121212;
}

/* Resumen Desplegable en Móvil */
.order-summary-toggle {
  background-color: #f6f6f6;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.order-summary-panel {
  display: none;
  background-color: #fafafa;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px;
}

.order-summary-panel.is-open {
  display: block;
}

.checkout-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 990px) {
  .order-summary-toggle {
    display: none;
  }
  .checkout-layout {
    display: grid;
    grid-template-columns: 58% 42%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    gap: 40px;
  }
  .order-summary-panel {
    display: block !important;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 80px;
    height: fit-content;
  }
}

/* Items del Resumen */
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-item-media {
  position: relative;
  width: 52px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0f0;
  flex-shrink: 0;
}

.checkout-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-qty {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #717171;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-item-details {
  flex: 1;
}

.checkout-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #121212;
  line-height: 1.25;
}

.checkout-item-size {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.checkout-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: #121212;
}

/* Totales en Checkout */
.checkout-totals-box {
  border-top: 1px solid #e0e0e0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #4b4b4b;
}

.checkout-total-line.is-grand-total {
  font-size: 18px;
  font-weight: 700;
  color: #121212;
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
  margin-top: 4px;
}

/* Formulario de Checkout */
.checkout-form-container {
  padding: 20px 16px;
}

@media (min-width: 990px) {
  .checkout-form-container {
    padding: 0;
  }
}

/* Eliminación de marcos/franjas innecesarias de fieldset en checkout y flujo vertical 100% limpio */
fieldset.form-section,
.form-section {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 28px 0 !important;
  min-inline-size: 0 !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

legend.form-section__title,
.form-section__title {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #121212 !important;
  letter-spacing: 0.01em !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.checkout-form-container .form-row,
.form-section .form-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  clear: both !important;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #4b4b4b;
}

.form-input,
.form-select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 13.5px;
  background-color: #ffffff;
  color: #121212;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: #121212;
}

.form-hint {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Tarjeta Envío Oficial Correos y Correos Express */
.shipping-option-card {
  border: 2px solid #121212;
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.shipping-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shipping-option-title {
  font-size: 13.5px;
  font-weight: 700;
}

.shipping-option-subtitle {
  font-size: 11.5px;
  color: var(--color-text-muted);
}

.shipping-option-price {
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   FASE 6.1: RESUMEN DEL PEDIDO ARRIBA DEL FORMULARIO Y SELECTOR CORREOS
   ========================================================================== */
.order-summary-top-container {
  width: 100%;
  margin: 12px 0 20px 0;
}

.order-summary-top-card {
  background-color: #fffaf8;
  border: 1px solid #ebd4cd;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(77, 37, 37, 0.04);
}

.order-summary-toggle {
  background-color: #f1efec !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 16px !important;
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer;
  font-family: inherit;
  color: #4d2525;
  transition: background-color 0.2s ease;
}

.order-summary-toggle:hover {
  background-color: #f0d4cd !important;
}

.summary-toggle-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  color: #4d2525 !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.summary-chevron-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.order-summary-drawer-body.is-open + * .summary-chevron-icon,
.order-summary-toggle[aria-expanded="true"] .summary-chevron-icon {
  transform: rotate(180deg);
}

.summary-toggle-right {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #4d2525 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  font-variant-numeric: tabular-nums !important;
}

.order-summary-drawer-body {
  display: none;
  padding: 18px;
  background-color: #fffaf8;
  border-top: 1px solid #ebd4cd;
}

.order-summary-drawer-body.is-open {
  display: block;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2e2dc;
}

.checkout-summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item-media {
  position: relative;
  width: 56px;
  height: 74px;
  border-radius: 8px;
  overflow: visible;
  background-color: #f0e2dd;
  flex-shrink: 0;
}

.summary-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.summary-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #4d2525;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  border: 1.5px solid #ffffff;
}

.summary-item-details {
  flex: 1;
  text-align: left;
}

.summary-item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #4d2525;
  line-height: 1.3;
}

.summary-item-specs {
  font-size: 12px;
  color: #6e4a4a;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-item-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.summary-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #4d2525;
  text-align: right;
  white-space: nowrap;
}

.checkout-summary-totals {
  border-top: 1px solid #ebd4cd;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #5a3a3a;
}

.summary-total-row.is-grand-total {
  font-size: 17.5px;
  font-weight: 700;
  color: #4d2525;
  border-top: 1px solid #ebd4cd;
  padding-top: 10px;
  margin-top: 4px;
}

/* Selector de Transportistas (Correos vs Correos Express) */
.shipping-carriers-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.shipping-carrier-card {
  border: 1.5px solid #d9d9d9;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shipping-carrier-card:hover {
  border-color: #bfa199;
}

.shipping-carrier-card.is-selected {
  border-color: #4d2525;
  background-color: #fffaf8;
  box-shadow: 0 0 0 1px #4d2525;
}

.shipping-carrier-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shipping-carrier-radio {
  accent-color: #4d2525;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.shipping-carrier-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #121212;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shipping-carrier-desc {
  font-size: 11.5px;
  color: #666;
  margin-top: 2px;
}

.shipping-carrier-price {
  text-align: right;
  white-space: nowrap;
}

.shipping-carrier-amount {
  font-size: 14.5px;
  font-weight: 700;
  color: #121212;
}

.shipping-carrier-amount.is-free {
  color: #15803d;
}

.shipping-carrier-vat {
  font-size: 10.5px;
  color: #888;
  display: block;
}

.shipping-option-price.is-free {
  color: #16a34a;
}

/* Bloque de Pago Seguro con Stripe */
.payment-methods-box {
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.payment-method-item {
  border-bottom: 1px solid #d9d9d9;
}
.payment-method-item:last-child {
  border-bottom: none;
}

.payment-method-header {
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  cursor: default;
  background-color: #ffffff;
}

.payment-method-item.is-selected .payment-method-header {
  background-color: #f8f8f8;
}

.payment-method-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.payment-method-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.payment-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #eeeeee;
}
.payment-badge.is-bizum {
  background-color: #00aba9;
  color: #ffffff;
}

.payment-method-body {
  display: none;
  padding: 14px 16px;
  background-color: #f8f8f8;
  border-top: 1px solid #ebebeb;
  font-size: 12.5px;
  color: #555555;
  line-height: 1.5;
}

.payment-method-item.is-selected .payment-method-body {
  display: block;
}

/* Botón Finalizar Pago */
.btn-submit-order {
  width: 100%;
  height: 54px;
  background-color: #121212;
  color: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.btn-submit-order:hover {
  opacity: 0.9;
}

.btn-submit-order:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Pantalla Pedido Confirmado */
.order-confirmation-box {
  padding: 40px 16px 60px;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.order-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #e6f9ed;
  color: #16a34a;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.order-success-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.order-number-badge {
  display: inline-block;
  background-color: #f2f2f2;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.order-summary-card {
  background-color: #fafafa;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}


/* ==========================================================================
   FASE 3.5: FICHA OFICIAL DE PRODUCTO - RONEO SHOP (ABRIGO PANDORA)
   ========================================================================== */

/* Migas de pan centradas */
.product-breadcrumbs--exact {
  text-align: center;
  font-size: 11.5px;
  color: #555555;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-breadcrumbs--exact a {
  color: #555555;
  transition: color 0.2s;
}

.product-breadcrumbs--exact a:hover {
  color: #121212;
}

.breadcrumb-chevron {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
}

/* Escenario de Galería */
.pdp-stage {
  padding: 0 16px;
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.pdp-gallery-card {
  position: relative;
  aspect-ratio: 3 / 4.2;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f7f7f7;
  width: 100%;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.pdp-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  pointer-events: auto;
  will-change: transform, opacity;
}

/* Animaciones de Deslizamiento Lateral (Slide) para Preview y Lightbox */
@keyframes gallerySlideFromRight {
  from {
    opacity: 0.25;
    transform: translate3d(36px, 0, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes gallerySlideFromLeft {
  from {
    opacity: 0.25;
    transform: translate3d(-36px, 0, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.slide-anim-next {
  animation: gallerySlideFromRight 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-anim-prev {
  animation: gallerySlideFromLeft 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Controles superpuestos en la Preview (Móvil y Escritorio) */
#pdp-pager-counter,
.pdp-pager-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(77, 37, 37, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  z-index: 5;
  pointer-events: none;
}

.pdp-pager-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #4d2525;
  border: 1px solid rgba(77, 37, 37, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.pdp-pager-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

.pdp-pager-arrow:active {
  transform: translateY(-50%) scale(0.94);
}

#pdp-pager-prev,
.pdp-pager-arrow--prev {
  left: 12px;
}

#pdp-pager-next,
.pdp-pager-arrow--next {
  right: 12px;
}

/* Ficha de Detalles */
.pdp-details-stage {
  padding: 6px 16px 24px;
  max-width: 580px;
  margin: 0 auto;
}

.pdp-badge-soldout {
  background-color: #767676;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-title-serif {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #121212;
  margin-bottom: 6px;
  line-height: 1.2;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.pdp-price-bold {
  font-size: 16px;
  font-weight: 700;
  color: #121212;
}

.pdp-tax-note {
  font-size: 12px;
  color: #555555;
  line-height: 1.4;
  margin-bottom: 12px;
}

.pdp-tax-note a {
  text-decoration: underline;
  color: inherit;
}

/* Punto de Stock */
.pdp-stock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #555555;
  margin: 12px 0 16px;
}

.pdp-stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.pdp-stock-dot.is-out {
  background-color: #121212;
}

.pdp-stock-dot.is-in {
  background-color: #108043;
  box-shadow: 0 0 0 3px rgba(16, 128, 67, 0.2);
}

/* Selector Circular de Colores */
.pdp-option-label {
  font-size: 13px;
  font-weight: 600;
  color: #121212;
  margin-bottom: 8px;
  display: block;
}

.pdp-option-label span {
  font-weight: 400;
}

.color-swatches-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.color-swatch-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-swatch-circle.is-selected {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #4d2525 !important;
}

.color-swatch-circle.is-out::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -2px;
  right: -2px;
  height: 1.5px;
  background-color: #ffffff !important;
  transform: rotate(45deg);
  box-shadow: 0 0 2px rgba(77, 37, 37, 0.4);
}

/* Selector CIRCULAR de Tallas con Tachado Diagonal */
.size-circles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.size-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d4b2aa;
  background-color: #ffffff;
  color: #4d2525;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.15s ease;
}

.size-circle-btn.is-selected {
  background-color: #4d2525 !important;
  color: #ffffff !important;
  border-color: #4d2525 !important;
}

.size-circle-btn.is-selected.is-out {
  background-color: #7d5353 !important;
  border-color: #7d5353 !important;
  color: #ffffff !important;
}

.size-circle-btn.is-out::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 1.5px;
  background-color: #c9a9a2;
  transform: rotate(45deg);
  pointer-events: none;
}

.size-circle-btn.is-selected.is-out::after {
  background-color: #ffffff;
}

/* Fila Unificada: Stepper + Botón Carrito */
.pdp-action-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.pdp-qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 112px;
  height: 48px;
  border: 1px solid #e8e5e1;
  border-radius: 6px;
  padding: 0 10px;
  background-color: #ffffff;
  flex-shrink: 0;
}

.pdp-qty-stepper button {
  width: 28px;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  color: #4d2525;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-qty-stepper span {
  font-size: 14px;
  font-weight: 700;
  color: #4d2525;
}

.btn-pdp-cart {
  flex: 1;
  height: 48px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: #4d2525;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-pdp-cart:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-pdp-cart:disabled {
  background-color: #f0dbd5;
  color: #a58178;
  cursor: not-allowed;
}

/* Botón Expreso Bizum / Tarjeta */
.btn-pdp-express {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  background-color: #4d2525;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-pdp-express.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.pdp-more-payments {
  font-size: 12px;
  color: #7d5353;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-bottom: 18px;
}

/* Banner de Envío Gratis 80€ */
.pdp-shipping-banner {
  background-color: #f8f7f5;
  border: 1px solid #e8e5e1;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #4d2525;
  margin-bottom: 16px;
}

.pdp-utility-links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e5e1;
  font-size: 12.5px;
  color: #4d2525;
  margin-bottom: 24px;
}

.pdp-utility-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-weight: 500;
  padding: 0;
}

/* ==========================================================================
   LAYOUT EDITORIAL PDP EN ESCRITORIO (2 COLUMNAS >= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  #quick-add-sheet {
    display: none !important;
  }

  .product-breadcrumbs--exact {
    max-width: 1220px !important;
    margin: 0 auto 16px !important;
    padding: 0 48px !important;
    text-align: left !important;
    justify-content: flex-start !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #7a685f !important;
  }

  .pdp-layout-grid {
    max-width: 1220px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 12px 48px 72px !important;
    display: grid !important;
    grid-template-columns: minmax(420px, 52%) minmax(380px, 48%) !important;
    gap: 56px !important;
    align-items: start !important;
    box-sizing: border-box !important;
  }

  /* Columna Izquierda: Galería Interactiva Sticky */
  .pdp-stage {
    position: sticky !important;
    top: 96px !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .pdp-gallery-card {
    aspect-ratio: 4 / 5 !important;
    max-height: 78vh !important;
    width: 100% !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f6f3ef !important;
    position: relative !important;
  }

  .pdp-gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  /* Controles Superpuestos sobre la Foto */
  #pdp-pager-counter {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    background: rgba(77, 37, 37, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    color: #ffffff !important;
    padding: 5px 13px !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    z-index: 4 !important;
  }


  .pdp-pager-arrow {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #4d2525 !important;
    border: 1px solid rgba(77, 37, 37, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
  }

  .pdp-pager-arrow:hover {
    background: #ffffff !important;
    transform: translateY(-50%) scale(1.06) !important;
  }

  #pdp-pager-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 16px !important;
    z-index: 4 !important;
  }

  #pdp-pager-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 16px !important;
    z-index: 4 !important;
  }

  /* Columna Derecha: Información y Compra */
  .pdp-details-stage {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  .pdp-title-serif {
    font-size: clamp(1.75rem, 2.4vw, 2.25rem) !important;
    color: #2d1414 !important;
    text-align: left !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.15 !important;
  }

  .pdp-price-row {
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
  }

  .pdp-price-bold {
    font-size: 1.65rem !important;
    color: #4d2525 !important;
  }

  .product-info__compare-price {
    font-size: 1.25rem !important;
  }

  .pdp-tax-note {
    text-align: left !important;
    margin-bottom: 18px !important;
  }

  .pdp-stock-row {
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
  }

  .pdp-option-label {
    text-align: left !important;
  }

  .color-swatches-row,
  .size-circles-row {
    justify-content: flex-start !important;
  }

  .pdp-action-row {
    margin-bottom: 14px !important;
  }

  .btn-pdp-cart {
    height: 52px !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    border-radius: 8px !important;
  }

  .btn-pdp-express {
    height: 52px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
  }

  /* Sección También te puede gustar en Escritorio */
  .related-products-section {
    max-width: 1220px !important;
    padding: 48px 48px 64px !important;
    margin: 0 auto !important;
    border-top: 1px solid rgba(77, 37, 37, 0.10) !important;
    box-sizing: border-box !important;
  }

  .related-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
  }
}

/* Modal Lightbox / LightGallery Inmersivo */
.pdp-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(18, 10, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
  -webkit-user-select: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pdp-lightbox.is-open {
  display: flex;
}

/* Barra superior de controles */
.pdp-lightbox__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 25;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .pdp-lightbox__topbar {
    padding: 24px 32px;
  }
}

.pdp-lightbox__counter {
  pointer-events: auto;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pdp-lightbox__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.pdp-lightbox__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  padding: 0;
}

.pdp-lightbox__btn:hover {
  background: #4d2525;
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}

.pdp-lightbox__btn:active {
  transform: scale(0.95);
}

/* Flechas laterales dentro del Lightbox */
.pdp-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  padding: 0;
}

.pdp-lightbox__arrow--prev {
  left: 14px;
}

.pdp-lightbox__arrow--next {
  right: 14px;
}

@media (min-width: 1024px) {
  .pdp-lightbox__arrow--prev {
    left: 28px;
  }
  .pdp-lightbox__arrow--next {
    right: 28px;
  }
}

.pdp-lightbox__arrow:hover {
  background: #4d2525;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.05);
}

.pdp-lightbox__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Viewport e Imagen Interactiva */
.pdp-lightbox__viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.pdp-lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  pointer-events: auto;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  border-radius: 4px;
}

/* ==========================================================================
   FASE 4.3: SISTEMA UNIFICADO DE NAVEGACIÓN GLOBAL Y DRAWERS
   ========================================================================== */

/* 1. Drawer Lateral Izquierdo (Menú Hamburger) */
.mobile-menu-drawer,
.hamburger-drawer,
#mobile-menu-drawer,
#hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  max-width: 86vw;
  height: 100dvh;
  background-color: #ffffff;
  border-right: 1px solid #e8e5e1;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 28px rgba(77, 37, 37, 0.15);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-drawer.is-open,
.hamburger-drawer.is-open,
#mobile-menu-drawer.is-open,
#hamburger-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay,
#mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(45, 18, 18, 0.45);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.mobile-menu-overlay.is-open,
#mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e8e5e1;
  color: #4d2525;
}

.mobile-menu-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #4d2525;
  margin: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #4d2525;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.mobile-menu-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7d5353;
  font-weight: 600;
  margin-bottom: 8px;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-link {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4d2525;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.mobile-menu-link:hover {
  color: #7d5353;
}

.mobile-menu-link.is-sale {
  color: #b91c1c;
}

.mobile-menu-footer-links {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e8e5e1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-sublink {
  font-size: 13px;
  color: #7d5353;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-sublink:hover {
  color: #4d2525;
}

/* 2. Barra Desplegable de Búsqueda Instantánea */
#search-drawer,
.search-bar-drawer {
  position: fixed !important;
  top: var(--header-height, 58px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8e5e1 !important;
  z-index: 124 !important;
  transform: translateY(-100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 24px rgba(77, 37, 37, 0.08);
  padding: 16px 20px;
}

#search-drawer.is-open,
.search-bar-drawer.is-open {
  transform: translateY(0);
}

.search-drawer-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.search-drawer-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid #4d2525;
  padding-bottom: 8px;
}

.search-drawer-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  color: #4d2525;
  background: transparent;
}

.search-drawer-input::placeholder {
  color: #a58178;
}

.search-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #4d2525;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-drawer-results {
  margin-top: 14px;
  max-height: 55vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #4d2525;
  transition: background-color 0.15s ease;
}

.search-result-item:hover {
  background-color: #f8f7f5;
}

.search-result-thumb {
  width: 44px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  background-color: #ebd4ce;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-title {
  font-size: 13px;
  font-weight: 500;
}

.search-result-price {
  font-size: 12px;
  color: #7d5353;
  font-weight: 600;
}

/* 3. Cart Drawer Lateral Derecho */
.cart-drawer,
#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 390px;
  max-width: 92vw;
  height: 100dvh;
  background-color: #ffffff;
  border-left: 1px solid #e8e5e1;
  z-index: 250;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(77, 37, 37, 0.14);
}

.cart-drawer.is-open,
#cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-overlay,
#cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(45, 18, 18, 0.45);
  z-index: 249;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.cart-drawer-overlay.is-open,
#cart-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Barra de progreso de envío gratis en Carrito */
.cart-shipping-meter {
  padding: 14px 18px;
  background-color: #f8f7f5;
  border-bottom: 1px solid #e8e5e1;
}

.cart-shipping-meter__text {
  font-size: 12px;
  font-weight: 500;
  color: #4d2525;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.cart-shipping-meter__track {
  width: 100%;
  height: 5px;
  background-color: #e8e5e1;
  border-radius: 999px;
  overflow: hidden;
}

.cart-shipping-meter__fill {
  height: 100%;
  background-color: #4d2525;
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 4. Modal Inferior de Información de la Tienda */
.store-info-modal,
#store-info-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 540px;
  max-height: 86dvh;
  background-color: #ffffff;
  border: 1px solid #e8e5e1;
  border-radius: 20px 20px 0 0;
  z-index: 220;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -10px 40px rgba(77, 37, 37, 0.18);
  overflow: hidden;
}

.store-info-modal.is-open,
#store-info-modal.is-open {
  transform: translate(-50%, 0);
}

.store-info-overlay,
#store-info-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(45, 18, 18, 0.45);
  z-index: 219;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

.store-info-overlay.is-open,
#store-info-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.store-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #e8e5e1;
  color: #4d2525;
}

.store-info-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  color: #4d2525;
}

.store-info-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.store-info-card {
  padding: 14px 16px;
  background-color: #f8f7f5;
  border: 1px solid #e8e5e1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-info-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #4d2525;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-info-card__desc {
  font-size: 12.5px;
  color: #7d5353;
  line-height: 1.5;
  margin: 0;
}

.store-info-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #4d2525;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: background-color 0.2s ease;
}

.store-info-contact-btn:hover {
  background-color: #381a1a;
}

/* ==========================================================================
   FASE 7.1 BLINDADA: REGLAS CRÍTICAS DE LAYOUT, HERO-LUX, LAUNCH & CATÁLOGO
   ========================================================================== */

/* ==========================================================================
   HOTFIX FASE 8.3: NAVBAR (.site-header) CENTRADA Y BANNER DE ANUNCIOS
   ========================================================================== */

/* 1. Protección estricta del Logotipo Oficial (Siempre 34px de alto) */
.site-header img.header-logo__img,
.header-logo img,
.checkout-header img.header-logo__img {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 145px !important;
  object-fit: contain !important;
  display: block !important;
}

/* 2. Estructura de 3 zonas perfectamente simétricas para .site-header */
.site-header {
  width: 100% !important;
  height: var(--header-height, 60px) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid #ece9e5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.site-header__inner {
  width: 100% !important;
  max-width: 1240px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.site-header__left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

.site-header__center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
}

.site-header__right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  gap: 14px !important;
}

.header-icon-btn {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #4d2525 !important;
  padding: 0 !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.header-icon-btn:hover {
  background-color: rgba(77, 37, 37, 0.06) !important;
}

.header-desktop-nav,
.header-account-btn {
  display: none !important;
}

.header-cart-btn .cart-badge,
#header-cart-count,
.cart-count-badge {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background-color: #4d2525 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.header-cart-btn .cart-badge.is-empty,
#header-cart-count.is-empty,
.cart-count-badge.is-empty {
  display: none !important;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 28px !important;
  }
  .header-menu-btn {
    display: none !important;
  }
  .header-desktop-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 24px !important;
  }
  .header-nav-link {
    font-family: var(--font-sans, 'Jost', sans-serif) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #231515 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 4px 0 !important;
    transition: color 0.2s ease !important;
  }
  .header-nav-link:hover,
  .header-nav-link.is-active {
    color: #4d2525 !important;
  }
  .header-account-btn {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   COMPORTAMIENTO EXCLUSIVO EN INDEX.HTML (body.home-page)
   ========================================================================== */
body.home-page {
  padding-top: 0 !important;
}

body.home-page .announcement-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--announcement-height, 32px) !important;
  background-color: #180f0f !important;
  color: #ffffff !important;
  z-index: 145 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, -100%, 0) !important;
  transition:
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.42s ease,
    visibility 0.42s !important;
}

body.home-page.is-scrolled.show-top-banner .announcement-bar {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) !important;
}

body.home-page .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--header-height, 60px) !important;
  z-index: 140 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #ece9e5 !important;
  box-shadow: 0 2px 10px rgba(77, 37, 37, 0.04) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.4s ease,
    top 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.home-page.is-scrolled .site-header {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  top: 0 !important;
}

/* Mientras duran los 7 segundos del banner en index, la navbar se coloca justo debajo (top: 32px) */
body.home-page.is-scrolled.show-top-banner .site-header {
  top: var(--announcement-height, 32px) !important;
}

/* Navbar permanece SIEMPRE blanca e inmutable en todas las páginas */
body.home-page .site-header .header-icon-btn,
body.home-page .site-header .header-nav-link {
  color: #4d2525 !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

body.home-page .site-header .header-icon-btn:hover {
  background-color: rgba(77, 37, 37, 0.06) !important;
}

body.home-page .site-header .cart-badge {
  background-color: #4d2525 !important;
  color: #ffffff !important;
}

body.home-page .site-header .header-logo__img {
  filter: none !important;
}

/* ==========================================================================
   COMPORTAMIENTO EN EL RESTO DE PÁGINAS (collection, product, checkout)
   El banner queda fijo arriba en el inicio de la página (NO baja con el scroll)
   ========================================================================== */
body:not(.home-page):not(.admin-body) {
  padding-top: 0 !important;
}

body:not(.home-page) .announcement-bar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  height: var(--announcement-height, 32px) !important;
  background-color: #180f0f !important;
  color: #ffffff !important;
  z-index: 130 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body:not(.home-page) .site-header,
body:not(.home-page) .checkout-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--header-height, 60px) !important;
  z-index: 140 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}

.announcement-bar__viewport {
  width: 100% !important;
  height: var(--announcement-height, 32px) !important;
  overflow: hidden !important;
  display: block !important;
  white-space: nowrap !important;
}

.announcement-bar__track {
  display: inline-flex !important;
  align-items: center !important;
  height: var(--announcement-height, 32px) !important;
  width: max-content !important;
  white-space: nowrap !important;
  animation: announcementMarqueeScroll 38s linear infinite !important;
}

.announcement-bar__group {
  display: inline-flex !important;
  align-items: center !important;
  height: var(--announcement-height, 32px) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.announcement-bar__item {
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  white-space: nowrap !important;
  line-height: var(--announcement-height, 32px) !important;
  padding-right: 48px !important;
}

/* ==========================================================================
   COREOGRAFÍA INTRO "MERGE" DIRECTO SOBRE FOTO DE CLIENTA
   ========================================================================== */
.hero-lux__intro-curtain {
  position: absolute !important;
  inset: 0 !important;
  background-color: #140c0c !important;
  z-index: 3 !important;
  opacity: 0;
  pointer-events: none !important;
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity;
}

body.intro-stage-1 .hero-lux__intro-curtain {
  opacity: 1 !important;
}

body.intro-stage-1 .hero-lux__photos img {
  transform: scale(1.07) !important;
}

.hero-lux__photos img {
  opacity: 0;
  transition: opacity 0.35s ease, transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-lux__photos img.is-hero-img-ready {
  opacity: 1 !important;
}

/* ==========================================================================
   4. SECCIÓN 1: HERO LUX FULL-BLEED (ENCUADRE TOTAL SOBRE BARRA INFERIOR)
   ========================================================================== */
.hero-lux {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  height: calc(100dvh - var(--bottom-nav-height, 68px)) !important;
  min-height: 500px !important;
  max-height: 920px !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  background-color: #180f0f !important;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-lux {
    height: 100dvh !important;
    max-height: 960px !important;
  }
}

.hero-lux__photos {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
  will-change: transform;
}

.hero-lux__photos img,
.hero-lux__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  display: block !important;
  border-radius: 0 !important;
  transform-origin: center center;
  will-change: transform, opacity;
  animation: heroPhotoKenBurns 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroPhotoKenBurns {
  0% {
    transform: scale(1.08);
    opacity: 0.88;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Velo de fundido continuo suave hacia el blanco puro (#ffffff) de #nueva-coleccion */
.hero-lux__veil {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.30) 65%,
    rgba(255, 255, 255, 0.85) 85%,
    #ffffff 100%
  ) !important;
}

.hero-lux__brand {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  margin-inline: auto !important;
  width: fit-content !important;
  bottom: 68px !important;
  top: auto !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0px !important;
  text-align: center !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none !important;
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease !important;
  will-change: transform, opacity;
}

body.intro-stage-1 .hero-lux__brand {
  transform: translate3d(0, calc(-50dvh + 118px + 50%), 0) scale(1.06) !important;
}

.hero-lux__signature {
  display: none !important;
}

/* ==========================================================================
   HERO ESCRITORIO ASIMÉTRICO EDITORIAL (BOUTIQUE LUXE >= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .hero-lux {
    height: 100vh !important;
    min-height: 680px !important;
    max-height: 1080px !important;
    background-color: #faf8f5 !important;
  }

  .hero-lux__photos {
    width: 58% !important;
    left: auto !important;
    right: 0 !important;
    height: 100% !important;
  }

  .hero-lux__photos img,
  .hero-lux__img {
    object-fit: cover !important;
    object-position: center 12% !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-lux__veil {
    background:
      linear-gradient(to right, #faf8f5 0%, #faf8f5 38%, rgba(250, 248, 245, 0.92) 48%, rgba(250, 248, 245, 0) 66%),
      linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.7) 14%, rgba(255, 255, 255, 0) 28%) !important;
  }

  .hero-lux__brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    bottom: auto !important;
    right: auto !important;
    margin-inline: 0 !important;
    width: auto !important;
    transform: translate3d(calc(-50% - 24vw), -50%, 0) scale(1) !important;
    transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  body.intro-stage-1 .hero-lux__brand {
    transform: translate3d(-50%, -50%, 0) scale(1.08) !important;
  }

  .hero-lux__name-top,
  .hero-lux__name-bottom {
    font-size: clamp(52px, 4.6vw, 74px) !important;
  }

  .hero-lux__signature {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    margin-top: 18px !important;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s !important;
  }

  body:not(.intro-stage-1) .hero-lux__signature {
    opacity: 1 !important;
  }

  .hero-lux__signature-line {
    display: inline-block !important;
    width: 32px !important;
    height: 1px !important;
    background-color: rgba(122, 82, 58, 0.38) !important;
  }

  .hero-lux__signature-text {
    font-family: var(--font-sans, 'Jost', sans-serif) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.28em !important;
    text-transform: uppercase !important;
    color: #7a523a !important;
    white-space: nowrap !important;
  }

  .hero-lux__down {
    bottom: 28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ==========================================================================
   ANIMACIONES EDITORIALES SELECCIONABLES DE ENTRADA DEL LOGO HERO (5 ESTILOS)
   ========================================================================== */

/* 1. Editorial Curtain (650ms - Apertura de revista de alta costura) */
@keyframes heroAnimEditorialCurtain {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    letter-spacing: -0.01em;
  }
  60% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    letter-spacing: 0.02em;
  }
}

/* 2. Cinema Focus (700ms - Desenfoque óptico cinematográfico) */
@keyframes heroAnimCinemaFocus {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.94);
  }
  50% {
    opacity: 0.85;
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
  }
}

/* 3. Diagonal Glide (650ms - Deslizamiento asimétrico suave) */
@keyframes heroAnimDiagonalGlide {
  0% {
    opacity: 0;
    transform: translate3d(18px, 16px, 0);
  }
  60% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 4. Silk Shimmer (750ms - Velo de seda y luminosidad pura) */
@keyframes heroAnimSilkShimmer {
  0% {
    opacity: 0;
    filter: brightness(1.4) contrast(1.15);
    transform: scale(1.04);
  }
  50% {
    opacity: 0.88;
    filter: brightness(1.15) contrast(1.05);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
    transform: scale(1);
  }
}

/* 5. Minimal Breath (450ms - Minimalista contemporáneo rápido) */
@keyframes heroAnimMinimalBreath {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 6. Boutique Velvet (750ms - Pasarela Boutique Estilo Editorial Fluido inspirada en luisa.ghboutique) */
@keyframes heroAnimBoutiqueVelvet {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 36px, 0);
    letter-spacing: -0.02em;
  }
  40% {
    opacity: 0.92;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0);
    letter-spacing: 0.02em;
  }
}

/* Asignación reactiva según data-hero-logo-anim durante intro-stage-1 */
body.intro-stage-1 .hero-lux__name,
html[data-hero-logo-anim="editorial-curtain"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimEditorialCurtain 0.65s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

html[data-hero-logo-anim="cinema-focus"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimCinemaFocus 0.70s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

html[data-hero-logo-anim="diagonal-glide"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimDiagonalGlide 0.65s cubic-bezier(0.2, 0.9, 0.3, 1) both !important;
}

html[data-hero-logo-anim="silk-shimmer"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimSilkShimmer 0.75s cubic-bezier(0.25, 1, 0.35, 1) both !important;
}

html[data-hero-logo-anim="minimal-breath"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimMinimalBreath 0.45s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

html[data-hero-logo-anim="boutique-velvet"] body.intro-stage-1 .hero-lux__name {
  animation: heroAnimBoutiqueVelvet 0.75s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Cuando la intro termina, las letras se fijan en su posición estática final sin volver a animarse */
body:not(.intro-stage-1) .hero-lux__name {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body.intro-stage-1 .hero-lux__name {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Estilos de vista previa en Admin */
.hero-anim-preview-box {
  width: 100%;
  max-width: 320px;
  height: 110px;
  background-color: #140c0c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-preview-logo {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  color: #ffffff;
  text-align: left;
  line-height: 0.88;
  display: inline-flex;
  flex-direction: column;
  user-select: none;
}

.hero-preview-logo-top,
.hero-preview-logo-bottom {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-preview-logo-bottom {
  margin-left: 1.34em;
  margin-top: 2px;
}

.hero-anim-preview-box[data-anim="editorial-curtain"] .hero-preview-logo.is-animating {
  animation: heroAnimEditorialCurtain 0.65s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hero-anim-preview-box[data-anim="cinema-focus"] .hero-preview-logo.is-animating {
  animation: heroAnimCinemaFocus 0.70s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.hero-anim-preview-box[data-anim="diagonal-glide"] .hero-preview-logo.is-animating {
  animation: heroAnimDiagonalGlide 0.65s cubic-bezier(0.2, 0.9, 0.3, 1) both !important;
}

.hero-anim-preview-box[data-anim="silk-shimmer"] .hero-preview-logo.is-animating {
  animation: heroAnimSilkShimmer 0.75s cubic-bezier(0.25, 1, 0.35, 1) both !important;
}

.hero-anim-preview-box[data-anim="minimal-breath"] .hero-preview-logo.is-animating {
  animation: heroAnimMinimalBreath 0.45s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.hero-anim-preview-box[data-anim="boutique-velvet"] .hero-preview-logo.is-animating {
  animation: heroAnimBoutiqueVelvet 0.75s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.hero-lux__name {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  font-family: var(--font-serif);
  line-height: 0.88;
  color: #4d2525 !important;
  text-shadow: none !important;
  margin: 0 auto;
  transition: color 1.15s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-lux__name-top {
  display: block;
  font-size: clamp(38px, 10.5vw, 68px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.88;
  margin: 0;
  color: #4d2525 !important;
  transition: color 1.15s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.hero-lux__name-bottom,
.hero-lux__name em {
  display: block;
  font-style: normal;
  font-size: clamp(38px, 10.5vw, 68px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-left: 1.34em;
  color: #4d2525 !important;
  margin-top: 4px;
  line-height: 0.88;
  transition: color 1.15s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 1.15s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* En Fase 1 (intro sobre cortina oscura): Blanco luminoso */
body.intro-stage-1 .hero-lux__name,
body.intro-stage-1 .hero-lux__name-top,
body.intro-stage-1 .hero-lux__name-bottom,
body.intro-stage-1 .hero-lux__name em {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-lux__down {
  position: absolute !important;
  bottom: 18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
  color: #4d2525 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(77, 37, 37, 0.15) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(77, 37, 37, 0.10) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: bounceDown 2.2s infinite ease-in-out !important;
  opacity: 0.95 !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease, background-color 0.2s ease, transform 0.2s ease !important;
}

.hero-lux__down:hover {
  opacity: 1 !important;
  background-color: #ffffff !important;
  transform: translateX(-50%) scale(1.05) !important;
}

body.intro-stage-1 .hero-lux__down {
  opacity: 0 !important;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 8px); }
  60% { transform: translate(-50%, 4px); }
}

/* ==========================================================================
   5. SECCIÓN 2: LAUNCH SECTION REDISEÑO ALTA COSTURA BLANCO (#nueva-coleccion)
   ========================================================================== */
#nueva-coleccion,
.launch-section {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 56px 16px 64px !important;
  background-color: #ffffff !important;
  color: #231515 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2;
  box-sizing: border-box !important;
}

/* Marca de agua editorial "RS" y halo sutil central */
.launch-section__watermark-halo {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 1 !important;
  background: radial-gradient(circle at 50% 38%, rgba(197, 160, 112, 0.10) 0%, rgba(255, 255, 255, 0) 68%) !important;
}

.launch-section__watermark-rs {
  font-family: var(--font-serif, 'Fraunces', 'Cormorant Garamond', Georgia, serif) !important;
  font-size: clamp(8.5rem, 30vw, 13rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em !important;
  line-height: 1 !important;
  color: rgba(77, 37, 37, 0.04) !important;
  display: block !important;
  transform: translateY(-8px);
}

/* Marco Lookbook elegante de boutique de lujo */
.launch-section__inner {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: clamp(32px, 6vw, 48px) clamp(20px, 4vw, 36px) !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background-color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(77, 37, 37, 0.10) !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(77, 37, 37, 0.04) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-sizing: border-box !important;
}

.launch-section__eyebrow {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.launch-eyebrow-line {
  display: inline-block !important;
  width: 28px !important;
  height: 1px !important;
  background-color: rgba(77, 37, 37, 0.20) !important;
  flex-shrink: 0 !important;
}

.launch-eyebrow-text {
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: #7a523a !important;
  text-align: center !important;
}

.launch-section__headline {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

.launch-headline__script {
  font-family: var(--font-serif, 'Cormorant Garamond', 'Fraunces', Georgia, serif) !important;
  font-size: clamp(38px, 9.8vw, 54px) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.02 !important;
  color: #9c6b3b !important;
  text-shadow: none !important;
  display: block !important;
}

.launch-headline__display {
  font-family: var(--font-serif, 'Fraunces', 'Cormorant Garamond', Georgia, serif) !important;
  font-size: clamp(46px, 12.2vw, 76px) !important;
  font-weight: 700 !important;
  line-height: 0.96 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #4d2525 !important;
  text-shadow: none !important;
  display: block !important;
}

.launch-section__divider {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin: 18px 0 16px !important;
}

.launch-section__divider span {
  display: inline-block !important;
  width: 56px !important;
  height: 1px !important;
  background-color: rgba(77, 37, 37, 0.22) !important;
}

.launch-section__divider svg path {
  fill: #9c6b3b !important;
}

.launch-section__subtitle {
  margin: 0 auto !important;
  max-width: 400px !important;
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #5c473e !important;
  font-weight: 400 !important;
}

.launch-section__subtitle a {
  color: #4d2525 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid #9c6b3b !important;
  padding-bottom: 2px !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.launch-section__subtitle a:hover {
  color: #9c6b3b !important;
  border-bottom-color: #4d2525 !important;
}

.launch-section__ctas {
  margin-top: 26px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 400px !important;
}

.launch-btn {
  width: 100% !important;
  height: 52px !important;
  padding: 0 24px !important;
  border-radius: 10px !important;
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.launch-btn--solid {
  background-color: #4d2525 !important;
  color: #ffffff !important;
  border: 1.5px solid #4d2525 !important;
  box-shadow: 0 10px 24px rgba(77, 37, 37, 0.16) !important;
}

.launch-btn--solid:hover {
  background-color: #381a1a !important;
  border-color: #381a1a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(77, 37, 37, 0.22) !important;
}

.launch-btn--solid span {
  color: #ffffff !important;
}

.launch-btn--outline {
  background-color: #faf7f4 !important;
  color: #4d2525 !important;
  border: 1.5px solid #4d2525 !important;
}

.launch-btn--outline:hover {
  background-color: #f0eae1 !important;
  transform: translateY(-1px) !important;
}

.launch-btn--outline span {
  color: #4d2525 !important;
}

.launch-btn--outline svg {
  color: #4d2525 !important;
  fill: #4d2525 !important;
}

.launch-perks-row {
  margin-top: 30px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(77, 37, 37, 0.12) !important;
  width: 100% !important;
  max-width: 420px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr auto 1fr !important;
  align-items: center !important;
  gap: 8px !important;
}

.launch-perk-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  text-align: center !important;
}

.launch-perk-item strong {
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #4d2525 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.launch-perk-item span {
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 11.5px !important;
  color: #6e5a50 !important;
  white-space: nowrap !important;
}

.launch-perk-sep {
  width: 1px !important;
  height: 28px !important;
  background-color: rgba(77, 37, 37, 0.14) !important;
}

.launch-section__desktop-sparkles {
  display: none !important;
}

/* ==========================================================================
   #NUEVA-COLECCIÓN EDITORIAL PANORÁMICO (ESCRITORIO >= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  #nueva-coleccion,
  .launch-section {
    padding: 96px 48px 72px !important;
    background-color: #ffffff !important;
  }

  .launch-section__inner {
    max-width: 1180px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 32px 48px 48px !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .launch-headline__script {
    font-size: clamp(2.6rem, 3.6vw, 3.5rem) !important;
    margin-bottom: -10px !important;
  }

  .launch-headline__display {
    font-size: clamp(3.8rem, 5.4vw, 5.2rem) !important;
    letter-spacing: 0.04em !important;
  }

  .launch-section__watermark-rs {
    font-size: clamp(14rem, 22vw, 20rem) !important;
  }

  .launch-section__subtitle {
    max-width: 540px !important;
    margin: 0 auto !important;
    font-size: 1.06rem !important;
    line-height: 1.6 !important;
  }

  .launch-section__ctas {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    max-width: 620px !important;
    margin: 36px auto 0 !important;
  }

  .launch-btn {
    width: auto !important;
    min-width: 250px !important;
    height: 54px !important;
    padding: 0 32px !important;
  }

  .launch-perks-row {
    max-width: 860px !important;
    margin: 56px auto 0 !important;
    padding-top: 28px !important;
  }

  .launch-section__desktop-sparkles {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  .launch-sparkle {
    position: absolute !important;
    color: rgba(180, 132, 68, 0.40) !important;
    animation: launchSparkleTwinkle 3.2s ease-in-out infinite alternate !important;
  }

  .launch-sparkle--tl {
    top: 14%;
    left: 8%;
    animation-delay: 0.2s !important;
  }

  .launch-sparkle--tr {
    top: 18%;
    right: 8%;
    animation-delay: 0.9s !important;
  }

  .launch-sparkle--bl {
    bottom: 16%;
    left: 10%;
    animation-delay: 1.6s !important;
  }

  .launch-sparkle--br {
    bottom: 20%;
    right: 10%;
    animation-delay: 0.5s !important;
  }
}

@keyframes launchSparkleTwinkle {
  0% {
    opacity: 0.25;
    transform: scale(0.85) rotate(0deg);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.18) rotate(45deg);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.9) rotate(90deg);
  }
}

/* Estrellas doradas con respiración y giro suave */
.twinkle {
  position: absolute !important;
  color: #c5a572 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  animation: starTwinkle 3.2s infinite ease-in-out alternate !important;
  transform-origin: center center;
  will-change: transform, opacity;
}

.twinkle--tl { top: 28px !important; left: 26px !important; }
.twinkle--tr { top: 36px !important; right: 30px !important; animation-delay: 1.1s !important; }
.twinkle--bl { bottom: 62px !important; left: 32px !important; animation-delay: 1.8s !important; }
.twinkle--br { bottom: 48px !important; right: 26px !important; animation-delay: 2.5s !important; }

@keyframes starTwinkle {
  0% {
    opacity: 0.25;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.18) rotate(22deg);
  }
  100% {
    opacity: 0.35;
    transform: scale(0.85) rotate(45deg);
  }
}

/* ==========================================================================
   COREOGRAFÍA DE ANIMACIONES OFICIALES RONEO SHOP
   ========================================================================== */

/* 1. Words Reveal Mask FX (Despliegue caligráfico de palabras) */
.fx-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.15;
}

.fx-word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transition-delay: var(--word-delay, 0ms);
  will-change: transform, opacity;
}

[data-fx="words"].is-revealed .fx-word {
  transform: translateY(0%);
  opacity: 1;
}

/* 2. Silk Veil Curtain FX (Velo de seda retráctil sobre imágenes de productos) */
[data-fx="curtain"] {
  position: relative !important;
  overflow: hidden !important;
}

.fx-curtain {
  position: absolute !important;
  inset: 0 !important;
  background: #f3f1ed !important;
  z-index: 3 !important;
  pointer-events: none !important;
  transform: scaleY(1);
  transform-origin: top center;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.is-revealed .fx-curtain,
.is-inview .fx-curtain,
[data-fx="curtain"].is-revealed .fx-curtain,
[data-fx="curtain"].is-inview .fx-curtain {
  transform: scaleY(0) !important;
}

/* 3. Motion Fade-Up (Elevación progresiva con delay escalonado) */
[data-motion="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

[data-motion="fade-up"].is-revealed,
[data-motion="fade-up"].is-inview {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 4. Motion Zoom (Aparición suave con escala) */
[data-motion="zoom"] {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

[data-motion="zoom"].is-revealed,
[data-motion="zoom"].is-inview {
  opacity: 1 !important;
  transform: scale(1) !important;
}

.launch-marquee {
  width: 100% !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  background-color: #1b0f0a !important;
  padding: 12px 0 !important;
  display: flex !important;
  align-items: center !important;
}

.launch-marquee__track {
  display: flex !important;
  width: max-content !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  will-change: transform !important;
  animation: launchMarqueeScroll 26s linear infinite !important;
}

.launch-marquee__group {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.launch-marquee__item {
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 0 24px !important;
  white-space: nowrap !important;
}

.launch-marquee__star {
  color: #dfc298 !important;
  margin-left: 24px !important;
  font-size: 12px !important;
}

@keyframes launchMarqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   SECCIÓN: TAMBIÉN TE PUEDE GUSTAR (PRODUCT.HTML)
   ========================================================================== */
body.product-page {
  padding-bottom: calc(var(--bottom-nav-height, 68px) + 16px) !important;
}

@media (min-width: 768px) {
  body.product-page {
    padding-bottom: 0 !important;
  }
}

.related-products-section {
  margin-top: 40px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-top: 1px solid #e8e5e1 !important;
}

.related-products-section .section-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 20px !important;
}

.related-products-section .home-heading {
  font-family: var(--font-serif);
  font-size: clamp(21px, 5.2vw, 28px) !important;
  font-weight: 400;
  color: #231515;
  line-height: 1.15;
  margin: 0;
}

.related-products-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px 12px !important;
  align-items: stretch !important;
}

.related-products-grid .product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.related-products-grid .product-card__link {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (min-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px 16px !important;
  }
}

/* ==========================================================================
   CHECKOUT PAGE: PADDING INFERIOR Y BOTÓN DE PAGO 100% VISIBLE
   ========================================================================== */
body.checkout-page {
  padding-bottom: calc(var(--bottom-nav-height, 68px) + 54px) !important;
}

body.checkout-page .checkout-form-container {
  padding-bottom: 24px !important;
}

body.checkout-page .btn-submit-order {
  margin-top: 24px !important;
  margin-bottom: 12px !important;
}

/* 6. SECCIÓN 3: COMPRA POR SECCIÓN */
.home-sections-block {
  margin-top: 36px;
  padding-bottom: 12px;
  background: #ffffff;
}

.home-sections-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.home-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 34px);
  font-weight: 400;
  color: #231515;
  line-height: 1.08;
  margin: 0;
}

.home-view-all {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c624c;
  transition: color 0.2s;
  text-decoration: none;
}

.home-view-all:hover {
  color: #4d2525;
}

.home-sections-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 16px 8px;
  margin: 0 -16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-sections-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .home-sections-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    overflow-x: visible;
  }
}

.home-section-card {
  width: 132px;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
}

@media (min-width: 768px) {
  .home-section-card {
    width: auto;
  }
}

.home-section-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transition: transform 0.4s ease;
}

.home-section-card:hover .home-section-card__img {
  transform: scale(1.05);
}

.home-section-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 12px 10px;
}

.home-section-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.1;
}

/* 7. SECCIÓN 4: NOVEDADES & TARJETA DE PRODUCTO */
.home-novedades-block {
  margin-top: 36px;
  background: #ffffff;
}

.home-novedades-grid,
.collection-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .home-novedades-grid,
  .collection-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 16px;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card__media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f3f1ed !important;
}

.product-card__img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.35s ease !important;
}

.product-card:hover .product-card__img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute !important;
  top: auto !important;
  bottom: 10px !important;
  left: 10px !important;
  right: auto !important;
  width: max-content !important;
  height: auto !important;
  max-height: 24px !important;
  padding: 4px 9px !important;
  border-radius: 4px !important;
  font-family: var(--font-sans) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.product-card__badge--new {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #231515 !important;
  border: 1px solid rgba(35, 21, 21, 0.08) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.product-card__badge--discount {
  background: #4d2525 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(77, 37, 37, 0.28) !important;
}

.product-card__badge--soldout {
  background: rgba(24, 15, 15, 0.90) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-card__body {
  padding-top: 8px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.product-card__title {
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #231515 !important;
  text-transform: none !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
}

.product-card__price {
  font-family: var(--font-sans) !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.product-card__price-current {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #231515 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
}

.product-card__price-old,
.product-card__compare {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #9b8c8c !important;
  text-decoration: line-through !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1.2 !important;
}

.product-card__sizes {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #7a6868;
  margin-top: 1px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__sizes s {
  color: #b8aba6;
}

/* 8. SECCIÓN 5: GARANTÍAS TRUST GRID & FOOTER BLANCO */
.trust-section {
  margin-top: 48px;
  margin-bottom: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: #faf9f7;
  border: 1px solid #e8e5e1;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-card__icon {
  color: #4d2525;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.trust-card__title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: #231515;
  margin: 0;
  line-height: 1.25;
}

.trust-card__desc {
  font-size: 11.5px;
  color: #6e5a5a;
  margin: 0;
  line-height: 1.35;
}

.trust-card--link {
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  background: #fbf9f5 !important;
  border-color: #dfc298 !important;
}

.trust-card--link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(77, 37, 37, 0.08) !important;
  border-color: #b08d57 !important;
}

.trust-card__sub {
  font-size: 11.5px;
  color: #6e5a5a;
  margin: 0;
  line-height: 1.35;
}

/* Footer limpio, vertical estricto y 100% conectado (Fase 8.3) */
.site-footer {
  margin-top: 48px !important;
  border-top: 1px solid rgba(77, 37, 37, 0.1) !important;
  background-color: #ffffff !important;
  padding: 36px 20px calc(var(--bottom-nav-height, 68px) + 34px) !important;
  color: #231515 !important;
  text-align: left !important;
}

.site-footer__inner,
.site-footer > .footer-grid,
.site-footer > .footer-main-grid {
  max-width: 1080px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 26px !important;
  align-items: start !important;
}

.site-footer__brand,
.site-footer > .footer-grid > div:first-child,
.site-footer > .footer-main-grid > div:first-child,
.footer-col--brand {
  grid-column: 1 / -1 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding-bottom: 20px !important;
  margin-bottom: 2px !important;
  border-bottom: 1px solid rgba(77, 37, 37, 0.08) !important;
}

.site-footer__brand-title,
.footer-brand__name,
.footer-col__brand-title {
  font-family: 'Cormorant Garamond', var(--font-serif, Georgia, serif) !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  color: #4d2525 !important;
  margin: 0 0 6px 0 !important;
}

.site-footer__brand p,
.footer-brand__desc,
.footer-col__brand-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #6e5a5a !important;
  max-width: 460px !important;
  margin: 0 auto !important;
}

/* Las 3 columnas TIENDA, AYUDA y LEGAL: columna vertical estricta (1 enlace por línea) */
.site-footer nav,
.footer-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0 !important;
}

.site-footer nav h2,
.site-footer nav h3,
.site-footer nav h5,
.footer-col__title,
.footer-col__heading {
  font-family: var(--font-sans, 'Jost', sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #4d2525 !important;
  margin: 0 0 12px 0 !important;
}

.footer-col__links {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.site-footer nav a,
.site-footer nav button,
.footer-col a,
.footer-col button,
.footer-col__link,
.footer-link {
  display: block !important;
  width: fit-content !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #5c4949 !important;
  text-decoration: none !important;
  transition: color 0.18s ease !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-align: center !important;
}

.site-footer nav a:hover,
.site-footer nav button:hover,
.footer-col a:hover,
.footer-col button:hover,
.footer-col__link:hover,
.footer-link:hover {
  color: #4d2525 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.site-footer__bottom,
.footer-bottom-bar {
  max-width: 1080px !important;
  margin: 26px auto 0 !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(77, 37, 37, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  text-align: center !important;
  font-size: 11.5px !important;
  color: #7a6868 !important;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 48px 32px 32px !important;
  }
  .site-footer__inner,
  .site-footer > .footer-grid,
  .site-footer > .footer-main-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 36px !important;
  }
  .site-footer__brand,
  .site-footer > .footer-grid > div:first-child,
  .site-footer > .footer-main-grid > div:first-child,
  .footer-col--brand {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    align-items: center !important;
    padding-bottom: 22px !important;
    border-bottom: 1px solid rgba(77, 37, 37, 0.08) !important;
  }
  .site-footer__brand p,
  .footer-brand__desc,
  .footer-col__brand-desc {
    margin: 0 auto !important;
  }
  .site-footer nav,
  .footer-col {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .footer-col__links {
    align-items: flex-start !important;
  }
  .site-footer nav a,
  .site-footer nav button,
  .footer-col a,
  .footer-col button,
  .footer-col__link,
  .footer-link {
    text-align: left !important;
  }
  .site-footer__bottom,
  .footer-bottom-bar {
    flex-direction: row !important;
    justify-content: space-between !important;
    text-align: left !important;
  }
}

/* 9. BARRA INFERIOR FIJA MÓVIL (5 BOTONES) */
.bottom-tab-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--bottom-nav-height, 68px) !important;
  background: #ffffff !important;
  border-top: 1px solid #e8e5e1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  z-index: 150 !important;
  padding: 0 4px !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04) !important;
}

@media (min-width: 768px) {
  .bottom-tab-bar {
    display: none !important;
  }
}

.bottom-tab-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  height: 100% !important;
  color: #6e5a5a !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  position: relative !important;
  padding: 4px 0 !important;
  transition: color 0.15s ease !important;
}

.bottom-tab-item svg {
  width: 22px !important;
  height: 22px !important;
  stroke: currentColor !important;
}

.bottom-tab-item span {
  font-size: 11px !important;
  font-weight: 500 !important;
  margin-top: 3px !important;
}

.bottom-tab-item.is-active,
.bottom-tab-item:active {
  color: #4d2525 !important;
}

.bottom-tab-badge {
  position: absolute !important;
  top: 8px !important;
  right: calc(50% - 18px) !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  background-color: #4d2525 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.bottom-tab-badge.is-empty {
  display: none !important;
}

/* 10. REDISEÑO CATÁLOGO (collection.html) */
.catalog-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px 0 14px;
}

.catalog-page-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: #231515;
  margin: 0;
  line-height: 1;
}

.catalog-page-count {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6868;
  font-weight: 500;
}

.catalog-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.catalog-filter-pills::-webkit-scrollbar {
  display: none;
}

.catalog-pill {
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid #dedad4;
  background: #ffffff;
  color: #231515;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-pill.is-active {
  background: #1a1111 !important;
  color: #ffffff !important;
  border-color: #1a1111 !important;
}

/* 11. MODAL EDITORIAL "SOBRE MÍ" Y "CUENTA" */
.editorial-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.editorial-modal.is-open {
  display: flex;
}

.editorial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 10, 0.55);
  backdrop-filter: blur(4px);
}

.editorial-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 24px;
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.editorial-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f7f5;
  color: #231515;
  cursor: pointer;
  border: none;
}

.modal-editorial-body {
  text-align: center;
}

.modal-editorial-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-primary-soft, rgba(77, 37, 37, 0.06));
  color: #4d2525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-editorial-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: #231515;
  margin: 0 0 6px;
}

.modal-editorial-subtitle {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c7878;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-editorial-desc {
  font-size: 14px;
  color: #6e5a5a;
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-editorial-box {
  background: #f8f7f5;
  border: 1px solid #e8e5e1;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  margin-bottom: 20px;
}

.modal-editorial-box p {
  font-size: 13px;
  color: #231515;
  line-height: 1.45;
  margin-bottom: 12px;
}

/* ==========================================================================
   12. APARTADO "CUENTA" OFICIAL - RONEO SHOP
   ========================================================================== */
.editorial-modal.account-modal-active .editorial-modal__dialog {
  max-width: 580px;
  padding: 28px 24px;
}

.account-auth-container {
  text-align: left;
}

.account-header-branding {
  text-align: center;
  margin-bottom: 20px;
}

.account-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fbf5f2;
  color: #4d2525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.account-title {
  font-family: var(--font-serif, serif);
  font-size: 24px;
  font-weight: 600;
  color: #231515;
  margin: 0 0 4px;
}

.account-subtitle {
  font-size: 13px;
  color: #7d6868;
  margin: 0;
}

.account-auth-switcher {
  display: flex;
  background: #f8f6f4;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
  gap: 4px;
}

.account-switch-btn {
  flex: 1;
  padding: 8px 14px;
  border: none;
  background: transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #6e5a5a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-switch-btn.is-active {
  background: #ffffff;
  color: #231515;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.account-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 14px;
  line-height: 1.45;
}

.account-alert.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.account-alert.is-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.account-form .form-group {
  margin-bottom: 14px;
}

.account-admin-link-box {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #f2ede9;
  text-align: center;
}

.account-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8c7878;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.account-admin-link:hover {
  color: #4d2525;
}

/* Dashboard Usuario Autenticado */
.account-dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f2ede9;
  margin-bottom: 16px;
}

.account-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4d2525;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.account-user-meta {
  flex: 1;
  min-width: 0;
}

.account-user-name {
  font-size: 15px;
  font-weight: 700;
  color: #231515;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-user-email {
  font-size: 12px;
  color: #7d6868;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-account-logout {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8f6f4;
  border: 1px solid #ebdcd5;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #7d5353;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-account-logout:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.account-tabs-bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #f0eae6;
  padding-bottom: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.account-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #faf8f6;
  font-size: 12.5px;
  font-weight: 600;
  color: #6e5a5a;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.account-tab-btn:hover {
  background: #f0eae6;
  color: #231515;
}

.account-tab-btn.is-active {
  background: #4d2525;
  color: #ffffff;
}

.account-empty-state {
  text-align: center;
  padding: 32px 16px;
}

.account-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #faf8f6;
  color: #8c7878;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.account-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #231515;
  margin: 0 0 6px;
}

.account-empty-desc {
  font-size: 13px;
  color: #7d6868;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto 18px;
}

/* Tarjetas de Pedidos */
.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.account-order-card {
  border: 1px solid #ebdcd5;
  border-radius: 12px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid #f6f0ed;
  margin-bottom: 10px;
}

.order-card-num {
  font-size: 13.5px;
  font-weight: 700;
  color: #231515;
}

.order-card-date {
  font-size: 11.5px;
  color: #8c7878;
  margin-top: 2px;
}

.order-card-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.order-card-status-badge.is-test {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.order-card-status-badge.is-confirmed {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.order-card-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.order-card-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-item-thumb {
  width: 36px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: #f4f0ec;
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
  min-width: 0;
}

.order-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #231515;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-spec {
  font-size: 11.5px;
  color: #7d6868;
}

.order-item-price {
  font-size: 12.5px;
  font-weight: 700;
  color: #4d2525;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f6f0ed;
  gap: 8px;
  flex-wrap: wrap;
}

.order-footer-total {
  font-size: 12.5px;
  color: #555;
}

.order-footer-total strong {
  color: #231515;
  font-size: 13.5px;
}

.btn-track-order {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #4d2525;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-track-order:hover {
  opacity: 0.9;
}

.order-tracking-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #7d6868;
}

.order-tracking-details-box {
  margin-top: 10px;
  padding: 12px;
  background: #faf8f6;
  border: 1px solid #ebdcd5;
  border-radius: 8px;
  font-size: 12px;
}

.track-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.track-header {
  font-size: 12px;
  color: #231515;
}

.track-status-pill {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin: 4px 0;
  width: fit-content;
}

.track-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.track-event-row {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #555;
}

.track-event-time {
  font-weight: 600;
  color: #4d2525;
  white-space: nowrap;
}

.track-msg-info {
  color: #6e5a5a;
  font-size: 12px;
  line-height: 1.45;
}

.track-msg-error {
  color: #991b1b;
  font-size: 12px;
}

/* Grid de Favoritos */
.account-favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.account-fav-card {
  border: 1px solid #ebdcd5;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.fav-card-media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f0ec;
}

.fav-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.account-fav-card:hover .fav-card-media img {
  transform: scale(1.04);
}

.fav-card-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fav-card-title {
  font-size: 12px;
  font-weight: 600;
  color: #231515;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.fav-card-price {
  font-size: 12px;
  font-weight: 700;
  color: #4d2525;
  margin-bottom: 6px;
}

.fav-card-actions {
  display: flex;
  gap: 4px;
  margin-top: auto;
}

.btn-fav-view {
  flex: 1;
  padding: 4px 6px;
  background: #4d2525;
  color: #ffffff;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.btn-fav-remove {
  width: 26px;
  height: 26px;
  background: #f8f6f4;
  border: 1px solid #e0d7d2;
  border-radius: 4px;
  color: #7d5353;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-fav-remove:hover {
  background: #fee2e2;
  color: #991b1b;
}

.account-dashboard-footer {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #f2ede9;
  text-align: center;
}

/* ==========================================================================
   AVISO DE COOKIES Y MODAL DE PREFERENCIAS (AEPD / LSSI-CE / ESTÉTICA RONEO)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  z-index: 900;
  bottom: calc(var(--bottom-nav-height, 68px) + 12px);
  left: 12px;
  right: 12px;
  width: auto;
  background-color: #ffffff;
  color: var(--color-text, #231515);
  border: 1px solid rgba(77, 37, 37, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(35, 21, 21, 0.14);
  padding: 18px 18px 16px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1), transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.checkout-page .cookie-banner {
  bottom: 16px;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: 24px;
    right: auto;
    bottom: calc(var(--bottom-nav-height, 68px) + 16px);
    width: 410px;
    max-width: calc(100vw - 48px);
    padding: 22px 24px;
  }

  body.checkout-page .cookie-banner {
    bottom: 24px;
  }
}

@media (min-width: 990px) {
  .cookie-banner,
  body.checkout-page .cookie-banner {
    bottom: 24px;
    left: 24px;
  }
}

.cookie-banner__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-banner__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #faf8f5;
  border: 1px solid rgba(77, 37, 37, 0.12);
  color: #4d2525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner__title {
  margin: 0;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  color: #4d2525;
  letter-spacing: -0.01em;
}

.cookie-banner__desc {
  margin: 0 0 14px;
  font-family: var(--font-sans, sans-serif);
  font-size: 12.5px;
  line-height: 1.5;
  color: #5c4949;
}

.cookie-banner__policy-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin-left: 3px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: #4d2525;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-sans, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
}

.cookie-btn-primary {
  background-color: #4d2525;
  color: #ffffff;
  border: 1px solid #4d2525;
}

.cookie-btn-primary:hover {
  background-color: #361919;
  border-color: #361919;
}

.cookie-btn-secondary {
  background-color: #faf8f5;
  color: #4d2525;
  border: 1px solid rgba(77, 37, 37, 0.35);
}

.cookie-btn-secondary:hover {
  background-color: #f2ece6;
  border-color: rgba(77, 37, 37, 0.55);
}

.cookie-btn-outline {
  background-color: #ffffff;
  color: #4d2525;
  border: 1px solid #d5cbc6;
}

.cookie-btn-outline:hover {
  background-color: #faf8f5;
  border-color: #4d2525;
}

.cookie-banner__footer {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.cookie-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px 8px;
  font-family: var(--font-sans, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #6e5a5a;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cookie-btn-link:hover {
  color: #4d2525;
}

/* Modal de preferencias de cookies */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 15, 15, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(77, 37, 37, 0.14);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(24, 15, 15, 0.24);
  padding: 24px 22px 22px;
  box-sizing: border-box;
  transform: translateY(10px) scale(0.99);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-modal.is-open .cookie-modal__dialog {
  transform: translateY(0) scale(1);
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-modal__eyebrow {
  display: block;
  font-family: var(--font-sans, sans-serif);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8c7878;
  margin-bottom: 3px;
}

.cookie-modal__title {
  margin: 0;
  font-family: var(--font-serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 24px;
  font-weight: 600;
  color: #4d2525;
  line-height: 1.15;
}

.cookie-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #faf8f5;
  border: 1px solid #e8e5e1;
  color: #4d2525;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-modal__close:hover {
  background: #f0ebe5;
}

.cookie-modal__intro {
  margin: 0 0 16px;
  font-family: var(--font-sans, sans-serif);
  font-size: 12.5px;
  line-height: 1.5;
  color: #6e5a5a;
}

.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cookie-category-card {
  background: #faf8f5;
  border: 1px solid #eae4de;
  border-radius: 12px;
  padding: 14px 15px;
}

.cookie-category-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-category-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cookie-category-card__name {
  font-family: var(--font-sans, sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #231515;
}

.cookie-badge-fixed {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(77, 37, 37, 0.08);
  color: #4d2525;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cookie-category-card__desc {
  margin: 0;
  font-family: var(--font-sans, sans-serif);
  font-size: 12px;
  line-height: 1.48;
  color: #5c4949;
}

/* Toggle Switch minimalista */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-toggle.is-locked {
  cursor: default;
  opacity: 0.72;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8d0cb;
  transition: background-color 0.2s ease;
}

.cookie-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: #4d2525;
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(18px);
}

.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 2px solid #4d2525;
  outline-offset: 2px;
}

.cookie-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cookie-modal__actions #cookie-modal-accept-btn {
  grid-column: 1 / -1;
}

@media (min-width: 520px) {
  .cookie-modal__actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .cookie-modal__actions #cookie-modal-accept-btn {
    grid-column: auto;
  }
}

/* ==========================================================================
   PÁGINAS LEGALES, INFO Y ACEPTACIÓN RGPD EN CHECKOUT / CUENTA
   ========================================================================== */
.legal-page-main {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 110px;
  box-sizing: border-box;
  background: #ffffff;
}

@media (min-width: 768px) {
  .legal-page-main {
    padding: 48px 32px 96px;
  }
}

.legal-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.legal-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(77, 37, 37, 0.22);
  background: #faf8f5;
  color: #4d2525;
  font-family: var(--font-sans, 'DM Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.legal-nav-pill:hover {
  border-color: #4d2525;
  background: #f3eee9;
}

.legal-nav-pill.is-active {
  background: #4d2525;
  border-color: #4d2525;
  color: #ffffff;
}

.legal-article {
  background: #ffffff;
  color: #2c1d1d;
  font-family: var(--font-sans, 'DM Sans', sans-serif);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #faf8f5;
  border: 1px solid rgba(77, 37, 37, 0.14);
  color: #6e5a5a;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
}

.legal-article h1,
.legal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: #4d2525;
  margin: 0 0 14px;
}

.legal-intro {
  font-size: 15px;
  line-height: 1.7;
  color: #5c4949;
  margin: 0 0 28px;
}

.legal-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(77, 37, 37, 0.1);
  scroll-margin-top: 84px;
}

.legal-article h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  color: #4d2525;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(77, 37, 37, 0.1);
  scroll-margin-top: 84px;
}

.legal-section > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-article h3 {
  font-family: var(--font-sans, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #4d2525;
  margin: 18px 0 8px;
}

.legal-article p {
  margin: 0 0 12px;
}

.legal-article a:not(.cookie-btn):not(.legal-cookie-cta):not(.legal-nav-pill) {
  color: #4d2525;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-article ul,
.legal-article ol {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.legal-article ol {
  list-style: decimal;
}

.legal-article li {
  margin-bottom: 6px;
}

.legal-card {
  background: #faf8f5;
  border: 1px solid rgba(77, 37, 37, 0.12);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 16px 0 24px;
  scroll-margin-top: 84px;
}

.legal-card .legal-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #4d2525;
  margin: 0 0 12px;
  padding-top: 0;
  border-top: none;
}

.legal-article ul.legal-kv-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.legal-article ul.legal-kv-list li {
  margin-bottom: 0;
  line-height: 1.55;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0 20px;
  border: 1px solid rgba(77, 37, 37, 0.14);
  border-radius: 12px;
  background: #ffffff;
}

.legal-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: left;
}

.legal-table th {
  background: #faf8f5;
  color: #4d2525;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(77, 37, 37, 0.14);
}

.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(77, 37, 37, 0.08);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 16px 0 6px;
}

#legal-open-cookie-settings-btn,
.legal-cookie-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4d2525;
  color: #ffffff;
  border: 1px solid #4d2525;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-sans, 'Jost', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#legal-open-cookie-settings-btn:hover,
.legal-cookie-cta:hover {
  background: #361919;
}

/* Bloque legal en Checkout y Cuenta */
.checkout-legal-box {
  background: #faf8f5;
  border: 1px solid #e6ddd6;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.checkout-legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.48;
  color: #231515;
  font-weight: 500;
}

.checkout-legal-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #4d2525;
  cursor: pointer;
}

.checkout-legal-check a {
  color: #4d2525;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rgpd-first-layer {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid #ebe3dc;
  font-size: 11.5px;
  line-height: 1.5;
  color: #6e5a5a;
}

.rgpd-first-layer a {
  color: #4d2525;
  text-decoration: underline;
}

.checkout-legal-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #efe9e4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 11.5px;
  color: #6e5a5a;
}

.checkout-legal-footer a,
.checkout-legal-footer button {
  color: #4d2525;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.checkout-legal-footer a:hover,
.checkout-legal-footer button:hover {
  text-decoration: underline;
}
