.category-nav {
    display: flex;
    width: min(1360px, calc(100% - 48px));
    margin: 20px auto 18px;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 22px);
    flex-wrap: nowrap;
}

.category-nav__item {
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: var(--global-radius, 9px);
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.category-nav__item:hover,
.category-nav__item:focus-visible {
    border-color: rgb(var(--primary-rgb) / 38%);
    background: rgb(var(--primary-rgb) / 7%);
    color: #fff;
    transform: translateY(-2px);
}

.category-nav__item:active {
    border-color: var(--primary-color);
    background: rgb(var(--primary-rgb) / 12%);
}

.category-nav__icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid #292426;
    border-radius: var(--global-radius, 9px);
    background: linear-gradient(145deg, #1a1516, #0d0c0c);
    color: var(--primary-hover);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.category-nav__item:hover .category-nav__icon,
.category-nav__item:focus-visible .category-nav__icon {
    border-color: var(--primary-color);
    box-shadow: 0 0 18px rgb(var(--primary-rgb) / 22%);
}

.category-nav__icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-nav__item:first-child .category-nav__icon svg {
    fill: rgb(var(--primary-rgb) / 17%);
}

.promo-slider {
    position: relative;
    width: min(860px, calc(100% - 56px));
    height: 460px;
    min-height: 460px;
    max-height: 460px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 43 / 23;
    border: 1px solid #302326;
    border-radius: var(--global-radius, 9px);
    background:
        radial-gradient(ellipse at 50% 50%, rgb(var(--primary-rgb) / 14%), transparent 46%),
        linear-gradient(112deg, #080808 0%, #10090c 56%, #16090d 100%);
    box-shadow: 0 24px 70px rgb(0 0 0 / 32%), 0 0 50px rgb(var(--primary-rgb) / 5%);
}

.promo-slider__slides {
    position: absolute;
    inset: 0;
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity 480ms ease, transform 520ms ease, visibility 480ms;
    background: transparent;
}

.promo-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
}

.promo-slide__media {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    place-items: center;
    isolation: isolate;
}

.promo-slide__media::before {
    position: absolute;
    z-index: -1;
    width: min(62%, 620px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--primary-rgb) / 25%), rgb(var(--primary-rgb) / 12%) 48%, transparent 72%);
    content: "";
    filter: blur(28px);
}

.promo-slide__media::after {
    content: none;
}

.promo-slide__media picture {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promo-slide__media img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 24px 34px rgb(0 0 0 / 52%));
}

.promo-slider__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 50%;
    background: rgb(8 8 8 / 76%);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.promo-slider__arrow:hover,
.promo-slider__arrow:focus-visible {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

.promo-slider__arrow--previous {
    left: 17px;
}

.promo-slider__arrow--next {
    right: 17px;
}

.promo-slider__dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 21px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    pointer-events: none;
}

.promo-slider__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #777;
    cursor: pointer;
    pointer-events: auto;
    transition: width 180ms ease, border-radius 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.promo-slider__dots button.is-active {
    width: 25px;
    border-radius: 8px;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgb(var(--primary-rgb) / 56%);
}

.promo-benefits {
    display: grid;
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    padding: 24px 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid #242122;
}

.promo-benefit {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 3px 12px;
    border-right: 1px solid #282426;
}

.promo-benefit:last-child {
    border-right: 0;
}

.promo-benefit__icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #392128;
    border-radius: var(--global-radius, 9px);
    color: var(--primary-hover);
}

.promo-benefit__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promo-benefit strong,
.promo-benefit small {
    display: block;
}

.promo-benefit strong {
    color: #eee;
    font-size: 12px;
    font-weight: 600;
}

.promo-benefit small {
    margin-top: 4px;
    color: #999;
    font-size: 10px;
}

@media (max-width: 1200px) and (min-width: 781px) {
    .category-nav {
        width: calc(100% - 28px);
        justify-content: space-between;
        gap: 4px;
    }

    .category-nav__item {
        gap: 7px;
        padding: 8px 7px;
        font-size: 11px;
    }

    .category-nav__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .promo-slider {
        width: min(860px, calc(100% - 32px));
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 43 / 23;
    }

    .promo-slide {
        padding: 0;
    }

    .promo-benefits {
        width: calc(100% - 40px);
    }

    .promo-benefit {
        gap: 7px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .promo-benefit strong {
        font-size: 11px;
    }
}

@media (max-width: 780px) {
    .promo-slider {
        width: calc(100% - 28px);
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 43 / 23;
    }

    .promo-slide {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        place-items: center;
        min-width: 0;
        padding: 0;
    }

    .promo-slide__media {
        width: 100%;
        height: 100%;
        min-height: 0;
        min-width: 0;
        max-height: none;
        margin: 0;
    }

    .promo-slide__media::before {
        width: 78%;
    }

    .promo-slider__arrow {
        top: auto;
        bottom: 8px;
        width: 32px;
        height: 32px;
        font-size: 23px;
        transform: none;
    }

    .promo-slider__arrow--previous {
        left: 10px;
    }

    .promo-slider__arrow--next {
        right: 10px;
    }

    .promo-slider__dots {
        bottom: 20px;
        gap: 7px;
    }

    .promo-benefits {
        width: calc(100% - 28px);
        padding: 17px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 13px;
    }

    .promo-benefit {
        justify-content: flex-start;
        gap: 8px;
        padding: 3px 8px;
        border-right: 0;
    }

    .promo-benefit:nth-child(odd) {
        border-right: 1px solid #282426;
    }

    .promo-benefit__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .promo-benefit strong {
        font-size: 10px;
    }

    .promo-benefit small {
        font-size: 9px;
    }
}

@media (min-width: 1024px) {
    .promo-slider {
        width: 860px;
        height: 460px;
        min-height: 460px;
        max-height: 460px;
        aspect-ratio: 43 / 23;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .category-nav {
        width: calc(100% - 28px);
        margin: 16px auto;
        justify-content: space-between;
        gap: 8px;
        overflow: visible;
        padding: 0;
        scrollbar-width: auto;
    }

    .category-nav__item {
        gap: 5px;
        padding: 8px 4px;
        font-size: 10px;
    }

    .category-nav__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .category-nav__icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 767px) {
    .category-nav {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 13px auto 15px;
        justify-content: center;
        justify-content: safe center;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 5px;
        scrollbar-width: none;
        scroll-padding-inline: 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .category-nav::-webkit-scrollbar {
        display: none;
    }

    .category-nav__item {
        width: 48px;
        height: 48px;
        min-width: 48px;
        flex: 0 0 48px;
        justify-content: center;
        gap: 0;
        padding: 3px;
        scroll-snap-align: start;
    }

    .category-nav__item > span:not(.category-nav__icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .category-nav__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .category-nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .category-nav__item:first-child .category-nav__icon svg {
        fill: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .promo-benefits {
        width: calc(100% - 40px);
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .promo-benefit {
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-inline: 6px;
        border-right: 1px solid #282426;
    }
}

@media (max-width: 767px) {
    .promo-benefits {
        display: flex;
        width: 100%;
        margin-inline: 0;
        justify-content: center;
        align-items: center;
        gap: clamp(12px, 4vw, 24px);
        padding: 14px 0;
    }

    .promo-benefit {
        display: flex;
        width: 36px;
        height: 36px;
        min-width: 0;
        flex: 0 0 36px;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0;
        border-right: 0;
    }

    .promo-benefit:nth-child(odd) {
        border-right: 0;
    }

    .promo-benefit > span:not(.promo-benefit__icon) {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .promo-benefit__icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

@media (max-width: 360px) {
    .promo-slider {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-nav__item,
    .category-nav__icon,
    .promo-slide,
    .promo-slider__arrow,
    .promo-slider__dots button {
        scroll-behavior: auto;
        transition-duration: 0.01ms !important;
    }
}

.promo-slider.site-container {
    width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
    max-width: var(--site-container-max);
    height: auto;
    max-height: none;
    min-height: 0;
    aspect-ratio: 5 / 2;
    border-radius: var(--global-radius, 9px);
}

.promo-slide__media img {
    object-fit: cover;
    object-position: center;
    filter: none;
}

.category-nav {
    width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
    margin-inline: auto;
}

@media (min-width: 768px) {
    .promo-benefits {
        width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
        margin-inline: auto;
    }
}
