/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #ffffff;
    color: #3a2e2f;
    line-height: 1.5;
    min-height: 100vh;hheeaa
    /*padding: 2rem;**/
}
/*
@media (min-width: 768px) {
    body {
        padding: 2.5rem;
    }
}

 Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Links and Images */
a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Color Variables */
:root {
    --burgundy: #ac1d53;
    --orange: #f08a27;
    --yellow: #e8e046;
    --brown: #3a2e2f;
    --white: #ffffff;
    --gray-50: #f9f9f9;
    --gray-200: #e5e7eb;
    --radius: 0.5rem;
    --verde: #a4a833;
}

/* Utility Classes */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 0;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.py-30 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-6xl {
    font-size: 3.75rem;
}
.text-5xl{
    font-size: 3rem;
}
.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border: 1px solid;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-custom-yellow {
    border-color: var(--yellow);
}

.border-custom-burgundy {
    border-color: var(--burgundy);
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

.bg-white {
    background-color: var(--white);
}

.bg-white\/95 {
    background-color: rgba(255, 255, 255, 0.95);
}

.bg-gray-50 {
    background-color: var(--gray-50);
}

.bg-custom-yellow {
    background-color: var(--yellow);
}
.bg-custom-green {
    background-color: var(--verde);
}

.bg-custom-burgundy {
    background-color: var(--burgundy);
}

.bg-custom-orange {
    background-color: var(--orange);
}

.bg-custom-burgundy\/10 {
    background-color: rgba(172, 29, 83, 0.1);
}

.bg-custom-burgundy\/20 {
    background-color: rgba(172, 29, 83, 0.2);
}

.text-white {
    color: var(--white);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-custom-brown {
    color: var(--brown);
}

.text-custom-burgundy {
    color: var(--burgundy);
}

.text-custom-orange {
    color: var(--orange);
}

.fill-custom-yellow {
    fill: var(--yellow);
}

.fill-custom-brown {
    fill: var(--brown);
}

.w-full {
    width: 100%;
}

.w-10 {
    width: 2.5rem;
}

.w-5 {
    width: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.h-16 {
    height: 4rem;
}

.h-10 {
    height: 2.5rem;
}

.h-5 {
    height: 1.25rem;
}

.h-4 {
    height: 1rem;
}

.h-\[200px\] {
    height: 200px;
}

.h-\[300px\] {
    height: 300px;
}

.h-\[400px\] {
    height: 400px;
}

.max-w-\[600px\] {
    max-width: 600px;
}

.overflow-hidden {
    overflow: hidden;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.hover\:bg-custom-burgundy:hover {
    background-color: var(--burgundy);
}

.hover\:bg-custom-orange:hover {
    background-color: var(--orange);
}

.hover\:bg-custom-orange\/90:hover {
    background-color: rgba(240, 138, 39, 0.9);
}

.hover\:text-white:hover {
    color: var(--white);
}

.hover\:text-custom-burgundy:hover {
    color: var(--burgundy);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.badgeProducto {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 1rem;
    font-size: 10px;
    background: var(--yellow);
}
ul {
    padding-left: 0;
    margin: 0;
}
    /* Components */
    .badge {
        display: inline-flex;
        align-items: center;
        border-radius: 9999px;
        padding: 0.25rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    cursor: pointer;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    border: 1px solid transparent;
}

    .btn-primary:hover {
        background-color: white;
        border: 1px solid var(--orange);
        color: var(--orange);
    }

.btn-outline {
    background-color: transparent;
    border: 1px solid;
}

.btn-outline-burgundy {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

    .btn-outline-burgundy:hover {
        background-color: var(--burgundy);
        color: var(--white);
    }

.card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--yellow);
    transition: all 0.2s ease;
}
.card-wo {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--yellow);
}
.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.light-section {
    background-color: #f9f9f9;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 40;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.-bottom-6 {
    bottom: -1.5rem;
}

.-left-6 {
    left: -1.5rem;
}

/* Responsive Grid */
.grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    .conte-cat {
        height: 180px;
    }

}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:text-4xl {
        font-size: 2.25rem;
    }

    .md\:text-6xl {
        font-size: 3.75rem;
    }

    .md\:h-\[400px\] {
        height: 400px;
    }

    .md\:py-30 {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

    .md\:mt-0 {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hidden {
        display: none;
    }
}

/* Header Styles */
header {
   /* margin-bottom: 2rem; */
}

.header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

    .header-title h1 {
        color: #ac1d53;
        font-size: 1.75rem;
        font-weight: bold;
    }

@media (min-width: 768px) {
    .header-title h1 {
        font-size: 2rem;
    }
}

.header-description {
    color: #3a2e2f;
    font-size: 1.125rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .card-grid       {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card Styles */
.card {
    border: 1px solid #e8e046;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.2s ease;
    /*height: 100%;**/
    text-decoration: none;
    display: block;
    background-color: #ffffff;
}

    .card:hover {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-color: #f08a27;
        cursor: pointer;
    }

.card-header {
    padding: 0rem 1rem 0rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: none;
    height: 70px;
}

.card-icon-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-container {
    padding: 0.5rem;
    border-radius: 0.375rem;
    background-color: rgba(232, 224, 70, 0.2);
}

.card-title {
    color: #ac1d53;
    font-size: 1.25rem;
    font-weight: 600;
    max-height: 3em; /* ~2 líneas de texto */
    overflow: hidden;
    text-align: center;
    line-height: 1.5em;
}

.card-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.card-description {
    color: #3a2e2f;
}
.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--yellow);
    color: var(--brown);
    border-radius: 9999px;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.card-image-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quick Access Section */
    .quick-access {
    margin-top: 2rem;
}

.quick-access-title {
    color: #ac1d53;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .quick-access-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.quick-access-item {
    padding: 1rem;
    border: 1px solid #e8e046;
    border-radius: 0.375rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

    .quick-access-item:hover {
        background-color: rgba(232, 224, 70, 0.1);
    }

.quick-access-icon {
    margin-bottom: 0.5rem;
}

.quick-access-text {
    color: #3a2e2f;
    font-weight: 500;
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 256px;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--burgundy);
    border-radius: 0.375rem;
    color: var(--burgundy);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .dropdown-button:hover {
        background-color: var(--burgundy);
        color: var(--white);
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 256px;
    margin-top: 0.25rem;
    background-color: white;
    border: 1px solid var(--yellow);
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
}

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu ul {
        list-style: none;
        padding: 0.25rem 0;
    }

    .dropdown-menu li button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.5rem 1rem;
        background: none;
        border: none;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        .dropdown-menu li button:hover {
            background-color: rgba(232, 224, 70, 0.1);
        }

        .dropdown-menu li button.active {
            background-color: rgba(232, 224, 70, 0.2);
            color: var(--burgundy);
            font-weight: 500;
        }

.chevron-icon {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

    .chevron-icon.rotate {
        transform: rotate(180deg);
    }

/* Product Detail Styles */
.product-detail {
    padding: 2rem 0;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--burgundy);
}

.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 0.5rem;
}

@media (min-width: 768px) {
    .product-detail-container {
        flex-direction: row;
    }
}

.product-swiper {
    width: 100%;
    max-width: 500px;
    margin: auto;
}

.product-detail-content {
    flex: 1;
}

.product-detail-header {
    margin-bottom: 1rem;
}

.product-detail-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--burgundy);
}

.product-detail-description {
    margin-bottom: 1rem;
    color: var(--brown);
}

.product-detail-features h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.related-products {
    margin-top: 2rem;
}

    .related-products h2 {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--burgundy);
    }

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}


.imagenCarrusel {
    height: 100%;
    padding: 7px;
}
.imagenCarruselLanding {
    width: 100%;
    height: auto;
    aspect-ratio: 2.15 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}
.imagenCarruselLanding:hover {
    transform: scale(1.02);
}

.txtCenter {
    text-align: center;
}

.related-products-swiper {
    padding: 20px 40px; /* Espacio para los botones de navegación */
}

    .related-products-swiper .swiper-slide {
        height: auto; /* Para que las tarjetas no tengan altura fija */
    }

    /* Ajustar el ancho de las slides según cuántas quieres mostrar */
    .related-products-swiper .swiper-slide {
        width: calc(100% / 3 - 20px); /* 3 productos por vista */
        margin-right: 20px; /* Espacio entre slides */
    }

@media (max-width: 900px) {
    .related-products-swiper .swiper-slide {
        width: calc(100% / 2 - 15px); /* 2 productos en tablets */
    }
}

@media (max-width: 600px) {
    .related-products-swiper .swiper-slide {
        width: 100%; /* 1 producto en móviles */
    }
    .container {
        padding: 0 1rem;
    }
}
/* Estilos para diferenciar los controles */
.main-next, .main-prev {
    background: transparent;
    color: white;
    width: 40px;
    height: 40px;
}

.inner-next, .inner-prev {
    background: rgba(255,255,255,0.8);
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

/* Asegurar que los controles internos estén sobre las imágenes */
.inner-product-swiper {
    position: relative;
}

.inner-next, .inner-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.inner-next {
    right: 10px;
}

.inner-prev {
    left: 10px;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    display: none;
}
.swiper-button-next, .swiper-button-prev {
    color:  var(--burgundy)  !important;
}

.categorias-header {
    margin: 1rem 0;
}
.dropdown-item.active {
    background-color: var(--burgundy);
}
.h-full{
    height: 100%;
}
.conte-cat {
    height: 32vh;
    margin: 5px;
}
.cont-descrip {
    height: 85px;
    align-content: space-evenly;
}
.txt-description {
    font-size: 15px;
}
.carruselLanding {
    position: relative;
    margin: 0 auto;
}
.category-swiper{
    width: 100%;
    margin: auto;
}

.image-container {
    aspect-ratio: 4 / 5; /* Proporción más equilibrada */
    max-height: 550px; /* Limita la altura máxima */
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    .cont-descrip {
        height: 80px;
    }

    .conte-cat {
        height: 230px;
        width: 100%;
    }

    .txt-description {
        font-size: 13px;
    }
}


    /* Móviles y pantallas pequeñas */
    @media screen and (max-width: 768px) {
        .conte-cat {
            height: 350px;
            width: 100%;
            max-width: 325px;
            margin: 0 auto; /* centrar en móviles */
        }

        .txt-description {
            font-size: 12px;
        }

        .cont-descrip {
            max-height: 85px; /* limita para que no crezca mucho */
        }
    }

    /* Para dispositivos muy pequeños */
    @media screen and (max-width: 480px) {
        .conte-cat {
            height: 200px;
            width: 250px;
        }
    }

    /* Botón hamburguesa: visible solo en móvil */
    .hamburger {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    @media(min-width:768px) {
        .hamburger {
            display: none;
        }
    }

    /* Menú escritorio */
    .menu-desktop a {
        margin-left: 20px;
        text-decoration: none;
        color: #5a3e2b;
    }

        .menu-desktop a:hover {
            color: #800020;
        }

    @media(max-width:767px) {
        .menu-desktop {
            display: none;
        }
    }

    /* Menú lateral móvil */
    .menu-mobile {
        position: fixed;
        top: 0;
        left: -250px; /* oculto inicialmente */
        width: 250px;
        height: 100%;
        background: white;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
        display: flex;
        flex-direction: column;
        padding: 1rem;
        transition: left 0.3s ease;
        z-index: 1100;
    }

        .menu-mobile a {
            padding: 0.5rem 0;
            text-decoration: none;
            color: #5a3e2b;
        }

            .menu-mobile a:hover {
                color: #800020;
            }

        .menu-mobile.open {
            left: 0; /* se muestra */
        }

    .close-btn {
        background: none;
        border: none;
        font-size: 24px;
        align-self: flex-end;
        cursor: pointer;
    }

    /* Overlay oscuro */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        display: none;
        z-index: 1000;
    }

        .overlay.show {
            display: block;
        }

