﻿/* VISTA VER PRODUCTO */
.product-preview-page {
    padding-top: 10px;
}

.product-breadcrumb {
    font-size: .88rem;
    color: #7d8c9b;
}

    .product-breadcrumb a {
        text-decoration: none;
        color: #7d8c9b;
    }

    .product-breadcrumb span {
        margin: 0 6px;
    }

.product-gallery-box {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    position: relative;
}

.product-discount-badge {
    position: absolute;
    top: 12px;
    left: 58px;
    background: var(--efe-orange);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: .85rem;
    z-index: 2;
}

.product-thumb-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-thumb {
    border: 1px solid #d9e3ed;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
}

    .product-thumb.active {
        border-color: var(--efe-blue);
    }

    .product-thumb img {
        width: 100%;
        height: 62px;
        object-fit: cover;
        display: block;
    }

.product-main-image-box {
    background: #fff;
    border-radius: 6px;
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    border: 1px solid var(--efe-blue);
    background: #fff;
    color: var(--efe-blue);
    width: 42px;
    height: 42px;
    border-radius: 6px;
}

.product-detail-panel {
    padding-top: 12px;
}

.product-brand {
    font-size: .9rem;
    color: #7f8c99;
    margin-bottom: 4px;
}

.product-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #16324b;
}

.product-sku,
.product-seller {
    font-size: .92rem;
    color: #6f7f90;
    margin-bottom: 6px;
}

.product-price-block {
    margin: 18px 0;
}

.product-price-current {
    color: var(--efe-blue);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}

    .product-price-current span {
        font-size: 1rem;
        color: #6f7f90;
        font-weight: 400;
    }

.product-price-old {
    color: #8996a5;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.product-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 18px;
    flex-wrap: wrap;
}

.product-add-btn {
    min-width: 220px;
    font-weight: 600;
}

.product-wishlist-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #18324b;
    font-size: 1.2rem;
}

.product-credit-box {
    border: 1px solid #3c3c3c;
    padding: 12px 14px;
    margin-bottom: 18px;
    background: #fff;
}

.product-shipping-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.shipping-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

    .shipping-row i {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #dff0ff;
        color: var(--efe-blue);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .shipping-row.disabled {
        opacity: .55;
    }

.product-section-line {
    height: 1px;
    background: #dfe5ec;
    margin: 16px 0;
}

.product-extra-box .form-select {
    border-radius: 6px;
    height: 44px;
}

@media (max-width: 991.98px) {
    .product-title {
        font-size: 1.6rem;
    }

    .product-main-image-box {
        min-height: 320px;
    }
}

/* ===== Paleta comercial rojo / naranja / gris ===== */
.product-breadcrumb,
.product-breadcrumb a {
    color: #7b7b7b;
}

.product-gallery-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.product-discount-badge {
    background: #f4a261;
    color: #1f1f1f;
}

.product-thumb {
    border: 1px solid #dddddf;
    border-radius: 8px;
}

.product-thumb.active {
    border-color: #0572d8;
}

.product-main-image-box {
    background: #fff;
    border: 1px solid #ededed;
}

.product-zoom-btn {
    border: 1px solid #0572d8;
    color: #0572d8;
    background: #fff;
}

.product-brand {
    color: #7a7a7a;
}

.product-title {
    color: #2a2a2a;
}

.product-sku,
.product-seller {
    color: #6f6f6f;
}

.product-price-current {
    color: #0572d8;
}

.product-price-current span {
    color: #7a7a7a;
}

.product-price-old {
    color: #9a9a9a;
}

.product-wishlist-btn {
    color: #2a2a2a;
}

.product-credit-box {
    border: 1px solid #d8d8d8;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.shipping-row i {
    background: #e9f3ff;
    color: #0572d8;
}

.product-section-line {
    background: #e5e5e7;
}

/* Estilos para las tarjetas de presentación */
.presentacion-card {
    position: relative;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 2px solid #d0e4f7;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.presentacion-card:hover:not(.disabled) {
    border-color: #7bb8e8;
    box-shadow: 0 4px 12px rgba(0, 79, 159, 0.12);
}

.presentacion-card.active {
    border-color: #004F9F;
    background: #f0f8ff;
    box-shadow: 0 0 0 3px rgba(0, 79, 159, 0.12);
}

.presentacion-card.disabled {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
    opacity: 0.6;
    cursor: not-allowed;
}

.presentacion-card.disabled .presentacion-price {
    color: #6c757d !important;
}

.presentacion-card.disabled .presentacion-title {
    color: #6c757d !important;
}

.presentacion-check {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.presentacion-card.active .presentacion-check {
    opacity: 1;
    background: #004F9F;
    color: #fff;
}

.presentacion-card.disabled .presentacion-check {
    background: #6c757d;
}

.presentacion-check i {
    font-size: 1rem;
    font-weight: 700;
}

.presentacion-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    padding-right: 32px;
}

.presentacion-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3a52;
    line-height: 1.3;
    flex: 1;
}

.presentacion-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #004F9F;
    white-space: nowrap;
}

.presentacion-subtitle {
    font-size: 0.82rem;
    color: #5c6b7a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.presentacion-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #5c6b7a;
}

.presentacion-meta-row span {
    flex: 1;
}

.presentacion-meta-row strong {
    color: #1a3a52;
    font-weight: 600;
}

.presentacion-no-disponible {
    margin-top: 10px;
    padding: 6px 10px;
    background-color: #ffc107;
    color: #000;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
}

@media (max-width: 767.98px) {
    .presentacion-header {
        flex-direction: column;
        gap: 4px;
    }

    .presentacion-price {
        font-size: 1.1rem;
    }

    .presentacion-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.product-detail-facts p {
    margin-bottom: 12px;
}

.disponibilidad-sucursal-modal {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.disponibilidad-sucursal-card {
    border: 1px solid #d8e7f7;
    border-radius: 12px;
    padding: 16px;
    background: #f8fbff;
}

.disponibilidad-sucursal-title {
    font-weight: 800;
    color: #0b3768;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.disponibilidad-sucursal-row {
    color: #244b72;
    font-size: .95rem;
    margin-top: 6px;
}

