﻿:root {
    --neutral-foreground-rest: #1f2937;
    --elevation-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
    --color-success: #16a34a;
    --color-danger: #ef4444;
    --color-warning: #f59e0b;
    --color-text-muted: #566479;
    --color-border: #d1d1d1;
    /*--color-blue: #2563eb;*/
    --button-bg-blue: rgb(217, 231, 250);
    /*carousel*/
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --transition-speed: 0.5s;
}

.clipped {
    border: 0;
    position: absolute;
    z-index: -1;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    display: block;
    margin: 0 -1px -1px 0;
    overflow: hidden;
    padding: 0;
}
/* ========================================
   HERO SECTION
======================================== */
.banner-carousel-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    max-width: 1920px;
}

.banner-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1920px;
    margin-bottom: 0;
    min-height: 200px;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 95%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 95%);
}

    .banner-carousel::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.9) 100%);
        pointer-events: none;
        z-index: 2;
    }

    .banner-carousel.subtle-fade::after {
        height: 60px;
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.5) 80%);
    }

.carousel-inner {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-item {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity var(--transition-speed) ease-in-out;
    visibility: hidden;
}

    .carousel-item.active {
        opacity: 1;
        visibility: visible;
        position: relative;
        z-index: 1;
    }

.banner-figure {
    width: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-carousel .carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    left: 0;
    z-index: 10;
    pointer-events: none;
}

.carousel-control {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

    .carousel-control:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

.carousel-indicators {
    position: absolute;
    bottom: 8rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-left: 0;
    z-index: 10;
}

.carousel-indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

    .carousel-indicator.active {
        background-color: white;
        transform: scale(1.3);
    }

    .carousel-indicator:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 48px;
    box-shadow: var(--elevation-shadow-card);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-search-box {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: white;
}

    .hero-search-box input {
        flex: 1;
        padding: 14px 20px;
        border: none;
        outline: none;
        font-size: 16px;
    }

    .hero-search-box button {
        background: #fbbf24;
        color: #0f172a;
        border: none;
        padding: 14px 25px;
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

        .hero-search-box button:hover {
            background: #f59e0b;
        }

        .hero-search-box button span.text {
            display: inline;
        }

/* ========================================
   SECCIONES GENERALES
======================================== */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--neutral-foreground-rest);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    position: relative;
    display: flex;
    margin-top: -10rem;
    justify-content: center;
    max-width: calc(100vw - 1.5rem);
    overflow-x: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    justify-items: center;
    max-width: 1200px;
    padding: 0 1rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 180px;
    min-height: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.25rem 0.75rem;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #3483fa, #2968c8);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 24px rgba(52, 131, 250, 0.15);
    }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

.feature-icon {
    font-size: 2.5rem;
    color: #2563eb; /* AA Compliant */
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1f2937;
    margin: 0;
    text-transform: none;
}

    .feature-title.green {
        color: var(--colorGreen1);
    }

.feature-description {
    color: #475569; /* Gris más oscuro para texto pequeño (AA: 4.5:1) */
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    flex: 1;
}

.feature-card .feature-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2563eb; /* 4.6:1 AA */
    background-color: transparent;
    border: 1px solid #2563eb;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

    .feature-card .feature-link:hover {
        background-color: #1d4ed8; /* Azul aún más oscuro al hover */
        color: white;
        transform: translateY(-2px);
    }

/* =============================================
   PRODUCTOS - OFERTAS
   ============================================= */

section#offers {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

    section#offers .offers-wrapper {
        display: grid;
        grid-template-columns: 28.16rem 1fr;
        grid-template-rows: 1fr;
        width: 100%;
        gap: 1.3rem;
        max-width: 1200px;
        margin: 0 auto;
    }

section.offers-product-section {
    width: 100%;
    margin-bottom: 1.5rem;
}

    section.offers-product-section .card-body {
        display: flex;
        gap: 1.3rem;
    }

article.todaysOffer {
    max-width: 28.16583rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

    article.todaysOffer .product-card {
        width: 100%;
    }

section#offers .card-header {
    border: 0;
    background-color: var(--colorNeutralBackground1);
    padding: 0 1rem;
    padding-top: 1.5rem;
}

.products-title {
    text-overflow: ellipsis;
    font-weight: 300;
    font-size: 2rem;
    color: #333;
    margin: 0;
}

/* =============================================
   ESTILOS ESPECÍFICOS PARA OFERTAS (Desktop)
   Aquí sobrescribimos algunos estilos de _ProductCard.css
   ============================================= */

/* Solo en desktop (mayor a 1024px) aplicamos estilos verticales personalizados */
@media (min-width: 1025px) {
    section#offers .product-card {
        /* Mantenemos diseño vertical en ofertas desktop */
        flex-direction: column;
        height: 32.166rem;
        width: 15.125rem;
        position: relative;
    }

    section#offers .todaysOffer .product-card {
        width: 100%;
    }

    section#offers .product-image {
        height: 240px;
        width: 100%;
        min-width: unset;
    }

    article.todaysOffer .product-card {
        width: 100%;
        height: auto;
        min-height: 32.166rem;
    }

    article.todaysOffer .product-image {
        height: 300px;
    }

    /* Ajustes de padding para ofertas desktop */
    section#offers .product-info {
        padding: 18px;
        min-height: 1rem;
    }

    /* Precio en ofertas desktop */
    section#offers .product-price {
        font-size: 1.166rem;
        margin-bottom: 6px;
    }

    section#offers .current-price {
        font-size: 1.166rem;
    }

    /* Título en ofertas desktop */
    section#offers .product-title {
        font-size: 1rem;
        min-height: 3rem;
        max-height: 3rem;
    }
        section#offers .product-title a::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }
        /* Cuotas en ofertas desktop */
        section#offers .product-installments {
            font-size: 15px;
            background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
            padding: 6px 10px;
            border-radius: 4px;
            border-left: 3px solid #3483fa;
        }

    /* Marca en ofertas desktop */
    section#offers .product-brand {
        font-size: 13px;
        margin: 2px 0;
    }
}

/* =============================================
   CATEGORIES
   ============================================= */

.categories-grid {
    padding: 2rem 0;
    background-color: #f9f9f9;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

    .categories-grid .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }

    .categories-grid .card {
        padding: 1rem;
    }

    .categories-grid .card-header {
        display: flex;
        align-items: center;
        border-bottom: 0;
        background-color: var(--colorNeutralBackground1);
    }

    .categories-grid .category-card .category-name {
        text-align: start;
        margin-bottom: 0;
        font-size: 1rem;
        color: var(--colorNeutralForeground1);
    }
    .categories-grid .category-card .category-link{
        text-decoration: none;
    }
    .category-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: inherit;
        background: white;
        border-radius: 12px;
        padding: 1.25rem 0.75rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        transition: transform 0.2s, box-shadow 0.2s;
        text-align: center;
    }

    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    }

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #222;
}

section#categories .container {
    max-width: 1200px;
    width: 100%;
    --bs-gutter-x: 0;
}

/* =============================================
   CARRUSEL DE OFERTAS - CONTROLES
======================================== */

.offers-product-section {
    position: relative;
    overflow: hidden;
}

.product-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

    .product-carousel-controls .carousel-control {
        pointer-events: all;
        background-color: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.1);
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        opacity: 0.7;
    }

        .product-carousel-controls .carousel-control:hover {
            opacity: 1;
            background-color: white;
        }

    .product-carousel-controls.hidden {
        display: none;
    }

.offers-product-section .card-body {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.3rem;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .offers-product-section .card-body::-webkit-scrollbar {
        display: none;
    }

/* =============================================
   Promo Strip Section
   ============================================= */
.promo-strip {
    /* Degradado elegante: de un tono dorado a uno más oscuro */
    background: linear-gradient(90deg, #1a1a1a 0%, #604403 50%, #1a1a1a 100%);
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.promo-strip-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promo-message {
    font-size: 1.15rem; /* Tamaño mediano */
    letter-spacing: 0.5px;
    font-weight: 400;
    text-transform: uppercase;
}

    .promo-message strong {
        color: #fff;
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

.promo-strip i {
    font-size: 1.2rem;
    color: #ffd700; /* Color oro para los iconos de estrellas */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .promo-message {
        font-size: 0.95rem;
    }

    .promo-strip-content {
        gap: 8px;
    }
}

/* =============================================
   MEDIA QUERIES (RESPONSIVE & CARRUSELES)
   ============================================= */

@media (max-width: 1920px) {
    .banner-carousel-container,
    .banner-carousel {
        max-width: 100%;
    }
}

/* TABLET Y MÓVIL (menor o igual a 1024px) */
@media (max-width: 1024px) {

    /* --- CARRUSEL DE FEATURES --- */
    .features-section {
        display: block;
        width: 100%;
        margin-top: -5rem;
    }

    .features-grid {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
        padding: 1rem;
        gap: 0.75rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        box-sizing: border-box;
    }

        .features-grid::-webkit-scrollbar {
            display: none;
        }

        .features-grid .feature-card {
            min-width: 140px;
            max-width: 140px;
            min-height: 180px;
            flex: 0 0 auto;
            scroll-snap-align: center;
            padding: 1rem 0.5rem;
            gap: 0.4rem;
        }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    .feature-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .feature-description {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .feature-card .feature-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        margin-top: 0.25rem;
    }

    section#offers .offers-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    section#offers {
        padding: 0 1rem;
    }

    article.todaysOffer {
        max-width: 100%;
    }

    section.offers-product-section {
        width: 100%;
        min-width: 0;
    }

    /* --- CARRUSEL DE PRODUCTOS --- */
    .offers-product-section .card-body {
        gap: 1rem;
        padding: 1rem;
    }

    .offerProducts-carousel-slide {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        scroll-snap-align: center;
    }

    /* 
       IMPORTANTE: Dejamos que _ProductCard.css maneje el diseño horizontal
       No sobrescribimos product-card aquí para móvil
    */
    section.offers-product-section .card-body {
        flex-direction: column;
    }
}

@media (min-width: 1200px) {
    .banner-carousel {
        aspect-ratio: 1920 / 500;
        min-height: 300px;
        max-height: 500px;
    }
}

@media (max-width: 1200px) {
    .banner-carousel {
        min-height: 180px;
        max-height: none;
    }

    .banner-image {
        object-fit: cover;
        width: 100%;
        height: 100%;
        aspect-ratio: 1920 / 500;
    }
}

@media (max-width: 992px) {
    .banner-carousel {
        min-height: 250px;
        max-height: 400px;
    }
}

@media (max-width: 768px) {

    .banner-carousel {
        min-height: 200px;
        max-height: 350px;
    }

    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .banner-carousel .carousel-controls {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-search-container {
        padding: 0 20px;
    }

    .hero-search-box button span.text {
        display: none;
    }

    .hero-search-box button {
        padding: 14px;
        font-size: 16px;
    }

    section.features-section {
        top: unset;
    }

    #carouselIndicators {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .carousel-control {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .offerProducts-carousel-slide {
        max-width: unset;
    }

    .product-carousel-controls .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/*MEDIOS DE PAGO*/
/* ========================================
   MODAL DE MEDIOS DE PAGO
======================================== */

#paymentMethodsModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#paymentMethodsModal .modal-header {
    background: linear-gradient(135deg, #3483fa, #2968c8);
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

#paymentMethodsModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

#paymentMethodsModal .btn-close {
    filter: invert(1) brightness(100%);
    opacity: 0.8;
}

#paymentMethodsModal .modal-body {
    padding: 1.5rem;
}

.methods-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .method-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-color: #3483fa;
    }

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    flex-shrink: 0;
    color: #3483fa;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.method-info {
    flex: 1;
}

.method-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.method-description {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.all-payment-methods-image {
    margin: 2rem 0;
    text-align: center;
}

    .all-payment-methods-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .all-payment-methods-image figcaption {
        font-size: 0.9rem;
    }

.payment-additional-info {
    margin: 2rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fff4, #e6ffee);
    border-radius: 8px;
    flex-shrink: 0;
    color: #00a650;
    font-size: 1.25rem;
}

.info-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.info-content p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.payment-notes {
    margin-top: 2rem;
}

    .payment-notes .alert {
        border-radius: 8px;
        border: none;
        background: #e6f7ff;
        border-left: 4px solid #3483fa;
    }

    .payment-notes h5 {
        font-size: 1rem;
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .payment-notes ul {
        padding-left: 1.5rem;
        margin: 0;
    }

    .payment-notes li {
        margin-bottom: 0.25rem;
        color: #666;
        font-size: 0.9rem;
    }

#paymentMethodsModal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem;
    text-align: center;
}

    #paymentMethodsModal .modal-footer p {
        margin: 0;
        color: #2c3e50;
        font-size: 0.95rem;
    }

    #paymentMethodsModal .modal-footer .btn-success {
        background: linear-gradient(135deg, #25D366, #1ea854);
        border: none;
        padding: 0.5rem 1.5rem;
        font-weight: 500;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

        #paymentMethodsModal .modal-footer .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
            /* Feature cards ultra compactas para móviles pequeños */
            .features-grid .feature-card {
                min-width: 105px;
                max-width: 105px;
                min-height: 145px;
                padding: 0.6rem 0.3rem;
                gap: 0.3rem;
            }

            .feature-icon {
                font-size: 1.5rem;
                margin-bottom: 0.15rem;
            }

            .feature-title {
                font-size: 0.7rem;
                line-height: 1.1;
            }

            .feature-description {
                font-size: 0.6rem;
                line-height: 1.2;
            }

            .feature-card .feature-link {
                font-size: 0.6rem;
                padding: 0.2rem 0.4rem;
            }
        }

/* =============================================
   PANTALLAS MUY PEQUEÑAS (< 400px)
   ============================================= */
@media (max-width: 400px) {
    .features-section {
        margin-top: -4rem;
    }

    .features-grid {
        padding: 0.75rem 0.5rem;
        gap: 0.5rem;
    }

        .features-grid .feature-card {
            min-width: 95px;
            max-width: 95px;
            min-height: 135px;
            padding: 0.5rem 0.25rem;
            border-radius: 8px;
        }

    .feature-icon {
        font-size: 1.35rem;
    }

    .feature-title {
        font-size: 0.65rem;
    }

    .feature-description {
        font-size: 0.55rem;
    }

    .feature-card .feature-link {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
    }
}

@media (max-width: 768px) {
    #paymentMethodsModal .modal-dialog {
        margin: 0.5rem;
    }

    #paymentMethodsModal .modal-body {
        padding: 1rem;
    }

    .methods-list {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .all-payment-methods-image {
        margin: 1.5rem 0;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.fade.show .modal-dialog {
    animation: modalSlideIn 0.3s ease-out;
}
.promo-strip-container{
    display: flex;
    justify-content: center;
}
body.high-contrast-mode #categories-heading, body.high-contrast-mode #categories-heading p {
    color: var(--colorNeutralForegroundInverted) !important;
}
body.high-contrast-mode .products-title {
    color: var(--colorNeutralForegroundInverted) !important;
}