/* =========================================================
   HERO
========================================================= */

.ht-marquee-hero {
    width: 100%;
    min-height: 820px;

    

    overflow: hidden;
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 0 70px;

    box-sizing: border-box;
}


/* =========================================================
   CARD LOAD REVEAL
========================================================= */

.ht-marquee-card {
    opacity: 0;
    filter: blur(12px);
    animation: htCardBlurReveal 1s ease-out forwards;
    
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes htCardBlurReveal {
    from {
        opacity: 0;
        filter: blur(12px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}


/* =========================================================
   CONTENT
========================================================= */

.ht-hero-content {
    width: min(900px, calc(100% - 40px));

    text-align: center;

    position: relative;
    z-index: 1;

    opacity: 0;

    transform: translate3d(0, 120px, 0);

    animation:
        htHeroSmoothReveal 1.8s
        cubic-bezier(0.16, 1, 0.3, 1)
        0.15s
        forwards;

    will-change: transform, opacity;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.ht-hero-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 15px;

    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;

    color: #999999;

    font-size: 12px;
    line-height: 1;
}


.ht-hero-title {
    margin: 9px auto 0;

    max-width: 1600px;

    color: #282828;

    font-size: clamp(80px, 6vw, 90px);
    line-height: 0.98;

    font-weight: 700;

    letter-spacing: -0.055em;

    text-align: center;
}


.ht-hero-description {
    max-width: 680px;

    margin: 25px auto 0;

    color: #999999;

    font-size: 17px;
    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   MARQUEE WRAPPER
========================================================= */

.ht-marquee-wrapper {
    width: 100%;

    height: 375px;

    margin-top: 20px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    z-index: 5;

    box-shadow: none !important;
   
}


/* =========================================================
   SIDE FADE
========================================================= */

.ht-marquee-wrapper::before,
.ht-marquee-wrapper::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 12%;

    z-index: 5;

    pointer-events: none;
}


.ht-marquee-wrapper::before {
    left: 0;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            rgba(232,214,179,0) 100%
        );
}


.ht-marquee-wrapper::after {
    right: 0;

    background:
        linear-gradient(
            270deg,
            #ffffff 0%,
            rgba(232,214,179,0) 100%
        );
}


/* =========================================================
   MARQUEE TRACK
========================================================= */

.ht-marquee-track {
    display: flex;

    width: max-content;
    height: 100%;

    flex-shrink: 0;

    align-items: center;

    animation-name: htMarqueeMove;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;

    transform: translate3d(0, 0, 0);

    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow: none !important;
}


@keyframes htMarqueeMove {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* =========================================================
   MARQUEE SET
========================================================= */

.ht-marquee-set {
    display: flex;

    align-items: center;

    flex-shrink: 0;

    gap: 25px;

    padding-right: 25px;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    box-shadow: none !important;
}


/* =========================================================
   CARD
========================================================= */

.ht-marquee-card {
    width: 240px;
    height: 320px;

    min-width: 240px;
    max-width: 240px;

    flex: 0 0 240px;

    position: relative;

    overflow: hidden;

    box-sizing: border-box;

    background: #ffffff;

    border: 0 !important;
    outline: 0 !important;

    border-radius: 14px;


    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    transform-style: flat;

    isolation: isolate;
}





/* =========================================================
   CARD IMAGE
========================================================= */

.ht-marquee-card img {
    display: block !important;

    width: 104% !important;
    height: 104% !important;

    min-width: 104% !important;
    min-height: 104% !important;

    max-width: none !important;
    max-height: none !important;

    margin: -2% !important;
    padding: 0 !important;

    object-fit: cover !important;

    border: 0 !important;
    outline: 0 !important;

    border-radius: 0 !important;

    box-shadow: none !important;

    box-sizing: border-box;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    transform: translateZ(0);

    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   REMOVE FOCUS / HOVER EDGE
========================================================= */

.ht-marquee-card:focus,
.ht-marquee-card:focus-visible,
.ht-marquee-card:hover {
    border: 0 !important;
    outline: 0 !important;
}


/* =========================================================
   BUTTON
========================================================= */

.ht-hero-action {
    position: relative;

    z-index: 20;

    margin-top: 30px;
}


.ht-hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 145px;
    min-height: 50px;

    padding: 13px 28px;

    background: #ff3232;

    color: #ffffff !important;

    border-radius: 999px;

    text-decoration: none !important;

    font-size: 14px;

    font-weight: 600;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.ht-hero-button:hover {
    background: #e92d2d;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .ht-marquee-hero {
        min-height: 750px;

        padding-top: 40px;
    }


    .ht-hero-title {
        font-size: clamp(40px, 6vw, 64px);
    }


    .ht-marquee-wrapper {
        height: 350px;
    }


    .ht-marquee-card {
        width: 220px;
        height: 300px;

        min-width: 220px;
        max-width: 220px;

        flex: 0 0 220px;

        border-radius: 14px;
    }


    .ht-marquee-set {
        gap: 22px;

        padding-right: 22px;
    }
}
/* =========================================================
   CARD LOAD REVEAL
========================================================= */

.ht-marquee-card {
    opacity: 0;
     filter: blur(12px);
    animation: htCardBlurReveal 1s ease-out forwards;
    
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes htCardBlurReveal {
    from {
        opacity: 0;
        filter: blur(12px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ht-marquee-hero {
        width: 100%;

        min-height: 650px;

        padding: 30px 0 45px;

        overflow: hidden;
    }
    /* =========================================================
   CARD LOAD REVEAL
========================================================= */

.ht-marquee-card {
    opacity: 0;
    filter: blur(12px);
    animation: htCardBlurReveal 1s ease-out forwards;
    
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes htCardBlurReveal {
    from {
        opacity: 0;
        filter: blur(12px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}


    .ht-hero-content {
        width: calc(100% - 30px);

        padding: 0;

        margin: 0 auto;
    }


    .ht-hero-title {
        max-width: 100%;

        margin-top: 11px;

        font-size: 48px;

        line-height: 0.98;

        letter-spacing: -0.045em;
    }


    .ht-hero-description {
        width: calc(100% - 20px);

        max-width: 340px;

        margin: 22px auto 0;

        font-size: 15px;

        line-height: 1.5;
    }


    /* MOBILE MARQUEE */

    .ht-marquee-wrapper {
        width: 100%;

        height: 370px;

        margin-top: 90px;

        padding: 0;

        overflow: hidden;

        display: flex;

        align-items: center;
    }


    .ht-marquee-track {
        height: 100%;

        display: flex;

        align-items: center;

        width: max-content;

        flex-shrink: 0;
    }


    .ht-marquee-set {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    flex-shrink: 0;
}


    /* MOBILE CARD */

    .ht-marquee-card {
        width: 170px !important;
        height: 220px !important;

        min-width: 170px !important;
        max-width: 220px !important;

        flex: 0 0 150px !important;

        border-radius: 12px !important;

        overflow: hidden !important;

        box-sizing: border-box;

        


    }


    .ht-marquee-card:nth-child(even) {
        transform: rotate(0.6deg) !important;
        -webkit-transform: rotate(0.6deg) !important;
    }


    .ht-marquee-card img {
        width: 106% !important;
        height: 106% !important;

        min-width: 106% !important;
        min-height: 106% !important;

        max-width: none !important;
        max-height: none !important;

        margin: -3% !important;

        object-fit: cover !important;

        border-radius: 0 !important;
    }


    /* BUTTON */

    .ht-hero-action {
        margin-top: 15px;

        position: relative;

        z-index: 20;
    }


    .ht-hero-button {
        min-width: 125px;

        min-height: 46px;

        padding: 11px 24px;

        font-size: 13px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ht-marquee-wrapper {
        height: 215px;

        margin-top: 30px;
    }


    .ht-marquee-card {
        width: 150px !important;
        height: 190px !important;

        min-width: 150px !important;
        max-width: 150px !important;

        flex-basis: 150px !important;

        border-radius: 11px !important;
    }


    .ht-marquee-card img {
        border-radius: 0 !important;
    }


    .ht-marquee-set {
        gap: 11px !important;

        padding-right: 5px !important;
    }
}


/* =========================================================
   HERO CONTENT REVEAL
========================================================= */

@keyframes htHeroSmoothReveal {

    from {
        opacity: 0;

        transform:
            translate3d(0, 120px, 0);
    }

    to {
        opacity: 1;

        transform:
            translate3d(0, 0, 0);
    }
}


/* =========================================================
   DESKTOP CARD SETTINGS
========================================================= */

@media (min-width: 1025px) {

    .ht-marquee-card {
        width: 240px !important;
        height: 320px !important;

        min-width: 240px !important;
        max-width: 240px !important;

        flex: 0 0 240px !important;

        overflow: hidden !important;

        border-radius: 14px !important;

    
    }
    }


    .ht-marquee-card img {
        width: 100% !important;
        height: 100% !important;

        min-width: 100% !important;
        min-height: 100% !important;

        max-width: 100% !important;
        max-height: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: cover !important;

        border-radius: 14px !important;

        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
    }


    /* Keep dropdown from adding unnecessary backdrop repaint */
    .no-header .sub-menu {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
/* =========================================================
   SMOOTH MARQUEE COMPOSITING
========================================================= */

.ht-marquee-track {
    will-change: transform !important;

    transform: translate3d(0, 0, 0);

    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;

    transform-style: flat !important;

    contain: none !important;
}


/* Cards stay on normal rendering layer */

.ht-marquee-card {
    will-change: auto !important;

    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;

    transform-style: flat !important;

    contain: none !important;
}


/* Images stay normal */

.ht-marquee-card img {
    will-change: auto !important;

    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;

    transform: translateZ(0) !important;
}

/* =========================================================
   FINAL CARD TILT
   CSS ONLY — NO JS TRANSFORM
========================================================= */

.ht-marquee-card {
    transform: rotate(-1.5deg) !important;
    -webkit-transform: rotate(-1.5deg) !important;
    transform-origin: center center;
}

.ht-marquee-card:nth-child(even) {
    transform: rotate(1.5deg) !important;
    -webkit-transform: rotate(1.5deg) !important;
}

.ht-marquee-card > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.ht-marquee-card > a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* REMOVE SHADOW FROM MARQUEE CONTAINERS */
.ht-marquee-wrapper,
.ht-marquee-track,
.ht-marquee-set {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* FORCE REMOVE SHADOW FROM MARQUEE CARDS */
.ht-marquee-hero .ht-marquee-card,
.ht-marquee-hero .ht-marquee-card:hover,
.ht-marquee-hero .ht-marquee-card:focus,
.ht-marquee-hero .ht-marquee-card:focus-visible,
.ht-marquee-hero .ht-marquee-card > a,
.ht-marquee-hero .ht-marquee-card > a:hover,
.ht-marquee-hero .ht-marquee-card > a:focus,
.ht-marquee-hero .ht-marquee-card img,
.ht-marquee-hero .ht-marquee-card img:hover {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
}

/* REMOVE CARD PSEUDO-ELEMENT SHADOWS */
.ht-marquee-hero .ht-marquee-card::before,
.ht-marquee-hero .ht-marquee-card::after,
.ht-marquee-hero .ht-marquee-card > a::before,
.ht-marquee-hero .ht-marquee-card > a::after {
    content: none !important;
    display: none !important;
    box-shadow: none !important;
}

/* REMOVE SHADOW FROM WIDGET CONTAINERS */
.ht-marquee-hero .ht-marquee-wrapper,
.ht-marquee-hero .ht-marquee-track,
.ht-marquee-hero .ht-marquee-set {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}
/* TEMPORARY TEST: Remove shadows from marquee cards */
.ht-marquee-wrapper,
.ht-marquee-track,
.ht-marquee-set,
.ht-marquee-card,
.ht-marquee-card a,
.ht-marquee-card img {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    outline: none !important;
}

/* =========================================
   UNIFORM HERO SPACING
   Desktop, Tablet & Mobile
========================================= */

.ht-marquee-hero {
    --hero-gap: 30px;
}

/* Eyebrow ke baad heading */
.ht-hero-title {
    margin-top: var(--hero-gap) !important;
}

/* Heading ke baad description */
.ht-hero-description {
    margin-top: var(--hero-gap) !important;
}

/* Description ke baad marquee cards */
.ht-marquee-wrapper {
    margin-top: var(--hero-gap) !important;
}

/* Marquee cards ke baad Shop Now button */
.ht-hero-action {
    margin-top: var(--hero-gap) !important;
}

/* Same spacing on tablet and mobile */
@media (max-width: 1024px) {
    .ht-marquee-hero {
        --hero-gap: 20px;
    }
}

/* Reduce gap between marquee and Shop Now button */

.ht-marquee-hero .ht-marquee-wrapper {
    height: 360px !important;
}

.ht-marquee-hero .ht-hero-action {
    margin-top: 0px !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .ht-marquee-hero .ht-marquee-wrapper {
        height: 300px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ht-marquee-hero .ht-marquee-wrapper {
        height: 240px !important;
    }
    .ht-marquee-hero .ht-hero-action {
    margin-top: 1px !important;
}
    
}

@media (min-width: 1025px) {
    .ht-marquee-hero .ht-hero-title {
        white-space: wrap !important;
        width: max-content !important;
        max-width: none !important;
        display: block !important;
        font-size: clamp(42px, 4.5vw, 76px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .ht-marquee-hero .ht-hero-title br {
        display: none !important;
    }
}