/* SECCIÓN GENERAL */
.productDetail {
    padding: 60px 20px;
    background: #f7f8fc;
}
.backLink{
    display:flex;
    align-items:center;
    gap:8px;

    max-width:1100px;
    margin:0 auto 25px;

    color:#6b7280;
    text-decoration:none;
    font-size:.95rem;
    font-weight:500;

    transition:.2s;
}

.backLink:hover{
    color:#2563eb;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* WRAPPER PRINCIPAL */
.productWrapper{
    display:grid;
    grid-template-columns:1.2fr 0.9fr;
    gap:50px;
    align-items:start;
}

/* IMAGEN */
.productImage {
    background: #e9ecef;
    height: 350px;
    border-radius: 12px;
}

/* INFO */
.productInfo{

    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);

    position:sticky;
    top:100px;

}
.productMedia{

display:flex;

flex-direction:column;

gap:20px;

}
/* CATEGORÍA */
.productCategory {
    display: inline-block;
    font-size: 0.85rem;
    color: #4f46e5;
    font-weight: 600;
}

/* TITULO */
.productInfo h1 {
    font-size:clamp(1.8rem,4vw,2.5rem);
    margin: 0;
    color: #111;
}

/* DESCRIPCIÓN */
.productDescription {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* PRECIO */
.productPrice{

    font-size:3rem;
    font-weight:800;
    color:#0F9D58;

}

/* INCLUYE LISTA */
.productIncludes{

display:flex;
flex-direction:column;
gap:12px;

}

.productIncludes div{

background:#f8faff;

border-left:5px solid #2563eb;

padding:14px;

border-radius:10px;

}
/* BOTÓN */
.btnComprar {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    margin-top: 20px;

    background: #4f46e5;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;

    border-radius: 10px;
    border: none;

    cursor: pointer;
    min-height: 58px;
    transition: all .25s ease;
}

.btnComprar:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,158,227,.25);
}

.btnComprar:active {
    transform: scale(.98);
}
.benefitsGrid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

gap:20px;

}
/* SEGURIDAD */
.secure {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}

/* ===== PREVIEW ===== */
.previewSection {
    padding: 60px 20px;
}

.previewGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* ===== BENEFITS ===== */
.benefitsSection {
    padding: 60px 20px;
    background: #fff;
}


.benefitCard {
    background: #f7f8fc;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.benefitCard i {
    font-size: 1.5rem;
    color: #4f46e5;
    margin-bottom: 10px;
}

/* ===== FAQ ===== */
.faqSection {
    padding: 60px 20px;
    background: #f7f8fc;
}

.faq {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* ===== CTA ===== */
.buyNow {
    padding: 60px 20px;
    text-align: center;
    background: #111;
    color: #fff;
}

.buyPrice {
    font-size: 2rem;
    margin: 15px 0;
    color: #22c55e;
}

.btnComprarGrande {
    padding: 14px 30px;
    background: #4f46e5;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
}
.faqItem {
    background: #fff;
    padding-bottom:3%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width:900px;
    margin:20px auto;
}
.btnBack {
    display: inline-block;
    margin-bottom: 20px;
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.btnBack.inside {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}
.btnBack:hover {
    text-decoration: underline;
}
.videoBox{

position:relative;
padding-top:56.25%;
overflow:hidden;
border-radius:15px;
background:#000;

}

.videoBox iframe{

position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:0;

}
/* ocultamos checkbox */
.faqItem input {
    display: none;
}

/* pregunta */
.faqItem label {
    display: block;
    padding: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

/* iconito */
.faqItem label::after {
    content: "+";
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    transition: 0.2s;
}

/* contenido oculto */
.faqContent {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    color: #555;
    transition: all 0.3s ease;
}

/* cuando está abierto */
.faqItem input:checked ~ .faqContent {
    max-height: 200px;
    padding-bottom: 15px;
}

/* cambia + por - */
.faqItem input:checked + label::after {
    content: "-";
}
@media (max-width: 900px) {
    .productWrapper{
        grid-template-columns:1fr;
    }
    .productInfo{
        position: static;
    }
}
@media(max-width:600px){

    .productInfo{

        padding:20px;

    }

}
@media (max-width:768px){

    .productPrice{
        font-size:2.3rem;
    }

}