/* Ambitemp seasonal themes. The Normal option loads no overrides. */
@layer ambitemp-seasonal-theme {
body.amb-seasonal-theme-black-friday {
    --amb-season-primary: #111318;
    --amb-season-primary-hover: #252933;
    --amb-season-accent: #f2b705;
    --amb-season-cta: #f2b705;
    --amb-season-cta-hover: #d6a104;
    --amb-season-cta-text: #111318;
    --amb-season-footer: #111318;
    --amb-season-footer-text: #ffffff;
    --amb-season-footer-link: #f2b705;
    --amb-season-footer-link-hover: #ffffff;
    --amb-season-footer-icon: #f2b705;
    --amb-season-sale: #f2b705;
    --amb-season-sale-text: #111318;
    --amb-season-card-border: rgba(242, 183, 5, .38);
    --amb-season-hero-image: url('../images/seasonal/hero-black-friday.webp?v=f7753b2e9930');
    --ambitemp-catalog-blue: #f2b705;
    --e-global-color-primary: #111318;
    --e-global-color-accent: #f2b705;
}

body.amb-seasonal-theme-natal {
    --amb-season-primary: #0f5d43;
    --amb-season-primary-hover: #0a4834;
    --amb-season-accent: #d8ad43;
    --amb-season-cta: #b4233b;
    --amb-season-cta-hover: #941b30;
    --amb-season-cta-text: #ffffff;
    --amb-season-footer: #123d31;
    --amb-season-footer-text: #ffffff;
    --amb-season-footer-link: #f4d58d;
    --amb-season-footer-link-hover: #ffffff;
    --amb-season-footer-icon: #f4d58d;
    --amb-season-sale: #b4233b;
    --amb-season-sale-text: #ffffff;
    --amb-season-card-border: rgba(15, 93, 67, .28);
    --amb-season-hero-image: url('../images/seasonal/hero-natal.webp');
    --ambitemp-catalog-blue: #b4233b;
    --e-global-color-primary: #0f5d43;
    --e-global-color-accent: #b4233b;
}

body.amb-seasonal-theme-pascoa {
    --amb-season-primary: #557a46;
    --amb-season-primary-hover: #416137;
    --amb-season-accent: #f2b544;
    --amb-season-cta: #7654a3;
    --amb-season-cta-hover: #604287;
    --amb-season-cta-text: #ffffff;
    --amb-season-footer: #2f4431;
    --amb-season-footer-text: #ffffff;
    --amb-season-footer-link: #f6d58a;
    --amb-season-footer-link-hover: #ffffff;
    --amb-season-footer-icon: #f6d58a;
    --amb-season-sale: #c94f7c;
    --amb-season-sale-text: #ffffff;
    --amb-season-card-border: rgba(85, 122, 70, .3);
    --amb-season-hero-image: url('../images/seasonal/hero-pascoa.webp');
    --ambitemp-catalog-blue: #7654a3;
    --e-global-color-primary: #557a46;
    --e-global-color-accent: #7654a3;
}

body.amb-seasonal-theme-carnaval {
    --amb-season-primary: #075b66;
    --amb-season-primary-hover: #044650;
    --amb-season-accent: #f5b82e;
    --amb-season-cta: #d83b76;
    --amb-season-cta-hover: #b92d62;
    --amb-season-cta-text: #ffffff;
    --amb-season-footer: #073c43;
    --amb-season-footer-text: #ffffff;
    --amb-season-footer-link: #ffd166;
    --amb-season-footer-link-hover: #ffffff;
    --amb-season-footer-icon: #ffd166;
    --amb-season-sale: #d83b76;
    --amb-season-sale-text: #ffffff;
    --amb-season-card-border: rgba(7, 91, 102, .32);
    --amb-season-hero-image: url('../images/seasonal/hero-carnaval.webp');
    --ambitemp-catalog-blue: #d83b76;
    --e-global-color-primary: #075b66;
    --e-global-color-accent: #d83b76;
}

body.amb-seasonal-theme #masthead,
body.amb-seasonal-theme #masthead > .elementor,
body.amb-seasonal-theme #masthead .elementor-section:first-child,
body.amb-seasonal-theme #masthead .e-con:first-child {
    --amb-nav-blue: var(--amb-season-primary);
}

body.amb-seasonal-theme #masthead > .elementor > .elementor-element:first-child,
body.amb-seasonal-theme #masthead .elementor-section-wrap > .elementor-section:first-child,
body.amb-seasonal-theme #masthead > .e-con:first-child,
body.amb-seasonal-theme #masthead .elementor-element-1c54c62 {
    background-color: var(--amb-season-primary) !important;
}

body.amb-seasonal-theme .elementor-widget-navigation-menu .current-menu-item > a.hfe-menu-item,
body.amb-seasonal-theme .elementor-widget-navigation-menu .current_page_item > a.hfe-menu-item,
body.amb-seasonal-theme .elementor-widget-navigation-menu a.hfe-menu-item:hover,
body.amb-seasonal-theme .elementor-widget-navigation-menu a.hfe-menu-item:focus {
    color: var(--amb-season-accent) !important;
}

/* The hero keeps its current structure and copy, changing only the seasonal image. */
body.home.amb-seasonal-theme .elementor-element-bdc13cf {
    background-image: var(--amb-season-hero-image) !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

body.home.amb-seasonal-theme .elementor-element-bdc13cf .elementor-heading-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}

body.amb-seasonal-theme .elementor-button,
body.amb-seasonal-theme .woocommerce a.button,
body.amb-seasonal-theme .woocommerce button.button,
body.amb-seasonal-theme .woocommerce input.button,
body.amb-seasonal-theme .woocommerce #respond input#submit,
body.amb-seasonal-theme a.button,
body.amb-seasonal-theme button.button,
body.amb-seasonal-theme input.button,
body.amb-seasonal-theme .woocommerce ul.products li.product a.button,
body.amb-seasonal-theme .amb-minicart-footer a,
body.amb-seasonal-theme .amb-request-submit {
    background-color: var(--amb-season-cta) !important;
    border-color: var(--amb-season-cta) !important;
    color: var(--amb-season-cta-text) !important;
}

body.amb-seasonal-theme .elementor-button:hover,
body.amb-seasonal-theme .woocommerce a.button:hover,
body.amb-seasonal-theme .woocommerce button.button:hover,
body.amb-seasonal-theme .woocommerce input.button:hover,
body.amb-seasonal-theme .woocommerce #respond input#submit:hover,
body.amb-seasonal-theme a.button:hover,
body.amb-seasonal-theme button.button:hover,
body.amb-seasonal-theme input.button:hover,
body.amb-seasonal-theme .woocommerce ul.products li.product a.button:hover,
body.amb-seasonal-theme .amb-minicart-footer a:hover,
body.amb-seasonal-theme .amb-request-submit:hover {
    background-color: var(--amb-season-cta-hover) !important;
    border-color: var(--amb-season-cta-hover) !important;
}

body.amb-seasonal-theme .woocommerce ul.products li.product a.button.add_to_cart_button {
    background: var(--amb-season-cta) !important;
    border-color: var(--amb-season-cta) !important;
    color: var(--amb-season-cta-text) !important;
    transition: none !important;
}

body.amb-seasonal-theme .woocommerce ul.products li.product a.button.add_to_cart_button:hover {
    background: var(--amb-season-cta-hover) !important;
    border-color: var(--amb-season-cta-hover) !important;
}

body.amb-seasonal-theme .woocommerce span.onsale,
body.amb-seasonal-theme .woocommerce ul.products li.product .onsale,
body.amb-seasonal-theme .elementor-widget-woocommerce-products ul.products li.product .onsale,
body.amb-seasonal-theme .amb-ni-badge {
    background-color: var(--amb-season-sale) !important;
    color: var(--amb-season-sale-text) !important;
}

body.amb-seasonal-theme a:focus-visible,
body.amb-seasonal-theme button:focus-visible,
body.amb-seasonal-theme input:focus-visible,
body.amb-seasonal-theme select:focus-visible,
body.amb-seasonal-theme textarea:focus-visible {
    outline: 3px solid var(--amb-season-accent) !important;
    outline-offset: 2px;
}

body.amb-seasonal-theme #colophon,
body.amb-seasonal-theme footer.site-footer,
body.amb-seasonal-theme .elementor-location-footer {
    --e-global-color-primary: var(--amb-season-footer-text);
    color: var(--amb-season-footer-text) !important;
}

body.amb-seasonal-theme #colophon > .elementor,
body.amb-seasonal-theme footer.site-footer,
body.amb-seasonal-theme .elementor-location-footer > .elementor,
body.amb-seasonal-theme #colophon .elementor-element-e3ed482,
body.amb-seasonal-theme #colophon .elementor-element-04e8776,
body.amb-seasonal-theme #colophon .elementor-element-504e728 {
    background-color: var(--amb-season-footer) !important;
}

body.amb-seasonal-theme #colophon .elementor-heading-title,
body.amb-seasonal-theme #colophon .elementor-widget-text-editor,
body.amb-seasonal-theme #colophon .elementor-widget-text-editor p,
body.amb-seasonal-theme #colophon .elementor-widget-text-editor span,
body.amb-seasonal-theme #colophon .elementor-widget-text-editor strong {
    color: var(--amb-season-footer-text) !important;
}

body.amb-seasonal-theme #colophon a,
body.amb-seasonal-theme #colophon .elementor-icon {
    color: var(--amb-season-footer-link) !important;
}

body.amb-seasonal-theme #colophon a:hover,
body.amb-seasonal-theme #colophon a:focus-visible {
    color: var(--amb-season-footer-link-hover) !important;
}

body.amb-seasonal-theme #colophon a.elementor-social-icon svg {
    fill: var(--amb-season-footer-icon) !important;
}

body.amb-seasonal-theme .amb-home-promotion-card {
    border-color: var(--amb-season-card-border) !important;
}

@media (max-width: 767px) {
    body.home.amb-seasonal-theme .elementor-element-bdc13cf {
        background-position: 20% center !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.amb-seasonal-theme .elementor-button,
    body.amb-seasonal-theme .woocommerce a.button,
    body.amb-seasonal-theme .woocommerce button.button {
        transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    }
}


/* Approved Black Weekend artwork: preserve its headline, cart and percent tag.
   Only this theme changes framing; the live Elementor copy and link remain. */
body.home.amb-seasonal-theme-black-friday .elementor-element-bdc13cf {
    background-position: left top !important;
    background-color: #111318 !important;
    min-height: clamp(520px, 36.15vw, 760px) !important;
}

body.home.amb-seasonal-theme-black-friday .elementor-element-bdc13cf > .elementor-element-3efac6d {
    width: 45% !important;
    justify-content: flex-end !important;
    padding-bottom: 30px !important;
}

body.home.amb-seasonal-theme-black-friday .elementor-element-bdc13cf h1.elementor-heading-title {
    font-size: clamp(28px, 2.5vw, 40px) !important;
}

@media (max-width: 767px) {
    body.home.amb-seasonal-theme-black-friday .elementor-element-bdc13cf {
        min-height: 560px !important;
        background-image: linear-gradient(to bottom, transparent calc(75.91vw - 60px), #111318 75.91vw), var(--amb-season-hero-image) !important;
        background-size: 100% 100%, 210% auto !important;
        background-position: left top, left top !important;
        background-repeat: no-repeat !important;
    }
    body.home.amb-seasonal-theme-black-friday .elementor-element-bdc13cf > .elementor-element-3efac6d {
        width: 100% !important;
    }
}

/* Black Friday: category shortcuts follow the active black palette. */
body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 .elementor-widget-image img {
    border-color: #111318 !important;
}

body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 .elementor-heading-title,
body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 .elementor-heading-title a {
    color: #111318 !important;
}

body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 > .e-con:hover .elementor-widget-image img,
body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 > .e-con:focus-within .elementor-widget-image img {
    box-shadow: 0 5px 14px rgba(17, 19, 24, .24) !important;
}

body.home.amb-seasonal-theme-black-friday .elementor-element-d3b9849 a:focus-visible {
    outline: 2px solid #111318;
    outline-offset: 3px;
}
}
