/* Exact scoped component styles captured from the approved Yummy Specials staging reference. */

/* =========================================================
   YUMMY SPECIALS VIDEO HERO
   Fully isolated from Elementor and theme styles
========================================================= */

.ysh-hero,
.ysh-hero *,
.ysh-hero *::before,
.ysh-hero *::after {
    box-sizing: border-box;
}

.ysh-hero {
    --ysh-white: #ffffff;
    --ysh-cream: #fff8eb;
    --ysh-black: #090b09;
    --ysh-green: #258c47;
    --ysh-green-light: #52bd73;
    --ysh-orange: #ed7626;
    --ysh-orange-light: #ff9a43;
    --ysh-gold: #f3c84c;
    --ysh-muted: rgba(255, 255, 255, 0.75);

    position: relative;
    width: 100%;
    min-height: clamp(640px, 78vh, 880px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--ysh-white);
    background: var(--ysh-black);
    font-family: "Manrope", Arial, sans-serif;
    isolation: isolate;
}

.ysh-hero a {
    text-decoration: none;
}

.ysh-hero button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-family: inherit;
}

/* Background videos */

.ysh-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.ysh-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.045);
    transition:
        opacity 1.15s ease,
        transform 8s linear;
}

.ysh-video.is-active {
    opacity: 1;
    transform: scale(1);
}

.ysh-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 5, 0.9) 0%,
            rgba(5, 7, 5, 0.72) 36%,
            rgba(5, 7, 5, 0.35) 66%,
            rgba(5, 7, 5, 0.22) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 7, 5, 0.2) 0%,
            rgba(5, 7, 5, 0.06) 54%,
            rgba(5, 7, 5, 0.78) 100%
        );
}

.ysh-noise {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,0.38) 0.7px,
            transparent 0.9px
        );
    background-size: 34px 34px;
}

.ysh-glow {
    position: absolute;
    z-index: 3;
    display: block;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
}

.ysh-glow--orange {
    top: 12%;
    left: -140px;
    width: 360px;
    height: 360px;
    background: rgba(237, 118, 38, 0.19);
}

.ysh-glow--green {
    right: -150px;
    bottom: -110px;
    width: 410px;
    height: 410px;
    background: rgba(37, 140, 71, 0.18);
}

/* Layout */

.ysh-container {
    position: relative;
    z-index: 10;
    width: min(100% - 48px, 1440px);
    min-height: clamp(640px, 78vh, 880px);
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 88px 0 118px;
}

.ysh-content {
    width: min(100%, 820px);
}

/* Status */

.ysh-status {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 27px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: rgba(255,255,255,0.78);
    background: rgba(8, 11, 8, 0.34);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.ysh-status strong {
    color: var(--ysh-white);
    font-weight: 800;
}

.ysh-status__dot {
    position: relative;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ysh-green-light);
    box-shadow: 0 0 0 5px rgba(82, 189, 115, 0.12);
}

.ysh-status__dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(82, 189, 115, 0.4);
    border-radius: inherit;
    animation: yshStatusPulse 2.6s ease-out infinite;
}

/* Typography */

.ysh-eyebrow {
    margin: 0 0 17px;
    padding: 0;
    color: var(--ysh-gold);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ysh-content h1 {
    max-width: 820px;
    margin: 0;
    padding: 0;
    color: var(--ysh-white);
    font-size: clamp(52px, 6.4vw, 102px);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.065em;
    text-wrap: balance;
    overflow-wrap: normal;
}

.ysh-rotating-wrap {
    position: relative;
    display: inline-block;
    min-width: 4.8em;
    color: var(--ysh-orange-light);
    vertical-align: baseline;
}

.ysh-rotating {
    display: inline-block;
    color: var(--ysh-orange-light);
    text-shadow: 0 12px 38px rgba(237, 118, 38, 0.25);
}

.ysh-rotating.is-leaving {
    animation: yshWordOut 0.34s ease forwards;
}

.ysh-rotating.is-entering {
    animation: yshWordIn 0.48s ease forwards;
}

.ysh-description {
    max-width: 640px;
    margin: 28px 0 0;
    padding: 0;
    color: var(--ysh-muted);
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.7;
    font-weight: 600;
    text-wrap: pretty;
}

/* Buttons */

.ysh-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 37px;
}

.ysh-button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 22px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ysh-button svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.ysh-button--primary {
    min-width: 225px;
    color: var(--ysh-white);
    background:
        linear-gradient(
            135deg,
            var(--ysh-orange),
            var(--ysh-orange-light)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 18px 45px rgba(237, 118, 38, 0.24);
}

.ysh-button--primary:hover {
    color: var(--ysh-white);
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.28),
        0 23px 55px rgba(237, 118, 38, 0.34);
}

.ysh-button--primary:hover svg {
    transform: translateX(4px);
}

.ysh-button--secondary {
    min-width: 186px;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--ysh-white);
    background: rgba(9, 11, 9, 0.26);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}

.ysh-button--secondary:hover {
    color: var(--ysh-white);
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* Feature row */

.ysh-features {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 31px;
    margin-top: 44px;
}

.ysh-feature {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.ysh-feature__icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 12px;
    color: var(--ysh-gold);
    background: rgba(255,255,255,0.065);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ysh-feature__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysh-feature small,
.ysh-feature strong {
    display: block;
}

.ysh-feature small {
    margin-bottom: 2px;
    color: rgba(255,255,255,0.5);
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.ysh-feature strong {
    color: rgba(255,255,255,0.92);
    font-size: 10px;
    line-height: 1.35;
    font-weight: 800;
}

/* Slider controls */

.ysh-slider-controls {
    position: absolute;
    right: 0;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ysh-slider-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 13px;
    color: var(--ysh-white);
    background: rgba(8, 10, 8, 0.34) !important;
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.ysh-slider-button:hover {
    border-color: rgba(255,255,255,0.32) !important;
    background: rgba(255,255,255,0.11) !important;
    transform: translateY(-2px);
}

.ysh-slider-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ysh-progress {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ysh-progress__item {
    position: relative;
    width: 44px;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.19) !important;
    cursor: pointer;
}

.ysh-progress__item span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            var(--ysh-orange),
            var(--ysh-gold)
        );
    transform: scaleX(0);
    transform-origin: left center;
}

.ysh-progress__item.is-active span {
    animation: yshSlideProgress 7s linear forwards;
}

/* Scroll link */

.ysh-scroll {
    position: absolute;
    bottom: 47px;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.64);
    font-size: 9px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.ysh-scroll:hover {
    color: var(--ysh-white);
    transform: translateY(2px);
}

.ysh-scroll svg {
    width: 24px;
    height: 24px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: yshScrollBounce 2.1s ease-in-out infinite;
}

/* Animations */

@keyframes yshStatusPulse {
    0% {
        transform: scale(0.75);
        opacity: 0.75;
    }

    75%,
    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

@keyframes yshWordOut {
    from {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    to {
        opacity: 0;
        transform: translateY(-18px);
        filter: blur(5px);
    }
}

@keyframes yshWordIn {
    from {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes yshSlideProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes yshScrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* Tablet */

@media (max-width: 980px) {
    .ysh-hero,
    .ysh-container {
        min-height: 700px;
    }

    .ysh-container {
        width: min(100% - 36px, 900px);
        padding-top: 76px;
    }

    .ysh-content {
        width: min(100%, 720px);
    }

    .ysh-content h1 {
        font-size: clamp(50px, 9vw, 78px);
    }

    .ysh-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 7, 5, 0.88) 0%,
                rgba(5, 7, 5, 0.68) 62%,
                rgba(5, 7, 5, 0.38) 100%
            ),
            linear-gradient(
                180deg,
                rgba(5, 7, 5, 0.18),
                rgba(5, 7, 5, 0.73)
            );
    }
}

/* Mobile */

@media (max-width: 680px) {
    .ysh-hero,
    .ysh-container {
        min-height: 690px;
    }

    .ysh-container {
        width: min(100% - 26px, 640px);
        align-items: flex-start;
        padding: 67px 0 125px;
    }

    .ysh-video {
        object-position: 58% center;
    }

    .ysh-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 7, 5, 0.55) 0%,
                rgba(5, 7, 5, 0.55) 30%,
                rgba(5, 7, 5, 0.8) 75%,
                rgba(5, 7, 5, 0.92) 100%
            ),
            linear-gradient(
                90deg,
                rgba(5, 7, 5, 0.73),
                rgba(5, 7, 5, 0.2)
            );
    }

    .ysh-status {
        margin-bottom: 22px;
        padding: 8px 12px;
        font-size: 8px;
    }

    .ysh-eyebrow {
        margin-bottom: 14px;
        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .ysh-content h1 {
        max-width: 100%;
        font-size: clamp(44px, 13vw, 64px);
        line-height: 0.99;
        letter-spacing: -0.055em;
    }

    .ysh-rotating-wrap {
        display: block;
        min-width: 0;
        margin: 4px 0;
    }

    .ysh-description {
        margin-top: 23px;
        font-size: 14px;
        line-height: 1.65;
    }

    .ysh-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 29px;
    }

    .ysh-button {
        width: 100%;
        min-width: 0;
        min-height: 54px;
    }

    .ysh-features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 8px;
        margin-top: 31px;
    }

    .ysh-feature {
        min-width: 0;
        display: block;
    }

    .ysh-feature__icon {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }

    .ysh-feature small {
        font-size: 7px;
    }

    .ysh-feature strong {
        font-size: 9px;
        overflow-wrap: anywhere;
    }

    .ysh-slider-controls {
        right: 0;
        bottom: 28px;
    }

    .ysh-slider-button {
        display: none;
    }

    .ysh-progress__item {
        width: 37px;
    }

    .ysh-scroll {
        bottom: 27px;
    }

    .ysh-scroll span {
        display: none;
    }
}

/* Very small phones */

@media (max-width: 390px) {
    .ysh-hero,
    .ysh-container {
        min-height: 720px;
    }

    .ysh-content h1 {
        font-size: 42px;
    }

    .ysh-feature__icon {
        width: 32px;
        height: 32px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .ysh-hero *,
    .ysh-hero *::before,
    .ysh-hero *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


