.home-skel {
    display: block;
    background: linear-gradient(90deg, #e8ecf2 25%, #f4f6f9 37%, #e8ecf2 63%);
    background-size: 400% 100%;
    border-radius: 8px;
    animation: homeSkelShimmer 1.4s ease-in-out infinite;
}

@keyframes homeSkelShimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

.sub-nav,
.home-section-modal,
.header--search-categories {
    --color-primary: #009966;
    --color-primary-dark: #004f3b;
    --color-bg-page: #f9fafb;
    --color-white: #ffffff;
    --color-text-dark: #0f172b;
    --color-text-secondary: #314158;
    --color-text-muted: #6a7282;
    --color-red: #fb2c36;
    --color-surface-border: #dde3ec;
    --font-family: 'Inter', sans-serif;
    --float-shadow: 0 6px 14px rgba(15, 23, 42, 0.08), 0 20px 48px rgba(15, 23, 42, 0.12);
    --t-emerald: #009966;
    --t-emerald-2: #2fcf94;
    --t-emerald-tint: #dff4ea;
    --panel-accent: var(--t-emerald);
    --panel-accent-2: var(--t-emerald-2);
}

.home-icon {
    display: block;
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.home-icon--nav,
.home-icon--section {
    width: 22px;
    height: 22px;
}

.home-icon--category {
    width: 22px;
    height: 22px;
}

.home-icon--empty {
    width: 30px;
    height: 30px;
}

.home-icon--support {
    width: 24px;
    height: 24px;
}

.home-icon--action {
    width: 17px;
    height: 17px;
}

.home-icon--small {
    width: 16px;
    height: 16px;
}

.sub-nav {
    position: relative;
    z-index: 20;
    background-color: var(--color-white);
    border-bottom: 0;
    box-shadow: 0 24px 20px -24px rgba(15, 23, 42, 0.16);
}

.sub-nav-container {
    width: 100%;
    max-width: 1431px;
    min-height: 62px;
    margin: 0 auto;
    padding: 0 68px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 6px;
}

.sub-nav-item {
    position: relative;
}

.sub-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-bottom: 2px solid transparent;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.15px;
    white-space: nowrap;
    transition: color 0.18s, border-color 0.18s;
}

.sub-nav-link .home-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: color 0.18s;
}

.sub-nav-link span {
    display: block;
    line-height: 20px;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--color-text-dark);
    border-bottom-color: var(--color-text-dark);
}

.sub-nav-link:hover .home-icon,
.sub-nav-link.active .home-icon {
    color: var(--color-text-dark);
}

.sub-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    border: 1px solid #e6e9f0;
    border-radius: 16px;
    box-shadow: var(--float-shadow);
    padding: 8px;
    min-width: 220px;
    z-index: 100;
}

.sub-nav-item:hover .sub-nav-dropdown {
    display: block;
}

.sub-nav-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.sub-nav-dropdown-link:hover {
    background: var(--t-emerald-tint);
    color: var(--color-primary-dark);
}

.brand-menu {
    display: flex;
    align-items: stretch;
}

.sub-nav-divider {
    flex-shrink: 0;
    align-self: center;
    width: 2px;
    height: 28px;
    border-radius: 2px;
    background: var(--color-surface-border);
}

.brand-menu-toggle {
    align-self: center;
    height: 40px;
    border: 1.5px solid var(--color-primary);
    border-radius: 10px;
    background: none;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-menu-toggle .home-icon--nav {
    transition: transform 0.25s ease;
}

.brand-menu-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: none;
    box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--color-primary) 45%, transparent);
    transform: translateY(-1px);
}

.brand-menu-toggle:hover .home-icon--nav {
    transform: rotate(-12deg) scale(1.08);
}

.brand-menu-toggle:hover .brand-menu-caret {
    transform: translateY(2px);
}

.brand-menu-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px -2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.brand-menu-toggle:focus {
    outline: none;
}

.brand-menu-toggle:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

.brand-menu.is-open .brand-menu-toggle {
    color: var(--color-text-dark);
    border-color: var(--color-primary);
    background: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.brand-menu-toggle .home-icon,
.brand-menu-toggle:hover .home-icon,
.brand-menu.is-open .brand-menu-toggle .home-icon {
    color: var(--color-primary);
}

.brand-menu-toggle .brand-menu-caret,
.brand-menu-toggle:hover .brand-menu-caret,
.brand-menu.is-open .brand-menu-toggle .brand-menu-caret {
    color: var(--color-text-muted);
}

.brand-menu-toggle .brand-menu-caret {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.brand-menu.is-open .brand-menu-toggle .brand-menu-caret {
    transform: rotate(180deg);
}

.brand-menu.is-open .brand-menu-toggle:hover {
    transform: none;
}

.brand-menu-panel {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 100;
    width: 540px;
    max-width: calc(100vw - 32px);
    padding: 16px;
    background: var(--color-white);
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    box-shadow: var(--float-shadow);
}

.brand-menu-panel[hidden] {
    display: none;
}

.brand-menu-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.brand-menu-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    background: var(--color-bg-page);
}

.brand-menu-search .home-icon {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

.brand-menu-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 13px;
    background: transparent;
}

.brand-menu-all-link {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.brand-menu-all-link .home-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.18s;
}

.brand-menu-all-link:hover .home-icon {
    transform: translateX(3px);
}

.brand-menu-all-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.brand-menu-title {
    margin-bottom: 10px;
    color: var(--color-text-dark);
    font-size: 13.5px;
    font-weight: 600;
}

.brand-menu-featured-wrap {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eef0f4;
}

.brand-menu-featured-wrap[hidden] {
    display: none;
}

.brand-menu-featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.brand-category-panel-body {
    flex: 1 1 auto;
    padding: 16px 20px 20px;
}

.brand-category-panel-count {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 24px;
    margin-left: auto;
    padding: 0 10px;
    border-radius: 999px;
    background-color: #f1f5f9;
    color: var(--color-text-muted);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.brand-category-panel-count:empty {
    display: none;
}

.brand-category-panel .brand-menu-list {
    max-height: 290px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.brand-category-panel .brand-menu-list:hover {
    scrollbar-color: #cbd5e1 transparent;
}

.brand-category-panel .brand-menu-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.brand-category-panel .brand-menu-list::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 999px;
}

.brand-category-panel .brand-menu-list:hover::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
}

.brand-menu-search-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 8px;
    max-height: 176px;
    overflow-y: auto;
}

.brand-menu-logo {
    --brand-logo-border: color-mix(in srgb, var(--color-primary) 45%, #ffffff);
    position: relative;
    display: block;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.brand-menu-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1.5px solid var(--brand-logo-border);
    border-radius: inherit;
    pointer-events: none;
    transition: border-color 0.15s;
}

.brand-menu-logo:hover {
    --brand-logo-border: var(--color-primary);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--color-primary) 22%, transparent);
    transform: translateY(-2px);
}

.brand-menu-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}

.brand-menu-letters {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    gap: 4px 2px;
}

.brand-menu-letter {
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--color-text-secondary);
    font: inherit;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
}

.brand-menu-letter:hover {
    background: none;
    color: var(--color-primary-dark);
    box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.brand-menu-letter.active {
    color: var(--color-primary-dark);
    box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.brand-menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 8px;
    max-height: 220px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef0f4;
    overflow-y: auto;
}

.brand-menu-list[hidden] {
    display: none;
}

.brand-menu-list-link {
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-menu-list-link:hover {
    background: var(--t-emerald-tint);
    color: var(--color-primary-dark);
}

.brand-menu-empty {
    grid-column: 1 / -1;
    padding: 8px;
    color: var(--color-text-muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .brand-menu {
        display: contents;
    }

    .sub-nav-container .brand-menu-toggle,
    .sub-nav-container .brand-menu-toggle:hover {
        box-shadow: none;
        transform: none;
    }

    .sub-nav-container .brand-menu-toggle {
        order: 1;
        width: 100%;
    }

    .sub-nav-divider {
        display: none;
    }

    .brand-menu-panel {
        order: 2;
        grid-column: 1 / -1;
        position: static;
        width: auto;
        max-width: none;
        margin-top: 6px;
        box-shadow: none;
    }

    .brand-menu-search {
        min-width: 0;
    }
}

.showcase-deals-title .home-icon,
.orders-panel-title .home-icon,
.announce-panel-title .home-icon,
.category-panel-title .home-icon,
.weekly-deals-title .home-icon,
.section-title .home-icon {
    flex: none;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    color: var(--panel-accent-2);
    box-shadow: none;
}

.orders-panel-title .home-icon,
.announce-panel-title .home-icon,
.duo-panels .category-panel-title .home-icon {
    color: var(--panel-accent);
}

.main-content .showcase-deals-title .home-icon {
    color: var(--t-emerald);
}

.main-content .weekly-deals-title .home-icon {
    color: var(--t-emerald);
}

.showcase-deals-all .home-icon,
.orders-panel-all .home-icon,
.category-panel-all .home-icon,
.weekly-deals-all .home-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.18s;
}

.showcase-deals-all:hover .home-icon,
.orders-panel-all:hover .home-icon,
.category-panel-all:hover .home-icon,
.weekly-deals-all:hover .home-icon {
    transform: translateX(2px);
}

.showcase-deals .showcase-deals-title .home-icon {
    width: 22px;
    height: 22px;
    padding: 0;
}

.showcase-solo .showcase-solo-add .home-icon {
    width: 16px;
    height: 16px;
}

.showcase-solo .showcase-solo-confirm .home-icon {
    width: 16px;
    height: 16px;
}

.showcase-solo-add .home-icon,
.showcase-solo-confirm .home-icon {
    width: 16px;
    height: 16px;
}

.panel-empty-icon .home-icon {
    width: 28px;
    height: 28px;
}

.announce-support-wa .home-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.18s ease;
}

.announce-support-wa:hover .home-icon {
    transform: scale(1.05);
}

.price-offers-section .section-title .home-icon {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.price-offer-featured .home-icon {
    width: 13px;
    height: 13px;
}

.price-offer-usage .home-icon {
    flex: none;
    width: 14px;
    height: 14px;
}

.price-offer-add-btn .home-icon {
    width: 16px;
    height: 16px;
}

.price-offers-footnote .home-icon {
    flex: none;
    width: 15px;
    height: 15px;
}

.home-section-modal.is-price-offer .home-section-modal-dialog {
    width: min(720px, 100%);
}

.home-section-modal.is-price-offer .home-section-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.home-skel-navlink {
    width: 110px;
    height: 30px;
    margin: 16px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.weekly-deals-title .home-icon {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--t-emerald);
    box-shadow: none;
}

.panel-heading .showcase-deals-all:hover .home-icon {
    transform: translateX(3px);
}

.weekly-deals-head .weekly-deals-all:hover .home-icon {
    transform: translateX(3px);
}

.weekly-deal-meta .home-icon {
    width: 16px;
    height: 16px;
    color: var(--color-text-secondary);
}

.weekly-deal .showcase-solo-add .home-icon,
.weekly-deal .showcase-solo-confirm .home-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 1200px) {
    .sub-nav-container {
        padding: 0 18px;
    }
}

@media (max-width: 768px) {
    .sub-nav-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .main-content .panel-heading .showcase-deals-all .home-icon,
    .main-content .weekly-deals-head .weekly-deals-all .home-icon,
    .main-content .category-panel-head .category-panel-all .home-icon {
        width: 13px;
        height: 13px;
    }

    .header--search-categories .home-icon {
        width: 20px;
        height: 20px;
    }

    .sub-nav {
        display: none;
    }

    .sub-nav.is-open {
        display: block;
        position: sticky;
        top: var(--sub-nav-top, 0px);
        z-index: 899;
        max-height: calc(100dvh - var(--sub-nav-top, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .sub-nav-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        align-items: stretch;
        min-height: 0;
        gap: 2px 6px;
        padding: 8px 16px;
    }

    .sub-nav-container .sub-nav-link {
        min-width: 0;
        min-height: 38px;
        gap: 7px;
        padding: 0 8px;
        border-bottom: 0;
        border-radius: 10px;
        font-size: 12.5px;
    }

    .sub-nav-container .sub-nav-link .home-icon {
        width: 17px;
        height: 17px;
    }

    .sub-nav-container .sub-nav-link span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sub-nav-container .sub-nav-link:hover,
    .sub-nav-container .sub-nav-link.active {
        background-color: var(--color-bg-page);
    }

    .home-skel-navlink {
        margin: 13px 0;
    }
}

.home-section-modal {
    --home-section-modal-accent: var(--color-primary);
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: var(--font-family);
}

.home-section-modal[hidden] {
    display: none;
}

.home-section-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(2px);
    animation: home-section-modal-fade 0.2s ease;
}

.home-section-modal-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1040px, 100%);
    max-height: min(860px, calc(100vh - 48px));
    max-height: min(860px, calc(100dvh - 48px));
    border-radius: 24px;
    background-color: var(--color-white);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    overflow: hidden;
    animation: home-section-modal-rise 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-section-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 20px 28px;
    border-bottom: 1px solid #e2e8f0;
}

.home-section-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-dark);
}

.home-section-modal-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-section-modal-title .home-icon {
    width: 24px;
    height: 24px;
    color: var(--home-section-modal-accent);
}

.home-section-modal-count {
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: #f1f5f9;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
}

.home-section-modal-count:empty {
    display: none;
}

.home-section-modal-close {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: transparent;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: background-color 0.2s;
}

.home-section-modal-close:hover {
    background-color: #f1f5f9;
}

.home-section-modal-close:focus-visible {
    outline: 2px solid var(--home-section-modal-accent);
    outline-offset: 2px;
}

.home-section-modal-close .home-icon {
    width: 24px;
    height: 24px;
}

.home-section-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px 28px;
    background-color: #f1f5f9;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.home-section-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-section-modal-grid > .showcase-deals-empty {
    grid-column: 1 / -1;
}

.home-section-modal-grid .weekly-deal {
    gap: 10px;
    min-width: 0;
    padding: 16px;
    border-radius: 16px;
    box-shadow: none;
    text-align: left;
}

.home-section-modal-grid .weekly-deal:not(.weekly-deal--skeleton):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.home-section-modal-grid .weekly-deal-media {
    height: 168px;
}

.home-section-modal-grid .weekly-deal-badge {
    right: auto;
    left: 9px;
}

.home-section-modal-grid .weekly-deal-name {
    min-height: 40px;
    height: 40px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 20px;
}

.home-section-modal-grid .weekly-deal-metas {
    justify-content: flex-start;
}

.home-section-modal-grid .weekly-deal-foot {
    justify-content: space-between;
    padding-top: 0;
}

.home-section-modal-grid .weekly-deal-prices {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 8px;
    min-width: 0;
}

.home-section-modal-grid .weekly-deal-price {
    font-size: 20px;
    font-weight: 800;
}

.home-section-modal-grid .weekly-deal .showcase-solo-add,
.home-section-modal-grid .weekly-deal .showcase-solo-confirm {
    width: 40px;
    min-height: 40px;
    border-radius: 10px;
}

.home-section-modal-grid .weekly-deal .showcase-solo-add .home-icon,
.home-section-modal-grid .weekly-deal .showcase-solo-confirm .home-icon {
    width: 20px;
    height: 20px;
}

.home-section-modal-grid .weekly-deal .showcase-solo-qty {
    height: 40px;
}

.home-section-modal-grid .weekly-deal .showcase-solo-qty-value {
    width: 36px;
}

@media (prefers-reduced-motion: reduce) {
    .home-section-modal-backdrop,
    .home-section-modal-dialog {
        animation: none;
    }
}

@media (max-width: 1200px) {
    .home-section-modal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-section-modal {
        padding: max(36px, env(safe-area-inset-top)) 16px max(36px, env(safe-area-inset-bottom));
    }

    .home-section-modal-dialog {
        width: min(430px, 100%);
        max-height: min(820px, calc(100vh - 72px));
        max-height: min(820px, calc(100dvh - 72px));
        border-radius: 20px;
    }

    .home-section-modal-head {
        gap: 8px;
        padding: 14px 10px 14px 18px;
    }

    .home-section-modal-title {
        gap: 8px;
        font-size: 18px;
    }

    .home-section-modal-title .home-icon {
        width: 22px;
        height: 22px;
    }

    .home-section-modal-count {
        padding: 2px 8px;
        font-size: 11.5px;
    }

    .home-section-modal-body {
        padding: 14px;
    }

    .home-section-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-section-modal-grid .weekly-deal {
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
    }

    .home-section-modal-grid .weekly-deal-media {
        height: 128px;
    }

    .home-section-modal-grid .weekly-deal-name {
        min-height: 38px;
        height: 38px;
        font-size: 13.5px;
        line-height: 19px;
    }

    .home-section-modal-grid .weekly-deal-price {
        font-size: 17px;
    }

    .home-section-modal-grid .weekly-deal .showcase-solo-add,
    .home-section-modal-grid .weekly-deal .showcase-solo-confirm {
        width: 34px;
        min-height: 34px;
    }

    .home-section-modal-grid .weekly-deal .showcase-solo-qty {
        height: 34px;
    }

    .main-content .showcase-deals .showcase-deals-title .home-icon,
    .main-content .weekly-deals-head .weekly-deals-title .home-icon,
    .main-content .category-panel-head .category-panel-title .home-icon {
        width: 18px;
        height: 18px;
    }
}

.brand-modal .home-section-modal-dialog {
    width: min(1000px, 100%);
}

.brand-modal .home-section-modal-head {
    padding: 18px 20px 18px 28px;
}

.brand-modal .home-section-modal-title {
    gap: 8px;
    font-size: 20px;
}

.brand-modal .home-section-modal-title .home-icon {
    flex: none;
    width: 26px;
    height: 26px;
}

.brand-modal-search {
    flex: 0 1 300px;
    height: 42px;
    margin-left: auto;
}

.brand-modal .home-section-modal-close {
    margin-left: 0;
}

.brand-modal .home-section-modal-body {
    padding: 0 28px 28px;
    background-color: #f8fafc;
}

.brand-modal-letters {
    position: sticky;
    top: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(27, minmax(0, 1fr));
    gap: 4px;
    margin: 0 -28px 20px;
    padding: 12px 28px;
    border-bottom: 1px solid #e2e8f0;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
}

.brand-modal-letters .brand-menu-letter {
    height: 32px;
    border-radius: 8px;
    color: var(--color-text-dark);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.15s, color 0.15s;
}

.brand-modal-letters .brand-menu-letter:disabled {
    background: none;
    color: #cbd5e1;
    box-shadow: none;
    cursor: default;
}

.brand-modal-groups {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-modal-group {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 16px 20px;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    background-color: var(--color-white);
    scroll-margin-top: 72px;
}

.brand-modal-group-title {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 12px;
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 800;
}

.brand-modal-group-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px 12px;
    align-content: center;
    min-height: 44px;
}

.brand-modal-group-list .brand-menu-list-link {
    padding: 8px 10px;
    color: var(--color-text-dark);
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color 0.15s, color 0.15s;
}

@media (max-width: 900px) {
    .brand-modal-letters {
        grid-template-columns: repeat(14, minmax(0, 1fr));
    }

    .brand-modal-group-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .brand-modal .home-section-modal-head {
        flex-wrap: wrap;
    }

    .brand-modal .home-section-modal-title {
        font-size: 17px;
    }

    .brand-modal .home-section-modal-title .home-icon {
        width: 22px;
        height: 22px;
    }

    .brand-modal .home-section-modal-close {
        margin-left: auto;
    }

    .brand-modal-search {
        order: 3;
        flex-basis: 100%;
    }

    .brand-modal .home-section-modal-body {
        padding: 0 16px 16px;
    }

    .brand-modal-letters {
        display: grid;
        grid-template-columns: repeat(9, minmax(0, 1fr));
        gap: 4px;
        margin: 0 -16px 12px;
        padding: 8px 16px;
    }

    .brand-modal-letters .brand-menu-letter {
        height: 32px;
    }

    .brand-modal-groups {
        gap: 10px;
    }

    .brand-modal-group {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
        border-radius: 14px;
        scroll-margin-top: 60px;
    }

    .brand-modal-group-title {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background-color: var(--t-emerald-tint);
        font-size: 15px;
    }

    .brand-modal-group-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 8px;
        min-height: 32px;
    }

    .brand-modal-group-list .brand-menu-list-link {
        padding: 7px 8px;
        font-size: 13px;
    }

    .brand-category-panel-body {
        max-height: none;
        padding: 14px 16px 16px;
    }

    .brand-category-panel .category-panel-head .category-panel-title {
        order: 1;
        flex: 1 1 auto;
    }

    .brand-category-panel .brand-category-panel-count {
        order: 2;
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .brand-modal {
        padding: 16px 12px;
    }

    .brand-modal .home-section-modal-dialog {
        max-height: 82vh;
        max-height: 82dvh;
        border-radius: 18px;
    }

    .brand-modal .home-section-modal-head {
        padding: 14px 12px 14px 16px;
    }

    .brand-modal .home-section-modal-title {
        font-size: 17px;
    }

    .brand-menu-top {
        gap: 8px;
    }

    .brand-menu-all-link {
        font-size: 12px;
    }

    .brand-menu-featured {
        gap: 6px;
    }

    .brand-menu-logo {
        height: 52px;
        border-radius: 8px;
    }

    .brand-menu-logo img {
        transform: scale(1.1);
    }

    .brand-menu-letters {
        grid-template-columns: repeat(13, minmax(0, 1fr));
        gap: 4px 0;
    }

    .brand-menu-letter {
        font-size: 11px;
    }

    .brand-menu-list,
    .brand-menu-search-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sub-nav-container .brand-menu {
        order: 1;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-nav-container .brand-menu-toggle {
        align-self: flex-start;
        width: auto;
        max-width: 100%;
        height: 34px;
        min-height: 34px;
        margin: 4px 0 6px;
        padding: 0 12px;
        border: 1.5px solid var(--color-primary);
        border-radius: 10px;
    }

    .sub-nav-container .brand-menu-panel {
        align-self: stretch;
    }

    .sub-nav-container.is-brand-open > :not(.brand-menu) {
        display: none;
    }

    .sub-nav-container.is-brand-open .brand-menu-panel {
        animation: brand-menu-mobile-in 0.2s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sub-nav-container.is-brand-open .brand-menu-panel {
        animation: none;
    }
}

.brand-modal .home-section-modal-title {
    line-height: 1;
}

.brand-modal .home-section-modal-title .home-icon {
    display: block;
    flex: none;
}

.brand-modal .home-section-modal-title span {
    display: block;
    line-height: 24px;
}

.brand-modal .home-section-modal-count {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    line-height: 1;
}

@media (max-width: 768px) {
    .brand-menu-logo {
        --brand-logo-border: color-mix(in srgb, var(--color-primary) 70%, #ffffff);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    }

    .brand-menu-logo::after {
        border-width: 1px;
    }
}

.sub-nav a:focus-visible,
.sub-nav button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

html:has(> body.home-section-modal-open),
body.home-section-modal-open {
    overflow: hidden;
}

@keyframes home-section-modal-fade {
    from {
        opacity: 0;
    }
}

@keyframes home-section-modal-rise {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
}

@keyframes brand-menu-mobile-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.header--search-categories {
    display: none;
}

@media (max-width: 768px) {
    .header--search-categories {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 42px;
        height: 100%;
        margin-right: 4px;
        padding: 0;
        border: 0;
        border-right: 1px solid var(--color-surface-border);
        background-color: transparent;
        color: var(--color-white);
        cursor: pointer;
    }

    .header--search-categories[aria-expanded="true"] {
        color: var(--color-primary);
    }
}
