/* Modern animated hero slider — height from admin: --hero-height (desktop), --hero-height-mobile */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: #1A1A2E;
    height: var(--hero-height, 560px);
    min-height: var(--hero-height, 560px);
}

.hero-carousel {
    height: 100%;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item,
.hero-slide {
    height: 100%;
    min-height: 0;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--hero-bg-desktop, none);
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.hero-slide-bg-cover,
.hero-slide-bg.hero-slide-bg-cover {
    background-size: cover;
}

.hero-slide-bg-contain,
.hero-slide-bg.hero-slide-bg-contain {
    background-size: contain;
}

.hero-slide-bg-image.hero-image-bg-left {
    background-position: center left;
}

.hero-slide-bg-image.hero-image-bg-right {
    background-position: center right;
}

.hero-slide-bg-image.hero-image-bg-center {
    background-position: center center;
}

.hero-slide-bg-image.hero-image-bg-full {
    background-position: center center;
    background-size: cover;
}

.hero-slide-bg.hero-ken-burns {
    animation: heroKenBurns 14s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay-gradient .hero-slide-overlay {
    background: linear-gradient(
        105deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.65%), transparent) 42%,
        transparent 72%
    );
}

.hero-overlay-solid .hero-slide-overlay {
    background: color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent);
}

.hero-overlay-gradient.hero-text-pos-center .hero-slide-overlay,
.hero-layout-center .hero-slide-overlay {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.85%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.45%), transparent) 100%
    );
}

/* Slide image is the background — keep overlay on text side only */
.hero-has-slide-image.hero-image-pos-right.hero-overlay-gradient .hero-slide-overlay {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.55%), transparent) 38%,
        transparent 52%
    );
}

.hero-has-slide-image.hero-image-pos-left.hero-overlay-gradient .hero-slide-overlay {
    background: linear-gradient(
        270deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.55%), transparent) 38%,
        transparent 52%
    );
}

.hero-has-slide-image.hero-overlay-solid .hero-slide-overlay {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.45%), transparent) 42%,
        transparent 55%
    );
}

.hero-has-slide-image.hero-image-pos-left.hero-overlay-solid .hero-slide-overlay {
    background: linear-gradient(
        270deg,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 1%), transparent) 0%,
        color-mix(in srgb, var(--hero-overlay-color) calc(var(--hero-overlay-opacity) * 0.45%), transparent) 42%,
        transparent 55%
    );
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    align-content: center;
    gap: 1.5rem 2rem;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    color: var(--hero-text-color, #fff);
    max-width: 560px;
    grid-row: 1;
    align-self: center;
    min-height: 0;
}

.hero-align-left,
.hero-text-pos-left .hero-content { text-align: left; justify-self: start; }
.hero-align-center,
.hero-text-pos-center .hero-content { text-align: center; justify-self: center; max-width: 720px; }
.hero-align-right,
.hero-text-pos-right .hero-content { text-align: right; justify-self: end; margin-left: auto; }

/* Text left + image right (default split) */
.hero-text-pos-left.hero-image-pos-right .hero-content { grid-column: 1 / span 6; }
.hero-text-pos-left.hero-image-pos-right .hero-media { grid-column: 7 / -1; justify-self: end; }

/* Text right + image left */
.hero-text-pos-right.hero-image-pos-left .hero-content { grid-column: 7 / -1; }
.hero-text-pos-right.hero-image-pos-left .hero-media { grid-column: 1 / span 6; justify-self: start; }

/* Centered stack */
.hero-text-pos-center.hero-image-pos-center .hero-slide-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-text-pos-center.hero-image-pos-center .hero-content,
.hero-text-pos-center.hero-image-pos-center .hero-media {
    grid-column: auto;
    width: 100%;
    max-width: 720px;
}

/* Same-side stacks */
.hero-text-pos-left.hero-image-pos-left .hero-content,
.hero-text-pos-left.hero-image-pos-left .hero-media {
    grid-column: 1 / span 6;
}
.hero-text-pos-left.hero-image-pos-left .hero-media { grid-row: 2; align-self: end; }

.hero-text-pos-right.hero-image-pos-right .hero-content,
.hero-text-pos-right.hero-image-pos-right .hero-media {
    grid-column: 7 / -1;
}
.hero-text-pos-right.hero-image-pos-right .hero-media { grid-row: 2; align-self: end; justify-self: end; }

/* Text center with side image */
.hero-text-pos-center.hero-image-pos-left .hero-content { grid-column: 1 / -1; }
.hero-text-pos-center.hero-image-pos-left .hero-media { grid-column: 1 / span 5; grid-row: 2; }
.hero-text-pos-center.hero-image-pos-right .hero-content { grid-column: 1 / -1; }
.hero-text-pos-center.hero-image-pos-right .hero-media { grid-column: 8 / -1; grid-row: 2; justify-self: end; }

/* Text on one side, image centered below */
.hero-text-pos-left.hero-image-pos-center .hero-content { grid-column: 1 / span 6; }
.hero-text-pos-left.hero-image-pos-center .hero-media { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
.hero-text-pos-right.hero-image-pos-center .hero-content { grid-column: 7 / -1; }
.hero-text-pos-right.hero-image-pos-center .hero-media { grid-column: 1 / -1; grid-row: 2; justify-self: center; }

/* Text only / image as background */
.hero-image-pos-none .hero-content,
.hero-image-pos-background .hero-content {
    grid-column: 1 / -1;
}
.hero-text-pos-left.hero-image-pos-none .hero-content,
.hero-text-pos-left.hero-image-pos-background .hero-content { justify-self: start; max-width: 640px; }
.hero-text-pos-center.hero-image-pos-none .hero-content,
.hero-text-pos-center.hero-image-pos-background .hero-content { justify-self: center; }
.hero-text-pos-right.hero-image-pos-none .hero-content,
.hero-text-pos-right.hero-image-pos-background .hero-content { justify-self: end; }

.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: color-mix(in srgb, var(--hero-btn-color) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--hero-btn-color) 45%, transparent);
    color: var(--hero-text-color, #fff);
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(2rem, 4.8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.55;
    opacity: 0.92;
    margin-bottom: 1.75rem;
    max-width: 34rem;
}

.hero-align-center .hero-subtitle { margin-inline: auto; }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.95rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-hero-solid {
    background: var(--hero-btn-color, var(--primary, #C9A962));
    color: #fff;
    box-shadow: 0 12px 32px color-mix(in srgb, var(--hero-btn-color) 35%, transparent);
}

.btn-hero-solid:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--hero-btn-color) 45%, transparent);
}

.btn-hero-outline {
    background: transparent;
    color: var(--hero-text-color, #fff);
    border: 2px solid color-mix(in srgb, var(--hero-text-color) 70%, transparent);
}

.btn-hero-outline:hover {
    color: var(--hero-text-color, #fff);
    background: color-mix(in srgb, #fff 12%, transparent);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    background: color-mix(in srgb, #fff 14%, transparent);
    color: var(--hero-text-color, #fff);
    border: 1px solid color-mix(in srgb, #fff 25%, transparent);
    backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
    color: #fff;
    background: color-mix(in srgb, #fff 22%, transparent);
    transform: translateY(-2px);
}

.btn-hero .hero-btn-icon {
    transition: transform 0.25s ease;
}

.btn-hero:hover .hero-btn-icon {
    transform: translateX(4px);
}

.hero-category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.15rem;
}

.hero-category-links .btn-hero {
    margin-top: 0;
}

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    pointer-events: none;
    grid-row: 1;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero-figure {
    display: block;
    max-height: calc(var(--hero-height, 560px) - 5rem);
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.28));
}

.hero-text-pos-center.hero-image-pos-center .hero-media {
    max-width: min(420px, 70vw);
    margin-top: 0.5rem;
}

/* Carousel chrome */
.hero-indicators {
    margin-bottom: 1.25rem;
    gap: 0.35rem;
}

.hero-indicators [data-bs-target] {
    width: 2.4rem;
    height: 0.22rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-indicators .active {
    width: 3.2rem;
    background: var(--primary, #C9A962);
}

.hero-control {
    width: 3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-carousel:hover .hero-control {
    opacity: 1;
}

.hero-control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.95rem;
}

.hero-carousel.carousel-fade .carousel-item {
    transition: opacity 0.85s ease-in-out;
}

/* Text animations — triggered by .hero-animate-ready on active slide */
.hero-animate-ready .hero-anim-item,
.hero-animate-ready .hero-anim-figure {
    opacity: 1;
}

.hero-text-stagger.hero-animate-ready .hero-badge { animation: heroFadeUp 0.7s ease 0.1s both; }
.hero-text-stagger.hero-animate-ready .hero-title { animation: heroFadeUp 0.75s ease 0.25s both; }
.hero-text-stagger.hero-animate-ready .hero-subtitle { animation: heroFadeUp 0.75s ease 0.42s both; }
.hero-text-stagger.hero-animate-ready .btn-hero { animation: heroFadeUp 0.75s ease 0.58s both; }
.hero-text-stagger.hero-animate-ready .hero-category-links { animation: heroFadeUp 0.75s ease 0.58s both; }

.hero-text-fade_up.hero-animate-ready .hero-anim-item { animation: heroFadeUp 0.85s ease 0.15s both; }
.hero-text-fade_in.hero-animate-ready .hero-anim-item { animation: heroFadeIn 0.9s ease 0.1s both; }
.hero-text-slide_left.hero-animate-ready .hero-anim-item { animation: heroSlideLeft 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.hero-text-blur_in.hero-animate-ready .hero-anim-item { animation: heroBlurIn 0.9s ease 0.12s both; }

.hero-image-slide_in.hero-animate-ready .hero-anim-figure { animation: heroImageSlideIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.hero-image-float.hero-animate-ready .hero-anim-figure { animation: heroImageFloat 1s ease 0.3s both, heroFloatLoop 5s ease-in-out 1.3s infinite; }
.hero-image-zoom_in.hero-animate-ready .hero-anim-figure { animation: heroImageZoomIn 1s ease 0.25s both; }
.hero-image-ken_burns.hero-animate-ready .hero-anim-figure { animation: heroImageZoomIn 1.1s ease 0.2s both; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroSlideLeft {
    from { opacity: 0; transform: translateX(-36px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroBlurIn {
    from { opacity: 0; filter: blur(8px); transform: scale(0.98); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes heroImageSlideIn {
    from { opacity: 0; transform: translateX(48px) scale(0.94); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes heroImageZoomIn {
    from { opacity: 0; transform: scale(0.88); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes heroImageFloat {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloatLoop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 991.98px) {
    .hero-slider-section {
        height: var(--hero-height-mobile, var(--hero-height, 420px));
        min-height: var(--hero-height-mobile, var(--hero-height, 420px));
        max-height: var(--hero-height-mobile, var(--hero-height, 420px));
    }

    .hero-slide-bg {
        background-image: var(--hero-bg-mobile, var(--hero-bg-desktop, none));
    }

    /* Keep slide image visible; soften only behind text area */
    .hero-has-slide-image .hero-slide-bg {
        opacity: 1;
        filter: none;
        transform: scale(1.02);
        background-size: cover !important;
        background-position: center center !important;
    }

    .hero-has-slide-image .hero-slide-bg.hero-ken-burns {
        animation: none;
        transform: scale(1.04);
    }

    /* Light scrim — keeps image visible while supporting centered text */
    .hero-has-slide-image .hero-slide::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--hero-overlay-color, #1A1A2E) 12%, transparent) 0%,
            transparent 30%,
            transparent 55%,
            color-mix(in srgb, var(--hero-overlay-color, #1A1A2E) 22%, transparent) 100%
        );
    }

    .hero-has-slide-image .hero-slide-overlay {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, var(--hero-overlay-color, #1A1A2E) calc(var(--hero-overlay-opacity, 55) * 0.25%), transparent) 0%,
            transparent 35%,
            transparent 60%,
            color-mix(in srgb, var(--hero-overlay-color, #1A1A2E) calc(var(--hero-overlay-opacity, 55) * 0.5%), transparent) 100%
        ) !important;
        opacity: 1 !important;
    }

    .hero-slide-inner {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        text-align: center;
        padding: 0.5rem 0.5rem 2.5rem;
        z-index: 2;
        height: 100%;
        min-height: 100%;
        overflow: visible;
    }

    .hero-slide {
        overflow: visible;
    }

    .hero-content,
    .hero-media {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        max-width: 100%;
    }

    .hero-slide.hero-m-text-pos-left .hero-content,
    .hero-slide.hero-m-text-pos-left .hero-category-links {
        text-align: left !important;
        justify-self: start !important;
        align-items: flex-start !important;
    }

    .hero-slide.hero-m-text-pos-left .hero-category-links {
        justify-content: flex-start;
    }

    .hero-slide.hero-m-text-pos-left .hero-badge,
    .hero-slide.hero-m-text-pos-left .hero-title,
    .hero-slide.hero-m-text-pos-left .hero-subtitle {
        margin-left: 0;
        margin-right: auto;
    }

    .hero-slide.hero-m-text-pos-center .hero-content,
    .hero-slide.hero-m-text-pos-center .hero-category-links {
        text-align: center !important;
        justify-self: center !important;
        align-items: center !important;
    }

    .hero-slide.hero-m-text-pos-center .hero-category-links {
        justify-content: center;
    }

    .hero-slide.hero-m-text-pos-center .hero-badge,
    .hero-slide.hero-m-text-pos-center .hero-title,
    .hero-slide.hero-m-text-pos-center .hero-subtitle {
        margin-inline: auto;
    }

    .hero-slide.hero-m-text-pos-right .hero-content,
    .hero-slide.hero-m-text-pos-right .hero-category-links {
        text-align: right !important;
        justify-self: end !important;
        align-items: flex-end !important;
    }

    .hero-slide.hero-m-text-pos-right .hero-category-links {
        justify-content: flex-end;
    }

    .hero-slide.hero-m-text-pos-right .hero-badge,
    .hero-slide.hero-m-text-pos-right .hero-title,
    .hero-slide.hero-m-text-pos-right .hero-subtitle {
        margin-left: auto;
        margin-right: 0;
    }

    .hero-slide.hero-m-image-pos-background .hero-slide-bg,
    .hero-has-slide-image.hero-m-image-pos-background .hero-slide-bg {
        background-size: cover !important;
        background-position: center center !important;
        opacity: 1 !important;
    }

    .hero-slide.hero-m-image-pos-left .hero-slide-bg {
        background-position: left center !important;
        background-size: cover !important;
    }

    .hero-slide.hero-m-image-pos-center .hero-slide-bg {
        background-position: center center !important;
        background-size: contain !important;
    }

    .hero-slide.hero-m-image-pos-right .hero-slide-bg {
        background-position: right center !important;
        background-size: cover !important;
    }

    .hero-slide.hero-m-image-pos-none .hero-slide-bg {
        background-image: none !important;
    }

    /* Text backgrounds hug each line/element — no full-width panel */
    .hero-content {
        order: 1;
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        overflow: visible;
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        color: var(--hero-text-color, #fff);
    }

    .hero-badge,
    .hero-title,
    .hero-subtitle {
        display: block;
        width: fit-content;
        max-width: 100%;
        background: color-mix(
            in srgb,
            var(--hero-mobile-text-bg-color, var(--hero-overlay-color, #1A1A2E))
            calc(var(--hero-mobile-text-bg-opacity, 32) * 1%),
            transparent
        );
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid color-mix(in srgb, var(--hero-text-color, #fff) 14%, transparent);
        box-shadow: 0 1px 6px color-mix(
            in srgb,
            var(--hero-mobile-text-bg-color, var(--hero-overlay-color, #1A1A2E))
            calc(var(--hero-mobile-text-bg-opacity, 32) * 0.7%),
            transparent
        );
    }

    .hero-title {
        font-size: clamp(1.1rem, 4.2vw, 1.45rem);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 0.32rem;
        padding: 0.2rem 0.48rem;
        border-radius: 6px;
        color: var(--hero-text-color, #fff);
        text-shadow: none;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        line-height: 1.45;
        opacity: 0.92;
        margin-bottom: 0.5rem;
        padding: 0.16rem 0.44rem;
        border-radius: 6px;
        color: var(--hero-text-color, #fff);
        text-shadow: none;
    }

    .hero-badge {
        margin-bottom: 0.38rem;
        padding: 0.2rem 0.5rem;
        border-radius: 999px;
        font-size: 0.58rem;
        letter-spacing: 0.1em;
        color: var(--hero-text-color, #fff);
    }

    .hero-mobile-no-text-bg .hero-badge,
    .hero-mobile-no-text-bg .hero-title,
    .hero-mobile-no-text-bg .hero-subtitle {
        background: none;
        border-color: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .btn-hero {
        width: auto;
        max-width: 100%;
        justify-content: center;
        padding: 0.48rem 0.82rem;
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        gap: 0.25rem;
    }

    .btn-hero .hero-btn-icon {
        font-size: 0.58rem;
    }

    .hero-indicators {
        margin-bottom: 0.45rem;
        gap: 0.2rem;
    }

    .hero-indicators [data-bs-target] {
        width: 1.15rem;
        height: 0.12rem;
    }

    .hero-indicators .active {
        width: 1.55rem;
    }

    .hero-control {
        width: 2.1rem;
        opacity: 1;
    }

    .hero-control-icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.72rem;
    }

    .btn-hero-solid {
        background: var(--hero-btn-color, var(--primary, #C9A962));
        color: #fff;
        border: 1px solid color-mix(in srgb, var(--hero-btn-color, var(--primary, #C9A962)) 80%, #fff);
        box-shadow: 0 4px 14px color-mix(in srgb, var(--hero-btn-color, var(--primary, #C9A962)) 35%, transparent);
    }

    .btn-hero-outline {
        color: var(--hero-text-color, #fff);
        border: 1px solid color-mix(in srgb, var(--hero-text-color, #fff) 70%, transparent);
        background: transparent;
    }

    .btn-hero-ghost {
        color: var(--hero-text-color, #fff);
        border: 1px solid color-mix(in srgb, var(--hero-text-color, #fff) 25%, transparent);
        background: color-mix(in srgb, var(--hero-text-color, #fff) 14%, transparent);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    /* Buttons: no entrance animation on mobile — stay visible on every slide (no JS required) */
    .hero-mobile-btn-static .hero-text-stagger .hero-category-links,
    .hero-mobile-btn-static .hero-text-stagger .btn-hero,
    .hero-mobile-btn-static .hero-text-stagger.hero-animate-ready .hero-category-links,
    .hero-mobile-btn-static .hero-text-stagger.hero-animate-ready .btn-hero,
    .hero-mobile-btn-static .hero-text-fade_up .hero-category-links,
    .hero-mobile-btn-static .hero-text-fade_up .btn-hero,
    .hero-mobile-btn-static .hero-text-fade_up.hero-animate-ready .hero-category-links,
    .hero-mobile-btn-static .hero-text-fade_up.hero-animate-ready .btn-hero,
    .hero-mobile-btn-static .hero-text-fade_in .hero-category-links,
    .hero-mobile-btn-static .hero-text-fade_in .btn-hero,
    .hero-mobile-btn-static .hero-text-fade_in.hero-animate-ready .hero-category-links,
    .hero-mobile-btn-static .hero-text-fade_in.hero-animate-ready .btn-hero,
    .hero-mobile-btn-static .hero-text-slide_left .hero-category-links,
    .hero-mobile-btn-static .hero-text-slide_left .btn-hero,
    .hero-mobile-btn-static .hero-text-slide_left.hero-animate-ready .hero-category-links,
    .hero-mobile-btn-static .hero-text-slide_left.hero-animate-ready .btn-hero,
    .hero-mobile-btn-static .hero-text-blur_in .hero-category-links,
    .hero-mobile-btn-static .hero-text-blur_in .btn-hero,
    .hero-mobile-btn-static .hero-text-blur_in.hero-animate-ready .hero-category-links,
    .hero-mobile-btn-static .hero-text-blur_in.hero-animate-ready .btn-hero,
    .hero-mobile-btn-static .carousel-item .hero-category-links,
    .hero-mobile-btn-static .carousel-item .btn-hero,
    .hero-mobile-btn-static .hero-mobile-static-buttons .hero-category-links,
    .hero-mobile-btn-static .hero-mobile-static-buttons .btn-hero,
    .hero-slider-section .hero-category-links,
    .hero-slider-section .hero-category-links .btn-hero,
    .hero-slider-section .btn-hero {
        animation: none !important;
        -webkit-animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        visibility: visible !important;
    }

    .hero-slider-section .hero-category-links {
        flex-shrink: 0;
        position: relative;
        z-index: 4;
    }

    .hero-slider-section .btn-hero-shop-all {
        display: inline-flex !important;
        flex-basis: auto;
        order: 10;
    }

    .hero-subtitle { margin-inline: auto; }

    .hero-media {
        max-width: min(200px, 52vw);
        order: 2;
        opacity: 0.9;
        filter: none;
    }

    .hero-figure {
        max-height: calc(var(--hero-height-mobile, var(--hero-height, 420px)) - 9rem);
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
    }
}

@media (max-width: 575.98px) {
    .hero-slide-inner {
        padding: 0.45rem 0.4rem;
    }

    .hero-title {
        font-size: 1.05rem;
    }

    .hero-subtitle {
        font-size: 0.68rem;
        margin-bottom: 0.42rem;
    }

    .hero-badge {
        font-size: 0.54rem;
        padding: 0.18rem 0.44rem;
    }

    .btn-hero {
        padding: 0.44rem 0.72rem;
        font-size: 0.58rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-bg.hero-ken-burns,
    .hero-anim-item,
    .hero-anim-figure,
    .hero-image-float.hero-animate-ready .hero-anim-figure {
        animation: none !important;
    }

    .hero-animate-ready .hero-anim-item,
    .hero-animate-ready .hero-anim-figure {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
