/* ESTILOS GENERALES */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
select,
textarea {
    font-family: Georgia, serif !important;
}

/* FONDO GENERAL */
body {
    background-color: #F5F0E8 !important;
}

/* EFECTO HOVER DEL MENÚ PRINCIPAL */
#ss-menu-list .ss-menu-item {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}

#ss-menu-list .ss-menu-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #682D3B;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

#ss-menu-list .ss-menu-item:hover {
    color: #806952;
}

#ss-menu-list .ss-menu-item:hover::after,
#ss-menu-list .ss-menu-item.ss-menu-activo::after {
    transform: scaleX(1);
}

/* REDUCIR LOGO Y HEADER AL HACER SCROLL */
@media (min-width: 992px) {
    #ss-header .ss-desktop .logo-header {
        transition: height 0.3s ease;
    }

    #ss-header .ss-desktop #ss-row-1 {
        transition: padding 0.3s ease;
    }

    #ss-header.is-scrolled .ss-desktop .logo-header {
        height: 51px !important;
    }

    #ss-header.is-scrolled .ss-desktop #ss-row-1 {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}

/* BORDE INFERIOR DEL ENCABEZADO */
#ss-header {
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
    box-shadow: none !important;
}

/* MENÚ MÓVIL */
@media (max-width: 991px) {
    #navbarSupportedContent {
        background-color: #F5F0E8 !important;
        color: #682D3B !important;
    }

    #navbarSupportedContent .ss-menu-item {
        color: #682D3B !important;
    }
}

/* ALINEACIÓN DEL MENÚ MÓVIL */
@media (max-width: 991px) {
    #navbarSupportedContent #ss-menu-list {
        align-items: flex-start !important;
        text-align: left !important;
        padding-left: 12px;
    }

    #navbarSupportedContent .ss-menu-item {
        font-size: 18px;
    }
}

/* ESPACIADO DEL ENCABEZADO MÓVIL */
@media (max-width: 991px) {
    #ss-header .ss-mobile {
        padding: 10px 15px !important;
    }
}

/* CONTADOR DEL CARRITO MÓVIL */
@media (max-width: 991px) {
    #ss-header .ss-mobile #ss-cart span {
        background-color: #682D3B !important;
        color: #FFFFFF !important;
        font-variant-numeric: lining-nums tabular-nums;
    }
}

/* ICONO DEL CARRITO MÓVIL */
@media (max-width: 991px) {
    #ss-header .ss-mobile #ss-cart i {
        font-size: 26px;
    }
}

/* TAMAÑO DEL CONTADOR DEL CARRITO MÓVIL */
@media (max-width: 991px) {
    #ss-header .ss-mobile #ss-cart span {
        min-width: 19px;
        height: 19px;
        padding: 0 4px;
        border-radius: 50%;
        font-size: 11px;
        font-weight: normal;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
}

/* BOTÓN HAMBURGUESA */
@media (max-width: 991px) {
    #ss-header .ss-mobile .navbar-toggler {
        padding: 8px 12px;
        border: 1px solid rgba(0, 0, 0, 0.15) !important;
        border-radius: 6px;
    }

    #ss-header .ss-mobile .navbar-toggler i {
        font-size: 24px;
        color: #595959 !important;
        font-weight: 400;
    }
}

/* SEPARACIÓN ENTRE CARRITO Y HAMBURGUESA */
@media (max-width: 991px) {
    #ss-header .ss-mobile #ss-cart {
        margin-right: 28px !important;
    }
}

/* CARRUSEL PRINCIPAL */
#carrusel-principal {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
}

#carrusel-principal .swiper {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1672 / 941;
}

#carrusel-principal .swiper-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* NAVEGACIÓN DEL CARRUSEL PRINCIPAL */
#carrusel-principal {
    --swiper-navigation-color: #FFFFFF;
    --swiper-pagination-color: #FFFFFF;
    --swiper-pagination-bullet-inactive-color: #FFFFFF;
    --swiper-pagination-bullet-inactive-opacity: 0.5;
}

/* TARJETAS DE PRODUCTOS */
.gallery-ss[data-design="product-gallery"] .single-product {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 25px 20px !important;
}

/* IMÁGENES DE LAS TARJETAS */
.gallery-ss[data-design="product-gallery"] .product-image {
    width: 100%;
    max-width: 260px;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto 25px !important;
    background-color: #FFFFFF;
    border: 1px solid rgba(104, 45, 59, 0.7);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.gallery-ss[data-design="product-gallery"] .product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* TÍTULOS DE LAS TARJETAS */
#catalogPage .single-product .product-info h4.title.text-444 {
    color: #682D3B !important;
    font-size: 24px !important;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

/* PRECIOS DE LAS TARJETAS */
#catalogPage .single-product .div-price .price {
    color: #4D4900 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    text-align: center !important;
    font-variant-numeric: lining-nums tabular-nums;
}

#catalogPage .single-product .div-price {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

#catalogPage .single-product .div-price .price {
    width: auto !important;
}

/* Separación entre galerías de productos */
.gallery-ss[data-design="product-gallery"] {
    margin-bottom: 30px !important;
}

/* Separador entre galerías de vinos */
#separador-vinos {
    width: 85% !important;
    height: 1px !important;
    margin: 0 auto 40px !important;
    border: none !important;
    background-color: rgba(104, 45, 59, 0.5) !important;
    opacity: 1 !important;
}

/* Botón Ver catálogo */
#btn-ver-catalogo {
    display: flex !important;
    width: fit-content !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto !important;
    padding: 12px 28px !important;
    background-color: #682D3B !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 18px !important;
    transition: background-color 0.3s ease;
}

#btn-ver-catalogo:hover {
    background-color: #806952 !important;
    color: #FFFFFF !important;
}

#btn-ver-catalogo .fa-arrow-right::before {
    content: "\f067";
}

/* Logo del footer */
#ss-logo-footer {
    justify-content: center;
    width: 100%;
}

#ss-logo-footer img {
    content: url("https://ss-cnt-001c.esmsv.com/r/content/host1/4b26409ca29e3cc5a0756d5c1043c991/editor/logo.webp");
    width: 120px !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

/* Separación entre datos de contacto del footer */
#ss-contact-footer .contact-container {
    gap: 12px !important;
}

/* Subtítulos de productos del Home */
.gallery-ss[data-design="product-gallery"] .product-subtitle {
    color: #806952;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: normal;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 20px;
}

/* Distribución de las columnas del footer */
@media (min-width: 992px) {
    #ss-footer-row-1 .footer-row-content {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Contenedores de Información útil y Contacto */
#ss-footer-column-2 .ss-customtext-footer,
#ss-contact-footer {
    width: 100%;
    text-align: left !important;
    gap: 24px !important;
}

/* Títulos del footer */
#ss-footer-column-2 .text-container,
#ss-contact-footer .subtitle {
    font-family: Georgia, serif;
    font-size: 24px !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    color: #FFFFFF;
    text-align: left !important;
    word-break: normal;
}

/* Distribución de los enlaces */
#ss-footer-column-2 .footer-links,
#ss-contact-footer .contact-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
}

/* Estilo de los enlaces */
#ss-footer-column-2 .footer-links a,
#ss-contact-footer .contact-container a {
    font-family: Georgia, serif;
    font-size: 17px !important;
    font-weight: normal;
    line-height: 1.4;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover de los enlaces */
#ss-footer-column-2 .footer-links a:hover,
#ss-contact-footer .contact-container a:hover {
    color: #806952 !important;
}

/* Iconos de Información útil */
#ss-footer-column-2 .footer-links a::before {
    content: "+";
    display: inline-block;
    width: 24px;
    font-size: 20px;
    font-weight: bold;
}

/* Alineación vertical de las columnas del footer */
#ss-footer-row-1 #ss-footer-column-2,
#ss-footer-row-1 #ss-footer-column-3 {
    justify-content: flex-start !important;
}

/* Altura uniforme de los enlaces */
#ss-footer-column-2 .footer-links a,
#ss-contact-footer .contact-container a {
    display: flex;
    align-items: center !important;
    min-height: 26px;
    line-height: 26px !important;
}

/* Altura del icono de Información útil */
#ss-footer-column-2 .footer-links a::before {
    line-height: 1;
}

/* Alineación de las tarjetas de vinos individuales */
@media (min-width: 992px) {
    [data-ss-id="MaHI1IUK"]>#catalogPage.gallery-ss:first-child .single-product .slider-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        min-height: 110px !important;
    }

    [data-ss-id="MaHI1IUK"]>#catalogPage.gallery-ss:first-child .single-product .div-price {
        margin-top: auto !important;
    }
}

/* Separador horizontal del footer */
#ss-footnote-footer>.container {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px !important;
}

/* Copyright del footer */
#ss-footnote-footer .footer-copyright {
    flex: 0 0 100%;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: normal;
    color: #FFFFFF;
    text-align: center;
    margin: 0 !important;
}

/* Elementos inferiores del footer */
#ss-footnote-footer>.container {
    row-gap: 12px !important;
    column-gap: 24px !important;
    font-size: 13px;
}

/* Separación de las columnas del footer en móviles */
@media (max-width: 991px) {
    #ss-footer-row-1 .footer-row-content {
        row-gap: 30px !important;
    }
}

/* NOSOTROS */
#spring-quienes-somos {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 15px;
    background-color: #F5F0E8;
    color: #333333;
    font-family: Georgia, serif;
}

/* SECCIONES */
#spring-quienes-somos .quienes-seccion {
    margin-bottom: 48px;
}

#spring-quienes-somos .quienes-seccion:last-child {
    margin-bottom: 0;
}

#spring-quienes-somos .quienes-centrado {
    text-align: center;
    margin-bottom: 24px;
}

/* TÍTULOS Y PÁRRAFOS */
#spring-quienes-somos h1 {
    color: #682D3B;
    font-size: 42px;
    font-weight: normal;
    margin-bottom: 15px;
}

#spring-quienes-somos h2 {
    color: #682D3B;
    font-size: 34px;
    font-weight: normal;
    margin-bottom: 25px;
}

#spring-quienes-somos h3 {
    color: #682D3B;
    font-size: 25px;
    font-weight: normal;
    margin-bottom: 15px;
}

#spring-quienes-somos p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

#spring-quienes-somos .quienes-subtitulo {
    color: #806952;
    font-size: 22px;
}

/* FOTOGRAFÍAS */
#spring-quienes-somos .quienes-imagen {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(104, 45, 59, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#spring-quienes-somos .quienes-seccion:first-child .quienes-imagen {
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

/* NUESTRA ESENCIA */
#spring-quienes-somos .quienes-esencia {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

/* TARJETAS DE VINOS */
#spring-quienes-somos .quienes-varietales {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#spring-quienes-somos .quienes-varietal {
    padding: 30px;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 8px;
    background-color: #F5F0E8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#spring-quienes-somos .quienes-varietal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

#spring-quienes-somos .quienes-varietal p {
    margin-bottom: 0;
}

/* IMÁGENES FINALES */
#spring-quienes-somos .quienes-imagenes-finales {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
    gap: 24px;
}

#spring-quienes-somos .quienes-imagenes-finales .quienes-imagen {
    height: 100%;
    object-fit: cover;
}

/* CIERRE */
#spring-quienes-somos .quienes-cierre h2 {
    margin-bottom: 0;
}

/* NOSOTROS EN TABLETS */
@media (max-width: 991.98px) {
    #spring-quienes-somos .quienes-esencia {
        grid-template-columns: 1fr;
    }
}

/* NOSOTROS EN MÓVILES */
@media (max-width: 767.98px) {
    #spring-quienes-somos {
        padding: 30px 15px;
    }

    #spring-quienes-somos .quienes-seccion {
        margin-bottom: 35px;
    }

    #spring-quienes-somos h1 {
        font-size: 32px;
    }

    #spring-quienes-somos h2 {
        font-size: 28px;
    }

    #spring-quienes-somos h3 {
        font-size: 23px;
    }

    #spring-quienes-somos p {
        font-size: 16px;
        line-height: 1.7;
    }

    #spring-quienes-somos .quienes-subtitulo {
        font-size: 18px;
    }

    #spring-quienes-somos .quienes-varietal {
        padding: 22px;
    }

    #spring-quienes-somos .quienes-varietales,
    #spring-quienes-somos .quienes-imagenes-finales {
        grid-template-columns: 1fr;
    }

    #spring-quienes-somos .quienes-seccion:first-child .quienes-imagen {
        max-height: 350px;
    }

    #spring-quienes-somos .quienes-imagenes-finales .quienes-imagen {
        height: auto;
        max-height: 350px;
    }
}

/* CATÁLOGO - FONDO GENERAL */
#catalogPage>.product-grids {
    background-color: #F5F0E8 !important;
}

/* CATÁLOGO - SIDEBAR A LA DERECHA */
@media (min-width: 768px) {
    #catalogPage .product-grids .sidebar-scroll-container {
        order: 2;
    }

    #catalogPage .product-grids .catalogue-container {
        order: 1;
    }
}

/* CATÁLOGO - OCULTAR FILTRO DE PRECIOS */
#catalogPage .product-grids .sidebar-scroll-container div:has(> ul input[wire\:model\.live="customPriceFrom"]) {
    display: none !important;
}

/* CATÁLOGO - TÍTULO PRINCIPAL */
#catalogPage .product-grids .breadcrumb-catalogo {
    text-align: center;
    margin-bottom: 20px !important;
}

#catalogPage .product-grids .breadcrumb-catalogo a {
    color: #682D3B !important;
    font-size: 38px !important;
    font-weight: normal !important;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    #catalogPage .product-grids .breadcrumb-catalogo a {
        font-size: 30px !important;
    }
}

/* CATÁLOGO - SUBTÍTULO */
#catalogPage .product-grids .breadcrumb-catalogo::after {
    content: "Descubrí el carácter de la Patagonia en cada copa.";
    display: block;
    color: #806952;
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* CATÁLOGO - SUBTÍTULO EN INGLÉS */
html:lang(en) #catalogPage .product-grids .breadcrumb-catalogo::after {
    content: "Discover the spirit of Patagonia in every glass.";
}

/* CATÁLOGO - TARJETAS DE PRODUCTOS */
#catalogPage .product-grids .single-product {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#catalogPage .product-grids .single-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important;
}

/* CATÁLOGO - IMÁGENES DE PRODUCTOS */
#catalogPage .product-grids .single-product .product-image {
    width: 100%;
    max-width: 260px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto 25px !important;
    background-color: #FFFFFF;
    border: 1px solid rgba(104, 45, 59, 0.7);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

#catalogPage .product-grids .single-product .product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* CATÁLOGO - TÍTULOS Y SUBTÍTULOS */
#catalogPage .product-grids .single-product .product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#catalogPage .product-grids .single-product .product-info h4.title {
    color: #682D3B !important;
    font-size: 22px !important;
    font-weight: normal !important;
}

#catalogPage .product-grids .single-product .product-info h5.title {
    color: #806952 !important;
    font-size: 17px !important;
    font-weight: normal !important;
    opacity: 1 !important;
}

/* CATÁLOGO - ALINEACIÓN DE PRECIOS */
#catalogPage .product-grids #nav-grid .single-product>a {
    display: flex;
    flex-direction: column;
    flex: 1;
}

#catalogPage .product-grids #nav-grid .single-product .product-info {
    flex: 1;
}

#catalogPage .product-grids #nav-grid .single-product .div-price {
    margin-top: auto !important;
}

/* CATÁLOGO - BORDE REDONDEADO DEL HOVER */
#catalogPage .product-grids .single-product {
    overflow: hidden;
}

/* CATÁLOGO - CONTENEDOR DE CATEGORÍAS */
#catalogPage .product-grids .container-category {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.2);
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 25px 20px;
}

/* CATÁLOGO - TÍTULO DE CATEGORÍAS */
#catalogPage .product-grids .container-category>p {
    background-color: transparent !important;
    color: #682D3B !important;
    font-size: 24px !important;
    font-weight: normal !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

/* CATÁLOGO - ENLACES DE CATEGORÍAS */
#catalogPage .product-grids .container-category .tree {
    margin: 0 !important;
    padding: 0 !important;
}

#catalogPage .product-grids .container-category .tree li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(104, 45, 59, 0.1);
}

#catalogPage .product-grids .container-category .tree li:last-of-type {
    border-bottom: none;
}

#catalogPage .product-grids .container-category .tree li a {
    color: #333333 !important;
    font-size: 17px !important;
    transition: color 0.3s ease;
}

#catalogPage .product-grids .container-category .tree li a:hover {
    color: #682D3B !important;
    letter-spacing: normal;
}

#catalogPage .product-grids .container-category .tree li::before,
#catalogPage .product-grids .container-category .tree li::after {
    display: none;
}

/* CATÁLOGO - ICONOS DE CATEGORÍAS */
#catalogPage .product-grids .container-category .tree li a::before {
    content: "\f02c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900;
    font-size: 13px;
    color: #682D3B;
    display: inline-block;
    width: 28px;
}

/* CATÁLOGO - CATEGORÍA ACTIVA */
#catalogPage .product-grids .container-category .tree li a.categoria-activa {
    color: #682D3B !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
}

/* CATÁLOGO - BARRA SUPERIOR */
#catalogPage .product-grids .container-search {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.2);
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 20px !important;
}

/* CATÁLOGO - BUSCADOR Y ORDENAMIENTO */
#catalogPage .product-grids .container-search .form-control,
#catalogPage .product-grids .container-search .form-select {
    font-size: 16px !important;
    color: #682D3B !important;
    border: 1px solid rgba(104, 45, 59, 0.25) !important;
    border-radius: 6px;
    min-height: 42px;
    box-shadow: none !important;
}

#catalogPage .product-grids .container-search .form-control:focus,
#catalogPage .product-grids .container-search .form-select:focus {
    border-color: #682D3B !important;
}

#catalogPage .product-grids .container-search .input-group .btn {
    background-color: #682D3B !important;
    border-color: #682D3B !important;
    color: #FFFFFF !important;
    padding: 0 18px;
    transition: background-color 0.3s ease;
}

#catalogPage .product-grids .container-search .input-group .btn:hover {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CATÁLOGO - SELECTOR DE VISUALIZACIÓN */
#catalogPage .product-grids #nav-tab {
    border: none !important;
}

#catalogPage .product-grids #nav-tab .nav-link {
    color: #806952 !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    padding: 8px 10px;
    font-size: 18px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

#catalogPage .product-grids #nav-tab .nav-link:hover {
    color: #682D3B !important;
}

#catalogPage .product-grids #nav-tab .nav-link.active {
    color: #FFFFFF !important;
    background-color: #682D3B !important;
    border-color: #682D3B !important;
}

/* CATÁLOGO - BOTÓN AGREGAR AL CARRITO */
#catalogPage .product-grids .product-btn .addcart {
    background-color: #682D3B !important;
    border: 1px solid #682D3B !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: normal !important;
    text-transform: none !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease;
}

#catalogPage .product-grids .product-btn .addcart:hover {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CATÁLOGO - BOTÓN VER DETALLE */
#catalogPage .product-grids .product-btn .btn-outline-primary {
    background-color: transparent !important;
    border: 1px solid #682D3B !important;
    color: #682D3B !important;
    font-size: 16px !important;
    font-weight: normal !important;
    text-transform: none !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#catalogPage .product-grids .product-btn .btn-outline-primary:hover {
    background-color: #682D3B !important;
    color: #FFFFFF !important;
}

/* CATÁLOGO - OCULTAR SELECTOR DE PAGINACIÓN */
#catalogPage .product-grids .text-paginator {
    display: none !important;
}

/* CATÁLOGO - Distribución de tarjetas en móviles */
@media (max-width: 575.98px) {
    #catalogPage .product-grids #nav-grid .container-products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #catalogPage .product-grids #nav-grid .container-products>div[dusk] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* CATÁLOGO - BARRA SUPERIOR EN MÓVILES */
@media (max-width: 767.98px) {
    #catalogPage .product-grids .container-search {
        margin-bottom: 25px !important;
    }

    #catalogPage .product-grids .filter-button span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 8px 14px;
        background-color: transparent;
        border: 1px solid #682D3B;
        border-radius: 6px;
        color: #682D3B !important;
        font-size: 16px !important;
    }

    #catalogPage .product-grids .filter-button span i {
        color: #682D3B !important;
    }
}

/* CATÁLOGO - PANEL DE FILTROS EN MÓVILES */
#catalogPage #modalFilterVariants .modal-content {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 12px !important;
    overflow: hidden;
}

#catalogPage #modalFilterVariants .modal-header {
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
}

#catalogPage #modalFilterVariants .modal-title {
    color: #682D3B !important;
    font-size: 20px !important;
}

#catalogPage #modalFilterVariants #clear-filters {
    color: #682D3B !important;
    font-size: 14px !important;
}

#catalogPage #modalFilterVariants i {
    color: #682D3B !important;
}

#catalogPage #modalFilterVariants .title-filter {
    color: #682D3B !important;
    font-size: 18px !important;
}

#catalogPage #modalFilterVariants .tree li a {
    color: #333333 !important;
    font-size: 16px !important;
}

/* CATÁLOGO - OCULTAR ETIQUETAS EN MÓVILES */
#catalogPage #modalFilterVariants .modal-body>.single-widget:nth-of-type(2) {
    display: none !important;
}

/* CATÁLOGO - ENLACES DE CATEGORÍAS EN MÓVILES */
#catalogPage #modalFilterVariants .tree {
    margin: 15px 20px 0 !important;
    padding: 0 !important;
}

#catalogPage #modalFilterVariants .tree li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(104, 45, 59, 0.1);
}

#catalogPage #modalFilterVariants .tree li:last-of-type {
    border-bottom: none;
}

#catalogPage #modalFilterVariants .tree li::before,
#catalogPage #modalFilterVariants .tree li::after {
    display: none;
}

#catalogPage #modalFilterVariants .tree li a::before {
    content: "\f02c";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900;
    font-size: 13px;
    color: #682D3B;
    display: inline-block;
    width: 28px;
}

#catalogPage #modalFilterVariants .tree li a.categoria-activa {
    color: #682D3B !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    text-underline-offset: 6px;
}

/* CATÁLOGO - BOTONES DE PAGINACIÓN */
#catalogPage .product-grids [wire\:key^="pagination-full-"] .btn {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 16px !important;
    border-radius: 6px !important;
    border-color: rgba(104, 45, 59, 0.3) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#catalogPage .product-grids [wire\:key^="pagination-full-"] .btn-outline-primary {
    background-color: transparent;
    color: #682D3B !important;
}

#catalogPage .product-grids [wire\:key^="pagination-full-"] .btn-primary,
#catalogPage .product-grids [wire\:key^="pagination-full-"] .btn.active,
#catalogPage .product-grids [wire\:key^="pagination-full-"] .btn:hover {
    background-color: #682D3B !important;
    border-color: #682D3B !important;
    color: #FFFFFF !important;
}

/* CATÁLOGO - TÍTULO DE CATEGORÍAS */
#catalogPage .product-grids .breadcrumb-catalogo {
    color: #682D3B !important;
    font-size: 38px !important;
}

#catalogPage .product-grids .breadcrumb-catalogo * {
    color: #682D3B !important;
    font-size: inherit !important;
    font-weight: normal !important;
}

@media (max-width: 767.98px) {
    #catalogPage .product-grids .breadcrumb-catalogo {
        font-size: 30px !important;
    }
}

/* CATÁLOGO - AJUSTE DEL TÍTULO DE CATEGORÍAS */
#catalogPage .product-grids .breadcrumb-catalogo .fw-bold,
#catalogPage .product-grids .breadcrumb-catalogo strong,
#catalogPage .product-grids .breadcrumb-catalogo b {
    font-weight: 400 !important;
}

#catalogPage .product-grids .breadcrumb-catalogo i {
    font-size: 18px !important;
    color: #806952 !important;
    vertical-align: middle;
    margin: 0 8px;
}

/* CATÁLOGO - GROSOR DEL TÍTULO DE CATEGORÍAS */
#catalogPage .product-grids .breadcrumb-catalogo small a.text-444.fw-light {
    font-weight: 400 !important;
}

/* CATÁLOGO - OCULTAR SELECTOR DE VISUALIZACIÓN */
#catalogPage .product-grids #nav-tab {
    display: none !important;
}

/* DETALLE DE PRODUCTO - FONDO GENERAL */
#catalogPage>.item-details {
    background-color: #F5F0E8 !important;
}

/* DETALLE DE PRODUCTO - RUTA DE NAVEGACIÓN */
#catalogPage .item-details .breadcrumb-catalogo a {
    color: #682D3B !important;
    font-size: 17px !important;
    font-weight: normal !important;
    text-decoration: none;
}

#catalogPage .item-details .breadcrumb-catalogo a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

#catalogPage .item-details .breadcrumb-catalogo i {
    color: #806952 !important;
    font-size: 11px !important;
}

/* DETALLE DE PRODUCTO - OCULTAR SKU */
#catalogPage .item-details #options .product-info>div.d-flex:has(> span:first-child):not(.justify-content-between) {
    display: none !important;
}

/* DETALLE DE PRODUCTO - CONTENEDOR PRINCIPAL */
#catalogPage .item-details .top-area {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* DETALLE DE PRODUCTO - FOTOGRAFÍA PRINCIPAL */
#catalogPage .item-details #images {
    border: none !important;
}

#catalogPage .item-details #images .mySwiper2 {
    width: 100%;
    max-width: 400px;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto !important;
    background-color: #FFFFFF;
    border: 1px solid rgba(104, 45, 59, 0.7);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

#catalogPage .item-details #image-detail-carrousel,
#catalogPage .item-details #image-detail-carrousel .swiper-slide {
    height: 100% !important;
    max-height: none !important;
}

#catalogPage .item-details #image-detail-carrousel img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* DETALLE DE PRODUCTO - OCULTAR MINIATURA ÚNICA */
#catalogPage .item-details #images .swiper-thumbs:has(.swiper-wrapper > .swiper-slide:only-child) {
    display: none !important;
}

/* DETALLE DE PRODUCTO - TÍTULO */
#catalogPage .item-details #options h1.title {
    color: #682D3B !important;
    font-size: 38px !important;
    font-weight: normal !important;
    line-height: 1.2;
}

/* DETALLE DE PRODUCTO - SUBTÍTULO */
#catalogPage .item-details #options .product-info>h2 {
    color: #806952 !important;
    font-size: 20px !important;
    font-weight: normal !important;
    opacity: 1 !important;
}

/* DETALLE DE PRODUCTO - ELIMINAR SEPARADOR VERTICAL */
#catalogPage .item-details .wrapper-details-product {
    border: none !important;
}

/* DETALLE DE PRODUCTO - PRECIO */
#catalogPage .item-details #options h3.price {
    color: #4D4900 !important;
    font-size: 30px !important;
    font-weight: normal !important;
    font-variant-numeric: lining-nums tabular-nums;
}

/* DETALLE DE PRODUCTO - SELECTOR DE CANTIDAD */
#catalogPage .item-details .input-group-sm .btn,
#catalogPage .item-details #number {
    min-height: 38px;
    font-size: 16px !important;
}

#catalogPage .item-details #number {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    font-variant-numeric: lining-nums tabular-nums;
}

/* DETALLE DE PRODUCTO - TÍTULO EN MÓVILES */
@media (max-width: 767.98px) {
    #catalogPage .item-details #options h1.title {
        font-size: 30px !important;
    }
}

/* DETALLE DE PRODUCTO - OCULTAR CANTIDAD EN STOCK */
#catalogPage .item-details .product-info span.ps-sm-3.text-nowrap {
    display: none !important;
}

/* DETALLE DE PRODUCTO - BOTONES DE COMPRA */
#catalogPage .item-details #btnBuyNowDetail,
#catalogPage .item-details #addCartBtnDetail {
    font-size: 18px !important;
    font-weight: normal !important;
    min-height: 46px;
    border-radius: 6px !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#catalogPage .item-details #btnBuyNowDetail:hover {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

#catalogPage .item-details #addCartBtnDetail:hover {
    background-color: #682D3B !important;
    color: #FFFFFF !important;
}

/* DETALLE DE PRODUCTO - SEPARACIÓN DE BOTONES */
#catalogPage .item-details .product-btn {
    margin-top: 30px !important;
}

#catalogPage .item-details #addCartBtnDetail {
    margin-top: 10px !important;
}

/* DETALLE DE PRODUCTO - ICONOS DE WHATSAPP Y COMPARTIR */
#catalogPage .item-details .btn-wsp-share .btn {
    font-size: 22px !important;
}

/* DETALLE DE PRODUCTO - SECCIÓN DESCRIPCIÓN */
#catalogPage .item-details #methods-tabs {
    margin-top: 25px;
}

#catalogPage .item-details #product-detail-tabs {
    border: none !important;
    border-top: 1px solid rgba(104, 45, 59, 0.2) !important;
    padding-top: 18px;
}

#catalogPage .item-details #nav-description-tab {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#catalogPage .item-details #nav-description-tab h6 {
    color: #682D3B !important;
    font-size: 26px !important;
    font-weight: normal !important;
    padding: 0 !important;
    margin: 0;
}

#catalogPage .item-details #product-detail-tabs-content {
    background-color: transparent !important;
    border: none !important;
    padding: 12px 0 0 !important;
}

/* DETALLE DE PRODUCTO - TEXTO DE LA DESCRIPCIÓN */
#catalogPage .item-details .product-description {
    color: #333333;
    font-size: 17px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
    padding: 0 0 18px;
}

#catalogPage .item-details .product-description p {
    margin-bottom: 12px;
}

#catalogPage .item-details .product-description p:last-child {
    margin-bottom: 0;
}

/* DETALLE DE PRODUCTO - CENTRAR PRODUCTOS RELACIONADOS */
@media (min-width: 992px) {
    #catalogPage:has(> .item-details) .slider-product-gallery:has(> .tns-item:not(.tns-slide-cloned):nth-last-child(n)) {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        transform: none !important;
    }

    #catalogPage:has(> .item-details) .slider-product-gallery>.tns-slide-cloned {
        display: none !important;
    }

    #catalogPage:has(> .item-details) .slider-product-gallery>.tns-item:not(.tns-slide-cloned) {
        width: 25% !important;
    }
}

/* DETALLE DE PRODUCTO - TÍTULO DE PRODUCTOS RELACIONADOS */
#catalogPage:has(> .item-details) .productos-relacionados-titulo {
    color: #682D3B;
    font-size: 28px;
    font-weight: normal;
    text-align: center;
    margin: 0 0 30px;
}

/* DETALLE DE PRODUCTO - ALINEACIÓN DE PRECIOS RELACIONADOS */
@media (min-width: 992px) {
    #catalogPage:has(> .item-details) .slider-product-gallery .single-product>a {
        display: flex !important;
        flex-direction: column;
        flex: 1;
    }

    #catalogPage:has(> .item-details) .slider-product-gallery .slider-info {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    #catalogPage:has(> .item-details) .slider-product-gallery .div-price {
        margin-top: auto !important;
    }
}

/* DETALLE DE PRODUCTO - SEPARACIÓN DEL FOOTER */
#catalogPage:has(> .item-details) .gallery-ss[data-design="product-gallery"] {
    margin-bottom: 50px !important;
}

/* DETALLE DE PRODUCTO - VERSIÓN MÓVIL */
@media (max-width: 767.98px) {
    #catalogPage .item-details .btn-return {
        display: none !important;
    }

    #catalogPage .item-details #images .mySwiper2 {
        width: calc(100% - 30px);
    }

    #catalogPage .item-details #options .product-info {
        text-align: center;
    }

    #catalogPage .item-details #options .product-info > .d-flex.justify-content-between {
        justify-content: center !important;
    }

    #catalogPage .item-details .wrapper-details-product {
        padding-top: 25px !important;
    }

    #catalogPage .item-details .product-info > .mt-4 {
        margin-top: 15px !important;
    }

    #catalogPage .item-details .product-btn {
        margin-top: 20px !important;
    }

    #catalogPage .item-details .btn-wsp-share {
        justify-content: center !important;
        margin-top: 15px !important;
        margin-bottom: 0 !important;
    }

    #catalogPage .item-details #methods-tabs {
        margin-top: 20px !important;
    }

    #catalogPage .item-details #product-detail-tabs {
        border-top: 1px solid rgba(104, 45, 59, 0.3) !important;
        padding-top: 18px;
    }
}

/* DETALLE DE PRODUCTO - AJUSTES DE ESPACIADO EN MÓVILES */
@media (max-width: 767.98px) {
    #catalogPage .item-details {
        padding-top: 25px !important;
    }

    #catalogPage .item-details .wrapper-details-product {
        padding-top: 10px !important;
    }

    #catalogPage .item-details .product-info > .mt-4 {
        margin-top: 8px !important;
    }
}

/* Notificación de producto agregado al carrito */
.toast:has(.toast-header img) {
    width: 380px !important;
    max-width: calc(100vw - 30px) !important;
}

.toast:has(.toast-header img) .toast-header {
    padding: 12px 15px !important;
}

.toast .toast-header img {
    width: 65px !important;
    height: 65px !important;
}

.toast:has(.toast-header img) .toast-header .gap-2 {
    gap: 12px !important;
}

.toast:has(.toast-header img) .toast-header span.fw-semibold {
    font-size: 1.05rem !important;
}

.toast:has(.toast-header img) .toast-header small {
    font-size: 0.95rem !important;
}

/* CHECKOUT - ELIMINAR SCROLL INTERNO DEL FORMULARIO */
#checkoutSection .checkout-scroll-container {
    max-height: none !important;
    overflow: visible !important;
}

/* CHECKOUT - FONDO GENERAL */
.sitePage:has(#checkoutSection) {
    background-color: #F5F0E8 !important;
}

/* CHECKOUT - TÍTULOS DEL FORMULARIO */
#checkoutSection .checkout-scroll-container h4 {
    color: #682D3B !important;
    font-size: 26px !important;
    font-weight: normal !important;
    line-height: 1.3;
}

/* CHECKOUT - CAMPOS DEL FORMULARIO */
#checkoutSection .checkout-scroll-container .form-control,
#checkoutSection .checkout-scroll-container .form-select {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: 1px solid rgba(104, 45, 59, 0.25) !important;
    border-radius: 6px !important;
    min-height: 42px;
    box-shadow: none !important;
}

#checkoutSection .form-control:focus,
#checkoutSection .form-select:focus {
    border-color: #682D3B !important;
}

/* CHECKOUT - RESUMEN DE COMPRA */
#checkoutSection #acordeonCart {
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

/* CHECKOUT - TÍTULO DEL RESUMEN DE COMPRA */
#checkoutSection #acordeonCart .accordion-button {
    color: #682D3B !important;
    font-size: 24px !important;
    font-weight: normal !important;
}

/* CHECKOUT - FOTOGRAFÍAS DEL RESUMEN */
#checkoutSection #acordeonCart img {
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 6px;
}

/* CHECKOUT - SEGUIR COMPRANDO */
#checkoutSection a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* CHECKOUT - ENCABEZADO */
body:has(#checkoutSection) header #navbar {
    background-color: #F5F0E8 !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
}

/* CHECKOUT - OCULTAR NOMBRE JUNTO AL LOGO */
body:has(#checkoutSection) header #navbar div:has(> .title-header) {
    display: none !important;
}

/* CHECKOUT - NOMBRES DE LOS PRODUCTOS */
#checkoutSection #acordeonCart .container-products-cart .title {
    color: #682D3B !important;
    font-size: 17px !important;
    font-weight: normal !important;
}

/* CHECKOUT - PRECIOS DEL RESUMEN */
#checkoutSection #acordeonCart .price,
#checkoutSection #acordeonCart .price-item p:last-child,
#checkoutSection #acordeonCart #total {
    color: #4D4900 !important;
    font-variant-numeric: lining-nums tabular-nums;
}

/* CHECKOUT - SEPARADORES DE PRODUCTOS */
#checkoutSection #acordeonCart .container-products-cart .border-bottom {
    border-bottom: 1px solid rgba(104, 45, 59, 0.2) !important;
    padding-top: 8px;
    padding-bottom: 4px;
}

/* CHECKOUT - TOTAL DE COMPRA */
#checkoutSection #acordeonCart .price-item-total {
    font-size: 22px;
    color: #682D3B;
    padding-top: 12px !important;
}

/* MODALES DE USUARIO - FONDO Y SOMBRA */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc, #modalLogout) .modal-content {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* MODALES DE USUARIO - ENCABEZADO */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc, #modalLogout) .modal-header {
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
}

/* MODALES DE USUARIO - TÍTULOS */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc, #modalLogout) .modal-title {
    color: #682D3B !important;
    font-size: 26px !important;
    font-weight: normal !important;
}

/* MODALES DE USUARIO - CAMPOS DEL FORMULARIO */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc) .form-control {
    background-color: #FFFFFF !important;
    color: #333333 !important;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 6px;
    box-shadow: none !important;
}

:is(#modalLogin, #modalNewAcc, #modalResetPassAcc) .form-control:focus {
    border-color: #682D3B;
}

/* MODALES DE USUARIO - BOTONES PRINCIPALES */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc) form .btn-outline-primary {
    background-color: #682D3B !important;
    border-color: #682D3B !important;
    color: #FFFFFF !important;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

:is(#modalLogin, #modalNewAcc, #modalResetPassAcc) form .btn-outline-primary:hover {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* MODALES DE USUARIO - OSCURECER FONDO */
:is(#modalLogin, #modalNewAcc, #modalResetPassAcc, #modalLogout).show {
    background-color: rgba(0, 0, 0, 0.4);
}

/* CHECKOUT - MÉTODOS DE ENVÍO */
#checkoutSection .checkout-scroll-container .radio2 {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 18px !important;
}

/* CHECKOUT - DESCRIPCIÓN DEL MÉTODO DE ENVÍO */
#checkoutSection .checkout-scroll-container .radio2 .containerDisabled {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    min-height: 0;
    padding: 10px 0 0 !important;
    margin-bottom: 0 !important;
    color: #806952 !important;
    font-size: 15px;
    line-height: 1.5;
}

/* CHECKOUT - SEPARADORES HORIZONTALES */
#checkoutSection .checkout-scroll-container hr {
    border: none !important;
    border-top: 1px solid rgba(104, 45, 59, 0.25) !important;
    opacity: 1 !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* CHECKOUT - BOTÓN CAMBIAR CÓDIGO POSTAL */
#checkoutSection button[wire\:click="changeCP"] {
    border-radius: 6px !important;
    min-height: 38px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#checkoutSection button[wire\:click="changeCP"]:hover:not(:disabled) {
    background-color: #682D3B !important;
    color: #FFFFFF !important;
}

/* CHECKOUT - BOTÓN SIGUIENTE */
#checkoutSection #next-to-payments {
    min-height: 46px;
    font-size: 18px !important;
    border-radius: 6px !important;
    transition: background-color 0.3s ease;
}

#checkoutSection #next-to-payments:hover:not(:disabled) {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CHECKOUT - SUBTÍTULOS DE SECCIONES */
#checkoutSection .checkout-scroll-container p.mb-0:has(+ h4) {
    color: #806952 !important;
    font-size: 16px;
    margin-bottom: 5px !important;
}

/* CHECKOUT - CAMPOS NO EDITABLES */
#checkoutSection .checkout-scroll-container input.form-control:disabled {
    background-color: #EDE8E0 !important;
    color: #806952 !important;
    opacity: 1 !important;
}

/* CHECKOUT - ESPACIADO ENTRE SECCIONES */
#checkoutSection .checkout-scroll-container .my-4 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

#checkoutSection .checkout-scroll-container .divOtherPerson {
    margin-top: 20px !important;
}

/* CHECKOUT - UNIFICAR TARJETAS DE PAGO */
#checkoutSection .checkout-scroll-container :is(.radio2, .radio3):has(input[value][wire\:model\.live="selectedPayment"]) {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 15px 18px !important;
}

/* CHECKOUT - ICONOS DE MÉTODOS DE PAGO */
#checkoutSection .checkout-scroll-container :is(.radio2, .radio3) .form-check-label i {
    color: #682D3B !important;
    width: 22px;
    text-align: center;
}

/* CHECKOUT - BOTÓN APLICAR CUPÓN */
#checkoutSection button[dusk="send-coupon"] {
    border-radius: 0 6px 6px 0 !important;
    transition: background-color 0.3s ease;
}

#checkoutSection button[dusk="send-coupon"]:hover:not(:disabled) {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CHECKOUT - CAMPO DE ACLARACIONES */
#checkoutSection textarea[wire\:model\.live="payment_note"] {
    min-height: 100px;
    resize: vertical;
}

/* CHECKOUT - BOTÓN COMPLETAR COMPRA */
#checkoutSection button[dusk="end-purchase"] {
    min-height: 46px;
    font-size: 18px !important;
    border-radius: 6px !important;
    transition: background-color 0.3s ease;
}

#checkoutSection button[dusk="end-purchase"]:hover:not(:disabled) {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CHECKOUT - MODAL CONFIRMAR COMPRA */
#make_modal_purchase .modal-content {
    background-color: #F5F0E8 !important;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#make_modal_purchase .modal-header {
    border-bottom: 1px solid rgba(104, 45, 59, 0.2);
}

#make_modal_purchase .modal-title {
    color: #682D3B !important;
    font-size: 26px !important;
    font-weight: normal !important;
}

#make_modal_purchase .modal-body p {
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

#make_modal_purchase .modal-body .btn {
    border-radius: 6px !important;
    min-height: 42px;
    transition: background-color 0.3s ease;
}

#make_modal_purchase .modal-body .btn-primary:hover:not(:disabled) {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CHECKOUT - CONFIRMACIÓN EN MÓVILES */
@media (max-width: 575.98px) {
    #make_modal_purchase .modal-body {
        padding: 20px !important;
    }

    #make_modal_purchase .modal-body .d-flex:has(> button) {
        flex-direction: column;
        gap: 12px;
    }

    #make_modal_purchase .modal-body .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}

/* CONTACTO - Estructura general */
section[data-ss-id="U9p6twwX"] {
    padding-top: 40px;
    padding-bottom: 60px;
}
section[data-ss-id="U9p6twwX"] > h1 {
    color: #682D3B;
    font-size: 38px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 10px;
}
section[data-ss-id="U9p6twwX"] > p {
    color: #806952;
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px !important;
}
section[data-ss-id="U9p6twwX"] > .ssc-row > .ssc-col:first-child {
    padding-right: 40px;
}
section[data-ss-id="U9p6twwX"] h2 {
    color: #682D3B;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 15px;
}

/* CONTACTO - Datos de contacto */
#spring-contacto-datos {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 30px;
}
#spring-contacto-datos .contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
#spring-contacto-datos .contacto-item i {
    color: #682D3B;
    font-size: 23px;
    width: 30px;
    flex-shrink: 0;
    text-align: center;
}
#spring-contacto-datos .contacto-item a,
#spring-contacto-datos .contacto-item p {
    color: #333333;
    font-size: 18px;
    text-decoration: none;
    margin: 0;
}
#spring-contacto-datos .contacto-item a:hover {
    color: #682D3B;
    text-decoration: underline;
}

/* CONTACTO - Formulario */
#contact .ssc-form-fields-container {
    row-gap: 18px !important;
    column-gap: 15px !important;
}
#contact .ssc-form-field-label {
    color: #333333;
    font-size: 16px;
    margin-bottom: 6px;
}
#contact .form-control {
    background-color: #FFFFFF;
    color: #333333;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 6px;
    min-height: 44px;
    font-size: 16px;
    box-shadow: none;
}
#contact .form-control:focus {
    border-color: #682D3B;
    box-shadow: 0 0 0 2px rgba(104, 45, 59, 0.10);
}
#contact textarea.form-control {
    min-height: 150px;
    resize: vertical;
}
#contact .ssc-form-checkbox-container {
    font-size: 14px;
    line-height: 1.5;
    color: #806952;
}
#contact button[type="submit"] {
    background-color: #682D3B !important;
    border-color: #682D3B !important;
    border-radius: 6px;
    font-size: 18px;
    min-height: 46px;
    padding: 10px 25px;
    transition: background-color 0.2s, border-color 0.2s;
}
#contact button[type="submit"]:hover {
    background-color: #806952 !important;
    border-color: #806952 !important;
}

/* CONTACTO - Versión móvil */
@media (max-width: 767px) {
    section[data-ss-id="U9p6twwX"] {
        padding: 30px 20px 40px;
    }
    section[data-ss-id="U9p6twwX"] > h1 {
        font-size: 32px;
    }
    section[data-ss-id="U9p6twwX"] > p {
        font-size: 17px;
        margin-bottom: 30px !important;
    }
    section[data-ss-id="U9p6twwX"] > .ssc-row > .ssc-col:first-child {
        padding-right: 0;
        margin-bottom: 40px;
    }
    section[data-ss-id="U9p6twwX"] h2 {
        font-size: 26px;
    }
    #spring-contacto-datos {
        gap: 18px;
        margin-top: 25px;
    }
    #contact .ssc-form-field {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        grid-column: 1 / -1 !important;
    }
    #contact button[type="submit"] {
        width: 100%;
    }
}

/* HEADER - Banderas en móviles */
@media (max-width: 767px) {
    #ss-language {
        gap: 20px !important;
        padding: 15px 0;
    }
    #ss-language a {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }
    #ss-language img {
        width: 40px;
        height: auto !important;
        border-radius: 5px !important;
    }
}

/* CHECKOUT - Ajustes finales en móviles */
@media (max-width: 767px) {
    #checkoutSection .checkout-scroll-container .text-primary {
        color: #682D3B !important;
    }
    #checkoutSection textarea[wire\:model\.live="payment_note"] {
        min-height: 130px !important;
        resize: vertical;
    }
    #checkoutSection .checkout-scroll-container hr {
        border: 0 !important;
        border-top: 1px solid rgba(104, 45, 59, 0.25) !important;
        opacity: 1;
    }
}

/* PÁGINAS LEGALES - Estilos generales */
section:has(.spring-legal) {
    padding: 40px 20px 60px;
}
section:has(.spring-legal) > h1 {
    color: #682D3B;
    font-size: 38px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 25px;
}
.spring-legal {
    max-width: 950px;
    margin: 0 auto;
    color: #333333;
    font-size: 17px;
    line-height: 1.7;
}
.spring-legal .legal-actualizacion {
    color: #806952;
    font-size: 14px;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
}
.spring-legal h2 {
    color: #682D3B;
    font-size: 24px;
    font-weight: normal;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(104, 45, 59, 0.18);
}
.spring-legal p {
    margin-bottom: 15px;
}
.spring-legal ul {
    padding-left: 25px;
    margin-bottom: 20px;
}
.spring-legal li {
    margin-bottom: 5px;
}
.spring-legal a {
    color: #682D3B;
    text-decoration: underline;
    overflow-wrap: anywhere;
}
.spring-legal a:hover {
    color: #806952;
}

/* PÁGINAS LEGALES - Versión móvil */
@media (max-width: 767px) {
    section:has(.spring-legal) {
        padding: 30px 20px 40px;
    }
    section:has(.spring-legal) > h1 {
        font-size: 32px;
    }
    .spring-legal {
        font-size: 16px;
        line-height: 1.65;
    }
    .spring-legal h2 {
        font-size: 22px;
        margin-top: 25px;
    }
    .spring-legal ul {
        padding-left: 20px;
    }
}

/* BOTÓN DE ARREPENTIMIENTO - Modal */
#regretModal .modal-content {
    background-color: #F5F0E8;
    color: #333333 !important;
    border: 1px solid rgba(104, 45, 59, 0.20);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
#regretModal .item-details {
    background-color: transparent !important;
}
#regretModal h5 {
    color: #682D3B;
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 20px;
}
#regretModal .form-label {
    color: #333333;
    font-size: 16px;
}
#regretModal .form-control {
    background-color: #FFFFFF;
    color: #333333;
    border: 1px solid rgba(104, 45, 59, 0.25);
    border-radius: 6px;
    min-height: 44px;
    font-size: 16px;
    box-shadow: none;
}
#regretModal .form-control:focus {
    border-color: #682D3B;
    box-shadow: 0 0 0 2px rgba(104, 45, 59, 0.10);
}
#regretModal textarea.form-control {
    min-height: 100px;
    resize: vertical;
}
#regretModal .small {
    color: #806952;
}
#regretModal .my-4 {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}
#regretModal .modal-footer .btn {
    background-color: #682D3B;
    border-color: #682D3B;
    border-radius: 6px !important;
    font-size: 18px;
    min-height: 46px;
    transition: background-color 0.2s, border-color 0.2s;
}
#regretModal .modal-footer .btn:hover {
    background-color: #806952;
    border-color: #806952;
}

/* BOTÓN DE ARREPENTIMIENTO - Versión móvil */
@media (max-width: 767px) {
    #regretModal h5 {
        font-size: 23px;
    }
    #regretModal .modal-dialog {
        margin: 15px;
    }
    #regretModal .modal-footer .btn {
        width: 100% !important;
    }
}

/* BOTÓN DE ARREPENTIMIENTO - Enlace del footer */
a[data-bs-target="#regretModal"] {
    font-size: 15px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}
a[data-bs-target="#regretModal"]:hover {
    background-color: #F5F0E8;
    color: #682D3B !important;
}

/* BOTÓN DE ARREPENTIMIENTO - Icono */
a[data-bs-target="#regretModal"]::before {
    content: "\f2ea";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900;
    font-size: 16px;
    margin-right: 8px;
}

/* HEADER - Banderas en escritorio */
@media (min-width: 992px) {
    #ss-language {
        gap: 12px !important;
    }
    #ss-language a img {
        width: 32px;
        height: auto !important;
        border-radius: 4px !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    #ss-language a:hover img {
        transform: translateY(-2px);
        box-shadow: 0 3px 8px rgba(104, 45, 59, 0.25);
    }
}

/* HEADER - Bandera del idioma activo */
html:lang(es) #ss-language a[dusk="select-lang/es-ar"] img,
html:lang(en) #ss-language a[dusk="select-lang/en-us"] img {
    outline: 1px solid #682D3B;
    outline-offset: 3px;
    box-shadow: 0 2px 6px rgba(104, 45, 59, 0.20);
}

/* HOME - Galerías de productos en móviles */
@media (max-width: 575.98px) {
    #catalogPage.gallery-ss[data-design="product-gallery"] .single-product {
        padding: 12px 10px !important;
        border-radius: 8px !important;
        margin-bottom: 0 !important;
    }
    #catalogPage.gallery-ss[data-design="product-gallery"] .product-image {
        max-width: none;
        margin: 0 auto 12px !important;
        border-radius: 6px;
    }
    #catalogPage.gallery-ss .single-product > a {
        display: flex !important;
        flex-direction: column;
        flex: 1;
    }
    #catalogPage.gallery-ss .single-product .slider-info {
        display: flex !important;
        flex-direction: column;
        flex: 1;
        min-height: 116px;
    }
    #catalogPage.gallery-ss .single-product .product-info h4.title.text-444 {
        font-size: 17px !important;
        line-height: 1.2;
        margin-bottom: 5px;
        overflow-wrap: break-word;
    }
    #catalogPage.gallery-ss .product-subtitle {
        font-size: 13px !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    #catalogPage.gallery-ss .single-product .div-price {
        margin-top: auto !important;
        padding-top: 8px;
    }
    #catalogPage.gallery-ss .single-product .div-price .price {
        font-size: 18px !important;
    }
    #catalogPage.gallery-ss .slider-product-gallery {
        display: flex !important;
        align-items: stretch;
    }
    #catalogPage.gallery-ss .slider-product-gallery > .tns-item {
        height: auto !important;
    }
    #catalogPage.gallery-ss .control {
        top: calc((100vw - 80px) / 4 + 12px) !important;
    }
    #catalogPage.gallery-ss .control li {
        width: 34px !important;
        height: 34px !important;
    }
    #catalogPage.gallery-ss .control li i {
        font-size: 18px !important;
    }
    #catalogPage.gallery-ss .tns-nav button {
        width: 8px !important;
        height: 8px !important;
    }
    #catalogPage.gallery-ss {
        margin-bottom: 20px !important;
    }
    #separador-vinos {
        margin-bottom: 25px !important;
    }
}

/* CATÁLOGO - Estética de tarjetas en móviles */
@media (max-width: 575.98px) {
    #catalogPage .product-grids #nav-grid .single-product {
        padding: 12px 10px !important;
        border-radius: 8px !important;
    }
    #catalogPage .product-grids #nav-grid .single-product .product-image {
        max-width: none;
        margin: 0 auto 12px !important;
        border-radius: 6px;
    }
    #catalogPage .product-grids #nav-grid .single-product .product-info h4.title {
        font-size: 17px !important;
        line-height: 1.2;
        margin-bottom: 5px;
    }
    #catalogPage .product-grids #nav-grid .single-product .product-info h5.title,
    #catalogPage .product-grids #nav-grid .product-subtitle {
        font-size: 13px !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    #catalogPage .product-grids #nav-grid .single-product .div-price .price {
        font-size: 18px !important;
    }
    #catalogPage .product-grids #nav-grid .single-product .div-price {
        padding-top: 8px;
    }
    #catalogPage .product-grids #nav-grid .product-btn .addcart {
        font-size: 12px !important;
        padding: 10px 4px !important;
        min-height: 44px;
        line-height: 1.2;
        width: 100%;
    }
    #catalogPage .product-grids #nav-grid .single-product:hover {
        transform: none;
        box-shadow: none !important;
    }
}

/* CATÁLOGO - Menú de categorías en móviles */
@media (max-width: 767.98px) {
    #modalFilterVariants #clear-filters {
        display: none !important;
    }
    #modalFilterVariants .modal-header .close {
        cursor: pointer;
    }
    #catalogPage .product-grids .filter-button {
        margin-left: 12px !important;
    }
    #catalogPage .product-grids .filter-button span {
        white-space: nowrap;
    }
    #catalogPage .product-grids .filter-button span i {
        display: none !important;
    }
}