/* =============================================================
   BioSilver — Custom Theme CSS
   Dirección: Technical Purity — ciencia natural premium
   Paleta: blanco/plata/azul oscuro/dorado suave
   ============================================================= */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== Brand Tokens ===== */
:root {
  --bs-primary:           #1A2E44;
  --bs-primary-rgb:       26, 46, 68;

  --brand-primary:        #1A2E44;   /* azul marino oscuro */
  --brand-surface:        #FAFAF8;   /* blanco cálido */
  --brand-surface-alt:    #F2F4F7;   /* gris muy suave */
  --brand-ink:            #1A2232;   /* texto principal */
  --brand-ink-muted:      #6B7A8D;   /* texto secundario */
  --brand-silver:         #8B9BB0;   /* plateado */
  --brand-gold:           #B8A05A;   /* dorado coloidal */
  --brand-gold-light:     #D4BC7A;   /* dorado claro */
  --brand-accent:         #3D8BCD;   /* azul confianza */
  --brand-border:         #E2E6EC;   /* bordes sutiles */
  --brand-white:          #FFFFFF;

  --font-display:         'DM Serif Display', Georgia, serif;
  --font-body:            'Inter', system-ui, sans-serif;

  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;
  --radius-full:          999px;

  --shadow-sm:            0 1px 3px rgba(26,46,68,.08), 0 1px 2px rgba(26,46,68,.06);
  --shadow-md:            0 4px 16px rgba(26,46,68,.10), 0 2px 6px rgba(26,46,68,.06);
  --shadow-lg:            0 12px 40px rgba(26,46,68,.14), 0 4px 12px rgba(26,46,68,.08);

  --transition-base:      .22s ease;
  --transition-slow:      .38s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  background: var(--brand-surface);
  color: var(--brand-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Add breathing room below the category hero */
body.page-category .columns-container {
  padding-top: 2.5rem;
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

h1, .h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2, .h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

/* Hero title — DM Serif Display funciona mejor algo más grande
   y con line-height más abierto para los remates finos */
.bshero__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2.75rem, 5.5vw, 4.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
}

/* Italic para el énfasis emocional — DM Serif Display italic es muy expresiva */
.bshero__title em {
  font-style: italic;
  color: var(--brand-accent, #3D8BCD);
}

p { color: var(--brand-ink-muted); line-height: 1.7; }
a { color: var(--brand-accent); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--brand-primary); }

img { max-width: 100%; height: auto; }

/* ===== Top Trust Bar ===== */
.bs-topbar {
  background: var(--brand-primary);
  color: rgba(255,255,255,.85);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
}
.bs-topbar a { color: var(--brand-gold-light); }
.bs-topbar .bs-topbar__items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.bs-topbar .bs-topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Header ===== */
#header {
  background: var(--brand-white) !important;
  border-bottom: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* header-top is hidden via template override — no padding needed */
/* #header .header-top { padding: 0.75rem 0; } */

#header .logo img,
#header .logo {
  max-height: 48px;
}

/* Navbar links */
#header .top-nav a,
#header .js-top-menu a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-ink) !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem !important;
  transition: color var(--transition-base);
}
#header .top-nav a:hover,
#header .js-top-menu a:hover {
  color: var(--brand-accent) !important;
}

/* Cart / search icons */
#header .cart-preview .cart-products-count,
#header ._right a {
  color: var(--brand-ink) !important;
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  transition: all var(--transition-base);
  border-width: 2px;
}

.btn-primary {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
}
.btn-primary:hover {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary,
.btn-outline-primary {
  background: transparent !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary) !important;
}
.btn-secondary:hover,
.btn-outline-primary:hover {
  background: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
  color: var(--brand-white) !important;
}
.btn-gold:hover {
  background: var(--brand-gold-light) !important;
  border-color: var(--brand-gold-light) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Add to cart button */
.btn-add-to-cart,
.add-to-cart {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem !important;
  transition: all var(--transition-base) !important;
}
.btn-add-to-cart:hover,
.add-to-cart:hover {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Product Cards ===== */
.product-miniature {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
}
.product-miniature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-miniature .card {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

/* ── Image area ── */
.product-miniature__image-container,
.product-miniature .thumbnail-container {
  background: var(--brand-surface-alt);
  overflow: hidden;
}
.product-miniature__image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1rem;
  transition: transform var(--transition-slow);
}
.product-miniature:hover .product-miniature__image {
  transform: scale(1.04);
}

/* ── Info block ── */
.product-miniature__infos {
  padding: 0.875rem 1rem 0;
}

/* Product name */
.product-miniature__title {
  display: block;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--brand-ink) !important;
  line-height: 1.35 !important;
  margin-bottom: 0.4rem !important;
  text-decoration: none !important;
  transition: color var(--transition-base);
}
.product-miniature__title:hover {
  color: var(--brand-accent) !important;
}

/* Price */
.product-miniature__price {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--brand-primary) !important;
}
.product-miniature__regular-price {
  text-decoration: line-through !important;
  color: var(--brand-ink-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}
.product-miniature .badge.discount {
  background: var(--brand-gold) !important;
  color: var(--brand-white) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
}
.product-miniature .badge.new {
  background: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
}

/* ── Actions area: quantity + add-to-cart ── */
.product-miniature__actions {
  padding: 0.75rem 1rem 1rem !important;
  /* Evita overflow en cards estrechas (ej. viewed products sidebar) */
  overflow: hidden !important;
}

/* El form es el contenedor flex de la fila qty + cta */
.product-miniature__form {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  overflow: hidden !important;     /* clip si la card es muy estrecha */
  min-width: 0 !important;
}

/* Quantity block nunca crece — siempre tamaño fijo */
.product-miniature__form .quantity-button,
.product-miniature__form .js-quantity-button {
  flex: 0 0 auto !important;
  min-width: 0 !important;
}

/* Quantity group: pill horizontal compacta */
.product-miniature__form .quantity-button__group,
.product-miniature__form .input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  border: 1.5px solid var(--brand-border) !important;
  border-radius: var(--radius-full) !important;
  overflow: hidden !important;
  background: var(--brand-white) !important;
  height: 38px !important;
  min-width: 0 !important;
}

/* Botones − y + */
.product-miniature__form .quantity-button__group .btn,
.product-miniature__form .input-group .btn {
  width: 30px !important;
  min-width: 30px !important;
  height: 36px !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand-ink) !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background var(--transition-base), color var(--transition-base) !important;
  flex-shrink: 0 !important;
}
.product-miniature__form .quantity-button__group .btn:hover,
.product-miniature__form .input-group .btn:hover {
  background: var(--brand-surface-alt) !important;
  color: var(--brand-primary) !important;
}
.product-miniature__form .quantity-button__group .btn .material-icons,
.product-miniature__form .input-group .btn .material-icons {
  font-size: 15px !important;
  line-height: 1 !important;
}

/* Input de cantidad */
.product-miniature__form .quantity-button__group .form-control,
.product-miniature__form .input-group .form-control {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 36px !important;
  padding: 0 !important;
  border: none !important;
  border-left: 1px solid var(--brand-border) !important;
  border-right: 1px solid var(--brand-border) !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--brand-ink) !important;
  background: var(--brand-white) !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
.product-miniature__form .quantity-button__group .form-control:focus,
.product-miniature__form .input-group .form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: var(--brand-border) !important;
}

/* ── Botón Add to cart — se adapta al espacio disponible ── */
.product-miniature__add.btn {
  flex: 1 1 0% !important;       /* crece para llenar, pero parte de 0 (no de su contenido) */
  min-width: 36px !important;    /* mínimo: solo icono */
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  height: 38px !important;
  padding: 0 0.875rem !important;
  border-radius: var(--radius-full) !important;
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base) !important;
}
.product-miniature__add.btn:hover {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(61,139,205,.30) !important;
}
.product-miniature__add.btn .material-icons {
  font-size: 15px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

/* Texto del botón add-to-cart */
.product-miniature__add-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* ── Cards muy estrechas: solo icono, ocultar texto ──
   Aplica cuando la card está en un contexto de columna muy estrecha
   (ej. ps_crossselling sidebar, viewed products en 3+ cols) */
@container (max-width: 200px) {
  .product-miniature__add-text { display: none !important; }
  .product-miniature__add.btn { padding: 0 !important; }
}

/* Fallback sin container queries — col-sm-4 o más estrecha */
@media (min-width: 576px) and (max-width: 1199px) {
  /* En columnas de 1/3 o 1/4 del viewport el texto puede ser innecesario */
  .col-sm-4 .product-miniature__add-text,
  .col-md-4 .product-miniature__add-text,
  .col-lg-4 .product-miniature__add-text {
    display: none !important;
  }
  .col-sm-4 .product-miniature__add.btn,
  .col-md-4 .product-miniature__add.btn,
  .col-lg-4 .product-miniature__add.btn {
    padding: 0 0.5rem !important;
  }
}

/* Variants (color swatches en card) */
.product-miniature__variants {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 0.4rem !important;
}
.product-miniature__variants .color {
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  border: 2px solid var(--brand-border) !important;
  display: inline-block !important;
  transition: transform var(--transition-base) !important;
}
.product-miniature__variants .color:hover {
  transform: scale(1.25) !important;
  border-color: var(--brand-primary) !important;
}

/* Stars in listing */
.product-list-review .grade-stars .star,
.product-miniature .grade-stars span {
  color: var(--brand-gold) !important;
}
.product-miniature .product-list-review {
  margin-top: 0.2rem !important;
  margin-bottom: 0.4rem !important;
}

/* Quick view button */
.product-miniature__quickview-button {
  background: rgba(255,255,255,.92) !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--radius-full) !important;
  color: var(--brand-ink) !important;
  font-size: 0.75rem !important;
  backdrop-filter: blur(4px);
  transition: all var(--transition-base) !important;
}
.product-miniature__quickview-button:hover {
  background: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-primary) !important;
}

/* Habilitar container queries en la card para el fallback de botón */
.product-miniature {
  container-type: inline-size !important;
}

/* ===================================================================
   PRODUCT DETAIL PAGE (PDP) — Shopify-style moderno
   Estructura: 2 columnas (galería + info) arriba · 1 columna full abajo
   =================================================================== */

/* ── Wrapper general ── */
#product .columns-container {
  padding-top: 0 !important;
}

/* ── Parte superior: 2 columnas ── */
#product .product__container {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  align-items: start !important;
}

@media (min-width: 992px) {
  #product .product__container {
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
  }
  #product .product__left {
    position: sticky !important;
    top: 80px !important;
  }
}

/* ── Galería izquierda ── */
#product .product__images {
  border-radius: 20px !important;
  overflow: hidden !important;
  background: var(--brand-surface-alt) !important;
}

#product .product__carousel .carousel-inner {
  border-radius: 20px !important;
  background: var(--brand-surface-alt) !important;
}

#product .product__carousel .carousel-item img {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  padding: 1.5rem !important;
  width: 100% !important;
  height: auto !important;
  background: var(--brand-surface-alt) !important;
}

/* Thumbnails verticales debajo — estilo Shopify */
#product .product__thumbnails {
  margin-top: 0.75rem !important;
}
#product .product__thumbnails-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#product .product__thumbnail {
  width: 72px !important;
  height: 72px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 2px solid var(--brand-border) !important;
  background: var(--brand-surface-alt) !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: border-color var(--transition-base) !important;
  flex-shrink: 0 !important;
}
#product .product__thumbnail.active,
#product .product__thumbnail:hover {
  border-color: var(--brand-primary) !important;
}
#product .product__thumbnail-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 4px !important;
  border-radius: 8px !important;
}

/* Zoom button */
#product .product__zoom {
  position: absolute !important;
  bottom: 1rem !important;
  right: 1rem !important;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid var(--brand-border) !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(4px) !important;
  transition: all var(--transition-base) !important;
  color: var(--brand-ink) !important;
  z-index: 5 !important;
}
#product .product__zoom:hover {
  background: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-primary) !important;
}

/* Badges en imagen */
#product .product-flags {
  position: absolute !important;
  top: 1rem !important;
  left: 1rem !important;
  z-index: 4 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#product .badge.discount {
  background: var(--brand-gold) !important;
  color: var(--brand-white) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
  letter-spacing: 0.04em !important;
}
#product .badge.new {
  background: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-full) !important;
  border: none !important;
}

/* ── Columna derecha: info del producto ── */
#product .product__right {
  background: transparent !important;
}

/* Título */
#product .product__name {
  font-family: var(--font-display) !important;
  font-size: clamp(1.75rem, 3vw, 2.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: var(--brand-primary) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.5rem !important;
}

/* Marca */
#product .product__manufacturer {
  margin-bottom: 0.75rem !important;
}
#product .product__manufacturer a {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brand-ink-muted) !important;
  text-decoration: none !important;
  transition: color var(--transition-base) !important;
}
#product .product__manufacturer a:hover {
  color: var(--brand-accent) !important;
}

/* Separador visual entre nombre y precio */
#product .product__prices {
  padding: 1.25rem 0 !important;
  border-top: 1px solid var(--brand-border) !important;
  border-bottom: 1px solid var(--brand-border) !important;
  margin-bottom: 1.5rem !important;
}

/* Precio principal */
#product .product__price {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: var(--brand-primary) !important;
  line-height: 1.1 !important;
}

/* Precio tachado */
#product .product__regular-price {
  font-size: 1rem !important;
  color: var(--brand-ink-muted) !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

/* Porcentaje de descuento */
#product .product__discount-percentage {
  display: inline-block !important;
  background: rgba(184,160,90,.12) !important;
  color: var(--brand-gold) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: var(--radius-full) !important;
  vertical-align: middle !important;
}

/* IVA */
#product .product__tax-infos {
  font-size: 0.75rem !important;
  color: var(--brand-ink-muted) !important;
  margin-top: 0.25rem !important;
}

/* Descripción corta */
#product .product__description-short {
  font-size: 0.9375rem !important;
  color: var(--brand-ink-muted) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}
#product .product__description-short p {
  margin-bottom: 0 !important;
}

/* ── Variantes: fila en desktop, columna en mobile ── */
#product .product__variants {
  margin-bottom: 1.25rem !important;
  /* Grid de 2 columnas en desktop: Size a la izq, Color a la der */
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

@media (min-width: 768px) {
  #product .product__variants {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem 1.5rem !important;
    align-items: start !important;
  }
}

#product .product-variant {
  margin-bottom: 0 !important;   /* el gap del grid gestiona el espacio */
  border: none !important;
  padding: 0 !important;
}

#product .product-variant__legend {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: var(--brand-ink) !important;
  margin-bottom: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
}

#product .product-variant__selected {
  font-weight: 400 !important;
  color: var(--brand-ink-muted) !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Select de talla — estilo pill moderno */
#product .product-variant .form-select {
  border: 1.5px solid var(--brand-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.6rem 2.5rem 0.6rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--brand-ink) !important;
  background-color: var(--brand-white) !important;
  cursor: pointer !important;
  transition: border-color var(--transition-base) !important;
  max-width: 200px !important;
}
#product .product-variant .form-select:focus {
  border-color: var(--brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(26,46,68,.1) !important;
}

/* ── Swatches de color — círculos limpios sin recuadro ── */
#product .product-variant__colors {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.6rem !important;
  align-items: center !important;
}
/* El wrapper de cada color (div.product-variant__color.input-color) */
#product .product-variant__color.input-color {
  position: relative !important;
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
}
/* El input radio oculto */
#product .input-color__input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
/* El label que actúa de botón — anillo exterior + círculo de color interior */
#product .input-color__label {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  background: transparent !important;
  padding: 3px !important;          /* espacio entre anillo y circulo */
  cursor: pointer !important;
  transition: border-color var(--transition-base), transform var(--transition-base) !important;
  box-sizing: border-box !important;
}
/* El span.color dentro del label — es el círculo de color real */
#product .input-color__label .color {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  /* el background-color viene inline desde PS */
}
/* Estado hover */
#product .input-color__label:hover {
  border-color: var(--brand-silver) !important;
  transform: scale(1.1) !important;
}
/* Estado activo/seleccionado */
#product .input-color__label--active {
  border-color: var(--brand-primary) !important;
}
#product .input-color__label--active .color {
  border-color: rgba(0,0,0,.15) !important;
}

/* ── Cantidad + Add to cart ── */
#product .product__actions-qty-add {
  margin-bottom: 1rem !important;
}

/* Quantity + CTA en la misma fila */
#product .product-quantity,
#product .js-quantity-button {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

/* Quantity pill */
#product .quantity-button__group.input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  border: 1.5px solid var(--brand-border) !important;
  border-radius: var(--radius-full) !important;
  overflow: hidden !important;
  background: var(--brand-white) !important;
  height: 52px !important;
  width: fit-content !important;
}
#product .quantity-button__group .btn.decrement,
#product .quantity-button__group .btn.increment {
  width: 44px !important;
  height: 50px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--brand-ink) !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background var(--transition-base) !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}
#product .quantity-button__group .btn:hover {
  background: var(--brand-surface-alt) !important;
  color: var(--brand-primary) !important;
}
#product .quantity-button__group .btn .material-icons {
  font-size: 18px !important;
}
#product #quantity_wanted {
  width: 52px !important;
  height: 50px !important;
  border: none !important;
  border-left: 1px solid var(--brand-border) !important;
  border-right: 1px solid var(--brand-border) !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--brand-ink) !important;
  background: var(--brand-white) !important;
  box-shadow: none !important;
  padding: 0 !important;
}
#product #quantity_wanted:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Add to cart — botón grande, full-width en mobile */
#product .product__add-to-cart {
  margin-top: 0 !important;
  position: static !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
#product .product__add-to-cart-button {
  height: 52px !important;
  padding: 0 2.25rem !important;
  border-radius: var(--radius-full) !important;
  background: var(--brand-primary) !important;
  border: 2px solid var(--brand-primary) !important;
  color: var(--brand-white) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all var(--transition-base) !important;
  white-space: nowrap !important;
}
#product .product__add-to-cart-button:hover:not(:disabled) {
  background: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(61,139,205,.30) !important;
}
#product .product__add-to-cart-button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
#product .product__add-to-cart-button .material-icons {
  font-size: 18px !important;
}

/* Mobile: CTA ancho completo */
@media (max-width: 767px) {
  #product .product__actions-qty-add {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  #product .product__add-to-cart-button {
    width: 100% !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    z-index: 999 !important;
    height: 56px !important;
    box-shadow: 0 -4px 20px rgba(26,46,68,.15) !important;
  }
  #product .product__right {
    padding-bottom: 4rem !important;
  }
}

/* ── Trust strip — íconos de confianza bajo el CTA ── */
#product .product__add-to-cart-container {
  margin-bottom: 0 !important;
}

/* Trust badges visuals inline (añadidos por JS en custom.js) */
.pdp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
  margin: 1.25rem 0;
}
.pdp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-ink-muted);
}
.pdp-trust-item svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}

/* ── Disponibilidad ── */
#product .product__availability {
  margin-bottom: 1rem !important;
}
#product .product__availability .product-available {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #16a34a !important;
  background: #f0fdf4 !important;
  padding: 4px 12px !important;
  border-radius: var(--radius-full) !important;
}

/* ── Tabs de descripción / características / comentarios ── */
#product .product-tabs {
  margin-top: 3rem !important;
}
#product .product-tabs .nav-tabs {
  border-bottom: 2px solid var(--brand-border) !important;
  gap: 0 !important;
}
#product .product-tabs .nav-link {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--brand-ink-muted) !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 0 !important;
  margin-bottom: -2px !important;
  transition: all var(--transition-base) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.75rem !important;
}
#product .product-tabs .nav-link:hover {
  color: var(--brand-primary) !important;
  background: transparent !important;
}
#product .product-tabs .nav-link.active {
  color: var(--brand-primary) !important;
  border-bottom-color: var(--brand-primary) !important;
  background: transparent !important;
}
#product .product-tabs .tab-content {
  padding: 1.75rem 0 !important;
}
#product .product-tabs .tab-pane p {
  font-size: 0.9375rem !important;
  color: var(--brand-ink-muted) !important;
  line-height: 1.75 !important;
}

/* ── Características del producto ── */
#product .product-features {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
#product .product-features .feature {
  background: var(--brand-surface-alt) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.875rem 1rem !important;
}
#product .product-features .feature-name {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--brand-ink-muted) !important;
  margin-bottom: 0.25rem !important;
  display: block !important;
}
#product .product-features .feature-value {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--brand-primary) !important;
}

/* ── Estrellas y reseñas ── */
#product .star-content .star-on::before { color: var(--brand-gold) !important; }
#product .grade-stars .star { color: var(--brand-gold) !important; }
#product .product__reviews {
  margin-top: 1rem !important;
}

/* ── Share buttons — minimalista ── */
#product .ps-sharebuttons {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 0 !important;
  margin-top: 0.5rem !important;
}
#product .ps-sharebuttons__label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--brand-ink-muted) !important;
}
#product .ps-sharebuttons__list {
  display: flex !important;
  gap: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
#product .ps-sharebuttons__link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: var(--brand-surface-alt) !important;
  border: 1px solid var(--brand-border) !important;
  color: var(--brand-ink) !important;
  font-size: 0.75rem !important;
  text-decoration: none !important;
  transition: all var(--transition-base) !important;
}
#product .ps-sharebuttons__link:hover {
  background: var(--brand-primary) !important;
  color: var(--brand-white) !important;
  border-color: var(--brand-primary) !important;
}

/* Star ratings */
.star-content .star-on::before { color: var(--brand-gold) !important; }
.grade-stars .star { color: var(--brand-gold); }

/* ── product__bottom: zona full-width bajo las 2 columnas ── */
#product .product__bottom {
  border-top: 1px solid var(--brand-border) !important;
  margin-top: 1rem !important;
  padding-top: 0 !important;
}

/* Forzar ancho completo dentro del container */
#product .product__bottom-left {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── Accordion moderno (descripción, detalles, comentarios) ── */
#product .product__accordion {
  border: none !important;
}
#product .accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--brand-border) !important;
  background: transparent !important;
  border-radius: 0 !important;
}
#product .accordion-item:first-child {
  border-top: 1px solid var(--brand-border) !important;
}
#product .accordion-button {
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brand-primary) !important;
  background: transparent !important;
  padding: 1.25rem 0 !important;
  box-shadow: none !important;
  border: none !important;
}
#product .accordion-button:not(.collapsed) {
  color: var(--brand-accent) !important;
  background: transparent !important;
  box-shadow: none !important;
}
#product .accordion-button::after {
  filter: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 5l5 5 5-5' stroke='%231A2E44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
}
#product .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 9l5-5 5 5' stroke='%233D8BCD' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
#product .accordion-collapse .accordion-body {
  padding: 0 0 1.5rem !important;
}
#product .accordion-body p,
#product .accordion-body li {
  font-size: 0.9375rem !important;
  color: var(--brand-ink-muted) !important;
  line-height: 1.8 !important;
}

/* ── Características dentro del accordion en grid de 2 columnas ── */
#product .product-features {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
#product .product-features .feature {
  background: var(--brand-surface-alt) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.875rem 1.125rem !important;
  border: 1px solid var(--brand-border) !important;
}
#product .product-features .feature-name {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--brand-ink-muted) !important;
  margin-bottom: 0.3rem !important;
  display: block !important;
}
#product .product-features .feature-value {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--brand-primary) !important;
}

/* ===== Category / Listing (PLP) ===== */
#category h1.h1,
#search h1.h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--brand-primary);
}

/* Faceted filters */
.faceted-overlay .facets-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}

/* ===== Navigation Breadcrumb ===== */
.breadcrumb {
  background: transparent;
  padding: 0.75rem 0;
  font-size: 0.8rem;
}
.breadcrumb-item a { color: var(--brand-ink-muted); }
.breadcrumb-item.active { color: var(--brand-primary); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--brand-silver); }

/* ===== Footer ===== */
#footer {
  background: var(--brand-primary) !important;
  color: rgba(255,255,255,.8);
  margin-top: 4rem;
}

#footer h4,
#footer .footer-block h4,
#footer .block_newsletter h2 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-white) !important;
  margin-bottom: 1.25rem;
}

#footer a {
  color: rgba(255,255,255,.65) !important;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}
#footer a:hover { color: var(--brand-gold-light) !important; }

#footer .footer-copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

/* Newsletter input in footer */
#footer .input-group .form-control {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.2) !important;
  color: var(--brand-white) !important;
  border-radius: var(--radius-full) 0 0 var(--radius-full) !important;
}
#footer .input-group .form-control::placeholder { color: rgba(255,255,255,.4); }
#footer .input-group .btn {
  border-radius: 0 var(--radius-full) var(--radius-full) 0 !important;
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold) !important;
}

/* ===== Forms ===== */
.form-control {
  border: 1.5px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: var(--brand-ink);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-control:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(61,139,205,.15);
  outline: none;
}

/* ===== Badges ===== */
.badge-new,
.product-flag.new {
  background: var(--brand-accent) !important;
  color: var(--brand-white) !important;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.product-flag.on-sale {
  background: var(--brand-gold) !important;
  color: var(--brand-white) !important;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

/* ===== Section utilities (used by modules) ===== */
.bs-section {
  padding: 5rem 0;
}
.bs-section--alt {
  background: var(--brand-surface-alt);
}
.bs-section--dark {
  background: var(--brand-primary);
  color: var(--brand-white);
}
.bs-section--dark h2,
.bs-section--dark h3,
.bs-section--dark p {
  color: var(--brand-white);
}

.bs-section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}
.bs-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--brand-primary);
  margin-bottom: 1rem;
}
.bs-section__subtitle {
  font-size: 1.05rem;
  color: var(--brand-ink-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.bs-section--dark .bs-section__eyebrow { color: var(--brand-gold-light); }
.bs-section--dark .bs-section__title   { color: var(--brand-white); }
.bs-section--dark .bs-section__subtitle{ color: rgba(255,255,255,.7); }

/* Decorative gold divider */
.bs-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
  margin: 1rem auto 2rem;
  border-radius: 2px;
}

/* ===== Alert / Notification ===== */
.alert-success { background: #EFF9F0; border-color: #A8D5AD; color: #1D5E24; border-radius: var(--radius-md); }
.alert-danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; border-radius: var(--radius-md); }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; border-radius: var(--radius-md); }

/* ===== Pagination ===== */
.pagination .page-link {
  color: var(--brand-primary);
  border-color: var(--brand-border);
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  font-weight: 500;
  transition: all var(--transition-base);
}
.pagination .page-link:hover {
  background: var(--brand-primary);
  color: var(--brand-white);
  border-color: var(--brand-primary);
}
.pagination .page-item.active .page-link {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

/* ===== Cart / Checkout ===== */
.cart-summary-totals .cart-total .value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-primary);
}

.checkout-process .step-title {
  font-family: var(--font-display);
  color: var(--brand-primary);
}

/* ===== Utility helpers ===== */
.text-gold    { color: var(--brand-gold) !important; }
.text-silver  { color: var(--brand-silver) !important; }
.text-primary { color: var(--brand-primary) !important; }
.bg-primary   { background: var(--brand-primary) !important; }
.bg-surface   { background: var(--brand-surface-alt) !important; }

/* ===== Scroll animation base (JS adds .bs-visible) ===== */
.bs-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.bs-fade-up.bs-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .bs-section { padding: 3rem 0; }

  #product .product-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(26,46,68,.12);
  }

  .btn { padding: 0.65rem 1.5rem; font-size: 0.8rem; }
}

@media (min-width: 768px) {
  .bs-section { padding: 5rem 0; }
}

@media (min-width: 1200px) {
  .bs-section { padding: 6rem 0; }
}

/* =============================================================
   Category / PLP — layout & filter bar
   ============================================================= */

/* Hide only the title, description and cover image from the default
   category header — our hero module already renders those fullwidth.
   The subcategory thumbnails (.subcategory) must remain visible. */
.category__header .page-title-section,
.category__header .category__description,
.category__header .category__cover {
  display: none !important;
}

/* ── Toolbar / sort bar ── */
#js-product-list-top {
  border: none !important;
  background: transparent !important;
  padding: 0.5rem 0 1.25rem !important;
  border-bottom: 1px solid var(--brand-border) !important;
  margin-bottom: 2rem !important;
}

.products-sort-order .select-title,
#js-product-list-top .form-control,
#js-product-list-top select {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-ink);
  letter-spacing: 0.03em;
  background: transparent;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  transition: border-color var(--transition-base);
}

.products-sort-order .select-title:hover,
#js-product-list-top .form-control:hover {
  border-color: var(--brand-silver);
}

/* Product count label */
.total-products p,
#js-product-list-top .showing {
  font-size: 0.8125rem;
  color: var(--brand-ink-muted);
  letter-spacing: 0.02em;
}

/* ── Subcategory thumbnails grid ── */
.subcategory {
  margin-bottom: 2rem;
}

.subcategory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.subcategory__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: 0 0 auto;
  width: calc(50% - 0.5rem);
}

@media (min-width: 576px) {
  .subcategory__link {
    width: calc(33.333% - 0.7rem);
  }
}

@media (min-width: 992px) {
  .subcategory__link {
    width: calc(25% - 0.75rem);
  }
}

.subcategory__link picture,
.subcategory__link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: block;
}

.subcategory__link:hover picture img,
.subcategory__link:hover img {
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}

.subcategory__name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  transition: color var(--transition-base);
}

.subcategory__link:hover .subcategory__name {
  color: var(--brand-accent);
}

/* ── Active facet pills ── */
.active-filter-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-ink-muted);
}

.filter-block .facet-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

/* Remove preset button style for facet checkboxes */
.faceted-overlay .facet .custom-checkbox input[type=checkbox]:checked + span,
#search_filters .facet .custom-checkbox input[type=checkbox]:checked + span {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

/* ── Product miniature on PLP — minimal clean card ── */
.product-miniature {
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-white);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-miniature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Image aspect ratio — 1:1 clean square */
.product-miniature__top {
  background: var(--brand-surface-alt);
  overflow: hidden;
}

.product-miniature__image {
  transition: transform var(--transition-slow);
  display: block;
}

.product-miniature:hover .product-miniature__image {
  transform: scale(1.045);
}

/* Bottom info area */
.product-miniature__bottom {
  padding: 0.9rem 1rem 1rem;
}

.product-miniature__infos {
  padding: 0 !important;
}

/* Title */
.product-miniature__title {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--brand-ink) !important;
  letter-spacing: 0 !important;
  margin-bottom: 0.35rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base) !important;
}

.product-miniature__title:hover {
  color: var(--brand-accent) !important;
}

/* Price */
.product-miniature__price {
  font-weight: 700 !important;
  font-size: 1rem !important;
  color: var(--brand-primary) !important;
  letter-spacing: -0.01em !important;
}

.product-miniature__regular-price {
  text-decoration: line-through !important;
  color: var(--brand-ink-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  margin-right: 0.25rem !important;
}

/* Add-to-cart action */
.product-miniature__actions {
  margin-top: 0.75rem;
}

.product-miniature__add {
  border-radius: var(--radius-full) !important;
  font-size: 0.8rem !important;
  padding: 0.55rem 1rem !important;
  letter-spacing: 0.04em;
}

/* Gold accent on product flags */
.product-flag {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.2rem 0.55rem !important;
}

.product-flag.new,
.product-flag.on-sale {
  background: var(--brand-gold) !important;
  color: var(--brand-white) !important;
}

/* ── Subcategory thumbnails ── */
.subcategory-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.subcategory-image:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.subcategory-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--brand-primary);
  margin-top: 0.5rem;
}

/* ── Pagination ── */
.pagination .page-link {
  color: var(--brand-primary);
  border-color: var(--brand-border);
  border-radius: var(--radius-sm) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  transition: all var(--transition-base);
}

.pagination .page-link:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--brand-white);
}

.pagination .page-item.active .page-link {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: var(--brand-white) !important;
}

/* ── Mobile PLP ── */
@media (max-width: 767px) {
  .category__header .page-title-section,
  .category__header .category__description,
  .category__header .category__cover { display: none !important; }

  #js-product-list-top {
    padding: 0.25rem 0 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .product-miniature__bottom {
    padding: 0.65rem 0.75rem 0.75rem;
  }

  .product-miniature__title {
    font-size: 0.8rem !important;
  }

  .product-miniature__price {
    font-size: 0.9rem !important;
  }
}

/* =============================================================
   Navigation — visual-only overrides
   NO tocar position, top, left, right, display del submenu —
   eso lo gestiona Hummingbird correctamente.
   ============================================================= */

/* ── Nav bar ─────────────────────────────────────────────────── */
.header-bottom {
  border-top: 1px solid var(--brand-border, #E2E6EC);
}

/* ── First-level links — solo tipografía y color ─────────────── */
.ps-mainmenu__tree-item-wrapper {
  display: flex;
  align-items: center;
}

.ps-mainmenu__tree-link {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary, #1A2E44) !important;
  text-decoration: none !important;
}

.ps-mainmenu__tree-item:hover .ps-mainmenu__tree-link,
.ps-mainmenu__tree-item.current .ps-mainmenu__tree-link {
  color: var(--brand-accent, #3D8BCD) !important;
}

/* ── Submenu de categorías — solo visual ─────────────────────── */
.submenu__left-item {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--brand-primary, #1A2E44) !important;
}

.submenu__left-item:hover {
  color: var(--brand-accent, #3D8BCD) !important;
}

/* ── Blog submenu ────────────────────────────────────────────── */
.aiblog-nav-submenu__inner {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  gap: 2px;
}

.aiblog-nav-submenu__item {
  display: block;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-primary, #1A2E44);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.aiblog-nav-submenu__item:first-child {
  font-weight: 700;
  color: var(--brand-accent, #3D8BCD);
  border-bottom: 1px solid var(--brand-border, #E2E6EC);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.aiblog-nav-submenu__item:hover {
  background: var(--brand-bg-alt, #F4F6F9);
  color: var(--brand-accent, #3D8BCD);
}

/* =============================================================
   Header — single-row layout
   Topbar is suppressed via template override.
   Nav2 widgets (currency · sign-in · cart) are rendered inline
   inside the header-bottom row (.bs-header-nav2).
   Searchbar is reduced to icon-only (input hidden) so the user's
   custom search module can handle the expansion.
   ============================================================= */

/* ── Header row height ── */
.header-bottom {
  min-height: 64px;
}

.header-bottom__row {
  min-height: 64px;
  flex-wrap: nowrap !important;
}

/* Logo: left-anchored, no auto margin in desktop */
.header-bottom__logo {
  margin-right: 1.5rem !important;
  margin-left: 0 !important;
  order: 1 !important;
}

/* Menu: natural width, does NOT consume all remaining space */
.ps-mainmenu.ps-mainmenu--desktop {
  order: 2 !important;
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── Nav2 widget strip (lupa · sign-in · cart) — pinned far right ── */
.bs-header-nav2 {
  gap: 0.25rem;
  align-items: center;
  order: 4 !important;
  margin-left: auto !important;
}

/* Hide currency selector */
.bs-header-nav2 #_desktop_ps_currencyselector {
  display: none !important;
}

/* Search icon inside nav2 */
.bs-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--brand-ink) !important;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base);
}
.bs-search-icon:hover {
  background: var(--brand-surface-alt);
  color: var(--brand-primary) !important;
}
.bs-search-icon .header-block__icon {
  font-size: 22px !important;
}

/* Currency selector — compact pill */
.bs-header-nav2 .ps-currencyselector select,
.bs-header-nav2 .form-select {
  border: 1px solid var(--brand-border) !important;
  border-radius: var(--radius-full) !important;
  background: transparent !important;
  color: var(--brand-ink) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  padding: 0.3rem 0.6rem !important;
  height: auto !important;
  cursor: pointer;
  transition: border-color var(--transition-base);
}
.bs-header-nav2 .ps-currencyselector select:hover,
.bs-header-nav2 .form-select:hover {
  border-color: var(--brand-silver) !important;
}

/* Sign-in and cart icon buttons */
.bs-header-nav2 .header-block__action-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--brand-ink) !important;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}
.bs-header-nav2 .header-block__action-btn:hover {
  background: var(--brand-surface-alt);
  color: var(--brand-primary) !important;
}

/* Icon size in nav2 */
.bs-header-nav2 .header-block__icon {
  font-size: 20px !important;
  line-height: 1 !important;
}

/* Cart badge */
.bs-header-nav2 .header-block__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--brand-white) !important;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

/* Hide title text next to sign-in on all sizes — keep icon only */
.bs-header-nav2 .header-block__title {
  display: none !important;
}

/* ── Searchbar: icon-only (input hidden, icon acts as trigger) ── */
/* The full-width input bar is replaced by a 40px icon button.     */
/* The user's own search module will handle the expansion.         */

/* Desktop searchbar wrapper suppressed — icon lives in .bs-header-nav2 */
#_desktop_ps_searchbar {
  display: none !important;
}

/* Desktop searchbar form/input — not rendered in desktop via template override */

/* ── Overrides for any existing header-top remnants ── */
/* (Shouldn't render via template override, but defensive belt-and-suspenders) */
.header-top {
  display: none !important;
}

/* =============================================================
   CMS About Us — Landing page styles (.bscms-*)
   Redesigned: hero with bg, pillar layout, metals side-by-side,
   process bars, quote full-width, numbered explore grid.
   ============================================================= */

/* ── Base reset for the CMS page ── */
.page-content--cms .bscms-about {
  margin: 0 -1rem;
}
.page-content--cms h1,
.page-content--cms h2,
.page-content--cms h3 {
  margin: 0;
}
body.page-cms .page-content--cms > h1.page-heading {
  display: none;
}

/* ── Shared eyebrow ── */
.bscms-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}
.bscms-eyebrow--light {
  color: var(--brand-gold-light);
}

/* ── HERO FULL (with background image) ── */
.bscms-hero-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.bscms-hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 18, 34, 0.92) 0%,
    rgba(10, 18, 34, 0.55) 50%,
    rgba(10, 18, 34, 0.18) 100%
  );
}

.bscms-hero-full__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 2.5rem 3.5rem;
  max-width: 800px;
}

.bscms-hero-full__title {
  font-family: var(--font-display) !important;
  font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 1.25rem !important;
}

.bscms-hero-full__title em {
  font-style: italic;
  color: var(--brand-gold-light);
}

.bscms-hero-full__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.bscms-hero-full__stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.bscms-hero-full__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bscms-hero-full__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--brand-gold-light);
  line-height: 1;
}

.bscms-hero-full__stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

@media (max-width: 767px) {
  .bscms-hero-full {
    min-height: 80vh;
    align-items: flex-end;
  }
  .bscms-hero-full__inner {
    padding: 2rem 1.25rem 2.5rem;
  }
  .bscms-hero-full__stats {
    gap: 1.75rem;
  }
}

/* ── SECTIONS ── */
.bscms-section {
  padding: 4.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bscms-section--alt {
  background: var(--brand-surface-alt);
  border-radius: var(--radius-lg);
  margin: 0 -0.5rem;
  padding: 4.5rem 1.5rem;
}

.bscms-section__header {
  margin-bottom: 3rem;
}

.bscms-section__header--centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.bscms-section__title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
  font-weight: 400 !important;
  color: var(--brand-primary) !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
}

.bscms-section__lead {
  font-size: 0.9875rem;
  color: var(--brand-ink-muted);
  line-height: 1.75;
  max-width: 600px;
}

/* ── INTRO LAYOUT (text left + pillars right) ── */
.bscms-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .bscms-intro-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.bscms-pillar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--brand-border);
}

.bscms-pillar:last-child {
  border-bottom: 1px solid var(--brand-border);
}

.bscms-pillar__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--brand-gold);
  opacity: .35;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bscms-pillar__title {
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary) !important;
  margin-bottom: 0.4rem !important;
}

.bscms-pillar__text {
  font-size: 0.875rem;
  color: var(--brand-ink-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── METALS: image left + list right ── */
.bscms-metals-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--brand-surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 -0.5rem;
}

@media (min-width: 992px) {
  .bscms-metals-section {
    grid-template-columns: 1fr 1fr;
  }
}

.bscms-metals-section__img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.bscms-metals-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.bscms-metals-section__img:hover img {
  transform: scale(1.04);
}

.bscms-metals-section__img-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.bscms-metals-section__content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bscms-metals-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.bscms-metal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bscms-metal-item__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  background: rgba(184,160,90,.12);
  border: 1.5px solid var(--brand-gold);
  color: var(--brand-gold);
}

.bscms-metal-item__badge--cu { background: rgba(184,115,51,.10); border-color: #B87333; color: #B87333; }
.bscms-metal-item__badge--zn { background: rgba(100,130,155,.10); border-color: #64829B; color: #64829B; }
.bscms-metal-item__badge--au { background: rgba(201,168,76,.14); border-color: #C9A84C; color: #C9A84C; }

.bscms-metal-item__name {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary) !important;
  margin-bottom: 0.2rem !important;
}

.bscms-metal-item__desc {
  font-size: 0.8125rem;
  color: var(--brand-ink-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── PROCESS LAYOUT ── */
.bscms-process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .bscms-process-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.bscms-process-layout__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bscms-process-layout__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.bscms-process-layout__img:hover img {
  transform: scale(1.03);
}

/* Process variable bars */
.bscms-process-vars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bscms-process-var {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bscms-process-var__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-ink);
  letter-spacing: 0.02em;
}

.bscms-process-var__bar {
  height: 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-accent));
  border-radius: 2px;
  position: relative;
}

.bscms-process-var__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  right: 0;
  left: 100%;
  background: var(--brand-border);
  border-radius: 0 2px 2px 0;
  width: calc(100% - var(--bar-width, 95%));
}

/* ── QUOTE FULL-WIDTH ── */
.bscms-quote-section {
  background: var(--brand-primary);
  padding: 5rem 1rem;
  text-align: center;
}

.bscms-quote-section__inner {
  max-width: 700px;
  margin: 0 auto;
}

.bscms-quote-section__mark {
  margin-bottom: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.bscms-quote-section__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
  border: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.bscms-quote-section__sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold-light);
  margin: 0;
}

/* ── EXPLORE GRID (numbered) ── */
.bscms-explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--brand-border);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 2.5rem;
}

@media (min-width: 576px) {
  .bscms-explore-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 992px) {
  .bscms-explore-grid { grid-template-columns: repeat(4, 1fr); }
}

.bscms-explore-item {
  background: var(--brand-white);
  padding: 2rem 1.75rem;
  transition: background var(--transition-base);
}

.bscms-explore-item:hover {
  background: var(--brand-surface-alt);
}

.bscms-explore-item__num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--brand-gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.bscms-explore-item__title {
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary) !important;
  margin-bottom: 0.5rem !important;
}

.bscms-explore-item__text {
  font-size: 0.8375rem;
  color: var(--brand-ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── LEGAL NOTE ── */
.bscms-legal {
  margin: 2rem 0 1rem;
  padding: 2rem;
  background: var(--brand-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-border);
}

.bscms-legal__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bscms-legal__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.bscms-legal__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink-muted);
  margin-bottom: 0.5rem;
}

.bscms-legal__text {
  font-size: 0.8375rem;
  color: var(--brand-ink-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── CMS page: hide default h1 (we have our own in bscms-hero) ── */
body.page-cms .page-content--cms > h1.page-heading {
  display: none;
}
img.bshero__product-img {
    display: none;
}
img.logo.img-fluid {
    position: relative;
    bottom: 8px;
}
/* PRODUCT PAGE GENERADOR */

  .bs-product-story {
    --bs-ink: #152120;
    --bs-green: #0e4a43;
    --bs-green-2: #17675d;
    --bs-mint: #61c8b0;
    --bs-cream: #f3eee7;
    --bs-cream-2: #e9e1d7;
    --bs-white: #ffffff;
    --bs-line: rgba(21, 33, 32, 0.14);
    --bs-muted: #5e6967;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    color: var(--bs-ink);
    background: var(--bs-white);
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(21, 33, 32, 0.08);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
  }

  .bs-product-story,
  .bs-product-story * {
    box-sizing: border-box;
  }

  .bs-product-story h2,
  .bs-product-story h3,
  .bs-product-story p,
  .bs-product-story ul {
    margin-top: 0;
  }

  .bs-product-story h2,
  .bs-product-story h3 {
    color: inherit;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
  }

  .bs-product-story p:last-child,
  .bs-product-story ul:last-child {
    margin-bottom: 0;
  }

  .bs-product-story__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    min-height: 630px;
    background:
      radial-gradient(circle at 86% 9%, rgba(97, 200, 176, 0.20), transparent 24%),
      linear-gradient(125deg, #f8f5f0 0%, var(--bs-cream) 54%, #ded7cc 100%);
  }

  .bs-product-story__hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 72px 56px 58px;
  }

  .bs-product-story__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--bs-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .bs-product-story__eyebrow::before {
    width: 28px;
    height: 2px;
    content: "";
    background: var(--bs-mint);
  }

  .bs-product-story__title {
    max-width: 700px;
    margin-bottom: 25px;
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 500;
    letter-spacing: -0.045em;
  }

  .bs-product-story__title span {
    display: block;
    color: var(--bs-green-2);
  }

  .bs-product-story__lead {
    max-width: 650px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
  }

  .bs-product-story__intro {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--bs-muted);
  }

  .bs-product-story__quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    max-width: 650px;
    border: 1px solid var(--bs-line);
    border-radius: 16px;
    background: var(--bs-line);
  }

  .bs-product-story__quick-item {
    min-height: 122px;
    padding: 19px 16px;
    background: rgba(255, 255, 255, 0.52);
  }

  .bs-product-story__quick-number {
    display: block;
    margin-bottom: 7px;
    color: var(--bs-green-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
  }

  .bs-product-story__quick-title {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .bs-product-story__quick-text {
    display: block;
    color: var(--bs-muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .bs-product-story__visual {
    position: relative;
    min-height: 630px;
    overflow: hidden;
  }

  .bs-product-story__visual::before,
  .bs-product-story__visual::after {
    position: absolute;
    border-radius: 999px;
    content: "";
    filter: blur(2px);
  }

  .bs-product-story__visual::before {
    top: -90px;
    right: -68px;
    width: 280px;
    height: 280px;
    border: 52px solid rgba(14, 74, 67, 0.12);
    transform: rotate(-18deg);
  }

  .bs-product-story__visual::after {
    right: -160px;
    bottom: -210px;
    width: 510px;
    height: 510px;
    background: rgba(14, 74, 67, 0.10);
  }

  .bs-product-story__device {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 47%;
    width: min(86%, 520px);
    aspect-ratio: 1.58 / 1;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 54px;
    background: linear-gradient(145deg, #fffefa 0%, #e7e1d9 62%, #c9c1b7 100%);
    box-shadow:
      0 45px 60px rgba(26, 36, 34, 0.23),
      inset 0 3px 8px rgba(255, 255, 255, 0.90),
      inset 0 -5px 10px rgba(72, 63, 54, 0.10);
    transform: translate(-50%, -46%) perspective(900px) rotateY(-7deg) rotateX(2deg);
  }

  .bs-product-story__panel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 30px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
      #102a2c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }

  .bs-product-story__screen {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34%;
    height: 35%;
    border: 6px solid #0b2021;
    border-radius: 8px;
    color: rgba(97, 200, 176, 0.85);
    background: #061719;
    box-shadow: inset 0 0 18px rgba(97, 200, 176, 0.08);
    font-size: 11px;
    letter-spacing: 0.13em;
    transform: translate(-50%, -50%);
  }

  .bs-product-story__brand {
    position: absolute;
    right: 7%;
    bottom: 7%;
    color: rgba(255, 255, 255, 0.83);
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .bs-product-story__bolt {
    position: absolute;
    top: 8%;
    left: 50%;
    color: var(--bs-white);
    font-size: 18px;
    transform: translateX(-50%);
  }

  .bs-product-story__button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #103a35;
    background: var(--bs-mint);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
  }

  .bs-product-story__button--tl { top: 29%; left: 12%; }
  .bs-product-story__button--bl { bottom: 25%; left: 12%; }
  .bs-product-story__button--tr { top: 29%; right: 12%; }
  .bs-product-story__button--br { right: 12%; bottom: 25%; }

  .bs-product-story__shadow {
    position: absolute;
    z-index: 1;
    right: 6%;
    bottom: 14%;
    width: 87%;
    height: 38px;
    border-radius: 50%;
    background: rgba(24, 31, 30, 0.18);
    filter: blur(18px);
  }

  .bs-product-story__section {
    padding: 78px 56px;
  }

  .bs-product-story__section--green {
    color: var(--bs-white);
    background:
      radial-gradient(circle at 95% 0%, rgba(97, 200, 176, 0.12), transparent 27%),
      linear-gradient(145deg, #0d4943, #0a3c38);
  }

  .bs-product-story__section--cream {
    background: var(--bs-cream);
  }

  .bs-product-story__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 44px;
  }

  .bs-product-story__section-head .bs-product-story__eyebrow {
    margin-bottom: 15px;
  }

  .bs-product-story__section--green .bs-product-story__eyebrow {
    color: var(--bs-mint);
  }

  .bs-product-story__section-title {
    max-width: 720px;
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 500;
    letter-spacing: -0.035em;
  }

  .bs-product-story__section-intro {
    max-width: 430px;
    margin-bottom: 0;
    color: var(--bs-muted);
  }

  .bs-product-story__section--green .bs-product-story__section-intro {
    color: rgba(255, 255, 255, 0.72);
  }

  .bs-product-story__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .bs-product-story__feature {
    min-height: 295px;
    padding: 30px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .bs-product-story__feature-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    color: var(--bs-green);
    background: var(--bs-cream);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .bs-product-story__feature h3 {
    min-height: 52px;
    margin-bottom: 13px;
    color: var(--bs-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
  }

  .bs-product-story__feature p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    line-height: 1.65;
  }

  .bs-product-story__feature--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 26px;
    min-height: 190px;
  }

  .bs-product-story__feature--wide .bs-product-story__feature-index,
  .bs-product-story__feature--wide h3 {
    margin-bottom: 0;
  }

  .bs-product-story__feature--wide h3 {
    min-height: 0;
  }

  .bs-product-story__control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 56px;
    align-items: start;
  }

  .bs-product-story__control-copy p {
    color: var(--bs-muted);
  }

  .bs-product-story__variables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
  }

  .bs-product-story__variables li {
    position: relative;
    margin: 0;
    padding: 15px 16px 15px 43px;
    border: 1px solid var(--bs-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.52);
    font-size: 14px;
    font-weight: 700;
  }

  .bs-product-story__variables li::before {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--bs-green-2);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
  }

  .bs-product-story__control-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border-radius: 22px;
    color: var(--bs-white);
    background: var(--bs-ink);
  }

  .bs-product-story__control-card::after {
    position: absolute;
    right: -75px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    border: 38px solid rgba(97, 200, 176, 0.12);
    border-radius: 50%;
    content: "";
  }

  .bs-product-story__control-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 18px;
    color: var(--bs-mint);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .bs-product-story__control-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
  }

  .bs-product-story__process {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .bs-product-story__process span {
    padding: 13px 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.87);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
  }

  .bs-product-story__experience {
    display: grid;
    grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
    background: #e5ddd3;
  }

  .bs-product-story__experience-copy {
    padding: 76px 56px;
    background: var(--bs-ink);
    color: var(--bs-white);
  }

  .bs-product-story__experience-copy .bs-product-story__eyebrow {
    color: var(--bs-mint);
  }

  .bs-product-story__experience-copy p {
    color: rgba(255, 255, 255, 0.72);
  }

  .bs-product-story__values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 32px;
  }

  .bs-product-story__value {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: var(--bs-white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
  }

  .bs-product-story__experience-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 510px;
    padding: 56px;
    background:
      radial-gradient(circle at 50% 48%, rgba(97, 200, 176, 0.25), transparent 31%),
      linear-gradient(135deg, #eee8df, #d6cfc5);
  }

  .bs-product-story__chip {
    position: relative;
    width: min(88%, 520px);
    aspect-ratio: 1.65 / 1;
    padding: 37px;
    border: 10px solid #e6e0d7;
    border-radius: 45px;
    background: #185d51;
    box-shadow: 0 35px 45px rgba(21, 33, 32, 0.22);
    transform: rotate(-3deg);
  }

  .bs-product-story__chip::before,
  .bs-product-story__chip::after {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 4px solid #d9d2c8;
    border-radius: 50%;
    content: "";
    background: #586360;
  }

  .bs-product-story__chip::before { top: 16px; left: 16px; }
  .bs-product-story__chip::after { right: 16px; bottom: 16px; }

  .bs-product-story__circuit {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
      linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.17) 49%, rgba(255, 255, 255, 0.17) 51%, transparent 52%),
      linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.17) 49%, rgba(255, 255, 255, 0.17) 51%, transparent 52%);
  }

  .bs-product-story__circuit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border: 10px solid #bfc8c1;
    border-radius: 50%;
    color: #eef5f1;
    background: #263d39;
    box-shadow: 0 0 0 13px rgba(255, 255, 255, 0.12);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transform: translate(-50%, -50%);
  }

  .bs-product-story__spec-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 62px;
    align-items: start;
  }

  .bs-product-story__spec-intro {
    position: sticky;
    top: 24px;
  }

  .bs-product-story__spec-intro p {
    color: var(--bs-muted);
  }

  .bs-product-story__specs {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--bs-line);
    list-style: none;
  }

  .bs-product-story__specs li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--bs-line);
    font-weight: 700;
  }

  .bs-product-story__specs span {
    color: var(--bs-green-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
  }

  .bs-product-story__notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    margin: 0 56px 56px;
    padding: 30px 34px;
    border: 1px solid rgba(14, 74, 67, 0.20);
    border-radius: 18px;
    background: #eef7f4;
  }

  .bs-product-story__notice-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--bs-white);
    background: var(--bs-green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 700;
  }

  .bs-product-story__notice h2 {
    margin-bottom: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .bs-product-story__notice p {
    color: var(--bs-muted);
    font-size: 14px;
  }

  @media (max-width: 1050px) {
    .bs-product-story__hero {
      grid-template-columns: 1fr;
    }

    .bs-product-story__hero-copy {
      padding-bottom: 20px;
    }

    .bs-product-story__visual {
      min-height: 480px;
    }

    .bs-product-story__device {
      width: min(72%, 520px);
    }

    .bs-product-story__features {
      grid-template-columns: repeat(2, 1fr);
    }

    .bs-product-story__control-grid,
    .bs-product-story__spec-layout {
      grid-template-columns: 1fr;
    }

    .bs-product-story__spec-intro {
      position: static;
    }
  }

  @media (max-width: 760px) {
    .bs-product-story {
      border-radius: 14px;
      font-size: 15px;
    }

    .bs-product-story__hero-copy,
    .bs-product-story__section,
    .bs-product-story__experience-copy,
    .bs-product-story__experience-visual {
      padding: 54px 24px;
    }

    .bs-product-story__title {
      font-size: clamp(39px, 13vw, 58px);
    }

    .bs-product-story__quick {
      grid-template-columns: 1fr;
    }

    .bs-product-story__quick-item {
      min-height: 0;
    }

    .bs-product-story__visual {
      min-height: 375px;
    }

    .bs-product-story__device {
      width: 86%;
      padding: 23px;
      border-radius: 38px;
    }

    .bs-product-story__panel {
      border-radius: 23px;
    }

    .bs-product-story__button {
      width: 29px;
      height: 29px;
      font-size: 15px;
    }

    .bs-product-story__section-head {
      display: block;
    }

    .bs-product-story__section-title {
      margin-bottom: 18px;
    }

    .bs-product-story__features {
      grid-template-columns: 1fr;
    }

    .bs-product-story__feature {
      min-height: 0;
    }

    .bs-product-story__feature--wide {
      grid-column: auto;
      display: block;
    }

    .bs-product-story__feature--wide .bs-product-story__feature-index,
    .bs-product-story__feature--wide h3 {
      margin-bottom: 13px;
    }

    .bs-product-story__control-grid {
      gap: 34px;
    }

    .bs-product-story__variables {
      grid-template-columns: 1fr;
    }

    .bs-product-story__control-card {
      padding: 30px 22px;
    }

    .bs-product-story__process {
      grid-template-columns: repeat(2, 1fr);
    }

    .bs-product-story__experience {
      grid-template-columns: 1fr;
    }

    .bs-product-story__experience-visual {
      min-height: 390px;
    }

    .bs-product-story__chip {
      width: 96%;
      padding: 25px;
      border-width: 8px;
      border-radius: 34px;
    }

    .bs-product-story__notice {
      grid-template-columns: 1fr;
      margin: 0 24px 32px;
      padding: 25px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .bs-product-story__device,
    .bs-product-story__chip {
      transform: none;
    }
  }
  @media (min-width: 992px) {
    .page-product .product__bottom {
        display: grid;
        gap: 2rem;
        grid-template-columns: 100% minmax(0, 1fr);
        margin-block-start: 1.5rem;
    }
}

  /* FIN PRODUCT PAGE GENERADOR */

