/* Lanzarote Buggy — "Picón y óxido": whitewash paper, volcanic-ash ink, rust CTA, vineyard green accents. */
:root {
  --paper: #f6f3ee;
  --card: #ffffff;
  --sand: #efe7dc;
  --ink: #1d1a17;
  --ash: #3a3430;
  --muted: #6b625a;
  --line: #e2d9cd;
  --line-strong: #cbbfae;
  --rust: #d4471b;
  --rust-deep: #a8340f;
  --rust-wash: #fbe9e1;
  --vine: #4f6b3a;
  --vine-wash: #e9efe2;
  --gold: #e9a23b;
  --head: "Manrope", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 26, 23, 0.06), 0 6px 20px rgba(29, 26, 23, 0.06);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
h1 { margin: 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; }
h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem); line-height: 1.2; }
h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.kicker { margin: 0 0 10px; color: var(--rust-deep); font: 700 0.8rem/1.2 var(--head); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 0; border-radius: 999px; background: var(--rust); color: #fff; font: 700 0.95rem/1.1 var(--head); text-decoration: none; cursor: pointer;
  box-shadow: 0 2px 0 var(--rust-deep); transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--rust-deep); }
.btn:active { transform: translateY(1px); }
.btn--big { min-height: 52px; padding: 14px 24px; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.textlink { color: var(--rust-deep); font-weight: 700; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(246, 243, 238, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.bar__row { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand__mark { width: 38px; height: 38px; color: #fff; }
.brand__mark rect { fill: var(--ink); }
.brand__mark path:first-of-type, .brand__mark circle { stroke: #fff; }
.brand__mark path:nth-of-type(2) { stroke: var(--gold); }
.brand__name { margin: 0; font: 700 1.08rem/1 var(--head); letter-spacing: -0.01em; }
.brand__name b { color: var(--rust); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav__top, .dd > summary { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font: 700 0.95rem/1 var(--head); text-decoration: none; cursor: pointer; white-space: nowrap; }
.nav__top:hover, .dd > summary:hover, .dd[open] > summary { background: var(--sand); }
.nav__top[aria-current="page"] { color: var(--rust-deep); }
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.dd[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.dd__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; display: grid; min-width: 260px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(29, 26, 23, 0.14); }
.dd__panel a { padding: 9px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.dd__panel a:hover, .dd__panel a[aria-current] { background: var(--rust-wash); color: var(--rust-deep); }
.dd--lang { margin-left: auto; }
.dd--lang > summary { border: 1px solid var(--line-strong); }
.dd--lang .dd__panel { left: auto; right: 0; min-width: 190px; }
.dd--lang b { display: inline-block; width: 28px; color: var(--muted); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 400px); gap: 28px 44px; align-items: start; padding: 26px 0 8px; }
.hero--solo { grid-template-columns: minmax(0, 820px); }
.hero__copy { min-width: 0; padding-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; color: var(--muted); font-size: 0.86rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rust-deep); }
.lede { max-width: 62ch; margin: 16px 0 0; font-size: 1.12rem; line-height: 1.55; color: var(--ash); }
.lede strong { color: var(--ink); }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; max-width: 640px; margin: 22px 0 0; padding: 0; list-style: none; }
.quick li { display: flex; flex-direction: column; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.quick small { color: var(--muted); font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.quick b { font: 800 1.35rem/1.2 var(--head); }
.quick span { color: var(--muted); font-size: 0.84rem; line-height: 1.3; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--ash); font-size: 0.92rem; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; background: var(--vine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.site { margin: 16px 0 0; }
.site a { color: var(--rust-deep); font-weight: 700; }

/* home base picker */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-top: 24px; }
.picks__label { grid-column: 1 / -1; margin: 0; font: 700 0.8rem/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pick { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.pick:hover { border-color: var(--rust); box-shadow: var(--shadow); }
.pick b { font: 800 1rem/1.25 var(--head); }
.pick span { color: var(--muted); font-size: 0.86rem; line-height: 1.35; }
.pick em { margin-top: 4px; color: var(--rust-deep); font-style: normal; font-weight: 700; font-size: 0.9rem; }

/* ---------- booking ticket (GYG availability widget) ---------- */
.ticket { position: sticky; top: 84px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); scroll-margin-top: 84px; }
.ticket__top { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--ink); color: #fff; font: 700 0.8rem/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; }
.ticket__dot { width: 8px; height: 8px; border-radius: 50%; background: #5ad17a; box-shadow: 0 0 0 4px rgba(90, 209, 122, 0.25); }
.ticket__head { padding: 14px 16px 4px; }
.ticket__name { margin: 0; font: 800 1.02rem/1.3 var(--head); }
.ticket__meta { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.ticket__body { position: relative; min-height: 430px; padding: 4px 6px 0; }
.ticket__body.is-live { min-height: 0; }
.ticket__wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; color: var(--muted); font-size: 0.92rem; text-align: center; background: repeating-linear-gradient(90deg, #fff 0 40%, #f6f2ec 50%, #fff 60% 100%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.is-live .ticket__wait { display: none; }
@keyframes shimmer { to { background-position: -150% 0; } }
.ticket__foot { margin: 0; padding: 8px 16px 14px; font-size: 0.86rem; }
.ticket__foot a { color: var(--rust-deep); font-weight: 700; text-decoration: none; }
.ticket--list .ticket__body { min-height: 360px; }

/* ---------- product shelf ---------- */
.shelf { margin-top: 40px; }
.shelf__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.shelf__head h2 { margin: 0; }
.shelf__count { color: var(--muted); font-weight: 600; }
.shelf__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 16px 0 4px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chips__label { margin-right: 4px; color: var(--muted); font: 700 0.76rem/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; }
.chips button { min-height: 36px; padding: 6px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 0.88rem/1 var(--body); cursor: pointer; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.sort select { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; }
.shelf__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; margin-top: 16px; }
.shelf__grid--few { grid-template-columns: repeat(auto-fill, minmax(258px, 340px)); }
.shelf__none { color: var(--muted); }
.note { margin: 12px 0 0; color: var(--muted); font-size: 0.86rem; }
.tile { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.15s, border-color 0.15s; }
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.tile[hidden] { display: none; }
.tile__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sand) linear-gradient(135deg, #e7dccd, #d8c8b4); }
.tile__media { overflow: hidden; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__fmt { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(29, 26, 23, 0.82); color: #fff; font: 700 0.75rem/1.2 var(--head); }
.tile__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 14px 12px; }
.tile__where { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.tile__where a { color: inherit; }
.tile__name { font-size: 1.05rem; }
.tile__name a { text-decoration: none; }
.tile__name a:hover { color: var(--rust-deep); }
.tile__stats { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; color: var(--muted); font-size: 0.86rem; }
.star { color: var(--ink); font-weight: 700; }
.star::first-letter { color: var(--gold); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--vine-wash); color: var(--vine); font-size: 0.78rem; font-weight: 700; font-style: normal; }
.tile__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.tile__price, .offer__price { display: flex; flex-direction: column; margin: 0; line-height: 1.25; }
.tile__price small, .offer__price small { color: var(--muted); font-size: 0.78rem; }
.tile__price b, .offer__price b { font: 800 1.4rem/1.15 var(--head); }
.tile__price__each, .offer__price__each { color: var(--vine) !important; font-weight: 700; }
.tile__guide { color: var(--muted); font-size: 0.84rem; font-weight: 600; text-decoration: none; }
.tile__guide:hover { color: var(--rust-deep); }

/* ---------- blocks ---------- */
.block { margin-top: 48px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { display: grid; border-top: 1px solid var(--line); }
.stack a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.stack a::after { content: "→"; color: var(--rust); }
.stack a:hover { color: var(--rust-deep); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { padding: 9px 15px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; text-decoration: none; }
.pills a:hover { border-color: var(--rust); color: var(--rust-deep); }
.mapcard { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.imap { display: block; width: 100%; max-width: 360px; height: auto; margin-inline: auto; overflow: visible; }
.mapcard--lg .imap { max-width: 460px; }
.imap__land { fill: #d9cbb8; stroke: #bba78f; stroke-width: 1; }
.imap__n { fill: var(--muted); font: 700 11px var(--head); }
.pin circle { fill: var(--rust); stroke: #fff; stroke-width: 2.5; }
.pin text { fill: var(--ink); font: 700 11px var(--head); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.pin:hover circle, .pin.is-on circle { fill: var(--ink); }
.routes { display: grid; gap: 8px; }
.route { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--rust); border-radius: 10px; text-decoration: none; }
.route:hover { box-shadow: var(--shadow); }
.route b { font-family: var(--head); }
.route span { color: var(--muted); font-size: 0.9rem; }
.route--teguise { border-left-color: var(--vine); }
.route--carmen { border-left-color: #2f6f8f; }
.route--lanzabuggy { border-left-color: var(--gold); }
.route--blanca { border-left-color: var(--ink); }
.stops { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.stops li { counter-increment: s; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.stops li::before { content: counter(s); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--rust); color: #fff; font-size: 0.75rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0; }
.facts div { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.facts dt { color: var(--muted); font: 700 0.78rem/1.2 var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-weight: 600; line-height: 1.4; }
.vsgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs { padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--rust); border-radius: 14px; }
.vs--quad { border-top-color: var(--ink); }
.vs ul { margin: 0; padding-left: 20px; }
.ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 14px; }
.op { display: flex; flex-direction: column; gap: 6px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.op[hidden] { display: none; }
.op h3 a { text-decoration: none; }
.op__kind, .op__stat { margin: 0; color: var(--muted); font-size: 0.86rem; }
.op .textlink { margin-top: auto; }
.legal .lead { max-width: 62ch; font-size: 1.1rem; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 52px; }
.toc { position: sticky; top: 92px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 0.9rem; }
.toc p { margin: 0 0 8px; font: 700 0.76rem/1 var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--rust-deep); }
.prose { grid-column: 2; max-width: 74ch; min-width: 0; }
.article > .prose:first-child { grid-column: 1 / -1; }
.prose > p:first-child { font-size: 1.08rem; }
.prose h2 { margin: 1.9em 0 0.6em; scroll-margin-top: 90px; }
.prose h3 { margin: 1.5em 0 0.4em; font-size: 1.15rem; }
.prose a { color: var(--rust-deep); text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 4px 0; }
.tablewrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.prose th { background: var(--sand); text-align: left; font-family: var(--head); font-size: 0.86rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.tip { margin: 20px 0; padding: 14px 18px; background: var(--vine-wash); border-left: 4px solid var(--vine); border-radius: 0 12px 12px 0; }
.tip p { margin: 0.3em 0; }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px 18px; align-items: center; margin: 28px 0; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.offer__img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.offer__kicker { margin: 0; color: var(--vine); font: 700 0.76rem/1.2 var(--head); letter-spacing: 0.06em; text-transform: uppercase; }
.offer__name { margin: 2px 0; font: 800 1.02rem/1.3 var(--head); }
.offer__meta { margin: 0; color: var(--muted); font-size: 0.86rem; }
.offer__meta a { color: inherit; }
.prose .offer .btn { color: #fff; }
.faq details { margin: 8px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { padding: 14px 44px 14px 16px; position: relative; font: 700 1rem/1.4 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; color: var(--rust); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; }
.stamp { margin-top: 28px; color: var(--muted); font-size: 0.86rem; }

/* ---------- footer + dock ---------- */
.foot { margin-top: 72px; padding: 40px 0 28px; background: var(--ink); color: #e9e2d8; }
.foot a { color: #e9e2d8; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot__grid > div { display: flex; flex-direction: column; gap: 6px; }
.foot .brand__name { color: #fff; font-size: 1.2rem; }
.foot__note { margin: 6px 0 0; color: #bfb5a8; font-size: 0.88rem; line-height: 1.5; }
.foot__h { margin: 0 0 4px; color: #fff; font: 700 0.78rem/1 var(--head); letter-spacing: 0.1em; text-transform: uppercase; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #3b3530; color: #bfb5a8; font-size: 0.86rem; }
.foot__base nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dock { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__top, .dd > summary { padding: 9px 9px; font-size: 0.9rem; }
  .article { grid-template-columns: 1fr; }
  .toc { position: static; }
  .prose { grid-column: 1; }
}
@media (max-width: 960px) {
  .bar { backdrop-filter: none; background: var(--paper); }
  .hero { grid-template-columns: 1fr; }
  .ticket { position: static; max-width: 560px; }
  .split, .split--3 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .burger { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); cursor: pointer; }
  .burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
  .burger span:first-child::before { position: absolute; top: -6px; }
  .burger span:first-child::after { position: absolute; top: 6px; }
  .dd--lang { margin-left: 0; }
  .nav { position: fixed; inset: 68px 0 0 0; z-index: 29; display: none; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 14px 16px 40px; overflow-y: auto; background: var(--paper); }
  .nav.is-open { display: flex; }
  .nav .dd__panel { position: static; min-width: 0; margin: 4px 0 8px; box-shadow: none; }
  .nav__top, .nav .dd > summary { padding: 14px 12px; font-size: 1.05rem; justify-content: space-between; background: var(--card); border: 1px solid var(--line); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 16px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .shelf__tools { padding: 10px; }
  .sort { margin-left: 0; }
  .offer { grid-template-columns: 84px minmax(0, 1fr); }
  .offer__img { width: 84px; height: 70px; }
  .offer__price { grid-column: 1 / 2; }
  .offer .btn { grid-column: 2; justify-self: end; }
  .vsgrid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .tablewrap table { font-size: 0.88rem; }
  body.has-dock { padding-bottom: 80px; }
  .dock { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25; }
  .dock .btn { width: 100%; box-shadow: 0 8px 24px rgba(29, 26, 23, 0.25); }
  .dock[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticket__wait { animation: none; }
}
