* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin-top: 0 !important;
    scroll-padding-top: 0 !important;
}

body {
    margin: 0;
    padding: 0;
}

#page {
    margin: 0;
    padding: 0;
}

.site-content {
    margin: 0;
    padding: 0;
}

.home-template {
    margin: 0;
    padding: 0;
}

/* ================================
   HERO SECTION DUAL
   ================================ */
.hero-section--dual {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    margin: 0;
    overflow: hidden;
    background-color: var(--color-bg);
}

.hero-panel {
    position: relative;
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero-panel .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
    border-radius: var(--radius-lg);
}

.hero-panel:hover .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.hero-panel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 450px;
    padding: 40px;
}

.hero-panel-title {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 16px 0;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-panel-subtitle {
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    margin: 0 0 28px 0;
    font-weight: 400;
}

.hero-panel .cta-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-panel .cta-button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* ================================
   RESPONSIVE - HERO
   ================================ */
@media (max-width: 992px) {
    .hero-section--dual {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 15px;
        padding: 15px;
    }

    .hero-panel {
        height: 35vh;
        min-height: 280px;
    }

    .hero-panel-content {
        padding: 30px;
        max-width: 90%;
    }

    .hero-panel-title {
        font-size: 36px;
    }

    .hero-panel-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .hero-section--dual {
        gap: 12px;
        padding: 12px;
    }

    .hero-panel {
        height: 30vh;
        min-height: 250px;
    }

    .hero-panel-content {
        padding: 25px;
    }

    .hero-panel-title {
        font-size: 32px;
    }

    .hero-panel-subtitle {
        font-size: 16px;
    }

    .hero-panel .cta-button {
        padding: 12px 24px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-section--dual {
        gap: 10px;
        padding: 10px;
    }

    .hero-panel {
        height: 28vh;
        min-height: 220px;
    }

    .hero-panel-content {
        padding: 20px;
    }

    .hero-panel-title {
        font-size: 28px;
    }

    .hero-panel-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }
}


/* CATEGORIES SLIDER */
.categories-title,
.categories-description {
    display: none;
}


.categories-gallery {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Categories Slider Container */
.categories-slider-container {
    position: relative;
    padding: 0 50px;
}

.categoriesSwiper {
    overflow: hidden;
}

.categoriesSwiper .swiper-slide {
    width: 280px;
    height: auto;
}

.category-item {
    text-align: center;
}

.category-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.category-item a:hover {
}

.category-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-item a:hover .category-image img {
    transform: scale(1.1);
}

.category-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    text-align: center;
    z-index: 2;
}

/* Categories Navigation Arrows */
.categories-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.categories-prev,
.categories-next {
    width: 44px;
    height: 44px;
    background: #333333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    pointer-events: auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.categories-prev:hover,
.categories-next:hover {
    background: #000000;
    transform: scale(1.1);
}

.categories-prev.swiper-button-disabled,
.categories-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories-prev.swiper-button-disabled:hover,
.categories-next.swiper-button-disabled:hover {
    transform: none;
}

@media (max-width: 992px) {
    .categories-gallery {
        padding: 60px 20px;
    }

    .categories-slider-container {
        padding: 0 40px;
    }

    .categoriesSwiper .swiper-slide {
        width: 240px;
    }

    .categories-prev,
    .categories-next {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 768px) {
    .categories-slider-container {
        padding: 0 35px;
    }

    .categoriesSwiper .swiper-slide {
        width: 200px;
    }

    .categories-prev,
    .categories-next {
        width: 34px;
        height: 34px;
    }

    .categories-prev svg,
    .categories-next svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .categories-slider-container {
        padding: 0 30px;
    }

    .categoriesSwiper .swiper-slide {
        width: 180px;
    }

    .category-name {
        font-size: 16px;
        padding: 15px;
    }
}


/* FEATURED PRODUCTS */
.featured-products {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.products-title {
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);*/
}

.product-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: filter 0.3s ease;
}

.product-item:hover .product-image img {
    filter: brightness(1.08);
}

.product-info {
    text-align: start;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    margin: 10px 0;
    align-items: center;
    justify-content: start;
}

.product-price {
    font-size: 18px;
    font-weight: 400;
}

.product-price .woocommerce-Price-amount {
    color: #000;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .featured-products {
        padding: 60px 20px;
    }

    .products-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-name {
        font-size: 16px;
        min-height: auto;
    }

    .product-price {
        font-size: 18px;
    }
}


/* STORES SECTION */
.physical-stores {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.stores-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.stores-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.stores-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.stores-description p {
    margin-bottom: 15px;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
    margin-bottom: 50px;
    justify-items: center;
}

/* Cuando hay número impar, la última tienda ocupa toda la fila y se centra */
.store-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 460px;
    width: 100%;
}

.store-item {
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f5f5f5;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.store-item:hover .store-image img {
    transform: scale(1.05);
}

.store-info {
    padding: 25px;
    text-align: center;
}

.store-name {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.store-address {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.stores-cta {
    text-align: center;
}

.stores-cta .cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid #333333;
}

.stores-cta .cta-button:hover {
    background-color: transparent;
    color: #333333;
}

@media (max-width: 768px) {
    .physical-stores {
        padding: 60px 20px;
    }

    .stores-title {
        font-size: 28px;
    }

    .stores-description {
        font-size: 16px;
    }

    .stores-header {
        margin-bottom: 40px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .store-name {
        font-size: 20px;
    }

    .store-address {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .stores-title {
        font-size: 24px;
    }

    .store-info {
        padding: 20px;
    }
}
