/* Thème généré depuis rea-app.json : style « luxe », métier « transport », couleur #d97706. */
@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/playfair-display-500-latin.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/inter-400-latin.woff2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --bg: #0e0d0c; --surface: #171513; --surface-2: #1f1c19; --ink: #f3ece0; --muted: #b9ad98; --line: #2f2a24; --radius: 2px; --radius-lg: 4px; --btn-radius: 999px; --hero-overlay: linear-gradient(180deg, rgba(10,9,8,.25) 0%, rgba(10,9,8,.55) 55%, rgba(10,9,8,.92) 100%); --heading-weight: 500; --heading-tracking: 0; --kicker-tracking: .32em; --primary: #d97706; --primary-text: #d97706; --on-primary: #111111; --bad: #c0392b; --good: #1e8e5a; --good-text: #6ee7b7; --bad-text: #fca5a5; --display: 'Playfair Display', Georgia, 'Times New Roman', serif; --body: 'Inter', system-ui, 'Segoe UI', sans-serif; color-scheme: dark; }
:lang(ar), :lang(ary) { --display: 'Amiri', 'Segoe UI', Tahoma, sans-serif; --body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
/* Keep the footer below the first screen while images/API data populate the page. */
main { min-height: 100vh; min-height: 100svh; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.kicker { font: 600 .78rem/1.2 var(--body); text-transform: uppercase; letter-spacing: var(--kicker-tracking); color: var(--primary-text); margin: 0 0 14px; }
:lang(ar) .kicker, :lang(ary) .kicker { letter-spacing: 0; font-size: .9rem; }

/* Header: transparent over the banner of the home page, solid elsewhere and on scroll */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 16px max(20px, calc((100% - 1180px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, padding .3s; }
.top.scrolled { border-bottom-color: var(--line); padding-block: 10px; }
body.at-home .top { position: fixed; inset-inline: 0; }
body.at-home .top:not(.scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.at-home .top:not(.scrolled):not(.menu-open) .brand, body.at-home .top:not(.scrolled):not(.menu-open) nav a, body.at-home .top:not(.scrolled):not(.menu-open) .menu, body.at-home .top:not(.scrolled):not(.menu-open) .lang-btn { color: #fff; }
.brand { font: var(--heading-weight) 1.45rem/1 var(--display); color: var(--ink); text-decoration: none; margin-inline-end: auto; letter-spacing: var(--heading-tracking); }
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--btn-radius); font-size: .95rem; transition: background .2s, color .2s; }
nav a:hover, nav a.active { background: color-mix(in srgb, var(--primary) 14%, transparent); }
.langs { display: inline-flex; gap: 2px; margin-inline-start: 6px; padding: 3px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 999px; }
.lang-btn { font: 600 .78rem var(--body); border: 0; background: transparent; color: var(--ink); padding: 5px 9px; border-radius: 999px; cursor: pointer; }
.lang-btn[aria-pressed='true'] { background: var(--primary); color: var(--on-primary) !important; }
.theme-btn { border: 0; background: transparent; color: var(--ink); font-size: 1.05rem; width: 38px; height: 38px; border-radius: 999px; cursor: pointer; }
.theme-btn:hover { background: color-mix(in srgb, var(--primary) 14%, transparent); }
body.at-home .top:not(.scrolled):not(.menu-open) .theme-btn { color: #fff; }
.menu { display: none; background: none; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 10px; padding: 7px 11px; font-size: 1.1rem; color: var(--ink); cursor: pointer; }

.page-intro { padding-block: 24px 0; }

/* Custom code may use semantic HTML without the template's classes. These zero-specificity
   defaults remain below every explicit selector in the project's own stylesheet. */
:where([data-rea-custom-page="plain"]) { width: min(52rem, calc(100% - 32px)); margin: 32px auto; }
:where([data-rea-custom-page="plain"] > :is(div, section, article, form):only-child) { display: grid; gap: 10px; align-content: start; padding: clamp(20px, 4vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px -24px color-mix(in srgb, var(--ink) 35%, transparent); }
:where([data-rea-custom-page] label) { display: block; font-weight: 600; line-height: 1.5; }
:where([data-rea-custom-page] input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), [data-rea-custom-page] select, [data-rea-custom-page] textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; }
:where([data-rea-custom-page] textarea) { min-height: 120px; resize: vertical; }
:where([data-rea-custom-page] button) { min-height: 44px; padding: 10px 20px; font: inherit; font-weight: 600; line-height: 1.5; color: var(--on-primary); background: var(--primary); border: 1px solid transparent; border-radius: calc(var(--radius) / 2); cursor: pointer; justify-self: start; }
:where([data-rea-custom-page] button:disabled) { opacity: .55; cursor: not-allowed; }
:where([data-rea-custom-page] output) { display: block; padding: 12px 14px; font-size: 1.2rem; font-weight: 700; background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) / 2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem var(--body); cursor: pointer; padding: 13px 26px; border-radius: var(--btn-radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.45); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn.ghost { background: transparent; border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.ghost.light:hover { background: rgba(255,255,255,.12); }
.btn.small { padding: 8px 16px; font-size: .85rem; }
.btn.danger { color: var(--bad-text); }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more::after { content: ' →'; }
:dir(rtl) .link-more::after { content: ' ←'; }

/* Banner */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero.small { min-height: 340px; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: var(--hero-overlay); }
:dir(rtl) .hero-media::after { transform: scaleX(-1); }
.hero-inner { padding-block: 140px 72px; }
.hero.small .hero-inner { padding-block: 120px 44px; }
.hero .kicker { color: color-mix(in srgb, var(--primary) 55%, #fff); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; margin-bottom: 18px; text-wrap: balance; animation: rise .9s cubic-bezier(.2,.7,.2,1) .1s both; }
.hero.small .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 20ch; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.88); margin: 0 0 30px; animation: rise .9s cubic-bezier(.2,.7,.2,1) .25s both; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: rise .9s cubic-bezier(.2,.7,.2,1) .4s both; }

/* Sections */
.band { background: var(--surface-2); padding-block: 72px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-mark { display: inline-block; font: var(--heading-weight) 1rem var(--display); color: var(--primary-text); margin-bottom: 14px; padding-bottom: 6px; border-bottom: 2px solid var(--primary); }
.feature p { color: var(--muted); margin: 0; }
.section-block { padding-block: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { margin: 0; }
.section { margin: 0 0 22px; max-width: 70ch; }
.prose p { max-width: 70ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 72px; }
.split.flip .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-text p { color: var(--muted); }

/* Catalogue cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(0,0,0,.55); }
.product-media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-media img { transform: scale(1.06); }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.product-cat { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.product-title { margin: 0; font-size: 1.2rem; }
.product-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.menu-group + .menu-group { margin-block-start: 2.5rem; }
.menu-group > h3 { font-family: var(--display); font-size: 1.5rem; margin-block: 0 1.25rem; }
.menu-allergens, .menu-vegetarian { margin: 0; font-size: .9rem; color: var(--ink); overflow-wrap: anywhere; }
.business-map { height: 320px; width: 100%; margin-block-start: 1rem; border: 1px solid var(--line); border-radius: var(--radius); isolation: isolate; }
.business-map .leaflet-control-attribution { color: #222; background: #fff; }
.business-map .leaflet-control-attribution a { color: #175477; }
.product-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font: var(--heading-weight) 1.15rem var(--display); color: var(--primary-text); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { font: 500 .9rem var(--body); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.chip[aria-pressed='true'] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.empty-note { padding: 30px 0; }

/* Gallery and call to action */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; padding-block: 24px 72px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery .g0 { grid-row: span 2; }
.gallery .g3 { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.05); }
.cta { background: var(--primary); color: var(--on-primary); padding-block: 80px; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cta .pay-state { color: inherit; }
.cta p { opacity: 1; max-width: 52ch; margin: 0 0 22px; }
.cta .btn.primary { background: var(--on-primary); color: var(--primary); border-color: var(--on-primary); }

/* Blocks (pages built from rea-app.json › blocks) */
.blk-slider { position: relative; min-height: min(92vh, 860px); display: block; padding: 0; }
.blk-slider .slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; transition: opacity 1s ease; color: #fff; isolation: isolate; }
.slide.active { opacity: 1; z-index: 1; }
/* The header stays readable over a light photo (white menu on a white shirt…). */
.blk-slider::before, .hero::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,0)); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 7s ease-out; }
.slide.active img { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); }
.slide-inner { padding-block: 0 110px; max-width: 760px; margin-inline: auto 0; width: 100%; }
.slide-inner .hero-title { color: #fff; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.25); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.slider-arrow:hover { background: rgba(0,0,0,.45); }
.slider-arrow.prev { inset-inline-start: 18px; }
.slider-arrow.next { inset-inline-end: 18px; }
:dir(rtl) .slider-arrow { transform: scaleX(-1); }
.slider-dots { position: absolute; bottom: 34px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; padding: 0; }
.slider-dots button[aria-selected="true"] { width: 30px; background: #fff; }
.lead { max-width: 62ch; margin: -6px 0 26px; }
.center { text-align: center; }
.filters { margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.plan h3 { margin: 0; font: var(--heading-weight) 1.25rem var(--display); }
.plan.highlight { border-color: var(--primary); box-shadow: 0 18px 50px -24px var(--primary); transform: translateY(-6px); }
.plan-badge { position: absolute; top: -12px; inset-inline-start: 24px; background: var(--primary); color: var(--on-primary); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; }
.plan-price { margin: 0; font-size: 1.05rem; }
.plan-price .price { font: var(--heading-weight) 2.2rem var(--display); color: var(--ink); }
.plan-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); flex: 1; }
.plan-features li::before { content: '✓'; color: var(--primary); margin-inline-end: 8px; font-weight: 700; }
.plan .btn { align-self: stretch; text-align: center; }
.schedule { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schedule th, .schedule td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: start; }
.schedule th { font-family: var(--display); font-weight: var(--heading-weight); width: 22%; }
.schedule tr:nth-child(odd) { background: var(--surface-2); }
.sched-time { color: var(--primary); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.member { text-align: center; }
.member-photo { aspect-ratio: 1; border-radius: var(--radius-lg, 50%); overflow: hidden; margin-bottom: 14px; background: var(--surface-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.member:hover .member-photo img { transform: scale(1.05); }
.member h3 { margin: 0 0 4px; font: var(--heading-weight) 1.15rem var(--display); }
.member-role { color: var(--primary); margin: 0 0 6px; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-grid figure:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.form-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.form-split h2 { margin-top: 0; }
.form-photo { margin-top: 22px; border-radius: var(--radius-lg, var(--radius)); overflow: hidden; aspect-ratio: 4 / 3; }
.form-photo img { width: 100%; height: 100%; object-fit: cover; }
.hours-card { max-width: 640px; margin-inline: auto; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, var(--radius)); }
.hours-card h2 { margin-top: 0; }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; margin: 0 0 16px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--primary); font-variant-numeric: tabular-nums; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 8px 0 14px; font: 400 1.05rem/1.6 var(--display); }
.quote figcaption { color: var(--muted); font-size: .9rem; }
.stars { color: var(--primary); letter-spacing: 2px; margin: 0; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat strong { display: block; font: var(--heading-weight) 2.6rem var(--display); color: var(--primary); }
.stat span { color: var(--muted); }
.cart-btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 6px 12px; cursor: pointer; font: inherit; }
.cart-count { display: inline-block; min-width: 1.4em; text-align: center; background: var(--primary); color: var(--on-primary); border-radius: 99px; font-size: .8rem; padding: 0 6px; }
.cart-panel { position: fixed; top: 0; inset-inline-end: 0; bottom: 0; width: min(420px, 100vw); z-index: 60; background: var(--bg); border-inline-start: 1px solid var(--line); box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); padding: 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.cart-panel[hidden] { display: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { margin: 0; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cart-total { font-size: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.credits { margin-top: 18px; font-size: .8rem; }
.credits ul { margin: 8px 0 0; padding-inline-start: 18px; }
@media (max-width: 760px) {
  .blk-slider { min-height: 78vh; }
  .slide-inner { padding-bottom: 86px; }
  .slider-arrow { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .form-split { grid-template-columns: 1fr; }
  .form-photo { display: none; }
  .schedule th, .schedule td { padding: 10px; font-size: .92rem; }
  .plan.highlight { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 56px 26px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand { font: var(--heading-weight) 1.5rem var(--display); margin: 0 0 8px; }
.foot nav { flex-direction: column; align-items: flex-start; }
.foot nav a { padding: 4px 0; color: var(--muted); }
.foot-copy { margin-top: 36px; font-size: .85rem; }
.admin-link { color: var(--muted); font-size: .85rem; }

/* Management (administrators) and forms */
.manage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.manage { margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 18px; align-items: start; }
.toolbar { margin-bottom: 12px; }
.toolbar input { width: 100%; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .85rem; color: var(--muted); font-weight: 600; }
td.empty { color: var(--muted); text-align: center; padding: 24px; }
.row-actions { white-space: nowrap; text-align: end; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: calc(var(--radius) / 2 + 4px); background: var(--surface); color: var(--ink); }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.alert { padding: 12px 14px; border-radius: 10px; }
.alert.bad { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad-text); }
.alert.good { background: color-mix(in srgb, var(--good) 12%, transparent); color: var(--good-text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toast { position: fixed; bottom: 18px; inset-inline-end: 18px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; }
#app > h1, #app > .section, #app > .card, #app > .grid, #app > .alert, #app > p { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Motion (none when the visitor asks for less) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .menu { display: block; }
  nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  nav.open { display: flex; }
  nav a { padding: 12px; }
  body.at-home .top:not(.scrolled):not(.menu-open) nav.open a { color: var(--ink); }
  .split { grid-template-columns: 1fr; gap: 26px; padding-block: 48px; }
  .split.flip .split-media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .gallery .g0 { grid-row: span 1; grid-column: span 2; }
  .gallery .g3 { grid-column: span 2; }
  .foot-grid, .grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .band, .section-block, .cta { padding-block: 52px; }
  .hero { min-height: 88vh; }
  .hero-inner { padding-block: 120px 48px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-body { padding: 12px 14px 16px; }
  .product-foot { flex-direction: column; align-items: flex-start; }
  thead { display: none; }
  tr { display: block; border-bottom: 1px solid var(--line); padding: 6px 0; }
  td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 4px 8px; }
  td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
  .row-actions { justify-content: flex-end; }
}
.mobile-actions { display: none; }
.opening-status { font-weight: 700; }
@media (max-width: 639px) {
  body.has-mobile-actions { padding-bottom: calc(var(--mobile-actions-height, 76px) + 16px); }
  .mobile-actions { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 90; gap: 4px; padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -4px 24px #0001; }
  .mobile-actions a { flex: 1; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .85rem; line-height: 1.2; overflow-wrap: anywhere; padding: 4px; border-radius: 8px; text-decoration: none; color: var(--ink); }
  .mobile-actions a:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
}
