/* ============================================================
   Home promo — full-bleed editorial hero + legacy inline promo
   ============================================================ */

@font-face {
    font-family: 'Jacklin';
    src: url('../fonts/jacklin/Jacklin.woff2') format('woff2'),
        url('../fonts/jacklin/Jacklin.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.home-promo {
    --hp-ink: #111827;
    --hp-primary: var(--primary, #d43533);
    width: 100%;
    padding: 0;
    background: transparent;
}

.home-promo--inline {
    padding: 0;
}

/* Keep banner/sidebar away from header bottom (legacy inline layout) */
.home-banner-area {
    margin-top: 18px;
    padding-top: 4px;
}

@media (min-width: 1200px) {
    .home-banner-area {
        margin-top: 22px;
    }
}

/* ---- Full-bleed Nike-style hero (desktop) ---- */
.home-banner-area--full {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

.home-promo--full {
    width: 100%;
}

.home-promo__hero--full {
    position: relative;
    overflow: hidden;
    background: #000;
}

.home-promo__slide--full {
    position: relative;
    color: #fff;
    line-height: 0;
}

@media (min-width: 992px) {
    .home-promo__hero--full {
        width: 100vw;
        max-width: 100%;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0 !important;
    }

    .home-promo__img--full,
    .home-promo__carousel--editorial .slick-slide img {
        border-radius: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .home-banner-area--full {
        margin-top: 10px !important;
        margin-bottom: 0.75rem !important;
        padding-left: max(16px, env(safe-area-inset-left)) !important;
        padding-right: max(16px, env(safe-area-inset-right)) !important;
        background: transparent !important;
        box-sizing: border-box;
    }

    .home-promo--full {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    .home-promo__hero--full {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        background: transparent !important;
        isolation: isolate;
    }

    .home-promo__carousel--editorial,
    .home-promo__carousel--editorial .slick-list,
    .home-promo__carousel--editorial .slick-track,
    .home-promo__carousel--editorial .slick-slide,
    .home-promo__carousel--editorial .slick-slide > div,
    .home-promo__carousel--editorial .carousel-box,
    .home-promo__slide--full,
    .home-promo__media,
    .home-promo__img--full,
    .home-promo__carousel--editorial .slick-slide img {
        border-radius: 16px !important;
        overflow: hidden;
    }

    .home-promo__overlay,
    .home-promo__pause,
    .home-promo__carousel--editorial .slick-arrow,
    .home-promo__carousel--editorial .slick-dots {
        display: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 575.98px) {
    .home-banner-area--full {
        margin-top: 8px !important;
        padding-left: max(12px, env(safe-area-inset-left)) !important;
        padding-right: max(12px, env(safe-area-inset-right)) !important;
    }

    .home-promo__hero--full,
    .home-promo__carousel--editorial,
    .home-promo__carousel--editorial .slick-list,
    .home-promo__carousel--editorial .slick-track,
    .home-promo__carousel--editorial .slick-slide,
    .home-promo__carousel--editorial .slick-slide > div,
    .home-promo__carousel--editorial .carousel-box,
    .home-promo__slide--full,
    .home-promo__media,
    .home-promo__img--full,
    .home-promo__carousel--editorial .slick-slide img {
        border-radius: 12px !important;
    }
}

.home-promo__media {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.home-promo__img--full {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: initial;
    object-position: center center;
    image-rendering: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.home-promo__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 3;
    padding: 0 clamp(20px, 4.5vw, 72px) clamp(72px, 7vh, 112px);
    pointer-events: none;
    line-height: normal;
}

.home-promo__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 640px;
    pointer-events: auto;
}

.home-promo__title {
    margin: 0 0 14px;
    font-family: 'Jacklin', 'Hind Siliguri', sans-serif;
    font-size: clamp(2.5rem, 6.2vw, 5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 0.92;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--hp-title-color, #fff);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    -webkit-font-smoothing: antialiased;
}

.home-promo__desc {
    margin: 0 0 22px;
    max-width: 34rem;
    font-size: clamp(0.95rem, 1.35vw, 1.125rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--hp-desc-color, rgba(255, 255, 255, 0.95));
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.home-promo__hero--full .home-promo__cta,
.home-promo__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 120px;
    padding: 0 32px;
    margin-top: 6px;
    border-radius: 999px;
    border: none;
    background: var(--hp-cta-bg, #fff);
    color: var(--hp-cta-text, #111) !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-font-smoothing: antialiased;
}

.home-promo__cta--label {
    cursor: default;
}

.home-promo__cta:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Carousel sizing — follow natural image height (no crop/squash) */
.home-promo__carousel--editorial .slick-list,
.home-promo__carousel--editorial .slick-track,
.home-promo__carousel--editorial .slick-slide,
.home-promo__carousel--editorial .carousel-box {
    height: auto !important;
}

.home-promo__carousel--editorial .slick-slide > div,
.home-promo__carousel--editorial .carousel-box {
    height: auto;
}

.home-promo__carousel--editorial .slick-slide img {
    width: 100%;
    height: auto !important;
}

/* Dots — centered bottom (Nike-style) */
.home-promo__carousel--editorial .slick-dots {
    bottom: 28px;
    left: 50%;
    right: auto;
    width: auto;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 6;
}

.home-promo__carousel--editorial .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.home-promo__carousel--editorial .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
}

.home-promo__carousel--editorial .slick-dots li button:before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    top: 0;
    left: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-promo__carousel--editorial .slick-dots li.slick-active button:before {
    background: #fff;
    opacity: 1;
    transform: scale(1.05);
}

/* Arrows + pause — bottom right cluster */
.home-promo__carousel--editorial .slick-arrow {
    top: auto;
    bottom: 20px;
    z-index: 6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    transition: background 0.18s ease, border-color 0.18s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.home-promo__carousel--editorial .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.52);
    border-color: rgba(255, 255, 255, 0.45);
}

.home-promo__carousel--editorial .slick-arrow:before {
    display: none;
}

.home-promo__carousel--editorial .slick-arrow i {
    font-size: 18px;
    line-height: 1;
}

.home-promo__carousel--editorial .slick-next {
    right: clamp(20px, 3vw, 48px);
    left: auto;
}

.home-promo__carousel--editorial .slick-prev {
    right: calc(clamp(20px, 3vw, 48px) + 48px);
    left: auto;
}

.home-promo__pause {
    position: absolute;
    right: calc(clamp(20px, 3vw, 48px) + 96px);
    bottom: 20px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.home-promo__progress-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}

.home-promo__progress-track {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 2;
}

.home-promo__progress-fill {
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dashoffset: 106.814;
    transition: stroke-dashoffset 0.15s linear;
}

.home-promo__progress-fill.is-animating {
    animation-name: homeHeroRingFill;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.home-promo__progress-fill.is-paused {
    animation-play-state: paused !important;
}

@keyframes homeHeroRingFill {
    from {
        stroke-dashoffset: 106.814;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.home-promo__pause-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-promo__pause:hover {
    background: rgba(0, 0, 0, 0.52);
    border-color: rgba(255, 255, 255, 0.45);
}

.home-promo__pause-icon--play {
    display: none;
}

.home-promo__pause.is-paused .home-promo__pause-icon--pause {
    display: none;
}

.home-promo__pause.is-paused .home-promo__pause-icon--play {
    display: inline-flex;
}

.home-promo__hero--full.is-single-slide .home-promo__pause,
.home-promo__hero--full.is-single-slide .home-promo__carousel--editorial .slick-arrow {
    display: none !important;
}

/* ---- Legacy inline promo (other themes / fallbacks) ---- */
.home-promo__inner {
    width: 100%;
    max-width: none;
    margin: 0;
}

.home-promo__timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 56px;
    padding: 12px 18px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #1a1a1a;
    color: #fff;
}

.home-promo__timer-label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.home-promo__countdown.aiz-count-down-box {
    display: flex !important;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    background: transparent !important;
}

.home-promo__countdown .countdown-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 2px 6px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.home-promo__countdown .countdown-digit {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #fff !important;
}

.home-promo__countdown .countdown-name {
    margin-top: 2px;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em;
    text-transform: capitalize !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

.home-promo__countdown .countdown-separator {
    display: none !important;
}

.home-promo__hero {
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}

.home-promo__slide {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none !important;
    color: #fff !important;
}

.home-promo__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
    vertical-align: top;
}

.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-list,
.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-track,
.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-slide,
.home-promo__carousel:not(.home-promo__carousel--editorial) .carousel-box {
    height: auto !important;
}

.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-slide img {
    width: 100%;
    height: auto !important;
}

.home-promo__cats {
    padding: 18px 20px 8px;
}

@media (min-width: 1200px) {
    .home-promo__cats {
        padding: 20px 0 10px;
    }

    .home-promo__cats > .container-fluid {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-dots {
    bottom: 12px;
}

.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-dots li button:before {
    color: #fff;
    opacity: 0.45;
}

.home-promo__carousel:not(.home-promo__carousel--editorial) .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
}

@media (max-width: 767.98px) {
    .home-promo {
        padding: 0;
    }

    .home-banner-area:not(.home-banner-area--full) {
        margin-top: 10px;
    }

    .home-promo__hero:not(.home-promo__hero--full) {
        border-radius: 12px;
    }

    .home-promo__title {
        margin-bottom: 10px;
    }

    .home-promo__desc {
        margin-bottom: 16px;
        font-size: 0.92rem;
    }

    .home-promo__hero--full .home-promo__cta,
    .home-promo__cta {
        min-height: 40px;
        padding: 0 22px;
        font-family: 'Bebas Neue', sans-serif !important;
        font-size: 22px;
        letter-spacing: 0.08em;
    }

    .home-promo__carousel--editorial .slick-dots {
        bottom: 18px;
    }

    .home-promo__carousel--editorial .slick-arrow,
    .home-promo__pause {
        bottom: 14px;
        width: 36px;
        height: 36px;
    }
}
