/* ==========================================================================
   Schedule Area (home opening hours) — live DB hours, ink + gold/orange.
   Self-contained .sched-* namespace so it never touches .schedule-sec* rules.
   ========================================================================== */
.sched-area {
    --sched-ink: #14110d;
    --sched-ink-2: #1f1b15;
    --sched-gold: var(--theme-color, #FA8507);
    --sched-line: rgba(255, 255, 255, .10);
    --sched-muted: rgba(255, 255, 255, .58);
}

.sched-shell {
    position: relative;
}

.sched-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: stretch;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
    background: var(--sched-ink);
}

/* ---- Hero image panel (full-bleed photo + overlay) ---- */
.sched-hero {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
    background-color: var(--sched-ink);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .sched-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10, 8, 6, .35) 0%, rgba(10, 8, 6, .55) 42%, rgba(10, 8, 6, .92) 100%);
        z-index: 1;
    }

.sched-hero-badge {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

    .sched-hero-badge.is-open { color: #7dfaa5; background: rgba(56, 211, 107, .18); }
    .sched-hero-badge.is-open .sched-dot { background: #38d36b; animation: schedPulse 1.8s ease-in-out infinite; }
    .sched-hero-badge.is-closed { color: #ffb0b0; background: rgba(255, 90, 90, .2); }
    .sched-hero-badge.is-closed .sched-dot { background: #ff7a7a; }

.sched-hero-body {
    position: relative;
    z-index: 2;
}

.sched-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sched-gold);
    margin-bottom: 10px;
}

    .sched-hero-eyebrow i { font-size: 15px; }

.sched-hero-title {
    color: #fff;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 12px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.sched-hero-note {
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    max-width: 440px;
}

/* ---- Hours card ---- */
.sched-card {
    position: relative;
    padding: 44px 44px 40px;
    background: linear-gradient(180deg, var(--sched-ink-2) 0%, var(--sched-ink) 100%);
    border-left: 1px solid var(--sched-line);
}

    .sched-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg, var(--sched-gold), transparent 70%);
    }

.sched-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--sched-line);
}

.sched-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    margin: 0;
}

    .sched-title i { color: var(--sched-gold); font-size: 19px; }

.sched-today-chip {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--sched-gold);
    background: rgba(250, 133, 7, .12);
    border: 1px solid rgba(250, 133, 7, .35);
    padding: 5px 12px;
    border-radius: 999px;
}

.sched-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .02em;
}

    .sched-status .sched-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
    }

    .sched-status.is-open {
        color: #38d36b;
        background: rgba(56, 211, 107, .12);
    }

        .sched-status.is-open .sched-dot {
            background: #38d36b;
            animation: schedPulse 1.8s ease-in-out infinite;
        }

    .sched-status.is-closed {
        color: #ff7a7a;
        background: rgba(255, 122, 122, .12);
    }

        .sched-status.is-closed .sched-dot {
            background: #ff7a7a;
        }

@keyframes schedPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 211, 107, .5); }
    50% { box-shadow: 0 0 0 7px rgba(56, 211, 107, 0); }
}

/* ---- 7-day list ---- */
.sched-days {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.sched-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease;
}

    .sched-day + .sched-day {
        border-top: 1px solid var(--sched-line);
    }

    .sched-day.is-today {
        background: linear-gradient(90deg, rgba(250, 133, 7, .16), rgba(250, 133, 7, .04));
        border-color: rgba(250, 133, 7, .45);
        border-top-color: rgba(250, 133, 7, .45);
    }

    .sched-day.is-off .sched-range {
        color: #ff7a7a;
    }

.sched-dayname {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.sched-day.is-off .sched-dayname {
    color: var(--sched-muted);
}

.sched-todaytag {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sched-ink);
    background: var(--sched-gold);
    padding: 3px 8px;
    border-radius: 999px;
}

.sched-dayval {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 3px;
}

.sched-range {
    font-size: 15.5px;
    font-weight: 700;
    color: #f4e9d8;
    white-space: nowrap;
}

.sched-note {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sched-gold);
}

/* ---- CTA ---- */
.sched-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--sched-line);
}

.sched-cta-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--sched-muted);
}

    .sched-cta-label i {
        color: var(--sched-gold);
    }

.sched-phone {
    flex-shrink: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .sched-grid {
        grid-template-columns: 1fr;
    }

    .sched-hero {
        padding: 34px;
        min-height: 340px;
    }

    .sched-card {
        border-left: 0;
        border-top: 1px solid var(--sched-line);
    }
}

@media (max-width: 767px) {
    .sched-grid {
        border-radius: 20px;
    }

    .sched-card {
        padding: 30px 22px 28px;
    }

    .sched-hero {
        padding: 28px 22px;
        min-height: 300px;
    }

    .sched-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .sched-day {
        padding: 12px 12px;
    }

    .sched-dayname {
        font-size: 15px;
    }

    .sched-range {
        font-size: 14.5px;
    }

    .sched-cta {
        justify-content: center;
        text-align: center;
    }

    .sched-phone {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .sched-card {
        padding: 26px 14px 24px;
    }

    .sched-day {
        gap: 10px;
    }

    .sched-hero-title {
        font-size: 27px;
    }
}
