/* Restaurant websites (/site/{slug} or the restaurant's own domain). Built on menu.css:
   the same neutral greys, the restaurant's brand colours, light/dark like its menu. */

.site-page { font-family: var(--font-body); }
.site-page h1, .site-page h2, .site-page h3 { font-family: var(--font-display); letter-spacing: -.02em; }
.w-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Preview banner ---------- */
.w-preview {
    position: sticky; top: 0; z-index: 30;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
    padding: 10px 16px; background: #161616; color: #fff; font-size: 14px; text-align: center;
}
.w-preview a { color: #fff; font-weight: 700; }

/* ---------- Top bar ---------- */
.w-bar {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; gap: 16px;
    padding: 10px clamp(16px, 4vw, 40px);
    background: color-mix(in oklab, var(--surface) 88%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.w-preview + .w-bar { top: 40px; }
.w-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1.1 var(--font-display); min-width: 0; }
.w-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.w-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-links { display: flex; gap: 22px; margin-left: auto; }
.w-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.w-links a:hover { color: var(--ink); }
.w-lang { position: relative; }
.w-lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); font: 600 13px/1 var(--font-mono); }
.w-lang summary::-webkit-details-marker { display: none; }
.w-lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgb(0 0 0 / .12); }
.w-lang a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.w-lang a[aria-current="true"] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.w-bar-book { padding: 10px 18px; border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand) !important; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- Hero ---------- */
.w-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(78svh, 720px);
    display: flex; align-items: flex-end;
    color: var(--hero-ink, #fff);
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.w-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.w-hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .2) 0%, rgb(0 0 0 / .1) 30%, rgb(0 0 0 / .55) 55%, rgb(0 0 0 / .8) 100%); }
.w-hero--photo h1, .w-hero--photo .w-tagline { text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.w-hero--colour .w-hero-scrim { background: radial-gradient(circle at 80% 15%, rgb(255 255 255 / .18), transparent 50%); }
.w-hero-content { width: 100%; max-width: 1080px; margin: 0 auto; padding: 96px 20px 56px; display: flex; flex-direction: column; gap: 14px; }
.w-hero h1 { margin: 0; font-size: clamp(44px, 9vw, 96px); line-height: .95; overflow-wrap: anywhere; }
.w-tagline { margin: 0; font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; max-width: 36ch; opacity: .95; }
.w-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; padding: 7px 14px; border-radius: var(--r-pill); background: color-mix(in srgb, currentColor 16%, transparent); font-weight: 600; font-size: 15px; }
.w-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5534b; }
.w-status.is-open .w-dot { background: #3fb950; }
.w-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.w-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: var(--r-pill);
    font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
    background: color-mix(in srgb, currentColor 16%, transparent); color: inherit !important;
    border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
.w-btn--primary { background: var(--surface); color: var(--brand-ink) !important; border-color: transparent; }
.w-section .w-btn--primary, .w-find .w-btn--primary { background: var(--brand); color: var(--on-brand) !important; }
.w-btn--line { background: transparent; color: var(--ink) !important; border-color: var(--line); }

/* ---------- Sections ---------- */
.w-section { padding: clamp(56px, 8vw, 96px) 0; }
.w-section h2 { margin: 0 0 24px; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; }
.w-about { background: var(--surface); }
.w-about .w-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.w-about-text p { margin: 0 0 16px; font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--ink-2); }

.w-dish-grid { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.w-dish { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.w-dish img, .w-dish-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.w-dish-noimg { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 40px; }
.w-dish-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.w-dish h3 { margin: 0; font-size: 19px; }
.w-dish p { margin: 0; color: var(--ink-3); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-price { margin-top: auto; padding-top: 6px; font: 600 16px/1 var(--font-mono); color: var(--brand-ink); }

.w-visit { background: var(--surface); border-top: 1px solid var(--line); }
.w-visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.w-hours h2, .w-find h2 { font-size: clamp(26px, 3.4vw, 34px); }
.w-hours dl { margin: 0; }
.w-hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.w-hours dt { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.w-hours dd { margin: 0; color: var(--ink-2); text-align: right; }
.w-hours .is-today dt, .w-hours .is-today dd { color: var(--ink); font-weight: 700; }
.w-today { padding: 2px 8px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--brand-ink); font-size: 12px; font-weight: 700; }
.w-find p { margin: 0 0 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 17px; }
.w-find a { color: inherit; display: inline-flex; gap: 8px; align-items: center; }
.w-find i { margin-top: 3px; color: var(--brand-ink); }
.w-find-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.w-map { min-height: 260px; border-radius: 20px; border: 1px dashed var(--line); background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; }
.w-map small { color: var(--ink-3); }
.w-map.is-loaded { padding: 0; border-style: solid; overflow: hidden; }
.w-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.w-footer { padding: 40px 0 120px; color: var(--ink-3); font-size: 14px; }
.w-footer .w-wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.w-footer p { margin: 0; }
.w-footer a { color: inherit; }
.w-social { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: center; }
.w-social span { font-weight: 700; color: var(--ink-2); }
.w-social a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-weight: 600; }
.w-social i { font-size: 20px; }

/* Booking button that stays at hand on phones */
.w-float-book {
    display: none;
    position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 25;
    min-height: 52px; align-items: center; justify-content: center; gap: 8px;
    border-radius: var(--r-pill); background: var(--brand); color: var(--on-brand) !important;
    font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgb(0 0 0 / .25);
}

@media (max-width: 760px) {
    .w-links { display: none; }
    .w-lang { margin-left: auto; }
    .w-bar-book { display: none; }
    .w-float-book { display: inline-flex; }
    .w-about .w-wrap { grid-template-columns: 1fr; gap: 0; }
    .w-hero-content { padding-bottom: 40px; }
    .w-cta .w-btn { flex: 1 1 auto; }
}
@media (max-width: 760px) and (min-width: 0) {
    .w-bar:not(:has(.w-lang)) .w-brand { margin-right: auto; }
}

/* What and where, under the name ("Italian restaurant · Durrës"). */
.w-kind { margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; opacity: .85; }
