/* Shared site chrome: identical top bar, header/menu, account modal and toast on every page. */
html { scrollbar-gutter: stable; }
.topline { height: 30px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(9, 9, 9, .94); border-bottom: 1px solid #222; backdrop-filter: blur(14px); }
.site-header .nav { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-header .brand { display: flex; align-items: center; width: 130px; flex: 0 0 130px; }
.site-header .brand img { width: 100%; height: auto; }
.site-header .nav-links { display: flex; align-items: center; gap: clamp(15px, 2.4vw, 32px); }
.site-header .nav-links a { position: relative; padding: 6px 0; color: #b7b4b1; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.site-header .nav-links a:hover, .site-header .nav-links a[aria-current="page"] { color: #fff; }
.site-header .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); }
.site-header .nav-actions { display: flex; align-items: center; gap: 10px; }
.site-header .icon-button, .site-header .menu-button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; border: 1px solid #333; background: transparent; color: #fff; font: 700 12px/1 var(--body); letter-spacing: .04em; cursor: pointer; transition: border-color .2s; }
.site-header .icon-button:hover, .site-header .menu-button:hover { border-color: var(--red); }
.site-header .icon-button.is-admin { border-color: #7a6528; }
.site-header .cart-count { margin-left: 6px; color: var(--red); }
.site-header .menu-button { display: none; font-size: 16px; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 900px) {
  .site-header .nav { gap: 16px; }
  .site-header .nav-links { gap: 14px; }
  .site-header .nav-links a { font-size: 9px; }
}
@media (max-width: 650px) {
  .topline { font-size: 8px; letter-spacing: .1em; }
  .site-header .nav { min-height: 66px; }
  .site-header .brand { width: 100px; flex-basis: 100px; }
  .site-header .menu-button { display: inline-flex; }
  .site-header .nav-links { position: absolute; top: 66px; left: -16px; right: -16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 15px; background: #0c0c0c; border-bottom: 1px solid #292929; }
  .site-header .nav-links.open { display: flex; }
  .site-header .nav-links a { padding: 13px 5px; border-bottom: 1px solid #1b1b1b; font-size: 11px; }
  .site-header .nav-links a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .site-header .nav-actions { gap: 6px; }
  .site-header .icon-button, .site-header .menu-button { min-height: 36px; padding: 0 9px; font-size: 10px; }
}

/* Modal (account / login and page dialogs) */
.modal-backdrop { position: fixed; z-index: 50; inset: 0; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
.modal-backdrop.open { display: flex; }
.modal { width: min(510px, 100%); max-height: min(90vh, 760px); overflow: auto; padding: 27px; border: 1px solid #393939; border-top: 2px solid var(--red); background: #101010; box-shadow: 0 20px 70px #000; color: var(--white); }
.modal-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.modal-top h2 { margin: 6px 0 0; font: 700 38px/.95 var(--display); text-transform: uppercase; }
.close-modal { border: 0; background: transparent; color: #aaa; font-size: 25px; line-height: 1; cursor: pointer; }
.close-modal:hover { color: #fff; }
.modal .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.modal .field { display: grid; gap: 7px; }
.modal .field.full { grid-column: 1 / -1; }
.modal .field label { color: #aaa; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.modal .field input, .modal .field select, .modal .field textarea { width: 100%; min-height: 43px; padding: 10px 11px; outline: 0; border: 1px solid #333; background: #171717; color: #fff; font: inherit; font-size: 12px; }
.modal .field textarea { min-height: 84px; resize: vertical; }
.modal .field input:focus, .modal .field select:focus, .modal .field textarea:focus { border-color: var(--red); }
.modal .form-submit { width: 100%; margin-top: 17px; }
.modal .form-note { margin: 12px 0 0; color: #858585; font-size: 10px; line-height: 1.6; }
.modal .form-switch { margin-top: 14px; text-align: center; color: #aaa; font-size: 11px; }
.modal .text-button { padding: 0; border: 0; background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.account-links { display: grid; gap: 10px; margin-top: 6px; }
.account-links .button { width: 100%; }
.account-role { display: inline-block; margin-top: 8px; padding: 4px 8px; border: 1px solid #7a6528; color: #e7c566; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 650px) {
  .modal { padding: 21px; }
  .modal .form-grid { grid-template-columns: 1fr; }
  .modal .field.full { grid-column: auto; }
}

/* Toast */
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: min(360px, calc(100% - 44px)); padding: 14px 18px; border-left: 3px solid var(--red); background: #1b1b1b; box-shadow: 0 8px 30px #0009; color: #fff; font-size: 12px; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast[hidden] { display: none; }

/* Turkish licence plate */
.tr-plate { display: inline-flex; align-items: stretch; height: 26px; overflow: hidden; border: 2px solid #121212; border-radius: 4px; background: linear-gradient(180deg, #fbfbf7, #e9e9e2); box-shadow: 0 1px 0 #fff6 inset, 0 2px 6px #0007; color: #111; vertical-align: middle; white-space: nowrap; }
.tr-plate-flag { display: flex; align-items: flex-end; justify-content: center; width: 15px; padding-bottom: 2px; background: #1d4fb8; color: #fff; font: 700 7px/1 var(--body); letter-spacing: .02em; }
.tr-plate-text { display: flex; align-items: center; padding: 0 8px 0 7px; font: 700 17px/1 var(--display); letter-spacing: .09em; }
.tr-plate.sm { height: 21px; }
.tr-plate.sm .tr-plate-flag { width: 12px; font-size: 6px; }
.tr-plate.sm .tr-plate-text { padding: 0 6px; font-size: 14px; }
.tr-plate.lg { height: 46px; border-width: 3px; border-radius: 6px; }
.tr-plate.lg .tr-plate-flag { width: 26px; padding-bottom: 5px; font-size: 11px; }
.tr-plate.lg .tr-plate-text { padding: 0 16px 0 13px; font-size: 32px; letter-spacing: .11em; }
.tr-plate.is-invalid { border-color: #a9141e; }
.tr-plate.is-invalid .tr-plate-text { color: #8a8a8a; }

/* Wide dialog (product / listing details) */
.modal.modal-wide { width: min(980px, 100%); max-height: min(92vh, 900px); }

/* Product visual when no photo is uploaded: category tile */
.product-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a1214 0, #111 62%), #111; color: var(--red); }
.product-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, #ffffff05 18px 19px); }
.product-art svg { position: relative; width: 42%; max-width: 120px; height: auto; filter: drop-shadow(0 0 14px #df202c66); }
.product-art span { position: absolute; left: 12px; bottom: 10px; color: #6f6c69; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
img.is-logo { object-fit: contain !important; padding: 22px; background: #000; }

/* For-sale listings (satilik.html + home teaser) */
.listing-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.listing-filters select { min-height: 42px; padding: 0 28px 0 12px; border: 1px solid #333; background: #121212; color: #fff; font: inherit; font-size: 11px; }
.listing-filters select:focus { outline: 1px solid var(--red); border-color: var(--red); }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.listing-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #292929; background: #111; color: var(--white); cursor: pointer; transition: border-color .2s, transform .2s; }
.listing-card:hover, .listing-card:focus-visible { border-color: #4a2a2c; transform: translateY(-2px); outline: none; }
.listing-photo { position: relative; height: 220px; overflow: hidden; background: #181818; }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .45s, filter .45s; }
.listing-card:hover .listing-photo img { transform: scale(1.04); filter: saturate(1); }
.listing-status { position: absolute; left: 12px; top: 12px; padding: 6px 9px; background: #1d6b34; color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.status-reserved .listing-status, .listing-detail .listing-status.reserved { background: #8a6d16; }
.status-sold .listing-status { background: #444; }
.status-sold .listing-photo img { filter: grayscale(1) brightness(.6); }
.status-sold .listing-photo::after { content: "SATILDI"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffffffcc; font: 900 44px/1 var(--display); letter-spacing: .1em; transform: rotate(-8deg); }
.listing-featured { position: absolute; right: 12px; top: 12px; padding: 6px 9px; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.listing-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 7px; background: #000b; color: #ddd; font-size: 9px; }
.listing-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.listing-year { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.listing-body h2 { margin: 8px 0 10px; font: 700 26px/1 var(--display); text-transform: uppercase; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.listing-specs li { padding: 4px 8px; border: 1px solid #2f2f2f; color: #bbb; font-size: 10px; }
.listing-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #292929; }
.listing-price { font: 700 24px/1 var(--display); letter-spacing: .02em; }
.listing-more { color: #aaa; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.listing-card:hover .listing-more { color: var(--red); }
.sell-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; padding: 22px 24px; border-left: 3px solid var(--red); background: #171111; }
.sell-cta div { display: grid; gap: 4px; }
.sell-cta b { font: 700 22px/1 var(--display); text-transform: uppercase; }
.sell-cta span { color: #aaa; font-size: 12px; }
.listing-detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.listing-gallery-main { position: relative; height: 380px; overflow: hidden; border: 1px solid #2b2b2b; background: #151515; }
.listing-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.listing-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.listing-thumbs button { flex: 0 0 76px; height: 52px; padding: 0; border: 2px solid transparent; background: #000; cursor: pointer; opacity: .65; }
.listing-thumbs button.active, .listing-thumbs button:hover { border-color: var(--red); opacity: 1; }
.listing-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.listing-price-big { font: 700 40px/1 var(--display); }
.listing-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 0; border: 1px solid #262626; background: #262626; }
.listing-spec-grid div { padding: 9px 11px; background: #0d0d0d; }
.listing-spec-grid dt { color: #888; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.listing-spec-grid dd { margin: 3px 0 0; color: #eee; font-size: 13px; }
.listing-info h4, .inquiry-form h4 { margin: 14px 0 8px; font: 700 18px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.listing-info p { margin: 0; color: #bbb; font-size: 13px; line-height: 1.7; }
.listing-mods { margin: 0; padding-left: 18px; color: #ddd; font-size: 12px; line-height: 1.8; }
.listing-mods li::marker { color: var(--red); }
.inquiry-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid #2a2a2a; }
.inquiry-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.inquiry-types label { cursor: pointer; }
.inquiry-types input { position: absolute; opacity: 0; pointer-events: none; }
.inquiry-types span { display: inline-block; padding: 9px 12px; border: 1px solid #333; color: #bbb; font-size: 11px; }
.inquiry-types input:checked + span { border-color: var(--red); background: #1b0f10; color: #fff; }
.inquiry-types input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } .listing-detail { grid-template-columns: 1fr; } .listing-gallery-main { height: 260px; } }
@media (max-width: 650px) { .listing-grid { grid-template-columns: 1fr; } .listing-filters select, .listing-filters .shop-toggle { flex: 1 1 40%; } .listing-price-big { font-size: 32px; } }

/* Sign-in reason note in the account dialog */
.auth-note { margin: -8px 0 16px; padding: 11px 13px; border-left: 3px solid #e7c566; background: #19160d; color: #e9dfbf; font-size: 12px; line-height: 1.55; }

/* Seller phone: hidden (blurred placeholder) until a signed-in member asks for it */
.phone-reveal { display: grid; gap: 9px; margin-top: 8px; padding: 14px; border: 1px solid #2e2e2e; background: #0d0d0d; }
.phone-label { color: #888; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.phone-number { font: 700 30px/1 var(--display); letter-spacing: .06em; transition: filter .6s ease, opacity .6s ease; user-select: none; }
.phone-number.is-hidden { filter: blur(7px); opacity: .75; }
.phone-number.is-shown { user-select: text; color: #fff; }
.phone-reveal .button { width: 100%; }
.phone-reveal small { color: #8a8681; font-size: 10px; line-height: 1.5; }
.phone-reveal small b { color: #e7c566; }

/* Damage report diagram (for-sale listings + admin editor) */
.damage-svg { width: 100%; max-width: 230px; height: auto; display: block; }
.dmg-part { stroke: #0b0b0b; stroke-width: 2; transition: fill .2s, stroke .2s; }
.dmg-original { fill: #3b3b3b; }
.dmg-local { fill: #e7c566; }
.dmg-painted { fill: #f08a3c; }
.dmg-replaced { fill: #df202c; }
.dmg-wheel { fill: #111; stroke: #2c2c2c; }
.dmg-glass { fill: #1e2a33; stroke: #0b0b0b; stroke-width: 2; }
.dmg-mirror { fill: #444; }
.dmg-front { fill: #0b0b0b; font: 700 9px "DM Sans", Arial, sans-serif; letter-spacing: .2em; text-anchor: middle; pointer-events: none; }
.damage-svg.is-editable .dmg-part { cursor: pointer; }
.damage-svg.is-editable .dmg-part:hover, .damage-svg.is-editable .dmg-part:focus-visible { stroke: #fff; stroke-width: 2; outline: none; }
.dmg-part.is-selected { stroke: #fff; stroke-width: 3.5; }
.damage-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 11px; color: #bbb; }
.damage-legend li { display: flex; align-items: center; gap: 6px; }
.damage-legend i { width: 12px; height: 12px; border-radius: 2px; }
.damage-report { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; margin-top: 4px; }
.damage-list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; }
.damage-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border: 1px solid #262626; background: #0d0d0d; }
.damage-list b { font-weight: 600; }
.damage-clean { margin-top: 12px; padding: 10px 12px; border: 1px solid #2f4d27; background: #0e160c; color: #a6d293; font-size: 12px; }
.listing-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.listing-badge { padding: 6px 10px; border: 1px solid #333; color: #ccc; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.listing-badge.ok { border-color: #2f4d27; color: #a6d293; }
.listing-badge.no { border-color: #4a2a2c; color: #f08a90; }
.extra-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.extra-chips li { padding: 7px 10px; border: 1px solid #333; background: #111; color: #ddd; font-size: 11px; }
.extra-chips li::before { content: "✓ "; color: var(--red); font-weight: 700; }
@media (max-width: 650px) { .damage-report { grid-template-columns: 1fr; } .damage-svg { margin-inline: auto; } }

.listing-specs li.spec-trade{border-color:#2f4d27;color:#a6d293}
.damage-section{margin-top:22px;padding-top:18px;border-top:1px solid #2a2a2a}
.damage-section h4{margin:0 0 12px;font:700 18px/1 var(--display);letter-spacing:.04em;text-transform:uppercase}

/* Car brand logos (masks take the text colour) + logo picker */
.brand-logo { display: inline-block; flex: none; width: 1.7em; height: 1.7em; vertical-align: middle; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.brand-logo.is-mono { display: inline-grid; place-items: center; width: 1.7em; border: 1.5px solid currentColor; border-radius: 50%; background: none; -webkit-mask: none; mask: none; }
.brand-logo.is-mono b { font-size: .6em; font-weight: 800; line-height: 1; letter-spacing: 0; }
.brand-logo.lg { font-size: 1.15em; }
.brand-title { display: inline-flex; align-items: center; gap: .55em; min-width: 0; }
.brand-title > span:last-child { min-width: 0; }
.brand-picker { display: grid; gap: 10px; }
.brand-search { width: 100%; min-height: 38px; padding: 0 11px; border: 1px solid #333; border-radius: 8px; outline: 0; background: #0b0b0c; color: #fff; font: inherit; font-size: 13px; }
.brand-search:focus { border-color: #666; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; max-height: 292px; overflow-y: auto; padding: 2px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.brand-grid button { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 86px; padding: 12px 6px 10px; border: 1px solid #2e2e34; border-radius: 10px; background: #0b0b0c; color: #c9c9cf; font: 600 11px/1.2 var(--body); letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.brand-grid button .brand-logo { font-size: 18px; }
.brand-grid button > .brand-logo { margin: auto 0; }
.brand-grid button { grid-template-rows: 34px auto; }
.brand-grid button:hover { border-color: #5a5a62; color: #fff; }
.brand-grid button.is-selected { border-color: var(--red); background: #1f1012; color: #fff; box-shadow: 0 0 0 1px var(--red); }
.brand-grid button.is-selected .brand-logo:not(.is-mono) { background: #fff; }
.brand-grid button[hidden] { display: none; }
.brand-grid button:focus-visible { outline: 2px solid #60a5fa; outline-offset: 2px; }

/* Appointment calendar (booking dialog) */
.booking-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:26px;align-items:start}
.cal{display:grid;gap:10px}
.cal-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cal-head b{font:700 24px/1 var(--display);letter-spacing:.03em;text-transform:uppercase}
.cal-nav{width:38px;height:38px;border:1px solid #333;background:#111;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.cal-nav:hover:not(:disabled){border-color:var(--red)}
.cal-nav:disabled{opacity:.3;cursor:not-allowed}
.cal-week,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.cal-week span{color:#777;font-size:10px;font-weight:700;letter-spacing:.1em;text-align:center;text-transform:uppercase}
.cal-grid[aria-busy]{opacity:.5}
.cal-day{position:relative;display:grid;align-content:start;gap:3px;min-height:58px;padding:7px 6px;border:1px solid #2a2a2a;border-top:3px solid #2a2a2a;background:#0f0f0f;color:#ddd;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.cal-day b{font:700 18px/1 var(--display)}
.cal-day small{color:#888;font-size:9px;line-height:1.2}
.cal-day.is-open{border-top-color:#3f9a5a}.cal-day.is-open small{color:#8fd19e}
.cal-day.is-few{border-top-color:#e0a22a}.cal-day.is-few small{color:#f2c46b}
.cal-day.is-full{border-top-color:var(--red);background:repeating-linear-gradient(135deg,#140c0d 0 6px,#0f0f0f 6px 12px);cursor:not-allowed}.cal-day.is-full small{color:#f08a90;font-weight:700}
.cal-day.is-closed{border-top-color:#333;background:#0b0b0b;color:#555;cursor:not-allowed}
.cal-day.is-past,.cal-day.is-later{color:#444;cursor:not-allowed}
.cal-day.is-outside{opacity:.35}
.cal-day.is-today b{color:var(--red)}
.cal-day:not(:disabled):hover{border-color:#666;background:#151515}
.cal-day.is-selected{border-color:var(--red)!important;background:#1d0f11;box-shadow:0 0 0 1px var(--red)}
.cal-legend{display:flex;gap:14px;flex-wrap:wrap;color:#999;font-size:10px}
.cal-legend span{display:inline-flex;align-items:center;gap:6px}
.cal-legend span::before{content:"";width:12px;height:4px;background:#333}
.cal-legend .open::before{background:#3f9a5a}.cal-legend .few::before{background:#e0a22a}.cal-legend .full::before{background:var(--red)}
.cal-slots{min-height:84px;padding:12px;border:1px solid #262626;background:#0c0c0c}
.cal-hint{margin:0 0 10px;color:#999;font-size:12px}
.cal-hint b{color:#fff}
.slot-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(78px,1fr));gap:6px}
.slot{display:grid;gap:2px;padding:9px 6px;border:1px solid #2f5f3c;background:#0f1a12;color:#fff;text-align:center;cursor:pointer}
.slot b{font:700 17px/1 var(--display)}
.slot small{color:#8fd19e;font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.slot:hover:not(:disabled){border-color:#6fd18b}
.slot.is-taken{border-color:#4a1d21;background:repeating-linear-gradient(135deg,#1a0d0f 0 6px,#120a0b 6px 12px);color:#777;cursor:not-allowed}
.slot.is-taken small{color:#f08a90}
.slot.is-taken b{text-decoration:line-through}
.slot.is-passed{border-color:#262626;background:#0d0d0d;color:#555;cursor:not-allowed}.slot.is-passed small{color:#555}
.slot.is-selected{border-color:var(--red);background:var(--red)}.slot.is-selected small{color:#fff}
.cal-choice{padding:12px 13px;border:1px dashed #444;color:#999;font-size:13px}
.cal-choice.is-ready{border-style:solid;border-color:#3f9a5a;background:#0f1a12;color:#ddd}
.cal-choice b{color:#fff}
@media(max-width:860px){.booking-layout{grid-template-columns:1fr}}
@media(max-width:480px){.cal-day{min-height:46px;padding:5px 4px}.cal-day b{font-size:15px}.cal-day small{font-size:7.5px}}

/* Date fields: a visible calendar button on the right opens the browser's calendar (dark, matching the site). */
.date-wrap { position: relative; display: block; width: 100%; }
.date-wrap input { width: 100%; padding-right: 46px !important; color-scheme: dark; }
.date-wrap input::-webkit-calendar-picker-indicator { display: none; }
.date-button { position: absolute; top: 50%; right: 5px; display: inline-grid; place-items: center; width: 34px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #a9a5a1; cursor: pointer; transform: translateY(-50%); transition: color .15s, background .15s; }
.date-button:hover, .date-button:focus-visible { background: rgba(255, 255, 255, .07); color: #fff; outline: 0; }
.date-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.date-wrap input:disabled + .date-button { opacity: .35; cursor: not-allowed; }
