

/* Animation Classes */
.animation-forwards {
    animation-fill-mode: forwards ;
}

.animate-marquee {
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

.animate-fade {
    animation: fade 2s ease-in-out infinite;
}

.animate-slide {
    display: inline-block;
    width: 100%;
    text-align: center;
    animation: slideIn 1s ease-in-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-scale {
    animation: scale 1s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 2s linear infinite;
}

.animate-wave {
    animation: wave 2s ease-in-out infinite;
}

.animate-blink {
    animation: blink 1s step-end infinite;
}

.animate-shake {
    animation: shake 0.5s ease-in-out infinite;
}

.animate-flip {
    animation: flip 2s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideIn {
    0% { 
        opacity: 0;
        transform: translateX(100%);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes wave {
    0%, 100% { transform: translateY(0) rotate(0); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes flip {
    0%, 100% { transform: perspective(400px) rotateX(0); }
    50% { transform: perspective(400px) rotateX(180deg); }
}

/* Carousel Base Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slides {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Navigation Buttons */
.carousel .prev,
.carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel .prev {
    left: 20px;
}

.carousel .next {
    right: 20px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Cart Icon Animation */
.bump {
    animation: bump 0.3s ease-out;
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Layout Styles */
.floating-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content {
    min-height: calc(100vh - 64px);
}

/* Modal Styles */
#cartModal, #checkoutModal {
    transition: opacity 0.3s ease-in-out;
}

#cartModal:not(.hidden), #checkoutModal:not(.hidden) {
    opacity: 1;
}

.whatsapp-updates-prompt {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(17, 24, 39, 0.46);
    opacity: 0;
    transition: opacity 160ms ease;
}

.whatsapp-updates-prompt.visible {
    opacity: 1;
}

.whatsapp-updates-prompt.closing {
    opacity: 0;
}

.whatsapp-updates-card {
    width: min(420px, 100%);
    border-radius: 22px;
    background: #fff;
    padding: 28px 22px 22px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    transform: translateY(12px) scale(0.98);
    transition: transform 160ms ease;
}

.whatsapp-updates-prompt.visible .whatsapp-updates-card {
    transform: translateY(0) scale(1);
}

.whatsapp-updates-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: #fff;
    font-size: 34px;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.28);
}

.whatsapp-updates-card h3 {
    margin: 0;
    color: var(--heading-color, #111827);
    font-size: 24px;
    line-height: 1.2;
}

.whatsapp-updates-card p {
    margin: 10px auto 22px;
    max-width: 310px;
    color: var(--paragraph-color, #374151);
    font-size: 16px;
    line-height: 1.45;
}

.whatsapp-updates-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
}

.whatsapp-updates-actions button {
    min-height: 48px;
    border: 0;
    border-radius: var(--button-radius, 999px);
    font-weight: 800;
    cursor: pointer;
}

.whatsapp-updates-secondary {
    background: #f3f4f6;
    color: #374151;
}

.whatsapp-updates-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #22c55e;
    color: #fff;
}

#gpsButton.gps-ready {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.24);
}

@media (max-width: 480px) {
    .whatsapp-updates-card {
        padding: 24px 18px 18px;
        border-radius: 20px;
    }

    .whatsapp-updates-actions {
        grid-template-columns: 1fr;
    }
}

.empty-cart-state {
    align-items: center;
    color: var(--muted-text-color, #4b5563);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 18rem;
    padding: 2rem 1rem;
    text-align: center;
}

.empty-cart-icon {
    align-items: center;
    background: color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 8%, #fff);
    border: 2px dashed color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 35%, #fff);
    border-radius: 9999px;
    color: var(--button-bg-color, var(--primary-color, #ed0202));
    display: flex;
    height: 6rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 6rem;
}

.empty-cart-icon i {
    font-size: 2.6rem;
}

.empty-cart-state h3 {
    color: var(--text-color, #111827);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.empty-cart-state p {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 18rem;
}

.comprar-btn.is-empty-cart {
    background: var(--button-bg-color, var(--primary-color, #ed0202)) !important;
    color: var(--button-text-color, #fff) !important;
}

/* Mobile Carousel Styles */
.mobile-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.mobile-carousel .slides {
    height: 100%;
    position: relative;
}

.mobile-carousel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transform: translateX(100%);
    z-index: 1;
}

.mobile-carousel .slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.mobile-carousel .slide.prev {
    transform: translateX(-100%);
}

.mobile-carousel .slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.mobile-carousel .prev,
.mobile-carousel .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-carousel .prev {
    left: 10px;
}

.mobile-carousel .next {
    right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel {
        height: 300px;
    }
    
    .carousel .prev,
    .carousel .next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .mobile-carousel {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .mobile-carousel {
        height: 200px;
    }
}
/* Estilos base para el toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

/* Estilo para el toast de éxito */
.toast.success {
    background-color: #dbbb1c; /* Verde */
}

/* Estilo para el toast de error */
.toast.error {
    background-color: #dc3545; /* Rojo */
}

/* Animación de desvanecimiento */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
a.promotional-banner-btn,
.promotional-banner-btn {
    background-color: var(--promo-banner-button-bg-color, #8f0000) !important;
    border-radius: var(--button-radius, 9999px);
    color: var(--promo-banner-button-text-color, #fff) !important;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

a.promotional-banner-btn:hover,
.promotional-banner-btn:hover {
    background-color: var(--promo-banner-button-hover-bg-color, #d40000) !important;
    color: var(--promo-banner-button-text-color, #fff) !important;
    transform: translateY(-1px);
}

/* Modern responsive storefront */
* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-header {
    gap: 1rem;
    z-index: 100 !important;
}

.site-logo img {
    max-width: min(180px, 48vw);
    object-fit: contain;
}

.site-logo {
    gap: 1rem;
    min-width: 0;
}

.categories-bar.has-promo-banner {
    margin-top: 8.5rem;
}

.categories-bar {
    position: relative !important;
    top: auto !important;
    margin-top: 5rem;
    z-index: 20;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header .site-actions .desktop-nav a {
    align-items: center;
    background: var(--button-soft-bg-color, color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 8%, transparent));
    border: 1px solid var(--button-soft-bg-color, color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 18%, transparent));
    border-radius: var(--button-radius, 9999px);
    color: var(--button-bg-color, var(--primary-color, #ed0202)) !important;
    display: inline-flex;
    font-weight: 700;
    gap: 0.15rem;
    line-height: 1;
    padding: 0.7rem 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header .site-actions .desktop-nav a:hover {
    background: var(--button-hover-bg-color, var(--button-bg-color, var(--primary-color, #ed0202)));
    border-color: var(--button-hover-bg-color, var(--button-bg-color, var(--primary-color, #ed0202)));
    color: var(--button-text-color, #fff) !important;
    transform: translateY(-1px);
}

.site-header .site-actions .desktop-nav a i,
.site-header .site-actions .desktop-nav a span {
    color: inherit !important;
}

.desktop-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-header .desktop-contact .comprar-btn {
    color: var(--button-text-color, #fff) !important;
    margin: 0 !important;
    min-height: 2.9rem;
    white-space: nowrap;
}

.site-header .desktop-contact .comprar-btn i,
.site-header .desktop-contact .comprar-btn span {
    color: var(--button-text-color, #fff) !important;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu summary {
    align-items: center;
    background: var(--button-bg-color, var(--primary-color, #ed0202));
    border-radius: 9999px;
    color: var(--button-text-color, #fff);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 0.5rem;
    list-style: none;
    padding: 0.7rem 1rem;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu-panel {
    background: var(--surface-bg-color, #fff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    min-width: 220px;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    z-index: 130;
}

.mobile-menu-panel a {
    align-items: center;
    border-radius: 10px;
    color: var(--text-color, #111827) !important;
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    text-decoration: none;
}

.mobile-menu-panel a:hover {
    background: color-mix(in srgb, var(--primary-color, #ed0202) 10%, transparent);
    color: var(--primary-color, #ed0202) !important;
}

.site-search input {
    min-width: min(320px, 42vw);
}

.mobile-search {
    display: none;
}

.category-link {
    background: var(--category-bg-color, var(--surface-bg-color, #fff)) !important;
    border-color: var(--category-border-color, var(--border-color, #e5e7eb)) !important;
    color: var(--category-text-color, #1f2937) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.category-link:hover {
    background: var(--category-hover-bg-color, color-mix(in srgb, var(--primary-color, #ed0202) 6%, #fff)) !important;
    border-color: var(--category-active-text-color, var(--primary-color, #ed0202)) !important;
    color: var(--category-active-text-color, var(--primary-color, #ed0202)) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
    transform: translateY(-1px);
}

.category-link.border-black,
.category-link.font-bold,
.category-link.text-white {
    background: var(--category-active-bg-color, color-mix(in srgb, var(--primary-color, #ed0202) 10%, #fff)) !important;
    border-color: var(--category-active-text-color, var(--primary-color, #ed0202)) !important;
    color: var(--category-active-text-color, var(--primary-color, #ed0202)) !important;
}

.product-card,
section .grid > .border,
section .grid > .bg-white {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover,
section .grid > .border:hover,
section .grid > .bg-white:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14) !important;
    transform: translateY(-2px);
}

.mobile-app-nav {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }

    .floating-header.site-header {
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .desktop-nav,
    .desktop-contact {
        display: none;
    }

    .site-actions {
        display: flex !important;
        margin-left: 0;
        order: 3;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu summary {
        background: transparent;
        border: 0;
        border-radius: 0;
        font-size: 0;
        height: 2.9rem;
        min-height: 2.9rem;
        padding: 0;
        width: 2.9rem;
    }

    .mobile-menu summary i {
        color: #111827 !important;
        font-size: 1.35rem;
        margin: 0 !important;
    }

    .mobile-menu summary span {
        display: none;
    }

    .mobile-menu-panel {
        position: fixed;
        right: 1rem;
        top: 4.85rem;
        z-index: 150;
    }

    .site-logo {
        flex: 1 1 calc(100% - 7rem);
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-search {
        flex: 0 0 auto;
        margin-left: auto;
        position: relative;
        width: auto;
    }

    .desktop-search-form {
        display: none;
    }

    .mobile-search {
        display: block;
    }

    .mobile-search summary {
        align-items: center;
        background: var(--button-soft-bg-color, #fff);
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 9999px;
        color: var(--button-bg-color, var(--primary-color, #ed0202)) !important;
        cursor: pointer;
        display: inline-flex;
        height: 2.9rem;
        justify-content: center;
        list-style: none;
        width: 2.9rem;
    }

    .mobile-search summary::-webkit-details-marker {
        display: none;
    }

    .mobile-search summary i {
        color: inherit !important;
        font-size: 1.05rem;
    }

    .mobile-search-panel {
        background: var(--surface-bg-color, #fff);
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
        left: 1rem;
        padding: 0.75rem;
        position: fixed;
        right: 1rem;
        top: 4.85rem;
        z-index: 140;
    }

    .mobile-search-panel form {
        display: grid;
        gap: 0.65rem;
        grid-template-columns: 1fr auto;
    }

    .mobile-search-panel input {
        min-width: 0;
        width: 100%;
    }

    .mobile-search-submit {
        min-height: 3rem;
        padding-inline: 1rem !important;
    }

    .site-search input {
        min-width: 0;
        width: 100%;
    }

    body.has-public-search.has-promo-banner .promo-banner {
        top: 4.5rem !important;
    }

    body.no-public-search.has-promo-banner .promo-banner {
        top: 4.5rem !important;
    }

    .promo-banner {
        z-index: 40 !important;
    }

    .promo-banner .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .promo-banner .container > div > div {
        gap: 0.5rem;
        max-width: 100%;
        min-width: 0;
    }

    .promo-banner i.fa-fire {
        display: none;
    }

    .promo-banner span {
        font-size: 0.9rem;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .promo-banner .comprar-btn,
    .promo-banner .promotional-banner-btn {
        flex: 0 0 auto;
        margin: 0 !important;
        min-height: 2.6rem;
        padding: 0.65rem 1rem !important;
        white-space: nowrap;
    }

    .categories-bar {
        margin-top: 8rem;
        top: auto !important;
    }

    .categories-bar.has-promo-banner {
        margin-top: 8rem;
        top: auto !important;
    }

    body.has-public-search.has-promo-banner .categories-bar.has-promo-banner {
        margin-top: 8rem;
    }

    body.no-public-search.has-promo-banner .categories-bar.has-promo-banner {
        margin-top: 8rem;
    }

    .content {
        padding-top: 7.5rem;
    }

    body.has-public-search.has-promo-banner .content {
        padding-top: 7.6rem;
    }

    body.has-public-search.no-promo-banner .content {
        padding-top: 5rem;
    }

    .carousel,
    .mobile-carousel {
        height: clamp(130px, 35vw, 170px);
    }

    .mobile-carousel .slide img {
        object-fit: contain;
        object-position: center top;
    }

    .category-strip {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .category-strip .category-link {
        flex: 1 1 calc(50% - 0.55rem);
        justify-content: center;
        min-width: 0;
        padding: 0.5rem 0.65rem !important;
        font-size: 0.78rem !important;
        text-align: center;
        white-space: normal;
    }

    .category-fade {
        display: none;
    }

    section.container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-categories-section {
        padding-top: 0.55rem !important;
        padding-bottom: 0.2rem !important;
    }

    .home-products-section {
        padding-top: 0.35rem !important;
        padding-bottom: 1rem !important;
    }

    .home-section-title {
        font-size: 1.35rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.65rem !important;
    }

    section .grid {
        gap: 1rem;
    }

    .home-categories-grid {
        gap: 0.65rem !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .category-tile-image {
        height: 4.35rem !important;
        margin-bottom: 0.35rem !important;
        width: 4.35rem !important;
    }

    .category-tile h3 {
        font-size: 0.82rem !important;
        line-height: 1.15 !important;
    }

    .product-grid {
        gap: 0.75rem !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    main .product-grid.grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .product-card img,
    section .grid > .border img,
    section .grid > .bg-white img {
        height: 7.15rem !important;
    }

    .product-card .p-4 {
        padding: 0.7rem !important;
    }

    .product-card h2,
    .product-card h3 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
    }

    .product-card p {
        font-size: 0.78rem !important;
        line-height: 1.25 !important;
        margin-top: 0.35rem !important;
    }

    .product-card .text-xl,
    .product-card .text-2xl {
        font-size: 1rem !important;
        line-height: 1.1 !important;
    }

    .product-card .comprar-btn {
        font-size: 0.78rem !important;
        min-height: 2.35rem;
        padding: 0.55rem 0.7rem !important;
        white-space: nowrap;
    }

    .product-card .flex.items-center.justify-between {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 0.55rem;
    }

    .mobile-app-nav {
        align-items: center;
        background: color-mix(in srgb, var(--surface-bg-color, #fff) 94%, transparent);
        border: 1px solid color-mix(in srgb, var(--border-color, #e5e7eb) 85%, transparent);
        border-radius: 22px 22px 0 0;
        bottom: 0;
        box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.16);
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.2rem;
        left: 0;
        padding: 0.55rem 0.65rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        position: fixed;
        right: 0;
        z-index: 80;
    }

    .mobile-app-nav a {
        align-items: center;
        border-radius: 16px;
        color: var(--muted-text-color, #4b5563) !important;
        display: flex;
        flex-direction: column;
        font-size: 0.72rem;
        font-weight: 800;
        gap: 0.25rem;
        min-height: 3.75rem;
        padding: 0.45rem 0.25rem;
        text-decoration: none;
    }

    .mobile-app-nav a i,
    .mobile-app-nav a span {
        color: inherit !important;
    }

    .mobile-app-nav a.active {
        background: var(--button-soft-bg-color, color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 10%, #fff));
        color: var(--button-bg-color, var(--primary-color, #ed0202)) !important;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--button-bg-color, var(--primary-color, #ed0202)) 18%, transparent);
    }

    .mobile-app-nav a.active i,
    .mobile-app-nav a.active span {
        color: var(--button-bg-color, var(--primary-color, #ed0202)) !important;
    }

    .mobile-app-nav-icon {
        align-items: center;
        display: inline-flex;
        font-size: 1.15rem;
        justify-content: center;
        min-height: 1.35rem;
        position: relative;
    }

    .mobile-app-cart-count {
        align-items: center;
        background: var(--promo-badge-bg-color, #ef4444);
        border: 2px solid var(--surface-bg-color, #fff);
        border-radius: 9999px;
        color: var(--promo-badge-text-color, #fff) !important;
        display: flex;
        font-size: 0.65rem;
        height: 1.25rem;
        justify-content: center;
        min-width: 1.25rem;
        padding: 0 0.25rem;
        position: absolute;
        right: -0.9rem;
        top: -0.55rem;
    }

    .mobile-app-nav a .mobile-app-cart-count,
    .mobile-app-nav a.active .mobile-app-cart-count {
        color: #fff !important;
    }

    .mobile-cart-fab {
        display: none;
    }

    footer {
        padding-bottom: 6rem;
    }
}

@media (min-width: 768px) {
    .site-header .site-actions .desktop-nav a.active,
    .site-header .site-actions .desktop-nav a[aria-current="page"] {
        background: var(--button-bg-color, var(--primary-color, #ed0202));
        border-color: var(--button-bg-color, var(--primary-color, #ed0202));
        color: var(--button-text-color, #fff) !important;
    }

    .site-header .site-actions .desktop-nav a.active i,
    .site-header .site-actions .desktop-nav a.active span,
    .site-header .site-actions .desktop-nav a[aria-current="page"] i,
    .site-header .site-actions .desktop-nav a[aria-current="page"] span {
        color: var(--button-text-color, #fff) !important;
    }
}
