/* Film District marketplace. Same look as www.filmdistrictdubai.com: dark ground, FDD red, Montserrat. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/rentals/assets/fonts/montserrat-latin.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 112.83%; ascent-override: 85.79%; descent-override: 22.25%; line-gap-override: 0%; }
:root {
  --bg: #0e0e0f; --panel: #18181a; --panel2: #222225; --line: rgba(255,255,255,.09);
  --fg: #f3f2f7; --muted: #a29aa8; --red: #d81921; --ok: #1cd064; --warn: #f2b233;
  --font: Montserrat, 'Montserrat Fallback', Arial, Helvetica, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 84px; } /* sticky section tabs (~60px) plus a small gap, so the previous section stays hidden */
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.55 var(--font); }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.25; }
p, li { text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--red); color: #fff; border-radius: 6px; }
.skip:focus { top: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo img { height: 15px; width: auto; } /* Figma: 50 x 14.6 */
.head-row { flex-wrap: wrap; }
.head-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; order: 3; width: 100%; justify-content: center; padding-top: 4px; }
.head-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
@media (max-width: 420px) { .head-nav { gap: 14px; font-size: 13px; } .soon { font-size: 9px; padding: 1px 5px; } }
.head-nav a[aria-current] { color: var(--fg); font-weight: 700; box-shadow: inset 0 -2px 0 var(--red); padding-bottom: 3px; }
.soon-link { color: var(--muted); opacity: .75; display: inline-flex; align-items: center; gap: 6px; cursor: default; white-space: nowrap; }
.soon { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(242,178,51,.45); border-radius: 999px; padding: 1px 7px; }
@media (min-width: 900px) { .head-row { flex-wrap: nowrap; } .head-nav { order: 0; width: auto; padding-top: 0; gap: 28px; } }
.cart-pill { text-decoration: none; background: var(--panel2); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.cart-pill b { color: var(--red); margin-left: 4px; }

/* Store head */
.store-top { display: grid; gap: 18px; padding-block: 18px 16px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.vend { display: flex; gap: 16px; align-items: center; }
.vlogo { flex: none; width: 64px; height: 64px; border-radius: 14px; background: #000; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.vlogo.has-img { padding: 10px; }
.vlogo img { width: 100%; height: auto; }
.vend h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.blurb { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 640px; }

/* Dates */
.dates { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; max-width: 760px; }
.dates .d { position: relative; display: grid; gap: 2px; background: var(--panel2); border-radius: 9px; padding: 8px 40px 8px 12px; min-width: 0; cursor: pointer; }
.dates .d::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); opacity: .6;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.dates .d:hover { background: #2a2a2e; }
.dates .d:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.dates .d span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.dates .dv { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The real date box sits invisibly over the whole tile, so a tap anywhere opens the phone's or browser's calendar. */
.len { margin: 0; align-self: center; font-weight: 700; color: var(--ok); padding: 0 10px; white-space: nowrap; font-size: 14px; }
.len.empty { color: var(--muted); font-weight: 500; }
@media (max-width: 520px) { .dates { grid-template-columns: 1fr 1fr; } .dates .d { padding-right: 12px; } .dates .d::after { display: none; } .len { grid-column: 1 / -1; text-align: center; padding: 4px 0; } }

/* Section tabs: stay on screen while scrolling */
.secs { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.secs-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.secs-row::-webkit-scrollbar { display: none; }
/* Soft fade where the tabs run off the edge; arrows on desktop. Classes set by market.js. */
.secs .wrap { position: relative; }
.secs-row.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 80px), transparent); }
.secs-row.fade-l { -webkit-mask-image: linear-gradient(to right, transparent, #000 80px); mask-image: linear-gradient(to right, transparent, #000 80px); }
.secs-row.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); mask-image: linear-gradient(to right, transparent, #000 80px, #000 calc(100% - 80px), transparent); }
.secs-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--fg); font-size: 18px; line-height: 1; z-index: 2; }
.secs-arrow.l { left: max(16px, env(safe-area-inset-left, 0px)); }
.secs-arrow.r { right: max(16px, env(safe-area-inset-right, 0px)); }
@media (hover: hover) and (min-width: 900px) {
  .secs-arrow.show { display: grid; place-items: center; }
  .secs-row { padding-inline: 2px; }
  .secs-row.fade-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 180px), transparent calc(100% - 40px)); mask-image: linear-gradient(to right, #000 calc(100% - 180px), transparent calc(100% - 40px)); }
  .secs-row.fade-l { -webkit-mask-image: linear-gradient(to right, transparent 40px, #000 180px); mask-image: linear-gradient(to right, transparent 40px, #000 180px); }
  .secs-row.fade-l.fade-r { -webkit-mask-image: linear-gradient(to right, transparent 40px, #000 180px, #000 calc(100% - 180px), transparent calc(100% - 40px)); mask-image: linear-gradient(to right, transparent 40px, #000 180px, #000 calc(100% - 180px), transparent calc(100% - 40px)); }
}
.secs a { flex: none; text-decoration: none; padding: 7px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--muted); white-space: nowrap; }
.secs a[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); font-weight: 700; }

/* Store body */
.store { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 18px 110px; }
@media (min-width: 900px) { .store { grid-template-columns: minmax(0, 1fr) 290px; padding-bottom: 60px; } }
.store-main { display: grid; gap: 30px; min-width: 0; }
.sec h2 { font-size: 19px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.sec h2 small { font-size: 12px; color: var(--muted); font-weight: 500; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; } }

.item { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
@media (min-width: 1100px) { .item { grid-template-columns: minmax(0, 1fr); align-items: stretch; } .item .row { flex-direction: column; align-items: stretch; } .item .add { width: 100%; } }
.item .ph { display: block; width: 100%; border-radius: 8px; overflow: hidden; background: #fff; }
.item .ph img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.item .body { display: grid; gap: 8px; align-content: space-between; min-width: 0; height: 100%; }
.item h3 { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.item h3 a { text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; }
.price { font-weight: 700; white-space: nowrap; }
.price small { color: var(--muted); font-weight: 500; }
.add { white-space: nowrap; background: var(--red); color: #fff; border: 0; border-radius: 9px; padding: 8px 16px; font-weight: 700; font-size: 13px; min-height: 36px; }
.add.done { background: var(--ok); color: #06210f; }
.busy { font-size: 12px; color: var(--muted); }
.item.off { opacity: .55; }

/* Browse switch: Categories | All items */
.view-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.find { flex: 1 1 260px; position: relative; }
.find input { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; color: var(--fg); font: 500 14px var(--font); padding: 10px 16px 10px 40px; }
.find input::placeholder { color: var(--muted); }
.find input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.find::before { content: ''; position: absolute; left: 15px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); opacity: .6; pointer-events: none;
  background: no-repeat center/15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nomatch { margin: 0; color: var(--muted); }
.store-main.mode-find .sec.empty, .store-main.mode-find .item.miss { display: none; }
body.mode-find .secs { display: none; }
.switch { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.switch button { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 13px; padding: 7px 16px; border-radius: 999px; }
.switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.back { border: 0; background: none; color: var(--fg); font-weight: 600; font-size: 14px; padding: 6px 0; }
.back:hover { text-decoration: underline; }
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.cat { display: grid; gap: 2px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 12px; min-width: 0; transition: border-color .15s; }
.cat:hover { border-color: rgba(255,255,255,.3); }
.cph { display: block; border-radius: 8px; overflow: hidden; background: #fff; margin-bottom: 8px; }
.cph img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 8px; }
.cname { font-weight: 700; font-size: 15px; line-height: 1.3; }
.ccount { font-size: 12px; color: var(--muted); }
.store-main.mode-cats .sec, .store-main.mode-one .sec:not(.on) { display: none; }
body.mode-cats .secs, body.mode-one .secs { display: none; }

/* Booking box */
.side { min-width: 0; }
@media (max-width: 899px) { .side { order: 2; } }
.minicart { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; }
@media (min-width: 900px) { .minicart { position: sticky; top: 72px; } }
.minicart h2 { font-size: 16px; }
.note { margin: 0; font-size: 12px; color: var(--muted); }
.mc-head { display: grid; gap: 2px; }
[data-cart-lines] { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: 13px; }
.line img, .line .noimg { width: 44px; height: 44px; border-radius: 8px; background: #fff; object-fit: contain; }
.line .ln { display: grid; gap: 1px; min-width: 0; }
.line .nm { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-weight: 600; line-height: 1.35; }
.line small { color: var(--muted); font-size: 12px; }
.line .amt { white-space: nowrap; font-weight: 700; }
.line .rm { justify-self: start; background: none; border: 0; padding: 2px 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.line .rm:hover { color: var(--fg); }
.t { display: flex; justify-content: space-between; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; }
.btn { display: block; width: 100%; text-align: center; background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 12px; font-weight: 700; font-size: 14px; text-decoration: none; }
.btn.done { background: var(--ok); color: #06210f; }
.btn:disabled { background: var(--panel2); color: var(--muted); cursor: not-allowed; }

/* Phone booking bar */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(transparent, var(--bg) 30%); }
.stickybar a { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--red); color: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 800; text-decoration: none; }
.stickybar small { display: block; font-weight: 500; font-size: 12px; opacity: .85; }
@media (min-width: 900px) { .stickybar { display: none; } }

/* Item page */
.item-page { padding-block: 18px 80px; display: grid; gap: 18px; }
.ip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 820px) { .ip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; } }
.ip-photos img { width: 100%; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 14px; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 819px) { .ip-photos img { max-width: 300px; } }
.ip-info { display: grid; gap: 14px; align-content: start; }
.ip-info h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.ip-info .meta a { color: var(--fg); }
.big-price { margin: 0; font-size: 24px; font-weight: 800; }
.big-price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.ip-split { margin: -12px 0 0; font-size: 13px; color: var(--muted); }
.ip-split.off { visibility: hidden; } /* keeps its line so nothing jumps when add-ons are picked */
.desc h2 { font-size: 16px; margin-bottom: 6px; }
.desc p { margin: 0 0 10px; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 22px 30px; color: var(--muted); font-size: 13px; }
.site-foot p { margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Booking box money lines */
.sums { display: grid; gap: 6px; }
.sums .r { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sums .r span:last-child { color: var(--fg); }
.hold { margin-top: 6px; padding: 10px 12px; border: 1px dashed rgba(242,178,51,.45); border-radius: 10px; display: grid; gap: 4px; }
.hold .r span:first-child { color: var(--warn); font-weight: 700; }
.stickybar .st-r { text-align: right; }
/* High-value items: renter picks a cover */
.item .ph { position: relative; }
.hv-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(14,14,15,.85); display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px solid rgba(242,178,51,.45); border-radius: 999px; padding: 2px 7px; vertical-align: middle; white-space: nowrap; }
.cover-pick { grid-column: 1 / -1; border: 0; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.cover-pick legend { font-size: 12px; color: var(--warn); font-weight: 700; margin-bottom: 6px; padding: 0; }
.cover-pick label { display: block; cursor: pointer; position: relative; }
.cover-pick input { position: absolute; opacity: 0; pointer-events: none; }
.cover-pick label span { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel2); font-size: 13px; font-weight: 600; }
.cover-pick label small { color: var(--muted); font-weight: 500; font-size: 12px; text-align: right; }
.cover-pick label em { font-style: normal; white-space: nowrap; }
.cover-pick label small i { font-style: normal; white-space: nowrap; display: inline-block; }
.cover-pick input:checked + span { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.cover-pick input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.note.warn { color: var(--warn); }
.hv-box { border: 1px dashed rgba(242,178,51,.45); border-radius: 12px; padding: 12px 14px; font-size: 14px; display: grid; gap: 6px; }
.hv-box p { margin: 0; }
.hv-box ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: var(--muted); }
.hv-box ul b { color: var(--fg); }
.note.dep { font-size: 13px; }
.cover-req { grid-column: 1 / -1; margin: 6px 0 0; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--warn); font-weight: 600; }
.cover-req b { white-space: nowrap; }
/* List your gear (sign-up) */
.join { padding-top: 18px; padding-bottom: 60px; }
.join-head { margin: 14px 0 22px; max-width: 760px; }
.join-head h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
.join-head p { margin: 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.join-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .join-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .join-side { position: sticky; top: 24px; } }
.join-form { display: grid; gap: 16px; min-width: 0; }
.part { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; margin: 0; display: grid; gap: 14px; min-width: 0; }
.part legend { float: left; width: 100%; padding: 0; margin: 0 0 2px; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.part legend b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; }
.part legend + * { clear: both; }
.f { display: grid; gap: 6px; min-width: 0; }
.f > span { font-size: 14px; font-weight: 600; }
.f > span small { font-weight: 500; color: var(--muted); margin-left: 4px; }
.f input, .f select { width: 100%; min-width: 0; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; color: var(--fg); font: 500 16px var(--font); padding: 12px 14px; color-scheme: dark; }
.f input:focus, .f select:focus { outline: 2px solid var(--fg); outline-offset: 1px; }
.f input.bad, .f select.bad { border-color: var(--red); }
.two { display: grid; gap: 14px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input, .tick input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span, .tick input:focus-visible + span::before { outline: 2px solid var(--fg); outline-offset: 2px; }
.drop { position: relative; display: block; border: 1.5px dashed rgba(255,255,255,.25); border-radius: 12px; background: var(--panel2); padding: 22px 16px; text-align: center; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--fg); }
.drop.has { border-style: solid; border-color: var(--ok); }
.drop.bad { border-color: var(--red); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-in { display: grid; gap: 4px; pointer-events: none; }
.drop-in b { font-size: 15px; overflow-wrap: anywhere; }
.drop-in small { color: var(--muted); font-size: 13px; }
.tick { position: relative; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.tick span { display: block; position: relative; padding-left: 30px; line-height: 1.45; }
.tick span::before { content: ''; position: absolute; left: 0; top: 0; width: 20px; height: 20px; box-sizing: border-box; border-radius: 5px; border: 1.5px solid rgba(255,255,255,.35); background: var(--panel2); }
.tick input:checked + span::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 4px var(--panel2); }
.tick.bad span::before { border-color: var(--red); }
.tick a { color: var(--fg); }
.form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(216,25,33,.12); border: 1px solid rgba(216,25,33,.5); color: #ffb3b6; font-size: 14px; }
.join-form .btn { font-size: 16px; padding: 15px; }
.join-done { border: 1px solid rgba(28,208,100,.5); background: rgba(28,208,100,.08); border-radius: 14px; padding: 18px; }
.join-done h2 { margin: 0 0 6px; font-size: 20px; }
.join-done p { margin: 0; color: var(--muted); }
.join-side { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; }
.join-side h2 { margin: 0 0 12px; font-size: 18px; }
.how { list-style: none; counter-reset: how; margin: 0 0 14px; padding: 0; display: grid; gap: 14px; }
.how li { counter-increment: how; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: 14px; }
.how li::before { content: counter(how); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.how b { font-size: 15px; }
.how span { color: var(--muted); text-wrap: pretty; }
.join-side .note a { color: var(--fg); }

.datef .dwrap { position: relative; display: block; }
.datef .dshow { position: absolute; left: 1px; right: 44px; top: 1px; bottom: 1px; display: flex; align-items: center; padding-left: 14px; font: 500 16px var(--font); pointer-events: none; z-index: 1; background: var(--panel2); border-radius: 10px 0 0 10px; white-space: nowrap; overflow: hidden; }
.datef .dshow.empty { color: var(--muted); }
.datef input { cursor: pointer; }
/* Header menu */
.head-end { display: flex; align-items: center; gap: 10px; }
.menu { position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; background: var(--panel2); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.burger, .burger::before, .burger::after { display: block; width: 14px; height: 2px; border-radius: 2px; background: var(--fg); }
.burger { position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { top: 0; transform: rotate(45deg); } .menu[open] .burger::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 420px) { .menu-word { display: none; } .menu summary { padding: 11px 12px; } }
.menu-panel { position: absolute; left: 0; top: calc(100% + 8px); z-index: 50; width: min(260px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 8px; display: grid; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.menu-panel a { text-decoration: none; padding: 10px 12px; border-radius: 9px; font-size: 15px; font-weight: 600; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--panel2); outline: none; }
.menu-h { margin: 8px 12px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.menu-h:first-child { margin-top: 4px; }

/* Store header (from the Figma storefront): cover band, store card, rental terms */
.cover { border-radius: 16px; overflow: hidden; height: 150px; background: var(--panel); }
.cover > img { width: 100%; height: 100%; object-fit: cover; }
.cover.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; background: var(--bg); }
.cover.tiles span { background: #fff; overflow: hidden; }
.cover.tiles img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) { .cover { height: 96px; } .cover.tiles { grid-template-columns: repeat(3, 1fr); } .cover.tiles span:nth-child(n+4) { display: none; } }
.vcard { display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: -36px; position: relative; margin-inline: 10px; }
@media (min-width: 900px) { .vcard { padding: 22px 24px; margin-inline: 24px; margin-top: -56px; } .cover { height: 190px; } }
.vmain { display: grid; gap: 10px; min-width: 0; }
@media (min-width: 900px) { .vmain { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; } .vmain .vend, .vmain .blurb { grid-column: 1; } .vmain .contact { grid-column: 2; grid-row: 1; justify-self: end; } .vmain .rev { grid-column: 2; grid-row: 2; text-align: right; border: 0; padding: 0; } }
@media (max-width: 700px) { .vlogo { width: 48px; height: 48px; border-radius: 12px; } .vlogo.has-img { padding: 7px; } }
.meta .ok { color: var(--ok); font-weight: 600; }
.meta .ok::before { content: '✓ '; }
.vcard .blurb { margin: 0; }
.contact { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact a { text-decoration: none; background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.rev { margin: 0; display: grid; gap: 2px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.rev b { color: var(--fg); font-size: 14px; }
.terms { background: var(--panel2); border-radius: 12px; padding: 12px 16px; }
.terms summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-right: 24px; position: relative; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: '▾'; position: absolute; right: 0; top: 0; color: var(--muted); }
.terms[open] summary::after { content: '▴'; }
.terms summary h2 { font-size: 15px; }
.terms summary span { font-size: 12px; color: var(--muted); }
.terms[open] summary span { display: none; }
.terms dl { margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 18px; }
.terms dl div { display: grid; gap: 1px; align-content: start; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.terms dt { color: var(--muted); font-size: 12px; }
.terms dd { margin: 0; font-weight: 600; }

/* Item card tags (deposit, cover, crew) */
.itags { margin: -2px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.itag { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.itag.warn { color: var(--warn); border-color: rgba(242,178,51,.45); }

/* Top bar (Figma layout): menu + logo left, sections centre, search + booking right */
.head-start { display: flex; align-items: center; gap: 14px; }
.menu summary { background: transparent; padding: 10px 8px; }
.menu .burger, .menu .burger::before, .menu .burger::after { width: 20px; background: var(--red); }
.menu[open] .burger { background: transparent; }
.head-nav a[aria-current] { box-shadow: none; padding-bottom: 0; }
.head-nav a[aria-current]::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 2px; }
.head-end { gap: 6px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--fg); text-decoration: none; }
.icon-btn:hover { background: var(--panel2); }
.icon-btn b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.icon-btn b:empty, .icon-btn b[data-zero] { display: none; }

/* ===== Premium look (28 Nov): fewer boxes, bigger type, soft grey product stages, one accent ===== */
:root { --stage: linear-gradient(180deg, #f4f4f6 0%, #e3e3e7 100%); --line2: rgba(255,255,255,.14); }
body { font-size: 15px; letter-spacing: .005em; -webkit-font-smoothing: antialiased; }
h1, h2 { letter-spacing: -.02em; }

/* Product photos sit on a soft grey stage; white photo backgrounds melt into it. */
.tile, .item .ph, .cph, .ip-photos, .line .lph, .line .noimg { background: var(--stage); }
.tile img, .item .ph img, .cph img, .ip-photos img, .line img { mix-blend-mode: multiply; background: transparent; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 85% 10%, rgba(216,25,33,.16), transparent 65%), radial-gradient(700px 380px at 0% 100%, rgba(255,255,255,.04), transparent 70%), var(--bg); }
.hero-in { display: grid; gap: 28px; padding-block: 18px 40px; }
.hero .crumbs { grid-column: 1 / -1; }
.hero-copy { display: grid; gap: 18px; align-content: center; min-width: 0; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow .vlogo { width: 44px; height: 44px; border-radius: 12px; font-size: 14px; letter-spacing: .02em; }
.eyebrow .vlogo.has-img { padding: 7px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.hero .blurb { margin: 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.55; color: #c9c4cd; max-width: 520px; }
.stats { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; }
.stats li { display: grid; gap: 2px; padding: 2px 22px; border-left: 1px solid var(--line2); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats b { font-size: 17px; font-weight: 700; white-space: nowrap; }
.stats b.ok::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -1px; border-radius: 50%;
  background: var(--fg) no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230e0e0f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.5l2.2 2.2 4.8-5'/%3E%3C/svg%3E"); }
.stats span { font-size: 12px; color: var(--muted); }
.hero .contact a { background: transparent; border: 1px solid var(--line2); padding: 9px 16px; font-size: 13px; }
.hero .contact a:hover { border-color: var(--fg); }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .stats li:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

/* Stage: flagship camera, lens and light */
.stage { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 16 / 11; min-width: 0; }
.stage .tile { border-radius: 18px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.stage .tile:first-child { grid-row: span 2; }
.stage .tile img { width: 86%; height: 86%; object-fit: contain; }
.stage.own { display: block; border-radius: 18px; overflow: hidden; }
.stage.own img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 56px; padding-block: 22px 56px; } }
@media (max-width: 899px) { .stage { aspect-ratio: 16 / 10; } }

/* Rental terms: a clean strip, not a box in a box */
.store-top { padding-block: 26px 8px; gap: 22px; }
.terms { background: transparent; padding: 0; border-radius: 0; }
.terms summary h2 { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.terms dl { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 28px; }
.terms dl div { padding: 12px 0; border-top: 1px solid var(--line2); }
.terms dd { font-size: 14px; }

/* Dates: one calm bar */
.dates { max-width: none; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 6px; gap: 0; }
.dates .d { background: transparent; border-radius: 12px; padding: 12px 44px 12px 18px; }
.dates .d + .d { border-left: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.dates .d:hover { background: var(--panel2); }
.dates .dv { font-size: 17px; }
.len { color: var(--fg); font-weight: 700; padding: 0 18px; }
@media (max-width: 520px) { .dates .d { padding: 12px 12px 12px 16px; } .dates .dv { font-size: 15px; } .dates .d + .d { border-left: 1px solid var(--line); } .len { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; } }

/* Section tabs */
.secs { background: rgba(14,14,15,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.secs a { background: transparent; border-color: var(--line2); padding: 8px 16px; font-weight: 600; }

/* Store body */
.store { gap: 36px; padding-top: 28px; }
@media (min-width: 900px) { .store { grid-template-columns: minmax(0, 1fr) 310px; } }
.store-main { gap: 56px; }
.sec h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; margin-bottom: 18px; }
.sec h2 small { font-size: 13px; letter-spacing: 0; }
.find input, .switch { background: var(--panel); border-color: var(--line2); }
.find input { padding-block: 13px; font-size: 15px; }

/* Item cards: photo, name, price. No outlines. */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.item { background: transparent; border: 0; border-radius: 0; padding: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
.item .ph { border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.item .ph img { padding: 10%; }
.item:hover .ph { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.9); }
.item .body { gap: 6px; }
.item h3 { font-size: 15px; font-weight: 600; }
.item .row { flex-direction: row; align-items: center; margin-top: 4px; }
.price { font-size: 16px; }
.add, .item .add { width: auto; background: transparent; color: var(--fg); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 18px; min-height: 36px; transition: background .15s, border-color .15s; }
.add:hover { background: var(--red); border-color: var(--red); }
.add.done { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.itag { border: 0; padding: 0; font-size: 12px; font-weight: 500; }
.itag.warn { color: var(--warn); }
@media (max-width: 420px) { .item .row { flex-direction: column; align-items: stretch; gap: 8px; } .item .add { width: 100%; } }

/* Category tiles */
.cats { gap: 26px 14px; }
@media (min-width: 1100px) { .cats { gap: 32px 18px; } }
.cat { background: transparent; border: 0; padding: 0; gap: 3px; align-content: start; }
.cph { border-radius: 16px; margin-bottom: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.cph img { padding: 12%; }
.cat:hover .cph { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.9); }
.cname { font-size: 17px; font-weight: 700; }
.ccount { font-size: 13px; }

/* Booking box */
.minicart { background: var(--panel); border: 1px solid var(--line2); border-radius: 18px; padding: 20px; gap: 12px; }
.minicart h2 { font-size: 18px; font-weight: 800; }
.btn { border-radius: 14px; padding: 14px; font-size: 15px; }
.btn:disabled { background: var(--panel2); }

/* Item page */
.item-page { padding-top: 22px; gap: 22px; }
@media (min-width: 820px) { .ip { gap: 64px; } }
.ip-photos { border-radius: 22px; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; }
.ip-photos img { max-width: none; width: 84%; height: 84%; border-radius: 0; }
@media (max-width: 819px) { .ip-photos { aspect-ratio: 4 / 3; } .ip-photos img { max-width: none; } }
.ip-info { gap: 18px; }
.ip-info h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.big-price { font-size: 30px; letter-spacing: -.02em; }
.ip-info .btn { padding: 16px; font-size: 16px; }
.desc { border-top: 1px solid var(--line); padding-top: 18px; }
.desc h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.desc p { color: #c9c4cd; line-height: 1.7; }
.item h3 { min-height: 2.7em; }
.item .body { display: flex; flex-direction: column; }
.item .row { margin-top: auto; }
@media (min-width: 421px) { .item .row { flex-wrap: nowrap; gap: 6px; } .item .add { padding-inline: 14px; } }
.back-link { justify-self: start; display: inline-flex; gap: 10px; align-items: baseline; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--fg); }
.back-link span { color: var(--muted); font-weight: 500; font-size: 13px; }
.back-link span::before { content: '·'; margin-right: 10px; }
.back-link:hover { text-decoration: underline; }
.hero-in { padding-top: 40px; }
@media (min-width: 900px) { .hero-in { padding-top: 56px; } }

/* Item photo slider (28 Nov) */
.gal { min-width: 0; }
.gal-main { position: relative; border-radius: 22px; overflow: hidden; background: var(--stage); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; outline: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { box-shadow: inset 0 0 0 2px #fff; }
/* Photo pinned inside the slide: a % height on a grid child doesn't resolve, so tall square photos overflowed the 4:3 phone frame. */
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; }
.gal-slide img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.92); color: #111; box-shadow: 0 2px 10px rgba(0,0,0,.18); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s, transform .2s; }
.gal-main:hover .gal-nav:not(:disabled), .gal-nav:focus-visible { opacity: 1; }
.gal-nav:hover { transform: scale(1.06); }
@media (hover: none) { .gal-nav:not(:disabled) { opacity: 1; } }
.gal-nav:disabled { opacity: 0; pointer-events: none; }
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.gal-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(14,14,15,.72); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.gal-strip { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.gal-strip::-webkit-scrollbar { display: none; }
.gal-strip.fade-r { mask-image: linear-gradient(90deg, #000 85%, transparent); }
.gal-strip.fade-l { mask-image: linear-gradient(90deg, transparent, #000 15%); }
.gal-strip.fade-l.fade-r { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.gal-th { flex: 0 0 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; background: var(--stage); cursor: pointer; opacity: .55; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; overflow: hidden; }
.gal-th img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.gal-th:hover { opacity: .85; }
.gal-th[aria-current] { opacity: 1; outline-color: var(--red); }
@media (max-width: 819px) { .gal-track { aspect-ratio: 4 / 3; } .gal-nav { width: 34px; height: 34px; } .gal-nav svg { width: 18px; height: 18px; } .gal-th { flex-basis: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .gal-track, .gal-strip { scroll-behavior: auto; } }

/* Booking box thumbnail: the grey stage sits on a wrapper so the photo can blend into it (blending on the dark panel turned it black). */
.line .lph { display: block; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; }
.line .lph img { width: 100%; height: 100%; padding: 3px; border-radius: 0; object-fit: contain; }

/* Cover choices: let the borders and focus ring show fully at the edges (the fieldset was clipping them). */
.cover-pick { overflow: visible; padding: 2px; margin-inline: -2px; }

/* Date bar buttons + our own date picker (28 Nov) */
.dates .d { font: inherit; color: inherit; text-align: left; border: 0; width: 100%; }
.dates .d:first-child { border-radius: 12px 0 0 12px; }
.dates .d.on { background: var(--panel2); box-shadow: inset 0 -2px 0 var(--red); }
.dates .d:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.cal-shade { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); }
.cal { position: absolute; z-index: 61; background: var(--panel); border: 1px solid var(--line2, rgba(255,255,255,.14)); border-radius: 18px; padding: 16px 18px 14px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.cal[hidden], .cal-shade[hidden] { display: none; }
.cal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal-step { margin: 0; font-weight: 700; font-size: 15px; }
.cal-x { border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.cal-x:hover { background: var(--panel2); color: var(--fg); }
.cal-nav { position: relative; height: 0; }
.cal-nav button { position: absolute; top: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--fg); font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 2px; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-nav [data-cal-move="-1"] { left: 0; } .cal-nav [data-cal-move="1"] { right: 0; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.cal-m h3 { margin: 0 0 10px; text-align: center; font-size: 15px; line-height: 54px; height: 54px; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-w span { text-align: center; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; padding-bottom: 6px; }
.cal-g button { aspect-ratio: 1; border: 0; background: none; color: var(--fg); font: 600 14px var(--font); cursor: pointer; border-radius: 10px; position: relative; font-variant-numeric: tabular-nums; }
.cal-g button:hover:not(:disabled) { background: var(--panel2); }
.cal-g button:disabled { color: rgba(255,255,255,.22); cursor: default; }
.cal-g button.today::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--muted); }
/* :not(:disabled) keeps these above the hover style */
.cal-g button.mid:not(:disabled) { background: rgba(216,25,33,.16); border-radius: 0; }
.cal-g button.start:not(:disabled), .cal-g button.end:not(:disabled) { background: var(--red); color: #fff; }
.cal-g button.start { border-radius: 10px 0 0 10px; }
.cal-g button.end { border-radius: 0 10px 10px 0; }
.cal-g button.start.solo { border-radius: 10px; }
.cal-g button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.cal-foot p { margin: 0; color: var(--muted); font-size: 13px; }
.cal-done { border: 0; background: var(--red); color: #fff; font: 700 14px var(--font); padding: 10px 22px; border-radius: 12px; cursor: pointer; }
.cal.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; border-radius: 20px 20px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); max-height: 88vh; overflow-y: auto; animation: calup .22s ease-out; }
.cal.sheet .cal-months { grid-template-columns: 1fr; }
.cal.sheet .cal-foot { flex-direction: column; align-items: stretch; text-align: center; }
.cal.sheet .cal-done { padding: 14px; font-size: 15px; }
@keyframes calup { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cal.sheet { animation: none; } }

/* Item specs: grouped tables, "In the box" beside them on wide screens. */
.summary { color: #c9c4cd; line-height: 1.6; margin: 0; }
.specs { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 32px; }
@media (min-width: 820px) { .specs { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; } }
.specs h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.specs h3 { font-size: 18px; font-weight: 700; margin: 22px 0 10px; }
.specs dl { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.specs dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 12px 16px; }
.specs dl > div:nth-child(odd) { background: var(--panel); }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; color: var(--fg); }
@media (max-width: 520px) { .specs dl > div { grid-template-columns: 1fr; gap: 2px; } }
.inbox ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.inbox li { position: relative; padding-left: 26px; line-height: 1.45; }
.inbox li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (min-width: 820px) { .inbox { align-self: start; position: sticky; top: 100px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; } }
.specs dd, .specs dt, .inbox li { text-wrap: pretty; }
.inbox .not-h { margin-top: 22px; }
.inbox ul.not li { color: var(--muted); }
.inbox ul.not li::before { content: "×"; border: 0; transform: none; width: auto; height: auto; top: -1px; left: 3px; font-size: 18px; line-height: 1; color: var(--muted); }

/* Add-ons on an item page (batteries, cards...): each row has a − / + count that goes straight into the booking. */
.addons { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); overflow: hidden; }
.addons h2 { padding: 12px 14px 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.addons .note { padding: 8px 14px 12px; font-size: 12px; }
.ao { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.ao:first-of-type { border-top: 0; }
.ao-ph { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 9px; background: var(--stage, #f0f0f2); display: grid; place-items: center; overflow: hidden; }
.ao-ph img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.ao-nm { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; color: var(--fg); text-decoration: none; }
.ao-nm small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.ao-nm:hover { text-decoration: underline; }
.ao-st { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.ao-st button { width: 36px; height: 36px; background: var(--panel2); color: var(--fg); border: 0; font-size: 18px; cursor: pointer; }
.ao-st button:disabled { color: var(--muted); opacity: .5; cursor: default; }
.ao-st output { width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ao.on .ao-st { border-color: var(--red); }
