/* ============================================================
       REFINED / FLUSH HOME CAROUSEL
       ============================================================ */

    .soa-home-shop {
        position: relative;
        isolation: isolate;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto 28px !important;
        padding: clamp(18px, 3vw, 34px) max(18px, calc((100vw - 1180px) / 2)) 28px !important;

        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;

        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.86),
                rgba(248,244,234,.92)
            ) !important;

        overflow: hidden !important;
    }

    /* Soft ambient image from the currently centered product. */
    .soa-home-shop::before {
        content: "";
        position: absolute;
        z-index: -2;
        inset: -35px;

        background-image: var(--soa-ambient-image);
        background-size: cover;
        background-position: center;

        filter: blur(45px) saturate(.85);
        transform: scale(1.08);
        opacity: .20;

        transition:
            background-image .35s ease,
            opacity .35s ease;
    }

    .soa-home-shop::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;

        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.93) 0%,
                rgba(255,252,245,.80) 50%,
                rgba(255,255,255,.93) 100%
            );
        pointer-events: none;
    }

    .soa-home-shop-heading {
        position: relative;
        z-index: 1;
        display: block !important;
        margin-bottom: 14px !important;
    }

    .soa-home-shop-arrows {
        display: none !important;
    }

    .soa-home-shop-heading p {
        max-width: 560px;
    }

    .soa-home-carousel-wrap {
        position: relative;
        z-index: 1;
        width: 100%;
        overflow: hidden;
    }

    .soa-home-carousel {
        display: flex !important;
        gap: 14px !important;

        width: 100% !important;
        padding: 2px 0 14px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: x mandatory !important;
        scroll-padding-inline: 0 !important;
        scroll-behavior: smooth !important;

        overscroll-behavior-inline: contain;
        touch-action: auto; /* Allow vertical page scroll as well as horizontal class swipes. */

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;

        cursor: default !important;
    }

    .soa-home-carousel::-webkit-scrollbar {
        display: none !important;
    }

    .soa-home-carousel.is-dragging {
        cursor: default !important;
    }

    .soa-home-product-card {
        scroll-snap-align: start !important;
        scroll-snap-stop: always;

        flex: 0 0 clamp(235px, 25vw, 285px) !important;

        border: 1px solid rgba(212,175,55,.25) !important;
        border-radius: 16px !important;

        background: rgba(255,255,255,.86) !important;
        backdrop-filter: blur(9px);
        -webkit-backdrop-filter: blur(9px);

        box-shadow:
            0 8px 24px rgba(16,28,44,.07) !important;

        transform: translateZ(0);
        transition:
            transform .25s ease,
            box-shadow .25s ease,
            opacity .25s ease !important;
    }

    .soa-home-product-card:hover {
        transform: translateY(-2px) !important;
    }

    .soa-home-carousel.is-scrolling .soa-home-product-card {
        transition: none !important;
    }

    .soa-home-product-image-link {
        aspect-ratio: 16 / 10 !important;
        border-radius: 15px 15px 0 0;
    }

    .soa-home-product-image-link img {
        transform: none !important;
    }

    .soa-home-product-card:hover .soa-home-product-image-link img {
        transform: none !important;
    }

    .soa-home-carousel-hint {
        display: none !important;
    }

    /* PHONE */
    @media screen and (max-width: 544px) {
        .soa-home-shop {
            margin: 0 0 18px !important;
            padding: 16px 0 18px !important;
        }

        .soa-home-shop-heading {
            padding: 0 14px !important;
            margin-bottom: 10px !important;
        }

        .soa-home-shop-heading p {
            display: none !important;
        }

        .soa-home-shop-kicker {
            font-size: 9px !important;
        }

        .soa-home-shop-heading h2 {
            font-size: 21px !important;
        }

        .soa-home-carousel {
            gap: 10px !important;
            padding:
                0 14px 12px !important;

            scroll-padding-left: 14px !important;
        }

        .soa-home-product-card {
            flex-basis: calc(100vw - 56px) !important;
            max-width: 300px !important;
            min-width: 238px !important;
        }

        .soa-home-product-body {
            padding: 12px !important;
        }

        .soa-home-product-image-link {
            aspect-ratio: 16 / 9 !important;
        }

        /*
         * Let the next card peek in slightly so users naturally know
         * the row can be swiped without arrows or instructions.
         */
        .soa-home-carousel::after {
            content: "";
            flex: 0 0 4px;
        }
    }

    /* TABLET */
    @media screen and (min-width: 545px) and (max-width: 1024px) {
        .soa-home-shop {
            padding-inline: 24px !important;
        }

        .soa-home-product-card {
            flex-basis: min(40vw, 290px) !important;
        }
    }

    /* DESKTOP */
    @media screen and (min-width: 1025px) {
        .soa-home-carousel {
            gap: 18px !important;
        }

        .soa-home-product-card {
            flex-basis: 270px !important;
        }
    }
