* {
    box-sizing: border-box;
}

:root {
    --brand-primary: #082f75;
    --brand-accent: #164f9b;
    --ink: #111;
    --muted: #647087;
    --line: rgba(8, 47, 117, 0.24);
    --soft: #f2f6fb;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

/* =========================================================================
   CUSTOMER / RESPONSIVE DAILY WEBPAGE
   ========================================================================= */

.customer-specials-page {
    background: #eef3f9;
}

.customer-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 22px max(24px, calc((100vw - 1280px) / 2));
    background: #fff;
    border-bottom: 5px solid var(--brand-primary);
}

.customer-brand h1 {
    margin: 0;
    color: var(--brand-primary);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 0.9;
}

.customer-brand img {
    max-width: 520px;
    max-height: 100px;
    object-fit: contain;
}

.customer-brand p {
    margin: 9px 0 0;
    color: var(--brand-primary);
    font-weight: 900;
    letter-spacing: 0.2em;
}

.customer-contact {
    display: grid;
    gap: 7px;
    text-align: right;
}

.customer-contact a {
    color: var(--brand-primary);
    font-weight: 800;
    text-decoration: none;
}

.customer-shell {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 34px 24px 70px;
}

.customer-introduction {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.page-eyebrow {
    margin: 0 0 7px;
    color: var(--brand-primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.customer-introduction h2 {
    margin: 0;
    font-size: clamp(2.3rem, 7vw, 4.8rem);
    line-height: 0.95;
}

.date-line {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 700;
}

.customer-actions a {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.schedule-explanation {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 5px solid var(--brand-primary);
    background: #fff;
    color: #3b485f;
    line-height: 1.45;
}

.web-special-group {
    margin-bottom: 26px;
    overflow: hidden;
    border: 1px solid #d4deeb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(8, 47, 117, 0.07);
}

.web-special-group > h2 {
    margin: 0;
    padding: 11px 20px;
    background: linear-gradient(
        90deg,
        #061f50,
        var(--brand-primary),
        #061f50
    );
    color: #fff;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.web-special-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.web-special-card {
    min-width: 0;
    padding: 20px;
}

.web-special-card + .web-special-card {
    border-left: 1px solid var(--line);
}

.web-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.schedule-badge {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.schedule-badge.active {
    background: #e4f5ea;
    color: #16703a;
}

.schedule-badge.later {
    background: #e7effa;
    color: var(--brand-primary);
}

.schedule-badge.ended {
    background: #edf0f4;
    color: #697386;
}

.schedule-time {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.web-special-card h3 {
    margin: 0 0 9px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.web-special-card p {
    margin: 5px 0;
    line-height: 1.42;
}

.availability-note {
    color: var(--brand-primary);
    font-weight: 900;
}

.web-price-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 900;
}

.sold-out {
    display: inline-flex;
    margin-top: 14px;
    padding: 6px 10px;
    background: #a62620;
    color: #fff;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.customer-empty-state {
    padding: 60px 24px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.customer-footer {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 18px;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 800;
}

/* =========================================================================
   DYNAMIC TV DISPLAY
   ========================================================================= */

.dynamic-tv-page {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    background: #000;
}

.dynamic-tv-board {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    width: 100vw;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
    overflow: visible;
    border: 5px solid var(--brand-primary);
    background: #fff;
    transform-origin: top left;
    will-change: transform;
}

.tv-header {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 1fr;
    align-items: center;
    gap: 26px;
    padding: 18px 30px 14px;
}

.tv-brand h1 {
    margin: 0;
    color: var(--brand-primary);
    font-size: clamp(3rem, 5.3vw, 6.1rem);
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 0.88;
}

.tv-brand img {
    max-width: 100%;
    max-height: 95px;
    object-fit: contain;
}

.tv-brand p {
    margin: 8px 0 0;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--brand-primary);
    color: #fff;
    font-size: clamp(1rem, 1.45vw, 1.55rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    text-align: center;
}

.tv-contact {
    display: grid;
    gap: 10px;
    font-size: clamp(1rem, 1.35vw, 1.45rem);
    font-weight: 700;
    line-height: 1.25;
}

.tv-contact strong {
    color: var(--brand-primary);
    font-size: 1.35em;
}

.tv-hours {
    padding-left: 28px;
    border-left: 2px solid var(--brand-primary);
}

.tv-hours h2 {
    margin: 0 0 8px;
    color: var(--brand-primary);
    font-size: clamp(1.4rem, 2vw, 2.15rem);
}

.tv-hours p {
    margin: 4px 0;
    font-size: clamp(0.9rem, 1.1vw, 1.15rem);
    font-weight: 800;
}

.tv-content {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 2.15fr) minmax(330px, 1fr);
    gap: 14px;
    padding: 0 15px 10px;
}

.dynamic-tv-board.main-only .tv-content {
    grid-template-columns: 1fr;
}

.tv-main-groups {
    display: grid;
    min-height: 0;
    gap: 8px;
}

.tv-main-groups.group-count-1,
.tv-main-groups.group-count-2,
.tv-main-groups.group-count-3 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--group-count), minmax(0, 1fr));
}

.tv-main-groups.group-count-4,
.tv-main-groups.group-count-5,
.tv-main-groups.group-count-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
}

.tv-main-groups.group-count-7,
.tv-main-groups.group-count-8,
.tv-main-groups.group-count-9 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
}

.tv-group {
    display: grid;
    min-width: 0;
    min-height: 0;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--brand-primary);
    background: #fff;
}

.tv-group > h2,
.tv-right-module > h2 {
    margin: 0;
    padding: 8px 12px;
    background: linear-gradient(
        90deg,
        #061f50,
        var(--brand-primary),
        #061f50
    );
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 2.35rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
}

.tv-group-items {
    display: grid;
    min-height: 0;
}

.tv-group-items.item-count-1 {
    grid-template-columns: 1fr;
}

.tv-group-items.item-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tv-group-items.item-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv-item {
    min-width: 0;
    padding: 14px 22px 11px;
    overflow: hidden;
}

.tv-item + .tv-item {
    border-left: 1px solid var(--line);
}

.tv-item h3,
.tv-right-item h3 {
    margin: 0 0 7px;
    font-size: clamp(1.15rem, 1.55vw, 1.75rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.tv-item p,
.tv-right-item p {
    margin: 3px 0;
    font-size: clamp(0.9rem, 1.06vw, 1.14rem);
    font-weight: 600;
    line-height: 1.25;
}

.tv-availability {
    color: var(--brand-primary);
    font-weight: 900 !important;
}

.tv-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin-top: 8px;
    color: var(--brand-primary);
    font-size: clamp(1.15rem, 1.5vw, 1.72rem);
    font-weight: 900;
}

.tv-sold-out {
    display: inline-flex;
    margin-top: 9px;
    padding: 5px 9px;
    background: #a62620;
    color: #fff;
    font-weight: 900;
}

.tv-right-modules {
    display: grid;
    min-height: 0;
    gap: 9px;
}

.tv-right-modules.has-soup.has-drinks {
    grid-template-rows: minmax(170px, 0.8fr) minmax(0, 2.2fr);
}

.tv-right-modules.has-soup:not(.has-drinks),
.tv-right-modules.has-drinks:not(.has-soup) {
    grid-template-rows: 1fr;
}

.tv-right-module {
    min-height: 0;
    overflow: hidden;
    border: 2px solid var(--brand-primary);
    border-radius: 11px;
    background: #fff;
}

.tv-right-item {
    min-height: 0;
    padding: 13px 18px;
    text-align: center;
}

.tv-right-item + .tv-right-item {
    border-top: 3px dotted var(--brand-primary);
}

.soup-item {
    display: grid;
    place-items: center;
}

.drink-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.drink-item .tv-prices {
    justify-content: flex-end;
    margin: 0;
    white-space: nowrap;
}

.tv-footer {
    display: grid;
    grid-template-rows: auto auto;
    color: #fff;
    text-align: center;
}

.tv-message {
    margin: 0 15px;
    padding: 9px 20px;
    border-radius: 8px;
    background: linear-gradient(
        90deg,
        #061f50,
        var(--brand-primary),
        #061f50
    );
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.1rem, 1.75vw, 2rem);
    font-style: italic;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.tv-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 9px 18px;
    background: var(--brand-primary);
    font-size: clamp(0.85rem, 1.05vw, 1.15rem);
    font-weight: 800;
}

.tv-no-specials {
    display: grid;
    min-height: 500px;
    place-content: center;
    padding: 40px;
    text-align: center;
}

@media (max-width: 900px) {
    .customer-header {
        grid-template-columns: 1fr;
    }

    .customer-contact {
        text-align: left;
    }

    .web-special-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .customer-header {
        padding: 20px;
    }

    .customer-shell {
        padding: 26px 14px 50px;
    }

    .customer-introduction {
        align-items: flex-start;
        flex-direction: column;
    }

    .web-card-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-footer {
        align-items: center;
        flex-direction: column;
        gap: 5px;
    }
}


/* Brisam's approved combined wordmark + Grill • Bar • Patio logo */
.customer-brand img {
    display: block;
    width: min(540px, 100%);
    height: auto;
    max-height: 132px;
    object-fit: contain;
    object-position: left center;
}
