/* =========================================================
   PRODUCT DETAIL - TECNOLOGÍA ISRAEL
========================================================= */

/* ===================== PÁGINA ===================== */

.product-detail-page{
    background:#F5F7FB;
    padding:25px 0 70px;
    min-height:700px;
}

/* ===================== BREADCRUMB ===================== */

.product-breadcrumb{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
    font-size:13px;
    color:#7B8494;
}

.product-breadcrumb a{
    color:#566176;
    text-decoration:none;
}

.product-breadcrumb a:hover{
    color:#2463FF;
}

.product-breadcrumb i{
    font-size:9px;
}

/* ===================== CONTENEDOR ===================== */

.product-detail{

    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:45px;

    background:#FFF;
    border-radius:26px;

    padding:34px;

    box-shadow:0 16px 45px rgba(20,35,60,.06);

}

/* ===================== GALERÍA ===================== */

.product-detail-gallery{
    min-width:0;
}

.product-main-image{

    position:relative;

    height:500px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    border-radius:22px;

    background:#F1F3F7;

}

.product-detail-circle{

    position:absolute;

    width:360px;
    height:360px;

    border-radius:50%;

    background:#E2E7EE;

}

.product-main-image img{

    position:relative;

    z-index:2;

    width:82%;

    max-width:540px;

    object-fit:contain;

}

/*=========================================================
MINIATURAS
=========================================================*/

.product-thumbnails{

    display:flex;

    gap:14px;

    margin-top:18px;

}

.product-thumb{

    width:86px;

    height:74px;

    padding:6px;

    border:2px solid #E3E8F0;

    border-radius:16px;

    background:#FFF;

    cursor:pointer;

    transition:.25s;

}

.product-thumb img{

    width:100%;

    height:100%;

    object-fit:contain;

}

.product-thumb:hover{

    transform:translateY(-3px);

    border-color:#2463FF;

    box-shadow:0 10px 20px rgba(36,99,255,.12);

}

.product-thumb.active{

    border-color:#2463FF;

    box-shadow:0 12px 24px rgba(36,99,255,.18);

}

.product-main-image img{

    transition:opacity .2s ease, transform .2s ease;

}

/* ===================== CATEGORÍA ===================== */

.product-detail-category{

    display:inline-flex;

    align-items:center;
    gap:8px;

    width:fit-content;

    margin-bottom:22px;

    padding:8px 14px;

    border-radius:22px;

    background:#EDF3FF;

    color:#2463FF;

    font-size:13px;

    font-weight:600;

}

/* ===================== ESPECIFICACIONES ===================== */

.product-detail-specs{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:16px;

    margin:18px 0 26px;

}

.detail-spec{

    display:flex;

    align-items:flex-start;

    gap:14px;

    padding:18px;

    border-radius:16px;

    background:#F8FAFC;

    border:1px solid #E7EDF5;

    transition:.25s;

}

.detail-spec:hover{

    border-color:#2463FF;

    transform:translateY(-2px);

}

.detail-spec i{

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:#EDF3FF;

    color:#2463FF;

    font-size:20px;

    flex-shrink:0;

}

.detail-spec>div{

    display:flex;
    flex-direction:column;

    gap:3px;

}

.detail-spec-label{

    color:#7C8696;

    font-size:12px;

}

.detail-spec strong{

    color:#172033;

    font-size:16px;

    font-weight:700;

    line-height:1.35;

}

/* ===================== PRECIO ===================== */

.product-detail-price{

    background:linear-gradient(135deg,#FFFFFF,#F7FAFF);

    border:2px solid #2463FF;

    border-radius:20px;

    padding:18px 22px;

    margin:12px 0 20px;

    box-shadow:0 10px 28px rgba(36,99,255,.08);

}

.product-detail-price span{

    display:block;

    margin-bottom:8px;

    color:#7C8696;

    font-size:12px;

    font-weight:600;

    text-transform:uppercase;

    letter-spacing:.8px;

}

.product-detail-price strong{

    display:block;

    color:#0F2147;

    font-size:52px;

    font-weight:800;

    line-height:1;

}

/* ===================== BENEFICIOS ===================== */

.product-detail-benefits{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:18px;

}

.product-detail-benefits div{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px;

    background:#FFF;

    border:1px solid #E5EBF3;

    border-radius:14px;

}

.product-detail-benefits i{

    font-size:22px;

    color:#2463FF;

}

.product-detail-benefits span{

    font-size:13px;

    font-weight:600;

    color:#172033;

}

/* ===================== BOTONES ===================== */

.product-detail-actions{

    display:grid;

    grid-template-columns:3fr 1fr;

    gap:12px;

}

.detail-whatsapp,
.detail-messenger{

    height:54px;

    display:flex;

    align-items:center;
    justify-content:center;

    gap:10px;

    border-radius:14px;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.detail-whatsapp{

    background:#22C55E;

    color:#FFF;

}

.detail-whatsapp:hover{

    transform:translateY(-2px);

}

.detail-messenger{

    background:#EDF3FF;

    color:#2463FF;

}

.detail-messenger:hover{

    background:#2463FF;

    color:#FFF;

}

/* ===================== PESTAÑAS ===================== */

.product-detail-extra{

    margin-top:20px;

    background:#FFF;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(20,35,60,.05);

}

.product-detail-tabs{

    display:flex;

    align-items:center;

    gap:6px;

    height:54px;

    padding:0 18px;

    border-bottom:1px solid #E8EDF5;

    overflow:hidden;

}

.product-tab{

    height:54px;

    padding:0 18px;

    border:none;

    background:none;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    color:#7C8696;

    white-space:nowrap;

}

.product-tab.active{

    color:#2463FF;

    border-bottom:3px solid #2463FF;

}

/* ===================== CONTENIDO ===================== */

.product-detail-description{

    padding:22px 30px 30px;

}

.product-detail-description h2{

    margin:0 0 14px;

    color:#172033;

    font-size:26px;

}

.product-detail-description p{

    margin:0 0 12px;

    line-height:1.8;

    color:#5D6677;

}

/* ===================== RESPONSIVE ===================== */

@media(max-width:991px){

.product-detail{

grid-template-columns:1fr;

gap:28px;

padding:22px;

}

.product-main-image{

height:380px;

}

}

@media(max-width:767px){

.product-detail-page{

padding:14px 0 40px;

}

.product-detail{

padding:16px;

border-radius:18px;

}

.product-main-image{

height:300px;

border-radius:18px;

}

.product-detail-circle{

width:220px;

height:220px;

}

.product-main-image img{

width:92%;

}

.product-detail-info h1{

font-size:32px;

}

.product-detail-specs{

grid-template-columns:1fr;

}

.product-detail-price strong{

font-size:38px;

}

.product-detail-benefits{

grid-template-columns:1fr;

}

.product-detail-actions{

grid-template-columns:1fr;

}

.product-detail-tabs{

overflow-x:auto;

overflow-y:hidden;

scrollbar-width:none;

-ms-overflow-style:none;

}

.product-detail-tabs::-webkit-scrollbar{

display:none;

}

.product-tab{

flex:0 0 auto;

}

.product-detail-description{

padding:20px;

}

}

/* =========================================================
   PRODUCTOS RELACIONADOS
========================================================= */

.related-products{
    width:100%;
    margin-top:50px;
    overflow:hidden;
}

.related-header{
    text-align:center;
    margin-bottom:30px;
}

.related-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:999px;
    background:#edf3ff;
    color:#2463ff;
    font-size:12px;
    font-weight:700;
    margin-bottom:12px;
}

.related-header h2{
    margin:0 0 8px;
    color:#172033;
    font-size:38px;
    font-weight:700;
}

.related-header p{
    margin:0;
    color:#6f7a8c;
    font-size:15px;
}


/* =========================================================
   SWIPER
========================================================= */

.relatedSwiper{
    width:100%;
    overflow:hidden;
    padding:8px 5px 40px;
}

.relatedSwiper .swiper-wrapper{
    display:flex;
    align-items:stretch;
}

.relatedSwiper .swiper-slide{
    height:auto;
    display:flex;
    flex-shrink:0;
    box-sizing:border-box;
}

.relatedSwiper .swiper-slide .product-card{
    width:100%;
    max-width:none;
    min-width:0;
    height:100%;
}


/* =========================================================
   PAGINACIÓN
========================================================= */

.related-pagination{
    position:relative;
    margin-top:15px;
    text-align:center;
}

.related-pagination .swiper-pagination-bullet{
    width:8px;
    height:8px;
    background:#c9d3e5;
    opacity:1;
}

.related-pagination .swiper-pagination-bullet-active{
    background:#2463ff;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1199px){

    .relatedSwiper .swiper-slide{
        width:calc((100% - 40px) / 3);
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media(max-width:991px){

    .relatedSwiper .swiper-slide{
        width:calc((100% - 20px) / 2);
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media(max-width:575px){

    .related-products{
        margin-top:35px;
    }

    .related-header{
        margin-bottom:20px;
    }

    .related-header h2{
        font-size:27px;
    }

    .related-header p{
        font-size:14px;
    }

    .relatedSwiper{
        padding-left:4px;
        padding-right:4px;
    }

    .relatedSwiper .swiper-slide{
        width:82%;
    }

}

/* =========================================================
   PRODUCTOS RECOMENDADOS
   CORRECCIÓN DEL ANCHO DE LAS TARJETAS
========================================================= */

/* El contenedor del slider no debe estirar la tarjeta */
.product-recommended .swiper-slide,
.recommended-products .swiper-slide,
.productos-recomendados .swiper-slide {
    width: 320px !important;
    max-width: 320px !important;
    flex-shrink: 0 !important;
}

/* La tarjeta conserva un ancho normal */
.product-recommended .product-card,
.recommended-products .product-card,
.productos-recomendados .product-card {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 auto;
}

/* Imagen */
.product-recommended .product-image-area,
.recommended-products .product-image-area,
.productos-recomendados .product-image-area {
    width: 100%;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .product-recommended .swiper-slide,
    .recommended-products .swiper-slide,
    .productos-recomendados .swiper-slide {
        width: 300px !important;
        max-width: 300px !important;
    }

    .product-recommended .product-card,
    .recommended-products .product-card,
    .productos-recomendados .product-card {
        max-width: 300px !important;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 576px) {

    .product-recommended .swiper-slide,
    .recommended-products .swiper-slide,
    .productos-recomendados .swiper-slide {
        width: 280px !important;
        max-width: 280px !important;
    }

    .product-recommended .product-card,
    .recommended-products .product-card,
    .productos-recomendados .product-card {
        max-width: 280px !important;
    }

}

/* =========================================================
   CORRECCIÓN SOMBRA PRODUCTOS RECOMENDADOS
========================================================= */

.product-recommended,
.recommended-products,
.productos-recomendados {
    box-shadow: none !important;
    overflow: visible !important;
}

/* El slider no debe generar un bloque gris alrededor */
.product-recommended .swiper,
.recommended-products .swiper,
.productos-recomendados .swiper {
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
}

/* La sombra debe pertenecer únicamente a cada tarjeta */
.product-recommended .product-card,
.recommended-products .product-card,
.productos-recomendados .product-card {
    box-shadow:
        0 18px 35px rgba(20, 35, 60, 0.12) !important;
}

/* =========================================================
   TABS DEL PRODUCTO
========================================================= */

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}


/* =========================================================
   ESPECIFICACIONES ORGANIZADAS
========================================================= */

.product-specifications-content {
    padding: 35px 40px 40px;
}

.specifications-title {
    margin-bottom: 25px;
}

.specifications-title > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #2463ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
}

.specifications-title h2 {
    margin: 0 0 6px;
    color: #172033;
    font-size: 26px;
    font-weight: 700;
}

.specifications-title p {
    margin: 0;
    color: #7b8494;
    font-size: 14px;
}


/* LISTA */

.specifications-list {
    border: 1px solid #e8edf4;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}


/* FILA */

.specification-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid #e8edf4;
}

.specification-row:last-child {
    border-bottom: none;
}


/* NOMBRE */

.specification-name {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: #4e596b;
    font-size: 14px;
    font-weight: 600;
}


/* ICONO */

.specification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #edf3ff;
    color: #2463ff;
    font-size: 16px;
}


/* VALOR */

.specification-value {
    padding: 12px 20px;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
}


/* HOVER */

.specification-row:hover {
    background: #fafcff;
}

.specification-row:hover .specification-icon {
    background: #2463ff;
    color: #fff;
}


/* SIN ESPECIFICACIONES */

.specifications-empty {
    padding: 35px;
    text-align: center;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #fafbfc;
}

.specifications-empty i {
    margin-bottom: 10px;
    color: #2463ff;
    font-size: 25px;
}

.specifications-empty p {
    margin: 0;
    color: #737d8d;
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .product-specifications-content {
        padding: 25px 18px 30px;
    }

    .specifications-title h2 {
        font-size: 22px;
    }

    .specification-row {
        grid-template-columns: 1fr;
        padding: 12px 0;
    }

    .specification-name {
        padding: 8px 16px 4px;
    }

    .specification-value {
        padding: 4px 16px 8px 70px;
        font-size: 13px;
    }

    .specification-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

}