﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.main-prev {
    max-width: 1200px;
    min-width: 320px;
    margin-left: 13%;
    padding: 20px;
}
.body-prev {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    max-width: 1200px;
    min-width: 320px;
    margin:  auto;
}
.header-vistaPrevia {
    display: none !important;
    background-color: white;
    display: flex;
    align-items: center;
    padding: 30px;
    justify-content: center;
}
.logo2 {
    color: black;
    display: none;
}
.container-title {
    padding: 30px;
    background-color: #eee;
    margin-bottom: 50px;
    color: #222;
    text-align: center;
    font-size: 20px;
}
.container-title span {
    color: #c00000;
    font-size: 17px;
}
.container-title a i {
    color: black;
    font-size: 20px;
}
.main-prev {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
    justify-content: center;
}
.img-product {
    width: 70vw;
    max-width: 1000px;
    min-width: 320px;
    background-color: #f7f7f9;
    flex: 1;
    border-radius: 5px;
    height: 10%;
}
#imageBox {
    width: 100%;
}
.box-img-small {
    display: flex;
    width: 100%;
    height: 100%;
    color: green;
    margin-top: 20px;
}
.product-small-img img {
    cursor: pointer;
    padding: 5px;
    border: 1px solid #27af5d;
    border-radius: 5px;
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.product-small-img {
    width: 100%;
    height: 150%;
    display: flex;
}
.main-prev .img-product img {
    width: 100%;
}
.container-info-prev {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prev-price {
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
}
.prev-price span {
    font-size: 32px;
    color: rgba(48, 56, 65, 1);
    font-weight: 700;
}
.container-details-prev {
    padding: 30px 0;
}
.form-group {
    display: block;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}
.form-group h2 {
    padding-bottom: 20px;
    margin: 0px;
    font-size: 25px;
    color: #c00000;
}
.form-group h3 {
    padding-bottom: 16px;
    margin: 0;
    font-size: 20px;
}
.form-group .description {
    color: #c00000;
    padding: 12px 15px;
    font-weight: bold;
}
.description-dispo {
    color: #218d15;
}
.description span {
    color: #999999;
}
.container-prev-addcart {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e4e4e4;
}
.container-prev-quantity {
    position: relative;
}
.input-quantity {
    background-color: #fff;
    border: none;
    padding: 10px;
    width: 60px;
    height: 100%;
    color: #666;
    font-weight: 500;
}
.input-quantity:focus {
    outline: none;
}
.input-quantity::-webkit-inner-spin-button,
.input-quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
     appearance: none;
}
.btn-increment-decrement {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 7px;
    right: 7px;
}
.btn-increment-decrement i {
    font-size: 11px;
    color: #666;
    cursor: pointer;
    margin-bottom: 30px;
}
.fa-chevron-up:hover {
    color: #c00000;
}
.fa-chevron-down:hover {
    color: #c00000;
}
.grup-button {
    display: flex;
    width: 100%;
}
.grup-button button {
    margin: 10px;
}
.btn-add-to-cart {
    border: none;
    background-image: linear-gradient(#c00000, #b23c27);
    padding: 10px;
    color: #f7f7f7;
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: .5s ease-in-out;
    width: 100%;
}
.btn-add-to-cart:hover {
    box-shadow: 0 0 5px #f73c22, 0 0 300px #c24f23, 0 0 40px #ff7b48;
    transition: .5s ease-in-out;
}
.btn_heard_cart {
    padding: 0 15px;
    height: 44px;
    line-height: 44px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    cursor: pointer;
    transition: .5s ease-in-out;
}
.btn_heard_cart:hover {
    color: #e21a1a;
    transition: .5s ease-in-out;
}
.btn-buy-cart {
    border: none;
    background-image: linear-gradient(#349748,#195f14);
    padding: 10px;
    color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
}
.btn-buy-cart:hover {
    box-shadow: 0 0 5px #349748, 0 0 300px #195f14, 0 0 40px #349748;
}
.btn_heard_cart {
    font-size: 20px;
}
.hidden {
    display: none;
}
.container-prev-description,
.container-additional-information {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #e4e4e4;
    padding: 10px 0;
}
.title-prev-description,
.title-additional-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.text-prev-description,
.text-additional-information {
    font-size: 13px;
    color: #252525;
    line-height: 22px;
    margin-top: 25px;
}
.text-prev-description h4,
.text-additional-information h4 {
    font-weight: 300;
    color: #666;
    font-size: 14px;
}
.container-social-prev {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #e4e4e4;
}
.container-social-prev span {
    font-weight: 300;
    color: #252525;
}
.container-button-social {
    display: flex;
    gap: 15px;
    align-items: center;
}
.container-button-social .social-face,
.social-inst,
.social-twit,
.social-tik {
    color: #666;
    font-size: 20px;
}
.container-button-social .social-face:hover {
    color: #3b5998;
}
.container-button-social .social-inst:hover {
    color: #C13584;
}
.container-button-social .social-twit:hover {
    color: #1DA1F2;
}
.container-button-social .social-tik:hover {
    color: #ff0050;
}
/* === AJUSTES RESPONSIVE (SOLO CAMBIOS NECESARIOS) === */
@media screen and (max-width: 1200px) {
    .main-prev {
        margin-left: 0px;
    }
}
    @media screen and (max-width: 1115px) {
        .product-small-img {
            width: 33.4%;
            display: flex;
        }  
        .img-product {
            width: 75vw;
        }
    }
    @media screen and (max-width: 850px) {
        .main-prev {
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }
        .img-product {
            width: 90vw;
            margin-left: 0 !important;
        }
        .container-info-prev {
            width: 90vw;
            margin-top: 20px;
        }
        .prev-price {
            margin-top: 0;
        }
        .product-small-img {
            width: 100%;
            height: auto;
        }
        .product-small-img img {
            height: 180px;
        }
    }
    @media screen and (max-width: 750px) {
        .product-small-img img {
            height: 130px;
        }
    }
    @media screen and (max-width: 600px) {
        .main-prev {
            padding: 20px;
        }
        .grup-button {
            flex-direction: column;
            align-items: center;
        }
    }
    @media screen and (max-width: 480px) {
        .product-small-img img {
            height: 84px;
        }
        .container-prev-quantity {
            height: auto;
        }
    }

    /* Productos-Relacionados */
.container-related h3 u {
     text-decoration-color: #c00000;
}
.product-related {
     cursor: pointer;
     margin-bottom: 2rem;
}

