﻿    /* ==================== VARIABLES (mismas que bs_art9) ==================== */

    :root {
        --amarillo: #f00008;
        --amarillo-suave: rgba(249, 187, 187, 0.85);
        --amarillo-hover: #fff176;
        --negro: #1a1a1a;
        --negro-suave: #313131;
        --gris-claro: #f4f4f4;
        --gris-texto: #313131;
        --gris-disabled: #e2e8f0;
        --texto-disabled: #94a3b8;
        --blanco: #ffffff;
        --sombra: rgba(0, 0, 0, 0.1);
        --icono-capsula: #000000;
        --texto-capsula: #000000;
        --borde-capsula: #e2e8f0;
        --rojo-texto: #ff4800;
        --verde-stock: #22c55e;
        --azul: #000000
    }




    /* ==================== RESET & BASE ==================== */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }


    /* ==================== CONTENEDOR PRINCIPAL ==================== */
    .prod-wrapper {
        padding: 0 15px;
        box-sizing: border-box;
    }

    .prod-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 90px;
        background: var(--blanco);
        border-radius: 20px;
        box-shadow: 0 10px 40px var(--sombra);
        padding: 35px;
        border: 1px solid #eee;
    }

    /* ==================== GALERÍA DE IMÁGENES ==================== */
    .gallery {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .gallery-thumbs {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


    .gallery-monit-separator {
        width: 100%;
        text-align: center;
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--negro);
        background: var(--amarillo);
        border-radius: 8px;
        padding: 15px 8px;
        margin: 10px 0;
        line-height: 1.3;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .gallery-suport-img {
        width: 100%;
        text-align: center;
        margin: 8px 0 4px;
    }

    .gallery-suport-img img {
        max-width: 80%;
        height: auto;
        border-radius: 6px;
    }

    .gallery-thumb {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
        overflow: hidden;
        cursor: pointer;
        background: white;
        transition: all 0.2s;
        opacity: 0.6;
        display: flex;
        /* For label */
        padding: 0;
        margin: 0;
    }

    .gallery-thumb:hover {
        opacity: 1;
        border-color: #cbd5e1;
    }

    .gallery-radio {
        display: none;
    }

    .main-img-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-height: 500px;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: scale(0.98);
        z-index: 1;
        pointer-events: none;
    }

    .gallery-main-images {
        width: 100%;
        position: relative;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        /* margin-top: -75px; */
    }

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .gallery-main {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        background: var(--blanco);
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 400px;
        min-width: 0;
        /* border: 1px solid #f0f0f0; */
        padding-top: 20px;
    }

    .gallery-main img {
        max-width: 100%;
        max-height: 450px;
        object-fit: contain;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 5px;
    }

    .gallery-main:hover img {
        transform: scale(1.08);
    }

    .gallery-main-logos {
        grid-column: 1 / -1;
    }

    .gallery-main-logos img {
        max-width: 100%;
        height: auto;
        margin-top: 20px;
    }

    /* ==================== CARRUSEL MONITOR (classes independents) ==================== */
    .mcarousel {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 15px;
        min-width: 0;
        max-width: 100%;
    }

    .mcarousel-thumbs {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
    }

    .mcarousel-thumb {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        border: 2px solid #e2e8f0;
        overflow: hidden;
        cursor: pointer;
        background: white;
        transition: all 0.2s;
        opacity: 0.6;
        display: flex;
        padding: 0;
        margin: 0;
    }

    .mcarousel-thumb:hover {
        opacity: 1;
        border-color: #cbd5e1;
    }

    .mcarousel-thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mcarousel-radio {
        display: none;
    }

    .mcarousel-main {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        background: var(--blanco);
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 400px;
        min-width: 0;
        max-width: 100%;
        border: 1px solid #f0f0f0;
        padding-top: 20px;
        box-sizing: border-box;
    }

    .mcarousel-main img {
        max-width: 100%;
        max-height: 450px;
        object-fit: contain;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 5px;
    }

    .mcarousel-main:hover img {
        transform: scale(1.08);
    }

    .mcarousel-main-images {
        width: 100%;
        position: relative;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .mcarousel-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-height: 500px;
        max-width: 100%;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: scale(0.98);
        z-index: 1;
        pointer-events: none;
    }

    /* Badge reacondicionado — estilo cápsula dorada */
    .badge-reacondicionado {
        position: relative;
        align-self: flex-end;
        /* margin-right: 15px; */
        /* margin-bottom: 15px; */
        z-index: 10;
        /* background: var(--blanco); */
        /* border: 2px solid #ffd200; */
        /* border-radius: 15px; */
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 0px 20px;
        z-index: 5;
        /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35); */
        /* animation: pulseGold 2.5s ease-in-out infinite; */
    }

    .badge-reacondicionado .badge-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #15034a;
    }

    .badge-reacondicionado .badge-icon svg,
    .badge-reacondicionado .badge-icon i {
        width: 18px;
        height: 18px;
    }

    .badge-reacondicionado .badge-text {
        font-size: 1rem;
        font-weight: 600;
        font-style: normal;
        text-transform: none;
        color: #15034a;
        letter-spacing: 1.2px;
        line-height: 1;
        white-space: nowrap;
    }

    .badge-monitors-inclosos {
        position: relative;
        align-self: flex-end;
        margin-right: 15px;
        margin-bottom: -150px;
        z-index: 5;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--blanco);
        border: 2px solid var(--azul);
        border-radius: 999px;
        padding: 10px 20px;
        /* box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2); */
        /* animation: pulseBlue 2.5s ease-in-out infinite; */
    }

    .badge-monitors-inclosos .badge-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--azul);
    }

    .badge-monitors-inclosos .badge-icon svg,
    .badge-monitors-inclosos .badge-icon i {
        width: 18px;
        height: 18px;
    }

    .badge-monitors-inclosos .badge-text {
        font-size: 1rem;
        font-weight: 800;
        font-style: normal;
        text-transform: none;
        color: var(--azul);
        letter-spacing: 1.2px;
        line-height: 1;
        white-space: nowrap;
    }

    .badge-portes-gratis {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--amarillo);
        color: #fff;
        border-radius: 8px;
        padding: 12px 20px;
        font-weight: 800;
        font-size: 0.95rem;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }

    .cables-inclosos {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 14px 0px;
        margin-bottom: 14px;
        font-size: 0.88rem;
        color: #000000;
    }

    .cables-inclosos-fila {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .caracteristiques-box {
        background: #f8fafc;
        border: 0px dashed #cbd5e1;
        border-radius: 10px;
        padding: 14px 16px;
        font-size: 0.88rem;
        color: var(--negro-suave);
        line-height: 1.6;
        margin-bottom: 16px;
    }

    @keyframes pulseGold {

        0%,
        100% {
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
        }

        50% {
            box-shadow: 0 4px 25px rgba(212, 168, 67, 0.35);
        }
    }

    @keyframes pulseBlue {

        0%,
        100% {
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
        }

        50% {
            box-shadow: 0 4px 25px rgba(72, 8, 248, 0.35);
        }
    }

    /* ==================== INFO DEL PRODUCTO ==================== */
    .prod-info {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .prod-marca {
        font-size: 2rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--negro);
        font-weight: 700;
        margin-bottom: 5px;
    }

    .prod-title {
        font-size: 1.2rem;
        font-weight: 900;
        color: var(--negro-suave);
        line-height: 1.3;
        margin-bottom: 18px;
    }

    /* ---- Bloque de Precio principal ---- */
    .price-hero {
        display: flex;
        align-items: baseline;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 25px;
    }

    .price-hero-value {
        font-size: 4.0rem;
        font-weight: 900;
        color: var(--negro);
        letter-spacing: -1px;
    }

    .price-hero-value-iva {
        display: inline-block;
    }

    .price-hero-old {
        font-size: 1.1rem;
        color: #94a3b8;
        text-decoration: line-through;
        font-weight: 500;
    }

    .price-hero-save {
        background: var(--rojo-texto);
        color: white;
        font-size: 0.75rem;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 6px;
        text-transform: uppercase;
    }

    /* ---- Stock — estilo cápsula verde ---- */
    .product-meta-row {
        display: flex;
        align-items: center;
        gap: 25px;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .stock-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.82rem;
        font-weight: 600;
        color: #15803d;
        background: #ecfdf5;
        border: 1.5px solid #bbf7d0;
        border-radius: 999px;
        padding: 8px 18px;
        width: fit-content;
    }

    .stock-badge .stock-icon {
        display: flex;
        align-items: center;
        color: #22c55e;
    }

    .stock-badge .stock-icon svg,
    .stock-badge .stock-icon i {
        width: 16px;
        height: 16px;
    }

    .config-label {
        font-size: 0.75rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--negro-suave);
        margin-bottom: 8px;
    }

    .config-options {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .config-btn {
        padding: 10px 18px;
        border-radius: 10px;
        border: 2px solid var(--gris-disabled);
        background: var(--blanco);
        cursor: pointer;
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--negro-suave);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .config-btn:hover {
        border-color: var(--amarillo);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 235, 59, 0.3);
    }

    .config-btn.active {
        background: var(--amarillo);
        border-color: var(--amarillo);
        color: var(--negro);
        box-shadow: 0 4px 15px rgba(255, 235, 59, 0.4);
    }

    /* ---- Botón Añadir al carrito ---- */
    .cart-action-row {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
        width: 100%;
    }

    .qty-input {
        width: 80px;
        padding: 0 10px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        text-align: center;
        color: var(--negro);
        outline: none;
        transition: border-color 0.3s;
    }

    .qty-input:focus {
        border-color: var(--amarillo);
    }

    .btn-add-cart {
        flex: 1;
        padding: 16px 30px;
        background: var(--amarillo);
        color: var(--azul);
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .btn-add-cart:hover {
        background: var(--azul);
        color: var(--blanco);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    /* ---- Badges servicio (garantía, devolución, soporte) ---- */
    .service-badges {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 15px;
    }

    .service-badge {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .service-badge .svc-icon {
        color: #2e2e2e;
        display: flex;
        align-items: center;
    }

    .service-badge .svc-label {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--azul);
        text-transform: none;
        letter-spacing: 0;
    }

    /* ==================== SECCIÓN INFERIOR — SPECS + PRECIOS ==================== */
    .prod-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    /* ---- Cápsulas de especificaciones ---- */
    .specs-card {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: var(--negro);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-title::before {
        content: '';
        width: 4px;
        height: 22px;
        background: var(--amarillo);
        border-radius: 2px;
    }

    .section-title-group {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .section-title-sub {
        font-size: 0.8rem;
        font-weight: 100;
        text-transform: none;
        color: var(--azul);
    }

    .spec-grid-detail {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .spec-capsula {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 10px;
        background: #fafbfc;
        border: 1px solid var(--borde-capsula);
        border-radius: 14px;
        transition: all 0.3s ease;
        text-align: center;
    }

    .spec-capsula:hover {
        border-color: var(--amarillo);
        transform: translateY(-4px);
        box-shadow: 0 6px 18px var(--sombra);
    }

    .spec-icon {
        margin-bottom: 8px;
    }

    .spec-icon svg,
    .spec-icon i {
        width: 24px;
        height: 24px;
        color: var(--icono-capsula);
    }

    .spec-label {
        font-size: 0.8rem;
        color: var(--texto-capsula);
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 2px;
        letter-spacing: 0.5px;
    }

    .spec-value {
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--negro-suave);
        line-height: 1.5;
    }

    /* ---- Cajón de precios por cantidad ---- */
    .pricing-card {}

    .price-container {
        padding: 16px;
    }

    .price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 5px;
        border-bottom: 2px solid #f00008;
        transition: background 0.2s;
    }

    .price-row:last-child {
        border-bottom: 2px solid #f00008;
    }

    .price-row:hover {
        background: #15034a08;
        border-radius: 3px;
    }

    .price-label {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--gris-texto);
    }

    .precios-portes {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 50px;
        padding: 10px;
        font-weight: 700;
        color: #313131;
        width: 100%;
        box-sizing: border-box;
        font-size: 19px;
    }

    .price-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .price-main {
        font-size: 1.7rem;
        font-weight: 800;
        color: var(--negro);
    }

    .price-sub {
        font-size: 0.8rem;
        color: var(--gris-texto);
        font-weight: 500;
    }

    /* Banner de servicios dentro del cajón de precios */
    .card-banner {
        width: 100%;
        border-radius: 10px;
        margin: 20px 0 0;
    }

    /* ==================== FICHA TÉCNICA EXTENDIDA ==================== */
    .ficha-card {
        background: var(--blanco);
        border-radius: 20px;
        box-shadow: 0 5px 20px var(--sombra);
        padding: 30px;
        border: 1px solid #eee;
        margin-top: 30px;
    }

    .ficha-table {
        width: 100%;
        border-collapse: collapse;
    }

    .ficha-table tr {
        border-bottom: 1px solid #f1f5f9;
        transition: background 0.2s;
    }

    .ficha-table tr:last-child {
        border-bottom: none;
    }

    .ficha-table tr:hover {
        background: rgba(255, 235, 59, 0.04);
    }

    .ficha-table td {
        padding: 13px 16px;
        font-size: 0.85rem;
        vertical-align: top;
    }

    .ficha-table td:first-child {
        font-weight: 800;
        color: var(--negro-suave);
        width: 200px;
        text-transform: uppercase;
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }

    .ficha-table td:last-child {
        color: var(--azul);
        font-weight: 700;
    }

    /* ==================== INFO-HIGHLIGHT (Código + Stock) ==================== */

    .info-highlight {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        /* background: #f1f5f9; */
        padding: 8px 0px;
        border-radius: 10px;
        /* border: 1px solid var(--negro); */
        max-width: 450px;
        margin-bottom: 0;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .info-label {
        font-size: 0.65rem;
        color: var(--gris-texto);
        font-weight: 700;
        text-transform: uppercase;
        padding-top: 2px;
    }

    .info-value {
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--rojo-texto);
    }

    /* ==================== BOTÓN VOLVER ==================== */
    .btn-volver {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 22px;
        background: var(--negro);
        color: var(--blanco);
        text-decoration: none;
        border-radius: 10px;
        font-weight: 700;
        font-size: 0.8rem;
        transition: all 0.3s;
        margin-bottom: 20px;
    }

    .btn-volver:hover {
        background: var(--amarillo);
        color: var(--negro);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px var(--sombra);
    }



    /* ==================== SELECTOR SO ==================== */
    .so-selector {
        margin-top: 50px;
        padding-top: 18px;

    }

    .so-selector-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--negro);
        margin-bottom: 10px;
    }

    .so-selector-label::before {
        content: '';
        width: 4px;
        height: 22px;
        background: var(--amarillo);
        border-radius: 2px;
    }

    .so-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .so-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 14px;
        border-radius: 10px;
        border: 2px solid #e2e8f0;
        background: var(--blanco);
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 64px;
        cursor: pointer;
    }

    .so-btn:hover {
        border-color: var(--amarillo);
        background: color-mix(in srgb, var(--amarillo) 6%, white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px color-mix(in srgb, var(--amarillo) 20%, transparent);
    }

    .so-btn--active {
        border-color: var(--amarillo);
        background: color-mix(in srgb, var(--amarillo) 10%, white);
        box-shadow: 0 2px 10px color-mix(in srgb, var(--amarillo) 25%, transparent);
        pointer-events: none;
    }

    .so-btn-label {
        font-size: 0.72rem;
        font-weight: 800;
        color: var(--azul);
        line-height: 1.2;
        white-space: nowrap;
    }

    .so-btn-sub {
        font-size: 0.62rem;
        font-weight: 600;
        color: var(--azul);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 1px;
    }

    .so-btn--active .so-btn-sub {
        color: var(--azul);
        font-weight: 800;
    }

    .so-btn-sub-preu {
        font-size: 1rem;
        color: var(--gris-texto);
        letter-spacing: 0.5px;
        margin-top: 5px;
    }

    /* ==================== SELECTOR MEMORIAS ==================== */
    .mem-selector {
        margin-top: 50px;
        padding-top: 16px;
    }

    .mem-selector-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--negro);
        margin-bottom: 10px;
    }

    .mem-selector-label::before {
        content: '';
        width: 4px;
        height: 22px;
        background: var(--amarillo);
        border-radius: 2px;
    }

    .mem-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mem-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 14px;
        border-radius: 10px;
        border: 2px solid #e2e8f0;
        background: var(--blanco);
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 64px;
        cursor: pointer;
    }

    .mem-btn:hover {
        border-color: #000000;
        background: color-mix(in srgb, #f00008 6%, white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px color-mix(in srgb, #f00008 20%, transparent);
    }

    .mem-btn--active {
        border-color: #f00008;
        background: color-mix(in srgb, #f00008 10%, white);
        box-shadow: 0 2px 10px color-mix(in srgb, #f00008 25%, transparent);
        pointer-events: none;
    }

    .mem-btn-label {
        font-size: 0.72rem;
        font-weight: 800;
        color: #000000;
        line-height: 1.2;
        white-space: nowrap;
    }

    .mem-btn-sub {
        font-size: 0.62rem;
        font-weight: 600;
        color: #000000;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 1px;
    }

    .mem-btn--active .mem-btn-sub {
        color: #000000;
        font-weight: 800;
    }

    .mem-btn-sub-preu {
        font-size: 1rem;
        color: var(--negro-suave);
        letter-spacing: 0.5px;
        margin-top: 5px;
    }

    /* ==================== SELECTOR DISCOS ==================== */
    .disc-selector {
        margin-top: 50px;
        padding-top: 16px;
    }

    .disc-selector-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--negro);
        margin-bottom: 10px;
    }

    .disc-selector-label::before {
        content: '';
        width: 4px;
        height: 22px;
        background: var(--amarillo);
        border-radius: 2px;
    }

    .disc-options {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .disc-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 14px;
        border-radius: 10px;
        border: 2px solid #e2e8f0;
        background: var(--blanco);
        text-decoration: none;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 64px;
        cursor: pointer;
    }

    .disc-btn:hover {
        border-color: #f00008;
        background: color-mix(in srgb, #f00008 6%, white);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px color-mix(in srgb, #f00008 20%, transparent);
    }

    .disc-btn--active {
        border-color: #f00008;
        background: color-mix(in srgb, #f00008 10%, white);
        box-shadow: 0 2px 10px color-mix(in srgb, #f00008 25%, transparent);
        pointer-events: none;
    }

    .disc-btn-label {
        font-size: 0.72rem;
        font-weight: 800;
        color: #000000;
        line-height: 1.2;
        white-space: nowrap;
    }

    .disc-btn-sub {
        font-size: 0.62rem;
        font-weight: 600;
        color: #000000;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-top: 1px;
    }

    .disc-btn--active .disc-btn-sub {
        color: #15034a;
        font-weight: 800;
    }

    .disc-btn-sub-preu {
        font-size: 1rem;
        color: var(--negro-suave);
        letter-spacing: 0.5px;
        margin-top: 5px;
    }

    /* ==================== ORDENADORES SEMBLANTS ==================== */
    .semblants-card {
        background: var(--blanco);
        border-radius: 20px;
        box-shadow: 0 5px 20px var(--sombra);
        padding: 30px;
        border: 1px solid #eee;
        margin-top: 30px;
    }

    .semblants-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .semblants-header .section-title {
        margin-bottom: 0;
    }

    .semblants-toggle-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        background: var(--amarillo);
        color: var(--negro);
        border: none;
        border-radius: 20px;
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.25s, color 0.25s;
        flex-shrink: 0;
    }

    .semblants-toggle-btn:hover {
        background: var(--azul);
        color: var(--blanco);
    }

    .semblants-wrapper {
        max-height: 320px;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .semblants-wrapper::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(transparent, var(--blanco));
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .semblants-wrapper.is-open {
        max-height: 3000px;
    }

    .semblants-wrapper.is-open::after {
        opacity: 0;
    }

    .semblants-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
        margin-top: 5px;
    }

    .semblant-card {
        display: flex;
        flex-direction: column;
        border: 2px solid #e2e8f0;
        border-radius: 14px;
        overflow: hidden;
        text-decoration: none;
        background: #fafbfc;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .semblant-card:hover {
        border-color: var(--amarillo);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
        background: var(--blanco);
    }

    .semblant-img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: contain;
        background: white;
        padding: 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .semblant-body {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
    }

    .semblant-diferencies {
        font-size: 0.75rem;
        color: var(--negro-suave);
        line-height: 1.4;
        flex: 1;
    }

    .semblant-preu {
        font-size: 1.25rem;
        font-weight: 900;
        color: var(--negro);
        margin-top: 4px;
    }

    .semblant-preudif {
        font-size: 0.75rem;
        font-weight: 700;
        margin-top: 2px;
    }

    .semblant-preudif--mes {
        color: var(--rojo-texto);
    }

    .semblant-preudif--menos {
        color: #16a34a;
    }

    .semblant-preudif--igual {
        color: var(--gris-texto);
    }

    /* ---- Opcions disponibles ---- */
    .opcions-card {
        background: var(--blanco);
        border-radius: 20px;
        box-shadow: 0 5px 20px var(--sombra);
        padding: 30px;
        border: 1px solid #eee;
        margin-top: 30px;
    }

    .opcions-wrapper {
        max-height: 3000px;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .opcions-wrapper:not(.is-open) {
        max-height: 320px;
    }

    #ficha-wrapper:not(.is-open) {
        max-height: 200px;
    }

    .opcions-wrapper:not(.is-open)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(transparent, var(--blanco));
        pointer-events: none;
    }

    .opcions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
        margin-top: 5px;
    }

    .opcio-card {
        display: flex;
        flex-direction: column;
        border: 2px solid #e2e8f0;
        border-radius: 14px;
        overflow: hidden;
        background: #fafbfc;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .opcio-card:hover {
        border-color: var(--amarillo);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
        background: var(--blanco);
    }

    .opcio-img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: contain;
        background: white;
        padding: 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .opcio-body {
        padding: 12px 14px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1;
    }

    .opcio-codi {
        font-size: 0.68rem;
        color: var(--gris-texto);
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    .opcio-nom {
        font-size: 0.78rem;
        color: var(--negro-suave);
        line-height: 1.4;
        flex: 1;
    }

    .opcio-preus {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .opcio-preu {
        font-size: 1.1rem;
        font-weight: 900;
        color: var(--negro);
    }

    .opcio-preu-siva {
        font-size: 0.72rem;
        color: var(--gris-texto);
        font-weight: 500;
    }

    .opcio-cart-row {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .opcio-qty {
        width: 52px;
        padding: 8px 6px;
        border: 2px solid #e2e8f0;
        border-radius: 8px;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: center;
        color: var(--negro);
        outline: none;
        flex-shrink: 0;
    }

    .opcio-qty:focus {
        border-color: var(--amarillo);
    }

    .opcio-btn {
        flex: 1;
        padding: 10px 8px;
        background: var(--amarillo);
        color: var(--negro);
        border: none;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .opcio-btn:hover {
        background: var(--azul);
        color: var(--blanco);
    }

    /* ==================== RESPONSIVE ==================== */
    @media (max-width: 1024px) {
        .prod-main {
            grid-template-columns: 1fr;
            padding: 25px;
            gap: 25px;
        }

        .prod-bottom {
            grid-template-columns: 1fr;
        }

        .gallery {
            grid-template-columns: 70px 1fr;
        }

        .gallery-main {
            min-height: 300px;
        }

        .mcarousel {
            grid-template-columns: 70px 1fr;
        }

        .mcarousel-main {
            min-height: 300px;
        }
    }

    @media (max-width: 768px) {
        .prod-wrapper {
            padding: 0px;
            overflow-x: hidden;
        }

        .prod-main {
            padding: 10px;
            gap: 20px;
            border-radius: 16px;
        }

        .gallery-col {
            overflow-x: hidden;
            max-width: 100%;
        }

        .gallery-monit-separator {
            font-size: 1.1rem;
            padding: 16px 8px;
        }

        .gallery {
            grid-template-columns: 1fr;
            gap: 12px;
            max-width: 100%;
            overflow-y: hidden;
        }

        .gallery-thumbs {
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-start;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            padding-bottom: 4px;
            order: 2;
        }

        .gallery-thumb {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            scroll-snap-align: start;
        }

        .gallery-main {
            min-height: 250px;
            order: 1;
            max-width: 100%;
            box-sizing: border-box;
        }


        .badge-monitors-inclosos {
            margin-right: 8px;
            margin-bottom: -80px;
            padding: 8px 12px;
            max-width: calc(100% - 16px);
            box-sizing: border-box;
        }

        .badge-monitors-inclosos .badge-text {
            white-space: normal;
            font-size: 0.85rem;
            line-height: 1.2;
        }

        .mcarousel {
            grid-template-columns: 1fr;
            gap: 12px;
            max-width: 100%;
            overflow-y: hidden;
        }

        .mcarousel-thumbs {
            flex-direction: row;
            flex-wrap: nowrap;
            justify-content: flex-start;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            padding-bottom: 4px;
            order: 2;
        }

        .mcarousel-thumb {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            scroll-snap-align: start;
        }

        .mcarousel-main {
            min-height: 250px;
            order: 1;
        }

        .gallery-main-logos {
            order: 3;
        }

        .prod-title {
            font-size: 1.1rem;
        }

        .price-hero-value {
            font-size: 4.0rem;
        }

        .service-badges {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        .service-badge {
            flex-direction: row;
            gap: 10px;
            padding: 10px 14px;
        }

        .spec-grid-detail {
            grid-template-columns: repeat(2, 1fr);
        }

        .ficha-table td:first-child {
            width: 130px;
        }
    }

    @media (max-width: 480px) {
        .prod-main {
            padding: 5px;
            gap: 20px;
            border-radius: 16px;
        }

        .spec-grid-detail {
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .config-options {
            flex-direction: column;
        }

        .config-btn {
            width: 100%;
            text-align: center;
        }
    }

    /* ==================== ANIMACIONES DE ENTRADA ==================== */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(25px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .prod-main {
        animation: fadeUp 0.6s ease-out;
    }

    .specs-card {
        animation: fadeUp 0.6s ease-out 0.15s both;
    }

    .pricing-card {
        animation: fadeUp 0.6s ease-out 0.25s both;
    }

    .ficha-card {
        animation: fadeUp 0.6s ease-out 0.35s both;
    }