/* ================================================================
   Fall Sale Theme – DamnModz
   ================================================================ */

:root {
    --fall-bark-deep:     #1C0D06;
    --fall-bark-mid:      #6B2A12;
    --fall-pumpkin:       #D9631E;
    --fall-pumpkin-light: #F08A3C;
    --fall-rust:          #9E4012;
    --fall-amber:         #E0A63A;
    --fall-amber-hot:     #F4BE4F;
    --fall-amber-dark:    #8F5A00;
    --fall-maple:         #E4572E;
    --fall-link:          #F5A55A;
    --fall-cta:           linear-gradient(135deg, #F4BE4F 0%, #E0A63A 40%, #F08A3C 78%, #D9631E 100%);
    --fall-cta-hover:     linear-gradient(135deg, #FFD684 0%, #F4BE4F 35%, #F08A3C 100%);
    --fall-cta-shadow:    0 10px 28px rgba(224, 166, 58, 0.34), 0 0 22px rgba(217, 99, 30, 0.16);
    --fall-cta-ink:       #1C0D06;
}

/* Ambient page wash – barely visible */
body.dmz-fall-theme-active::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99998;
    opacity: 0.28;
    background:
        radial-gradient(circle at 12% 8%, rgba(244, 190, 79, 0.025) 0%, transparent 42%),
        radial-gradient(circle at 88% 14%, rgba(217, 99, 30, 0.02) 0%, transparent 38%);
}

/* ----------------------------------------------------------------
   0.  Harvest sale header stack
   ---------------------------------------------------------------- */

#dmz-fall-topbar {
    position: relative;
    z-index: 1000;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    background: var(--fall-bark-deep);
    box-shadow:
        0 10px 28px rgba(217, 99, 30, 0.18),
        inset 0 -1px 0 rgba(244, 190, 79, 0.45);
}

#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    box-sizing: border-box;
}

#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-inline,
#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 {
    background:
        radial-gradient(circle at 50% 0%, rgba(244, 190, 79, 0.22) 0%, transparent 55%),
        linear-gradient(90deg, var(--fall-bark-deep) 0%, var(--fall-bark-mid) 22%, #C4541A 50%, var(--fall-bark-mid) 78%, var(--fall-bark-deep) 100%) !important;
    border: none !important;
    border-bottom: 1px solid rgba(244, 190, 79, 0.3) !important;
    color: #fff !important;
    padding: 10px 16px !important;
}

#dmz-fall-topbar .woo-sctr-shortcode-countdown-text-before,
#dmz-fall-topbar .woo-sctr-shortcode-countdown-text-after {
    color: rgba(255, 255, 255, 0.96) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
}

#dmz-fall-topbar .woo-sctr-shortcode-countdown-time-separator {
    color: var(--fall-amber-hot) !important;
    font-weight: 800 !important;
}

#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-unit {
    border-radius: 10px !important;
    overflow: hidden !important;
}

#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value-container {
    background: linear-gradient(135deg, var(--fall-amber-hot) 0%, var(--fall-amber) 100%) !important;
    color: var(--fall-bark-deep) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 10px !important;
    box-shadow: 0 0 16px rgba(244, 190, 79, 0.36);
    overflow: hidden !important;
}

#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value,
#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value-container-1,
#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value-container-2,
#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value1,
#dmz-fall-topbar .woo-sctr-shortcode-wrap-wrap-1789650000673 .woo-sctr-shortcode-countdown-1 .woo-sctr-shortcode-countdown-value2 {
    background: transparent !important;
    color: var(--fall-bark-deep) !important;
    border: none !important;
    box-shadow: none !important;
}

#dmz-fall-topbar .woo-sctr-shortcode-countdown-text,
#dmz-fall-topbar .woo-sctr-shortcode-countdown-date-text,
#dmz-fall-topbar .woo-sctr-shortcode-countdown-hour-text,
#dmz-fall-topbar .woo-sctr-shortcode-countdown-minute-text,
#dmz-fall-topbar .woo-sctr-shortcode-countdown-second-text {
    background: rgba(224, 166, 58, 0.92) !important;
    color: var(--fall-bark-deep) !important;
    font-weight: 800 !important;
}

#dmz-fall-banner {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 226, 160, 0.6) 0%, transparent 62%),
        linear-gradient(90deg, #B25A12 0%, #D9822E 20%, #F4BE4F 50%, #D9822E 80%, #B25A12 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(122, 50, 10, 0.6);
    color: #2A1204;
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.4;
    width: 100% !important;
    box-sizing: border-box;
}

.dmz-fall-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dmz-fall-banner__text {
    color: #3A1A04;
    font-weight: 700;
}

.dmz-fall-banner__inner strong {
    display: inline-block;
    padding: 3px 12px;
    color: var(--fall-amber-hot);
    background: linear-gradient(135deg, var(--fall-bark-deep) 0%, #3A1A0C 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 1.2px;
    box-shadow: 0 2px 10px rgba(42, 18, 4, 0.25);
}

.dmz-fall-banner__icon {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
}

/* ----------------------------------------------------------------
   1.  Legacy Bridge hardcoded rgba(220,38,38) overrides
   ---------------------------------------------------------------- */

body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total {
    background: rgba(217, 99, 30, 0.14) !important;
}

body.woocommerce-checkout #payment ul.wc_payment_methods > li > input.input-radio:checked + label {
    background: rgba(217, 99, 30, 0.1) !important;
    box-shadow: inset 0 0 0 1px rgba(217, 99, 30, 0.7) !important;
}

body.woocommerce-checkout #payment ul.wc_payment_methods > li > input.input-radio:checked + label::before {
    border-color: rgba(217, 99, 30, 0.85) !important;
}

body.woocommerce-checkout #payment ul.wc_payment_methods > li > input.input-radio:checked ~ .payment_box {
    background: rgba(217, 99, 30, 0.07) !important;
    box-shadow:
        inset 1px 0 0 rgba(217, 99, 30, 0.7),
        inset -1px 0 0 rgba(217, 99, 30, 0.7),
        inset 0 -1px 0 rgba(217, 99, 30, 0.7) !important;
}

@supports selector(:has(*)) {
    body.woocommerce-checkout #payment ul.wc_payment_methods > li:has(> input.input-radio:checked) {
        border-color: rgba(217, 99, 30, 0.72) !important;
        box-shadow: 0 0 0 2px rgba(217, 99, 30, 0.2) !important;
    }
}

body.woocommerce-checkout button.button.alt {
    box-shadow: 0 10px 26px rgba(217, 99, 30, 0.32) !important;
}

body.woocommerce-checkout button.button.alt:hover {
    box-shadow: 0 14px 34px rgba(217, 99, 30, 0.42) !important;
}

a.checkout-button.button.alt.wc-forward {
    box-shadow: 0 10px 26px rgba(217, 99, 30, 0.28) !important;
}

a.checkout-button.button.alt.wc-forward:hover {
    box-shadow: 0 14px 34px rgba(217, 99, 30, 0.38) !important;
}

.wpcf7-not-valid-tip,
.wpcf7 form.invalid .wpcf7-response-output {
    background: rgba(217, 99, 30, 0.1) !important;
    border: 1px solid rgba(217, 99, 30, 0.3) !important;
}

/* ----------------------------------------------------------------
   2.  (coupon strip styles live in section 0)
   ---------------------------------------------------------------- */

/* ----------------------------------------------------------------
   3.  Logo accent
   ---------------------------------------------------------------- */

.dm-logo__accent {
    color: var(--fall-pumpkin-light) !important;
}

/* ----------------------------------------------------------------
   3a. Homepage harvest blend – bark base, amber highlights
   ---------------------------------------------------------------- */

.dm-hero .title-accent {
    color: var(--fall-amber-hot) !important;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .dm-hero .title-accent {
        background: linear-gradient(
            135deg,
            var(--fall-amber-hot) 0%,
            var(--fall-amber) 22%,
            var(--fall-pumpkin-light) 48%,
            var(--fall-amber-hot) 72%,
            var(--fall-maple) 100%
        ) !important;
        background-size: 220% auto !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}

.dm-hero .dm-game-dropdown__trigger.dm-btn--primary {
    background: linear-gradient(135deg, var(--fall-amber-hot) 0%, var(--fall-amber) 38%, var(--fall-pumpkin-light) 72%, var(--fall-pumpkin) 100%) !important;
    color: var(--fall-bark-deep) !important;
    box-shadow:
        0 14px 40px rgba(224, 166, 58, 0.34),
        0 0 28px rgba(217, 99, 30, 0.18) !important;
}

.dm-hero .hero-trust-badge,
.dm-hero .hero-game-card {
    border-color: rgba(224, 166, 58, 0.25) !important;
    box-shadow:
        0 0 0 1px rgba(217, 99, 30, 0.12),
        0 0 18px rgba(224, 166, 58, 0.06) !important;
}

.dm-hero .decoration-ring {
    border-color: rgba(217, 99, 30, 0.28) !important;
}

.dm-hero .decoration-ring--inner {
    border-color: rgba(224, 166, 58, 0.28) !important;
}

/* ----------------------------------------------------------------
   3b. Site-wide harvest CTAs and prices
   ---------------------------------------------------------------- */

.single_add_to_cart_button,
button.single_add_to_cart_button,
.dm-btn--primary,
.dm-product-cart__actions .single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
a.checkout-button.button.alt.wc-forward {
    background: linear-gradient(135deg, var(--fall-amber-hot) 0%, var(--fall-amber) 40%, var(--fall-pumpkin-light) 78%, var(--fall-pumpkin) 100%) !important;
    color: var(--fall-bark-deep) !important;
    border-color: rgba(244, 190, 79, 0.65) !important;
    box-shadow:
        0 10px 28px rgba(224, 166, 58, 0.34),
        0 0 22px rgba(217, 99, 30, 0.16) !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.dm-btn--primary:hover,
.dm-product-cart__actions .single_add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
a.checkout-button.button.alt.wc-forward:hover {
    background: linear-gradient(135deg, #FFD684 0%, var(--fall-amber-hot) 35%, var(--fall-pumpkin-light) 100%) !important;
    box-shadow:
        0 14px 36px rgba(224, 166, 58, 0.42),
        0 0 28px rgba(217, 99, 30, 0.22) !important;
}

.woocommerce .price .woocommerce-Price-amount,
.woocommerce .price ins .woocommerce-Price-amount,
.dm-product-price .price .woocommerce-Price-amount,
.dm-product-info-card .price ins .woocommerce-Price-amount,
.dm-product-tile__price ins .woocommerce-Price-amount,
.dm-sticky-form .price ins .woocommerce-Price-amount {
    color: var(--fall-amber-hot) !important;
}

.woocommerce .price del .woocommerce-Price-amount,
.dm-product-price .price del .woocommerce-Price-amount,
.dm-product-tile__price del .woocommerce-Price-amount {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ----------------------------------------------------------------
   3c. Theme reds the accent variables don't reach
       (hardcoded in the theme's inline CSS; every selector here is
       one class more specific than the rule it replaces)
   ---------------------------------------------------------------- */

html body.dmz-fall-theme-active ::selection {
    background: var(--fall-pumpkin);
    color: #fff;
}

html body.dmz-fall-theme-active .woocommerce ins,
html body.dmz-fall-theme-active .dm-product-card__sale-price {
    color: var(--fall-amber-hot) !important;
}

/* WCPA option form variables (printed on :root) */
html body.dmz-fall-theme-active {
    --wcpabordercolorfocus: rgba(217, 99, 30, 0.44);
    --wcpaqtybuttonhovercolor: #D9631E;
    --wcparangeslidercolor: #D9631E;
    --wcparangesliderthumb: #D9631E;
}

/* -- Product page: add to cart ----------------------------------- */

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions .dm-product-cta-row .single_add_to_cart_button.dm-btn,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions .single_add_to_cart_button.dm-btn,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions button[type="submit"].dm-btn,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-add-to-cart-wrap .single_add_to_cart_button,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .single_add_to_cart_button.button,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .wcbntf-buy-now.button {
    background: var(--fall-cta) !important;
    color: var(--fall-cta-ink) !important;
    border-color: rgba(244, 190, 79, 0.65) !important;
    box-shadow: var(--fall-cta-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions .dm-product-cta-row .single_add_to_cart_button.dm-btn:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions .single_add_to_cart_button.dm-btn:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-cart__actions button[type="submit"].dm-btn:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-add-to-cart-wrap .single_add_to_cart_button:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .single_add_to_cart_button.button:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .wcbntf-buy-now.button:hover {
    background: var(--fall-cta-hover) !important;
    box-shadow: 0 14px 36px rgba(224, 166, 58, 0.42), 0 0 28px rgba(217, 99, 30, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* -- Product page: sale badge and prices ------------------------- */

html body.dmz-fall-theme-active.single-product .dm-product-info-card .dm-sale-badge,
html body.dmz-fall-theme-active.single-product .dm-product-mobile-offer .dm-sale-badge,
html body.dmz-fall-theme-active .dm-sale-badge {
    background: linear-gradient(180deg, #EC6B2D, #B9420F) !important;
    box-shadow: 0 8px 18px rgba(217, 99, 30, 0.4) !important;
    color: #fff !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-buy-card__price .price,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card__price .price.price {
    text-shadow: 0 0 22px rgba(244, 190, 79, 0.2) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-buy-card__price .price ins,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-buy-card__price .price ins *,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card__price .price.price ins,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card__price .price.price ins * {
    color: var(--fall-amber-hot) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-buy-card__price .price del {
    text-decoration-color: #8F5A2E !important;
}

/* -- Product page: buy box glow, icons, price summary ------------ */

html body.dmz-fall-theme-active.single-product .dm-product-buy-card {
    --dm-card-red: #D9631E;
    --dm-card-red-soft: rgba(217, 99, 30, 0.12);
    background:
        radial-gradient(circle at 88% -12%, rgba(217, 99, 30, 0.13), transparent 34%),
        linear-gradient(180deg, #121620 0%, var(--dm-card-bg) 100%) !important;
}

html body.dmz-fall-theme-active.single-product .dm-sticky-form.dm-product-buy-card {
    background:
        radial-gradient(420px 190px at 100% 0, rgba(217, 99, 30, 0.11), transparent 58%),
        linear-gradient(180deg, #171a22 0%, #111319 52%, #0e1015 100%) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card::before {
    background: linear-gradient(90deg, #D9631E, #F4BE4F);
    box-shadow: 0 0 18px rgba(217, 99, 30, 0.55);
}

html body.dmz-fall-theme-active.single-product .dm-sticky-form.dm-product-buy-card::before {
    background: linear-gradient(90deg, transparent, #D9631E 28%, #F4BE4F 72%, transparent) !important;
    box-shadow: 0 0 18px rgba(217, 99, 30, 0.5) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-buy-card__heading-icon {
    color: var(--fall-pumpkin-light) !important;
    border: 1px solid rgba(240, 138, 60, 0.24) !important;
    background: linear-gradient(145deg, rgba(217, 99, 30, 0.16), rgba(217, 99, 30, 0.055)) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-sidebar-dropdown__icon,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown__icon,
html body.dmz-fall-theme-active.single-product .dm-product-purchase-column .dm-product-sidebar-dropdown__icon {
    color: var(--fall-pumpkin-light) !important;
    border: 1px solid rgba(240, 138, 60, 0.16) !important;
    background: rgba(217, 99, 30, 0.08) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown:focus,
html body.dmz-fall-theme-active.single-product .dm-product-purchase-column .dm-product-sidebar-dropdown:hover {
    background: rgba(217, 99, 30, 0.04) !important;
    border-color: rgba(240, 138, 60, 0.26) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .wcpa_price_summary {
    background: linear-gradient(120deg, rgba(217, 99, 30, 0.075), rgba(255, 255, 255, 0.025) 58%) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .wcpa_type_select select.wcpa_field:focus,
html body.dmz-fall-theme-active.single-product .dm-sticky-form .wcpa_field_wrap select:focus,
html body.dmz-fall-theme-active.single-product .dm-sticky-form select.wcpa_field:focus {
    border-color: rgba(217, 99, 30, 0.6) !important;
    box-shadow: 0 0 0 4px rgba(217, 99, 30, 0.13) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown:focus-within {
    background: rgba(217, 99, 30, 0.04) !important;
    border-color: rgba(240, 138, 60, 0.26) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown__panel a,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-product-sidebar-dropdown__panel button {
    color: var(--fall-link) !important;
}

/* -- Product page: option dropdowns (theme .dm-select skin) ------ */

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select__trigger:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select__trigger:focus-visible,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select.is-open .dm-select__trigger,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-select.is-open .dm-select__trigger {
    border-color: rgba(240, 138, 60, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(217, 99, 30, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select.is-open .dm-select__chev {
    color: var(--fall-pumpkin-light) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select__option:hover,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card .dm-select__option.is-selected,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-select__option.is-selected {
    background: rgba(217, 99, 30, 0.12) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-select__option.is-selected::before {
    background: linear-gradient(180deg, #F4BE4F, #D9631E) !important;
}

html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form .dm-select__trigger:focus-visible,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form select.wcpa_field:focus-visible,
html body.dmz-fall-theme-active.single-product .dm-product-buy-card.dm-sticky-form button:focus-visible {
    outline: 2px solid rgba(240, 138, 60, 0.85) !important;
}

/* -- Product page: description links ----------------------------- */

html body.dmz-fall-theme-active.single-product .dm-product-overview a,
html body.dmz-fall-theme-active.single-product .dm-product-info-card .woocommerce-product-details__short-description a,
html body.dmz-fall-theme-active.single-product .dm-product-notes-card a {
    color: var(--fall-link) !important;
    border-bottom-color: rgba(245, 165, 90, 0.4) !important;
}

/* -- Product cards: related products + search results ------------ */

html body.dmz-fall-theme-active .search-results .dm-product-card__cta,
html body.dmz-fall-theme-active.search-results .dm-product-card__cta,
html body.dmz-fall-theme-active .related.products .dm-product-card__cta,
html body.dmz-fall-theme-active.single-product .related.products .dm-product-card__cta,
html body.dmz-fall-theme-active .search-results .dm-flip__back-cta,
html body.dmz-fall-theme-active.search-results .dm-flip__back-cta,
html body.dmz-fall-theme-active.single-product .related.products .dm-flip__back-cta {
    background: var(--fall-cta) !important;
    color: var(--fall-cta-ink) !important;
    box-shadow: 0 8px 20px rgba(217, 99, 30, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html body.dmz-fall-theme-active .search-results .dm-product-card:hover .dm-product-card__cta,
html body.dmz-fall-theme-active.search-results .dm-product-card:hover .dm-product-card__cta,
html body.dmz-fall-theme-active .related.products .dm-product-card:hover .dm-product-card__cta {
    background: var(--fall-cta-hover) !important;
    box-shadow: 0 14px 28px rgba(217, 99, 30, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

html body.dmz-fall-theme-active .dm-search-hero__submit,
html body.dmz-fall-theme-active.search-results .dm-search-hero__submit {
    background: var(--fall-cta);
    color: var(--fall-cta-ink);
    box-shadow: 0 10px 26px rgba(217, 99, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

html body.dmz-fall-theme-active .dm-search-hero__title-accent {
    background: linear-gradient(180deg, #F4BE4F, #D9631E) text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 26px rgba(217, 99, 30, 0.45));
}

html body.dmz-fall-theme-active .dm-no-products__support a {
    text-decoration-color: rgba(217, 99, 30, 0.72);
}

html body.dmz-fall-theme-active .dm-search-hero__input-wrap:focus-within {
    border-color: rgba(217, 99, 30, 0.55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(217, 99, 30, 0.12);
}

html body.dmz-fall-theme-active .dm-product-card__regular-price .woocommerce-Price-amount {
    text-decoration-color: rgba(217, 99, 30, 0.9) !important;
}

html body.dmz-fall-theme-active .dm-product-card__sale-badge {
    background: linear-gradient(135deg, #EC6B2D 0%, #9E4012 100%) !important;
}

html body.dmz-fall-theme-active .search-results .dm-product-card:hover,
html body.dmz-fall-theme-active .related.products .dm-product-card:hover,
html body.dmz-fall-theme-active.single-product .related.products li.product.dm-product-card:hover {
    border-color: rgba(217, 99, 30, 0.5) !important;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(217, 99, 30, 0.25),
        0 18px 40px rgba(217, 99, 30, 0.12) !important;
}

html body.dmz-fall-theme-active.single-product .related.products .dm-flip__back-head {
    color: var(--fall-pumpkin-light) !important;
}

html body.dmz-fall-theme-active .related.products .qode-related-upsells-title::before {
    background: linear-gradient(180deg, #F4BE4F, #D9631E);
    box-shadow: 0 0 18px rgba(217, 99, 30, 0.6);
}

html body.dmz-fall-theme-active.single-product .dm-related-products-wrap .related.products .dm-product-card__cta {
    box-shadow: 0 8px 18px rgba(217, 99, 30, 0.3) !important;
}

html body.dmz-fall-theme-active.search-results {
    --dm-search-red: #D9631E;
    --dm-search-red-deep: #9E4012;
    --dm-search-red-rgb: 217, 99, 30;
}

html body.dmz-fall-theme-active.search-results nav.woocommerce-pagination span.page-numbers.current {
    background: linear-gradient(180deg, #E8772E, #9E4012);
}

/* -- Trust section (every page) ---------------------------------- */

html body.dmz-fall-theme-active .dm-trust-section .dm-trust-stat__icon {
    background: rgba(217, 99, 30, 0.12);
    color: var(--fall-pumpkin-light);
    box-shadow: inset 0 0 0 1px rgba(217, 99, 30, 0.22);
}

html body.dmz-fall-theme-active .dm-trust-section .dm-trust-stat:hover {
    border-color: rgba(217, 99, 30, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(217, 99, 30, 0.18);
}

/* Holds a white-text Trustpilot widget, so a deeper orange keeps it legible */
html body.dmz-fall-theme-active .dm-trust-section .dm-trust-section__cta {
    background: linear-gradient(180deg, #D9631E 0%, #9E4012 100%) !important;
    border: 1px solid rgba(240, 138, 60, 0.55) !important;
    box-shadow: 0 12px 28px rgba(217, 99, 30, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

/* Fallback link shown until the widget loads */
html body.dmz-fall-theme-active .dm-trust-section .dm-trust-section__cta a {
    color: #fff;
}

/* -- Game hubs: filters ------------------------------------------ */

html body.dmz-fall-theme-active .dm-filter-pill.active {
    background: rgba(217, 99, 30, 0.16);
    border-color: rgba(217, 99, 30, 0.42);
    box-shadow: 0 10px 24px -16px rgba(217, 99, 30, 0.6);
}

html body.dmz-fall-theme-active .dm-subnav--filter-bar .dm-filter-pill.active,
html body.dmz-fall-theme-active .dm-subnav--filter-bar .dm-filter-pill.active:hover,
html body.dmz-fall-theme-active .dm-subnav--filter-bar .dm-filter-pill.active:focus-visible {
    background: linear-gradient(180deg, rgba(217, 99, 30, 0.34), rgba(158, 64, 18, 0.24));
    border-color: rgba(240, 138, 60, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 5px 14px -9px rgba(217, 99, 30, 0.9);
}

html body.dmz-fall-theme-active .dm-filter-search__submit:hover {
    background: var(--fall-pumpkin);
    border-color: var(--fall-pumpkin);
}

html body.dmz-fall-theme-active .dm-filter-search__field:focus-within {
    border-color: rgba(217, 99, 30, 0.4);
    box-shadow: 0 0 0 3px rgba(217, 99, 30, 0.12);
}

html body.dmz-fall-theme-active .dm-quick-tag.is-active {
    border-color: rgba(217, 99, 30, 0.96);
    background: rgba(217, 99, 30, 0.92);
    box-shadow: 0 12px 28px -18px rgba(217, 99, 30, 0.95);
}

html body.dmz-fall-theme-active .dm-filter-feedback__spinner {
    border-top-color: var(--fall-pumpkin);
}

@media (max-width: 768px) {
    html body.dmz-fall-theme-active .dm-filter-pills--sections .dm-filter-pill.active {
        background: linear-gradient(180deg, #D9631E, rgba(122, 50, 10, 0.96));
        border-color: rgba(244, 170, 110, 0.88);
        box-shadow: 0 12px 26px -16px #D9631E, inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }
}

/* -- Homepage single/multiplayer switch --------------------------- */

html body.dmz-fall-theme-active .dm-game-mode-switcher__button.is-active {
    background: linear-gradient(135deg, rgba(217, 99, 30, 0.92), rgba(158, 64, 18, 0.78));
}

/* -- Cart page guarantees ---------------------------------------- */

html body.dmz-fall-theme-active.woocommerce-cart .dm-cart-trust__item::before {
    border-color: rgba(217, 99, 30, 0.35);
    background: rgba(217, 99, 30, 0.11);
    color: var(--fall-link);
}

html body.dmz-fall-theme-active.woocommerce-cart .dm-cart-trust__item:hover {
    border-color: rgba(217, 99, 30, 0.3) !important;
    background: linear-gradient(145deg, rgba(217, 99, 30, 0.075), rgba(255, 255, 255, 0.02)) !important;
}

/* -- Side cart (XootiX) ------------------------------------------ */

html body.dmz-fall-theme-active .xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn,
html body.dmz-fall-theme-active .xoo-wsc-markup .xoo-wsc-btn,
html body.dmz-fall-theme-active .xoo-wsc-markup .woocommerce-shipping-calculator button[type="submit"],
html body.dmz-fall-theme-active .xoo-wsc-ft-btn.xoo-wsc-ft-btn {
    background: var(--fall-cta) !important;
    color: var(--fall-cta-ink) !important;
    box-shadow: 0 10px 25px rgba(217, 99, 30, 0.3) !important;
}

html body.dmz-fall-theme-active .xoo-wsc-markup .xoo-wsc-btn:hover,
html body.dmz-fall-theme-active .xoo-wsc-ft-btn.xoo-wsc-ft-btn:hover {
    background: var(--fall-cta-hover) !important;
}

/* -- Header currency switcher ------------------------------------ */

html body.dmz-fall-theme-active .dmz-header-yc-slot .wc_aelia_cs_currency_selector.active .selected_option.selected_currency {
    border-color: var(--fall-pumpkin) !important;
}

html body.dmz-fall-theme-active .dmz-header-yc-dropdown .option.currency:hover {
    background: rgba(217, 99, 30, 0.12) !important;
}

html body.dmz-fall-theme-active .dmz-header-yc-dropdown .option.currency.selected {
    background: rgba(217, 99, 30, 0.18) !important;
}

html body.dmz-fall-theme-active .dmz-header-yc-dropdown .option.currency.selected::after {
    color: var(--fall-pumpkin-light);
}

html body.dmz-fall-theme-active .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-value,
html body.dmz-fall-theme-active .xoo-wsc-ft-amt-total .xoo-wsc-ft-amt-value * {
    color: var(--fall-amber-hot) !important;
}

/* ----------------------------------------------------------------
   4.  Hide Simple Banner (Discord/X)
   ---------------------------------------------------------------- */

#simple-banner,
.dm-announcement-bar {
    display: none !important;
}

/* Phone guarantee bar (theme hardcodes a red gradient) */
body.dmz-fall-theme-active .dm-mobile-trust-bar {
    background: linear-gradient(90deg, #C4541A, #8A3410) !important;
}

/* ----------------------------------------------------------------
   5.  Scrollbar fall accent (Webkit)
   ---------------------------------------------------------------- */

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--fall-amber-hot), var(--fall-pumpkin)) !important;
}

/* ----------------------------------------------------------------
   6.  Mobile tweaks
   ---------------------------------------------------------------- */

@media (max-width: 768px) {
    #dmz-fall-banner {
        font-size: 11px;
        padding: 6px 10px;
    }

    .dmz-fall-banner__inner {
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* ----------------------------------------------------------------
   7.  Falling Leaves Canvas (rendered by fall-leaves.js)
   ---------------------------------------------------------------- */

#dmz-fall-leaves-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99999;
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    body.dmz-fall-theme-active::before {
        display: none;
    }
}
