/* ===========================================================
 * OMNI — Identidad visual alquímica
 * Override de variables Bootstrap usadas por el tema Hummingbird.
 * NO se modifican tipografías: se respetan las fuentes nativas
 * de PrestaShop/Hummingbird para máxima legibilidad del cliente.
 * Paleta extraída de BRIEF_OMNI.md (Regla 80/10/10)
 * =========================================================== */

:root {
  /* ---- 80% — Base del Misterio (tonos claros / pergamino) ---- */
  --bs-body-bg: #F7F4EE;            /* Blanco Hueso Pergamino — fondo dominante */
  --bs-body-color: #050505;        /* Negro Profundo Ákasha — tinta */
  --bs-gray-100: #E6E9F6;          /* Bruma Cósmica — fondos secundarios / tarjetas */
  --bs-gray-200: #E2E0DC;          /* Gris Ceniza Suave — bordes y divisores */
  --bs-gray-300: #C9C6BF;          /* Gris cálido para bordes suaves */
  --bs-gray-600: #6B6863;          /* Gris tinta secundaria (descripciones) */
  --bs-gray-700: #4A4742;          /* Gris texto helper */
  --bs-gray-800: #2E2E2E;          /* Gris Carbón — títulos */
  --bs-gray-900: #050505;          /* Negro Profundo — textos principales */

  /* ---- 10% — Sabiduría y Estructura (acentos) ---- */
  --bs-primary: #FF6D00;           /* Naranja de Acción — CTA principal (override de Bootstrap blue) */
  --bs-primary-rgb: 255, 109, 0;
  --bs-secondary: #4A148C;         /* Morado Astral — navegación / bordes secundarios */
  --bs-secondary-rgb: 74, 20, 140;

  /* ---- 10% — Energía Alquímica (alto impacto) ---- */
  --bs-success: #00A86B;           /* Esmeralda Cuántico (tono legible, no neón puro) — mensajes de éxito */
  --bs-success-rgb: 0, 168, 107;
  --bs-warning: #FFD700;           /* Amarillo Solar / Ámbar Alquímico — badges, estrellas */
  --bs-warning-rgb: 255, 215, 0;
  --bs-danger: #FF3D00;            /* Rojo Fuego Vital — urgencia / pocas unidades */
  --bs-danger-rgb: 255, 61, 0;
  --bs-info: #B0C4DE;              /* Plata Lunar — info sutil */
  --bs-info-rgb: 176, 196, 222;

  /* ---- Acentos OMNI personalizados (no Bootstrap) ---- */
  --omni-oro-sagrado: #C5A059;     /* Oro Sagrado Metálico — bordes, halos, acentos premium */
  --omni-cobre: #B87333;           /* Cobre Terrenal — alternativa al oro */
  --omni-morado-astral: #4A148C;
  --omni-lavanda: #E7DFF1;          /* Lavanda Amatista — fondo sutil tras íconos */
  --omni-salvia: #DEE6DC;           /* Salvia Musgo — fondo verde-tierra */
}

/* ===========================================================
 * Botones — Naranja de Acción con degradado sutil
 * El brief pide "sutil degradado" en el CTA principal
 * =========================================================== */
.btn-primary {
  --bs-btn-bg: linear-gradient(180deg, #FF6D00 0%, #E65C00 100%);
  --bs-btn-color: #fff;
  --bs-btn-border-color: #FF6D00;
  --bs-btn-hover-bg: #E65C00;
  --bs-btn-hover-border-color: #E65C00;
  --bs-btn-active-bg: #CC5200;
  --bs-btn-active-border-color: #CC5200;
  background-image: linear-gradient(180deg, #FF6D00 0%, #E65C00 100%);
  border-color: #FF6D00;
  color: #fff;
  font-weight: 600;
}
.btn-primary:hover,
.btn-primary:focus {
  background-image: linear-gradient(180deg, #E65C00 0%, #CC5200 100%);
  color: #fff;
}

.btn-secondary {
  --bs-btn-bg: #4A148C;
  --bs-btn-border-color: #4A148C;
  --bs-btn-hover-bg: #3A1070;
  --bs-btn-hover-border-color: #3A1070;
  background-color: #4A148C;
  border-color: #4A148C;
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #3A1070;
  color: #fff;
}

/* Enlaces: acento naranja_action en hover (consistencia con marca) */
a {
  color: #C5A059; /* Oro sagrado para enlaces en estado normal */
}
a:hover {
  color: #FF6D00; /* Naranja acción en hover */
}

/* ===========================================================
 * Header — fondo pergamino + acentos oro sagrado
 * =========================================================== */
.header {
  --header-bg: #F7F4EE;
  --header-top-bg: #050505;        /* Top bar negro (idioma/moneda) */
  --header-color: #2E2E2E;
  --header-top-color: #F7F4EE;
  border-bottom: 1px solid #C5A05933;
}
.header-top {
  color: #F7F4EE;
  background-color: #050505;
}
.header-top a:not(.dropdown-item) {
  color: #F7F4EE;
}
.header-top a:not(.dropdown-item):hover,
.header-top a:not(.dropdown-item):hover i {
  color: #FF6D00;
}

/* === "Entrar" / idioma / moneda / carrito: legibilidad alta en top bar oscuro === */
.header-top .header-block__action-btn,
.header-top .header-block__action-btn:focus,
.header-top .header-block__action-btn:hover,
.header-top .header-block .header-block__title,
.header-top .user-info .header-block__action-btn,
.header-top .user-info .header-block__action-btn .header-block__title,
.header-top .customer-link .header-block__action-btn,
.header-top .header-block__action-btn i.material-icons {
  color: #F7F4EE !important;
}

/* Hover del botón "Entrar" y la comida de iconos → Oro sagrado primero, luego naranja acción */
.header-top .header-block__action-btn:hover,
.header-top .header-block__action-btn:hover .header-block__title,
.header-top .header-block__action-btn:hover i.material-icons,
.header-top .user-info .header-block__action-btn:hover,
.header-top .user-info .header-block__action-btn:hover .header-block__title,
.header-top .user-info .header-block__action-btn:hover i.material-icons {
  color: #FF6D00 !important;
}

/* Selectores de idioma y moneda — texto pergamino claro */
.header-top .language-selector,
.header-top .currency-selector,
.header-top .language-selector > span,
.header-top .currency-selector > span,
.header-top .form-select,
.header-top .form-select option {
  color: #F7F4EE !important;
  background-color: #050505 !important;
}

/* Cart badge visible: fondo oro sagrado en el top bar oscuro */
.header-top .header-block__badge {
  background: #C5A059 !important;
  color: #050505 !important;
  font-weight: 700;
}

/* Borde inferior oro sagrado separando el top bar del header principal */
.header-top {
  border-bottom: 1px solid #C5A05933 !important;
}

.header-bottom {
  border-bottom: 1px solid #E2E0DC;
}

/* ===========================================================
 * Footer — Negro Profundo + Oro Sagrado
 * Consistente con el footer del landing root OMNI
 * =========================================================== */
.footer {
  --footer-background-color: #050505;
  --footer-text-color: #B8B5AE;
  --footer-hover-color: #C5A059;
  --footer-heading-color: #C5A059;
}
.footer .footer__main {
  background: #050505;
  border-top: 3px solid #C5A059;
}
.footer .h2,
.footer .h3,
.footer .h4,
.footer h2,
.footer h3 {
  color: #C5A059;
  letter-spacing: 0.04em;
}
.footer .copyright,
.footer .copyright a {
  color: #C5A059;
}
.footer .footer__origin {
  color: #C5A059;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
/* Bloques de contenido del footer */
.footer .footer__block__content-list a {
  color: #B8B5AE;
}
.footer .footer__block__content-list a:hover {
  color: #C5A059;
}
.footer .footer__block__title,
.footer .footer__block__title a {
  color: #C5A059;
}

/* ===========================================================
 * Tarjetas de producto — bordes con toque oro sagrado
 * =========================================================== */
.product-miniature .card {
  border: 1px solid #E2E0DC;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-miniature:hover .card {
  border-color: #C5A059;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.18);
}
.product-miniature .product-miniature__title a {
  color: #2E2E2E;
}
.product-miniature .product-miniature__title a:hover {
  color: #FF6D00;
}
.product-miniature .product-miniature__price {
  color: #050505;
}

/* Banderines de producto (nuevo, rebajas) — acentos alquímicos */
.product-flag {
  background-color: #FF6D00;
  color: #fff;
}
.product-flag.on-sale,
.product-flag.discount {
  background-color: #FF3D00;
}
.product-flag.new {
  background-color: #4A148C;
}

/* ===========================================================
 * Badges — Ámbar para "Drop Limitado", Esmeralda para éxito
 * =========================================================== */
.badge.bg-primary {
  background-color: #FF6D00 !important;
  color: #fff;
}
.badge.bg-secondary {
  background-color: #4A148C !important;
}
.badge.bg-success {
  background-color: #00A86B !important;
}
.badge.bg-warning {
  background-color: #FFD700 !important;
  color: #050505 !important;
}
.badge.bg-danger {
  background-color: #FF3D00 !important;
}

/* ===========================================================
 * Sección de email-subscription — Lavanda Amatista
 * =========================================================== */
.email-subscription {
  background-color: #E7DFF1;
}
.email-subscription .email-subscription__label {
  color: #4A148C;
}

/* ===========================================================
 * Breadcrumb / Títulos de sección — Oro sagrado como subrayado
 * =========================================================== */
.section-title {
  color: #050505;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #C5A059;
  margin-top: 0.5rem;
}

/* ===========================================================
 * Stars de reseñas — Amarillo Solar
 * =========================================================== */
.star-content div.star,
.star-content div.star-hover,
.star-content div.star-on {
  filter: hue-rotate(0deg) saturate(2.2);
}

/* ===========================================================
 * Inputs / formularios — bordes cálidos
 * =========================================================== */
.form-control:focus,
.form-select:focus {
  border-color: #C5A059;
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

/* ===========================================================
 * Paginación — acento naranja en página activa
 * =========================================================== */
.pagination .page-item.active .page-link {
  background-color: transparent;
  color: #FF6D00;
  font-weight: 600;
  border-color: #FF6D00;
}
.pagination .page-item.active .page-link:hover {
  color: #E65C00;
}

/* ===========================================================
 * Página de producto (PDP) — bordes oro sagrado en variantes
 * =========================================================== */
.page-product .product__current-price {
  color: #050505;
}
.page-product .thumbnails__container .thumbnail.active img {
  border-color: #C5A059;
}
.step .address.selected {
  border: 2px solid #C5A059;
}

/* ===========================================================
 * Sliders home — indicador activo en naranja
 * =========================================================== */
.carousel .carousel-indicators button.active {
  background-color: #FF6D00;
}

/* ===========================================================
 * Accordion (árboles de categoría) — borde oro sagrado activo
 * =========================================================== */
.category-tree__item.active>.category-tree__item__header.parent .category-tree__item__link,
.left-block__title__link:hover,
.left-block__link:hover,
.account-menu>a.active .link-item,
.account-menu>a:hover .link-item,
.account-menu>a.active .link-item i,
.account-menu>a:hover .link-item i,
.cart-summary__show i,
.cart__item .product-line__actions a:after,
.all-product-link.btn i {
  color: #FF6D00;
}

/* ===========================================================
 * Asegurar contraste AA en body text
 * =========================================================== */
body {
  color: #050505;
  background-color: #F7F4EE;
}

/* Títulos: resteablecer a tinta oscura (no tocar fuente) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: #050505;
}

/* Bordes generales suaves en gris cálido */
hr {
  border-color: #E2E0DC;
}

/* ===========================================================
 * Light scrollbar con acento OMNI (sólo navegadores webkit)
 * =========================================================== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #E6E9F6;
}
::-webkit-scrollbar-thumb {
  background: #C5A059;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6D00;
}

/* ===========================================================
 * MOBILE — Tarjetas de producto compactas (objetivo: 4 visibles sin scroll)
 * Modificaciones mínimas: sólo CSS, sin tocar templates nativos.
 * Aplica solo en ≤575.98px. En desktop queda intacto.
 * =========================================================== */

@media (max-width: 575.98px) {
  /* Forzar 2 columnas apretadas dentro del row Bootstrap.
     Usamos display:flex (no grid) para respetar las clases col-xs-6
     que el tema ya pone en cada product-miniature. Solo reducimos
     el gutter (padding lateral) que Bootstrap pone por defecto. */
  .products.row,
  #js-product-list .products,
  .featured-products .products {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  /* En mobile, el content-wrapper debe ocupar todo el ancho
     (ignorar col-md-8 col-lg-9 del layout-left-column) */
  #content-wrapper.wrapper__content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* El contenedor de la izquierda (filtros) se va a su propio espacio */
  .layout-left-column #left-column {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
  }

  /* Cada tarjeta: 50% con gutter reducido a 0.25rem por lado */
  .product-miniature {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    margin-bottom: 0.5rem;
  }

  /* Card apps-feel: sin lift, sombra suave constante */
  .product-miniature .card {
    border-radius: 10px;
    border: 1px solid #E2E0DC;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(5, 5, 5, 0.06);
    width: 100%;
  }
  .product-miniature:hover .card {
    transform: none;
    box-shadow: 0 2px 6px rgba(197, 160, 89, 0.18);
  }

  /* Imagen más corta que cuadrada → cabe 4 productos en pantalla.
     aspect-ratio 5/4 = más ancha que alta (175×140 en 350px pantalla) */
  .product-miniature .product-miniature__image-container {
    aspect-ratio: 5 / 4;
    border-radius: 0;
    background: linear-gradient(135deg, #E6E9F6 0%, #F7F4EE 100%);
    width: 100%;
  }
  .product-miniature .product-miniature__image,
  .product-miniature .product-miniature__image.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: none;
  }
  .product-miniature .product-miniature__link:hover .product-miniature__image {
    transform: none;
  }

  /* Card body comprimido */
  .product-miniature .product-miniature__infos.card-body {
    padding: 0.5rem 0.625rem 0.625rem;
  }

  /* OCULTAR elementos que inflan la tarjeta en mobile grid:
     quickview link, variantes de color, reviews, input de cantidad.
     En PDP estos siguen visibles (es otro template). */
  .product-miniature .product-miniature__quickview,
  .product-miniature .product-miniature__quickview_button,
  .product-miniature .product-miniature__variants,
  .product-miniature .product-list-reviews,
  .product-miniature .quantity-button.js-quantity-button {
    display: none !important;
  }

  /* Título: 2 líneas máx, 14px, evitar saltos largos */
  .product-miniature .product-miniature__title {
    font-size: 0.875rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;   /* reserve-box → CLS = 0 */
  }

  /* Precio grande y claro para conversión */
  .product-miniature .product-miniature__prices {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.375rem;
    margin-top: 0;
  }
  .product-miniature .product-miniature__price {
    font-size: 1.0625rem;   /* 17px */
    font-weight: 700;
    color: #050505;
    line-height: 1;
  }
  .product-miniature .product-miniature__regular-price {
    font-size: 0.8125rem;   /* 13px */
  }

  /* Botón "Comprar" en miniature: ahora es un link a la PDP */
  .product-miniature .btn.btn-primary {
    width: 100% !important;
    min-height: 36px !important;          /* 36px compacto */
    padding: 0.25rem 0.5rem !important;
    font-size: 0.8125rem;                 /* 13px texto "Comprar" */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: 8px;
    line-height: 1.1;
    text-decoration: none !important;
    margin-top: 0.5rem !important;
  }
  .product-miniature .btn.btn-primary i.material-icons,
  .product-miniature .btn.btn-primary .visually-hidden {
    display: none !important;
  }

  /* "Ver detalles" — altura compacta para coincidir con el add-to-cart */
  .product-miniature .btn.btn-outline-primary {
    min-height: 36px;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.1;
  }

  /* Banderines compactos */
  .product-miniature .product-flags {
    top: 0.25rem !important;
    left: 0.25rem !important;
  }
  .product-miniature .product-flags li {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem !important;
    border-radius: 4px;
    margin-bottom: 0.125rem;
  }

  /* Quickview touch circular más pequeño (no tapa título) */
  .product-miniature .product-miniature__quickview_touch {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    bottom: 0.25rem !important;
    right: 0.25rem !important;
    box-shadow: 0 1px 3px rgba(5, 5, 5, 0.25);
  }
  .product-miniature .product-miniature__quickview_touch i.material-icons {
    font-size: 1rem;
  }
}

/* Pantallas muy pequeñas (≤360px: iPhone SE 1g, Galaxy Fold) */
@media (max-width: 360px) {
  .products.row,
  #js-product-list .products,
  .featured-products .products {
    gap: 0.375rem;
  }
  .product-miniature .product-miniature__infos.card-body {
    padding: 0.375rem 0.5rem 0.5rem;
  }
  .product-miniature .product-miniature__title {
    font-size: 0.8125rem;   /* 13px */
    min-height: 2.25rem;
  }
  .product-miniature .product-miniature__price {
    font-size: 1rem;        /* 16px */
  }
}

/* ===========================================================
 * WHATSAPP FLOATING BUTTON — OMNI
 * El icono original del módulo ets_whatsapp trae texto integrado
 * en el PNG. Aquí se recorta con object-fit: cover para mostrar
 * sólo el logo, se le da forma circular y se integra a un costado
 * sin estorbar con el CTA sticky del PDP ni con el footer.
 * Funciona en mobile y desktop.
 * =========================================================== */

/* El contenedor fixed del módulo ets_whatsapp */
.ets_wa_whatsapp_block {
  z-index: 1050 !important;          /* debajo de modals (1070) pero sobre sticky CTA */
  margin: 0 !important;
  padding: 0 !important;
}
.ets_wa_whatsapp_block > a {
  display: block !important;
  width: 56px !important;            /* objetivo táctil 56px (apps-feel FAB) */
  height: 56px !important;
  border-radius: 50% !important;     /* forma circular */
  overflow: hidden !important;        /* clave: recorta el texto del PNG */
  background: #25D366 !important;    /* verde WhatsApp oficial */
  box-shadow: 0 4px 12px rgba(5, 5, 5, 0.25), 0 2px 4px rgba(5, 5, 5, 0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  float: none !important;
}
.ets_wa_whatsapp_block > a:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 6px 18px rgba(5, 5, 5, 0.35), 0 0 0 4px rgba(197, 160, 89, 0.30) !important;
}
/* La imagen del icono se recorta al círculo verde */
.ets_wa_whatsapp_block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;       /* recorta al cuadrado (idealmente el logo está centrado) */
  object-position: center !important;
  background: #25D366 !important;
}

/* Ocultar el título de texto adicional si alguna vez se activa en admin */
.ets_wa_whatsapp_block .ets_wa_title {
  display: none !important;
}

/* === Desktop (≥768px): esquina inferior derecha, 56px === */
@media (min-width: 768px) {
  .ets_wa_whatsapp_block {
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
  }
  .ets_wa_whatsapp_block.right_bottom {
    right: 24px !important;
    bottom: 24px !important;
    top: auto !important;
  }
  .ets_wa_whatsapp_block.left_bottom {
    left: 24px !important;
    right: auto !important;
    bottom: 24px !important;
    top: auto !important;
  }
  .ets_wa_whatsapp_block.right_center {
    right: 24px !important;
    left: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .ets_wa_whatsapp_block.left_center {
    left: 24px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
}

/* === Mobile (≤575.98px): integrado a un costado, sin estorbar === */
@media (max-width: 575.98px) {
  .ets_wa_whatsapp_block {
    z-index: 1040 !important;           /* debajo del CTA sticky (1050) y modals */
    bottom: 80px !important;
    right: 16px !important;
    left: auto !important;
    top: auto !important;
  }
  .ets_wa_whatsapp_block.right_bottom,
  .ets_wa_whatsapp_block.left_bottom {
    bottom: 80px !important;
    top: auto !important;
  }
  .ets_wa_whatsapp_block.left_bottom {
    left: 16px !important;
    right: auto !important;
  }
  .ets_wa_whatsapp_block.right_bottom {
    right: 16px !important;
    left: auto !important;
  }
  .ets_wa_whatsapp_block.right_center,
  .ets_wa_whatsapp_block.left_center {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }
  .ets_wa_whatsapp_block.right_center {
    right: 16px !important;
    left: auto !important;
  }
  .ets_wa_whatsapp_block.left_center {
    left: 16px !important;
    right: auto !important;
  }
  /* En PDP, el CTA sticky va al fondo; WhatsApp queda 144px arriba */
  .page-product .ets_wa_whatsapp_block {
    bottom: 144px !important;
  }
  .page-cart .ets_wa_whatsapp_block,
  .page-order .ets_wa_whatsapp_block {
    bottom: 144px !important;
  }
}

/* ===========================================================
 * PDP MOBILE — Página de producto compacta (≤575.98px)
 * Objetivo UX: en la primera pantalla (375x667px) se vean
 *   IMAGEN + TÍTULO + PRECIO + VARIANTES sin hacer scroll.
 * El add-to-cart se mueve a sticky bottom (app-feel) → libera
 * espacio arriba. Las descripciones/tablas quedan abajo colapsables.
 * Sin tocar templates del core — todo vía override CSS.
 * =========================================================== */

@media (max-width: 575.98px) {

  /* === BREADCRUMB — ocultar franja "Inicio > ..." debajo del header en PDP ===
     Ahorra espacio vertical y deja la imagen más arriba. */
  .page-product .breadcrumb__wrapper {
    display: none !important;
  }

  /* === IMAGEN PRINCIPAL — aspect 4/3 (más ancha que alta), no cuadrada ===
     En 375px ancho: imagen ~280px alto (vs 375px cuadrada) → ahorra 95px */
  .product__images #product-images .carousel-inner,
  .product__images #product-images .carousel-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #E6E9F6 0%, #F7F4EE 100%);
  }
  .product__images .carousel-item img.img-fluid,
  .product__images .carousel-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    aspect-ratio: 4 / 3;
  }
  /* Modal-opener (lupa) más pequeño */
  .product__images__modal-opener {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    bottom: 0.5rem !important;
    right: 0.5rem !important;
  }
  .product__images__modal-opener i.material-icons {
    font-size: 1.125rem;
  }
  /* Controles carousel más compactos y ergonómicos */
  .product__images .carousel-control-prev,
  .product__images .carousel-control-next {
    height: 2.5rem !important;
    width: 2.5rem !important;
    opacity: 0.85;
  }
  .product__images .carousel-control-prev { left: 0.25rem !important; }
  .product__images .carousel-control-next { right: 0.25rem !important; }

  /* === THUMBNAILS — pequeños en fila horizontal === */
  .page-product .thumbnails__list.row {
    gap: 0.25rem !important;
    margin-top: 0.5rem !important;
  }
  .page-product .thumbnails__list .thumbnail {
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    flex: 0 0 calc(20% - 0.25rem) !important;   /* 5 por fila */
    max-width: calc(20% - 0.25rem) !important;
  }
  .page-product .thumbnails__list .thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid transparent;
  }
  .page-product .thumbnails__list .thumbnail.active img {
    border-color: #C5A059;   /* oro sagrado activo */
  }

  /* === LAYOUT row g-4 gas reducido === */
  .product.row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
    margin-bottom: 0 !important;
  }

  /* === TÍTULO H1 — más compacto, 1-2 líneas === */
  .page-product h1.product__name {
    font-size: clamp(1.125rem, 5vw, 1.375rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.375rem !important;
    font-weight: 700 !important;
    color: #050505 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* === PRECIOS — una fila horizontal, no vertical apilada === */
  .page-product .product__prices .prices__wrapper {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: baseline !important;
    gap: 0.375rem 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  .page-product .product__current-price {
    font-size: 1.5rem !important;     /* 24px — precio grande para conversión */
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #050505;
  }
  .page-product .product__price-regular {
    font-size: 0.9375rem !important;  /* 15px — precio tachado compacto */
    color: #6B6863;
    text-decoration: line-through;
  }
  .page-product .product__discount-percentage,
  .page-product .product__discount-amount {
    font-size: 0.75rem !important;
    color: #FF3D00;                   /* Rojo Fuego Vital — urgencia */
    font-weight: 600;
  }
  /* Tax info: inline pequeño, al lado del precio */
  .page-product .product__tax-info {
    flex-direction: row !important;
    flex-wrap: wrap;
    font-size: 0.75rem !important;
    color: #6B6863 !important;
    margin-top: 0.125rem !important;
  }
  .page-product .product__tax-label {
    font-size: inherit !important;
  }

  /* === DESCRIPCIÓN CORTA — más sutil y compacta === */
  .page-product .product__description-short {
    font-size: 0.8125rem !important;        /* 13px — cuerpo sutil */
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    color: #6B6863 !important;              /* Gris tinta — jerarquía baja */
    font-weight: 400;
    border-left: 2px solid #C5A059;       /* acento oro sagrado */
    padding-left: 0.5rem !important;
  }

  /* === VARIANTES (color/talla) — 2 columnas para ahorrar altura === */
  .page-product .product__variants.js-product-variants {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem !important;
    align-items: start;
  }
  .page-product .product__variants .variant {
    margin-bottom: 0 !important;
    min-width: 0;                          /* evita overflow grid */
  }
  /* Label compacta */
  .page-product .product__variants .variant .form-label {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
    color: #050505 !important;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  /* Selects de variantes — touch target 44px */
  .page-product .product__variants .form-select {
    min-height: 44px !important;
    padding: 0.375rem 0.625rem !important;
    font-size: 0.9375rem !important;
    border-radius: 6px !important;
    border-color: #E2E0DC !important;
  }
  .page-product .product__variants .form-select:focus {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25) !important;
  }
  /* Color variants: label ya esta arriba, swatches horizontales */
  .page-product .product__variants .color-variants {
    gap: 0.375rem !important;
    padding-top: 0.125rem;
    display: flex;
    flex-wrap: wrap;
  }
  .page-product .product__variants .color-variants .color {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .page-product .product__variants .color-variants .color.active {
    box-shadow: 0 0 0 2px #C5A059 !important;   /* halo oro activo */
    border-color: #C5A059 !important;
  }
  .page-product .product__variants .color-variant {
    margin: 0 !important;
  }
  /* Pantallas muy pequeñas: las variantes bajan a 1 columna */
  @media (max-width: 360px) {
    .page-product .product__variants.js-product-variants {
      grid-template-columns: 1fr;
      gap: 0.375rem !important;
    }
    .page-product .product__variants .color-variants .color {
      width: 28px !important;
      height: 28px !important;
    }
  }

  /* === product__actions formulario — padding máximo 0 === */
  .page-product .product__actions.js-product-actions {
    margin-top: 0 !important;
  }

  /* === ADD-TO-CART — Layout mobile: [- 1 +] [♥] / [COMPRAR] ===
     Escondemos el availability alert (innecesario en mobile).
     El módulo blockwishlist renderiza el botón Deseos dentro de
     .product__add-to-cart .wishlist-button (hook displayProductActions).
     Lo dejamos visible al lado del qty y Comprar debajo. */
  .page-product .product__add-to-cart {
    position: relative !important;
  }
  /* Esconde availability + delivery info + min quantity en mobile */
  .page-product .product__add-to-cart > .mb-3,
  .page-product .product__add-to-cart #product-availability,
  .page-product .product__add-to-cart .product__delivery__information,
  .page-product .product__add-to-cart .product-minimal-quantity {
    display: none !important;
  }
  /* Contenedor flex: dos líneas. Primera línea: qty + Deseos.
     Segunda línea: Comprar ancho completo. */
  .page-product .product__add-to-cart .row.g-2 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
    margin: 0 !important;
  }
  .page-product .product__add-to-cart .row.g-2,
  .page-product .product__add-to-cart .row.g-2 > [class*="col-"] {
    padding: 0 !important;
  }
  /* Input de cantidad: primera línea, ocupa el espacio restante */
  .page-product .product__add-to-cart .product-actions__quantity,
  .page-product .product__add-to-cart .product-actions__quantity.col-md-auto,
  .page-product .product__add-to-cart .row.g-2 > .product-actions__quantity {
    order: 1 !important;
    flex: 1 1 auto !important;              /* ocupa el espacio sobrante de la 1ª línea */
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .page-product .product__add-to-cart .product-actions__quantity .input-group {
    margin-bottom: 0 !important;
    width: 100%;
    height: 100%;
  }
  .page-product .product__add-to-cart .product-actions__quantity .input-group .btn {
    padding: 0.375rem 0.5rem !important;
  }
  .page-product .product__add-to-cart .product-actions__quantity .input-group .btn i.material-icons {
    font-size: 1.125rem !important;
  }
  .page-product .product__add-to-cart .product-actions__quantity .form-control {
    min-height: 48px !important;
    text-align: center;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    font-size: 1rem !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }
  /* Botón "Comprar" — segunda línea, ancho completo, 48px táctil */
  .page-product .product__add-to-cart .product-actions__button.add,
  .page-product .product__add-to-cart .product-actions__button.add.col,
  .page-product .product__add-to-cart .row.g-2 > .product-actions__button.add {
    order: 3 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"] {
    width: 100%;
    min-height: 48px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0 !important;
    font-weight: 700;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background-image: linear-gradient(180deg, #FF6D00 0%, #E65C00 100%) !important;
    border: 1px solid #FF6D00 !important;
  }
  /* Texto "Comprar" via ::after */
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"]::after {
    content: "Comprar";
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
  }
  /* Ocultar el icono del botón */
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"] i.material-icons {
    display: none !important;
  }
  /* Botón deshabilitado (sin stock) — gris */
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"]:disabled,
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"][disabled] {
    background-image: none !important;
    background: #C9C6BF !important;
    color: #6B6863 !important;
    border-color: #C9C6BF !important;
  }
  .page-product .product__add-to-cart .btn.btn-primary[data-button-action="add-to-cart"]:disabled::after {
    color: #6B6863;
  }

  /* === WISHLIST — Dentro del add-to-cart, al lado del qty ===
     El hook displayProductActions inyecta el placeholder .wishlist-button
     dentro de .product__add-to-cart. Vue lo rellena con .wishlist-button-add.
     Lo dejamos en flujo, NO absoluto. */
  .page-product .product__add-to-cart .wishlist-button {
    order: 2 !important;
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page-product .product__add-to-cart .wishlist-button .wishlist-button-add,
  .page-product .product__add-to-cart .wishlist-button .wishlist-button-product,
  .page-product .product__add-to-cart .row.g-2 > .wishlist-button-add,
  .page-product .product__add-to-cart .row.g-2 > .wishlist-button-product {
    order: 2 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }
  /* Estilos comunes del botón corazón OMNI */
  .page-product .wishlist-button-add,
  .page-product .wishlist-button-product {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  /* Botón corazón estilado OMNI
     NOTA: .wishlist-button-add ES el <button> (no tiene hijo button). */
  .page-product .wishlist-button-add,
  .page-product .wishlist-button-product,
  .page-product .wishlist-button-add.btn,
  .page-product .wishlist-button-product.btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #C5A059 !important;
    background: rgba(247, 244, 238, 0.92) !important;   /* pergamino translúcido */
    color: #C5A059 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(5, 5, 5, 0.15) !important;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
  }
  .page-product .wishlist-button-add i.material-icons,
  .page-product .wishlist-button-product i.material-icons {
    font-size: 1.25rem !important;
    color: #C5A059 !important;
    margin: 0 !important;
  }
  /* Hover: fondo oro, corazón blanco */
  .page-product .wishlist-button-add:hover,
  .page-product .wishlist-button-product:hover,
  .page-product .wishlist-button-add.btn:hover,
  .page-product .wishlist-button-product.btn:hover {
    background: #C5A059 !important;
    color: #fff !important;
  }
  .page-product .wishlist-button-add:hover i.material-icons,
  .page-product .wishlist-button-product:hover i.material-icons {
    color: #fff !important;
  }
  /* Estado "added to wishlist" → corazón relleno naranja acción */
  .page-product .wishlist-button-add[aria-pressed="true"],
  .page-product .wishlist-button-product[aria-pressed="true"],
  .page-product .wishlist-button-add.btn-primary,
  .page-product .wishlist-button-product.btn-primary {
    background: #FF6D00 !important;
    color: #fff !important;
    border-color: #FF6D00 !important;
  }
  .page-product .wishlist-button-add[aria-pressed="true"] i.material-icons,
  .page-product .wishlist-button-product[aria-pressed="true"] i.material-icons {
    color: #fff !important;
  }

  /* Form contenedor: overflow hidden → PayPal no se sale a la derecha */
  .page-product #add-to-cart-or-refresh {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  /* PayPal / botones de pago rápido: OCULTOS en la página de producto.
     El usuario prefiere que el CTA principal sea únicamente "Comprar". */
  .page-product .paypal-button,
  .page-product #paypal-shortcut,
  .page-product .paypal-shortcut-container,
  .page-product [id^="paypal-button"],
  .page-product [id*="paypal"],
  .page-product [class*="paypal-button"],
  .page-product .js-paypal-buttons,
  .page-product .paypal-button-container,
  .page-product .pp-button,
  .page-product [data-paypal-button] {
    display: none !important;
  }
  .page-product .wishlist-button,
  .page-product .wishlist-button-container,
  .page-product [data-role="wishlist-button"] {
    max-width: 100% !important;
  }

  /* === ACCORDIONS de info (descripción, detalles) — más compactos === */
  .page-product .product__infos.accordion {
    margin-top: 1rem !important;
  }
  .page-product .product__infos.accordion .accordion-button {
    padding: 0.625rem 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #050505 !important;
  }
  .page-product .product__infos.accordion .accordion-button:not(.collapsed) {
    color: #4A148C !important;            /* Morado Astral cuando abierto */
    background: transparent !important;
  }
  .page-product .product__infos.accordion .accordion-body {
    padding: 0.5rem 0 !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    color: #2E2E2E !important;
  }
  .page-product .product__infos.accordion .info__content {
    border-bottom: 1px solid rgba(197, 160, 89, 0.18) !important;  /* oro suave */
  }
  /* Descripción larga dentro del accordion — clamp 6 líneas para no inchar */
  .page-product .product__description.rich-text {
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* === ACCESORIOS / productos relacionados — grid compacto reutiliza reglas mobile del grid 2 === */
  .page-product .product-accessories .products.row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -0.25rem !important;
    margin-right: -0.25rem !important;
  }
  .page-product .product-accessories .product-miniature {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }

  /* === Reassurance (Confianza) — tarjetas icono + texto estilo OMNI ===
     Cada ítem se convierte en una fila horizontal con icono circular oro
     sobre fondo pergamino y texto alineado a la derecha. */
  .page-product .blockreassurance_product {
    margin-top: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
  }
  .page-product .blockreassurance_product > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.75rem !important;
    background: rgba(247, 244, 238, 0.72) !important;        /* pergamino sutil */
    border: 1px solid rgba(197, 160, 89, 0.22) !important;   /* borde oro suave */
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(5, 5, 5, 0.04) !important;
  }
  /* Contenedor circular del icono */
  .page-product .blockreassurance_product .item-product {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(197, 160, 89, 0.14) !important;         /* halo oro */
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .page-product .blockreassurance_product .item-product img {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    /* Convierte el icono negro en oro sagrado #C5A059 */
    filter: brightness(0) saturate(100%) invert(59%) sepia(58%) saturate(438%) hue-rotate(7deg) brightness(94%) contrast(86%) !important;
  }
  /* Título del ítem */
  .page-product .blockreassurance_product .block-title {
    display: block !important;
    font-family: var(--font-ui, Inter, system-ui, sans-serif) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #050505 !important;
    margin-bottom: 0.25rem !important;
  }
  /* Descripción */
  .page-product .blockreassurance_product p {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    color: #6B6863 !important;
    margin: 0 !important;
  }
  /* Elimina el clearfix que puede generar espacio extra */
  .page-product .blockreassurance_product .clearfix {
    display: none !important;
  }

  /* Sin sticky bottom → WhatsApp en su posición normal mobile */
}

/* ===========================================================
 * CART MOBILE — Carrito de compra estético (≤575.98px)
 * =========================================================== */
@media (max-width: 575.98px) {
  .page-cart #wrapper .container {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
  }

  /* BREADCRUMB — ocultar franja "Inicio > ..." debajo del header en carrito */
  .page-cart .breadcrumb__wrapper {
    display: none !important;
  }

  /* Título del carrito */
  .page-cart .cart-grid__body > h1.h4,
  .page-cart .cart-container > h1.h4 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    color: #050505 !important;
  }

  /* Lista de productos — COMPACTA */
  .page-cart .cart__items {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .page-cart .cart__item {
    background: #ffffff !important;
    border: 1px solid #E2E0DC !important;
    border-radius: 10px !important;
    padding: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(5, 5, 5, 0.03) !important;
  }
  .page-cart .cart__item > hr,
  .page-cart .cart-overview > hr {
    display: none !important;
  }

  /* Cada línea de producto: ultra-compacta
     Imagen 56px izquierda, contenido a la derecha, eliminar en esquina sup. derecha. */
  .page-cart .cart__item {
    position: relative !important;
  }
  .page-cart .product-line {
    display: grid !important;
    grid-template-columns: 56px 1fr !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "image content"
      "image info" !important;
    gap: 0.25rem 0.625rem !important;
    margin: 0 !important;
  }
  .page-cart .product-line > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    flex: none !important;
  }
  /* Divs vacíos de spacing de Bootstrap */
  .page-cart .product-line > .col-4:empty,
  .page-cart .product-line > .col-sm-2:empty,
  .page-cart .product-line > .col-sm-10:empty {
    display: none !important;
  }

  .page-cart .product-line__image {
    grid-area: image !important;
    width: 56px !important;
    align-self: start !important;
  }
  .page-cart .product-line__image img {
    border-radius: 6px !important;
    border: 1px solid #E2E0DC !important;
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
  }

  .page-cart .product-line__content {
    grid-area: content !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.05rem !important;
    padding-right: 3.5rem !important; /* espacio para el botón eliminar */
  }
  .page-cart .product-line__title {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #050505 !important;
    display: block !important;
  }
  .page-cart .product-line__info {
    font-size: 0.75rem !important;
    color: #6B6863 !important;
    line-height: 1.25 !important;
  }
  .page-cart .product-line__info .label {
    font-weight: 600 !important;
    color: #4A4742 !important;
  }
  .page-cart .product-line__prices {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    color: #FF6D00 !important;
    line-height: 1.2 !important;
  }
  .page-cart .product-line__basic {
    font-size: 0.75rem !important;
    color: #6B6863 !important;
  }

  .page-cart .product-line__informations {
    grid-area: info !important;
    align-self: end !important;
  }
  .page-cart .product-line__informations > .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    margin: 0 !important;
  }
  .page-cart .product-line__informations .quantity-button {
    flex: 0 0 90px !important;
    width: 90px !important;
    padding: 0 !important;
  }
  .page-cart .product-line__informations .quantity-button .input-group {
    margin-bottom: 0 !important;
    height: 30px !important;
  }
  .page-cart .product-line__informations .quantity-button .btn {
    padding: 0.25rem 0.375rem !important;
  }
  .page-cart .product-line__informations .quantity-button .btn i.material-icons {
    font-size: 1rem !important;
  }
  .page-cart .product-line__informations .quantity-button .form-control {
    min-height: 30px !important;
    height: 30px !important;
    padding-left: 0.125rem !important;
    padding-right: 0.125rem !important;
    text-align: center !important;
    font-size: 0.875rem !important;
  }
  .page-cart .product-line__informations .col-12:not(.quantity-button) {
    flex: 0 0 auto !important;
    padding: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    color: #050505 !important;
    text-align: right !important;
  }

  /* Eliminar: esquina superior derecha de la tarjeta */
  .page-cart .product-line__actions {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 2 !important;
  }
  .page-cart .remove-from-cart {
    font-size: 0.75rem !important;
    color: #6B6863 !important;
    text-decoration: underline !important;
    padding: 0.2rem 0.4rem !important;
    background: rgba(247, 244, 238, 0.85) !important;
    border-radius: 4px !important;
    line-height: 1 !important;
  }
  .page-cart .remove-from-cart:hover {
    color: #FF3D00 !important;
    background: rgba(255, 61, 0, 0.08) !important;
  }

  /* Botón Seguir comprando */
  .page-cart .cart-container > .btn-outline-primary {
    width: 100% !important;
    margin-top: 1rem !important;
    border-radius: 10px !important;
    min-height: 44px !important;
    font-weight: 600 !important;
    border-color: #C5A059 !important;
    color: #C5A059 !important;
  }
  .page-cart .cart-container > .btn-outline-primary:hover {
    background: #C5A059 !important;
    color: #fff !important;
  }

  /* Resumen del pedido */
  .page-cart .cart-grid__right > h2.h4 {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
    color: #050505 !important;
  }
  .page-cart .cart-summary {
    border: 1px solid #E2E0DC !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 4px rgba(5, 5, 5, 0.04) !important;
    background: #ffffff !important;
    overflow: hidden !important;
  }
  .page-cart .cart-summary .card-block {
    padding: 1rem !important;
  }
  .page-cart .cart-summary__line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9375rem !important;
  }
  .page-cart .cart-summary__line.cart-total {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #050505 !important;
    border-top: 1px solid #E2E0DC !important;
    padding-top: 0.75rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
  }
  .page-cart .cart-summary__value {
    font-weight: 600 !important;
    color: #050505 !important;
  }

  /* Botón proceder al pago */
  .page-cart .cart-detailed__actions {
    padding: 0 1rem 1rem !important;
    background: transparent !important;
    border: none !important;
  }
  .page-cart .cart-detailed__actions .btn-primary {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    background-image: linear-gradient(180deg, #FF6D00 0%, #E65C00 100%) !important;
    border: 1px solid #FF6D00 !important;
  }

  /* === Módulo de Confianza en el carrito — tarjetas OMNI ===
     Mismo estilo estético que en PDP: icono circular oro + texto. */
  .page-cart .blockreassurance_product {
    margin-top: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
    background: #ffffff !important;
    border: 1px solid #E2E0DC !important;
    border-radius: 12px !important;
    padding: 0.75rem !important;
    box-shadow: 0 1px 4px rgba(5, 5, 5, 0.04) !important;
  }
  .page-cart .blockreassurance_product > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.5rem !important;
    background: rgba(247, 244, 238, 0.72) !important;
    border: 1px solid rgba(197, 160, 89, 0.22) !important;
    border-radius: 10px !important;
  }
  .page-cart .blockreassurance_product .item-product {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(197, 160, 89, 0.14) !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .page-cart .blockreassurance_product .item-product img {
    width: 22px !important;
    height: 22px !important;
    display: block !important;
    filter: brightness(0) saturate(100%) invert(59%) sepia(58%) saturate(438%) hue-rotate(7deg) brightness(94%) contrast(86%) !important;
  }
  .page-cart .blockreassurance_product .block-title {
    display: block !important;
    font-family: var(--font-ui, Inter, system-ui, sans-serif) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #050505 !important;
    margin-bottom: 0.2rem !important;
  }
  .page-cart .blockreassurance_product p {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    color: #6B6863 !important;
    margin: 0 !important;
  }
  .page-cart .blockreassurance_product .clearfix {
    display: none !important;
  }

  /* === Checkout / Información personal — confianza en 2 columnas mobile === */
  .page-order .blockreassurance_product {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .page-order .blockreassurance_product > div {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0.625rem 0.375rem !important;
  }
  .page-order .blockreassurance_product .item-product {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  .page-order .blockreassurance_product .item-product img {
    width: 18px !important;
    height: 18px !important;
  }
  .page-order .blockreassurance_product .block-title {
    font-size: 0.75rem !important;
    margin-bottom: 0.15rem !important;
  }
  .page-order .blockreassurance_product p {
    font-size: 0.6875rem !important;
    line-height: 1.3 !important;
  }

  /* === Checkout / Información personal — formulario sticky CTA mobile === */
  .page-order #customer-form .mb-3 {
    margin-bottom: 0.625rem !important;
  }
  .page-order #customer-form .form-control,
  .page-order #customer-form .form-select {
    min-height: 50px !important;
    font-size: 1rem !important;
  }
  .page-order #customer-form .form-footer {
    position: sticky !important;
    bottom: env(safe-area-inset-bottom, 0) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    background: #ffffff !important;
    padding: 0.75rem 1rem !important;
    margin: 1rem -0.875rem -1rem !important;
    box-shadow: 0 -2px 12px rgba(5, 5, 5, 0.08) !important;
  }
  .page-order #customer-form .form-footer .continue {
    min-height: 54px !important;
    font-size: 0.9375rem !important;
  }
}

/* ===========================================================
 * CHECKOUT / INFORMACIÓN PERSONAL — Módulo de confianza compacto
 * ===========================================================
 * Aparece en la barra lateral derecha de todo el flujo de checkout
 * (Información personal, Direcciones, Envío, Pago).
 * Diseño horizontal compacto en desktop; en mobile se convierte
 * en una cuadrícula de 2 columnas para ahorrar altura. */
.page-order .blockreassurance_product {
  margin-top: 0.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.page-order .blockreassurance_product > div {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.625rem !important;
  padding: 0.5rem 0.625rem !important;
  background: rgba(247, 244, 238, 0.72) !important;
  border: 1px solid rgba(197, 160, 89, 0.22) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(5, 5, 5, 0.03) !important;
}
.page-order .blockreassurance_product .item-product {
  flex: 0 0 28px !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(197, 160, 89, 0.14) !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-order .blockreassurance_product .item-product img {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  filter: brightness(0) saturate(100%) invert(59%) sepia(58%) saturate(438%) hue-rotate(7deg) brightness(94%) contrast(86%) !important;
}
.page-order .blockreassurance_product .block-title {
  display: block !important;
  font-family: var(--font-ui, Inter, system-ui, sans-serif) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #050505 !important;
  margin-bottom: 0.125rem !important;
}
.page-order .blockreassurance_product p {
  font-size: 0.75rem !important;
  line-height: 1.35 !important;
  color: #6B6863 !important;
  margin: 0 !important;
}
.page-order .blockreassurance_product .clearfix {
  display: none !important;
}

/* ===========================================================
 * CHECKOUT / INFORMACIÓN PERSONAL — Formulario mobile-first
 * ===========================================================
 * Reduce espacio vertical, aumenta touch targets y deja el
 * botón "Continuar" prominente y sticky en mobile. */
.page-order #customer-form {
  margin-bottom: 0 !important;
}
.page-order #customer-form section > .mb-3,
.page-order #customer-form .mb-3 {
  margin-bottom: 0.75rem !important;
}
.page-order #customer-form .form-label {
  font-family: var(--font-ui, Inter, system-ui, sans-serif) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #050505 !important;
  margin-bottom: 0.375rem !important;
}
.page-order #customer-form .form-control,
.page-order #customer-form .form-select {
  min-height: 48px !important;
  padding: 0.625rem 0.75rem !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  border: 1px solid #E2E0DC !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #050505 !important;
}
.page-order #customer-form .form-control:focus,
.page-order #customer-form .form-select:focus {
  border-color: #C5A059 !important;
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.15) !important;
}
.page-order #customer-form .form-text {
  font-size: 0.75rem !important;
  color: #6B6863 !important;
  margin-top: 0.25rem !important;
}
/* Campo de contraseña: botón "mostrar" con buen touch target */
.page-order #customer-form .input-group .btn[data-action="show-password"] {
  min-width: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F5F3EF !important;
  border-color: #E2E0DC !important;
  color: #6B6863 !important;
}
.page-order #customer-form .input-group .btn[data-action="show-password"] .material-icons {
  font-size: 1.25rem !important;
}
/* Checkbox "Crear una cuenta" */
.page-order #customer-form .form-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  min-height: 48px !important;
  padding: 0.5rem 0.75rem !important;
  margin-bottom: 0.75rem !important;
  background: rgba(247, 244, 238, 0.55) !important;
  border: 1px solid rgba(197, 160, 89, 0.2) !important;
  border-radius: 8px !important;
}
.page-order #customer-form .form-check-input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin-top: 0.125rem !important;
  flex-shrink: 0 !important;
  border-color: #C5A059 !important;
}
.page-order #customer-form .form-check-input:checked {
  background-color: #C5A059 !important;
  border-color: #C5A059 !important;
}
.page-order #customer-form .form-check-label {
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
  color: #050505 !important;
}
.page-order #customer-form .form-check-label small {
  color: #6B6863 !important;
}
/* Botón Continuar */
.page-order #customer-form .form-footer {
  margin-top: 1rem !important;
  padding-top: 0 !important;
}
.page-order #customer-form .form-footer .continue {
  width: 100% !important;
  min-height: 56px !important;
  font-family: var(--font-ui, Inter, system-ui, sans-serif) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  border-radius: 10px !important;
  background-image: linear-gradient(180deg, #FF6D00 0%, #E65C00 100%) !important;
  border: 1px solid #FF6D00 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25) !important;
}

/* === Pantallas muy pequeñas (≤360px) — ajustes finos === */
@media (max-width: 360px) {
  .page-product h1.product__name {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  .page-product .product__current-price {
    font-size: 1.25rem !important;     /* 20px */
  }
  .page-product .thumbnails__list .thumbnail {
    flex: 0 0 calc(25% - 0.25rem) !important;   /* 4 por fila en muy pequeño */
    max-width: calc(25% - 0.25rem) !important;
  }
  .page-product .product__add-to-cart .product-actions__quantity {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  .page-product .product__add-to-cart .wishlist-button {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }
  .page-product .product__add-to-cart .wishlist-button .wishlist-button-add,
  .page-product .product__add-to-cart .wishlist-button .wishlist-button-product,
  .page-product .product__add-to-cart .row.g-2 > .wishlist-button-add,
  .page-product .product__add-to-cart .row.g-2 > .wishlist-button-product {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

/* ===========================================================
 * Selección de texto — Naranja de Acción
 * =========================================================== */
::selection {
  background: #FF6D00;
  color: #fff;
}
::-moz-selection {
  background: #FF6D00;
  color: #fff;
}
