@charset "UTF-8";

/* =====================================================
   CONTENEDOR GENERAL
===================================================== */

.detalle-producto{

    max-width:1800px;

    margin:auto;

    padding:22px 16px;
}

/* =====================================================
   CARD PRINCIPAL
===================================================== */

.producto-contenedor{

    display:grid;

    grid-template-columns:1.05fr 1fr;

    gap:24px;

    background:#fff;

    padding:24px;

    border-radius:22px;

    box-shadow:
        0 10px 28px rgba(0,0,0,.06);

    align-items:start;
}

/* =====================================================
   COLUMNA IZQUIERDA
===================================================== */

.left-column{

    display:flex;

    flex-direction:column;

    align-items:center;
}

/* =====================================================
   IMAGEN PRINCIPAL
===================================================== */

.main-image{

    width:100%;

    max-width:680px;

    position:relative;

    overflow:hidden;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:zoom-in;
}

.main-image img{

    width:100%;

    max-width:100%;

    height:auto;

    max-height:520px;

    object-fit:contain;

    border-radius:18px;

    background:#f8fafc;

    padding:16px;

    transition:transform .28s ease;

    will-change:transform;
}

.main-image img:hover{

    transform:scale(1.02);
}

/* =====================================================
   ZOOM
===================================================== */

.zoom-lens{

    position:absolute;

    width:180px;
    height:180px;

    border:2px solid #2563eb;

    border-radius:50%;

    pointer-events:none;

    background-repeat:no-repeat;

    background-size:200%;

    display:none;

    box-shadow:
        0 8px 24px rgba(0,0,0,.16);

    z-index:20;
}

/* =====================================================
   CARRUSEL
===================================================== */

.carousel{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    margin-top:18px;

    width:100%;
}

/* =====================================================
   BOTONES
===================================================== */

.carousel-button{

    width:42px;
    height:42px;

    border-radius:50%;

    border:none;

    background:#2563eb;

    color:#fff;

    font-size:15px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    flex-shrink:0;

    transition:.25s ease;
}

.carousel-button:hover{

    background:#1d4ed8;

    transform:scale(1.05);
}

/* =====================================================
   WRAPPER
===================================================== */

.carousel-wrapper{

    overflow:hidden;

    width:100%;

    max-width:560px;
}

/* =====================================================
   TRACK
===================================================== */

.carousel-images{

    display:flex;

    gap:10px;

    transition:transform .28s ease;
}

/* =====================================================
   MINIATURAS
===================================================== */

.carousel-images img{

    width:110px;
    height:110px;

    object-fit:contain;

    background:#f8fafc;

    border-radius:12px;

    padding:8px;

    cursor:pointer;

    border:2px solid transparent;

    flex-shrink:0;

    transition:.22s ease;
}

.carousel-images img:hover{

    transform:scale(1.03);
}

.carousel-images .active{

    border:2px solid #2563eb;
}

/* =====================================================
   INFORMACION
===================================================== */

.informacion-producto{

    display:flex;

    flex-direction:column;

    padding:2px 4px;

    gap:12px;
}

/* =====================================================
   TITULO
===================================================== */

.informacion-producto h1{

    font-size:34px;

    font-weight:800;

    line-height:1.15;

    color:#0f172a;

    letter-spacing:-0.5px;

    margin:0;
}

/* =====================================================
   SKU
===================================================== */

.informacion-producto h2{

    font-size:22px;

    color:#0f172a;

    font-weight:800;

    text-align:center;

    padding:12px 16px;

    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            #f8fbff,
            #eef4ff
        );

    border:1px solid #dbe7ff;

    box-shadow:
        0 4px 14px rgba(37,99,235,.05);

    margin:0;
}

/* =====================================================
   MARCA
===================================================== */

.marca-producto{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px 18px;

    border-radius:16px;

    background:#fff;

    border:1px solid #edf2f7;

    box-shadow:
        0 4px 14px rgba(15,23,42,.04);
}

.marca-label{

    font-size:16px;

    font-weight:800;

    color:#0f172a;

    min-width:max-content;
}

.marca-producto img{

    max-width:150px;

    max-height:56px;

    object-fit:contain;

    transition:.22s ease;
}

.marca-producto img:hover{

    transform:scale(1.02);
}

.marca-texto{

    font-size:15px;

    font-weight:700;

    color:#2563eb;
}

/* =====================================================
   DESCRIPCION
===================================================== */

.descripcion-larga{

    position:relative;

    padding:22px 24px;

    border-radius:20px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f8fbff
        );

    border:1px solid #e7eef8;

    box-shadow:
        0 8px 24px rgba(15,23,42,.04);

    font-size:15px;

    line-height:1.8;

    color:#334155;

    overflow:hidden;

    transition:.25s ease;
}

.descripcion-larga::before{

    content:'';

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:4px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #3b82f6,
            #60a5fa
        );
}

.descripcion-larga:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 30px rgba(15,23,42,.06);
}

/* =====================================================
   VIDEO
===================================================== */

.video-container{

    margin-top:28px;

    width:100%;

    display:flex;

    justify-content:center;
}

.video-container iframe{

    width:100%;

    max-width:920px;

    height:460px;

    border:none;

    border-radius:20px;

    box-shadow:
        0 10px 30px rgba(15,23,42,.10);

    background:#000;
}

/* =====================================================
   COMENTARIOS
===================================================== */

.comentarios{

    margin-top:42px;

    background:#fff;

    border:1px solid #e7eaf3;

    border-radius:20px;

    padding:24px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.04);
}

/* =====================================================
   MONITORES GRANDES
===================================================== */

@media (min-width:1600px){

    .detalle-producto{

        padding:40px 24px;
    }

    .producto-contenedor{

        gap:34px;

        padding:34px;

        border-radius:28px;
    }

    .main-image img{

        max-height:700px;
    }

    .carousel-images img{

        width:140px;
        height:140px;
    }

    .informacion-producto h1{

        font-size:48px;
    }

    .informacion-producto h2{

        font-size:28px;
    }

    .descripcion-larga{

        font-size:18px;

        padding:30px;
    }

    .video-container iframe{

        height:580px;
    }
}

/* =====================================================
   LAPTOPS
===================================================== */

@media (max-width:1200px){

    .producto-contenedor{

        grid-template-columns:1fr 1fr;

        gap:20px;
    }

    .main-image img{

        max-height:480px;
    }

    .informacion-producto h1{

        font-size:30px;
    }
}

/* =====================================================
   TABLET HORIZONTAL
===================================================== */

@media (max-width:992px){

    .detalle-producto{

        padding:20px 14px;
    }

    .producto-contenedor{

        grid-template-columns:1fr;

        gap:22px;

        padding:20px;
    }

    .main-image{

        max-width:100%;
    }

    .main-image img{

        max-height:420px;
    }

    .carousel-wrapper{

        max-width:100%;
    }

    .informacion-producto h1{

        font-size:28px;
    }

    .informacion-producto h2{

        font-size:20px;
    }

    .video-container iframe{

        height:400px;
    }
}

/* =====================================================
   TABLET VERTICAL
===================================================== */

@media (max-width:768px){

    .detalle-producto{

        padding:16px 10px;
    }

    .producto-contenedor{

        padding:16px;

        border-radius:18px;

        gap:18px;
    }

    .main-image img{

        max-height:300px;

        padding:12px;

        border-radius:14px;
    }

    .carousel{

        gap:8px;

        margin-top:14px;
    }

    .carousel-button{

        width:36px;
        height:36px;

        font-size:13px;
    }

    .carousel-images{

        gap:8px;
    }

    .carousel-images img{

        width:70px;
        height:70px;

        border-radius:10px;
    }

    .informacion-producto{

        gap:10px;
    }

    .informacion-producto h1{

        font-size:22px;

        line-height:1.2;
    }

    .informacion-producto h2{

        font-size:17px;

        padding:10px 12px;

        border-radius:12px;
    }

    .marca-producto{

        padding:12px;

        border-radius:14px;

        gap:10px;

        flex-wrap:wrap;
    }

    .marca-label{

        font-size:14px;
    }

    .marca-producto img{

        max-width:120px;

        max-height:44px;
    }

    .marca-texto{

        font-size:13px;
    }

    .descripcion-larga{

        padding:18px 16px;

        border-radius:16px;

        font-size:13px;

        line-height:1.7;
    }

    .video-container{

        margin-top:22px;
    }

    .video-container iframe{

        height:240px;

        border-radius:16px;
    }

    .comentarios{

        margin-top:28px;

        padding:18px;

        border-radius:16px;
    }
}

/* =====================================================
   TELEFONOS GRANDES
===================================================== */

@media (max-width:580px){

    .producto-contenedor{

        padding:14px;
    }

    .main-image img{

        max-height:260px;
    }

    .carousel-images img{

        width:60px;
        height:60px;
    }

    .informacion-producto h1{

        font-size:19px;
    }

    .informacion-producto h2{

        font-size:15px;
    }

    .descripcion-larga{

        font-size:12px;

        padding:16px 14px;
    }

    .video-container iframe{

        height:210px;
    }
}

/* =====================================================
   TELEFONOS PEQUEÑOS
===================================================== */

@media (max-width:420px){

    .detalle-producto{

        padding:12px 8px;
    }

    .producto-contenedor{

        padding:12px;

        border-radius:14px;
    }

    .main-image img{

        max-height:220px;

        padding:10px;
    }

    .carousel-images img{

        width:52px;
        height:52px;

        padding:5px;
    }

    .informacion-producto h1{

        font-size:17px;
    }

    .informacion-producto h2{

        font-size:14px;

        padding:9px 10px;
    }

    .marca-producto{

        padding:10px;
    }

    .descripcion-larga{

        padding:14px 12px;

        font-size:11px;

        line-height:1.65;
    }

    .video-container iframe{

        height:190px;
    }

    .comentarios{

        padding:14px;
    }
}