body.cms-index-index .page-main:has(.sm-home) {
    max-width: 1240px;
    padding-block: clamp(20px, 3.1vw, 44px) clamp(44px, 7vw, 80px);
    padding-inline: clamp(16px, 3vw, 28px);
}

.sm-home {
    --sm-ink: #211499;
    --sm-secondary: #504969;
    --sm-orange: #ff8a49;
    --sm-border: #e9e5f2;
    display: grid;
    gap: clamp(27px, 3vw, 40px);
}

.sm-home [hidden] { display: none !important; }

.sm-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.sm-home h2 {
    margin: 0;
    color: var(--sm-ink);
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 750;
}

.sm-home a:focus-visible,
.sm-home button:focus-visible {
    outline: 3px solid var(--sm-ink);
    outline-offset: 3px;
}

.sm-banner {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #ff8504;
    box-shadow: 0 8px 25px rgba(44, 27, 112, .1);
}

.sm-banner__slides {
    aspect-ratio: 3 / 1;
}

.sm-banner__slide, .sm-banner__slide picture, .sm-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.sm-banner__slide img {
    object-fit: cover;
}

.sm-banner__controls { color: var(--sm-ink); }

.sm-home .sm-banner__arrow {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--sm-ink);
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 2px 9px #230f5733;
}

.sm-banner__arrow--previous { left: 14px; }
.sm-banner__arrow--next { right: 14px; }

.sm-banner__dots {
    position: absolute;
    z-index: 1;
    bottom: 12px;
    left: 50%;
    display: flex;
    gap: 1px;
    transform: translateX(-50%);
    border-radius: 20px;
    padding: 1px 6px;
    background: #211650bd;
}

.sm-home .sm-banner__dots button {
    display: grid;
    width: 21px;
    height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.sm-banner__dots button::before {
    width: 6px;
    height: 6px;
    border-radius: 8px;
    background: #ffffff96;
    content: '';
}

.sm-banner__dots button[aria-current]::before {
    width: 14px;
    background: #fff;
}

.sm-gift {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    align-items: center;
    gap: clamp(24px, 5vw, 68px);
    padding: clamp(26px, 4.1vw, 57px);
    border: 1px solid var(--sm-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(44, 27, 112, .08);
}

.sm-gift__visual { display: flex; justify-content: center; }

.sm-gift__visual img {
    display: block;
    width: min(100%, 390px);
    height: auto;
    transform: rotate(-7deg);
    filter: drop-shadow(0 12px 10px #1f12a832);
}

.sm-gift h2 { font-size: clamp(25px, 3.4vw, 43px); }
.sm-gift p { margin: 12px 0 18px; color: var(--sm-secondary); }

.sm-home .sm-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 14px;
    padding: 9px 16px;
    border-radius: 7px;
    background: var(--sm-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.sm-home .sm-button:hover { background: #3421b2; }

.sm-section, .sm-about { min-width: 0; }

.sm-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 15px;
}

.sm-section__head > a {
    color: #8d350d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sm-section__head > a:hover { text-decoration: underline; }
.sm-section__note { color: var(--sm-secondary); font-size: 13px; }

.sm-combos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.sm-combo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 9px 10px 12px;
    border: 1px solid var(--sm-border);
    border-radius: 10px;
    background: #fff;
}

.sm-combo a, .sm-combo span {
    display: block;
    color: var(--sm-ink);
    font-size: 14px;
    font-weight: 700;
}

.sm-combo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.sm-combo a span { margin-top: 8px; }

.sm-about {
    overflow: hidden;
    padding: 17px 18px 0;
    border: 1px solid var(--sm-border);
    border-radius: 14px;
    background: #fff;
}

.sm-about img {
    display: block;
    width: 100%;
    height: auto;
}

.sm-about__metrics { display: none; }

.sm-brands {
    display: grid;
    grid-auto-columns: minmax(110px, 1fr);
    grid-auto-flow: column;
    gap: 9px;
    margin: 0;
    padding: 1px 2px 8px;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: thin;
}

.sm-brands li { min-width: 0; margin: 0; }

.sm-brands a {
    display: grid;
    height: 76px;
    place-items: center;
    padding: 8px 11px;
    border: 1px solid var(--sm-border);
    border-radius: 9px;
    background: #fff;
}

.sm-brands img {
    display: block;
    width: 100%;
    height: 48px;
    object-fit: contain;
}

.sm-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.sm-highlights a {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.sm-highlights img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
}

.sm-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-benefits li {
    margin: 0;
    padding: 13px 16px;
    border: 1px solid #f0d7bf;
    border-radius: 8px;
    background: #ffedda;
}

.sm-benefits li:nth-child(2) { background: #ffe8d5; }
.sm-benefits li:nth-child(3) { background: #ffe5d9; }
.sm-benefits strong, .sm-benefits span, .sm-benefits a { display: block; }
.sm-benefits strong { color: var(--sm-ink); font-size: 14px; }
.sm-benefits span, .sm-benefits a { color: var(--sm-secondary); font-size: 13px; }

.sm-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid #f5c395;
    border-radius: 12px;
    background: #ffd4a4;
}

.sm-newsletter p { margin: 6px 0 0; color: var(--sm-secondary); }
.sm-newsletter .block.newsletter { width: 100%; max-width: none; margin: 0; }
.sm-newsletter .block.newsletter .title { display: none; }
.sm-newsletter .block.newsletter .form.subscribe {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.sm-newsletter .block.newsletter .field {
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.sm-newsletter .block.newsletter .actions { width: auto; }

.sm-newsletter .block.newsletter .action.subscribe {
    min-height: 42px;
    margin-left: 0;
    border: 0;
    border-radius: 7px;
    background: var(--sm-ink);
}

.sm-newsletter .block.newsletter input { min-height: 42px; border-radius: 6px; }

@media (max-width: 760px) {
    body.cms-index-index .fress-mega-trigger > .fress-mega {
        left: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.cms-index-index .fress-nav .fress-nav-inner > a:not(.supermix-gift-card) {
        color: #fff;
    }

    .sm-combos {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(140px, 30%);
        overflow-x: auto;
        padding: 1px 2px 8px;
        scrollbar-width: thin;
    }

    .sm-section__head { flex-wrap: wrap; }
    .sm-newsletter { grid-template-columns: 1fr; padding: 18px; }
}

@media (max-width: 540px) {
    .sm-banner { border-radius: 9px; }

    .sm-home .sm-banner__arrow {
        width: 28px;
        height: 28px;
        font-size: 19px;
    }

    .sm-banner__arrow--previous { left: 5px; }
    .sm-banner__arrow--next { right: 5px; }
    .sm-banner__dots { bottom: 4px; }

    .sm-home .sm-banner__dots button { width: 17px; height: 18px; }
    .sm-gift { grid-template-columns: 1fr; gap: 23px; padding: 25px 19px 22px; }
    .sm-gift__visual img { width: min(79%, 290px); }
    .sm-about { padding: 14px 12px 9px; }

    .sm-about__metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3px;
        margin: 4px 0 1px;
        color: var(--sm-ink);
        text-align: center;
    }

    .sm-about__metrics dt { margin: 0; font-weight: 750; }
    .sm-about__metrics dd { margin: 0; font-size: 11px; }
    .sm-highlights { gap: 6px; }
    .sm-benefits { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 360px) {
    .sm-newsletter .block.newsletter .form.subscribe { flex-wrap: wrap; }
    .sm-newsletter .block.newsletter .field { flex-basis: 100%; }
}
