/* Edel-Lounge – public site (Bootstrap 5.3 theme layer) */
:root {
  --brand: #dd3744;
  --brand-dark: #b8212e;
  --gold: #fac122;
  --ink: #1d1b1a;
  --night: #161516;
  --night-2: #221f20;
  --cream: #f7f2ea;
  --muted: #6b6763;
  --radius: 14px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 221, 55, 68;
  --bs-link-hover-color: var(--brand-dark);
  --bs-link-hover-color-rgb: 184, 33, 46;
  --bs-border-radius: .6rem;
  --bs-heading-color: inherit;
  --bs-focus-ring-color: rgba(221, 55, 68, .3);
}

body { font-family: var(--font-body); font-size: 1.05rem; background: #fff; padding-top: 76px; }
h1, h2, h3, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
a { text-underline-offset: .2em; }
.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.text-brand { color: var(--brand) !important; }
.bg-gold { background: var(--gold) !important; }
.link-gold { color: var(--gold); }
.link-gold:hover { color: #ffd65c; }
.narrow { max-width: 760px; margin-inline: auto; }
.min-vh-50 { min-height: 50vh; }

/* buttons */
.btn { font-weight: 600; border-radius: 999px; padding-inline: 1.2rem; }
.btn-sm { padding-inline: .9rem; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-border-color: var(--brand-dark); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand); }
.btn-outline-brand { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand-dark); --bs-btn-active-color: #fff; }
.btn-ghost { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.55); --bs-btn-hover-color: var(--night); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; }
/* legacy alias kept for content written in the old back-office */
.btn-danger { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1030; background: rgba(22,21,22,.92); backdrop-filter: blur(10px); transition: box-shadow .2s, background .2s; }
.site-header.scrolled { background: var(--night); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.site-header .navbar { min-height: 76px; }
.site-header .navbar-brand img { height: 46px; width: auto; }
.site-header .nav-link { color: rgba(255,255,255,.82); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; padding: .5rem .8rem !important; border-radius: 999px; }
.site-header .nav-link:hover { color: #fff; }
.site-header .nav-link.active { color: var(--night); background: var(--gold); }
.btn-cart, .btn-account { white-space: nowrap; display: inline-flex; align-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .45rem .85rem; }
.btn-cart:hover, .btn-account:hover, .btn-account.show { color: var(--night); background: var(--gold); border-color: var(--gold); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; line-height: 21px; text-align: center; box-shadow: 0 0 0 2px var(--night); }
.cart-badge.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 1.25rem; }
  .site-header .nav-link { padding: .7rem 1rem !important; }
}

/* hero */
.hero { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); margin-top: -76px; padding-top: 76px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.hero-slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,21,22,.88) 0%, rgba(22,21,22,.55) 55%, rgba(22,21,22,.25) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 4rem; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { max-width: 560px; color: rgba(255,255,255,.85); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; color: rgba(255,255,255,.8); font-size: .95rem; }
.hero-facts i { color: var(--gold); margin-right: .45rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.hero .eyebrow, .bg-dark-brand .eyebrow, .account-hero .eyebrow { color: var(--gold); }

.page-hero { color: #fff; background-size: cover; background-position: center; padding: 4.5rem 0 3.5rem; text-align: center; }
.page-hero .lead { color: rgba(255,255,255,.82); max-width: 640px; margin-inline: auto; }

/* sections */
.section { padding: 4.5rem 0; }
.section-title { margin-bottom: 1rem; }
.bg-dark-brand { background: var(--night); color: #fff; }
.bg-cream { background: var(--cream); }

/* menu cards */
.menu-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.menu-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee5d8; border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; color: var(--ink); }
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29,27,26,.09); }
.menu-card-body { padding: 1.25rem 1.25rem .75rem; flex: 1; }
.menu-card-title { font-size: 1.25rem; margin-bottom: .4rem; }
.menu-card-text { color: var(--muted); font-size: .97rem; margin-bottom: .6rem; }
.menu-card-actions { display: flex; gap: .5rem; align-items: center; padding: .9rem 1.25rem 1.25rem; }
.menu-card-actions .form-select { max-width: 9rem; border-radius: 999px; }
.price { font-weight: 700; color: var(--brand); white-space: nowrap; }
.pizza-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff4d6; color: #d98d00; margin-bottom: .75rem; }
.bg-dark-brand .menu-card { border-color: transparent; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; }
.tag-veg { background: #e7f5ea; color: #1e7a34; }
.tag-alc { background: #fdecee; color: #a51f2c; }

.size-group { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .5rem; padding: .9rem 1.25rem 1.25rem; }
.size-btn { display: flex; flex-direction: column; align-items: center; gap: .05rem; border: 1px solid #ead9c3; background: #fffaf2; border-radius: 12px; padding: .5rem .25rem; font: inherit; color: var(--ink); transition: background .15s, border-color .15s, color .15s; cursor: pointer; }
.size-btn span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.size-btn strong { font-size: 1rem; }
.size-btn:hover, .size-btn:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; outline: none; }
.size-btn:hover span, .size-btn:focus-visible span { color: rgba(255,255,255,.85); }
.size-btn.is-loading { opacity: .6; pointer-events: none; }

.drink-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid #eee5d8; }
.drink-row .size-group { padding: 0; grid-auto-columns: minmax(84px, auto); }
.drink-group + .drink-group { margin-top: 2.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid #e3d6c4; background: #fff; color: var(--ink); padding: .4rem 1rem; border-radius: 999px; font-weight: 600; }
.chip.active, .chip:hover { background: var(--night); color: #fff; border-color: var(--night); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.75rem; }
.filter-bar .form-control { max-width: 420px; border-radius: 999px; }

.info-panel { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.info-icon { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold); }

.service-card { height: 100%; background: #fff; border-radius: var(--radius); padding: 1.75rem; border: 1px solid #eee5d8; }
.service-card > i { font-size: 1.6rem; color: var(--brand); margin-bottom: 1rem; }

.contact-list li { display: flex; gap: .9rem; margin-bottom: .75rem; }
.contact-list i { color: var(--brand); width: 1.2rem; margin-top: .3rem; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--brand); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 1.25rem 0 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.map-frame { width: 100%; height: 450px; border: 0; display: block; background: #eee; }

/* builder */
.size-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.size-option { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.1rem .5rem; border: 2px solid #ead9c3; border-radius: var(--radius); cursor: pointer; background: #fffaf2; text-align: center; transition: border-color .15s, background .15s; }
.size-option span { font-weight: 700; font-family: var(--font-display); font-size: 1.2rem; }
.size-option small { color: var(--muted); }
.size-option i { color: #d98d00; }
.size-option .size-sm { font-size: 1.4rem; } .size-option .size-md { font-size: 1.9rem; } .size-option .size-lg { font-size: 2.4rem; }
.btn-check:checked + .size-option { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(221,55,68,.12); }
.btn-check:focus-visible + .size-option { outline: 3px solid rgba(221,55,68,.35); }
.ingredient-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ingredient { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid #eee5d8; border-radius: 12px; cursor: pointer; transition: background .15s, border-color .15s; }
.ingredient:hover { border-color: #e3c9a4; }
.ingredient:has(input:checked) { background: #fff4d6; border-color: #f0c455; }
.ingredient .form-check-input { margin: 0; flex-shrink: 0; }
.ingredient-name { flex: 1; font-weight: 600; }
.ingredient-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.builder-summary { top: 96px; background: var(--night); color: #fff; border-radius: var(--radius); padding: 1.5rem; }
.builder-summary .text-muted { color: rgba(255,255,255,.6) !important; }

/* panels, checkout */
.card-panel { background: #fff; border: 1px solid #eee5d8; border-radius: var(--radius); padding: 1.5rem; }
.order-summary { top: 96px; }
.steps { display: flex; gap: .5rem; flex-wrap: wrap; counter-reset: step; font-size: .9rem; }
.steps span { counter-increment: step; color: var(--muted); padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: #f3eee6; }
.steps span::before { content: counter(step); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; margin-right: .4rem; font-weight: 700; }
.steps .done { color: #1e7a34; } .steps .done::before { content: '✓'; background: #e7f5ea; }
.steps .current { background: var(--night); color: #fff; } .steps .current::before { color: var(--night); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pay-option { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem; border: 2px solid #ead9c3; border-radius: 12px; cursor: pointer; font-weight: 700; }
.btn-check:checked + .pay-option { border-color: var(--brand); background: #fff5f5; color: var(--brand); }
.btn-check:focus-visible + .pay-option { outline: 3px solid rgba(221,55,68,.35); }
.empty-state { text-align: center; padding: 3.5rem 1rem; }
.empty-state > i { font-size: 3rem; color: #d7c8b3; margin-bottom: 1rem; }

/* cart drawer */
.cart-drawer { --bs-offcanvas-width: 420px; }
.cart-list { margin: 0; }
.cart-line { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid #f0e8dc; }
.cart-line-name { font-weight: 600; line-height: 1.25; }
.cart-line-total { min-width: 4.2rem; text-align: right; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1px solid #e3d6c4; border-radius: 999px; }
.btn-qty { border: 0; background: none; width: 32px; height: 32px; padding: 0; border-radius: 50%; font-weight: 700; color: var(--ink); }
.btn-qty:hover { background: #f3eee6; }
.qty-val { min-width: 1.5rem; text-align: center; font-weight: 700; }
.cart-summary { position: sticky; bottom: 0; background: #fff; padding-top: 1rem; }
[data-cart-drawer].is-loading { opacity: .5; pointer-events: none; }

/* blog */
.post-card { background: #fff; border: 1px solid #eee5d8; border-radius: var(--radius); overflow: hidden; height: 100%; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.share a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f3eee6; color: var(--ink); margin-right: .25rem; }
.share a:hover { background: var(--brand); color: #fff; }
.prose { line-height: 1.7; }
.prose h1, .prose h2, .prose h3 { margin-top: 2rem; }

/* account */
.account-hero { background: var(--night); color: #fff; padding: 3rem 0 2rem; }
.stat-mini { background: var(--night-2); border-radius: 12px; padding: .9rem 1.1rem; height: 100%; }
.stat-mini span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.stat-mini strong { font-size: 1.4rem; font-family: var(--font-display); }
.stat-mini small { color: rgba(255,255,255,.7); }
.stat-mini .progress { height: 8px; background: rgba(255,255,255,.12); }
.account-tabs .nav-link { border-radius: 999px; color: var(--ink); font-weight: 600; }
.account-tabs .nav-link.active { background: var(--night); }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; width: 100%; padding-right: 1rem; }
.order-list .accordion-button:not(.collapsed) { background: #fffaf2; color: var(--ink); box-shadow: none; }
.order-list .accordion-item { border-color: #eee5d8; }
.rate-form { background: #fffaf2; border-radius: 12px; padding: 1rem; }
.track-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.track-steps::before { content: ''; position: absolute; top: 22px; left: 16%; right: 16%; height: 3px; background: #eee5d8; }
.track-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; color: var(--muted); font-size: .92rem; }
.track-steps i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f3eee6; z-index: 1; }
.track-steps .done i { background: #1e7a34; color: #fff; }
.track-steps .current i { background: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(221,55,68,.15); animation: pulse 1.8s infinite; }
.track-steps .done, .track-steps .current { color: var(--ink); font-weight: 600; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(221,55,68,.05); } }

/* footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { max-width: 180px; }
.footer-title { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .6rem; }
.footer-contact i { color: var(--gold); width: 1.1rem; margin-top: .3rem; flex-shrink: 0; }
.site-footer .hours dd { color: rgba(255,255,255,.6); }
.site-footer .hours dt { color: #fff; }
.social { display: flex; gap: .5rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold); color: var(--night); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .88rem; }

/* misc */
.cookie-banner { position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-inline: auto; display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 1rem 1.25rem; font-size: .95rem; }
.grecaptcha-badge { visibility: hidden; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.form-control:focus, .form-select:focus { border-color: #e88b93; }
.modal-content { border: 0; border-radius: var(--radius); }
.toast { border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 575.98px) {
  .section { padding: 3rem 0; }
  .size-group { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
  .map-frame { height: 320px; }
}

/* bootstrap component theming */
.pagination { --bs-pagination-color: var(--ink); --bs-pagination-hover-color: var(--brand); --bs-pagination-active-bg: var(--night); --bs-pagination-active-border-color: var(--night); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(221,55,68,.25); }
.accordion-header, .accordion-button { font-family: var(--font-body); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.nav-pills { --bs-nav-pills-link-active-bg: var(--night); }
.dropdown-item.active, .dropdown-item:active { background: var(--brand); }
.footer-contact a, .contact-list a { display: inline-flex; gap: .75rem; }
/* Mobile / tablet header: logo + buttons on row 1, collapsed menu full width below */
@media (max-width: 1199.98px) {
  .site-header .navbar > .container { flex-wrap: wrap; }
  .site-header .navbar-brand { flex: 0 1 auto; min-width: 0; margin-right: .5rem; }
  .site-header .navbar-collapse { flex: 0 0 100%; width: 100%; max-height: calc(100vh - 76px); max-height: calc(100svh - 76px); overflow-y: auto; }
  .site-header .navbar-nav { align-items: stretch; }
}
@media (max-width: 575.98px) {
  .site-header .navbar-brand img { height: auto; max-height: 40px; max-width: 140px; }
  .site-header .navbar > .container > .d-flex { flex-shrink: 0; gap: .35rem !important; }
  .btn-cart, .btn-account { padding: .4rem .65rem; }
  .site-header .navbar-toggler { padding: .3rem .55rem; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }   /* g-5 gutters are wider than the phone container padding */
}
html, body { overflow-x: clip; }
