.principal-container{
    background-color: aliceblue;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.general-information-container{
    display: flex;
    flex-direction: row;
    width: 1200px;
    margin-top: 20px;
}
.secondary-information-container{
    display: flex;
    justify-content: center;
    width: 1200px;
    height: 70vh;
    background-color: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
}
.more-products-container{
    display: flex;
    flex-direction: column;
    width: 1200px;
    height: 410px;
    background-color: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-top: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.general-imagen-container{
    display: flex;
    justify-content: center;
    width: 50%;
}
.carousel{
    width: 100%;
    /*height: 100%;*/
    justify-content: center;
    align-items: center;
    display: flex;
}
.carousel-inner {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.carousel-item img{
    object-fit: cover;
    height: 100%;
}
.general-description-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
    padding-right: 20px;
    width: 50%;
    height: 100%;
}
.general-title-container{
    font-weight: bold;
    font-size: 30px;
    display: flex;
    justify-content: flex-start;
}
.principal-description-container{
    padding: 10px 0px;
}
.principal-description-container span{
    padding: 5px 15px;
    color: blue;
    background-color: #3b85d4a4;
    border: 1px solid blue;
    border-radius: 8px;
}
.categorias{
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}
.categoria{
    padding: 5px 15px;
    color: #5d3b85;
    background-color: #c4b7e1b7;
    border: 1px solid #5d3b85;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-price-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-weight: 600;
    font-size: 28px;
}
.alert-item{
    display: flex;
    align-items: center;
    height: 70%;
    margin-left: 10px;
    font-weight: normal;
    font-size: 14px;
}
.product-normal-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    text-decoration: line-through;
}
.general-quantity-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 10%;
}
.general-button-container{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 15%;
    font-weight: bold;
    padding: 10px;
}
.btn-agregar-carrito{
    width: 80%;
    background-color: #5d3b85;
    color: white;
    height: 100%;
    border-radius: 20px;
    font-weight: bold;
    font-size: 20px;
}
.btn-agregar-carrito:hover{
    background-color: #5e3b8580;
    color: black;
}
.box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 15px;
}
.box::-webkit-scrollbar {
    width: 8px !important; /* Grosor del scroll */
}

.box::-webkit-scrollbar-track {
    background: #ddd; /* Color del fondo del scroll */
    border-radius: 10px;
}

.box::-webkit-scrollbar-thumb {
    background: #333; /* Color del scroll */
    border-radius: 10px;
}

.box::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color cuando pasas el mouse */
}
.type-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 5px;
}
.type{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    padding: 10px;
    color: white;
    font-weight: 600;
    background-color: #5d3b85;
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
}
.type-text{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    padding: 10px;
    background-color: #C4B7E1;
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
}
.description-container{
    display: flex; 
    justify-content: center;
    text-align: start; 
    width: 100%; 
    height: 100%;
}
.comments-califications-container{
    display: flex;
    flex-direction: column;
    width: 100%; 
    height: 100%;
}
.califications-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%; 
    height: 50%;
    padding: 10px 0px;
}
.califications{
    width: 30%;
    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);*/
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.starts{
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.start-rating-text{
    font-size: 50px;
}
.stars-rating{
    font-size: 30px;
}
.comments-count{
    font-size: 18;
    display: flex;
    justify-content: center;
}
.star-rating {
    color: gold;
    padding-left: 10px;
}
.do-calification{
    width: 40%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}
.rating-select i {
    font-size: clamp(0.5rem, 1.0vw, 1.5rem);
    color: gray;
    cursor: pointer;
    transition: color 0.3s;
    padding-left: 10px;
}

.rating-select i:hover,
.rating-select i.active {
    color: gold;
}
.comment-text-calification{
    border-radius: 5px;
    padding: 10px;
    resize: none;
    overflow-y: auto;
}
.comment-text-calification::-webkit-scrollbar {
    width: 8px !important;
}

.comment-text-calification::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 10px;
}

.comment-text-calification::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.comment-text-calification::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.send-comment{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border-width: 1px;
    color: white;
    background-color: black;
}
.comments-container{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    height: 50%;
    padding: 10px;
    padding-top: 20px;
    gap: 20px;
    border-top: 3px solid grey;
}
.comments-container::-webkit-scrollbar {
    height: 6px !important;
}

.comments-container::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.comment-cart{
    display: flex;
    flex-direction: column;
    width: 350px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.comment-cart-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 20%;
    width: 300px;
}
.comment-cart-body{
    display: flex;
    height: 80%;
    width: 300px;
    padding-top: 10px;
    overflow-y: auto;
}
.comment-cart-body::-webkit-scrollbar {
    height: 8px !important;
}

.comment-cart-body::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 10px;
}

.comment-cart-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.comment-cart-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.more-products-title{
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
    border-bottom: 3px solid grey;
    height: 12%;
}
.more-products-list{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    height: 90%;
    padding: 10px;
    padding-top: 20px;
}
.more-products-list::-webkit-scrollbar {
    height: 6px !important;
}

.more-products-list::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 10px;
}

.more-products-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.more-products-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.more-product-card{
    display: flex;
    flex-direction: column;
    width: 280px;
    border-radius: 10px;
    margin-right: 20px;
    padding: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.more-product-imagen-container {
    position: relative;
    width: 250px;
    height: auto;
    display: inline-block;
    overflow: hidden;
}
.more-product-imagen {
    width: 100%;
    border-radius: 5px;
    display: block;
    transition: opacity 0.3s ease;
}
.more-product-imagen-container:hover .more-product-imagen {
    opacity: 0.5;
}
.view-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #5d3b85;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.more-product-imagen-container:hover .view-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}
.more-product-name{
    font-weight: bold;
    font-size: 13px;
    height: 20%;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
}
.more-product-price{
    font-weight: bold;
    font-size: 15px;
    height: 15%;
    padding-top: 10px;
    display: flex;
    justify-content: center;
}
.more-product-fake-price{
    font-size: 14;
    height: 20%;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    text-decoration: line-through;
    align-items: start;
}
.alert-item2{
    display: flex;
    align-items: center;
    height: 70%;
    margin-left: 10px;
    font-weight: normal;
    font-size: 11px;
}

@media (max-width: 1200px) {
    .general-information-container{
        width: 90%;
        height: auto;
    }
    .general-title-container{
        font-size: 28px;
    }
    .product-price-container{
        font-size: 26px;
    }
    .alert-item{
        font-size: 14px;
        height: 30px;
    }
    .product-normal-container{
        font-size: 16px;
    }
    .btn-agregar-carrito{
        padding: 5px;
        font-size: 18px;
    }
    .secondary-information-container{
        width: 90%;
    }
    .container{
        max-width: 100%;
    }
    .more-products-container{
        width: 90%;
    }
    .califications-container{
        gap: 20px
    }
    .califications{
        width: 50%;
    }
    .start-rating-text{
        font-size: 40px;
    }
    .stars-rating{
        font-size: 20px;
    }
    .comments-count{
        font-size: 14;
    }
    .do-calification{
        width: 50%;
    }
}
@media (max-width: 768px) {
    .general-information-container{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 90%;
        height: auto;
    }
    .general-title-container{
        font-size: 25px;
    }
    .product-price-container{
        font-size: 23px;
    }
    .alert-item{
        font-size: 14px;
        height: 30px;
    }
    .product-normal-container{
        font-size: 16px;
    }
    .btn-agregar-carrito{
        padding: 5px;
        font-size: 16px;
    }
    .categorias{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .general-imagen-container{
        width: 100%;
    }
    .general-description-container{
        width: 100%;
        padding: 0;
    }
    #myTab{
        display: flex;
        justify-content: space-between;
    }
    .nav-link{
        padding: 5px !important;
    }
    .box{
        padding: 0px 15px;
    }
    .comments-califications-container{
        gap: 10px;
    }
    .califications-container{
        gap: 25px;
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .califications{
        width: 100%;
    }
    .start-rating-text{
        font-size: 40px;
    }
    .stars-rating{
        font-size: 20px;
    }
    .rating-select i {
        font-size: clamp(0.64rem, 1.0vw, 1.5rem);
    }
    .comments-count{
        font-size: 14;
    }
    .do-calification{
        width: 100%;
        padding: 0;
    }
    .send-comment{
        padding: auto;
    }
}