/* Autonoleggio Cupido — the wedding-day journey planner. White page, navy ink, one line colour (magenta-red) for the route. Flat. */
:root {
  --paper: #FDFDFC; --ink: #142246; --ink2: #44506E; --ink3: #626C89; --rule: #E3E6ED; --rule2: #C5CAD7;
  --line: #D3114F; --line-d: #A80D3F; --tint: #FCEBF1; --wash: #F2F4F8;
  --ease: cubic-bezier(.16, 1, .3, 1); --quart: cubic-bezier(.25, 1, .5, 1);
  --sans: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif; --mono: 'Overpass Mono', ui-monospace, Menlo, monospace;
  --gut: 32px; --max: 1440px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); font-feature-settings: 'tnum' 0; overflow-x: hidden; }
::selection { background: var(--tint); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--line); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- top bar ---------- */
.bar { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: 14px var(--gut); border-bottom: 1px solid var(--rule); }
.brand { display: block; line-height: 0; }
.brand img { height: 48px; width: auto; }
.bar-meta { margin: 0; font-size: 14px; color: var(--ink3); }
.bar-tel { text-decoration: none; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: baseline; }
.bar-tel .mono { font-size: 14px; letter-spacing: .02em; }
.bar-tel:hover .mono { color: var(--line-d); }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 5px 10px; font: 700 12px var(--mono); letter-spacing: .08em; cursor: pointer; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- the search head: the visitor's own places ---------- */
.head { max-width: var(--max); margin: 0 auto; padding: 44px var(--gut) 32px; }
.head-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 32px; align-items: end; margin-bottom: 36px; }
.h-title { margin: 0; font-size: clamp(50px, 8.4vw, 132px); line-height: .86; font-weight: 700; letter-spacing: -.048em; }
.h-title span { display: block; }
.h-title span + span { padding-left: .9em; }
.js .h-title span { opacity: 0; transform: translateY(.18em); }
.ready .h-title span { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.ready .h-title span + span { transition-delay: .12s; }
.head-sub { margin: 0 0 6px; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 40ch; }

.places { display: grid; grid-template-columns: minmax(0, 1.15fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; }
.pf { background: var(--wash); border-bottom: 3px solid var(--ink); border-radius: 6px 6px 0 0; padding: 12px 14px 10px; min-width: 0; transition: border-color .3s var(--quart), background-color .3s var(--quart); }
.pf:focus-within { border-bottom-color: var(--line); background: #FFF6F9; }
.pf-top { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.code { font: 700 11px/1 var(--mono); letter-spacing: .1em; color: var(--line-d); border: 1.5px solid currentColor; border-radius: 3px; padding: 4px 5px 3px; flex: none; }
.pf-l { font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.seg { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 2px 0; font-size: 13.5px; font-weight: 500; color: var(--ink3); cursor: pointer; border-bottom: 2px solid transparent; }
.seg button[aria-checked="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.pf-in { display: block; width: 100%; border: 0; background: transparent; padding: 8px 0 4px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); outline: none; text-overflow: ellipsis; }
.pf-in::placeholder { color: #8A93AB; font-weight: 400; }
.pf-t { display: flex; align-items: center; gap: 8px; font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.pf-t input { border: 0; background: transparent; font: 600 14px var(--mono); color: var(--ink); padding: 2px 0; min-width: 0; }
.pf-join { position: relative; }
.pf-join::before { content: ''; position: absolute; left: 0; right: 10px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--line); }
.pf-join::after { content: ''; position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 3px solid var(--line); background: var(--paper); border-radius: 50%; }

/* ---------- the plan: list of ways + line diagram ---------- */
.plan { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: 'res sch'; }
.results { grid-area: res; min-width: 0; padding: 0 44px 40px 0; }
.schema { grid-area: sch; min-width: 0; border-left: 1px solid var(--rule); padding-left: 44px; }
.sc-in { position: sticky; top: 0; padding: 30px 0 32px; }

.res-head { padding: 30px 0 18px; border-bottom: 2px solid var(--ink); }
.res-title { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.rt-ft { font-weight: 400; color: var(--ink3); }
.res-price { margin: 8px 0 0; font-size: 15px; color: var(--ink2); }
.res-price b { color: var(--ink); }

.ways { list-style: none; margin: 0; padding: 0; }
.way { border-bottom: 1px solid var(--rule); }
.js .way { opacity: 0; transform: translateY(12px); }
.ready .way { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(var(--i) * 60ms + 260ms), transform .7s var(--ease) calc(var(--i) * 60ms + 260ms); }
.way-b { width: 100%; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto 24px; gap: 20px; align-items: center; padding: 22px 10px 22px 6px; border: 0; background: none; text-align: left; cursor: pointer; transition: background-color .25s var(--quart); }
.way-b:hover { background: var(--wash); }
.badge { display: inline-grid; place-items: center; min-width: 50px; height: 30px; padding: 0 8px; border-radius: 4px; background: var(--ink); color: #fff; font: 700 13px/1 var(--mono); letter-spacing: .06em; justify-self: start; }
.badge.big { min-width: 64px; height: 40px; font-size: 15px; }
.badge.sm { min-width: 34px; height: 22px; font-size: 11px; vertical-align: 1px; margin-right: 4px; }
.way-b:hover .badge, .way.is-on .badge { background: var(--line); }
.way-m { min-width: 0; }
.way-n { font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.way-s { font-size: 15px; color: var(--ink3); }
.way-c { display: block; margin-top: 5px; font-size: 14px; color: var(--ink2); line-height: 1.5; }
.way-c i { font-style: normal; color: var(--rule2); margin: 0 .1em 0 .5em; }
.way-c .car { white-space: nowrap; }
.way-p { text-align: right; font-size: 18px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.way-p sup { font-size: 10px; color: var(--line-d); margin-left: 1px; }
.way-p small { display: block; font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); margin-top: 2px; }
.ask-p { font-size: 16px; font-weight: 600; color: var(--ink2); }
.way-go { width: 11px; height: 11px; border-top: 2.5px solid var(--ink3); border-right: 2.5px solid var(--ink3); transform: rotate(45deg); transition: transform .35s var(--ease), border-color .2s; }
.way-b:hover .way-go { transform: translateX(4px) rotate(45deg); border-color: var(--line); }
.ways-fn { margin: 14px 0 0; font-size: 13px; color: var(--ink3); max-width: 70ch; }
.ways-fn sup { color: var(--line-d); font-weight: 700; }

/* detail: the legs of the chosen way on a vertical line */
.detail { padding-top: 6px; }
.back { border: 0; background: none; padding: 16px 0 10px; font: 700 13px var(--mono); letter-spacing: .04em; color: var(--ink); cursor: pointer; }
.back:hover { color: var(--line-d); }
.dt-h { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 4px 0; align-items: start; padding: 8px 0 18px; }
.dt-h .badge { margin-top: 6px; background: var(--line); }
.dt-n { margin: 0; font-size: 36px; line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.dt-n span { font-size: 20px; font-weight: 400; color: var(--ink3); letter-spacing: -.01em; }
.dt-l { margin: 8px 0 0; color: var(--ink2); }
.dt-f { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.dt-f div { border-top: 1px solid var(--rule); padding: 10px 0 11px; }
.dt-f div:first-child { grid-column: 1 / -1; }
.dt-f dt { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.dt-f dd { margin: 3px 0 0; font-size: 15px; }

.itin { list-style: none; margin: 30px 0 8px; padding: 0; }
.itin > li { display: grid; grid-template-columns: 58px 40px minmax(0, 1fr); }
.st-t { font-size: 15px; font-weight: 600; text-align: right; padding-top: 3px; color: var(--ink); }
.st:not(.is-on) .st-t { color: var(--ink3); }
.rail { position: relative; }
.rail::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--line); }
.itin > li:first-child .rail::before { top: 12px; }
.itin > li:last-child .rail::before { bottom: auto; height: 12px; }
.st.is-opt .rail::before { background: repeating-linear-gradient(to bottom, var(--line) 0 7px, transparent 7px 13px); top: 0; height: 12px; }
.ring { position: absolute; left: 50%; top: 3px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 4px solid var(--rule2); background: var(--paper); z-index: 1; }
.st.is-on .ring { border-color: var(--line); }
.st.is-on:not(.is-opt) .ring::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.st.is-opt .ring { border-style: dashed; }
.st-b { padding: 0 0 26px 6px; min-width: 0; }
.st-h { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.st-h b { font-size: 18px; letter-spacing: -.01em; }
.st-h em { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); font-style: normal; }
.st-v { display: block; margin-top: 4px; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.st-v.is-empty { font-size: 15px; font-style: italic; color: var(--ink3); font-weight: 400; }
.st-n { list-style: none; margin: 8px 0 0; padding: 0; }
.st-n li { position: relative; padding-left: 18px; font-size: 15px; color: var(--ink2); margin: 2px 0; }
.st-n li::before { content: ''; position: absolute; left: 0; top: .72em; width: 9px; height: 2px; background: var(--line); }
.leg .lg-x { margin: 0; padding: 2px 0 22px 6px; font: 600 12.5px/1.5 var(--mono); color: var(--line-d); letter-spacing: .01em; }
.tick { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.tick input { appearance: none; -webkit-appearance: none; flex: none; width: 19px; height: 19px; margin: 1px 0 0; border: 2px solid var(--ink); border-radius: 3px; background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.tick input::after { content: ''; width: 9px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.tick input:checked { background: var(--line); border-color: var(--line); }
.tick input:checked::after { opacity: 1; }
.itin > li { animation: rise .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* notes and request */
.sec-h { margin: 0; padding-top: 12px; border-top: 2px solid var(--ink); font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.notes { margin-top: 52px; }
.nt { margin: 6px 0 0; }
.nt div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.nt dt { font-size: 14px; font-weight: 700; }
.nt dd { margin: 0; font-size: 15px; color: var(--ink2); }

/* fleet photos (from the firm's matrimonio.com listing): the opened way shows its named cars; the fleet note shows the rest */
.dt-ph { padding: 0 0 18px; }
.dt-ph-k { margin: 0 0 8px; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.dt-ph ul, .nt-ph { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dt-ph ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nt-ph { grid-template-columns: repeat(3, minmax(0, 150px)); margin-top: 12px; gap: 12px; }
.dt-ph figure, .nt-ph figure { margin: 0; }
.dt-ph img, .nt-ph img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px 6px 0 0; border-bottom: 3px solid var(--ink); background: var(--wash); }
.dt-ph figcaption { margin-top: 7px; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.nt-ph figcaption { margin-top: 5px; font-size: 12.5px; color: var(--ink3); line-height: 1.35; }
.nt-src { margin: 12px 0 0; font-size: 13px; color: var(--ink3); }

.ask { margin-top: 56px; scroll-margin-top: 16px; }
.ask-lead { margin: 14px 0 0; max-width: 62ch; color: var(--ink2); }
.ticket { margin: 18px 0 22px; padding: 18px 20px; background: var(--wash); border-left: 4px solid var(--line); font: 400 13px/1.7 var(--mono); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.req-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); gap: 16px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld span { font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.fld input { width: 100%; min-width: 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 4px 4px 0 0; background: var(--wash); padding: 11px 12px; font-size: 17px; outline: none; transition: border-color .25s var(--quart), background-color .25s var(--quart); }
.fld input:focus { border-bottom-color: var(--line); background: #FFF6F9; }
.fld input::placeholder { color: #8A93AB; }
.comply { margin: 18px 0 0; font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.comply::before { content: ''; flex: none; width: 10px; height: 10px; border: 3px solid var(--line); border-radius: 50%; transform: translateY(1px); }
.req-err { margin: 10px 0 0; color: var(--line-d); font-weight: 600; }
.req-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.req-ok { color: var(--line-d); font-weight: 600; font-size: 15px; }
.req-send { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 2px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s var(--quart), color .2s var(--quart), border-color .2s var(--quart); }
.btn:hover { background: var(--ink); color: #fff; }
.btn-main { background: var(--ink); color: #fff; }
.btn-main:hover { background: var(--line); border-color: var(--line); }
.req.is-sent .req-send .btn { border-color: var(--line); }

/* the line diagram */
.sc-head { border-top: 2px solid var(--ink); padding-top: 12px; }
.sc-title { margin: 0; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sc-way { margin: 8px 0 6px; font-size: 15px; color: var(--ink2); min-height: 1.5em; }
.sc-way b { color: var(--ink); }
.sc-scroll { min-width: 0; }
.sc-svg { display: block; max-width: none; }
.sg { stroke: var(--rule2); stroke-dasharray: 1 11; transition: stroke .5s var(--quart); }
.sg.is-live { stroke: var(--line); stroke-dasharray: none; }
.sg.is-live.is-opt { stroke-dasharray: 14 10; stroke-linecap: butt; }
.sr { fill: var(--paper); stroke: var(--rule2); }
.sr.is-on { stroke: var(--line); }
.sr.is-opt:not(.is-on) { stroke-dasharray: 4 4; }
.sr.is-new { animation: pop .7s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.labs text { font-family: var(--sans); }
.lb-c { font-family: var(--mono); font-weight: 700; letter-spacing: .08em; fill: var(--line-d); }
.lb-n { font-weight: 700; fill: var(--ink); }
.lb-v { fill: var(--ink2); }
.lb-v.is-empty { fill: var(--ink3); font-style: italic; }
.sc-note { margin: 10px 0 0; font-size: 13px; color: var(--ink3); max-width: 46ch; }

/* colophon + seller block: the line's terminus */
.colophon { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) 30px; font-size: 13px; color: var(--ink3); }
.colophon a { color: var(--ink); }
footer.seller { position: relative; border-top: 4px solid var(--line); margin-top: 16px; padding: 34px var(--gut) 34px; color: var(--ink); background: var(--paper); font-family: var(--sans); }
footer.seller::before { content: ''; position: absolute; top: -14px; left: var(--gut); width: 24px; height: 24px; border-radius: 50%; border: 4px solid var(--line); background: var(--paper); box-sizing: border-box; }
footer.seller .seller-in { max-width: calc(var(--max) - 2 * var(--gut)); }
footer.seller b { font-family: var(--mono); color: var(--line-d); opacity: 1; letter-spacing: .12em; }
footer.seller address, footer.seller div { color: var(--ink2); }
footer.seller strong { color: var(--ink); }

/* ---------- legal pages (privacy, terms, cookie, impressum) ---------- */
.docbody .dochead { max-width: 860px; margin: 0 auto; padding: 22px 24px 14px; border-bottom: 4px solid var(--line); position: relative; }
.docbody .dochead img { height: 40px; width: auto; display: block; }
.doc { max-width: 860px; margin: 0 auto; padding: 28px 24px 64px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; letter-spacing: -.035em; margin: 18px 0 14px; }
.doc h2 { font-size: 20px; letter-spacing: -.01em; margin: 34px 0 8px; padding-top: 12px; border-top: 2px solid var(--ink); }
.doc a { color: var(--line-d); }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 12px 0; }
.doc th { text-align: left; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); border-bottom: 2px solid var(--ink); padding: 8px; vertical-align: bottom; }
.doc td { text-align: left; border-bottom: 1px solid var(--rule); padding: 8px; vertical-align: top; }
.docbody .ck-page button { border-radius: 4px; border-width: 2px; font-family: var(--sans); }
.docbody .ck-page button:hover { background: var(--ink); color: #fff; }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--wash); padding: 1px 4px; border-radius: 3px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .places { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); row-gap: 14px; }
  .places .pf-join:nth-of-type(2) { display: none; }
  .bar-meta { display: none; }
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .bar-tel { justify-self: end; }
}
@media (max-width: 900px) {
  :root { --gut: 16px; }
  .head { padding-top: 30px; }
  .head-top { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .h-title span + span { padding-left: .5em; }
  .places { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .places .pf-join, .places .pf-join:nth-of-type(2) { display: block; height: 22px; }
  .pf-join::before { left: 28px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; margin: 0; }
  .pf-join::after { display: none; }
  .plan { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'sch' 'res'; }
  .schema { border-left: 0; padding-left: 0; }
  .sc-in { position: static; padding: 8px 0 8px; }
  .sc-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .results { padding-right: 0; }
  .res-title { font-size: 25px; }
  .way-b { grid-template-columns: 54px minmax(0, 1fr) 16px; gap: 6px 14px; padding: 18px 4px; }
  .way-p { grid-column: 2; grid-row: 2; text-align: left; font-size: 16px; }
  .way-p small { display: inline; margin-left: 8px; }
  .way-go { grid-column: 3; grid-row: 1 / span 2; }
  .dt-h { grid-template-columns: 1fr; }
  .dt-h .badge { margin: 0 0 10px; }
  .dt-n { font-size: 30px; }
  .dt-f { grid-template-columns: 1fr; }
  .itin > li { grid-template-columns: 46px 34px minmax(0, 1fr); }
  .st-t { font-size: 13px; }
  .nt div { grid-template-columns: 1fr; }
  .dt-ph ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .nt-ph { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .req-grid { grid-template-columns: 1fr; }
  .bar { gap: 12px; }
  .brand img { height: 34px; }
  .bar-tel span:first-child { display: none; }
}

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: cupido-autonoleggio */
body > .ck { position: absolute; top: var(--ck-top, 0px); left: 0; right: 0; bottom: auto; width: auto; max-width: none; transform: none; z-index: 60;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 26px; align-items: center;
  padding: 12px max(32px, calc((100% - 1376px) / 2)); background: #FCEBF1; color: #142246; border-top: 3px solid #D3114F; border-bottom: 1px solid #EFC3D3;
  font-family: 'Familjen Grotesk', Arial, sans-serif; font-size: 14px; line-height: 1.45; border-radius: 0; box-shadow: none; }
.ck .ck-k { grid-column: 1; grid-row: 1 / span 2; display: flex; align-items: center; gap: 10px; font: 700 11.5px/1 'Overpass Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #A80D3F; }
.ck .ck-k::before { content: '!'; flex: none; width: 24px; height: 24px; box-sizing: border-box; border: 3.5px solid #D3114F; border-radius: 50%; background: #FDFDFC; display: grid; place-items: center; font: 700 12px/1 'Overpass Mono', monospace; color: #D3114F; letter-spacing: 0; }
.ck .ck-t { grid-column: 2; grid-row: 1; font-size: 15px; color: #142246; }
.ck .ck-t b { font-weight: 700; }
.ck .ck-p { grid-column: 2; grid-row: 2; font-size: 13px; color: #3A4562; }
.ck .b { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; gap: 8px 12px; }
.ck button.ok, .ck button.no { font: 700 14px/1 'Familjen Grotesk', Arial, sans-serif; padding: 9px 15px; border-radius: 4px; border: 2px solid #142246; }
.ck button.ok { background: #142246; color: #FFFFFF; }
.ck button.ok:hover { background: #D3114F; border-color: #D3114F; }
.ck button.no { background: transparent; color: #142246; }
.ck button.no:hover { background: #142246; color: #FFFFFF; }
.ck a.more { color: #142246; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  body > .ck { grid-template-columns: minmax(0, 1fr); padding: 12px 16px 14px; gap: 6px; left: 0; right: 0; bottom: auto; }
  .ck .ck-k, .ck .ck-t, .ck .ck-p, .ck .b { grid-column: 1; grid-row: auto; }
  .ck .b { margin-top: 6px; }
}
/* on the legal pages there is no search head: the notice runs along the bottom edge */
.docbody > .ck { position: fixed; top: auto; bottom: 0; border-top: 3px solid #D3114F; border-bottom: 0; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
