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

.container-view {
    display: flex;
    padding-top: 40px;
    padding-bottom: 50px;
}

.tipospromcion{
    font-size: 10px;
    padding-top: 15px;
}

.payment-promotion-item{
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
}
.payment-promotion-item p{
    margin: 5px;
    font-size: 13px;
}
.payment-promotion-price{
        font-weight: bolder;

}
/* =========================================
   GALERÍA
========================================= */

.product-gallery {
    display: flex;
    align-items: flex-start;
}

.product-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background-color: #f7f7f7;
}

.product-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


/* =========================================
   INFORMACIÓN
========================================= */

.products-detal {
    padding: 10px 20px;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}


/* =========================================
   PRECIO
========================================= */

.product-detail-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.product-detail-price small {
    color: #777;
    font-size: .9rem;
}

.product-detail-price span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}


/* =========================================
   OPCIONES
========================================= */

.product-detail-options {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 25px;
}

.product-option {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.option-label {
    color: #777;
    min-width: 70px;
}

.product-option strong {
    color: #222;
}

.product-option-description {
    margin-top: 15px;
    color: #666;
    font-size: .95rem;
}


/* =========================================
   CANTIDAD
========================================= */

.quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-section > span {
    font-weight: 600;
}

.quantity-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-form button {
    width: 38px;
    height: 38px;

    border: none;
    background-color: #fff;

    font-size: 1.2rem;

    cursor: pointer;
}

.quantity-form button:hover {
    background-color: #f2f2f2;
}

.quantity-input {
    width: 45px;
    height: 38px;

    border: none;

    text-align: center;
    font-weight: 600;
}


/* =========================================
   BOTONES
========================================= */

.product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-add-cart,
.btn-buy-now {
    width: 100%;
    padding: 13px;

    border-radius: 8px;

    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;

    transition: .2s ease;
}


/* Carrito */

.btn-add-cart {
    background-color: #048ABF;
    color: #fff;
    border: 1px solid #048ABF;
}

.btn-add-cart:hover {
    background-color: #03759f;
}


/* Comprar */

.btn-buy-now {
    background-color: #fff;
    color: #048ABF;
    border: 1px solid #048ABF;
}

.btn-buy-now:hover {
    background-color: #048ABF;
    color: #fff;
}


/* =========================================
   DESCRIPCIÓN
========================================= */

.product-description-section {
    border-top: 1px solid #eee;
    padding-top: 35px;
    padding-bottom: 35px;
}

.product-description-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.product-description-section p {
    max-width: 850px;
    color: #666;
    line-height: 1.7;
}


/* =========================================
   BENEFICIOS
========================================= */

.container-info-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    margin-bottom: 60px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #fff;
}

.benefit-item i {
    font-size: 1.8rem;
    color: #048ABF;
}

.benefit-item strong {
    display: block;
    margin-bottom: 3px;
}

.benefit-item p {
    margin: 0;
    color: #777;
    font-size: .85rem;
}


/* =========================================
   PRODUCTOS SIMILARES
========================================= */

.container-products-view {
    padding-bottom: 60px;
}

.container-products-view h2 {
    font-size: 1.6rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .container-view {
        flex-direction: column;
        gap: 25px;
        padding-top: 20px;
    }

    .products-detal {
        padding: 0 10px;
    }

    .product-detail-image {
        height: 320px;
    }

    .product-detail-title {
        font-size: 1.6rem;
    }

    .product-detail-price span {
        font-size: 1.7rem;
    }

    .container-info-view {
        grid-template-columns: 1fr;
    }

}

.product-detail-price {
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}


.product-detail-price .product-detail-price-porcention{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    text-align: center;
    margin: 10px;
}
.product-detail-price .product-detail-price-porcention span{
    font-size: 25px;;
}

.product-detail-payment-price{
    background-color:  #f3f3f3;
    color: #048ABF;
    border-radius: 15px;
    text-align: center;
    padding: 10px;
    margin-top: 7px;
}

.product-detail-payment-price strong{
    font-size: 18px;
}
.product-detail-payment-price .span-view{
    font-size: 18px;
    color: #048ABF;
}
.product-detail-price small {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.product-detail-discount {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    background-color: #e8f7ee;
    color: #198754;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-detail-price-original {
    display: block;
    color: #888;
    font-size: 1rem;
    text-decoration: line-through;
}

.product-detail-price-final {
    display: block;
    color: #048ABF;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.product-detail-saving {
    display: block;
    margin-top: 4px;
    color: #198754;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-detail-price span {
    font-size: 1.8rem;
    font-weight: 700;
    color:#777;
}