﻿
/* ==================================
   PUNTOMIX - DETALLE DE PRODUCTO
   ================================== */

.detail-section {
    padding: 30px 0 65px;
}

/* Navegación */

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: #777;
    font-size: 13px;
}

    .detail-breadcrumb a:hover {
        color: var(--color-primary);
    }

    .detail-breadcrumb svg {
        width: 15px;
        height: 15px;
    }

    .detail-breadcrumb span {
        color: var(--color-text);
        font-weight: 600;
    }

/* Diseño principal */

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: start;
}

/* Imagen */

.detail-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    padding: 35px;
    background: white;
    border: 1px solid #F0E8DF;
    border-radius: 20px;
}

    .detail-image img {
        width: 100%;
        max-height: 370px;
        object-fit: contain;
    }

.detail-placeholder {
    display: none;
    position: absolute;
    inset: 35px;
    align-items: center;
    justify-content: center;
    background: #FFF5EB;
    color: var(--color-primary);
    border-radius: 14px;
}

    .detail-placeholder svg {
        width: 90px;
        height: 90px;
        stroke-width: 1.4;
    }

/* Información */

.detail-info {
    padding: 15px 0;
}

.detail-category {
    display: inline-block;
    padding: 7px 13px;
    background: #FFF0E6;
    color: var(--color-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.detail-info h1 {
    margin: 18px 0 10px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
}

.detail-presentation {
    color: #777;
    font-size: 15px;
}

.detail-price {
    margin: 25px 0;
    color: #E94320;
    font-size: 34px;
    font-weight: 800;
}

.detail-divider {
    height: 1px;
    background: #EAE4DC;
    margin-bottom: 22px;
}

.detail-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Selector de cantidad */

.detail-quantity-area {
    margin-top: 25px;
}

    .detail-quantity-area label {
        display: block;
        margin-bottom: 12px;
        font-size: 14px;
        font-weight: 700;
    }

.quantity-selector {
    display: flex;
    align-items: center;
    width: fit-content;
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    overflow: hidden;
}

    .quantity-selector button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 43px;
        height: 43px;
        background: white;
        border: none;
    }

        .quantity-selector button:hover {
            background: #FFF0E6;
            color: var(--color-primary);
        }

        .quantity-selector button svg {
            width: 18px;
            height: 18px;
        }

    .quantity-selector input {
        width: 55px;
        height: 43px;
        border: none;
        outline: none;
        text-align: center;
        font-weight: 700;
        background: white;
        appearance: textfield;
    }

        .quantity-selector input::-webkit-inner-spin-button,
        .quantity-selector input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

/* Botón principal */

.detail-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 350px;
    margin-top: 25px;
    padding: 15px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
}

    .detail-add-cart:hover {
        background: #E85B28;
    }

    .detail-add-cart svg {
        width: 21px;
        height: 21px;
    }

/* Beneficios */

.detail-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 25px;
}

    .detail-benefits div {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #777;
        font-size: 13px;
    }

    .detail-benefits svg {
        width: 19px;
        height: 19px;
        color: var(--color-primary);
    }
