/* ShopSite public styles. Mobile first. No inline styles anywhere (CSP).
   Brand colors come from /theme.css (Admin → Settings → Brand colors); these are fallbacks.
   Look matches the old deepaauto27.com: white, bright red, black, Roboto. */
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2"); }

:root {
  --brand: #FF0000;       /* fills, big text, buttons */
  --brand-text: #D60000;  /* small red text on white (readable) */
  --dark: #000000;
  --ink: #111111;
  --ink-2: #3B3B3B;
  --bg: #ffffff;
  --bg-2: #F5F5F5;
  --line: #e2e2e2;
  --radius: 6px;
  --wrap: 1180px;
  --focus: #1a73e8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font: 400 17px/1.6 "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  padding-bottom: 64px; /* room for the mobile call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3, .h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* staff bar */
.staffbar { background: #222; color: #fff; font-size: .85rem; padding: 6px 18px; display: flex; gap: 16px; flex-wrap: wrap; }
.staffbar a { color: #fff; font-weight: 700; }

/* header: white like the old site, logo left */
.site-head { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.head-row { display: flex; align-items: center; gap: 8px; min-height: 64px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; padding: 6px 0; }
.brand img { height: 50px; width: auto; }
.wordmark { font-weight: 900; font-size: 1.05rem; line-height: 1.1; color: var(--brand-text); text-transform: uppercase; letter-spacing: .02em; }
.head-call { min-height: 42px; padding: 6px 14px; font-size: .95rem; white-space: nowrap; flex-shrink: 0; }
.head-call .ico { display: none; }
.nav { position: relative; }
.nav summary { list-style: none; cursor: pointer; padding: 12px 8px; border-radius: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -8px; } .burger::after { top: 8px; }
.nav nav { position: absolute; right: -8px; top: calc(100% + 4px); background: #fff; min-width: 250px; padding: 8px; border-top: 4px solid var(--brand); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.nav nav a { display: block; color: var(--ink); text-decoration: none; padding: 12px 14px; font-weight: 700; border-radius: 4px; }
.nav nav a:hover { color: var(--brand-text); background: var(--bg-2); }
.nav .nav-insp { color: var(--brand-text); }
.nav .lang-link { border: 2px solid var(--ink); margin-top: 6px; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 4px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 1.12rem; line-height: 1.2; font-family: inherit; text-transform: uppercase; letter-spacing: .02em; }
.btn-lg { min-height: 54px; padding: 12px 26px; }
.btn-call { background: var(--brand); color: #fff; }
.btn-call:hover { filter: brightness(.9); }
.btn-light { background: #fff; color: var(--brand-text); border-color: #fff; }
.btn-light:hover { background: var(--bg-2); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-primary:hover { background: #2a2a2a; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0 0; }

/* hero: black band, text left, real shop photo right */
.hero { background: var(--dark); color: #fff; }
.hero-inner { padding: 40px 18px 44px; display: grid; gap: 28px; align-items: center; }
.hero h1 span, .hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; max-width: 48ch; color: #e6e6e6; }
.hero .lead strong { color: #fff; }
.hero-meta { margin-top: 1.2em; color: #bdbdbd; font-size: .95rem; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; border-radius: var(--radius); border: 4px solid var(--brand); }

/* bands */
.band { padding: 48px 0; }
.band-alt { background: var(--bg-2); }
.band-pass { background: var(--brand); color: #fff; }
.band-pass h2 { color: #fff; }
.pass-grid { display: grid; gap: 22px; align-items: center; }
.sticker { display: inline-block; background: #fff; color: var(--brand-text); font-weight: 900; letter-spacing: .12em; font-size: 1.6rem;
  padding: 16px 24px; border-radius: 6px; transform: rotate(-6deg); border: 4px dashed var(--dark); margin: 0; }
.intro { max-width: 70ch; }
.band > .wrap > h2, .band .narrow > h2 { position: relative; padding-bottom: .35em; }
.band > .wrap > h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--brand); }

/* cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.card a { display: block; height: 100%; padding: 18px 18px 18px; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius);
  text-decoration: none; color: inherit; background: #fff; transition: box-shadow .15s; }
.card a:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.card h3, .card .h3 { color: var(--ink); margin-bottom: .3em; }
.card a:hover h3, .card a:hover .h3 { color: var(--brand-text); }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card-pass a { background: var(--dark); border-color: var(--dark); border-top-color: var(--brand); }
.card-pass h3, .card-pass .h3 { color: #fff; }
.card-pass p { color: #ddd; }
.card-pass a:hover h3, .card-pass a:hover .h3 { color: #fff; text-decoration: underline; }
.cards-tight { grid-template-columns: 1fr; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 4px; background: #fff; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 700; }
.chips a:hover { background: var(--ink); color: #fff; }
.chips .chip-more { background: var(--brand); border-color: var(--brand); color: #fff; }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.gallery img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery span { display: block; font-size: .85rem; color: var(--ink-2); margin-top: 4px; }

/* inner pages */
.page-head { background: var(--dark); color: #fff; padding: 30px 0 34px; border-bottom: 6px solid var(--brand); }
.page-head .lead { font-size: 1.12rem; color: #e3e3e3; max-width: 62ch; }
.page-head .btn-ghost { color: #fff; }
.crumbs { font-size: .88rem; color: #bdbdbd; margin-bottom: 10px; }
.crumbs a { color: #fff; }
.two-col { display: grid; gap: 28px; padding-top: 30px; padding-bottom: 30px; }
.two-col > * { min-width: 0; }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose .cards, .prose .chips { padding-left: 0; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand-text); font-weight: 700; }
.local-note { font-size: 1.12rem; border-left: 6px solid var(--brand); padding: 6px 0 6px 14px; background: var(--bg-2); }
.callout-pass { background: var(--dark); color: #fff; border-left: 8px solid var(--brand); border-radius: var(--radius); padding: 20px; margin: 1.4em 0; }
.callout-pass h2 { margin-top: 0; color: #fff; }
.side-box { border: 1px solid var(--line); border-top: 4px solid var(--dark); border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; }
.plain-links { list-style: none; padding: 0; margin: 0; }
.plain-links li { border-bottom: 1px solid var(--line); }
.plain-links li:last-child { border-bottom: 0; }
.plain-links a { display: block; padding: 10px 0; text-decoration: none; font-weight: 700; }
.town-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.town-list li { border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: var(--radius); padding: 16px 18px; }
.town-list h2 { margin-bottom: .2em; }
.dist { color: var(--ink-2); font-size: .95rem; margin-bottom: .4em; }
.preview-note { background: #ffe08a; color: #000; margin: 0; padding: 10px 18px; font-weight: 700; text-align: center; }

/* code table */
.codes { margin: 1.6em 0; }
.pif { background: var(--bg-2); border-left: 6px solid var(--brand); padding: 10px 14px; }
.table-scroll { overflow-x: auto; }
.codes table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 520px; }
.codes th, .codes td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.codes thead th { background: var(--dark); color: #fff; }
.codes tbody th { white-space: nowrap; color: var(--brand-text); }
.codes tbody tr:nth-child(even) { background: var(--bg-2); }

/* forms */
.req-form { background: var(--bg-2); border-radius: var(--radius); padding: 20px; border-top: 6px solid var(--brand); }
.req-form h2 { font-size: 1.4rem; }
.req-form label { display: block; font-weight: 700; margin: 12px 0 4px; }
.req-form input, .req-form select, .req-form textarea {
  width: 100%; font: inherit; padding: 12px; border: 1px solid #a9a9a9; border-radius: 4px; background: #fff; min-height: 48px; }
.req-form [aria-invalid="true"] { border-color: var(--brand-text); border-width: 2px; }
.req-form .err { color: var(--brand-text); font-weight: 700; margin: 4px 0 0; font-size: .95rem; }
.req-form .btn-block { margin-top: 18px; }
.optional { margin-top: 14px; }
.optional summary { cursor: pointer; font-weight: 700; color: var(--brand-text); padding: 6px 0; }
.alert { background: #fde8eb; border: 1px solid var(--brand-text); padding: 10px 12px; border-radius: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* visit */
.visit { background: var(--bg-2); padding: 44px 0; }
.visit-grid { display: grid; gap: 24px; }
.nap { font-size: 1.05rem; }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 1em; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); background: #e9e9e9; }

/* footer */
.site-foot { background: var(--dark); color: #d0d0d0; padding: 38px 0 12px; font-size: .95rem; border-top: 6px solid var(--brand); }
.site-foot a { color: #fff; }
.foot-logo { width: 190px; height: auto; margin-bottom: 12px; }
.foot-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.foot-name { font-weight: 900; color: #fff; font-size: 1.1rem; }
.foot-h { font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; border-bottom: 2px solid var(--brand); display: inline-block; padding-bottom: 2px; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 6px; break-inside: avoid; }
.foot-areas { columns: 2; }
.site-foot .muted { color: #bdbdbd; }
.site-foot .hours dt { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #333; margin-top: 22px; padding-top: 12px; font-size: .85rem; }

/* mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr; z-index: 60;
  background: var(--dark); box-shadow: 0 -4px 14px rgba(0,0,0,.25); border-top: 3px solid #fff; }
.callbar a { color: #fff; text-align: center; padding: 16px 6px; font-weight: 700; text-decoration: none; min-height: 56px; text-transform: uppercase; font-size: .95rem; }
.callbar .cb-call { background: var(--brand); }

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .pass-grid { grid-template-columns: auto 1fr; gap: 40px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .brand img { height: 64px; }
  .head-row { min-height: 80px; }
  .head-call { order: 3; min-height: 48px; padding: 10px 18px; font-size: 1.05rem; }
  .head-call .ico { display: inline; }
  .wordmark { font-size: 1.2rem; }
  .nav { order: 2; }
  .nav summary { display: none; }
  .nav nav { position: static; display: flex; gap: 2px; background: none; box-shadow: none; padding: 0; min-width: 0; align-items: center; border: 0; }
  .nav nav a { padding: 10px 12px; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
  .nav .lang-link { margin: 0 0 0 6px; padding: 6px 12px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-tight { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .two-col aside { position: sticky; top: 100px; }
  .visit-grid { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .hero-inner { padding: 64px 18px 64px; }
  .hero-inner.has-photo { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
