﻿/* ==========================================================================
   PRO-X FILAMENT - HOJA DE ESTILOS CENTRALIZADA
   ========================================================================== */

/* --- Base & Reset Elements --- */
.site-body {
  background-color: var(--background);
  color: var(--on-surface);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.main-content {
  width: 100%;
  box-sizing: border-box;
}

/* --- Helper Utilities --- */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================================================
   COMPONENTE: PAGE CONTAINER & GRID
   ========================================================================== */
.pro-x-page {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
  box-sizing: border-box;
}

.pro-x-page__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  opacity: 0.6;
}

.pro-x-page__breadcrumbs-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pro-x-page__breadcrumbs-link:hover {
  color: var(--primary);
}

.pro-x-page__breadcrumbs-current {
  color: var(--primary);
  border-bottom: 1px solid rgba(183, 16, 42, 0.4);
}

.pro-x-page__breadcrumbs-separator {
  font-size: 0.75rem;
  display: inline-block;
}

.pro-x-page__main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: start;
}

/* ==========================================================================
   COMPONENTE: PRODUCT GALLERY (LEFT COLUMN)
   ========================================================================= */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: sticky;
  top: 7rem;
}

.product-gallery__main-box {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-container-lowest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* sin margen interno alrededor de la imagen Ã¢â‚¬â€ pedido 2026-08-31 */
  overflow: hidden;
  border: 1px solid rgba(228, 190, 188, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.03);
}

.product-gallery__gradient-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-gallery__main-box:hover .product-gallery__image {
  transform: scale(1.05);
}

/* ==========================================================================
   COMPONENTE: BENEFITS BANNER
   ========================================================================== */
.benefits-banner {
  border-top: 1px solid rgba(228, 190, 188, 0.1);
  padding-top: 2rem;
}

.benefits-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.benefits-banner__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.05);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s ease;
}

.benefits-banner__item:hover {
  border-color: rgba(183, 16, 42, 0.3);
}

.benefits-banner__icon {
  color: var(--primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
}

.benefits-banner__text {
  display: flex;
  flex-direction: column;
}

.benefits-banner__title {
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--on-surface);
}

.benefits-banner__desc {
  font-size: 0.56rem;
  color: var(--on-surface-variant);
  opacity: 0.6;
  line-height: 1.2;
}

/* ==========================================================================
   COMPONENTE: PRODUCT INFO (RIGHT COLUMN)
   ========================================================================== */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-info__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-info__activity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-info__activity-badge {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-info__activity-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.product-info__brand {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  opacity: 0.5;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.product-info__title {
  font-family: var(--font-headline);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-style: italic;
  margin: 0;
  color: var(--on-surface);
}

.product-info__title-highlight {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(183, 16, 42, 0.2);
}

.product-info__price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 1rem;
}

.product-info__price-html {
  font-family: var(--font-headline);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-info__price-html del,
.product-info__price-html del .amount,
.product-info__price-html del bdi {
  font-size: 1.25rem !important;
  color: var(--on-surface-variant) !important;
  opacity: 0.6;
  text-decoration: line-through;
  font-weight: 500;
}

.product-info__price-html ins,
.product-info__price-html ins .amount,
.product-info__price-html ins bdi,
.product-info__price-html > .amount,
.product-info__price-html > .amount bdi {
  font-size: 2.75rem !important;
  text-decoration: none !important;
  color: var(--primary) !important;
}

/* ==========================================================================
   COMPONENTE: CONFIGURATOR
   ========================================================================== */
.configurator {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.configurator__section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.configurator__label-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.configurator__label-wrapper .configurator__label,
.configurator__label-wrapper .configurator__color-selection-label {
  margin-bottom: 0;
  display: inline-flex;
}

.configurator__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface);
}

.configurator__color-selection-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.configurator__color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
}

.configurator__color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.configurator__color-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  box-sizing: border-box;
}

.configurator__color-btn:hover {
  transform: scale(1.1);
}

.configurator__color-option--active .configurator__color-btn {
  box-shadow: 0 0 0 2px var(--surface, #ffffff), 0 0 0 4px var(--primary, #e60000);
  transform: scale(1.05);
}

.configurator__color-btn--rubi {
  background-color: #E63946;
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 2px rgba(183, 16, 42, 0.2);
}

.configurator__color-btn--nebula {
  background-color: #A5A6F6;
}

.configurator__color-btn--cromo {
  background-color: #949BA4;
}

.configurator__color-btn--onix {
  background-color: #6B7280;
}

.configurator__color-btn--acero {
  background-color: #94a3b8;
}

.configurator__color-btn--onix-old {
  background-color: #0f172a;
}

.configurator__color-btn--verde {
  background-color: #047857;
}

.configurator__color-btn--naranja {
  background-color: #f97316;
}

.configurator__color-btn--blanco {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
}

.configurator__color-icon {
  color: #ffffff;
  font-weight: bold;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85));
}

/* Exception CSS autorizada por el usuario (ver design-requests.md) Ã¢â‚¬â€ variante
   agotada: se marca con una X visible y queda no-seleccionable. */
.configurator__color-option--unavailable .configurator__color-btn {
  cursor: not-allowed;
  opacity: 0.35;
}

.configurator__color-option--unavailable .configurator__color-btn:hover {
  transform: none;
}

.configurator__color-x {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

.configurator__color-name {
  display: none;
}

.configurator__color-option--active .configurator__color-name {
  color: var(--on-surface);
  font-weight: 900;
  opacity: 1;
}

.configurator__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.configurator__quantity {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 2.8rem;
  padding: 0 1.5rem;
  background-color: var(--surface-container-low);
  border: 1px solid rgba(228, 190, 188, 0.1);
  border-radius: 9999px;
  box-sizing: border-box;
}

.configurator__quantity-btn {
  background: none;
  border: none;
  color: var(--on-surface-variant);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.configurator__quantity-btn:hover {
  color: var(--primary);
}

.configurator__quantity-val {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
}

.configurator__total {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 2.8rem;
  padding: 0 1.5rem;
  background-color: var(--surface-container-low);
  border: 1px solid rgba(228, 190, 188, 0.1);
  border-radius: 9999px;
  box-sizing: border-box;
}

.configurator__total-label {
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  opacity: 0.4;
  line-height: 1;
}

.configurator__total-val {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-surface);
}

.configurator__total-currency {
  font-size: 0.625rem;
  color: var(--on-surface-variant);
  opacity: 0.4;
}

/* ==========================================================================
   COMPONENTE: PROMOTIONS
   ========================================================================== */
.promotions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promotions__title {
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-surface-variant);
  opacity: 0.6;
}

.promotions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.promotions__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.1);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.promotions__card-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.promotions__card:hover {
  border-color: rgba(183, 16, 42, 0.3);
}

.promotions__img-box {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  background-color: var(--surface-container);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(228, 190, 188, 0.05);
}

.promotions__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promotions__card:hover .promotions__img {
  transform: scale(1.1);
}

.promotions__info {
  flex: 1;
  min-width: 0;
}

.promotions__name {
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.promotions__desc {
  font-size: 0.56rem;
  color: var(--on-surface-variant);
  opacity: 0.5;
  line-height: 1.2;
}

.promotions__badge {
  text-align: right;
}

.promotions__badge-label {
  display: block;
  font-size: 0.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.125rem;
}

.promotions__badge-val {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1;
}

.promotions__badge-unit {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  opacity: 0.4;
  text-transform: uppercase;
}

/* ==========================================================================
   COMPONENTE: ACTION BUTTONS
   ========================================================================== */
.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.actions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.actions__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 3.5rem;
  border: none;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: var(--radius-full);
  box-sizing: border-box;
}

.actions__btn--primary {
  background-color: var(--primary);
  color: #ffffff;
}

.actions__btn--primary:hover {
  background-color: var(--surface-tint);
  transform: translateY(-2px);
}

.actions__btn--whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.actions__btn--whatsapp:hover {
  background-color: #1EBE57;
  transform: translateY(-2px);
}

.actions__btn--outline {
  width: 100%;
  height: 3.5rem;
  background: none;
  border: 1px solid rgba(183, 16, 42, 0.3);
  color: var(--on-surface);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-style: normal;
  display: flex; /* Para asegurar que sea visible en todas partes */
}

.actions__btn--outline:hover {
  background-color: var(--surface-container-low);
  transform: translateY(-2px);
}

.actions__icon {
  font-size: 1.125rem;
}

/* ==========================================================================
   ESTADOS DE CARGA Y FEEDBACK DEL BOTÃƒâ€œN AÃƒâ€˜ADIR AL CARRITO (ANTIGRAVITY LOADER)
   ========================================================================== */
.actions__btn.is-loading,
.button.single_add_to_cart_button.loading {
  position: relative !important;
  pointer-events: none !important;
  opacity: 0.85 !important;
  color: transparent !important;
}

.actions__btn.is-loading .actions__icon,
.actions__btn.is-loading span {
  opacity: 0 !important;
}

.actions__btn.is-loading::after,
.button.single_add_to_cart_button.loading::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin-top: -0.625rem !important;
  margin-left: -0.625rem !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: mt-btn-spin 0.6s linear infinite !important;
  box-sizing: border-box !important;
}

.actions__btn.is-added,
.button.single_add_to_cart_button.added {
  background-color: #16a34a !important;
  color: #ffffff !important;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes mt-btn-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   COMPONENTE: PAYMENT METHODS BANNER
   ========================================================================== */
.payment-banner {
  border-top: 1px solid rgba(228, 190, 188, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 1;
}

.payment-banner__headers {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-banner__header-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.payment-banner__header-col--right {
  align-items: flex-end;
}

.payment-banner__title {
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  opacity: 0.5;
}

.payment-banner__line {
  height: 1px;
  width: 2rem;
  background-color: var(--primary);
}

.payment-banner__img {
  width: 100%;
  filter: none;
  opacity: 1;
}

/* ==========================================================================
   COMPONENTE: TECHNICAL DETAILS & BENTO GRID
   ========================================================================== */
.tech-specs {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.tech-specs__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tech-specs__label {
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
}

.tech-specs__title {
  font-family: var(--font-headline);
  font-size: var(--text-h1);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
}

.tech-specs__line {
  width: 4rem;
  height: 4px;
  background-color: var(--primary);
}

/* IMÃƒÂGENES DE PRODUCTO BENTO GRID Ã¢â‚¬â€ oculto en todos los viewports (mantenido como referencia) */
.tech-specs__bento {
  display: none;
}

.tech-specs__card {
  position: relative;
  background-color: var(--surface-container);
  border: 1px solid rgba(228, 190, 188, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-sizing: border-box;
}

.tech-specs__card--ai {
  grid-column: span 8;
  height: 37.5rem;
}

.tech-specs__card--prep {
  grid-column: span 4;
  height: 37.5rem;
  background-color: var(--surface-container-low);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-specs__card--stable {
  grid-column: span 5;
  background-color: #191C1D;
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-specs__card--metrics {
  grid-column: span 7;
  background: none;
  border: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tech-specs__card-inner {
  position: relative;
  z-index: 10;
  padding: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.tech-specs__card-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface-container) 0%, rgba(237, 238, 239, 0.9) 40%, transparent 100%);
  z-index: 5;
}

.tech-specs__card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
}

.tech-specs__card-label-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-specs__card-icon {
  color: var(--primary);
  font-size: 0.875rem;
}

.tech-specs__card-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  opacity: 0.4;
}

.tech-specs__card--stable .tech-specs__card-label {
  color: #ffffff;
  opacity: 0.4;
}

.tech-specs__card-pill {
  padding: 0.25rem 0.75rem;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.tech-specs__card-pill--outline {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.tech-specs__card-title {
  font-family: var(--font-headline);
  font-size: var(--text-h2);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 20rem;
}

.tech-specs__card--prep .tech-specs__card-title {
  font-size: 1.5rem;
}

.tech-specs__card--stable .tech-specs__card-title {
  font-size: 1.875rem;
}

.tech-specs__card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
  max-width: 22rem;
}

.tech-specs__card--stable .tech-specs__card-desc {
  color: rgba(255, 255, 255, 0.6);
}

.tech-specs__card-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 66.666%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  mix-blend-mode: multiply;
  opacity: 0.6;
  transition: transform 0.7s ease;
}

.tech-specs__card:hover .tech-specs__card-img {
  transform: scale(1.05);
}

.tech-specs__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 8rem;
  margin-top: 2rem;
}

.tech-specs__chart-bar {
  flex: 1;
  background-color: var(--primary);
  border-radius: var(--radius-default);
}

.tech-specs__chart-bar--empty {
  background-color: var(--surface-container);
}

.tech-specs__status-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.tech-specs__status-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

.tech-specs__status-optimal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-specs__status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--tertiary);
}

.tech-specs__status-val {
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--tertiary-fixed);
}

.tech-specs__card-floating-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: var(--text-h2);
  color: rgba(183, 16, 42, 0.3);
}

.tech-specs__metric-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-full);
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.tech-specs__metric-card--green {
  background-color: #f3fffc;
  border: 1px solid rgba(0, 131, 121, 0.1);
}

.tech-specs__metric-card--green:hover {
  border-color: var(--tertiary);
}

.tech-specs__metric-card--green .tech-specs__metric-val {
  color: var(--tertiary);
}

.tech-specs__metric-card--green .tech-specs__metric-label {
  color: var(--tertiary);
}

.tech-specs__metric-card--green .tech-specs__metric-desc {
  color: var(--tertiary-container);
}

.tech-specs__metric-card--red {
  background-color: #FFF4F4;
  border: 1px solid rgba(183, 16, 42, 0.1);
}

.tech-specs__metric-card--red:hover {
  border-color: var(--primary);
}

.tech-specs__metric-card--red .tech-specs__metric-val {
  color: var(--primary);
}

.tech-specs__metric-card--red .tech-specs__metric-label {
  color: var(--primary);
}

.tech-specs__metric-card--red .tech-specs__metric-desc {
  color: var(--primary);
}

.tech-specs__metric-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tech-specs__metric-val {
  font-family: var(--font-headline);
  font-size: var(--text-h1);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tech-specs__metric-icon {
  font-size: 1.5rem;
}

.tech-specs__metric-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-specs__metric-label {
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.tech-specs__metric-desc {
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
}

.tech-specs__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tech-specs__tag {
  padding: 0.5rem 1.5rem;
  background-color: var(--surface-container);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-surface);
}

.tech-specs__tag--primary {
  color: var(--primary);
}

/* ==========================================================================
   COMPONENTE: PRODUCT BENTO (galerÃƒÂ­a de imÃƒÂ¡genes por plantillas de tamaÃƒÂ±o fijo)
   Autor: Claude Code (excepciÃƒÂ³n de capa autorizada Ã¢â‚¬â€ ver design-requests.md DR-003).
   El PHP (mt_build_bento_layout()) arma plantillas de 4/3/2/1 imÃƒÂ¡genes, siempre
   completas Ã¢â‚¬â€ cada plantilla llena su(s) fila(s) exacta(s), por eso NO hace falta
   grid-auto-flow:dense: el flujo normal ya encadena las plantillas sin huecos.
   ========================================================================== */
/*
 * Unidad base ~cuadrada: en un contenedor tÃƒÂ­pico de esta pÃƒÂ¡gina, 4 columnas con gap de
 * 1.5rem dan una columna de ~19-20rem Ã¢â‚¬â€ por eso grid-auto-rows usa ese mismo valor.
 * Si la fila y la columna no miden parecido, toda celda "1x1" sale achatada y cualquier
 * imagen que la ocupe se recorta mal (esto era el bug real, no solo la cantidad de celdas).
 */
.product-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 19rem;
  gap: 1.5rem;
}

.product-bento__cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(228, 190, 188, 0.12);
  background-color: var(--surface-container-low);
}

/* Forma asignada segÃƒÂºn la proporciÃƒÂ³n REAL de cada imagen dentro de su plantilla (ver PHP). */
.product-bento__cell--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.product-bento__cell--wide {
  grid-column: span 2;
}

/* Plantilla de 1 imagen: sola en su fila, cubre las 4 columnas (nunca "wide" a solas). */
.product-bento__cell--full {
  grid-column: span 4;
}

/* --square (1x1) no necesita span extra Ã¢â‚¬â€ es el tamaÃƒÂ±o base de la celda. */

.product-bento__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-bento__cell:hover .product-bento__img {
  transform: scale(1.05);
}

/* Leyenda corta (campo nativo "Caption" del adjunto) Ã¢â‚¬â€ solo si el admin la completÃƒÂ³. */
.product-bento__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.4rem 0.85rem;
  background-color: rgba(25, 28, 29, 0.65);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  width: fit-content;
}

/* ==========================================================================
   COMPONENTE: PRODUCT FEATURES (bloques imagen + texto, alternados)
   Autor: Claude Code (excepciÃƒÂ³n de capa autorizada Ã¢â‚¬â€ ver design-requests.md DR-002).
   Alimentado por imÃƒÂ¡genes de la galerÃƒÂ­a que tienen "DescripciÃƒÂ³n" en WP Ã¢â‚¬â€ cero campos nuevos.
   ========================================================================== */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 6rem;
}

.product-features__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.product-features__item--reverse .product-features__media {
  order: 2;
}

.product-features__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(228, 190, 188, 0.12);
  background-color: var(--surface-container-low);
}

.product-features__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-features__title {
  font-family: var(--font-headline);
  font-size: var(--text-h3);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin: 0 0 1rem;
}

.product-features__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.product-features__desc p {
  margin: 0 0 1rem;
}

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

/* Tira de mÃƒÂ©tricas tÃƒÂ©cnicas reales, debajo del bento (auto-fit segÃƒÂºn cantidad). */
.tech-specs__metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* MÃƒÂ³vil: bento a 2 columnas (cloud.md Ã‚Â§C) Ã¢â‚¬â€ hero y wide dejan de necesitar 2 columnas. */
@media (max-width: 1023px) {
  .product-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 11rem;
    gap: 1rem;
  }
  .product-bento__cell--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
  .product-bento__cell--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .product-bento__cell--full {
    grid-column: span 2;
  }
  .tech-specs__metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .product-bento__caption {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
    left: 0.5rem;
    bottom: 0.5rem;
    right: 0.5rem;
  }
  .product-features {
    gap: 3rem;
    margin-top: 3rem;
  }
  .product-features__item,
  .product-features__item--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-features__item--reverse .product-features__media {
    order: 0; /* En columna ÃƒÂºnica no hace falta invertir. */
  }
  .product-features__title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   COMPONENTE: CATALOG SLIDER / CAROUSEL
   ========================================================================== */
.catalog-slider {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.catalog-slider__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.catalog-slider__header-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-slider__title {
  font-family: var(--font-headline);
  font-size: var(--text-h2);
  font-weight: 900;
  color: var(--on-surface);
  margin: 0;
}

.catalog-slider__subtitle {
  font-size: 1rem;
  color: var(--on-surface-variant);
  opacity: 0.6;
  margin: 0;
}

.catalog-slider__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.catalog-slider__link:hover {
  gap: 0.75rem;
}

.catalog-slider__link-icon {
  font-size: 1rem;
}

.catalog-slider__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.catalog-slider__grid::-webkit-scrollbar {
  display: none;
}


.catalog-card-new {
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.12);
  border-radius: 1.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  flex: 0 0 16.5rem;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .catalog-card-new {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .catalog-card-new {
    flex: 0 0 calc(25% - 1.125rem);
    max-width: calc(25% - 1.125rem);
  }
}


.catalog-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04);
}

.catalog-card-new__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.catalog-card-new__tag {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-card-new__stock {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-card-new__middle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.catalog-card-new__img-container {
  width: 7rem !important;
  height: 7rem !important;
  border-radius: 1rem !important;
  background-color: var(--surface-container-lowest) !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
  border: none !important;
  box-shadow: none !important;
}

.catalog-card-new:hover .catalog-card-new__img-container {
  transform: scale(1.02);
}

.catalog-card-new__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease;
}

.catalog-card-new:hover .catalog-card-new__img {
  transform: scale(1.08);
}

.catalog-card-new__info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-card-new__title {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  line-height: 1.2;
  margin: 0;
}

.catalog-card-new__title a {
  text-decoration: none;
  color: inherit;
}


.catalog-card-new__colors {
  display: flex;
  flex-direction: row;
  gap: 0.35rem;
  align-items: center;
}

.catalog-card-new__color-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.catalog-card-new__color-dot--active {
  border: none;
  box-shadow: 0 0 0 1.5px var(--surface-container-lowest), 0 0 0 3px var(--active-color);
}

.catalog-card-new__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.catalog-card-new__spec {
  background-color: var(--surface-container-low);
  border: none;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.catalog-card-new__spec-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  opacity: 0.4;
  text-transform: uppercase;
}

.catalog-card-new__spec-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--on-surface);
}

.catalog-card-new__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-card-new__price-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.catalog-card-new__price-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  opacity: 0.4;
  text-transform: uppercase;
}

.catalog-card-new__price {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--on-surface);
  line-height: 1;
}

.catalog-card-new__btn {
  background-color: #111827;
  color: #ffffff;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.catalog-card-new__btn:hover {
  background-color: var(--primary);
  transform: scale(1.05);
}

.catalog-card-new__btn span {
  font-size: 0.95rem;
}

/* ==========================================================================
   COMPONENTE: MODAL DE COTIZACIÃƒâ€œN B2B
   ========================================================================== */
.b2b-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(25, 28, 29, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.b2b-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.b2b-modal__container {
  position: relative;
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(228, 190, 188, 0.15);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.b2b-modal--open .b2b-modal__container {
  transform: translateY(0) scale(1);
}

.b2b-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(228, 190, 188, 0.15);
  background-color: rgba(255, 255, 255, 0.5);
  box-sizing: border-box;
}

.b2b-modal__header-title-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.b2b-modal__header-accent {
  width: 4px;
  height: 2rem;
  background-color: var(--primary);
}

.b2b-modal__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--on-surface);
  margin: 0;
}

.b2b-modal__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: background-color 0.2s, color 0.2s;
}

.b2b-modal__close-btn:hover {
  background-color: var(--surface-container);
  color: var(--on-surface);
}

.b2b-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
}

.b2b-modal__badge {
  display: none;
}

.b2b-modal__mobile-intro {
  display: none;
}

.b2b-modal__alert {
  padding: 1.25rem;
  background-color: rgba(183, 16, 42, 0.05);
  border-left: 4px solid var(--primary);
  margin-bottom: 2rem;
  border-radius: 0 0.25rem 0.25rem 0;
  box-sizing: border-box;
}

.b2b-modal__alert-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.b2b-modal__alert-summary::-webkit-details-marker {
  display: none;
}

.b2b-modal__alert-icon {
  color: var(--primary);
  font-size: 1.5rem;
  font-variation-settings: 'FILL' 1;
}

.b2b-modal__alert-toggle {
  color: var(--primary);
  transition: transform 0.3s ease;
  margin-left: auto;
}

.b2b-modal__alert[open] .b2b-modal__alert-toggle {
  transform: rotate(180deg);
}

.b2b-modal__alert-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-left: 2.5rem;
}

.b2b-modal__alert-title {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.b2b-modal__alert-desc {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
  margin: 0;
}

.b2b-modal__form {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1.5rem;
}

.b2b-modal__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.b2b-modal__form-group--col-6 {
  grid-column: span 6;
}

.b2b-modal__form-group--col-4 {
  grid-column: span 4;
}

.b2b-modal__form-group--col-12 {
  grid-column: span 12;
}

.b2b-modal__label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.25rem;
}

.b2b-modal__input,
.b2b-modal__select,
.b2b-modal__textarea {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.875rem 1rem;
  background-color: var(--surface-container-low);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0.25rem;
  color: var(--on-surface);
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.b2b-modal__input:focus,
.b2b-modal__select:focus,
.b2b-modal__textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
  background-color: var(--surface-container-lowest);
  box-shadow: 0 4px 12px rgba(183, 16, 42, 0.04);
}

.b2b-modal__input::placeholder,
.b2b-modal__textarea::placeholder {
  color: rgba(25, 28, 29, 0.4);
}

.b2b-modal__select-wrapper {
  position: relative;
  width: 100%;
}

.b2b-modal__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.b2b-modal__select-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--on-surface-variant);
}

.b2b-modal__stepper {
  display: flex;
  align-items: center;
  background-color: var(--surface-container-low);
  border-radius: 0.25rem;
  height: 2.875rem;
  overflow: hidden;
  box-sizing: border-box;
}

.b2b-modal__stepper-btn {
  width: 3rem;
  height: 100%;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background-color 0.2s, transform 0.1s;
}

.b2b-modal__stepper-btn:hover {
  background-color: var(--surface-container-high);
}

.b2b-modal__stepper-btn:active {
  transform: scale(0.9);
}

.b2b-modal__stepper-val {
  flex: 1;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--on-surface);
  width: 100%;
  height: 100%;
  padding: 0;
}

.b2b-modal__stepper-val:focus {
  outline: none;
}

.b2b-modal__footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(228, 190, 188, 0.15);
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.b2b-modal__emp-btn {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-modal__emp-btn:hover {
  background-color: var(--primary);
  color: var(--on-primary);
}

.b2b-modal__submit-btn {
  background-color: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.125rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 12px rgba(183, 16, 42, 0.2);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.b2b-modal__submit-btn:hover {
  background-color: var(--surface-tint);
  box-shadow: 0 6px 16px rgba(183, 16, 42, 0.3);
}

.b2b-modal__submit-btn:active {
  transform: scale(0.95);
}

.b2b-modal__submit-btn-icon {
  font-size: 1rem;
  transition: transform 0.2s;
}

.b2b-modal__submit-btn:hover .b2b-modal__submit-btn-icon {
  transform: translateX(4px);
}

.b2b-modal__cancel-btn {
  display: none;
}

.b2b-modal__result {
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-xl);
  margin-top: 1rem;
  display: block;
  box-sizing: border-box;
}

.b2b-modal__result--success {
  background-color: rgba(0, 131, 121, 0.05);
  border: 1px solid var(--tertiary);
  color: var(--tertiary);
}

.b2b-modal__result--error {
  background-color: rgba(186, 26, 26, 0.05);
  border: 1px solid var(--error);
  color: var(--error);
}


/* Catalog Slider Controls */
.catalog-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  width: 100%;
}

.catalog-slider__progress {
  flex: 1;
  max-width: 12rem;
  height: 4px;
  background-color: var(--surface-container-high);
  border-radius: 9999px;
  overflow: hidden;
}

.catalog-slider__progress-bar {
  height: 100%;
  background-color: var(--primary);
  border-radius: 9999px;
}

.catalog-slider__arrows {
  display: flex;
  gap: 0.75rem;
}

.catalog-slider__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(228, 190, 188, 0.15);
  background-color: var(--surface-container-lowest);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-slider__arrow:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.05);
}

.catalog-slider__arrow span {
  font-size: 1.25rem;
}

/* ==========================================================================
   AISLAMIENTO MÃƒâ€œVIL (MEDIA QUERY CERRADO)
   ========================================================================== */
@media (max-width: 1023px) {
  /* --- Layout base & settings --- */
  .site-body {
    background-color: #F8FAFC;
  }

  .pro-x-page {
    padding-top: 4.5rem; /* Compensar header fijo mÃƒÂ³vil */
    padding-bottom: 5rem;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  /* --- Breadcrumbs mobile adaptation --- */
  .pro-x-page__breadcrumbs {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    font-size: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .pro-x-page__breadcrumbs-separator {
    font-size: 0.5rem;
  }

  .pro-x-page__breadcrumbs-current {
    color: var(--on-surface);
    border-bottom: 2px solid var(--primary);
  }

  /* --- Grid to stack layout --- */
  .pro-x-page__main-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* --- Hero & Gallery mobile --- */
  .product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    background: linear-gradient(to bottom, #ffffff, #F8FAFC);
    padding: 0.5rem 0 1rem; /* Reducido: era 1rem 0 2rem */
  }

  .product-gallery__main-box {
    width: 90%;
    max-width: 18rem;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: none;
    box-shadow: none;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-gallery__gradient-overlay {
    display: none;
  }

  .product-gallery__image {
    clip-path: none;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-gallery__main-box:hover .product-gallery__image {
    transform: none;
  }

  /* Hide industrial benefits in mobile top section as per Stitch mobile screen design */
  .benefits-banner {
    display: none;
  }

  /* --- Configurator mobile card look --- */
  .product-info {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -20px 40px rgba(15, 23, 42, 0.05);
    margin-top: -1rem;
    border: 1px solid #f1f5f9;
    padding: 1.5rem;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .product-info__header {
    gap: 0.5rem;
  }

  .product-info__activity {
    display: none;
  }

  .product-info__title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-style: italic;
  }

  .product-info__title-highlight {
    color: var(--on-surface);
    text-shadow: none;
  }

  .product-info__price-box {
    padding-top: 0;
  }

  .product-info__price-html,
  .product-info__price-html ins,
  .product-info__price-html ins .amount,
  .product-info__price-html ins bdi,
  .product-info__price-html > .amount,
  .product-info__price-html > .amount bdi {
    font-size: 1.4rem !important;
  }

  .product-info__currency {
    color: #cbd5e1;
    font-size: 0.5rem;
  }

  /* --- Configurator section mobile --- */
  .configurator {
    gap: 1.5rem;
  }

  .configurator__section {
    gap: 0.75rem;
  }

  .configurator__label {
    color: #1e293b;
  }

  .configurator__color-list {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 100%;
    padding-bottom: 0.5rem;
  }

  .configurator__color-option {
    gap: 0.25rem;
    flex-shrink: 0;
    min-width: 2.75rem;
  }

  .configurator__color-btn {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: none;
  }

  .configurator__color-btn--rubi {
    background-color: var(--primary);
    border: none;
    box-shadow: 0 0 0 2px var(--primary), 0 0 0 3px #ffffff;
  }

  .configurator__color-btn--nebula { background-color: #6366f1; }
  .configurator__color-btn--cromo { background-color: #475569; }
  .configurator__color-btn--onix { background-color: #0f172a; }
  
  .configurator__color-btn--acero { background-color: #94a3b8; }
  .configurator__color-btn--onix-old { background-color: #0f172a; }
  .configurator__color-btn--verde { background-color: #047857; }
  .configurator__color-btn--naranja { background-color: #f97316; }
  .configurator__color-btn--blanco { background-color: #ffffff; border: 1px solid #e2e8f0; }

  .configurator__color-name {
    font-size: 0.45rem;
  }

  .configurator__row {
    gap: 0.75rem;
  }

  .configurator__quantity {
    flex-shrink: 0;
    width: 6rem;
    height: 3rem;
    padding: 0 1rem;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
  }

  .configurator__quantity-val {
    font-size: 1rem;
  }

  .configurator__total {
    height: 3rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.75rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;
    flex: 2;
  }

  .configurator__total-details {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .configurator__total-label {
    font-size: 0.625rem;
    font-weight: 700;
    color: #94a3b8;
  }

  .configurator__total-val {
    font-family: var(--font-headline);
    font-size: 1rem;
    font-weight: 900;
    color: #1e293b;
  }

  .configurator__total-currency {
    display: none;
  }

  /* Mobile special: Promos action trigger */
  .configurator__total-promo-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .configurator__total-promo-btn-text {
    font-size: 0.5625rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .configurator__total-promo-btn-icon {
    font-size: 0.75rem;
  }

  /* Hide promotions list in mobile configurator */
  .promotions {
    display: none;
  }

  /* --- Promotions Bottom Drawer --- */
  .promo-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: flex-end;
    justify-content: center;
  }

  .promo-drawer--active {
    display: flex;
  }

  .promo-drawer__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(25, 28, 29, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
  }

  .promo-drawer__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 1.5rem;
    box-sizing: border-box;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .promo-drawer--active .promo-drawer__content {
    transform: translateY(0);
  }

  .promo-drawer__handle {
    width: 3rem;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    margin: 0 auto 1.5rem;
  }

  .promo-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .promo-drawer__title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: var(--on-surface);
    margin: 0;
  }

  .promo-drawer__close-btn {
    background: none;
    border: none;
    color: var(--on-surface-variant);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
  }

  .promo-drawer .promotions__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-bottom: 1.5rem;
  }

  .promo-drawer .promotions__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: var(--surface-container-lowest);
    border: 1px solid rgba(228, 190, 188, 0.1);
    border-radius: var(--radius-xl);
    box-sizing: border-box;
  }

  /* --- Actions Mobile --- */
  .actions {
    gap: 0.75rem;
  }

  .actions__grid {
    gap: 0.75rem;
  }

  .actions__btn {
    height: 3.5rem;
    border-radius: 0.75rem;
    font-size: 0.625rem;
    font-style: normal;
  }

  .actions__btn--primary {
    background-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.2);
  }

  .actions__btn--whatsapp {
    background-color: #22c55e;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.2);
  }

  .actions__btn--outline {
    height: 3rem;
    border-radius: 0.75rem;
    font-size: 0.56rem;
    border-color: #e2e8f0;
  }

  .payment-banner {
    border-top: none;
    padding-top: 0;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
  }

  .payment-banner__headers {
    display: none;
  }

  img.product-info__payments-image,
  .payment-banner__img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: none;
    opacity: 1;
    margin: 1rem auto !important;
  }

  .pro-x-details__specs {
    display: none !important;
  }

  /* --- Technical specs Mobile --- */
  .tech-specs {
    margin-top: 1rem;
    gap: 2rem;
  }

  /* Mobile special banner */
  .tech-specs__banner-container {
    margin: 0;
  }

  .tech-specs__banner {
    background-color: #090d16;
    color: #ffffff;
    padding: 1rem;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 100%;
  }

  .tech-specs__banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }

  .tech-specs__banner-line {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .tech-specs__banner-icon {
    color: var(--primary);
    font-size: 1.25rem;
  }

  .tech-specs__header {
    padding: 0;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .tech-specs__label {
    display: none;
  }

  .tech-specs__title {
    font-size: 1.5rem;
  }

  .tech-specs__line {
    width: 1rem;
    height: 4px;
    margin-top: 0.5rem;
  }

  .tech-specs__bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
  }

  .tech-specs__card {
    border-radius: 2rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  .tech-specs__card--ai {
    grid-column: span 1;
    height: 12rem;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
  }

  .tech-specs__card-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    z-index: 5;
  }

  .tech-specs__card-inner {
    position: relative;
    z-index: 10;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }

  .tech-specs__card-title {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-weight: 900;
    color: #1f2937;
    margin: 0;
    font-style: italic;
    text-transform: uppercase;
  }

  .tech-specs__card-desc {
    font-size: 0.6rem;
    color: #6b7280;
    margin-top: 0.25rem;
    max-width: 90%;
    line-height: 1.3;
  }

  .tech-specs__card-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 66.666%;
    height: 100%;
    object-fit: cover;
    filter: none;
    opacity: 0.8;
    mix-blend-mode: normal;
    object-position: right center;
    transition: transform 0.5s ease;
  }

  .tech-specs__card:hover .tech-specs__card-img {
    transform: scale(1.1); /* Lock hover in mobile */
  }

  .tech-specs__card--prep {
    grid-column: span 1;
    height: 12rem;
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
  }

  .tech-specs__card--prep .tech-specs__card-img {
    opacity: 0.2;
    object-position: center center;
    width: 100%;
  }

  .tech-specs__card--prep .tech-specs__card-bg-gradient {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.2) 100%);
  }

  .tech-specs__card--stable {
    grid-column: span 2;
    height: 12rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .tech-specs__card--stable .tech-specs__card-inner {
    padding: 0;
    justify-content: flex-start;
    height: auto;
  }

  .tech-specs__card--stable .tech-specs__card-title {
    font-size: 1.25rem;
    color: #ffffff;
  }

  .tech-specs__card--stable .tech-specs__card-desc {
    font-size: 0.68rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    max-width: 100%;
  }

  .tech-specs__chart {
    height: 3.5rem;
    margin-top: 0.5rem;
    width: 100%;
  }

  .tech-specs__metric-card {
    grid-column: span 1;
    min-height: 7rem;
    height: auto;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 2rem;
    border: 1px solid;
    transition: transform 0.2s ease;
  }

  .tech-specs__metric-card--green {
    background-color: rgba(236, 253, 245, 0.5);
    border-color: #d1fae5;
  }

  .tech-specs__metric-card--red {
    background-color: rgba(255, 241, 242, 0.5);
    border-color: #ffe4e6;
  }

  .tech-specs__metric-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .tech-specs__metric-val {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
  }

  .tech-specs__metric-card--green .tech-specs__metric-val {
    color: var(--tertiary);
  }

  .tech-specs__metric-card--red .tech-specs__metric-val {
    color: var(--primary);
  }

  .tech-specs__metric-label {
    font-size: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .tech-specs__metric-card--green .tech-specs__metric-label {
    color: var(--tertiary);
  }

  .tech-specs__metric-card--red .tech-specs__metric-label {
    color: var(--primary);
  }

  .tech-specs__metric-bottom {
    margin-top: 0.5rem;
  }

  .tech-specs__metric-desc {
    font-size: 0.55rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .tech-specs__metric-card--green .tech-specs__metric-desc {
    color: #065f46;
  }

  .tech-specs__metric-card--red .tech-specs__metric-desc {
    color: #9f1239;
  }

  .tech-specs__tags {
    display: none;
  }

  /* Mobile catalog section */
  .catalog-slider {
    margin-top: 0 !important;
    gap: 1.5rem;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .catalog-slider__header {
    align-items: flex-start;
  }
  .catalog-slider__title {
    font-size: 1.5rem;
  }
  .catalog-slider__subtitle {
    font-size: 0.75rem;
  }
  .catalog-slider__link {
    display: none;
  }
  .catalog-slider__grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .catalog-slider__grid::-webkit-scrollbar {
    display: none;
  }
  .catalog-card-new {
    flex: 0 0 16.5rem;
    scroll-snap-align: start;
    border-radius: 1.5rem;
    padding: 1.25rem;
    gap: 1rem;
  }
  .catalog-card-new__header {
    justify-content: flex-start;
  }
  .catalog-card-new__title {
    font-size: 1rem;
  }
  .catalog-card-new__middle {
    justify-content: space-between;
  }
  .catalog-card-new__img-container {
    width: 9rem;
    height: 9rem;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(183, 16, 42, 0.2);
    padding: 0;
  }
  .catalog-card-new__img {
    object-fit: cover;
  }
  .catalog-card-new__colors {
    flex-direction: column;
    gap: 0.5rem;
  }
  .catalog-card-new__color-dot {
    width: 0.75rem;
    height: 0.75rem;
  }
  .catalog-card-new__color-dot--active {
    box-shadow: 0 0 0 2px var(--surface-container-lowest), 0 0 0 3.5px var(--active-color);
  }

  .catalog-slider__controls {
    margin-top: 1.5rem;
  }
  .catalog-slider__progress {
    max-width: 8rem;
  }
  .catalog-slider__arrow {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* Modal B2B Mobile styling */
  .b2b-modal {
    align-items: flex-end;
  }

  .b2b-modal__container {
    max-height: 100vh;
    height: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    transform: translateY(100%);
  }

  .b2b-modal--open .b2b-modal__container {
    transform: translateY(0);
  }

  .b2b-modal__body {
    padding: 1.5rem;
  }

  .b2b-modal__form {
    gap: 1.25rem;
  }

  .b2b-modal__form-group--col-6,
  .b2b-modal__form-group--col-4 {
    grid-column: span 12;
  }

  .b2b-modal__form-group--company,
  .b2b-modal__form-group--project {
    grid-column: span 6 !important;
  }

  .b2b-modal__alert {
    display: none;
  }

  .b2b-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(183, 16, 42, 0.05);
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1.25rem;
    align-self: flex-start;
  }

  .b2b-modal__badge-icon {
    color: var(--primary);
    font-size: 1rem;
    font-variation-settings: 'FILL' 1;
  }

  .b2b-modal__badge-text {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
  }

  .b2b-modal__mobile-intro {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .b2b-modal__mobile-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--on-surface);
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
  }

  .b2b-modal__mobile-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--on-surface-variant);
    line-height: 1.5;
    margin: 0;
  }

  .b2b-modal__footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .b2b-modal__emp-btn {
    order: 2;
    width: 100%;
  }

  .b2b-modal__submit-btn {
    width: 100%;
    justify-content: center;
    order: 1;
  }

  .b2b-modal__cancel-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--on-surface-variant);
    font-family: var(--font-headline);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.75rem;
    cursor: pointer;
    order: 3;
    transition: color 0.2s;
    text-align: center;
  }

  .b2b-modal__cancel-btn:hover {
    color: var(--on-surface);
  }
}

/* --- Overrides for viewports under 480px --- */
@media (max-width: 480px) {
  .actions__grid {
    grid-template-columns: 1fr auto;
  }
  .actions__btn {
    height: 3.25rem;
  }
  .actions__btn--whatsapp {
    width: 3.25rem;
    padding: 0;
    font-size: 0;
    justify-content: center;
    border-radius: var(--radius-full);
  }
  .actions__btn--whatsapp .actions__icon {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
  }
}

/* ==========================================================================
   COMPONENTE: FLOATING STICKY ADD-TO-CART BAR (DESKTOP)
   ========================================================================== */
.pro-x-sticky-bar {
  position: fixed;
  bottom: 2rem;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: translateY(150%);
  width: 90%;
  max-width: 900px;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  z-index: 999;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  box-sizing: border-box;
}

.pro-x-sticky-bar--visible {
  transform: translateY(0);
  opacity: 1;
}

.pro-x-sticky-bar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.5rem;
}

.pro-x-sticky-bar__product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pro-x-sticky-bar__img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  background-color: #F8FAFC;
  border-radius: 8px;
  border: 1px solid #F1F5F9;
  padding: 0.125rem;
}

.pro-x-sticky-bar__details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.pro-x-sticky-bar__name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.pro-x-sticky-bar__color {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.pro-x-sticky-bar__price-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  margin-right: auto;
}

.pro-x-sticky-bar__price {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  color: #0F172A;
}

.pro-x-sticky-bar__currency {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748B;
}

.pro-x-sticky-bar__price-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.pro-x-sticky-bar__qty-box {
  display: flex;
  align-items: center;
}

.pro-x-sticky-bar__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 7.5rem;
  height: 2.75rem;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.pro-x-sticky-bar__stepper-btn {
  background: none;
  border: none;
  color: #64748B;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 100%;
  transition: color 0.2s ease, transform 0.1s ease;
}

.pro-x-sticky-bar__stepper-btn:hover {
  color: var(--primary, #B7102A);
  transform: scale(1.1);
}

.pro-x-sticky-bar__stepper-val {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0F172A;
  min-width: 1.5rem;
  text-align: center;
}

.pro-x-sticky-bar__btn {
  background-color: var(--primary, #B7102A);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0 1.75rem;
  height: 2.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(183, 16, 42, 0.15);
}

.pro-x-sticky-bar__btn:hover {
  background-color: #9E0E24;
}

.pro-x-sticky-bar__btn:active {
  transform: scale(0.98);
}

.pro-x-sticky-bar__row-top,
.pro-x-sticky-bar__row-bottom {
  display: contents;
}

/* Responsive Adaptation for Mobile/Tablet viewports */
@media (max-width: 1023px) {
  .pro-x-sticky-bar {
    width: 92%;
    max-width: 440px;
    bottom: 5.25rem; /* Posicionar sobre la app-tab-bar (4.25rem + 1rem) */
    padding: 0.75rem 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
  
  .pro-x-sticky-bar__container {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .pro-x-sticky-bar__row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .pro-x-sticky-bar__row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
  }
  
  .pro-x-sticky-bar__product {
    gap: 0.5rem;
    display: flex;
    align-items: center;
  }
  
  .pro-x-sticky-bar__img {
    display: none !important;
  }
  
  .pro-x-sticky-bar__details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }
  
  .pro-x-sticky-bar__name {
    font-size: 0.8rem;
  }
  
  .pro-x-sticky-bar__color {
    font-size: 0.7rem;
  }
  
  .pro-x-sticky-bar__color::before {
    content: "(";
  }
  
  .pro-x-sticky-bar__color::after {
    content: ")";
  }
  
  .pro-x-sticky-bar__price-box {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
  }
  
  .pro-x-sticky-bar__price {
    font-size: 1rem;
  }
  
  .pro-x-sticky-bar__price-label {
    display: none !important;
  }
  
  .pro-x-sticky-bar__qty-box {
    flex-shrink: 0;
  }
  
  .pro-x-sticky-bar__stepper {
    width: 6.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
  }
  
  .pro-x-sticky-bar__btn {
    flex: 1;
    justify-content: center;
    height: 2.5rem;
    font-size: 0.8rem;
    padding: 0 1rem;
    border-radius: 8px;
  }
}

/* ==========================================================================
   BUNDLE CONFIGURATOR
   ========================================================================== */
.bundle-configurator {
  margin-top: 1.5rem;
  animation: fadeIn 0.3s ease;
}

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

.bundle-configurator__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: #0A58CA; /* Blue tone similar to the image */
  text-align: center;
  margin-bottom: 1rem;
}

.bundle-configurator__box {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
}

.bundle-configurator__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.bundle-configurator__header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bundle-configurator__header-img {
  width: 4rem;
  height: 4rem;
  border: 1px solid #dee2e6;
  background: #ffffff;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.bundle-configurator__pack-name {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.bundle-configurator__badge {
  background: #0d6efd;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-weight: 700;
}

.bundle-configurator__header-right {
  text-align: right;
}

.bundle-configurator__price-old {
  font-size: 0.8rem;
  color: #6c757d;
  text-decoration: line-through;
}

.bundle-configurator__price-new {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 900;
  color: #0d6efd;
}

.bundle-configurator__rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bundle-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bundle-row__img-box {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #dee2e6;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.bundle-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-row__color-select,
.bundle-row__size-select {
  height: 2.5rem;
  border: 1px solid #adb5bd;
  border-radius: var(--radius-sm);
  padding: 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--on-surface);
  background-color: #f8f9fa;
  cursor: pointer;
  appearance: auto;
}

.bundle-row__color-select {
  flex: 1;
}

.bundle-row__size-select {
  width: 5rem;
  text-align: center;
}

.bundle-row__qty-box {
  display: flex;
  align-items: center;
  border: 1px solid #adb5bd;
  border-radius: var(--radius-sm);
  height: 2.5rem;
  background: #f8f9fa;
}

.bundle-row__qty-btn {
  width: 2rem;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-row__qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.bundle-row__qty-val {
  width: 2rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.bundle-row__delete {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #adb5bd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
}

.bundle-row__delete:hover {
  color: #dc3545;
}

.bundle-configurator__footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bundle-configurator__close-btn {
  background: transparent;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-2xl);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #6c757d;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.bundle-configurator__close-btn:hover {
  background: #e9ecef;
  color: #495057;
}

.bundle-configurator__add-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.bundle-configurator__add-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SOBREESCRITURAS DE MOBILE Y TABLET INTEGRADOS (ANTIGRAVITY RESPONSIVE SHIELD)
   ========================================================================== */
@media (max-width: 1023px) {

  /* OCULTAR: NotificaciÃƒÂ³n "se ha aÃƒÂ±adido a tu carrito" en pÃƒÂ¡gina de producto */
  body.single-product .woocommerce-message,
  body.single-product .woocommerce-notices-wrapper,
  body.single-product .woocommerce-info {
    display: none !important;
  }

  /* ESPACIADO: Contenedor principal para evitar espacio en blanco */
  .pro-x-page {
    padding-top: 1rem !important; /* Margen drÃƒÂ¡sticamente reducido en mÃƒÂ³vil */
    margin-top: 0 !important;
    overflow-x: hidden !important;
  }

  /* ESPACIADO: Migas de pan Ã¢â‚¬â€ espaciado limpio y proporcional bajo el header */
  .pro-x-page__breadcrumbs {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  /* ESPACIADO: Grid principal en columna con separaciÃƒÂ³n limpia entre tarjetas */
  .pro-x-page__main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  /* GALERÃƒÂA DE PRODUCTO: Contenedor estÃƒÂ¡tico y centrado */
  .product-gallery {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    top: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
  }

  .product-gallery__main-box {
    width: 100% !important;
    max-width: 20rem !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: var(--radius-3xl, 1.5rem) !important;
    box-shadow: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* BOTÃƒâ€œN FAVORITO SOBRE LA IMAGEN (MUY PEQUEÃƒâ€˜O EN LA ESQUINA) */
  .product-gallery__favorite {
    position: absolute !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
    z-index: 10 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 2rem !important; /* TamaÃƒÂ±o muy pequeÃƒÂ±o */
    height: 2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    color: var(--on-surface-variant) !important;
    border: none !important;
    cursor: pointer !important;
  }
  
  .product-gallery__favorite .material-symbols-outlined {
    font-size: 1.1rem !important;
  }
  
  .product-gallery__favorite.active {
    color: var(--primary) !important;
  }

  .product-gallery__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
  }

  /* PRODUCT INFO: Tarjeta independiente sin solapamiento sobre la imagen */
  .product-info {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important; /* Elimina la sobreposiciÃƒÂ³n que tapaba la imagen */
    background-color: #ffffff !important;
    border-radius: var(--radius-3xl, 1.5rem) !important;
    border: 1px solid rgba(228, 190, 188, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    padding: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* P2: Estilos para el Expandible de Promociones (Details/Summary) */
  .promotions-expandable {
    margin-top: 0.5rem !important; /* Margen muy pequeÃƒÂ±o */
    border: 1px solid rgba(228, 190, 188, 0.15) !important;
    border-radius: var(--radius-3xl) !important;
    background-color: transparent !important; /* Sin fondo */
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .promotions-expandable__summary {
    padding: 1rem 1.25rem !important;
    font-family: var(--font-headline) !important;
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: var(--on-surface) !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    user-select: none !important;
    outline: none !important;
  }

  .promotions-expandable__summary::-webkit-details-marker {
    display: none !important;
  }

  .promotions-expandable__summary::after {
    content: "keyboard_arrow_down" !important;
    font-family: "Material Symbols Outlined" !important;
    font-size: 1.25rem !important;
    color: var(--primary) !important;
    transition: transform 0.3s ease !important;
  }

  .promotions-expandable[open] .promotions-expandable__summary::after {
    transform: rotate(180deg) !important;
  }

  .promotions-expandable__content {
    padding: 0 1.25rem 1.25rem 1.25rem !important;
    border-top: 1px solid rgba(228, 190, 188, 0.1) !important;
    background-color: var(--surface-container-lowest) !important;
  }

  /* Forzar visualizaciÃƒÂ³n de promociones internas */
  .promotions-expandable .promotions {
    display: block !important;
  }

  .promotions-expandable .promotions__title {
    display: none !important;
  }

  .promotions-expandable .promotions__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  /* P3: Slider de productos relacionados (Tablet 768px - 1023px) */
  .catalog-slider__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scroll-behavior: smooth !important;
    gap: 1rem !important;
    padding-bottom: 1rem !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .catalog-slider__grid::-webkit-scrollbar {
    display: none !important;
  }
}


@media (max-width: 767px) {
  /* P3: Slider de productos relacionados mÃƒÂ³vil (100% idÃƒÂ©ntico a portada segÃƒÂºn Reglas 18, 20 y preferencia del usuario) */
  .catalog-slider__grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scroll-behavior: smooth !important;
    gap: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    scrollbar-width: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    /* Regla 21 Ã¢â‚¬â€ corta la propagaciÃƒÂ³n del ancho intrÃƒÂ­nseco del carrusel (scrollWidth 1718px)
       hacia el ICB. Sin esto, el viewport de layout se ensancha a 1026px en una pantalla de
       360px y .site-header (fixed, width:100%) se renderiza mÃƒÂ¡s ancho que el dispositivo.
       Ver progress/pendiente-css-antigravity.md Ã¢â€ â€™ "RE-CONFIRMADO Y SIN APLICAR Ã¢â‚¬â€ 2026-08-12". */
    contain: layout paint;
  }

  .catalog-slider__grid::-webkit-scrollbar {
    display: none !important;
  }

  .catalog-card-new {
    background-color: #ffffff !important;
    border-radius: var(--radius-3xl, 1.5rem) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    transition: all 0.3s ease !important;
    flex: 0 0 calc(46% - 0.35rem) !important;
    max-width: calc(46% - 0.35rem) !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
  }

  /* Ocultar categorÃƒÂ­a y stock en mÃƒÂ³vil segÃƒÂºn preferencia seleccionada */
  .catalog-card-new__header {
    display: none !important;
  }

  .catalog-card-new__middle {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas: 
      "title title"
      "img colors" !important;
    gap: 0.5rem !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0.5rem !important;
  }

  .catalog-card-new__info {
    display: contents !important;
  }

  .catalog-card-new__title {
    grid-area: title;
    font-family: var(--font-headline) !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
    margin: 0 0 0.25rem 0 !important;
    color: var(--on-surface) !important;
    text-transform: uppercase !important;
    text-align: left !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 1.7rem !important;
    width: 100% !important;
  }

  .catalog-card-new__title a {
    text-decoration: none !important;
    color: inherit !important;
  }

  .catalog-card-new__img-container {
    grid-area: img;
    width: 100% !important;
    max-width: 8rem !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 0.75rem !important;
    background-color: #0b0c10 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 auto 0 0 !important;
  }

  .catalog-card-new__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    mix-blend-mode: normal !important;
  }

  .catalog-card-new__colors {
    grid-area: colors;
    display: grid !important;
    grid-template-columns: repeat(2, 0.65rem) !important;
    gap: 0.35rem !important;
    justify-content: center !important;
    align-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    width: auto !important;
    padding: 0 0.15rem !important;
    border: none !important;
  }

  .catalog-card-new__color-dot {
    width: 0.65rem !important;
    height: 0.65rem !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    margin: 0 !important;
  }

  .catalog-card-new__specs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    margin: 0 0 0.5rem 0 !important;
    width: 100% !important;
  }

  .catalog-card-new__spec {
    background-color: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0.5rem !important;
    padding: 0.35rem 0.25rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important;
  }

  .catalog-card-new__spec-label {
    display: block !important;
    font-size: 0.48rem !important;
    font-weight: 900 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
  }

  .catalog-card-new__spec-val {
    display: block !important;
    font-family: var(--font-headline) !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    color: var(--on-surface) !important;
  }

  .catalog-card-new__footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    border-top: none !important;
    padding-top: 0.25rem !important;
    flex-direction: row !important;
  }

  .catalog-card-new__price-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.1rem !important;
    align-items: flex-start !important;
  }

  .catalog-card-new__price-label {
    font-size: 0.48rem !important;
    font-weight: 900 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    display: block !important;
  }

  .catalog-card-new__price {
    font-family: var(--font-headline) !important;
    font-weight: 900 !important;
    font-size: 1.05rem !important;
    color: var(--on-surface) !important;
    line-height: 1 !important;
  }

  .catalog-card-new__btn {
    background-color: #0b0c10 !important;
    color: #ffffff !important;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    padding: 0 !important;
  }

  .catalog-card-new__btn span {
    font-size: 0.9rem !important;
  }
}

/* Favorite Icon Active */
.product-favorite-icon--active {
  color: var(--primary, #b7102a);
}

/* ==========================================================================
   AJUSTES DESKTOP DE PRODUCTO INDIVIDUAL (A PETICIÃƒâ€œN DEL USUARIO)
   ========================================================================== */
@media (min-width: 1024px) {
  /* 1. Eliminar mÃƒÂ¡rgenes vertical de pro-x-page */
  main#main-content.pro-x-page,
  .pro-x-page {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* 2. nav.pro-x-page__breadcrumbs eliminemos el margen inferior */
  nav.pro-x-page__breadcrumbs,
  .pro-x-page__breadcrumbs {
    margin-bottom: 0 !important;
  }

  /* 3. div.benefits-banner eliminemos el margen superior */
  div.benefits-banner,
  .benefits-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }

  /* 4. div.product-info__price-box eliminemos el margen superior */
  div.product-info__price-box,
  .product-info__price-box {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }



  /* =======================================================
     FIX ABSOLUTO PARA EL STICKY EN WOOCOMMERCE
     ======================================================= */
  html, body, .site-body, #main-content, .pro-x-page {
    overflow: visible !important;
    overflow-x: visible !important;
    clip-path: none !important;
  }

  /* 6. div.product-gallery fijo mientras navego en el contenedor div.product-info */
  div.pro-x-page__main-grid,
  .pro-x-page__main-grid,
  .woocommerce div.product {
    align-items: start !important;
  }

  div.product-gallery,
  .product-gallery,
  .woocommerce-product-gallery {
    position: sticky !important;
    top: 130px !important;
    align-self: start !important;
    height: max-content !important;
    z-index: 99 !important;
  }

  /* 7. button.product-gallery__favorite ubicado en el extremo derecho superior */
  button.product-gallery__favorite,
  .product-gallery__favorite {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    z-index: 10 !important;
    display: flex !important; 
    width: 2.5rem !important;
    height: 2.5rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--on-surface-variant) !important;
    transition: all 0.2s ease !important;
  }

  .product-gallery__favorite:hover {
    color: var(--primary) !important;
    transform: scale(1.05) !important;
  }

  .product-gallery__favorite .material-symbols-outlined {
    font-size: 1.25rem !important;
  }

  /* 8. div.catalog-slider__controls elimina el margen superior y coloca margen inferior */
  div.catalog-slider__controls,
  .catalog-slider__controls {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
  }

  /* 9. Contenedor de imagen para debajo del B2B (Financiamiento y formas de pago) */
  .product-info__payments-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
    border-radius: var(--radius-xl);
    display: block;
    object-fit: contain;
  }
}

/* ==========================================================================
   COMPONENTE: PRODUCT DETAILS (DETALLES TÃƒâ€°CNICOS)
   ========================================================================== */
.pro-x-details {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--background);
  overflow: hidden;
}

.pro-x-details__main-heading {
  font-family: var(--font-headline);
  font-size: var(--text-h1);
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--on-surface);
  margin: 2rem auto 2rem auto;
  padding: 0 1.5rem;
  max-width: 1440px;
}

.pro-x-details__container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pro-x-details__container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* --- Top Row --- */
.pro-x-details__top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pro-x-details__top {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    align-items: center;
  }
  
  .pro-x-details__top--unified {
    grid-template-columns: 1fr;
  }
}

.pro-x-details__header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .pro-x-details__header {
    max-width: 50%; /* Asegurar que no tape la imagen del banner */
  }
}

.pro-x-details__eyebrow {
  display: none;
}

.pro-x-details__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff !important;
  margin: 0 0 1rem 0;
}

.pro-x-details__title-highlight {
  color: var(--primary) !important;
}

/* PUNTO 2 Ã¢â‚¬â€ Recorte de lÃƒÂ­neas (9 lÃƒÂ­neas por defecto) */
.pro-x-details__description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 0.8;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Estado expandido Ã¢â‚¬â€ el JS agrega .pro-x-details__description-wrap--expanded */
.pro-x-details__description-wrap {
  display: flex;
  flex-direction: column;
}

.pro-x-details__description-wrap--expanded .pro-x-details__description {
  -webkit-line-clamp: unset;
  overflow: visible;
}

@media (min-width: 1024px) {
  .pro-x-details__description {
    max-width: 90%;
  }
}

/* BotÃƒÂ³n "Ver mÃƒÂ¡s" / "Ver menos" Ã¢â‚¬â€ mismo estilo que .catalog-slider__link */
.pro-x-details__description-toggle[hidden] {
  display: none !important;
}

.pro-x-details__description-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  margin-left: auto;
  align-self: flex-end;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  transition: gap 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__description-toggle:hover {
  gap: 0.5rem;
}

.pro-x-details__banner {
  background-color: var(--dark-navy, #0a0a0a);
  background-image: var(--banner-bg, none);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 50%;
  border-radius: var(--radius-3xl);
  padding: 2rem;
  box-sizing: border-box;
  position: relative;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .pro-x-details__banner {
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background-position: right center;
    background-size: contain;
  }
}

.pro-x-details__banner-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(183, 16, 42, 0.3);
  z-index: 2;
}

.pro-x-details__banner-subtitle {
  display: none;
}

.pro-x-details__banner-title {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  z-index: 2;
  max-width: 60%;
}

.pro-x-details__banner-desc {
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1.5;
  margin: 0;
  z-index: 2;
  max-width: 60%;
}

.pro-x-details__banner-badges {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  z-index: 2;
  flex-wrap: wrap;
}

.pro-x-details__banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 700;
  color: #ffffff;
}

.pro-x-details__banner-badge span {
  color: #FFC107; /* Color para el Ai */
}

/* --- Middle Row --- */
.pro-x-details__middle {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .pro-x-details__middle {
    display: grid;
    grid-template-columns: 320px 1fr;
  }
}

/* PUNTO 1 Ã¢â‚¬â€ Ocultar bloque desktop en mobile.
   Esta regla va DESPUÃƒâ€°S de las definiciones base (lÃƒÂ­neas 4148/4307) para ganar en cascada
   sin necesidad de !important Ã¢â‚¬â€ misma especificidad, orden posterior = prioridad. */
@media (max-width: 767px) {
  .pro-x-details__top,
  .pro-x-details__middle {
    display: none;
  }
}

.pro-x-details__middle .card,
.pro-x-details__specs {
  background-color: var(--surface-container-lowest);
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(228, 190, 188, 0.3);
  padding: 1.5rem;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .pro-x-details__middle .card,
  .pro-x-details__specs {
    padding: 2rem;
  }
}

.pro-x-details__specs-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(228, 190, 188, 0.2);
}

.pro-x-details__specs-title {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0;
}

.pro-x-details__specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pro-x-details__specs-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.pro-x-details__specs-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.pro-x-details__specs-icon {
  color: var(--on-surface-variant);
  opacity: 0.5;
  font-size: 1rem;
  width: 1.25rem;
  display: flex;
  justify-content: center;
}

.pro-x-details__specs-value {
  font-weight: 700;
  color: var(--on-surface);
  text-align: right;
  max-width: 60%;
}

.pro-x-details__middle-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pro-x-details__compat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pro-x-details__compat-title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  margin: 0;
}

.pro-x-details__compat-logos {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.pro-x-details__compat-logo {
  display: flex;
  align-items: center;
  opacity: 0.9;
  flex: 1;
  min-width: 0;
}

.pro-x-details__compat-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.pro-x-details__compat-logo--small {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  background: var(--surface-container-low);
  border: 1px solid rgba(228, 190, 188, 0.5);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

/* --- Layout de Compatibilidad (Para PHP Nativo) --- */
.pro-x-details__compat.card {
  display: grid;
  grid-template-areas: 
    "header header"
    "logos  button";
  grid-template-columns: 1fr auto;
  align-items: center;
  row-gap: 1.5rem;
  column-gap: 1rem;
}

.pro-x-details__compat-header {
  grid-area: header;
  margin-bottom: 0 !important; /* Anular margen anterior */
}

.pro-x-details__compat-logos {
  grid-area: logos;
  /* El flex original ya se aplica arriba */
  overflow-x: auto;
  padding-bottom: 0.5rem; /* Espacio para scroll en mÃƒÂ³viles */
}
.pro-x-details__compat-logos::-webkit-scrollbar { display: none; }
.pro-x-details__compat-logos { -ms-overflow-style: none; scrollbar-width: none; }

.pro-x-details__compat-logos--expanded {
  flex-wrap: wrap;
}

/* Ocultar a partir del 6to logo por defecto (quedan 5) */
.pro-x-details__compat-logos:not(.pro-x-details__compat-logos--expanded) .pro-x-details__compat-logo:nth-child(n+6) {
  display: none;
}

/* BotÃƒÂ³n VER MÃƒÂS posicionado al lado de los logos */
.pro-x-details__compat .pro-x-details__specs-toggle {
  grid-area: button;
  margin: 0;
  padding: 0 1.25rem;
  background: var(--surface-container-lowest, #f8f9fa);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg, 8px);
  color: var(--on-surface-variant);
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: auto; /* Anula cualquier ancho fijo anterior */
}

.pro-x-details__compat .pro-x-details__specs-toggle:hover {
  background: var(--surface-container-high, #e2e8f0);
  color: var(--on-surface);
}

.pro-x-details__middle-split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pro-x-details__middle-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.pro-x-details__storage-header,
.pro-x-details__downloads-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pro-x-details__storage-title,
.pro-x-details__downloads-title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  margin: 0;
}

.pro-x-details__storage-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pro-x-details__storage-img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.pro-x-details__storage-info {
  display: flex;
  flex: 1;
  gap: 0.5rem;
}

.pro-x-details__storage-item {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.pro-x-details__storage-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  text-transform: uppercase;
}

.pro-x-details__storage-val {
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--on-surface);
}

.pro-x-details__downloads-content {
  display: flex;
  gap: 0.5rem;
}

.pro-x-details__download-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--surface-container-low);
  border: 1px solid rgba(228, 190, 188, 0.2);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  text-decoration: none;
  color: var(--on-surface);
  transition: all 0.2s ease;
}

.pro-x-details__download-btn:hover {
  border-color: var(--primary);
  background-color: #fff;
}

.pro-x-details__download-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-surface-variant);
}

.pro-x-details__download-texts {
  display: flex;
  flex-direction: column;
}

.pro-x-details__download-texts strong {
  font-size: 0.75rem;
  color: var(--on-surface);
}

.pro-x-details__download-texts span {
  font-size: 0.6rem;
  color: var(--on-surface-variant);
}

.pro-x-details__download-icon {
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
}

.pro-x-details__download-btn:hover .pro-x-details__download-icon {
  opacity: 1;
  transform: translateX(0);
}

/* --- Bottom Row (Features Bar) --- */
.pro-x-details__features-bar {
  background-color: transparent;
  color: var(--on-surface);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pro-x-details__bar-feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 0.75rem;
  flex: 1;
  position: relative;
}

.pro-x-details__bar-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  box-shadow: 0 0 10px rgba(183, 16, 42, 0.4);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-x-details__bar-texts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pro-x-details__bar-title {
  font-family: var(--font-headline);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--on-surface);
  margin: 0;
  text-transform: uppercase;
}

.pro-x-details__bar-desc {
  display: block;
  font-size: 0.65rem;
  color: var(--on-surface-variant);
  opacity: 0.8;
  line-height: 1.4;
  margin: 0;
}

/* Desktop Overrides for Features Bar (Colores oscuros, separadores, diseÃƒÂ±o en fila) */
@media (min-width: 768px) {
  .pro-x-details__features-bar {
    background-color: var(--dark-navy, #0a0a0a);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  
  .pro-x-details__bar-feature {
    padding-right: 1.5rem;
  }
  
  .pro-x-details__bar-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .pro-x-details__bar-title {
    color: #ffffff;
  }

  .pro-x-details__bar-desc {
    color: rgba(255, 255, 255, 0.7);
  }

  .pro-x-details__bar-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 2px;
    box-shadow: 0 0 15px rgba(183, 16, 42, 0.6);
  }
}

/* ==========================================================================
   MOBILE LAYOUT Ã¢â‚¬â€ pro-x-details (max-width: 767px)
   ========================================================================== */

/* Ã¢â€˜Â  Hero mobile: tÃƒÂ­tulo izq + imagen derecha */
.pro-x-details__mobile-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: flex-start;
}

.pro-x-details__mobile-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pro-x-details__eyebrow {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.pro-x-details__title {
  font-family: var(--font-headline);
  font-size: 1.25rem; /* TamaÃƒÂ±o reducido para el tÃƒÂ­tulo */
  font-weight: 800;
  line-height: 1.1;
  color: var(--on-surface);
  margin: 0;
}

.pro-x-details__title-highlight {
  color: var(--primary);
}

.pro-x-details__mobile-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-x-details__mobile-hero-img img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-2xl);
}

/* Ã¢â€˜Â¡ Mini features row */
.pro-x-details__mini-features {
  display: flex;
  gap: 0.25rem;
  background: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-top: -2rem; /* Overlap image */
  position: relative;
  z-index: 2;
}

.pro-x-details__mini-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  flex: 1;
  min-width: 0;
}

.pro-x-details__mini-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.1rem;
}

.pro-x-details__mini-icon svg {
  width: 100%;
  height: 100%;
}

.pro-x-details__mini-label {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  line-height: 1.2;
}

.pro-x-details__mini-val {
  font-size: 0.6rem;
  color: var(--on-surface);
  font-weight: 600;
  line-height: 1.2;
}

/* Ã¢â€˜Â¢/Ã¢â€˜Â£ AcordeÃƒÂ³n */
.pro-x-details__accordion {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  overflow: hidden;
}

.pro-x-details__accordion-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
  color: var(--on-surface);
}

.pro-x-details__accordion-hdr-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pro-x-details__accordion-title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--primary); /* TÃƒÂ­tulo en rojo */
  text-align: left;
}

.pro-x-details__accordion-chevron {
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  max-width: 16px;
  color: var(--primary); /* El diseÃƒÂ±o lo muestra en rojo */
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__accordion-body {
  padding: 0 1.25rem 1.25rem;
}

/* Ã¢â€˜Â¢ Especificaciones del Material (Card en lugar de AcordeÃƒÂ³n) */
.pro-x-details__specs-card {
  background-color: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.pro-x-details__specs-card-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pro-x-details__specs-card-hdr-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-x-details__specs-card-hdr-icon svg {
  width: 100%;
  height: 100%;
}

.pro-x-details__specs-card-title {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.01em;
}

.pro-x-details__specs-list-new {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.pro-x-details__specs-list-item {
  display: flex;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  gap: 1rem;
}

.pro-x-details__specs-list-item:first-child {
  padding-top: 0;
}

.pro-x-details__specs-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pro-x-details__specs-list-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-x-details__specs-list-icon svg {
  width: 100%;
  height: 100%;
}

.pro-x-details__specs-list-lbl {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  font-weight: 500;
  flex: 1;
}

.pro-x-details__specs-list-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--on-surface);
  text-align: right;
  max-width: 55%;
  line-height: 1.3;
}

/* Ã¢â€˜Â¤ Split row */
.pro-x-details__split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem; /* Menor gap */
}

/* Ocultar specs despuÃƒÂ©s del 8vo elemento por defecto */
.pro-x-details__specs-wrap:not(.pro-x-details__specs-wrap--expanded) .pro-x-details__specs-item:nth-child(n+9),
.pro-x-details__specs-wrap:not(.pro-x-details__specs-wrap--expanded) .pro-x-details__specs-cell:nth-child(n+9) {
  display: none;
}

/* BotÃƒÂ³n ver mÃƒÂ¡s/menos specs */
.pro-x-details__specs-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  transition: gap 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  grid-column: 1 / -1;
}

.pro-x-details__specs-toggle:hover {
  gap: 0.5rem;
}

/* Ajustes especÃƒÂ­ficos para los acordeones dentro del split-row para que quepan */
.pro-x-details__split-row .pro-x-details__accordion-hdr {
  padding: 0.75rem 0.5rem;
  gap: 0.25rem;
  align-items: flex-start;
}

.pro-x-details__split-row .pro-x-details__accordion-hdr-left {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.pro-x-details__split-row .pro-x-details__accordion-title {
  font-size: 0.55rem;
  line-height: 1.2;
}

.pro-x-details__split-row .pro-x-details__accordion-body {
  padding: 0 0.5rem 0.75rem;
}

/* Compactar contenido de almacenamiento */
.pro-x-details__split-row .pro-x-details__storage-content {
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.pro-x-details__split-row .pro-x-details__storage-info {
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.pro-x-details__split-row .pro-x-details__storage-item {
  padding: 0.25rem 0;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.pro-x-details__split-row .pro-x-details__storage-item:last-child {
  border-bottom: none;
}

/* Compactar descargas */
.pro-x-details__split-row .pro-x-details__downloads-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pro-x-details__split-row .pro-x-details__download-btn {
  padding: 0.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.pro-x-details__split-row .pro-x-details__download-info {
  gap: 0.5rem;
}

.pro-x-details__split-row .pro-x-details__download-texts strong {
  font-size: 0.65rem;
}

.pro-x-details__split-row .pro-x-details__download-texts span {
  font-size: 0.5rem;
}

/* Desktop: ocultar elementos exclusivos de mobile */
@media (min-width: 768px) {
  .pro-x-details__mobile-hero {
    display: none;
  }

  .pro-x-details__mini-features {
    display: none;
  }

  .pro-x-details__accordion {
    display: none;
  }

  .pro-x-details__split-row {
    display: none;
  }
}

/* ==========================================================================
   NUEVOS BLOQUES DE DETALLE DE PRODUCTO (2026-08-04)
   5 componentes sin CSS previo Ã¢â‚¬â€ definiciÃƒÂ³n de selectores BEM
   ========================================================================== */

/* ----------------------------------------------------------------------------
   1. COMPATIBILIDAD POR MODELO con checks
   .pro-x-details__compat-models
   Grid de tarjetas: ÃƒÂ­cono impresora + nombre modelo + check verde/gris
   ---------------------------------------------------------------------------- */
.pro-x-details__compat-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.pro-x-details__compat-model-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.15);
  border-radius: var(--radius-2xl);
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__compat-model-card--available {
  border-color: rgba(0, 131, 121, 0.2);
}

.pro-x-details__compat-model-card--unavailable {
  opacity: 0.45;
}

.pro-x-details__compat-model-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background-color: var(--surface-container-low);
  padding: 0.25rem;
}

.pro-x-details__compat-model-name {
  flex: 1;
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
}

.pro-x-details__compat-model-check {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.625rem;
}

.pro-x-details__compat-model-check--yes {
  background-color: rgba(0, 131, 121, 0.12);
  color: var(--tertiary);
}

.pro-x-details__compat-model-check--no {
  background-color: rgba(228, 190, 188, 0.2);
  color: var(--outline);
}

/* Responsive: en mobile 2 columnas fijas */
@media (max-width: 767px) {
  .pro-x-details__compat-models {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-x-details__compat-model-card {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }
}


/* ----------------------------------------------------------------------------
   2. MATERIALES COMPATIBLES con checks
   .pro-x-details__compat-materials
   Grid de pÃƒÂ­ldoras: check + nombre de material
   ---------------------------------------------------------------------------- */
.pro-x-details__compat-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pro-x-details__compat-material {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.2);
  border-radius: var(--radius-full);
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__compat-material--active {
  border-color: rgba(0, 131, 121, 0.35);
  background-color: rgba(0, 131, 121, 0.06);
}

.pro-x-details__compat-material-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background-color: rgba(0, 131, 121, 0.15);
  color: var(--tertiary);
  font-size: 0.5rem;
  flex-shrink: 0;
}

.pro-x-details__compat-material-name {
  font-family: var(--font-headline);
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface);
}


/* ----------------------------------------------------------------------------
   3. Ã‚Â¿QUÃƒâ€° INCLUYE? (contenido de la caja)
   .pro-x-details__included
   Fila de ÃƒÂ­tems: imagen/ÃƒÂ­cono cuadrado + label debajo
   ---------------------------------------------------------------------------- */
.pro-x-details__included {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.pro-x-details__included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: 4.5rem;
  max-width: 6rem;
  text-align: center;
}

.pro-x-details__included-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-2xl);
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__included-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.pro-x-details__included-item:hover .pro-x-details__included-icon {
  border-color: rgba(183, 16, 42, 0.3);
}

.pro-x-details__included-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  line-height: 1.3;
  text-align: center;
}

/* Responsive: en mobile fila con scroll horizontal si hay muchos ÃƒÂ­tems */
@media (max-width: 767px) {
  .pro-x-details__included {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
  }

  .pro-x-details__included::-webkit-scrollbar {
    display: none;
  }

  .pro-x-details__included-item {
    scroll-snap-align: start;
    flex: 0 0 4.5rem;
  }
}


/* ----------------------------------------------------------------------------
   4. CARACTERÃƒÂSTICAS DESTACADAS Ã¢â‚¬â€ grid 2 columnas
   .pro-x-details__highlights
   Grid 2 col: ÃƒÂ­cono + tÃƒÂ­tulo + descripciÃƒÂ³n (distinto de features-bar)
   ---------------------------------------------------------------------------- */
.pro-x-details__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.pro-x-details__highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background-color: var(--surface-container-lowest);
  border: 1px solid rgba(228, 190, 188, 0.12);
  border-radius: var(--radius-3xl);
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-x-details__highlight-card:hover {
  border-color: rgba(183, 16, 42, 0.3);
  transform: translateY(-2px);
}

.pro-x-details__highlight-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-xl);
  background-color: rgba(183, 16, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.pro-x-details__highlight-icon svg {
  width: 1rem;
  height: 1rem;
}

.pro-x-details__highlight-texts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.pro-x-details__highlight-title {
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--on-surface);
  margin: 0;
  line-height: 1.2;
}

.pro-x-details__highlight-desc {
  font-size: 0.6rem;
  color: var(--on-surface-variant);
  opacity: 0.75;
  line-height: 1.4;
  margin: 0;
}

/* Responsive: en mobile 1 columna */
@media (max-width: 767px) {
  .pro-x-details__highlights {
    grid-template-columns: 1fr;
  }

  .pro-x-details__highlight-card {
    padding: 0.875rem 1rem;
  }
}


/* .pro-x-details__brand-banner fue eliminado por duplicidad. Se usa .pro-x-details__banner para ambos casos. */

/* ==========================================================================
   MOBILE EXCLUSIVE - PRO-X DETAILS SECTIONS
   ========================================================================== */
@media (max-width: 767px) {
    /* --- Product Gallery Reduction --- */
    .product-gallery {
        max-width: 75%;
        margin: 0 auto 1rem auto;
    }

    /* --- Typography & Header --- */
    .pro-x-details__eyebrow {
        color: var(--primary);
        font-size: 0.65rem; 
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.75rem;
    }

    /* --- Hero Banner (Dark) con los tÃƒÂ­tulos --- */
    .pro-x-details__hero {
        background-color: #0b0f15;
        border-radius: var(--radius-3xl);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        position: relative;
        overflow: hidden;
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        text-align: center; 
    }

    .pro-x-details__title {
        font-size: 1.15rem; 
        font-weight: 800;
        line-height: 1.2;
        margin: 0;
        color: #ffffff; 
        letter-spacing: -0.02em;
    }

    .pro-x-details__title span {
        color: var(--primary);
    }

    .pro-x-details__desc {
        font-size: 0.75rem; 
        color: rgba(255, 255, 255, 0.7); 
        line-height: 1.5;
        margin: 0;
    }

    /* --- Cards Base (Accordions) --- */
    .pro-x-card {
        background: var(--surface);
        border-radius: var(--radius-2xl);
        border: 1px solid var(--border-color);
        margin-bottom: 1.25rem;
        overflow: hidden;
    }

    .pro-x-card__hdr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem; 
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .pro-x-card__hdr-left {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .pro-x-card__icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pro-x-card__icon--red { color: var(--primary); }
    .pro-x-card__icon--black { color: var(--on-surface); }

    .pro-x-card__title {
        font-size: 0.75rem; 
        font-weight: 700;
        margin: 0;
        letter-spacing: 0.02em;
    }

    .pro-x-card__title--red { color: var(--primary); }
    .pro-x-card__title--black { color: var(--on-surface); }

    .pro-x-card__chevron {
        width: 18px;
        height: 18px;
        color: var(--on-surface-variant);
        transition: transform 0.3s ease;
    }
    
    .pro-x-card.is-active .pro-x-card__chevron {
        transform: rotate(180deg);
    }
    
    .pro-x-card__body {
        padding: 0 1.25rem 1rem;
        display: none; 
    }
    
    .pro-x-card.is-active .pro-x-card__body {
        display: block;
    }

    /* --- Specs Grid --- */
    .specs-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.75rem; 
        margin-top: 0.25rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    /* Hide items beyond the 8th */
    .specs-grid .spec-item:nth-child(n+9) {
        display: none;
    }
    
    .pro-x-card.show-all .specs-grid .spec-item:nth-child(n+9) {
        display: flex;
    }

    .spec-item {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .spec-item__icon {
        color: var(--on-surface-variant);
        flex-shrink: 0;
        margin-top: 1px;
    }

    .spec-item__icon svg { width: 16px; height: 16px; }

    .spec-item__content {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

    .spec-item__label {
        font-size: 0.6rem; 
        color: var(--on-surface-variant);
        font-weight: 500;
    }

    .spec-item__value {
        font-size: 0.75rem; 
        color: var(--on-surface);
        font-weight: 700;
        line-height: 1.2;
    }

    /* --- Compatibility Logos --- */
    .compat-card__body {
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }

    .compat-logos-wrapper {
        width: calc(100% + 2.5rem);
        margin-left: -1.25rem;
        overflow: hidden;
    }
    
    .compat-logos {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        width: max-content;
        animation: scrollMarquee 25s linear infinite;
        padding: 0.5rem 0;
    }

    .compat-logos img {
        height: 28px; 
        width: 80px;
        object-fit: contain;
    }

    @keyframes scrollMarquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    .btn-more {
        width: 100%;
        background: #f9fafb;
        border: 1px solid var(--border-color);
        color: var(--on-surface-variant);
        font-size: 0.65rem;
        font-weight: 700;
        padding: 0.5rem;
        border-radius: 8px;
        cursor: pointer;
        text-align: center;
    }

    /* --- Split Row (Almacenamiento & Descargas) --- */
    .split-row {
        display: none !important;
    }

    .split-card {
        background: var(--surface);
        border-radius: var(--radius-2xl);
        border: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
    }

    .split-card__hdr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem;
        border-bottom: 1px solid var(--border-color);
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .split-card__hdr-left {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .split-card__title {
        font-size: 0.65rem;
        font-weight: 800;
        color: var(--on-surface);
    }

    .split-card .pro-x-card__chevron {
        transition: transform 0.3s ease;
    }
    .split-card.is-active .pro-x-card__chevron {
        transform: rotate(180deg);
    }

    .split-card__body {
        padding: 0.75rem;
        display: none; 
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
    }
    
    .split-card.is-active .split-card__body {
        display: flex;
    }

    /* Storage specifically */
    .storage-content {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .storage-img {
        width: 50px; 
        height: 50px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .storage-stats {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .storage-stat {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .storage-stat__icon { color: var(--primary); display: flex; }
    .storage-stat__icon svg { width: 12px; height: 12px; }
    
    .storage-stat__text {
        display: flex;
        flex-direction: column;
    }

    .storage-stat__label {
        font-size: 0.5rem;
        color: var(--on-surface-variant);
    }

    .storage-stat__val {
        font-size: 0.65rem;
        font-weight: 700;
        color: var(--on-surface);
    }

    /* Downloads specifically */
    .downloads-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .download-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--surface);
        border: 1px solid var(--border-color);
        padding: 0.5rem;
        border-radius: 10px;
        text-decoration: none;
    }

    .download-item__icon { color: var(--on-surface-variant); display: flex; }
    .download-item__icon svg { width: 16px; height: 16px; }

    .download-item__text {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .download-item__title {
        font-size: 0.7rem;
        font-weight: 800;
        color: var(--on-surface);
    }

    .download-item__subtitle {
        font-size: 0.55rem;
        color: var(--on-surface-variant);
    }

    .download-item__arrow { color: var(--primary); display: flex; }
    .download-item__arrow svg { width: 14px; height: 14px; }

    /* --- Features Slider (Bottom) --- */
    .features-slider-container {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .features-slider {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0.5rem 1rem 1.5rem 0; 
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .features-slider::-webkit-scrollbar {
        display: none;
    }

    .features-slider-container::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, rgba(253,253,253,0), rgba(253,253,253,1));
        pointer-events: none;
    }

    .feature-slide {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex: 0 0 75%;
        scroll-snap-align: center;
    }

    .feature-title {
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--on-surface);
        text-transform: uppercase;
        padding-left: 0.25rem;
    }

    .feature-box {
        display: flex;
        align-items: center; 
        gap: 0.75rem;
        background: var(--surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-2xl);
        padding: 1.25rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        flex-grow: 1;
    }

    .feature-slide--full .feature-box {
        background: linear-gradient(135deg, var(--surface), #fff5f6);
        border-color: rgba(248, 0, 32, 0.2);
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        background: rgba(248, 0, 32, 0.08);
        color: var(--primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .feature-icon svg { width: 16px; height: 16px; }

    .feature-desc {
        font-size: 0.65rem;
        color: var(--on-surface-variant);
        line-height: 1.4;
    }
}

/* ==========================================================================
   VISIBILITY UTILITIES FOR RESPONSIVE DESIGN (DESKTOP VS MOBILE HTML)
   ========================================================================== */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-on-desktop {
        display: none !important;
    }
}

/* ==========================================================================
   BUNDLE CONFIGURATOR MOBILE FIXES
   ========================================================================== */
@keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 767px) {
    /* CONVERTIR BUNDLE CONFIGURATOR EN BOTTOM SHEET MODAL (MOBILE) */
    .bundle-configurator {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.4) !important;
        z-index: 9999 !important;
        margin-top: 0 !important;
        display: none; 
        align-items: flex-end !important;
        justify-content: center !important;
    }

    .bundle-configurator:not([style*="display: none"]) {
        display: flex !important;
    }

    .bundle-configurator__sheet {
        position: relative !important;
        width: 100% !important;
        max-height: 90vh !important;
        background: #ffffff !important;
        border-radius: 1.5rem 1.5rem 0 0 !important;
        padding: 1.5rem 1rem calc(1.5rem + 70px) 1rem !important; /* Padding inferior extra para el menÃº inferior */
        overflow-y: auto !important;
        animation: slideUpModal 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1) !important;
    }

    .bundle-configurator__close-btn {
        border-radius: var(--radius-full, 9999px) !important;
    }

    .bundle-configurator__box {
        padding: 1rem !important;
    }
    
    .bundle-configurator__header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .bundle-configurator__header-right {
        text-align: left !important;
    }
    
    .bundle-configurator__rows {
        gap: 0.75rem !important;
    }
    
    .bundle-row {
        display: grid !important;
        grid-template-columns: 2.5rem 1fr auto auto !important;
        gap: 0.5rem !important;
        align-items: center !important;
    }
    
    .bundle-row__color-select {
        flex: unset !important;
        width: 100% !important;
        font-size: 0.75rem !important;
        padding: 0 0.5rem !important;
        text-overflow: ellipsis;
    }
    
    .bundle-row__size-select {
        display: none !important;
    }
    
    .bundle-row__qty-box {
        height: 2.5rem !important;
    }
    
    .bundle-configurator__footer {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: stretch !important;
    }
    
    .bundle-configurator__close-btn,
    .bundle-configurator__add-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem !important;
    }
}

/* .pro-x-details__brand-banner fue eliminado por duplicidad. Se usa .pro-x-details__banner para ambos casos. */
/* =========================================
   MACHINE LAYOUT - NEW UNIFIED BANNER
   ========================================= */
.pro-x-details__machine-banner {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-banner {
    flex-direction: row;
    align-items: center;
    padding: 0; /* Removed top/bottom margins (padding) */
    padding-left: 3rem;
  }
}

.pro-x-details__machine-banner-left {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-banner-left {
    padding: 0;
    max-width: 50%;
  }
}

.pro-x-details__machine-banner-eyebrow {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.pro-x-details__machine-banner-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem); /* Reduced to fit long titles better */
  font-weight: 900;
  line-height: 1.1;
  color: var(--on-surface);
  margin: 0 0 1.5rem 0;
}

.pro-x-details__machine-banner-desc {
  color: var(--on-surface-variant);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 90%;
}

.pro-x-details__machine-metrics {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-metrics {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
    width: 100%;
  }
}

.pro-x-details__machine-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  flex: 1;
}

.pro-x-details__machine-metric-icon {
  color: var(--primary);
  width: 28px;
  height: 28px;
  margin-bottom: 0.25rem;
}

.pro-x-details__machine-metric-title {
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--on-surface);
  line-height: 1.2;
}

.pro-x-details__machine-metric-val {
  font-size: 0.65rem;
  color: var(--on-surface-variant);
}

.pro-x-details__machine-metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.1);
  margin: 0 1rem;
  align-self: center;
}

@media (max-width: 1023px) {
  .pro-x-details__machine-metric-divider {
    display: none;
  }
}

.pro-x-details__machine-banner-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center; /* Centered vertically */
  min-height: 300px;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-banner-right {
    min-height: 450px;
    margin-left: 2rem;
  }
}

.pro-x-details__machine-banner-img {
  width: 100%;
  max-width: 500px;
  max-height: 420px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.pro-x-details__machine-banner-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.6) 0%, rgba(220, 38, 38, 0) 70%);
  z-index: 1;
  filter: blur(10px);
}


/* =========================================
   MACHINE LAYOUT - MIDDLE GRID
   ========================================= */
.pro-x-details__section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.pro-x-details__section-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--on-surface);
  margin: 0;
}

.pro-x-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .pro-x-details__grid {
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: stretch;
  }
  /* Si el grid tiene exactamente 2 tarjetas (para productos que no usan la 3ra), se divide en 2 columnas iguales */
  .pro-x-details__grid:has(> :last-child:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
  }
}

.pro-x-details__card {
  background: #fff;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pro-x-details__card-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pro-x-details__card-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pro-x-details__card-hdr-icon {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.pro-x-details__card-title {
  font-family: var(--font-headline);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  margin: 0;
  text-transform: uppercase;
}

/* Specs List (Reused structure but adapted) */
.pro-x-details__specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: 380px; /* ~9 items visible */
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom subtle scrollbar */
.pro-x-details__specs-list::-webkit-scrollbar {
  width: 4px;
}
.pro-x-details__specs-list::-webkit-scrollbar-track {
  background: transparent;
}
.pro-x-details__specs-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.pro-x-details__specs-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.2);
}

.pro-x-details__specs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.pro-x-details__specs-lbl {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-surface-variant);
}
.pro-x-details__specs-lbl svg {
  width: 16px;
  opacity: 0.6;
}

.pro-x-details__specs-val {
  font-weight: 700;
  color: var(--on-surface);
  text-align: right;
  max-width: 50%;
}

/* Includes Grid */
.pro-x-details__includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1rem;
}

.pro-x-details__include-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.pro-x-details__include-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: none;
  background: transparent;
}

.pro-x-details__include-title {
  font-size: 0.65rem;
  color: var(--on-surface);
  line-height: 1.3;
}

/* Materials Chips */
.pro-x-details__materials-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pro-x-details__material-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #16a34a; /* Green text matching icon */
  background: #f8f9fa; /* Light grey background */
  border: 1px solid rgba(22, 163, 74, 0.3); /* Subtle green border */
  border-radius: var(--radius-full);
  padding: 0.4rem 0.75rem;
}

.pro-x-details__material-chip svg {
  width: 14px;
  color: #16a34a; /* green check */
}

.pro-x-details__material-chip--more {
  color: var(--primary);
  border-color: var(--primary);
  cursor: pointer;
  background: #fff;
}
.pro-x-details__material-chip--more svg {
  display: none;
}

/* Features List */
.pro-x-details__feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pro-x-details__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pro-x-details__feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.08); /* Light red background */
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pro-x-details__feature-icon-wrap svg {
  width: 24px;
}

.pro-x-details__feature-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--on-surface);
  margin: 0 0 0.35rem 0;
}

.pro-x-details__feature-desc {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.5;
}

/* =========================================
   MACHINE LAYOUT - BOTTOM BENEFITS
   ========================================= */
.pro-x-details__benefits {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 2.5rem 2rem;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .pro-x-details__benefits {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.pro-x-details__benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.pro-x-details__benefit-icon {
  color: var(--primary);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.pro-x-details__benefit-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pro-x-details__benefit-title {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--on-surface);
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pro-x-details__benefit-desc {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  margin: 0;
  line-height: 1.4;
}
/* =========================================
   MACHINE LAYOUT - BOTTOM BENEFITS
   ========================================= */
.pro-x-details__machine-benefits {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #0d1117; /* Dark background matching the image */
  border-radius: var(--radius-3xl);
  padding: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-benefits {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
    gap: 0;
  }
}

.pro-x-details__machine-benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative;
}

@media (min-width: 1024px) {
  .pro-x-details__machine-benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
  }
  .pro-x-details__machine-benefit-item:not(:first-child) {
    padding-left: 2rem;
  }
  .pro-x-details__machine-benefit-item:not(:last-child) {
    padding-right: 2rem;
  }
}

.pro-x-details__machine-benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.4), inset 0 0 10px rgba(220, 38, 38, 0.2);
}

.pro-x-details__machine-benefit-icon svg {
  width: 20px;
}

.pro-x-details__machine-benefit-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pro-x-details__machine-benefit-title {
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 0.2rem 0;
  letter-spacing: 0.05em;
}

.pro-x-details__machine-benefit-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  line-height: 1.4;
  margin: 0;
}



/* ==========================================================================
   FIXES PRODUCT PAGE MOBILE (2026-09-09)
   ========================================================================== */
@media (max-width: 767px) {
  .product-info__payments-image,
  .payment-banner__img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
  
  .pro-x-details__specs {
    display: none !important;
  }
}

