@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;0,900;1,900&display=swap');

/*
 * DoorDash Retail Template — Base Stylesheet
 * This file is the code-owned base CSS for the DoorDashRetail template.
 * It is loaded automatically when the active template is "DoorDashRetail".
 * Rules here apply to ALL sites using this template.
 * Site-specific overrides belong in Hive Admin (SiteSettings.StyleSheet), NOT here.
 * Scope: major layout, structural, and brand-level styling for Retail.
 */

@font-face {
    font-family: "TT";
    src: url("/fonts/TT-Norms-Regular.otf");
}

@font-face {
    font-family: "TT-bold";
    src: url("/fonts/TT-Norms-Bold.otf");
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    --template-name: "DoorDashRetail";

    /* Brand colours */
    --dd-red:           #FF3008;
    --dd-red-dark:      #E31E00;
    --dd-maroon:        #4C0C3A;
    --dd-white:         #FFFFFF;

    /* Text */
    --dd-text:          #4C0C3A;
    --dd-text-muted:    #777777;

    /* Typography */
    --dd-font:          'TT', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --dd-font-display:  'TT-bold', 'DM Sans', Arial, sans-serif;

    /* Shape */
    --dd-radius-card:   16px;
    --dd-radius-btn:    30px;
}

body {
    font-family: var(--dd-font);
    color: var(--dd-text);
    background: var(--dd-white);
}

button, input, textarea, select {
    font-family: inherit;
}

/* =========================
   Base & Utility Styles
   ========================= */
.quantity-input-group {
    width: 149px;
    height: 45px;
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 36px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    padding: 0;
}

.quantity-btn:hover {
    background: #e2e6ea;
}

.quantity-btn:first-child {
    border-top-left-radius: var(--dd-radius-btn);
    border-bottom-left-radius: var(--dd-radius-btn);
    border-right: none;
}

.quantity-btn:last-child {
    border-top-right-radius: var(--dd-radius-btn);
    border-bottom-right-radius: var(--dd-radius-btn);
    border-left: none;
}

.quantity-textbox {
    width: 77px;
    height: 45px;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0;
}

.add-to-cart-btn {
    height: 45px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding: 0 1.5rem;
    border-radius: var(--dd-radius-btn);
    background-color: var(--dd-white) !important;
    color: var(--dd-red) !important;
    border: 2px solid var(--dd-red) !important;
    transition: background-color 0.2s, color 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--dd-red) !important;
    color: var(--dd-white) !important;
    border-color: var(--dd-red) !important;
}

/* =========================
   AppBar & Layout
   ========================= */
.main-layout-logo-link {
    margin-left: 64px;
}

.main-layout-logo-img {
    width: 180px;
    height: 20.901px;
    object-fit: contain;
}

.main-layout-account {
    margin-right: 64px;
}

.main-layout-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 16px;
    flex-wrap: nowrap;
}

.main-layout-appbar {
    background-color: var(--dd-red) !important;
}

.main-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-layout-content {
    flex: 1 1 auto;
    padding-top: 64px;
}

/* =========================
   Navigation & Menu
   ========================= */
.main-layout-nav,
.main-layout-nav * {
    color: var(--dd-white) !important;
    fill: var(--dd-white) !important;
}

.main-layout-nav {
    margin-left: 32px;
}

.main-menu .mud-nav-link,
.main-menu .mud-menu-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-menu-header {
    color: white;    
    padding: 10px 20px;
    display: inline-block;
    cursor: default;
}

/* =========================
   AppBar Icon & Text Colors
   ========================= */
.main-layout-appbar,
.main-layout-appbar .mud-icon-button,
.main-layout-appbar .mud-icon-root,
.main-layout-appbar .mud-typography-root,
.main-layout-appbar .mud-link,
.main-layout-appbar .mud-nav-link {
    color: var(--dd-white) !important;
    fill: var(--dd-white) !important;
}

/* =========================
   Search Box
   ========================= */
.search-box-container {
    display: flex;
    align-items: center;
    position: relative;
}

.search-icon-collapsed {
    color: var(--dd-white) !important;
    background: var(--dd-red) !important;
    border-radius: 50%;
    padding: 8px;
    font-size: 2rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.search-box-popup {
    position: static;
    width: auto;
}

.search-box-expanded,
.search-box-expanded .mud-input-root,
.search-box-expanded input {
    background: var(--dd-white) !important;
    color: #222 !important;
    border-radius: var(--dd-radius-btn) !important;
}

.search-box-expanded .mud-input-adornment.mud-input-adornment-end .mud-icon-root {
    color: #222 !important;
    fill: #222 !important;
}

/* =========================
   Hamburger & Drawer
   ========================= */
.main-layout-hamburger {
    display: none !important;
}

.main-layout-mobile-drawer {
    background-color: var(--dd-red) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;    
}

.main-layout-mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.main-layout-mobile-drawer-close {
    color: var(--dd-white) !important;
    background: transparent !important;
    font-size: 2rem;
}

.main-layout-mobile-drawer .main-menu,
.main-layout-mobile-drawer .mud-nav,
.main-layout-mobile-drawer .mud-nav-links,
.main-layout-mobile-drawer .mud-list,
.main-layout-mobile-drawer .mud-list-root {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100%;
    padding: 0;
    margin: 0;
}

.main-layout-mobile-drawer .mud-nav-link,
.main-layout-mobile-drawer .mud-menu-item {
    width: 100% !important;
    display: block !important;
    text-align: left;
    padding: 8px 12px;
    color: var(--dd-white) !important;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;   
    

}

.main-layout-mobile-drawer-account {  
    flex: 0 0 auto;
    margin-top: 0 !important;
    padding: 0;
}

.main-layout-mobile-drawer-account-link {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130.048%;
    letter-spacing: -0.8px;
    color: var(--dd-white) !important;
    display: block;    
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    padding: 8px 12px !important; 
}

.main-layout-mobile-drawer-account-link:hover,
.main-layout-mobile-drawer-account-link:focus {
    background: rgba(255,255,255,0.08);
    color: var(--dd-white) !important;
}

.main-layout-mobile-drawer-account .mud-link,
.main-layout-mobile-drawer-account .mud-icon,
.main-layout-mobile-drawer-account .main-layout-account-link {
    color: var(--dd-white) !important;
    fill: var(--dd-white) !important;
}


.main-layout-mobile-drawer .mud-nav-link.active {
    background-color: var(--dd-red) !important;
}
/* =========================
   Footer
   ========================= */
.site-footer {
    background-color: var(--dd-red);
    color: #333 !important;
    padding: 24px 0;
    padding-bottom: 0;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    margin-bottom: 0;
}

.site-footer-grid {
    flex: 1 1 auto;
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-footer-bottom-ribbon {
    flex-shrink: 0;
    margin-top: 1rem;
    background-color: var(--dd-red-dark);
    text-align: center;
    padding: 0.5rem 0;
}

.site-footer-link-wrapper {
    width: 100%;
    text-align: left;
    margin-bottom: 0.25rem;
}

.site-footer-link {
    color: var(--dd-white);
    font-size: 16px;
    text-decoration: underline;
    display: inline;
}

.site-footer-menu .site-footer-link-wrapper:first-child .site-footer-link {
    color: var(--dd-white);
    text-decoration: none;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130.048%;
    letter-spacing: -0.88px;
}

.site-footer-menu .site-footer-link-wrapper:not(:first-child) .site-footer-link {
    color: var(--dd-white) !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 101.6%;
    letter-spacing: -0.64px;
    text-decoration-line: underline;
}

.site-footer-col-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 97.219px;
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 97.219px;
    padding: 24px;
}

.footer-logo {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 97.219px;
}

.site-footer-col:not(:last-child) {
    position: relative;
}

.site-footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 2px;
    right: 0;
    width: 1px;
    background: var(--dd-white);
}

.footer-header {
    font-size: 22px;
    color: var(--dd-white);
    font-weight: 400;
}

/* =========================
   Product Card
   ========================= */
.product-card {
    border-radius: var(--dd-radius-card);
    border: 2px solid var(--dd-red) !important;
    background: var(--dd-white);
    overflow: hidden;
}

.product-sku {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 101.6%;
    letter-spacing: -0.64px;
    color: var(--dd-maroon);
}

.product-title {
    font-size: 60px;
    font-style: normal;
    font-weight: 900;
    line-height: 85%;
    letter-spacing: -1.8px;
    text-transform: uppercase;
    color: var(--dd-red);
    margin-bottom: 2rem;
}

.product-price {
    font-size: 60px;
    font-style: normal;
    font-weight: 900;
    line-height: 85%;
    letter-spacing: -1.8px;
    margin-bottom: 2rem;
}

.product-price span {
    color: var(--dd-maroon) !important;
}

.product-info-area {
    display: flex;
    flex-direction: column;
    color: var(--dd-maroon);
}

.product-sku { order: 1; }
.product-title { order: 2; }
.product-price { order: 3; }
.product-info-area > div:not(.add-to-cart-options) { order: 4; }
.add-to-cart-options { order: 5; }

/* =========================
   Product Card Content (listing)
   ========================= */
.product-card-sku {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 101.6%;
    letter-spacing: -0.48px;
    color: var(--dd-maroon);
    margin-bottom: 0.25rem;
}

.product-card-title {
    color: var(--dd-red);
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 130.048%;
    letter-spacing: -1.12px;
    margin-bottom: 0;
}

.product-card-price {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 101.6%;
    letter-spacing: -0.64px;
    color: var(--dd-maroon);
    margin-top: auto;
    padding-top: 0.5rem;
    margin-bottom: 0;
}

.product-listing,
.categories-product-col {
    margin-bottom: 1.5rem;
}

/* =========================
   Cart Message
   ========================= */
.cart-message-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.cart-message-modal {
    background: var(--dd-white);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    position: relative;
    min-width: 320px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    text-align: center;
}

.cart-message-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.cart-message-viewcart-btn {
    border-radius: var(--dd-radius-btn);
}

.cart-message-success {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 130.048%;
    letter-spacing: -1.12px;
}

.cart-message-sku {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 101.6%;
    letter-spacing: -0.48px;
}

.cart-message-product-name {
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130.048%;
    letter-spacing: -0.88px;
}

.cart-message-body {
    text-align: left;
    color: var(--dd-maroon);
}

.cart-message-success,
.cart-message-product-name {
    color: var(--dd-red);
}

/* =========================
   Category Layout
   ========================= */
.categories-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.categories-content {
    flex: 1 1 0;
    min-width: 0;
}

.slider-nav {
    flex: 0 0 200px;
    position: sticky;
    top: 1rem;
    margin: 3rem 0 0 0;
    padding: 0;
    color: var(--dd-maroon);
}

/* Mobile filter toggle — hidden on desktop */
.filter-toggle-btn {
    display: none;
}

/* Mobile filter toggle row — hidden on desktop */
.filter-toggle-row {
    display: none;
}

/* =========================
   Category Filter Styles
   ========================= */
.filter-heading {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 130.048%;
    letter-spacing: -1.12px;
    color: var(--dd-red);
    margin-bottom: 1rem;
}

.sort-by-wrapper {
    margin-top: 0;
    padding-top: 0;
}

.sort-by-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130.048%;
    letter-spacing: -0.88px;
    color: var(--dd-red);
}

.sort-by-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    cursor: pointer;
    color: var(--dd-maroon);
    font-size: 0.9rem;
}

.sort-by-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid var(--dd-red);
    border-radius: 3px;
    background: var(--dd-white);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.sort-by-option input[type="checkbox"]:checked {
    background: var(--dd-white);
    border-color: var(--dd-red);
}

.sort-by-option input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 2px;
    top: -1px;
    width: 5px;
    height: 9px;
    border: 2px solid var(--dd-red);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.nav-filters,
.nav-filters li {
    list-style: none !important;
    padding: 0 !important;
    padding-left: 0 !important;
    margin: 0;
}

.nav-filters strong {
    display: block;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130.048%;
    letter-spacing: -0.88px;
    color: var(--dd-red);
}

.price-range-wrapper {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.price-range-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 130.048%;
    letter-spacing: -0.88px;
    color: var(--dd-red);
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: var(--dd-maroon);
}

.view-all-wrapper {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.view-all-wrapper a {
    cursor: pointer;
    text-decoration: none;
    color: var(--dd-maroon);
    display: block;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background 0.15s;
}

.view-all-wrapper a:hover {
    background: rgba(76, 12, 58, 0.05);
}

.view-all-wrapper a.selected {
    font-weight: 700;
    color: var(--dd-red);
}

/* noUiSlider overrides */
.noUi-connect {
    background: var(--dd-red);
}

.noUi-target {
    background: #e0e0e0;
    border: none;
    box-shadow: none;
    height: 4px;
    margin: 0.75rem 0;
}

.noUi-handle {
    background: var(--dd-white);
    border: 2px solid var(--dd-red);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    width: 14px !important;
    height: 14px !important;
    top: -6px !important;
    right: -7px !important;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

/* =========================
   Category Breadcrumbs
   ========================= */
.category-header-title {
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 85%;
    letter-spacing: -1.44px;
    text-transform: uppercase;
}

.categories-product-body {
    background: var(--dd-white) !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.categories-breadcrumbs {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    font-size: 0.9rem;
}

.categories-breadcrumbs .mud-breadcrumb-item a,
.categories-breadcrumbs .mud-breadcrumb-item span {
    white-space: nowrap;
}

.categories-breadcrumbs .mud-breadcrumb-item a {
    color: var(--dd-red);
    text-decoration: none;
}

.categories-breadcrumbs .mud-breadcrumb-item a:hover {
    text-decoration: underline;
}

.categories-breadcrumbs .mud-breadcrumb-item.mud-disabled span {
    color: var(--dd-maroon);
    font-weight: 600;
}

/* =========================
   Featured Carousel
   ========================= */
.featured-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.featured-carousel-controls {
    position: absolute;
    top: 0;
    right: 1.5rem;
    display: flex;
    gap: 4px;
    z-index: 1;
}

.featured-carousel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 2.5rem;
}

.featured-carousel-item {
    min-width: 0;    
}

.featured-carousel-item .product-card {
    margin-bottom: 1rem;
}

.featured-carousel-item .categories-product-image {
    max-height: 180px;
    object-fit: contain;
}

.homepage-featured-title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.homepage-featured {
    position: relative;
    z-index: 101;
    background: #fff;
    margin-top: -250px;
    padding-top: 2rem;
    border-radius: 16px 16px 0 0;
}

/* =========================
   Responsive — AppBar (max 900px)
   ========================= */
@media (max-width: 900px) {    
    .main-layout-mobile-drawer {
        --mud-drawer-width: 100vw;
    }

    .main-layout-mobile-drawer .mud-drawer-paper {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
    }
    .mud-expand-panel-content {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .main-layout-mobile-drawer .mud-drawer-paper {
        position: fixed;
        top: 0;
        left: 0;
    }

    .main-layout-actions {
        flex-direction: row;
        align-items: center;
        width: auto !important;
        margin: 0 8px 0 auto !important;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .main-layout-search,
    .main-layout-account {
        width: auto !important;
        flex-basis: auto !important;
        margin: 0 !important;
        justify-content: flex-end !important;
        align-items: center !important;
        order: unset !important;
        display: flex !important;
    }

    .main-layout-logo-link {
        margin-left: 0 !important;
    }

    .main-layout-account {
        margin-right: 0 !important;
    }

    .main-layout-hamburger {
        display: inline-flex !important;
        margin-left: 8px;
    }

    .main-layout-nav {
        display: none !important;
    }

    .main-layout-account-items {
        display: none !important;
    }   

    .main-layout-mobile-drawer-header .main-layout-logo-img {
        width: 161.285px !important;
        height: 17.94px !important;
    }       
}

@media (min-width: 901px) {
    .main-layout-mobile-drawer-account {
        display: none !important;
    }
    
    .main-layout-mobile-drawer {
        display: none !important;
    }

}

/* =========================
   Responsive — Search & Menu (max 600px)
   ========================= */
@media (max-width: 600px) {
    .main-menu .mud-nav-link,
    .main-menu .mud-menu-item {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .search-box-container {
        position: static;
    }

    .search-box-popup {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100vw;
        z-index: 1000;
        background: var(--dd-white);
        padding: 8px 0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        display: flex;
        justify-content: center;
    }

    .search-box-expanded {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 0;
    }

    .footer-logo-container {
        justify-content: center;
        padding-bottom: 1rem;
        padding-right: 12px;
    }

    .footer-logo {
        max-width: 80vw;
        max-height: 60px;
        margin-right: 12px;
    }
}

@media (min-width: 601px) {
    .search-close-mobile {
        display: none !important;
    }
}

/* =========================
   Responsive — Mobile (max 768px)
   ========================= */
@media (max-width: 768px) {
    .categories-layout {
        flex-direction: column;
        padding: 0 0.75rem;
    }
    .homepage-featured {
        margin-top: 0;
        border-radius: 0;
        z-index: auto;
    }

    .slider-nav {
        flex: 0 0 auto;
        width: 100%;
        position: static;
    }

    .filter-toggle-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .filter-toggle-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex: 1;
        width: auto;
        margin-right: 1rem;
        padding: 0.75rem 1rem;
        background: var(--dd-red);
        color: var(--dd-white);
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
    }

    .filter-toggle-btn .mud-icon-root {
        color: var(--dd-white) !important;
        fill: var(--dd-white) !important;
    }

    .filter-product-count {
        white-space: nowrap;
        font-size: 0.85rem;
        color: var(--dd-maroon);
        font-weight: 600;
        flex-shrink: 0;
    }

    .slider-nav.filters-closed {
        display: none;
    }

    .slider-nav.filters-open {
        display: block;
    }

    .categories-products-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .featured-carousel-wrapper {
        display: flex;
        flex-direction: column;
    }

    .featured-carousel-track {
        order: 1;
        grid-template-columns: repeat(2, 1fr);
        padding-top: 0;
        align-items: start;
    }

    .featured-carousel-controls {
        order: 2;
        position: static;
        justify-content: center;
        margin-top: 0.75rem;
    }

    .featured-carousel-item:nth-child(n+3) {
        display: none;
    }

    .featured-carousel-item .product-card {
        height: auto !important;
        min-height: unset !important;
    }

    .featured-carousel-item .categories-product-image-wrapper {
        padding: 0.5rem !important;
    }

    .featured-carousel-item .categories-product-image {
        max-height: 80px;
        object-fit: contain;
    }

    .featured-carousel-item .categories-product-body {
        padding: 0.4rem 0.5rem;
    }

    .featured-carousel-item .product-card-title {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .featured-carousel-item .product-card-sku,
    .featured-carousel-item .product-card-price {
        font-size: 0.75rem;
        margin-bottom: 0.15rem;
    }
}

/* =========================
   Responsive — Small Mobile (max 575px)
   Force 2 product cards per row
   ========================= */
@media (max-width: 575px) {
    .categories-product-col,
    .product-listing {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }

    .categories-product-col .product-card,
    .product-listing .product-card {
        min-height: 220px;
    }

    .categories-product-image-wrapper,
    .product-listing-img {
        padding: 0.5rem !important;
    }

    .categories-product-image,
    .product-listing img {
        max-height: 90px;
        object-fit: contain;
    }

    .categories-product-body {
        padding: 0.4rem 0.5rem !important;
    }

    .product-card-title {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
    }

    .product-card-sku,
    .product-card-price {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
}

/* =========================
   Elfsight Instagram Feed
   ========================= */
.elfsight-feed-wrapper {
    width: 100%;
    margin: 2rem 0 0 0;
    background-color: #ffc4fc;
}

.eapps-instagram-feed-title-container {
    background-color: #ffc4fc;
    text-align: center;
}

.eapps-instagram-feed-title {
    color: var(--dd-red) !important;
    text-align: center !important;    
    font-size: 60px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 85% !important;
    letter-spacing: -1.8px !important;
    text-transform: uppercase !important;
}

#productCarousel {
    position: relative;
}
.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

.main-menu-link {
    color: var(--dd-white) !important;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    font-weight: 500;
}

.main-menu-dropdown .mud-popover {
    min-width: 220px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12), 0 1.5px 4px rgba(0,0,0,0.10);
    padding: 10px 0;
}

.main-menu-dropdown-item {
    color: var(--dd-maroon) !important;
    padding: 14px 28px;
    font-weight: 500;
    transition: color 0.2s;
    background: transparent;
}

.main-menu-dropdown-item:hover {
    color: var(--dd-red) !important;
    background: transparent;
}

/* MOBILE MENU STYLES */
.mud-expand-panel-header {
    padding: 8px 12px !important;
    background: var(--dd-red) !important;
    color: var(--dd-white) !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 18px !important;
    transition: background 0.2s, color 0.2s;    
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mud-expand-panel-content {
    max-width: 320px; 
    width: 100%;
    min-width: 0;
    box-sizing: border-box;    
    background: #80D8FF !important;           
    color: var(--dd-maroon) !important;
    border-radius: 0 0 4px 4px;
    padding: 0;
    overflow-x: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;       
}

/* All nav links in mobile menu (parent and subcategory) */
.mud-nav-item.mobile-nav-link {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
}

.mud-nav-item .mud-nav-link {
    color: var(--dd-white) !important;
    background: transparent;
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    border-radius: 0;    
    display: flex;              
    align-items: center;
    justify-content: flex-start;

    box-sizing: border-box;
}

.mud-nav-item .mud-nav-link .mud-nav-link-text {
    color: var(--dd-white) !important;
    background: transparent;
    padding: 0;                
    margin: 0;
    display: inline;            
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.mud-nav-item .mud-nav-link:hover,
.mud-nav-item .mud-nav-link:focus {
    background: rgba(0,0,0,0.08);
    color: var(--dd-white) !important;
}

.mud-nav-link-text,
.mud-expand-panel-text {
    font-weight: 600;                 
    font-family: var(--dd-font-display); 
    letter-spacing: 0.02em;           
}

.mud-expand-panel-header {
    font-weight: 600 !important;
}
/* Headers (non-link items) in mobile menu */
.mobile-menu-header {
    color: var(--dd-white) !important;
    padding: 14px 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 100%;
    display: block;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mud-expand-panel-header .mud-expand-panel-header-content {
    display: flex;
    align-items: center;
}

.mud-expand-panel-content .mud-nav-link,
.mud-expand-panel-content .mud-nav-link .mud-nav-link-text {
    color: var(--dd-maroon) !important;
}

.mud-expand-panel-content .mud-nav-link {
    padding: 6px 12px;
}

.main-layout-mobile-drawer .mud-drawer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.main-layout-mobile-drawer-menu {
    flex: 0 0 auto;
}

.mobile-drawer-footer {
    margin-top: auto;
    padding: 24px 16px;
    color: var(--dd-white);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-drawer-footer-email {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-drawer-email-btn {
    background: var(--dd-white);
    color: var(--dd-red);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-drawer-hours {
    font-size: 14px;
    line-height: 1.3;
}

.mobile-drawer-disclaimer {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.mobile-drawer-social {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
}

.mobile-drawer-social-link {
    color: var(--dd-white);
    text-decoration: none;
}

.mobile-drawer-footer-ribbon {
    background: rgba(0, 0, 0, 0.15);
    margin: 8px -16px -24px -16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.mobile-drawer-overture-img {
    width: 100%;
    max-width: 260px;
    height: auto;
}