/**
 * Public menu / online order landing (classic poster theme).
 */
html { scroll-behavior: smooth; }

body.hc-public-page {
    --app-bg: #efe3cb;
    --app-text: #4a2a1a;
    --app-text-muted: #6b452e;
    --app-accent: rgba(243, 221, 186, 0.92);
    --app-card-border: #d8c2a1;
    --app-btn: #6a1f1a;
    --app-btn-hover: #562018;
    --app-btn-text: #fff5eb;
    --hc-burgundy: #6a1f1a;
    --hc-burgundy-soft: #7a2c21;
    --hc-cream-panel: #f9edd8;
    --hc-cream-panel-end: #f4e4cb;
    --hc-price-pill: #e6b422;
    --hc-price-pill-text: #6a1f1a;
    --hc-ribbon-bg: #e9bc5a;
    --hc-ribbon-text: #6a1f1a;
    --hc-ribbon-strip: #6a1f1a;
    --hc-font-display: "Great Vibes", cursive;
    --hc-font-heading: "Cinzel", serif;
    --hc-font-ribbon: "Cinzel", Georgia, serif;
    --hc-font-menu: "Cormorant Garamond", "Cinzel", serif;
    --hc-font-body: "Inter", system-ui, sans-serif;
}

body.hc-public-page {
    font-family: var(--hc-font-body);
    background: var(--app-bg);
    color: var(--app-text);
    position: relative;
    min-height: 100vh;
}

#menu, #make-order, #feedback { scroll-margin-top: 1rem; }

body.hc-public-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(239, 227, 203, 0.80), rgba(239, 227, 203, 0.80)),
        url('../images/beer1.png') 4% 10% / 13% auto no-repeat,
        url('../images/beer2.png') 6% 50% / 13% auto no-repeat,
        url('../images/liquor.png') 7% 85% / 12% auto no-repeat,
        url('../images/brochette.png') 94% 14% / 13% auto no-repeat,
        url('../images/benz.png') 93% 55% / 13% auto no-repeat,
        url('../images/liquor.png') 92% 86% / 11% auto no-repeat;
    opacity: 0.48;
    pointer-events: none;
    z-index: 0;
}

.public-home-wrap {
    width: min(60%, 1200px);
    margin: 1rem auto;
    border: 1px solid var(--app-card-border);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--hc-cream-panel) 0%, var(--hc-cream-panel-end) 100%);
    box-shadow: var(--app-shadow);
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    background-color: #f4e4cb;
    background-image:
        linear-gradient(180deg, rgba(255, 248, 235, 0.84) 0%, rgba(244, 228, 203, 0.8) 100%),
        url('../images/husbandc.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid rgba(106, 31, 26, 0.32);
    border-radius: 14px;
    min-height: 11rem;
    padding: 1.5rem 1.25rem 1.35rem;
    margin-top: .85rem;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    font-family: var(--hc-font-heading);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6c3c22;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-bottom: .2rem;
}

.hero-side {
    font-family: var(--hc-font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #6c3c22;
    line-height: 1;
    flex: 0 0 auto;
}

.hero h1,
.hero h2 {
    font-family: var(--hc-font-display);
    letter-spacing: .02em;
    text-transform: none;
    color: var(--hc-burgundy);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    margin: 0;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(255, 248, 235, 0.85);
}

.hero-rule {
    width: min(320px, 70%);
    height: 2px;
    margin: .5rem auto .45rem;
    background: linear-gradient(to right, rgba(106, 31, 26, 0), rgba(106, 31, 26, 0.75), rgba(106, 31, 26, 0));
    border-radius: 999px;
}

.hero p {
    color: var(--hc-burgundy-soft) !important;
    max-width: 560px;
    margin: 0 auto;
    font-family: var(--hc-font-menu);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(255, 248, 235, 0.9);
}

.poster-controls {
    background: rgba(255, 248, 232, 0.88);
    border: 1px solid rgba(123, 35, 29, 0.28);
    border-radius: 10px;
    padding: .75rem .85rem;
}

#productGrid { row-gap: 0 !important; position: relative; }

@media (min-width: 992px) {
    #productGrid::before {
        content: "";
        position: absolute;
        top: .4rem;
        bottom: .4rem;
        left: 50%;
        width: 1px;
        transform: translateX(-0.5px);
        background: linear-gradient(
            to bottom,
            rgba(115, 73, 43, 0),
            rgba(115, 73, 43, 0.45) 12%,
            rgba(115, 73, 43, 0.45) 88%,
            rgba(115, 73, 43, 0)
        );
        pointer-events: none;
        z-index: 0;
    }
    #productGrid .menu-column {
        position: relative;
        z-index: 1;
    }
}

.menu-column { padding-top: .2rem; }

.menu-section {
    border: 1px solid rgba(123, 35, 29, 0.25);
    border-radius: 10px;
    background: rgba(255, 248, 232, 0.65);
    margin-bottom: 1.1rem;
    padding: .65rem .85rem .5rem;
}

.menu-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.menu-half { min-width: 0; }

.menu-section-title {
    font-family: var(--hc-font-display);
    font-size: 2.65rem;
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--hc-burgundy);
    margin: .05rem 0 .2rem;
}

.menu-section-heading--ribbon {
    width: 50%;
    max-width: 100%;
    margin: 0 auto 0.75rem;
    padding: 0;
    background: transparent;
}

.menu-section-ribbon {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0.62rem 2.85rem;
    background: var(--hc-ribbon-bg);
    color: var(--hc-ribbon-text);
    font-family: var(--hc-font-ribbon);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.2vw, 1.28rem);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    clip-path: polygon(
        14px 0,
        calc(100% - 14px) 0,
        100% 50%,
        calc(100% - 14px) 100%,
        14px 100%,
        0 50%
    );
}

.menu-section-divider {
    border: 0;
    border-top: 1px solid rgba(123, 35, 29, 0.3);
    margin: 0 0 .3rem;
}

.menu-item-row { padding: .55rem 0 .35rem; }

.product-desc {
    font-family: var(--hc-font-menu);
    font-size: 0.92rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.25;
    color: #8a5a3a;
    margin: 0.1rem 0 0.15rem;
    padding-left: 0.1rem;
}

.product-line {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .25rem;
}

.product-name {
    font-family: var(--hc-font-menu);
    letter-spacing: .04em;
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.15;
    text-transform: none;
    color: var(--hc-burgundy-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 54%;
}

.product-dots {
    flex: 1 1 auto;
    align-self: center;
    min-width: 1rem;
    border-bottom: 2px dotted rgba(115, 73, 43, 0.45);
}

.price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 3.25rem;
    padding: 0.22rem 0.9rem;
    background: var(--hc-price-pill);
    color: var(--hc-price-pill-text);
    border-radius: 999px;
    font-family: var(--hc-font-heading);
    letter-spacing: 0.03em;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(83, 54, 30, 0.18);
}

.menu-divider {
    border: 0;
    border-top: 1px dotted rgba(115, 73, 43, 0.45);
    margin: .65rem 0 .15rem;
}

.section-title {
    font-family: var(--hc-font-display);
    font-size: 2.35rem;
    line-height: 1;
    color: var(--hc-burgundy-soft);
    margin: 1.2rem 0 .7rem;
}

.order-box,
.contact-box {
    background: var(--hc-cream-panel);
    border: 1px solid var(--app-card-border);
    border-radius: 14px;
    padding: 1rem;
    color: var(--app-text);
}

.contact-item-title {
    font-family: var(--hc-font-heading);
    font-size: .8rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--hc-burgundy-soft);
    margin-bottom: .1rem;
}

.contact-item-value {
    font-weight: 600;
    color: #5c311d;
    margin-bottom: .55rem;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: .5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(123, 35, 29, 0.22);
}

.brand-logo {
    max-height: 74px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(141, 98, 68, 0.28);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .25rem .85rem;
}

.site-nav a {
    font-family: var(--hc-font-heading);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--hc-burgundy-soft);
    text-decoration: none;
    padding: .4rem .15rem;
    border-bottom: 1px solid transparent;
    transition: color .15s ease, border-color .15s ease;
}

.site-nav a:hover {
    color: var(--hc-burgundy);
    border-bottom-color: var(--hc-burgundy);
}

.site-nav-login {
    border: 1px solid #9a6b4a !important;
    border-radius: 6px !important;
    padding: .38rem .7rem !important;
    margin-left: .15rem;
}

.site-nav-login:hover {
    background: rgba(106, 31, 26, 0.08);
}

.hc-public-page .form-label,
.hc-public-page .small,
.hc-public-page .fw-semibold {
    color: var(--app-text-muted) !important;
}

.hc-public-page .table { color: #5b3927; }

#productSearchInput::placeholder { color: #5f4c31; }

#productCategoryTabs { border-bottom-color: rgba(124, 85, 57, 0.26); }

#productCategoryTabs .nav-link {
    color: #6f4228;
    border: 1px solid transparent;
    border-bottom: 0;
    font-family: var(--hc-font-menu);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: none;
    background: transparent;
}

#productCategoryTabs .nav-link.active {
    color: var(--hc-burgundy);
    background: var(--app-accent);
    border-color: #c9ac84;
}

#productSearchInput {
    font-family: var(--hc-font-menu);
    font-size: 1.05rem;
}

.hc-public-page .form-control,
.hc-public-page .form-select {
    background: #fff8eb;
    border-color: var(--app-card-border);
}

.hc-public-page .table-light,
.hc-public-page .table-light th {
    background: rgba(188, 153, 107, 0.18) !important;
    color: #5b3927 !important;
}

.hc-public-page .btn-primary {
    background: var(--app-btn);
    border-color: var(--app-btn);
    color: var(--app-btn-text);
    font-weight: 600;
}

.hc-public-page .btn-primary:hover {
    background: var(--app-btn-hover);
    border-color: var(--app-btn-hover);
    color: var(--app-btn-text);
}

@media (max-width: 991.98px) {
    .menu-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 1400px) {
    .public-home-wrap { width: min(75%, 1100px); }
}

@media (max-width: 992px) {
    .public-home-wrap { width: min(92%, 900px); }
}

@media (max-width: 640px) {
    .hero-side { display: none; }
    .hero-kicker { font-size: .82rem; }
    .hero { padding: 1rem .8rem; }
    .site-header { flex-wrap: wrap; }
    .site-nav { width: 100%; justify-content: center; gap: .4rem .6rem; }
    .site-nav-login { margin-left: 0; }
}
