﻿.text-theme {
    color: #765238 !important;
}

.img-product {
    width: 100%;
    max-width: 490px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.img-product-detail {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    display: block;
    margin: 0 auto; 
    margin-top: 10px;
}

.imagsGallery {
    display: flex;
    flex-wrap: wrap; 
    gap: 5px; 
    justify-content: center; 
    align-items: center; 
}

.imagsItems {
    flex: 0 0 300px;
    height: 300px; 
    overflow: hidden;
    border-radius: 4px;
}

.imagsItems img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.variantsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variantButton {
    min-width: 80px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
}

.variantButton:hover:not(.disabled) {
    border-color: #765238;
    color: white !important;
    background-color: #765238;
}

.variantButton.disabled {
    color: #aaa;
    text-decoration: line-through;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.variantButton.active {
    background-color: #765238;
    color: white !important;
    border-color: #765238;
}


/*Favorites*/
.productColumn.favorite .pcActionsList {
    opacity: 1;
    transform: translateX(0%);
}

.btn-circle-close {
    width: 30px; /* Circle width */
    height: 30px; /* Circle height */
    border-radius: 50%; /* Make it circular */
    border: 1px solid #765238;
    background-color: #fff;
    color: #765238;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-right: 15px !important;
}

.btn-circle-close:hover {
    background-color: #765238;
    color: #fff;
    transition: 0.2s;
}

/*COLOR IN VIEW PRODUCT ID*/
.color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-radio {
    cursor: pointer;
}

.color-radio input {
    display: none;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    border: 2px solid #ccc;
    transition: .2s;
}

.color-radio input:checked + .color-circle {
    border: 3px solid black;
    transform: scale(1.1);
}

/*CAROUSEL PRODUCT ID*/
#main-carousel .splide__slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

#thumbnail-carousel .splide__slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

#thumbnail-carousel .splide__slide.is-active {
    border: 2px solid #000;
}

/* Tablet */
@media (max-width: 768px) {
    #main-carousel .splide__slide img {
        height: 400px;
    }
}

/* Móvil */
@media (max-width: 480px) {
    #main-carousel .splide__slide img {
        height: 360px;
    }
}

/*INPUT FILE IN CHECKOUT*/
.custom-file-upload {
    cursor: pointer;
    display: block;
}

.custom-file-upload input {
    display: none;
}

.upload-box {
    border: 2px dashed lightgray;
    border-radius: 10px;
    padding: 10px; /* menos padding */
    min-height: 220px; /* más alto */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image {
    width: 100%;
    height: 200px; /* ocupa casi toda la caja */
    object-fit: cover; /* llena sin dejar espacios */
    border-radius: 8px;
}

.upload-box:hover {
    background-color: #f8f9fa;
}


/*Index*/
.imgBannerHolder {
    width: 100% !important;
    max-width: 1000px !important;
    aspect-ratio: 1000 / 600 !important; /* mantiene proporción */
    overflow: hidden !important;
}

.imgBanner {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* llena sin deformar */
    display: block !important;
}

.btn-shop {
    background-color: #765238;
    color: white !important;
}

.contentblock {
    position: relative;
    overflow: hidden;
}

/* 🔥 OVERLAY NEGRO TRANSPARENTE */
.contentblock::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* ajusta la intensidad */
    z-index: 1;
}

/* IMAGEN DE FONDO */
.ibBgImage {
    z-index: 0;
}

/* TEXTO ENCIMA */
.txtblock {
    position: relative;
    z-index: 2;
}

.newsCol {
    position: relative;
}

/* IMAGEN */
.newsCol .ibBgImage {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 🔥 OVERLAY ENCIMA DE LA IMAGEN */
.newsCol::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}


/* IMAGEN */
.bannerHead .bhBgImage {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* 🔥 OVERLAY */
.bannerHead::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* ajusta intensidad */
    z-index: 2;
}

/* CONTENIDO ENCIMA */
.bannerHead .alignHolder {
    position: relative;
    z-index: 3;
}

/* TEXTO ENCIMA DE TODO */
.newsCol .container {
    position: relative;
    z-index: 3;
}

.slick-dots{
    color: black !important;
}