/* Shared storefront category explorer: desktop columns + mobile drill-down. */

#click-category-menu {
    background: transparent !important;
    border-top: 0 !important;
    box-shadow: none !important;
    display: block !important;
    left: 0 !important;
    max-width: none !important;
    opacity: 0;
    pointer-events: none;
    right: 0 !important;
    transform: translateY(-8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
    width: auto !important;
}

body.st-mega-open #click-category-menu {
    opacity: 1;
    transform: none !important;
    visibility: visible;
    z-index: 1041 !important;
}

#click-category-menu .container {
    background: transparent !important;
    display: block !important;
}

#click-category-menu .container > .d-flex {
    align-items: stretch !important;
    background: var(--st-surface, #f7f5f0) !important;
    border-radius: 18px !important;
    box-shadow: 0 34px 64px -26px rgba(40, 25, 10, .55) !important;
    margin: 8px 0 0 !important;
    max-width: min(1120px, 94vw) !important;
    overflow: hidden !important;
    pointer-events: auto;
    position: relative !important;
    width: max-content !important;
}

#click-category-menu.no-promo .container > .d-flex {
    max-width: min(820px, 94vw) !important;
}

#cat-menu-backdrop {
    background: rgba(20, 15, 10, .42);
    bottom: 0;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .2s ease, visibility .2s ease;
    visibility: hidden;
    z-index: 1036;
}

#cat-menu-backdrop.show {
    opacity: 1;
    visibility: visible;
}

body.st-mega-open .st-catbar-row {
    z-index: auto;
}

body.st-mega-open .st-catpill {
    position: relative;
    z-index: 1040;
}

body.st-mega-open header.middle-background-color-visibility {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.azce {
    --azce-ink: var(--st-ink, #1b1712);
    --azce-muted: #71695f;
    --azce-line: rgba(27, 23, 18, .09);
    --azce-gold: var(--st-gold, #a9743f);
    --azce-gold-hover: var(--st-gold-hov, #8a5c2f);
    --azce-surface: var(--st-surface, #f7f5f0);
    --azce-band: var(--st-band, #f6f4ee);
    color: var(--azce-ink);
}

.azce button,
.azce a {
    font-family: inherit;
}

.azce--desktop {
    background: var(--azce-surface);
    display: flex;
    flex: 1 1 800px;
    flex-direction: column;
    min-height: 390px;
    min-width: 0;
    width: min(800px, calc(94vw - 240px));
}

#click-category-menu.no-promo .azce--desktop {
    width: min(800px, 94vw);
}

.azce-path {
    align-items: center;
    background: var(--azce-band);
    border-bottom: 1px solid var(--azce-line);
    color: var(--azce-muted);
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    min-height: 50px;
    padding: 9px 16px;
}

.azce-path > i {
    color: var(--azce-gold);
    font-size: 18px;
}

.azce-path ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.azce-path li {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    min-width: 0;
}

.azce-path li:not(:last-child)::after {
    color: var(--azce-muted);
    content: "\203A";
}

.azce-path li:last-child {
    color: var(--azce-ink);
    font-weight: 700;
}

.azce-path button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 3px 1px;
    text-decoration: none;
}

.azce-path button:hover,
.azce-path button:focus-visible {
    color: var(--azce-gold-hover);
    text-decoration: underline;
}

.azce-status {
    align-items: center;
    color: var(--azce-muted);
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 280px;
    padding: 24px;
    text-align: center;
}

.azce-status:empty {
    display: none;
}

.azce-retry {
    background: var(--azce-ink);
    border: 0;
    border-radius: 10px;
    color: var(--azce-surface);
    cursor: pointer;
    min-height: 44px;
    padding: 9px 16px;
}

.azce-columns {
    display: flex;
    flex: 1 1 auto;
    min-height: 340px;
    overflow-x: hidden;
}

.azce-column {
    align-content: start;
    border-right: 1px solid var(--azce-line);
    display: grid;
    flex: 1 1 25%;
    gap: 3px;
    max-height: min(500px, calc(100vh - 220px));
    min-width: 0;
    overflow-y: auto;
    padding: 12px;
    scrollbar-color: var(--azce-gold) transparent;
    scrollbar-width: thin;
}

.azce-column:last-child {
    border-right: 0;
}

.azce-column-head {
    align-items: center;
    border-bottom: 1px solid var(--azce-line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    min-height: 42px;
    padding: 5px 8px;
}

.azce-column-title {
    color: var(--azce-ink);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.azce-row,
.azce-view-all {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--azce-ink) !important;
    display: flex;
    font-size: 13px;
    gap: 8px;
    justify-content: space-between;
    min-height: 44px;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none !important;
    width: 100%;
}

button.azce-row,
.azce-view-all {
    cursor: pointer;
}

.azce-row:hover,
.azce-row:focus-visible {
    background: #f3ede4;
}

.azce-row.is-active {
    background: #eadcc8;
    color: var(--azce-gold-hover) !important;
    font-weight: 700;
}

.azce-row.is-title {
    color: var(--azce-muted) !important;
    cursor: default;
}

.azce-row-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.azce-row > i {
    flex: 0 0 auto;
    font-size: 15px;
}

.azce-view-all {
    color: var(--azce-gold-hover) !important;
    font-weight: 700;
    justify-content: flex-start;
}

.azce-view-all:hover,
.azce-view-all:focus-visible {
    background: #f3ede4;
    color: var(--azce-gold-hover) !important;
}

#click-category-menu .mega-promo {
    background: var(--st-band, #f6f4ee);
    min-width: 240px;
    padding: 16px;
    position: static;
    width: 240px;
}

#click-category-menu .mega-promo a {
    display: block;
    height: 100%;
    width: 100%;
}

#click-category-menu .mega-promo img {
    border-radius: 14px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

#click-category-menu .mega-promo-cta {
    align-items: center;
    background: linear-gradient(150deg, #2a2018, #5a3d29);
    border-radius: 14px;
    color: #f7f5f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding: 24px;
    text-align: center;
    width: 100%;
}

#click-category-menu .mega-promo-cta .mp-top {
    font-size: 12px;
    letter-spacing: .08em;
    opacity: .8;
    text-transform: uppercase;
}

#click-category-menu .mega-promo-cta .mp-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 8px 0;
}

#click-category-menu .mega-promo-cta .mp-link {
    font-size: 13px;
}

.azce--mobile {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
}

.azce-mobile-trigger-arrow {
    font-size: 16px;
    margin-left: auto;
}

.ms2-panel.azce-browsing .ms2-cta,
.ms2-panel.azce-browsing .ms2-foot {
    display: none;
}

.ms2-nav.azce-browsing {
    overflow: hidden;
    padding-right: 0;
}

.ms2-nav.azce-browsing > :not(.azce--mobile) {
    display: none !important;
}

.azce--mobile.is-open {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.azce--mobile.is-open > .azce-mobile-trigger {
    display: none;
}

.azce-mobile-panel {
    color: #fff;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.azce-mobile-head {
    align-items: center;
    border-bottom: 1px solid #333238;
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 62px;
    padding: 5px 2px 10px;
}

.azce-back {
    align-items: center;
    background: transparent;
    border: 1px solid #3a3a42;
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
    min-height: 44px;
    padding: 8px 10px;
}

.azce-mobile-location {
    min-width: 0;
}

.azce-mobile-location h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 1px 0 0;
    overflow-wrap: anywhere;
}

.azce-mobile-path {
    color: #9a9aa3;
    display: block;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.azce--mobile .azce-status {
    color: #b8b8c1;
    min-height: 160px;
}

.azce--mobile .azce-retry {
    background: var(--primary);
    color: #fff;
}

.azce-mobile-list {
    align-content: start;
    display: grid;
    flex: 1 1 auto;
    gap: 3px;
    grid-auto-rows: max-content;
    min-height: 0;
    overflow-y: auto;
    padding-top: 10px;
    scrollbar-color: #3a3a42 transparent;
    scrollbar-width: thin;
}

.azce--mobile .azce-row,
.azce--mobile .azce-view-all {
    border-radius: 12px;
    color: #d6d6dd !important;
    font-size: 14px;
    min-height: 46px;
    padding: 9px 12px;
}

.azce--mobile .azce-row:hover,
.azce--mobile .azce-row:focus-visible,
.azce--mobile .azce-view-all:hover,
.azce--mobile .azce-view-all:focus-visible {
    background: #222;
    color: #fff !important;
}

.azce--mobile .azce-view-all {
    border-bottom: 1px solid #333238;
    color: #e6bb80 !important;
    margin-bottom: 3px;
}

.azce--mobile .azce-row.is-title {
    color: #8f8f98 !important;
}

@media (max-width: 1199.98px) {
    #click-category-menu .mega-promo {
        display: none;
    }

    .azce--desktop {
        width: min(800px, 94vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    #click-category-menu,
    #cat-menu-backdrop {
        transition: none;
    }
}
