/* THE IT GEAR - sales-diwali.css (Diwali sales page, white theme) -> public/assets/css/sales-diwali.css
   Load AFTER custom-pc-builder.css. Everything is scoped under .sx. */
.sx {
    --ink: #3a2a22;
    --mu: #6f5f56;
    --hd: #4a1d0c;
    --c: #e8590c;
    --v: #c2185b;
    --gold: #c9961a;
    --p1: #fff7ec;
    --line: rgba(124, 45, 18, .14);
    --g: linear-gradient(135deg, #f59e0b, #ea580c 55%, #b91c1c);
    --maroon: linear-gradient(135deg, #4a0f06, #8a1c10);
    --shadow: 0 10px 30px rgba(124, 45, 18, .10);
    background: #fff;
    color: var(--ink);
    font-family: Poppins, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative
}

.sx *,
.sx *::before,
.sx *::after {
    box-sizing: border-box
}

.sx img {
    max-width: 100%;
    display: block
}

.sx h1,
.sx h2,
.sx h3 {
    font-family: "Playfair Display", Georgia, serif;
    color: var(--hd);
    margin: 0
}

.sx-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px
}

/* floating diya sparks (replaces the monsoon rain) */
.sx-sparks {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0
}

.sx-spark {
    position: absolute;
    bottom: -20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd45e, #f97316 70%, transparent);
    opacity: 0;
    animation: sxup linear infinite
}

@keyframes sxup {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0
    }

    15% {
        opacity: .9
    }

    100% {
        transform: translateY(-900px) translateX(30px);
        opacity: 0
    }
}

/* buttons */
.sx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--g);
    color: #fff !important;
    font: 600 15px Poppins, sans-serif;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(234, 88, 12, .35);
    cursor: pointer;
    transition: .3s
}

.sx-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(185, 28, 28, .35)
}

.sx-ghost {
    background: #fff;
    border: 1.5px solid var(--c);
    color: var(--hd) !important;
    box-shadow: none
}

.sx-ghost:hover {
    background: #fff3e3
}

.sx a:focus-visible,
.sx button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px
}

.sx-gold {
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    color: #4a1d0c !important;
    box-shadow: none
}

.sx-head {
    text-align: center;
    margin-bottom: 36px
}

.sx-head small {
    color: var(--c);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase
}

.sx-head h2 {
    font-size: 34px;
    font-weight: 800;
    margin-top: 8px;
    line-height: 1.2
}

.sx-head h2::after {
    content: "";
    display: block;
    width: 110px;
    height: 10px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold)) left center / 42px 2px no-repeat,
        linear-gradient(90deg, var(--gold), transparent) right center / 42px 2px no-repeat
}

.sx-head p {
    color: var(--mu);
    max-width: 620px;
    margin: 6px auto 0
}

/* ---------- hero ---------- */
.sx-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 64px;
    background: radial-gradient(circle at 82% 40%, rgba(251, 191, 36, .30), transparent 46%),
        radial-gradient(circle at 4% 0, rgba(236, 72, 153, .10), transparent 40%), #fff
}

.sx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(201, 150, 26, .32) 1.5px, transparent 1.6px);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 5%, transparent 70%);
    mask-image: radial-gradient(ellipse at 75% 50%, #000 5%, transparent 70%)
}

.sx-lights {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    pointer-events: none;
    background-image: radial-gradient(circle at 15px 20px, #f97316 0 5px, transparent 6px), radial-gradient(circle at 45px 24px, #facc15 0 5px, transparent 6px),
        radial-gradient(circle at 75px 20px, #ef4444 0 5px, transparent 6px), radial-gradient(circle at 105px 24px, #ec4899 0 5px, transparent 6px),
        linear-gradient(#a16207, #a16207);
    background-size: 120px 36px, 120px 36px, 120px 36px, 120px 36px, 100% 2px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 8px;
    background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, no-repeat;
    filter: drop-shadow(0 0 5px rgba(250, 204, 21, .85));
    animation: sxt 2.4s ease-in-out infinite
}

@keyframes sxt {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .6
    }
}

@keyframes sxg {

    0%,
    100% {
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, .7))
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(249, 115, 22, .95))
    }
}

.sx-diya {
    width: 72px;
    height: 45px;
    animation: sxg 2.2s ease-in-out infinite
}

.sx-hero-in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.sx-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border: 1px solid rgba(232, 89, 12, .35);
    border-radius: 99px;
    background: #fff3e3;
    color: var(--c);
    font-weight: 600;
    font-size: 13px
}

.sx-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
    animation: sxp 2s infinite
}

@keyframes sxp {
    0% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, .6)
    }

    70%,
    100% {
        box-shadow: 0 0 0 10px transparent
    }
}

.sx-hero h1 {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 900;
    line-height: 1.12;
    margin: 20px 0 16px
}

.sx-hero h1 span {
    display: block;
    background: linear-gradient(90deg, #ea580c, #c2185b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.sx-lead {
    color: var(--mu);
    font-size: 18px;
    max-width: 540px;
    margin: 0 0 28px
}

.sx-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.sx-offer {
    position: relative;
    padding: 34px 30px;
    text-align: center;
    border: 1.5px solid rgba(201, 150, 26, .6);
    border-radius: 28px;
    background: radial-gradient(circle at 50% 0, rgba(251, 191, 36, .28), transparent 60%), #fffaf2;
    box-shadow: var(--shadow)
}

.sx-offer h2 {
    font-size: 24px;
    margin: 10px 0 4px
}

.sx-offer p {
    margin: 0 0 18px;
    color: var(--mu);
    font-size: 14px
}

.sx-cd {
    display: inline-flex;
    gap: 10px;
    margin-bottom: 20px
}

.sx-cd[hidden] {
    display: none
}

.sx-cd span {
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 14px;
    background: var(--maroon);
    color: #fff;
    text-align: center
}

.sx-cd b {
    display: block;
    font: 800 26px "Playfair Display", serif;
    line-height: 1.1;
    color: #fde68a
}

.sx-cd em {
    font-style: normal;
    font-size: 10px;
    letter-spacing: .1em;
    color: #fde9c8
}

/* ---------- perks ---------- */
.sx-perks {
    padding: 36px 0 20px
}

.sx-perks .sx-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.sx-perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow)
}

.sx-perk i {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 20px;
    background: #fff3e3
}

.sx-perk b {
    display: block;
    color: var(--hd);
    font-size: 15px;
    line-height: 1.3
}

.sx-perk span {
    color: var(--mu);
    font-size: 13px
}

/* ---------- deals (maroon panel so the existing product cards keep their light text) ---------- */
.sx-deals {
    padding: 40px 0 56px
}

.sx-panel {
    position: relative;
    padding: 44px 36px;
    border-radius: 28px;
    border: 1px solid rgba(253, 230, 138, .45);
    background: radial-gradient(circle at 90% 0, rgba(251, 191, 36, .18), transparent 45%), var(--maroon);
    box-shadow: 0 20px 50px rgba(90, 20, 9, .30)
}

.sx-panel .sx-head h2 {
    color: #fff
}

.sx-panel .sx-head small {
    color: #fcd34d
}

.sx-panel .sx-head p {
    color: #fde9c8
}

.sx-panel .product-view-ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.sx-empty {
    color: #fde9c8;
    text-align: center
}

.sx-empty a {
    color: #fcd34d;
    text-decoration: underline
}

/* ---------- editorial content ---------- */
.sx-info {
    padding: 56px 0 40px;
    background: var(--p1)
}

.sx-prose {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow)
}

.sx-prose h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 40px 0 12px;
    padding-top: 6px;
    line-height: 1.25
}

.sx-prose>h2:first-child,
.sx-prose h2.sx-first {
    margin-top: 0;
    font-size: 34px;
    text-align: center
}

.sx-prose h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 26px 0 8px;
    color: #7a1a12
}

.sx-prose p {
    margin: 0 0 14px;
    color: var(--ink)
}

.sx-prose a {
    color: var(--c);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

.sx-prose strong {
    color: var(--hd)
}

.sx-prose ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 12px
}

.sx-prose ul>li {
    position: relative;
    padding: 16px 18px 6px 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffaf2;
    font-weight: 600;
    color: var(--hd)
}

.sx-prose ul>li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    transform: rotate(45deg)
}

.sx-prose ul>li p {
    font-weight: 400;
    color: var(--mu);
    margin: 4px 0 10px
}

.sx-more-wrap {
    text-align: center;
    margin: 22px 0 0
}

.read-more-btn.sx-btn {
    background: #fff;
    border: 1.5px solid var(--c);
    color: var(--hd) !important;
    box-shadow: none
}

/* ---------- FAQ ---------- */
.sx-prose .faq-item {
    margin: 0 0 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: .3s
}

.sx-prose .faq-item.active {
    border-color: rgba(232, 89, 12, .5);
    box-shadow: var(--shadow)
}

.sx-prose .faq-question {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    padding: 18px 56px 18px 20px;
    background: none;
    border: 0;
    font: 600 16px Poppins, sans-serif;
    color: var(--hd);
    cursor: pointer
}

.sx-prose .faq-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 89, 12, .4);
    border-radius: 50%;
    color: var(--c);
    font-weight: 400;
    transition: .3s
}

.sx-prose .faq-item.active .faq-icon {
    background: var(--c);
    color: #fff;
    transform: rotate(45deg)
}

.sx-prose .faq-answer {
    display: none;
    padding: 0 20px 16px
}

.sx-prose .faq-item.active .faq-answer {
    display: block
}

.sx-prose .faq-answer p {
    margin: 0;
    color: var(--mu)
}

/* ---------- CTA ---------- */
.sx-cta {
    padding: 40px 0 64px;
    background: var(--p1)
}

.sx-cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 38px;
    border-radius: 24px;
    border: 1px solid rgba(253, 230, 138, .4);
    background: var(--maroon);
    box-shadow: 0 16px 40px rgba(90, 20, 9, .3)
}

.sx-cta-box h2 {
    color: #fff;
    font-size: 28px
}

.sx-cta-box p {
    margin: 8px 0 0;
    color: #fde9c8
}

.sx-cta-box .sx-btns {
    flex-direction: column
}

.sx-cta-box .sx-ghost {
    background: transparent;
    border-color: #fcd34d;
    color: #fff !important
}

@media (max-width: 991px) {
    .sx-hero-in {
        grid-template-columns: 1fr;
        text-align: center
    }

    .sx-lead {
        margin-left: auto;
        margin-right: auto
    }

    .sx-btns {
        justify-content: center
    }

    .sx-perks .sx-wrap {
        grid-template-columns: repeat(2, 1fr)
    }

    .sx-cta-box {
        grid-template-columns: 1fr;
        text-align: center
    }

    .sx-cta-box .sx-btns {
        flex-direction: row
    }
}

@media (max-width: 767px) {
    .sx {
        font-size: 15px
    }

    .sx-hero {
        padding: 62px 0 40px
    }

    .sx-head h2 {
        font-size: 25px
    }

    .sx-btns {
        flex-direction: column;
        align-items: stretch
    }

    .sx-cd span {
        min-width: 56px
    }

    .sx-perks .sx-wrap {
        grid-template-columns: 1fr
    }

    .sx-panel {
        padding: 28px 14px;
        border-radius: 20px
    }

    .sx-prose {
        padding: 26px 18px;
        border-radius: 18px
    }

    .sx-prose>h2:first-child,
    .sx-prose h2.sx-first {
        font-size: 25px
    }

    .sx-prose h2 {
        font-size: 22px
    }

    .sx-cta-box {
        padding: 28px 20px
    }

    .sx-cta-box .sx-btns {
        flex-direction: column
    }
}

@media (prefers-reduced-motion: reduce) {

    .sx *,
    .sx *::before {
        animation: none !important;
        transition: none !important
    }

    .sx-sparks {
        display: none
    }
}