/* CarlHost demo sites: shared styles. Each demo sets its own palette and fonts with custom properties on <body>. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  --bg: #fff; --surface: #f6f6f4; --surface-2: #ececea; --ink: #171717; --muted: #5d5d5d; --line: #e2e2de;
  --brand: #1f4e79; --brand-ink: #fff; --accent: #c8a24a; --radius: 14px; --radius-lg: 22px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font-body); --head-weight: 700; --head-track: -0.02em; --head-case: none;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.07);
  margin: 0; padding-top: 44px; background: var(--bg); color: var(--ink); font-family: var(--font-body);
  font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); text-transform: var(--head-case); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(36px, 7vw, 68px); }
h2 { font-size: clamp(28px, 4.4vw, 44px); }
h3 { font-size: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 52px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Demo bar (always visible) */
.demobar { position: fixed; inset: 0 0 auto; z-index: 60; height: 44px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 12px; background: #0b0b0b; color: #f2f2f2; font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; }
.demobar b { color: #ff7a2e; }
.demobar a { color: #fff; text-decoration: none; white-space: nowrap; }
.demobar a.cta { color: #0b0b0b; background: #ff6a13; padding: 6px 11px; border-radius: 999px; font-weight: 650; }
.demobar a.all { opacity: .8; border-bottom: 1px solid rgba(255,255,255,.35); }
.demobar a:hover { opacity: 1; }
.demobar .long { display: inline; }
@media (max-width: 720px) { .demobar .long, .demobar .say { display: none; } .demobar { gap: 10px; justify-content: space-between; } }

/* Header */
.d-head { position: sticky; top: 44px; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.d-head .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.d-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; }
.d-logo svg { width: 36px; height: 36px; flex: none; }
.d-logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.d-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.d-nav a { text-decoration: none; color: var(--muted); font-weight: 550; font-size: 15px; }
.d-nav a:hover { color: var(--ink); }
.d-nav a.d-btn, .d-nav a.d-btn:hover { color: var(--brand-ink); }
.d-menu { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.d-menu svg { width: 22px; height: 22px; }
.d-cartbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 600 14px var(--font-body); cursor: pointer; }
.d-cartbtn svg { width: 18px; height: 18px; }
.d-cartbtn .n { min-width: 20px; height: 20px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 12px; display: inline-grid; place-items: center; padding: 0 5px; }
@media (max-width: 860px) {
  .d-menu { display: inline-flex; }
  .d-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; display: none; }
  .d-nav.open { display: flex; }
  .d-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .d-nav .d-btn { margin-top: 12px; }
  .d-head .d-cartbtn { order: 2; }
  .d-head .d-menu { order: 3; margin-left: 0; }
  .d-head .d-cartbtn + .d-menu, .d-head .wrap > .d-cartbtn { margin-left: auto; }
}

/* Buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--btn-radius, 999px); border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); font: 650 15.5px var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease; }
.d-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.d-btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.d-btn.light { background: #fff; color: #111; border-color: #fff; }
.d-btn.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #111); }
.d-btn svg { width: 18px; height: 18px; }
.d-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Sections */
.d-section { padding: clamp(64px, 9vw, 112px) 0; }
.d-section.alt { background: var(--surface); }
.d-section.dark { background: var(--dark, #111); color: var(--dark-ink, #f4f4f4); }
.d-section.dark .muted, .d-section.dark p { color: color-mix(in srgb, var(--dark-ink, #f4f4f4) 78%, transparent); }
.kicker { display: inline-block; font: 700 12.5px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.d-section.dark .kicker { color: var(--accent); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.d-head2 { max-width: 720px; margin-bottom: 44px; }
.d-head2.center { margin-inline: auto; text-align: center; }
.d-head2.center .lead { margin-inline: auto; }

/* Hero */
.d-hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); }
.d-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.d-hero.solo .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.d-hero.solo .lead { margin-inline: auto; }
.d-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.d-hero.solo .actions { justify-content: center; }
.d-hero .art { position: relative; }
.d-hero .art svg { width: 100%; height: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 14.5px; font-weight: 550; }
.badges span { display: inline-flex; align-items: center; gap: 8px; }
.badges svg { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 860px) { .d-hero .wrap { grid-template-columns: 1fr; gap: 36px; } .d-hero .art { max-width: 480px; } }

/* Grids and cards */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--card, var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--card-shadow, none); min-width: 0; }
.d-section.alt .card { background: var(--card, var(--bg)); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card ul li { margin: 4px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(30px, 4vw, 42px); line-height: 1; color: var(--brand); letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Team */
.person { text-align: left; }
.person .avatar { width: 100%; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.person .avatar svg { width: 100%; height: 100%; }
.person b { display: block; font-family: var(--font-head); font-size: 18px; }
.person span { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 650; font-size: 17px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 680px; }

/* Forms */
.d-form { display: grid; gap: 14px; }
.d-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .d-form .row { grid-template-columns: 1fr; } }
.d-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.d-form input, .d-form select, .d-form textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: calc(var(--radius) * .7); background: var(--field, #fff); color: var(--ink); font: 400 16px var(--font-body); }
.d-form textarea { min-height: 120px; resize: vertical; }
.d-form input:focus, .d-form select:focus, .d-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.d-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; color: var(--muted); }
.d-form .check input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.demo-msg { display: none; border-radius: 12px; padding: 14px 16px; background: color-mix(in srgb, var(--brand) 10%, var(--bg)); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); color: var(--ink); font-weight: 550; font-size: 15px; }
.demo-msg.on { display: block; animation: pop .35s ease both; }
.d-section.dark .demo-msg { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }

/* Contact block */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 3px; }
.map-art { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* Footer */
.d-foot { padding: 44px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.d-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.d-foot a { color: inherit; }

/* Shop */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font-body); cursor: pointer; min-height: 40px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; background: var(--card, var(--bg)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.product[hidden] { display: none; }
.product .pic { aspect-ratio: 1 / 1; background: var(--pic, var(--surface)); display: grid; place-items: center; position: relative; }
.product .pic svg { width: 70%; height: 70%; }
.product .tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink, #111); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.product .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product h3 { font-size: 17px; margin: 0; }
.product p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.product .buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.product .price { font-weight: 750; font-size: 18px; }
.product .d-btn { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }

/* Cart drawer */
.cart-panel { position: fixed; z-index: 80; inset: 0; display: none; }
.cart-panel.open { display: block; }
.cart-panel .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .2s ease both; }
.cart-panel .sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); color: var(--ink); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); animation: slide .28s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
.cart-panel header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-panel header h2 { font-size: 22px; margin: 0; }
.cart-panel .x { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; cursor: pointer; font-size: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { color: var(--muted); padding: 30px 0; text-align: center; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line b { font-size: 15px; }
.cart-line .lp { font-weight: 700; text-align: right; }
.qty { display: inline-flex; flex: none; width: max-content; justify-self: start; align-self: center; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 32px; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 17px; }
.qty span { min-width: 30px; text-align: center; font-weight: 650; font-size: 14px; }
.cart-line .rm { justify-self: end; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-foot .tot { display: flex; justify-content: space-between; font-size: 18px; font-weight: 750; }
.cart-foot .note { font-size: 13px; color: var(--muted); margin: 0; }
.cart-foot label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cart-foot input { min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 16px var(--font-body); background: var(--field, #fff); color: var(--ink); }

/* Booking */
.book { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.days button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 10px 4px; cursor: pointer; display: grid; gap: 2px; font: 600 13px var(--font-body); min-height: 64px; }
.days button b { font-size: 19px; }
.days button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
@media (max-width: 520px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.courts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slots button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; min-height: 46px; font: 650 15px var(--font-body); cursor: pointer; }
.slots button:disabled { background: var(--surface-2); color: color-mix(in srgb, var(--muted) 70%, transparent); text-decoration: line-through; cursor: not-allowed; }
.slots button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #111); }
.summary { position: sticky; top: 130px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 18px; }
.summary dt { color: var(--muted); font-size: 14px; }
.summary dd { margin: 0; font-weight: 650; text-align: right; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 14px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); vertical-align: -1px; margin-right: 6px; }

/* Countdown */
.countdown { display: inline-grid; grid-template-columns: repeat(4, auto); gap: 10px; }
.countdown div { min-width: 70px; padding: 12px 10px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); text-align: center; }
.countdown b { display: block; font-size: clamp(26px, 5vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }

/* Timeline / steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps time { font-weight: 750; color: var(--brand); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); }

/* Quote */
.quote { font-family: var(--font-head); font-size: clamp(22px, 3vw, 30px); line-height: 1.35; margin: 0; }
.quote + cite { display: block; margin-top: 16px; color: var(--muted); font-style: normal; font-weight: 600; }

/* Menu (restaurant) */
.menu-list { display: grid; gap: 4px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 14px 0; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 25%, transparent); }
.menu-item b { font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.menu-item .p { font-weight: 700; color: var(--brand); }
.menu-item small { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } * { animation: none !important; } }
.no-js .rv { opacity: 1; transform: none; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-weight: 650; font-size: 13.5px; }
.d-section.dark .pill { background: rgba(255,255,255,.1); color: var(--accent); }
[hidden] { display: none !important; }
.courts button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--font-body); cursor: pointer; min-height: 40px; }
.courts button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
