/* ==========================================================================
   Promo banner: the wide promotion banner on the home page (Admin > Storefront > Promo banner).
   Loaded only on pages that show it (frontend\widgets\promoBanner\PromoBannerAsset) and inlined in the
   admin preview, so what you see there is what the shop shows. Self-contained: no other stylesheet needed.
   ========================================================================== */

.spotlight {
    --pb-green-900: #0b2a1c;
    --pb-green-700: #0e6b41;
    --pb-green-600: #0f7a4a;
    --pb-orange-600: #c14e0a;
    --pb-orange-700: #9f3f06;
    --pb-ink: #17231c;
    --pb-a1: .72;
    --pb-a2: .45;
    --pb-a3: .2;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 28px 0 12px;
    color: #fff;
    background:
        radial-gradient(900px 340px at 85% 10%, rgba(22, 155, 98, .55), rgba(22, 155, 98, 0) 70%),
        radial-gradient(700px 300px at 5% 100%, rgba(255, 136, 62, .28), rgba(255, 136, 62, 0) 70%),
        linear-gradient(115deg, #0b2a1c 0%, #0f7a4a 100%);
    font-family: "Overpass", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.spotlight__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* darkening layer: strongest on the side of the text so it stays readable on any picture */
.spotlight__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8, 24, 16, var(--pb-a1)) 0%, rgba(8, 24, 16, var(--pb-a2)) 55%, rgba(8, 24, 16, var(--pb-a3)) 100%);
}
.spotlight--align-right .spotlight__shade {
    background: linear-gradient(270deg, rgba(8, 24, 16, var(--pb-a1)) 0%, rgba(8, 24, 16, var(--pb-a2)) 55%, rgba(8, 24, 16, var(--pb-a3)) 100%);
}
.spotlight--align-center .spotlight__shade {
    background: radial-gradient(ellipse at center, rgba(8, 24, 16, var(--pb-a2)) 0%, rgba(8, 24, 16, var(--pb-a1)) 100%);
}
.spotlight--overlay-none { --pb-a1: 0; --pb-a2: 0; --pb-a3: 0; }
.spotlight--overlay-light { --pb-a1: .45; --pb-a2: .25; --pb-a3: .1; }
.spotlight--overlay-medium { --pb-a1: .72; --pb-a2: .45; --pb-a3: .2; }
.spotlight--overlay-strong { --pb-a1: .88; --pb-a2: .66; --pb-a3: .4; }

/* dark text on a light picture: a white veil instead of a dark one */
.spotlight--text-dark { color: var(--pb-ink); }
.spotlight--text-dark .spotlight__shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, var(--pb-a1)) 0%, rgba(255, 255, 255, var(--pb-a2)) 55%, rgba(255, 255, 255, var(--pb-a3)) 100%);
}
.spotlight--text-dark.spotlight--align-right .spotlight__shade {
    background: linear-gradient(270deg, rgba(255, 255, 255, var(--pb-a1)) 0%, rgba(255, 255, 255, var(--pb-a2)) 55%, rgba(255, 255, 255, var(--pb-a3)) 100%);
}
.spotlight--text-dark.spotlight--align-center .spotlight__shade {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, var(--pb-a2)) 0%, rgba(255, 255, 255, var(--pb-a1)) 100%);
}

.spotlight__inner {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 1320px;
    min-height: 320px;
    margin: 0 auto;
    padding: 56px 24px;
}
.spotlight--height-compact .spotlight__inner { min-height: 220px; padding-top: 36px; padding-bottom: 36px; }
.spotlight--height-tall .spotlight__inner { min-height: 440px; padding-top: 72px; padding-bottom: 72px; }
.spotlight--align-center .spotlight__inner { justify-content: center; text-align: center; }
.spotlight--align-right .spotlight__inner { justify-content: flex-end; }

.spotlight__content { max-width: 640px; }

.spotlight .spotlight__badge {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--pb-orange-600);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.spotlight .spotlight__title {
    margin: 0 0 14px;
    padding: 0;
    color: inherit;
    font-family: "Oswald-Regular", "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: clamp(30px, 4.4vw, 56px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-wrap: balance;
}
.spotlight__title::after { content: none; }

.spotlight .spotlight__text {
    max-width: 52ch;
    margin: 0 0 26px;
    color: inherit;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.55;
    opacity: .96;
}
.spotlight--align-center .spotlight__text { margin-left: auto; margin-right: auto; }

.spotlight--text-light .spotlight__title,
.spotlight--text-light .spotlight__text { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }

.spotlight .spotlight__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.spotlight .spotlight__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); text-decoration: none; }
.spotlight .spotlight__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.spotlight__btn-arrow { transition: transform .15s ease; }
.spotlight__btn:hover .spotlight__btn-arrow { transform: translateX(4px); }
.spotlight .spotlight__btn--orange { background: var(--pb-orange-600); color: #fff; }
.spotlight .spotlight__btn--orange:hover { background: var(--pb-orange-700); color: #fff; }
.spotlight .spotlight__btn--green { background: var(--pb-green-600); color: #fff; }
.spotlight .spotlight__btn--green:hover { background: var(--pb-green-700); color: #fff; }
.spotlight .spotlight__btn--white { background: #fff; color: var(--pb-ink); }
.spotlight .spotlight__btn--white:hover { background: #f2f9f5; color: var(--pb-ink); }
.spotlight--text-dark .spotlight__btn--white { background: var(--pb-ink); color: #fff; }
.spotlight--text-dark .spotlight__btn--white:hover { background: #000; color: #fff; }

@media (max-width: 767px) {
    .spotlight { margin: 20px 0 8px; }
    .spotlight__inner, .spotlight--height-tall .spotlight__inner { min-height: 260px; padding: 36px 18px; }
    .spotlight--height-compact .spotlight__inner { min-height: 200px; padding: 28px 18px; }
    .spotlight--align-right .spotlight__inner { justify-content: flex-start; }
    .spotlight--align-right .spotlight__shade { background: linear-gradient(90deg, rgba(8, 24, 16, var(--pb-a1)) 0%, rgba(8, 24, 16, var(--pb-a2)) 55%, rgba(8, 24, 16, var(--pb-a3)) 100%); }
    .spotlight__btn { padding: 13px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .spotlight__btn, .spotlight__btn-arrow { transition: none; }
    .spotlight__btn:hover { transform: none; }
}

/* the admin preview hides empty parts with the hidden attribute; the rules above would otherwise show them */
.spotlight [hidden] { display: none !important; }
