/* Compact homepage deal strip, aligned with Halo's white/grey/gold system. */
.halo-exclusive-deals {
    position: relative;
    z-index: 0;
    margin: 26px 0 36px;
    padding: 32px 0 36px;
    color: #1c1f27;
}

.halo-exclusive-deals::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 50%;
    width: 100vw;
    transform: translateX(-50%);
    border-top: 1px solid #ece7da;
    border-bottom: 1px solid #ece7da;
    background: linear-gradient(180deg, #fafaf8 0%, #f5f5f2 100%);
}

.halo-deals-head {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.halo-deals-eyebrow {
    display: inline-block;
    margin-bottom: 5px;
    color: #96701a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
}

.halo-deals-head h2 {
    margin: 0 0 8px;
    color: #1c1f27;
    font-size: clamp(26px, 2.2vw, 32px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.halo-deals-intro {
    max-width: 720px;
    margin: 0 auto;
    color: #6f7177;
    font-size: 14px;
    line-height: 1.55;
}

.halo-deals-intro strong {
    color: #353840;
}

.halo-deals-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.halo-deals-highlights li {
    padding: 6px 10px 5px;
    border: 1px solid #e2d3aa;
    border-radius: 999px;
    background: #fff;
    color: #715618;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .045em;
}

.halo-deals-carousel {
    position: relative;
}

.halo-deals-grid {
    display: flex;
    gap: 16px;
    margin: -5px -2px -8px;
    padding: 5px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.halo-deals-grid::-webkit-scrollbar {
    display: none;
}

.halo-deals-nav {
    position: absolute !important;
    z-index: 8;
    top: calc(50% - 13px) !important;
    display: inline-flex !important;
    width: 34px !important;
    height: 48px !important;
    min-width: 34px !important;
    min-height: 48px !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(185, 151, 70, .48) !important;
    border-radius: 11px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(248, 243, 231, .92)) !important;
    color: #765d25 !important;
    box-shadow: 0 7px 20px rgba(37, 34, 27, .13), inset 0 1px 0 #fff !important;
    transform: translateY(-50%) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.halo-deals-nav span {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: -2px;
    font-family: Arial, sans-serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
}

.halo-deals-nav::before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 9px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, transparent, #c9a548, transparent);
    opacity: .58;
}

.halo-deals-prev::before { right: 4px; }
.halo-deals-next::before { left: 4px; }

.halo-deals-nav:hover {
    border-color: #c39a36 !important;
    background: linear-gradient(145deg, #fff, #fbf1d7) !important;
    box-shadow: 0 9px 24px rgba(103, 78, 22, .18), inset 0 1px 0 #fff !important;
    transform: translateY(-50%) scale(1.04) !important;
}

.halo-deals-nav:focus-visible {
    outline: 2px solid #8c7134;
    outline-offset: 3px;
}

.halo-deals-nav[hidden] {
    display: none !important;
}

.halo-deals-prev { left: 10px !important; right: auto !important; }
.halo-deals-next { right: 10px !important; left: auto !important; }

.halo-deals-pagination {
    display: flex;
    min-height: 16px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 11px 0 0;
}

.halo-deals-pagination[hidden] {
    display: none;
}

.halo-deals-page {
    display: block !important;
    width: 7px !important;
    height: 7px !important;
    min-width: 7px !important;
    min-height: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #d6d2c8 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: width .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.halo-deals-page:hover {
    background: #b9a66f !important;
}

.halo-deals-page.is-active {
    width: 25px !important;
    background: linear-gradient(90deg, #b88719, #e0bd58) !important;
    box-shadow: 0 2px 7px rgba(174, 129, 25, .24) !important;
}

.halo-deals-page:focus-visible {
    outline: 2px solid #8c7134;
    outline-offset: 3px;
}

.halo-deal-card {
    position: relative;
    display: grid;
    min-width: 0;
    overflow: hidden;
    flex: 0 0 calc((100% - 32px) / 3);
    grid-template-columns: 145px minmax(0, 1fr);
    scroll-snap-align: start;
    border: 1px solid #e2ddd1;
    border-radius: 14px;
    background: linear-gradient(145deg, #fff 0%, #fdfcf8 100%);
    color: #1c1f27;
    box-shadow: 0 8px 24px rgba(35, 32, 25, .075), 0 1px 2px rgba(35, 32, 25, .04);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.halo-deal-card::after {
    content: "";
    position: absolute;
    z-index: 6;
    inset: 0 18px auto;
    height: 2px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, transparent, #d4ae4e 24%, #efd681 50%, #d4ae4e 76%, transparent);
    opacity: .72;
    pointer-events: none;
}

.halo-deal-card:hover {
    border-color: #d4bd7f;
    box-shadow: 0 13px 30px rgba(53, 44, 24, .12), 0 2px 4px rgba(35, 32, 25, .05);
    transform: translateY(-3px);
}

.halo-deal-image {
    position: relative;
    display: flex;
    min-height: 245px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
    border-right: 1px solid #eee8dc;
    background: radial-gradient(circle at 50% 43%, #fff 0%, #fff 44%, #faf7ef 73%, #f4efe3 100%);
}

.halo-deal-image img {
    width: 100%;
    height: 175px;
    object-fit: contain;
    transition: transform .3s ease;
}

.halo-deal-card:hover .halo-deal-image img {
    transform: scale(1.025);
}

.halo-deal-image .product-labels {
    position: absolute;
    z-index: 4;
    top: 12px;
    left: 12px;
}

/* The global sale medallion stays dramatic; inside this compact strip it scales down. */
.halo-exclusive-deals .product-labels .product-label.onsale,
.halo-exclusive-deals .wd-product-labels .product-label.onsale {
    width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-width: 2px !important;
    outline-width: 1px;
    outline-offset: 1px;
    font-size: 15px !important;
    animation: none !important;
    transform: rotate(-7deg) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 4px 10px rgba(148, 10, 4, .28) !important;
}

.halo-exclusive-deals .product-labels .product-label.onsale::before,
.halo-exclusive-deals .wd-product-labels .product-label.onsale::before {
    top: -7px;
    width: 45px;
    height: 14px;
    font-size: 5.5px;
    line-height: 12px;
}

.halo-exclusive-deals .product-labels .product-label.onsale::after,
.halo-exclusive-deals .wd-product-labels .product-label.onsale::after {
    bottom: 5px;
    font-size: 6.5px;
}

.halo-deal-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 15px 16px 16px;
}

.halo-deal-kicker {
    align-self: flex-start;
    margin-bottom: 6px;
    padding: 4px 7px 3px;
    border: 1px solid #eadcb5;
    border-radius: 999px;
    background: linear-gradient(180deg, #fffaf0, #f7edcf);
    color: #755817;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .1em;
    box-shadow: inset 0 1px 0 #fff;
}

.halo-deal-content h3 {
    min-height: 38px;
    margin: 0 0 4px;
    overflow: hidden;
    color: #1c1f27;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.halo-deal-content h3 a {
    color: #1c1f27;
}

.halo-deal-content h3 a:hover {
    color: #96701a;
}

.halo-deal-category {
    min-height: 15px;
    margin-bottom: 8px;
    overflow: hidden;
    color: #8b8c90;
    font-size: 10.5px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.halo-deal-category a {
    color: #8b8c90;
}

.halo-deal-note {
    display: -webkit-box;
    flex: 1;
    min-height: 54px;
    margin: 0 0 9px;
    overflow: hidden;
    color: #666970;
    font-size: 12.5px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.halo-deal-price {
    margin-top: auto;
    color: #a70e07;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.halo-deal-price del {
    margin-right: 4px;
    color: #8b8b8b;
    font-size: 11px;
    font-weight: 600;
    opacity: .85;
}

.halo-deal-price ins {
    color: #a70e07;
    text-decoration: none;
}

.halo-deal-stock {
    margin: 5px 0 10px;
    color: #2f7350;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.25;
}

/* Keep unavailable curated deals visible, but make their state impossible to miss. */
.halo-deal-card.is-out-of-stock {
    border-color: #dcaeb4;
    box-shadow: 0 8px 24px rgba(119, 21, 35, .1), 0 0 0 1px rgba(165, 28, 44, .05);
}

.halo-deal-card.is-out-of-stock .halo-deal-image::after {
    content: "SOLD OUT";
    position: absolute;
    z-index: 5;
    top: 76px;
    left: 50%;
    width: min(84px, calc(100% - 18px));
    padding: 7px 5px 6px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 5px;
    background: linear-gradient(135deg, #8f1625 0%, #b32636 54%, #7c101d 100%);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(143, 22, 37, .78), 0 5px 13px rgba(91, 10, 22, .3);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .12em;
    text-align: center;
    text-shadow: 0 1px 2px rgba(67, 0, 10, .4);
    transform: translateX(-50%) rotate(-2deg);
    pointer-events: none;
}

.halo-deal-card.is-out-of-stock .halo-deal-image img {
    filter: saturate(.42) contrast(.94);
    opacity: .66;
}

.halo-deal-card.is-out-of-stock .halo-deal-stock {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 4px;
    padding: 6px 9px;
    border: 1px solid #dcaeb4;
    border-radius: 999px;
    background: #fff1f3;
    color: #8f1625;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.25;
}

.halo-deal-action {
    margin-top: auto;
}

.halo-deal-action .button {
    display: flex;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #c99c2f !important;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #e5bf54 0%, #d7aa39 58%, #c9962b 100%) !important;
    color: #252014 !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: .025em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 4px 10px rgba(151, 111, 20, .16);
}

.halo-deal-action .button:hover {
    border-color: #b88a20 !important;
    background: linear-gradient(135deg, #edca67 0%, #dcb044 58%, #c79729 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 14px rgba(143, 103, 15, .22);
    transform: translateY(-1px);
}

.halo-deals-footnote {
    margin: 16px 0 0;
    color: #85878c;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1024px) {
    .halo-exclusive-deals {
        padding: 30px 0 34px;
    }
    .halo-deal-card {
        flex-basis: calc((100% - 16px) / 2);
        grid-template-columns: 132px minmax(0, 1fr);
    }
}

@media (max-width: 575px) {
    .halo-exclusive-deals {
        margin: 22px 0 30px;
        padding: 27px 0 30px;
    }
    .halo-deals-head {
        margin-bottom: 19px;
        text-align: left;
    }
    .halo-deals-head h2 {
        font-size: 25px;
    }
    .halo-deals-intro {
        font-size: 13.5px;
        line-height: 1.5;
    }
    .halo-deals-highlights {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin-top: 12px;
        padding-bottom: 3px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .halo-deals-highlights::-webkit-scrollbar {
        display: none;
    }
    .halo-deals-highlights li {
        flex: 0 0 auto;
        font-size: 9px;
    }
    .halo-deals-grid {
        gap: 12px;
        margin-right: 0;
        margin-left: 0;
        padding: 2px 0 10px;
        scroll-padding-left: 0;
        scrollbar-color: #d0bc82 transparent;
        scrollbar-width: thin;
    }
    .halo-deals-nav {
        display: none !important;
    }
    .halo-deal-card {
        flex: 0 0 86vw;
        max-width: 335px;
        grid-template-columns: 108px minmax(0, 1fr);
        scroll-snap-align: start;
    }
    .halo-deal-image {
        min-height: 225px;
        padding: 10px;
    }
    .halo-deal-image img {
        height: 150px;
    }
    .halo-deal-image .product-labels {
        top: 10px;
        left: 9px;
    }
    .halo-exclusive-deals .product-labels .product-label.onsale,
    .halo-exclusive-deals .wd-product-labels .product-label.onsale {
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        font-size: 12px !important;
    }
    .halo-exclusive-deals .product-labels .product-label.onsale::before,
    .halo-exclusive-deals .wd-product-labels .product-label.onsale::before {
        width: 39px;
        font-size: 5px;
    }
    .halo-exclusive-deals .product-labels .product-label.onsale::after,
    .halo-exclusive-deals .wd-product-labels .product-label.onsale::after {
        bottom: 4px;
        font-size: 6px;
    }
    .halo-deal-content {
        padding: 13px 13px 14px;
    }
    .halo-deal-content h3 {
        min-height: 35px;
        font-size: 13px;
    }
    .halo-deal-category {
        display: none;
    }
    .halo-deal-note {
        min-height: 50px;
        font-size: 12px;
    }
    .halo-deal-price {
        font-size: 17px;
    }
    .halo-deal-action .button {
        min-height: 36px;
        font-size: 10px;
    }
    .halo-deals-footnote {
        margin-top: 9px;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .halo-deal-card,
    .halo-deal-image img,
    .halo-deal-action .button,
    .halo-deals-nav,
    .halo-deals-page {
        transition: none !important;
    }
    .halo-deal-card:hover,
    .halo-deal-card:hover .halo-deal-image img,
    .halo-deal-action .button:hover,
    .halo-deals-nav:hover {
        transform: none !important;
    }
}
