.snm-menu,
.snm-menu * {
    box-sizing: border-box;
}

.snm-menu {
    width: 100%;
    max-width: var(--snm-max-width, 1800px);
    margin: 0 auto;
    color: var(--snm-text, #fff);
    font-family: inherit;
}

.snm-tabs-wrap {
    position: relative;
    z-index: 10;
    margin: 0 0 20px;
}

.snm-tabs-wrap.is-sticky {
    position: sticky;
    top: 8px;
}

.snm-tabs,
.snm-subtabs {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.snm-tabs {
    justify-content: center;
    gap: 10px;
    padding: 6px 2px 10px;
}

.snm-tabs::-webkit-scrollbar,
.snm-subtabs::-webkit-scrollbar,
.snm-grid::-webkit-scrollbar {
    display: none;
}

.snm-tab {
    flex: 0 0 auto;
    appearance: none;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid var(--snm-accent, #c39f75);
    border-radius: 999px;
    background: transparent;
    color: var(--snm-accent, #c39f75);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.snm-tab:hover,
.snm-tab:focus-visible {
    background: rgba(195, 159, 117, .11);
    outline: none;
}

.snm-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(195, 159, 117, .28);
}

.snm-tab.is-active {
    background: var(--snm-accent, #c39f75);
    color: #fff;
}

.snm-subtabs {
    justify-content: center;
    gap: 24px;
    max-width: 100%;
    margin: -2px 0 20px;
    padding: 0 8px 8px;
}

.snm-subtab {
    position: relative;
    flex: 0 0 auto;
    appearance: none;
    margin: 0;
    padding: 7px 2px 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--snm-muted, #eee);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease;
}

.snm-subtab:hover,
.snm-subtab:focus-visible,
.snm-subtab.is-active {
    color: var(--snm-accent, #c39f75);
    border-bottom-color: var(--snm-accent, #c39f75);
    outline: none;
}

.snm-panel[hidden],
.snm-card[hidden] {
    display: none !important;
}

.snm-category-note {
    max-width: 1080px;
    margin: 0 auto 20px;
    color: var(--snm-muted, #eee);
    text-align: center;
    font-size: 16px;
    line-height: 1.55;
}

.snm-category-note p {
    margin: 0;
}


.snm-anchor-target {
    display: block;
    height: 0;
    overflow: hidden;
    scroll-margin-top: 120px;
}

.snm-section-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 2px 2px;
    color: var(--snm-accent, #c39f75);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    scroll-margin-top: 120px;
}

.snm-section-heading::before {
    content: '';
    flex: 0 0 34px;
    height: 1px;
    background: var(--snm-accent, #c39f75);
    opacity: .58;
}

.snm-section-heading::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--snm-accent, #c39f75);
    opacity: .58;
}

.snm-section-heading[hidden] {
    display: none !important;
}

.snm-card__section-mobile {
    display: none;
}

.snm-carousel {
    position: relative;
}

.snm-carousel__arrow {
    display: none;
}

.snm-grid {
    display: grid;
    grid-template-columns: repeat(var(--snm-columns, 2), minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.snm-card {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    align-items: stretch;
    min-height: 250px;
    overflow: hidden;
    border: var(--snm-border-width, 2px) solid var(--snm-accent, #c39f75);
    border-radius: 16px;
    background: var(--snm-card-bg, #242424);
    color: var(--snm-text, #fff);
    box-shadow: 0 10px 26px rgba(0, 0, 0, var(--snm-shadow-alpha, .16));
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .snm-card:hover {
        transform: translateY(calc(var(--snm-hover-lift, 4px) * -1));
        box-shadow: 0 16px 34px rgba(0, 0, 0, var(--snm-shadow-alpha, .16));
    }
}

.snm-card__media {
    width: 285px;
    min-height: 246px;
    padding: 16px 16px 16px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snm-card__img {
    display: block;
    width: 100%;
    max-width: 260px;
    max-height: 222px;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.snm-card__body {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: stretch;
    padding: 25px 28px 21px 6px;
}

.snm-card--no-image {
    grid-template-columns: minmax(0, 1fr);
}

.snm-card--no-image .snm-card__body {
    padding-left: 24px;
}

.snm-card__title {
    min-height: 45px;
    margin: 0 0 8px;
    color: var(--snm-accent, #c39f75);
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0;
}

.snm-card__content {
    min-width: 0;
}

.snm-card__description {
    color: var(--snm-muted, #eee);
    font-size: 14.5px;
    line-height: 1.46;
    overflow-wrap: anywhere;
}

.snm-card__description p {
    margin: 0;
}

.snm-card__description p + p {
    margin-top: 7px;
}

.snm-card__more {
    display: none;
}

.snm-card__price-wrap {
    align-self: end;
    display: flex;
    justify-content: flex-start;
    margin-top: 13px;
}

.snm-card__price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 6px 12px;
    border: max(1px, var(--snm-border-width, 2px)) solid var(--snm-accent, #c39f75);
    border-radius: 8px;
    color: var(--snm-accent, #c39f75);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .snm-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .snm-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .snm-menu {
        width: 100%;
        overflow: hidden;
    }

    .snm-tabs-wrap {
        margin-bottom: 10px;
    }

    .snm-tabs-wrap.is-sticky {
        top: 6px;
        padding: 4px 0;
        background: rgba(36, 36, 36, .94);
        backdrop-filter: blur(8px);
    }

    .snm-tabs {
        justify-content: flex-start;
        gap: 9px;
        padding: 4px 4px 8px;
        scroll-snap-type: x proximity;
    }

    .snm-tab {
        scroll-snap-align: start;
        padding: 9px 15px;
        font-size: 13.5px;
    }

    .snm-subtabs {
        justify-content: flex-start;
        gap: 20px;
        margin: 0 0 11px;
        padding: 0 8px 6px;
        scroll-snap-type: x proximity;
    }

    .snm-subtab {
        scroll-snap-align: start;
        padding: 6px 0 7px;
        font-size: 13px;
    }

    .snm-category-note {
        margin: 0 12px 12px;
        font-size: 13px;
        line-height: 1.45;
    }

    .snm-section-heading {
        display: none !important;
    }

    .snm-card__section-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        margin: 0;
        padding: 14px 22px 2px;
        color: var(--snm-accent, #c39f75);
        font-size: 12.5px;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .snm-card__section-mobile::before,
    .snm-card__section-mobile::after {
        content: '';
        flex: 1 1 auto;
        max-width: 44px;
        height: 1px;
        background: currentColor;
        opacity: .5;
    }

    .snm-carousel {
        position: relative;
        width: 100%;
        padding: 0;
    }

    .snm-grid {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 18px 10px;
        margin: 0;
        scroll-padding-inline: 18px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .snm-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        border-radius: 18px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        text-align: center;
        box-shadow: 0 7px 20px rgba(0, 0, 0, var(--snm-shadow-alpha, .16));
    }

    .snm-card__media {
        width: 100%;
        height: 238px;
        min-height: 238px;
        padding: 8px 28px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .snm-card__img {
        width: auto;
        max-width: min(100%, 350px);
        max-height: 220px;
        height: auto;
        object-fit: contain;
        object-position: center;
        transform: translateY(8px) scale(1.25);
        transform-origin: center center;
    }

    .snm-card__body,
    .snm-card--no-image .snm-card__body {
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        align-content: stretch;
        padding: 0 24px 28px;
        margin-top: -20px;
    }

    .snm-card--no-image .snm-card__body {
        padding-top: 24px;
        margin-top: 0;
    }

    .snm-card__title {
        min-height: 0;
        margin: 0 0 9px;
        font-size: clamp(18px, 5vw, 21px);
        line-height: 1.28;
        font-weight: 800;
    }

    .snm-card__content {
        align-self: start;
        width: 100%;
    }

    .snm-card__description {
        display: -webkit-box;
        max-width: 520px;
        margin: 0 auto;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--snm-mobile-desc-lines, 6);
        color: var(--snm-muted, #eee);
        font-size: 13.5px;
        line-height: 1.44;
    }

    .snm-card__description.is-expanded {
        display: block;
        overflow: visible;
        -webkit-line-clamp: initial;
    }

    .snm-card__description p + p {
        margin-top: 6px;
    }

    .snm-card__more:not([hidden]) {
        display: inline-flex;
        align-self: center;
        appearance: none;
        margin: 7px 0 0;
        padding: 3px 4px;
        border: 0;
        border-bottom: 1px solid currentColor;
        background: transparent;
        color: var(--snm-accent, #c39f75);
        font: inherit;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        cursor: pointer;
    }

    .snm-card__price-wrap {
        align-self: end;
        justify-self: stretch;
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 16px;
    }

    .snm-card__price {
        min-height: 40px;
        padding: 8px 14px;
        border-radius: 10px;
        font-size: 18px;
    }

    .snm-carousel__arrow {
        display: flex;
        position: absolute;
        z-index: 6;
        top: 50%;
        width: 34px;
        height: 34px;
        padding: 0;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        border: 0;
        border-radius: 999px;
        background: rgba(248, 248, 248, .93);
        color: #111;
        box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
        font: inherit;
        font-size: 31px;
        font-weight: 400;
        line-height: .8;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .snm-carousel__arrow--prev {
        left: 0;
    }

    .snm-carousel__arrow--next {
        right: 0;
    }

    .snm-carousel__arrow:focus-visible {
        outline: 3px solid var(--snm-accent, #c39f75);
        outline-offset: 2px;
    }

    .snm-carousel.is-single .snm-carousel__arrow {
        display: none;
    }
}

@media (max-width: 430px) {
    .snm-card__media {
        height: 225px;
        min-height: 225px;
        padding: 6px 24px 0;
    }

    .snm-card__img {
        max-width: min(100%, 330px);
        max-height: 210px;
        transform: translateY(8px) scale(1.28);
    }

    .snm-card__body,
    .snm-card--no-image .snm-card__body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .snm-card__title {
        font-size: 18px;
    }

    .snm-card__description {
        font-size: 13px;
    }

    .snm-carousel__arrow {
        top: 50%;
        width: 32px;
        height: 32px;
        font-size: 29px;
    }

    .snm-carousel__arrow--prev {
        left: 0;
    }

    .snm-carousel__arrow--next {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snm-card,
    .snm-grid,
    .snm-tab,
    .snm-subtab {
        scroll-behavior: auto;
        transition: none;
    }
}

@media (max-width: 767px) {
    .snm-carousel.is-filter-single .snm-carousel__arrow {
        display: none;
    }
}
