/* === PRODUCTO DETALLE === */

.product-detail {
    margin-top: 80px;
    padding: 20px 0 60px;
}

/* Breadcrumb detalle */
.breadcrumb--detail {
    padding: 20px 0;
    font-size: 12px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumb--detail a {
    color: var(--color-gray);
    transition: color 0.2s;
}

.breadcrumb--detail a:hover {
    color: var(--color-dark);
}

.breadcrumb--detail .current {
    color: var(--color-primary);
}

.breadcrumb--detail span {
    margin: 0 4px;
}

/* Layout principal */
.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* Galería */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-gallery__main {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
}

.product-gallery__main img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-gallery__thumbs {
    display: flex;
    gap: 12px;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    border: 2px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    transition: border-color 0.2s;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--color-dark);
}

.product-gallery__thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Info del producto */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-info__series {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.product-info__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 8px;
}

.product-info__model {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.product-info__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.product-info__divider {
    height: 1px;
    background: #E5E7EB;
    margin: 20px 0;
}

/* Beneficios */
.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.product-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-gray-dark);
}

.product-benefit__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-benefit__icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

/* CTA WhatsApp */
.product-cta {
    margin-top: auto;
}

.btn--whatsapp-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    background: #25D366;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.btn--whatsapp-lg:hover {
    background: #1EBE57;
}

.btn--whatsapp-lg svg {
    width: 22px;
    height: 22px;
}

/* Ficha Técnica */
.ficha-tecnica {
    margin-bottom: 60px;
}

.ficha-tecnica__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    margin-bottom: 24px;
}

.ficha-tecnica__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ficha-tecnica__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #E5E7EB;
}

.ficha-tecnica__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.ficha-tecnica__value {
    font-size: 14px;
    color: var(--color-gray);
    text-align: right;
}

/* Productos complementarios */
.related-products {
    margin-bottom: 60px;
}

.related-products__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.related-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    border: 1px solid #E5E7EB;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.related-card__img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #F9FAFB;
    padding: 16px;
}

.related-card__body {
    padding: 16px;
}

.related-card__cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.related-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.related-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ficha-tecnica__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-info__title {
        font-size: 24px;
    }

    .product-info__price {
        font-size: 26px;
    }

    .related-products__grid {
        grid-template-columns: 1fr;
    }

    .product-gallery__thumbs {
        overflow-x: auto;
    }
}
