/* ==========================================================================
   Coupon Hero — [cc_hero]
   Full responsive styling
   ========================================================================== */

/* ---------- Root ---------- */

.cc-hero {
    --cc-orange: #FE803C;
    --cc-red: #FF3830;
    --cc-pink: #FF114F;
    --cc-gradient: linear-gradient(
        120deg,
        #FE803C 0%,
        #FF3830 45%,
        #FF114F 100%
    );

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    background: #000 !important;
    color: #fff !important;

    position: relative;
    overflow: hidden;

    padding: 72px 0 96px;

    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    box-sizing: border-box;
}

.cc-hero *,
.cc-hero *::before,
.cc-hero *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   Decorative Glows
   ========================================================================== */

.cc-hero::before {
    content: "";
    position: absolute;

    width: 620px;
    height: 620px;

    right: -140px;
    top: -200px;

    background: radial-gradient(
        circle,
        rgba(255, 17, 79, 0.53) 0%,
        transparent 65%
    );

    pointer-events: none;
    z-index: 0;
}

.cc-hero::after {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    left: -200px;
    bottom: -260px;

    background: radial-gradient(
        circle,
        rgba(254, 128, 60, 0.47) 0%,
        transparent 65%
    );

    pointer-events: none;
    z-index: 0;
}


/* ==========================================================================
   Hero Wrapper
   ========================================================================== */

.cc-hero .w {
    width: 100% !important;
    max-width: 1160px !important;

    margin: 0 auto !important;
    padding: 0 20px !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(0, 0.9fr) !important;

    gap: 40px !important;

    align-items: center !important;

    position: relative;
    z-index: 2;

    box-sizing: border-box !important;

    flex-direction: initial !important;
    flex-wrap: initial !important;
}

.cc-hero .w > * {
    min-width: 0 !important;
    max-width: 100% !important;
}


/* ==========================================================================
   Left Content
   ========================================================================== */

.cc-hero-left {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
}


/* ---------- Heading ---------- */

.cc-hero h1 {
    display: block !important;

    margin: 0 !important;

    font-family:
        'Bricolage Grotesque',
        Georgia,
        serif;

    font-size: clamp(40px, 6vw, 74px);

    font-weight: 800;

    letter-spacing: -2px;

    line-height: 1.05;

    color: #fff !important;
}

.cc-hero h1 span {
    display: inline-block;

    background: var(--cc-gradient);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent !important;
}


/* ---------- Subtitle ---------- */

.cc-hero p {
    display: block !important;

    max-width: 460px;

    margin: 18px 0 28px !important;

    color: #e8d6cf !important;

    font-size: 18px;

    line-height: 1.55;
}


/* ==========================================================================
   Search
   ========================================================================== */

.cc-hero .cc-search {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;

    width: 100% !important;
    max-width: 540px !important;

    min-height: 58px;

    padding: 6px !important;

    background: #fff !important;

    border-radius: 999px !important;

    border: 0 !important;

    box-shadow: none !important;
}

.cc-hero .cc-search input {
    flex: 1 1 auto !important;

    width: auto !important;
    min-width: 0 !important;

    height: 46px !important;

    padding: 0 18px !important;

    border: 0 !important;
    outline: none !important;

    background: transparent !important;

    color: #000 !important;

    font-family:
        'DM Sans',
        system-ui,
        sans-serif;

    font-size: 16px;
    font-weight: 500;
}

.cc-hero .cc-search input::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.cc-hero .cc-search input:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* ---------- Search Button ---------- */

.cc-hero .cc-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 46px;

    padding: 12px 22px !important;

    border: 0 !important;

    border-radius: 999px !important;

    background: var(--cc-gradient) !important;

    color: #fff !important;

    font-family:
        'DM Sans',
        system-ui,
        sans-serif;

    font-size: 15px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.2s ease;
}

.cc-hero .cc-btn:hover {
    opacity: 0.9;
}

.cc-hero .cc-btn:active {
    transform: translateY(1px);
}


/* ==========================================================================
   Popular Tags
   ========================================================================== */

.cc-hero .cc-tags {
    display: flex !important;

    flex-direction: row !important;
    flex-wrap: wrap !important;

    align-items: center !important;

    gap: 8px !important;

    width: 100%;

    margin-top: 16px !important;

    color: #e8d6cf !important;

    font-size: 14px;
}

.cc-hero .cc-tags > span {
    display: inline-block !important;

    margin-right: 2px;
}

.cc-hero .cc-tags a {
    display: inline-flex !important;

    align-items: center;

    color: #e8d6cf !important;

    text-decoration: none !important;

    border: 1px solid rgba(255, 255, 255, 0.27) !important;

    border-radius: 999px;

    padding: 4px 12px;

    background: transparent !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.cc-hero .cc-tags a:hover {
    color: #fff !important;

    background: rgba(255, 255, 255, 0.10) !important;

    border-color: rgba(255, 255, 255, 0.53) !important;
}


/* ==========================================================================
   Ticket Stack
   ========================================================================== */

.cc-hero .cc-stack {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 340px !important;

    min-width: 0 !important;

    margin: 0 !important;

    flex-direction: initial !important;
}

.cc-hero .cc-tk {
    position: absolute !important;

    display: flex !important;

    flex-direction: row !important;

    align-items: center !important;

    justify-content: space-between !important;

    width: 290px !important;
    max-width: calc(100% - 10px) !important;

    padding: 18px 20px !important;

    background: #fff !important;

    color: #000 !important;

    border-radius: 18px !important;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.53);

    cursor: pointer;

    user-select: none;

    z-index: 3;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cc-hero .cc-tk:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.67);
}

.cc-hero .cc-tk:focus-visible {
    outline: 3px solid #FE803C;
    outline-offset: 3px;
}

.cc-hero .cc-tk > div {
    display: block !important;

    flex: 1 1 auto !important;

    min-width: 0 !important;
}

.cc-hero .cc-tk::before,
.cc-hero .cc-tk::after {
    content: "";

    position: absolute;

    left: 68%;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #000;

    pointer-events: none;
}

.cc-hero .cc-tk::before {
    top: -11px;
}

.cc-hero .cc-tk::after {
    bottom: -11px;
}


/* ---------- Ticket Discount ---------- */

.cc-hero .cc-tk b {
    display: block !important;

    margin: 0 !important;

    font-family:
        'Bricolage Grotesque',
        Georgia,
        serif;

    font-size: 40px;

    font-weight: 800;

    line-height: 1;

    background: var(--cc-gradient);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent !important;
}

.cc-hero .cc-tk small {
    display: block !important;

    margin-top: 4px;

    color: #6b5b5b !important;

    font-size: 13px;

    line-height: 1.3;
}

.cc-hero .cc-tk em {
    display: block !important;

    flex: 0 0 auto;

    min-width: 52px;

    padding-left: 14px;

    border-left: 2px dashed #ddd;

    color: #6b5b5b !important;

    font-size: 13px;

    font-style: normal;

    font-weight: 700;

    text-align: center;
}


/* ---------- Ticket Positions ---------- */

.cc-hero .cc-tk.t1 {
    top: 0;
    left: 10px;

    transform:
        translateY(var(--py, 0))
        rotate(-6deg);
}

.cc-hero .cc-tk.t2 {
    top: 108px;
    left: 70px;

    background: var(--cc-gradient) !important;

    color: #fff !important;

    transform:
        translateY(var(--py2, 0))
        rotate(4deg);
}

.cc-hero .cc-tk.t2 b {
    background: none !important;

    -webkit-text-fill-color: #fff !important;

    color: #fff !important;
}

.cc-hero .cc-tk.t2 small,
.cc-hero .cc-tk.t2 em {
    color: #fff !important;
}

.cc-hero .cc-tk.t2 em {
    border-color: rgba(255, 255, 255, 0.53);
}

.cc-hero .cc-tk.t3 {
    top: 216px;
    left: 0;

    transform:
        translateY(var(--py3, 0))
        rotate(-2deg);
}


/* ---------- Ticket Animation ---------- */

.cc-hero .cc-tk.is-revealing {
    animation: cc-pulse 0.35s ease;
}

@keyframes cc-pulse {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.15);
    }

    100% {
        filter: brightness(1);
    }
}


/* ==========================================================================
   MARQUEE
   ========================================================================== */

/*
   IMPORTANT:
   The marquee uses its own isolated text color and z-index so theme
   styles cannot hide the text.
*/

.cc-mq {
    --cc-marquee-gradient:
        linear-gradient(
            120deg,
            #FE803C 0%,
            #FF3830 45%,
            #FF114F 100%
        );

    position: relative !important;

    display: flex !important;

    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;

    min-height: 52px !important;

    padding: 14px 0 !important;

    margin: -28px 0 0 !important;

    overflow: hidden !important;

    background: var(--cc-marquee-gradient) !important;

    color: #fff !important;

    z-index: 5 !important;

    transform: rotate(-1.2deg);

    isolation: isolate;

    border: 0 !important;

    box-shadow: none !important;
}


/* ---------- Marquee Track ---------- */

.cc-mq .cc-mq-track {
    display: flex !important;

    flex-direction: row !important;

    flex-wrap: nowrap !important;

    align-items: center !important;

    gap: 40px !important;

    width: max-content !important;

    max-width: none !important;

    min-width: max-content !important;

    flex-shrink: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;

    font-family:
        'Bricolage Grotesque',
        Georgia,
        serif;

    font-size: 22px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    color: #fff !important;

    -webkit-text-fill-color: #fff !important;

    opacity: 1 !important;

    visibility: visible !important;

    animation:
        cc-mq-scroll 28s linear infinite !important;

    will-change: transform;

    position: relative;

    z-index: 2;
}


/* ---------- Marquee Text ---------- */

.cc-mq .cc-mq-track span {
    display: inline-block !important;

    flex: 0 0 auto !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;

    color: #fff !important;

    -webkit-text-fill-color: #fff !important;

    opacity: 1 !important;

    visibility: visible !important;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}


/* ---------- Second / Black Marquee ---------- */

.cc-mq.cc-mq-b {
    background: #000 !important;

    transform: rotate(1.2deg);

    margin-top: -6px !important;
    margin-bottom: 36px !important;

    z-index: 4 !important;
}

.cc-mq.cc-mq-b .cc-mq-track {
    color: #FE803C !important;

    -webkit-text-fill-color: #FE803C !important;

    animation-direction: reverse !important;
}

.cc-mq.cc-mq-b .cc-mq-track span {
    color: #FE803C !important;

    -webkit-text-fill-color: #FE803C !important;

    text-shadow: none;
}


/* ---------- Marquee Animation ---------- */

@keyframes cc-mq-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}


/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 860px) {

    .cc-hero .w {
        grid-template-columns: 1fr !important;

        gap: 30px !important;
    }

    .cc-hero .cc-stack {
        width: 100% !important;

        max-width: 380px !important;

        height: 330px !important;

        margin: 20px auto 0 !important;
    }

    .cc-hero-left {
        width: 100% !important;
    }
}


/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 560px) {

    .cc-hero {
        padding: 52px 0 72px !important;
    }

    .cc-hero .w {
        padding: 0 16px !important;

        gap: 20px !important;
    }

    .cc-hero h1 {
        font-size: clamp(38px, 11vw, 56px) !important;

        letter-spacing: -1.5px;
    }

    .cc-hero p {
        font-size: 16px;

        margin-top: 16px !important;
        margin-bottom: 22px !important;
    }

    .cc-hero .cc-search {
        min-height: 54px !important;

        padding: 5px !important;
    }

    .cc-hero .cc-search input {
        height: 44px !important;

        padding: 0 13px !important;

        font-size: 14px;
    }

    .cc-hero .cc-btn {
        min-height: 44px;

        padding: 11px 17px !important;

        font-size: 14px;
    }

    .cc-hero .cc-stack {
        height: 315px !important;

        max-width: 340px !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }

    .cc-hero .cc-tk {
        width: 260px !important;

        max-width: calc(100% - 5px) !important;

        padding: 16px 18px !important;
    }

    .cc-hero .cc-tk b {
        font-size: 34px;
    }

    .cc-hero .cc-tk.t1 {
        left: 0;
    }

    .cc-hero .cc-tk.t2 {
        left: 40px;
    }

    .cc-hero .cc-tk.t3 {
        left: 0;
    }


    /* Mobile marquee */

    .cc-mq {
        min-height: 44px !important;

        padding: 12px 0 !important;
    }

    .cc-mq .cc-mq-track {
        gap: 30px !important;

        font-size: 18px !important;
    }

    .cc-mq.cc-mq-b {
        margin-bottom: 28px !important;
    }
}


/* ==========================================================================
   Very Small Screens
   ========================================================================== */

@media (max-width: 420px) {

    .cc-hero .cc-stack {
        display: none !important;
    }

    .cc-hero .cc-search {
        max-width: 100% !important;
    }

    .cc-hero .cc-search input {
        font-size: 13px;
    }

    .cc-hero .cc-btn {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .cc-mq .cc-mq-track {
        font-size: 16px !important;

        gap: 24px !important;
    }
}


/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .cc-hero *,
    .cc-hero *::before,
    .cc-hero *::after,
    .cc-mq,
    .cc-mq * {
        animation: none !important;

        transition: none !important;
    }

    .cc-mq .cc-mq-track {
        transform: none !important;
    }
}