:root{--red:#dc2536;--ink:#111318;--silver:#a6abb4;--line:#dfe1e5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4f5f6;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit}header{height:92px;background:#111318;color:white;padding:0 6%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #303238}.brand{font-size:30px;letter-spacing:-1.8px;font-weight:900;font-style:italic;text-decoration:none;line-height:1}.brand span{color:var(--red)}.brand small{display:block;text-align:right;font-size:10px;letter-spacing:6px;font-style:normal;margin-top:7px}nav{display:flex;gap:26px;font-size:14px}nav a{text-decoration:none}nav a:hover{color:#ff6976}main{max-width:1440px;margin:auto;padding:36px 6% 80px}h1,h2,h3,p{margin-top:0}h1{font-size:42px;line-height:1.1;letter-spacing:-1.5px}h2{font-size:28px;letter-spacing:-.7px}h3{font-size:22px;line-height:1.2}button,.button{background:var(--red);color:white;padding:13px 22px;border:0;border-radius:3px;font-weight:700;text-decoration:none;display:inline-block;cursor:pointer;font-size:14px}button:hover,.button:hover{background:#b91e2c}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #de5260;outline-offset:3px}.hero{background:linear-gradient(120deg,#171a20,#242832);color:#fff;margin:-36px -6.82% 50px;padding:75px 6%;display:grid;grid-template-columns:1.4fr 1fr;min-height:440px;overflow:hidden;align-items:center}.hero h1{font-size:clamp(38px,5.4vw,76px);letter-spacing:-3px;margin:20px 0}.hero em{font-style:normal;color:#b8bdc7}.hero p{color:#bbc0c8;max-width:460px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#777f8c}.hero .eyebrow{color:#e45a67}.hero-mark{font-size:250px;font-style:italic;font-weight:900;letter-spacing:-50px;color:#363c48;transform:skew(-10deg);text-align:center;line-height:1}.hero-mark span{color:var(--red)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0}.section-title h2,.section-title h1{margin:5px 0}.section-title>p{color:#777}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:white;padding:24px;margin-bottom:30px;border:1px solid var(--line);border-radius:5px;align-items:end}.filters>a{font-size:14px;padding:10px}label{display:block;font-size:12px;font-weight:700;color:#535965;margin-bottom:14px}input,select,textarea{width:100%;border:1px solid #cdd1d8;background:#fff;border-radius:3px;padding:12px;font:inherit;font-size:15px;color:var(--ink);display:block;margin-top:6px}textarea{min-height:130px;resize:vertical}.filters label{margin:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;text-decoration:none;border:1px solid var(--line);border-radius:5px;overflow:hidden;transition:transform .2s}.card:hover{transform:translateY(-4px)}.car-image{height:220px;position:relative;background:#e2e4e8}.car-image img{width:100%;height:100%;object-fit:cover}.badge{position:absolute;top:15px;left:15px;background:#fff;padding:5px 10px;font-size:10px;font-weight:bold;text-transform:uppercase;letter-spacing:1px}.card-body{padding:22px;position:relative}.card-body small{font-size:11px;color:#777;letter-spacing:1px}.card h3{margin:10px 0}.card p{font-size:12px;color:#707783;border-bottom:1px solid #eee;padding-bottom:17px}.card strong{font-size:22px}.arrow{float:right;color:var(--red);font-size:23px}.placeholder{min-height:220px;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#daddE2,#eff0f3);color:#69717f;font-size:13px;padding:20px}.empty{grid-column:1/-1;background:white;border:1px dashed #c4c9d1;padding:60px;text-align:center}.pagination{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.pagination a{padding:5px 12px;background:white}.detail{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;margin-top:25px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:30px}.gallery a:first-child{grid-column:1/-1}.gallery img{width:100%;display:block;border-radius:4px}.price{font-size:30px;color:var(--red);font-weight:800;margin:25px 0}dl{margin:25px 0}dl div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}dt{color:#737b87}dd{font-weight:700;margin:0}.panel{background:white;border:1px solid var(--line);padding:28px;margin:22px 0;border-radius:5px}.panel h2{font-size:23px}.panel small{display:block;margin-top:15px;color:#777}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400}.check input{width:auto;margin-top:3px}.notice{padding:17px 22px;background:#e8edef;border-left:3px solid var(--red)}.error{color:#b51d2c}.login{max-width:450px;margin:65px auto}.login h1{margin:20px 0}.adminbar{display:flex;align-items:center;gap:20px;background:white;border-bottom:1px solid var(--line);padding:14px 6%;flex-wrap:wrap}.adminbar>a{font-size:13px;text-decoration:none}.adminbar form{margin-left:auto}.adminbar button{font-size:12px;padding:8px 12px;background:#262b34}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:20px}.stats .panel{margin:0}.stats h2{font-size:40px;margin:15px 0 0}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);margin:22px 0}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:17px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#e9ebef;font-size:11px;text-transform:uppercase;letter-spacing:1px}td form{display:inline-block;margin-left:12px}.danger{padding:5px 10px;background:#6f2730;font-size:11px}.thumbs{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px}.thumbs img{width:160px;height:110px;object-fit:cover}.thumbs button{font-size:11px;padding:6px 10px}summary{cursor:pointer;font-size:20px;font-weight:700}details[open] summary{margin-bottom:25px}.description{white-space:normal;overflow-wrap:anywhere}footer{background:#111318;color:#aeb4be;display:flex;justify-content:space-between;gap:20px;padding:35px 6%;font-size:12px}footer strong{color:#fff;letter-spacing:2px}@media(max-width:950px){.cards{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr 1fr}.hero-mark{font-size:190px}.form-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){header{height:80px}.brand{font-size:25px}nav{gap:15px;font-size:12px}main{padding-top:24px}.hero{margin-top:-24px;grid-template-columns:1fr;padding-top:50px;padding-bottom:50px;min-height:350px}.hero h1{letter-spacing:-1.5px}.hero-mark{display:none}.cards,.detail,.form-grid{grid-template-columns:1fr}.filters{padding:16px;gap:10px}.card .car-image{height:240px}h1{font-size:34px}.panel{padding:20px}.adminbar{gap:14px}.adminbar form{margin-left:0}.section-title{align-items:flex-start}.section-title>span{font-size:12px}.empty{padding:30px}.detail{gap:10px}footer{flex-direction:column}.stats{grid-template-columns:repeat(2,1fr)}}

/* Staging layout refinements */
:root {
  --red: #c51c31;
}

.hero {
  margin-inline: 0;
  margin-top: 0;
  padding: clamp(28px, 5vw, 68px);
  min-height: 0;
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 70px);
  letter-spacing: -.055em;
}
.hero-mark {
  font-size: clamp(90px, 15vw, 220px);
  letter-spacing: -.16em;
}
.eyebrow, .section-title > p, .card-body small, dt {
  color: #59616e;
}
.filters {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 156px), 1fr));
  align-items: end;
}
.filters input, .filters select {
  min-width: 0;
}
.filters > a {
  justify-self: start;
}
.card-body, .panel, .detail > *, .section-title > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #e8ebee;
}
.gallery .placeholder {
  grid-column: 1 / -1;
}
.adminbar > a {
  padding-block: 8px;
}
@media (max-width: 620px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 32px;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters label:first-child {
    grid-column: 1 / -1;
  }
  .filters button {
    padding-inline: 10px;
  }
  .adminbar {
    gap: 4px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}

/* REVLINE marketplace showroom */
.utility-bar {
  background: #f2f3f5;
  color: #555f6d;
  padding: 9px max(5%, calc((100vw - 1320px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
}
.utility-bar a { text-decoration: none; }
.showroom-page { background: #fff; }
.showroom-page header {
  height: 86px;
  background: #fff;
  color: #171a20;
  border-bottom: 1px solid #e8e9ed;
  padding-inline: max(5%, calc((100vw - 1320px) / 2));
}
.showroom-page main { max-width: 1440px; padding: 28px 5% 60px; }
.showroom-page nav { align-items: center; }
.nav-cta { border: 1px solid #d5d8de; border-radius: 6px; padding: 10px 16px; }
.market-banner {
  background: #edf0f3;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
  overflow: hidden;
  margin-bottom: 24px;
}
.banner-copy { padding: clamp(24px, 4vw, 52px); }
.banner-copy .eyebrow { color: #a1192a; font-size: 10px; }
.banner-copy h1 { font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.05em; margin: 16px 0; }
.banner-copy h1 em { color: var(--red); font-style: normal; }
.banner-copy p { color: #586271; font-size: 14px; line-height: 1.7; }
.banner-copy .button { margin-top: 6px; border-radius: 6px; }
.banner-copy .button span { margin-left: 28px; }
.banner-visual { position: relative; min-width: 0; background: #dfe3e8; }
.banner-visual > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.banner-visual > .banner-illustration { object-fit: contain; padding: 20px; }
.banner-caption { position: absolute; bottom: 18px; left: 20px; background: #ffffffed; padding: 7px 12px; color: #222a35; font-size: 9px; font-weight: 700; letter-spacing: 2px; border-radius: 3px; }
#showroom { scroll-margin-top: 20px; }
.market-search { background: #f8f4f5; border: 1px solid #eee6e8; border-radius: 10px; padding: 16px; position: relative; z-index: 2; }
.search-row { display: flex; gap: 10px; background: white; border: 1px solid #dfe1e6; border-radius: 7px; padding: 5px; }
.search-field { flex: 1; margin: 0; min-width: 0; }
.search-field input { margin: 0; border: 0; padding: 12px 14px; font-size: 14px; background: transparent; }
.search-row button { border-radius: 5px; flex-shrink: 0; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.filter-popover { position: relative; margin: 0; }
.filter-popover summary { font-size: 12px; font-weight: 500; background: white; border: 1px solid #e4e3e7; padding: 9px 12px; border-radius: 6px; list-style: none; display: flex; align-items: center; gap: 18px; }
.filter-popover summary::-webkit-details-marker { display: none; }
.filter-popover summary::after { content: '⌄'; color: #667080; }
.filter-popover[open] { background: #fff; box-shadow: 0 8px 25px #20273316; border-radius: 6px; }
.filter-popover[open] summary { border-color: #c51c31; margin-bottom: 12px; }
.filter-popover[open] > label, .filter-popover[open] > button { margin: 12px; }
.filter-popover[open] > label { min-width: 160px; }
.filter-popover button { padding: 8px 12px; font-size: 12px; }
.reset-link { font-size: 11px; color: #596372; padding: 9px 8px; }
.sort-field { margin: 0 0 0 auto; }
.sort-field select { margin: 0; font-size: 12px; padding: 10px; border-color: #e2dfe3; }
.sort-apply { font-size: 11px; padding: 10px; background: #292e37; }
.inventory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 16px; }
.stock-tabs { display: flex; gap: 4px; background: #f2f3f5; border-radius: 28px; padding: 4px; }
.stock-tabs a { padding: 9px 24px; border-radius: 24px; text-decoration: none; font-size: 12px; color: #5b6471; }
.stock-tabs a.selected { background: var(--red); color: #fff; }
.stock-tabs a span { margin-left: 5px; font-size: 10px; }
.price-note { font-size: 11px; color: #657080; }
.results-heading { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; }
.results-heading h2 { font-size: 20px; letter-spacing: -.4px; margin: 0; }
.results-heading p { font-size: 12px; color: #667080; margin: 0; }
.showroom-page .cards { gap: 25px 20px; }
.showroom-page .card { border: none; border-radius: 0; background: white; }
.showroom-page .car-image { height: auto; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.showroom-page .card-body { padding: 14px 0 0; }
.showroom-page .card h3 { font-size: 16px; font-weight: 700; letter-spacing: -.3px; margin: 0 0 7px; }
.showroom-page .card p { font-size: 11px; line-height: 1.6; color: #5b6574; padding: 0; margin: 0 0 8px; border: 0; }
.showroom-page .card strong { display: block; font-size: 18px; margin: 0 0 8px; }
.showroom-page .card small { display: inline-block; font-size: 10px; background: #f1f2f5; border-radius: 4px; padding: 4px 7px; color: #626c79; letter-spacing: 0; }
.showroom-page .badge { text-transform: none; top: 12px; left: 12px; font-size: 10px; letter-spacing: 0; border-radius: 4px; background: #fff; }
.showroom-page .badge.reserved { background: #fff2d8; color: #6c4610; }
.image-link { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #ffffffeb; font-size: 17px; }
.showroom-page .pagination a { border-radius: 6px; text-decoration: none; border: 1px solid #e5e7eb; }
.showroom-page .pagination a[aria-current] { background: var(--red); color: white; border-color: var(--red); }
.buying-guide { margin: 55px 0 0; padding: 36px; background: #f2f3f5; border-radius: 10px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; }
.buying-guide h2 { margin: 14px 0 20px; font-size: 30px; }
.buying-guide a { color: #a3182a; font-weight: 700; font-size: 12px; }
.buying-guide ol { padding: 0; margin: 0; list-style: none; }
.buying-guide li { display: flex; gap: 18px; padding: 10px 0; }
.buying-guide li > span { color: var(--red); font-size: 12px; font-weight: 700; margin-top: 2px; }
.buying-guide h3 { font-size: 16px; margin: 0 0 5px; }
.buying-guide p { color: #667080; font-size: 12px; margin: 0; }
footer a { text-decoration: none; }
footer p { margin: 10px 0 0; }
@media (max-width: 950px) {
  .banner-copy { padding: 28px; }
  .market-banner { min-height: 320px; }
}
@media (max-width: 620px) {
  .showroom-page header { height: 74px; }
  .showroom-page header nav { gap: 14px; font-size: 12px; }
  .showroom-page .nav-secondary, .showroom-page .nav-cta { display: none; }
  .showroom-page main { padding: 16px 4% 40px; }
  .market-banner { grid-template-columns: 1.1fr 1fr; min-height: 245px; border-radius: 8px; margin-bottom: 16px; }
  .banner-copy { padding: 20px 14px; }
  .banner-copy .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .banner-copy h1 { font-size: clamp(28px, 6.5vw, 40px); margin: 12px 0; }
  .banner-copy p { font-size: 11px; line-height: 1.55; }
  .banner-copy .button { padding: 10px; font-size: 10px; }
  .banner-copy .button span { margin-left: 8px; }
  .banner-visual > .banner-illustration { padding: 0; }
  .banner-caption { font-size: 6px; letter-spacing: .8px; left: 8px; right: 8px; bottom: 10px; text-align: center; padding: 6px 3px; }
  .market-search { padding: 10px; }
  .search-field input { font-size: 12px; padding-inline: 7px; }
  .search-row button { padding-inline: 12px; font-size: 11px; }
  .filter-row { gap: 6px; }
  .filter-popover summary { font-size: 11px; padding: 8px 10px; gap: 12px; }
  .sort-field { margin-left: 0; flex: 1; min-width: 150px; }
  .stock-tabs { flex: 1; justify-content: space-between; }
  .stock-tabs a { padding: 8px 10px; font-size: 11px; text-align: center; flex: 1; }
  .stock-tabs a span { display: block; margin: 0; font-size: 9px; }
  .price-note { display: none; }
  .inventory-toolbar { margin-top: 18px; }
  .showroom-page .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .showroom-page .card h3 { font-size: 13px; }
  .showroom-page .card strong { font-size: 15px; }
  .showroom-page .card p { font-size: 10px; }
  .showroom-page .card small { font-size: 9px; }
  .showroom-page .badge { top: 7px; left: 7px; font-size: 8px; padding: 4px 6px; }
  .buying-guide { grid-template-columns: 1fr; padding: 24px; gap: 20px; margin-top: 35px; }
  .buying-guide h2 { font-size: 26px; }
  .results-heading h2 { font-size: 18px; }
}
@media (max-width: 350px) {
  .market-banner { grid-template-columns: 1fr; }
  .banner-visual { min-height: 150px; }
  .showroom-page .cards { grid-template-columns: 1fr; }
  .stock-tabs a { padding-inline: 6px; }
}

/* Official REVLINE logo */
header.site-header {
  height: 126px;
  background: #fff;
  color: #171a20;
  border-bottom: 1px solid #e8e9ed;
  gap: 24px;
}
.site-header .brand-logo {
  order: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}
.brand-logo img {
  display: block;
  width: 192px;
  height: 104px;
  object-fit: contain;
}
.site-header nav {
  order: 1;
  display: flex;
  align-items: center;
}
@media (max-width: 620px) {
  header.site-header {
    height: 100px;
    gap: 16px;
  }
  .brand-logo img {
    width: 142px;
    height: 82px;
  }
  .site-header .nav-secondary,
  .site-header .nav-cta {
    display: none;
  }
}

/* Inventory dropdowns and multiple photo selection */
.vehicle-choice { min-width: 0; }
.vehicle-choice > label:first-child { margin-bottom: 10px; }
.vehicle-choice [hidden] { display: none; }
.upload-help { color: #5b6471; font-size: 13px; }
.photo-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin: 18px 0; }
.photo-preview figure { min-width: 0; margin: 0; }
.photo-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #dfe1e5; border-radius: 5px; }
.photo-preview figcaption { margin-top: 6px; font-size: 11px; color: #59616e; overflow-wrap: anywhere; }
button:disabled { cursor: wait; opacity: .65; }
.thumbs p { margin: 8px 0; font-size: 12px; color: #59616e; }

/* Vehicle gallery popup */
.photo-viewer-open { overflow: hidden; }
.photo-viewer {
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 18px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left));
  border: 0;
  color: #fff;
  background: #0c0f15f7;
  overflow: hidden;
}
.photo-viewer[open] { display: flex; flex-direction: column; }
.photo-viewer::backdrop { background: #080a0e; }
.photo-viewer [hidden] { display: none; }
.photo-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 16px; }
.photo-viewer-toolbar p { margin: 0; font-size: 14px; }
.photo-viewer button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #5a6270;
  border-radius: 50%;
  background: #242b36;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}
.photo-viewer button:hover { background: #a81e30; }
.photo-viewer button:disabled { cursor: default; opacity: .35; }
.photo-viewer-stage { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; flex: 1; min-height: 0; padding: 16px 0; }
.photo-viewer figure { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 0; min-width: 0; margin: 0; }
.photo-viewer figure img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.photo-viewer-error { max-width: 440px; margin: 20px; color: #e4e8ef; text-align: center; }
.photo-viewer-hint { flex-shrink: 0; margin: 0; text-align: center; font-size: 12px; color: #c2c8d1; }
.gallery a, [data-photo-gallery] a { cursor: zoom-in; }
@media (max-width: 620px) {
  .photo-viewer { padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .photo-viewer-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 5px; }
  .photo-viewer button { width: 44px; height: 44px; font-size: 22px; }
  .photo-viewer-hint { font-size: 10px; }
}

/* Enquiry popup and visitor reports */
.enquiry-open { overflow: hidden; }
.enquiry-trigger { margin-top: 18px; }
.enquiry-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; color: #111318; background: #fff; overflow: auto; }
.enquiry-dialog::backdrop { background: #101722b8; }
.enquiry-dialog .enquiry-panel { border: 0; margin: 0; padding: 34px 28px 28px; }
.enquiry-dialog .enquiry-panel h2 { padding-right: 32px; }
.enquiry-close { position: sticky; top: 12px; float: right; margin: 12px 12px -48px 0; z-index: 1; width: 40px; height: 40px; border-radius: 50%; padding: 0; font-size: 25px; background: #2c333e; }
.analytics-consent { position: fixed; z-index: 20; bottom: 16px; left: 16px; right: 16px; max-width: 620px; padding: 20px; background: #fff; border: 1px solid #d9dde3; border-radius: 10px; box-shadow: 0 8px 35px #11131835; }
.analytics-consent[hidden] { display: none; }
.analytics-consent p { font-size: 13px; }
.analytics-consent button { margin: 0 8px 8px 0; }
.analytics-preferences { font-size: 11px; padding: 8px 10px; background: #333a46; align-self: start; }
.analytics-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.analytics-columns .panel { padding: 20px; min-width: 0; }
.analytics-day { display: grid; grid-template-columns: 70px minmax(80px, 1fr) 180px; align-items: center; gap: 14px; padding: 8px 0; font-size: 13px; }
.analytics-day meter { width: 100%; }
@media (max-width: 950px) { .analytics-columns { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
 .enquiry-dialog .enquiry-panel { padding: 30px 18px 20px; }
 .analytics-day { grid-template-columns: 50px minmax(60px, 1fr); }
 .analytics-day > span:last-child { grid-column: 2; }
 .analytics-consent { bottom: 10px; left: 10px; right: 10px; padding: 16px; }
}

/* Private registration-cover review. */
.thumbs .plate-review {width:min(100%,620px);max-width:100%;flex:1 1 360px;}
.thumbs .plate-review > img,.plate-canvas img {width:100%;height:auto;max-height:none;object-fit:contain;display:block;}
.plate-canvas {position:relative;touch-action:none;user-select:none;cursor:crosshair;max-width:100%;}
.plate-area {position:absolute;background:#000c;border:2px solid #e33;pointer-events:none;box-sizing:border-box;}
.plate-review details {margin:1rem 0;}

/* Compact showroom: search and inventory take priority. */
.showroom-page header.site-header {height:100px;}
.showroom-page main {padding-top:20px;padding-bottom:32px;}
.market-banner.compact-banner {display:block;min-height:0;margin-bottom:18px;background:#14171c;border-radius:8px;border-left:4px solid var(--red);}
.compact-banner .banner-copy {padding:24px 30px;}
.compact-banner .banner-copy .eyebrow {color:#cbd0d7;letter-spacing:1.5px;}
.compact-banner .banner-copy h1 {color:#fff;font-size:clamp(30px,3.5vw,46px);margin:8px 0;line-height:1.12;}
.compact-banner .banner-copy h1 em {color:#ff5264;}
.compact-banner .banner-copy p {color:#cbd0d7;margin:0;font-size:14px;}
.showroom-page .market-search {background:#f6f7f8;border-color:#e4e7eb;padding:12px;}
.showroom-page .inventory-toolbar {margin:18px 0 10px;}
.showroom-page .results-heading {margin:0 0 14px;}
.showroom-page .results-heading h2 {margin:0;}
.showroom-page .results-heading p {margin:0;}
.showroom-page .cards {gap:24px;}
.showroom-page .empty {padding:28px 20px;}
.showroom-page .empty h3 {margin:0 0 8px;}
.showroom-page .empty p {margin:0;}
.showroom-page .empty .button {margin-top:16px;}
.showroom-page .buying-guide {display:block;margin-top:28px;padding:22px 24px;}
.showroom-page .buying-guide h2 {margin:0 0 16px;font-size:20px;}
.showroom-page .buying-guide ol {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.showroom-page .buying-guide li {padding:0;gap:10px;}
.showroom-page .buying-guide p {line-height:1.6;}
@media (max-width:620px) {
 .showroom-page header.site-header {height:86px;gap:12px;}
 .showroom-page main {padding-top:12px;}
 .compact-banner .banner-copy {padding:20px;}
 .compact-banner .banner-copy h1 {font-size:32px;}
 .compact-banner .banner-copy p {font-size:12px;line-height:1.6;}
 .showroom-page .cards {gap:18px 12px;}
 .showroom-page .buying-guide {margin-top:22px;padding:20px;}
 .showroom-page .buying-guide ol {grid-template-columns:1fr;gap:16px;}
 .showroom-page .filter-popover[open] {max-width:100%;}
 .showroom-page .filter-popover[open] > label {min-width:0;}
}
.showroom-page .utility-bar {justify-content:flex-end;padding-block:5px;}
#bulk-photo-approval {padding:16px;background:#f2f3f5;border:1px solid #dfe1e5;border-radius:6px;margin-top:16px;}
#bulk-photo-approval input[type=checkbox],.plate-review input[type=checkbox] {width:auto;display:inline-block;margin-right:8px;}

/* REVLINE collection — editorial showroom. */
.showroom-page {background:#fafaf9;color:#191b20;}
.showroom-page main {max-width:1440px;padding-top:16px;}
.showroom-page header.site-header {background:#fafaf9;border-bottom:1px solid #e4e5e5;}
.showroom-page .utility-bar {background:#f0f0ee;}
.editorial-banner.market-banner {display:grid;grid-template-columns:1.1fr 1fr;position:relative;background:linear-gradient(120deg,#101216,#22262e);border:0;isolation:isolate;border-radius:12px;min-height:280px;}
.editorial-banner .banner-copy {padding:32px 38px;z-index:1;}
.editorial-banner .banner-copy .eyebrow {color:#b8bdc6;font-size:10px;letter-spacing:2.8px;}
.editorial-banner .banner-copy h1 {font-size:clamp(42px,5.2vw,68px);line-height:.98;letter-spacing:-3px;margin:18px 0;}
.editorial-banner .banner-copy h1 em {color:#ff4358;}
.editorial-banner .banner-copy p {font-size:13px;line-height:1.7;color:#d0d3da;}
.hero-art {position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;min-width:0;}
.hero-art img {position:relative;width:112%;max-width:650px;height:auto;filter:drop-shadow(0 20px 18px #0009);transform:rotate(-5deg);opacity:.95;}
.hero-orbit {position:absolute;width:350px;height:350px;border:1px solid #ffffff15;border-radius:50%;background:radial-gradient(circle,#c51c3125,transparent 65%);}
.hero-orbit::before {content:'';position:absolute;inset:32px;border:1px solid #ffffff10;border-radius:50%;}
.hero-art-caption {position:absolute;bottom:22px;right:28px;letter-spacing:3px;font-size:9px;color:#aaaeb8;}
.showroom-page .market-search {background:#fff;border:1px solid #e4e4e4;box-shadow:0 6px 20px #171a2010;border-radius:10px;padding:14px;}
.showroom-page .search-row {background:#f7f7f6;}
.showroom-page .search-row button {min-height:44px;}
.showroom-page .card {background:#fff;border:1px solid #e5e6e7;border-radius:10px;overflow:hidden;transition:box-shadow .2s,transform .2s;}
.showroom-page .card:hover {box-shadow:0 12px 28px #171a2015;transform:translateY(-3px);}
.showroom-page .card .car-image {border-radius:0;background:#e9eaec;}
.showroom-page .card .card-body {padding:16px;}
.showroom-page .card h3 {font-size:17px;letter-spacing:-.4px;}
.showroom-page .card p {min-height:18px;}
.showroom-page .card strong {font-size:21px;color:#aa172b;}
.card-bottom {display:flex;gap:8px;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #ececec;}
.card-bottom > span {font-size:11px;font-weight:700;white-space:nowrap;}
.showroom-page .stock-tabs {background:#e9eae9;}
.showroom-page .stock-tabs a.selected {background:#1b1e24;}
.showroom-page .inventory-toolbar {margin-top:22px;}
.showroom-page .buying-guide {border:1px solid #e4e5e5;background:#fff;padding:24px;}
.showroom-page .buying-guide li > span {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:#fff0f2;border-radius:50%;margin:0;}
.showroom-faq {display:grid;grid-template-columns:1fr 1.5fr;gap:36px;padding:32px 0 4px;}
.showroom-faq h2 {font-size:28px;line-height:1.15;letter-spacing:-1px;margin:10px 0;}
.showroom-faq .eyebrow {font-size:9px;letter-spacing:2px;}
.showroom-faq details {padding:16px 0;border-bottom:1px solid #dfe1e3;}
.showroom-faq summary {font-size:14px;font-weight:600;line-height:1.5;}
.showroom-faq details[open] summary {margin-bottom:10px;}
.showroom-faq p {font-size:13px;color:#59616e;line-height:1.7;margin:0;}
.revline-footer {padding:30px max(5%,calc((100vw - 1320px)/2));border-top:3px solid #c51c31;}
.revline-footer p {line-height:1.8;}
.revline-footer small {font-size:11px;}
.revline-footer a:hover {text-decoration:underline;}
.privacy-copy {max-width:780px;margin:0 auto;padding:20px 0;}
.privacy-copy h1 {font-size:clamp(30px,5vw,44px);line-height:1.1;margin:26px 0;}
.privacy-copy h2 {font-size:22px;margin-top:30px;}
.privacy-copy p {line-height:1.8;color:#454d59;}
.skip-link {position:absolute;left:12px;top:-80px;z-index:100;background:#fff;color:#111;padding:12px;border:2px solid #c51c31;}
.skip-link:focus {top:8px;}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid #b4152b;outline-offset:4px;}
@media(max-width:950px) {
 .editorial-banner .banner-copy {padding:28px;}
 .editorial-banner .banner-copy h1 {font-size:52px;}
 .hero-art img {width:130%;}
}
@media(max-width:620px) {
 .editorial-banner.market-banner {grid-template-columns:1.3fr 1fr;min-height:230px;}
 .editorial-banner .banner-copy {padding:24px 0 24px 20px;}
 .editorial-banner .banner-copy .eyebrow {font-size:8px;letter-spacing:1.5px;}
 .editorial-banner .banner-copy h1 {font-size:43px;letter-spacing:-2px;}
 .editorial-banner .banner-copy p {font-size:11px;line-height:1.6;}
 .desktop-break {display:none;}
 .hero-art img {width:205%;max-width:none;margin-left:55px;}
 .hero-orbit {width:220px;height:220px;}
 .hero-art-caption {display:none;}
 .showroom-page .market-search {padding:10px;}
 .showroom-page .sort-field {flex:1 1 calc(100% - 65px);min-width:0;}
 .showroom-page .sort-field select {width:100%;}
 .showroom-page .card .card-body {padding:12px 10px;}
 .showroom-page .card h3 {font-size:14px;}
 .showroom-page .card strong {font-size:16px;}
 .card-bottom {flex-wrap:wrap;margin-top:10px;padding-top:8px;gap:6px;}
 .card-bottom > span {font-size:10px;}
 .showroom-faq {grid-template-columns:1fr;gap:6px;padding-top:26px;}
 .showroom-faq h2 {font-size:25px;}
 .showroom-faq h2 br {display:none;}
 .revline-footer {gap:20px;}
}
@media(prefers-reduced-motion:reduce) { .showroom-page .card {transition:none;} .showroom-page .card:hover {transform:none;} }
.hero-art img {flex-shrink:0;}
@media(max-width:620px) {
 .editorial-banner.market-banner {grid-template-columns:1.4fr 1fr;}
 .editorial-banner .banner-copy h1 {font-size:36px;letter-spacing:-1.8px;}
 .hero-art img {width:240%;margin-left:105px;}
}

/* Compact banner with approved available inventory photographs. */
.stock-banner.editorial-banner.market-banner {grid-template-columns:1fr 1.35fr;min-height:0;height:200px;}
.stock-banner .banner-copy {padding:24px 30px;align-self:center;}
.stock-banner .banner-copy h1 {font-size:46px;line-height:1;letter-spacing:-2px;margin:12px 0 0;}
.stock-banner .banner-copy .eyebrow {font-size:9px;letter-spacing:2px;}
.stock-carousel {position:relative;min-width:0;height:100%;overflow:hidden;background:#11141a;}
.stock-slide {display:block;position:absolute;inset:0;}
.stock-slide[hidden],.stock-carousel-controls[hidden] {display:none;}
.stock-slide img {display:block;width:100%;height:100%;object-fit:contain;}
.stock-slide-label {position:absolute;bottom:0;left:0;right:0;padding:24px 16px 10px;background:linear-gradient(transparent,#000d);color:#fff;font-size:12px;font-weight:700;}
.stock-slide-label > span {float:right;}
.stock-carousel-controls {position:absolute;top:8px;right:8px;display:flex;gap:5px;}
.stock-carousel-controls button {background:#111e;color:#fff;border:1px solid #ffffff55;border-radius:4px;padding:5px 10px;min-height:32px;font-size:12px;}
.stock-banner.stock-banner-empty {grid-template-columns:1fr;height:150px;}
@media(max-width:620px) {
 .stock-banner.editorial-banner.market-banner {height:160px;grid-template-columns:1fr 1.1fr;}
 .stock-banner .banner-copy {padding:18px 14px;}
 .stock-banner .banner-copy h1 {font-size:30px;letter-spacing:-1.4px;}
 .stock-banner .banner-copy .eyebrow {font-size:7px;letter-spacing:1px;}
 .stock-slide-label {font-size:10px;padding:24px 8px 8px;}
 .stock-carousel-controls {gap:3px;top:5px;right:5px;}
 .stock-carousel-controls button {padding:4px 7px;font-size:10px;}
 .stock-banner.stock-banner-empty {height:130px;grid-template-columns:1fr;}
}

/* Inventory-first homepage: compact search intro and a denser showroom. */
.showroom-intro {display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:2px 0 16px;}
.showroom-intro h1 {font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-1px;margin:0;}
.showroom-intro > span {font-size:10px;letter-spacing:1px;color:#626975;}
.showroom-page .cards {grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;}
.showroom-page .card .card-body {padding:14px;}
.showroom-page .card h3 {font-size:15px;line-height:1.4;}
.showroom-page .card strong {font-size:19px;}
.showroom-page .inventory-toolbar {margin:18px 0 10px;}
@media(min-width:1400px) {
 .showroom-page main {max-width:1600px;padding-inline:4%;}
 .showroom-page .cards {grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;}
}
@media(max-width:1050px) { .showroom-page .cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;} }
@media(max-width:720px) {
 .showroom-intro {align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:14px;}
 .showroom-intro > span {font-size:9px;}
 .showroom-page .cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;}
 .showroom-page .card .card-body {padding:12px 10px;}
 .showroom-page .card h3 {font-size:13px;}
 .showroom-page .card strong {font-size:16px;}
}
@media(max-width:340px) { .showroom-page .cards {grid-template-columns:1fr;} }

/* One clean masthead, followed immediately by the vehicle search. */
.showroom-page header.site-header {height:94px;background:#fff;border-bottom:1px solid #e3e5e8;}
.showroom-page .brand-logo img {width:168px;height:90px;}
.staff-entry {display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border:1px solid #e1e3e6;border-radius:5px;font-size:11px;color:#59616e;text-decoration:none;white-space:nowrap;}
.staff-entry:hover {border-color:#aa172a;color:#aa172a;}
.showroom-page main {padding-top:20px;}
.showroom-intro {display:block;margin:0 0 14px;}
.showroom-intro h1 {font-size:28px;letter-spacing:-.8px;line-height:1.15;}
@media(max-width:620px) {
 .showroom-page header.site-header {height:82px;}
 .showroom-page .brand-logo img {width:142px;height:78px;}
 .staff-entry {font-size:10px;padding:6px 9px;}
 .showroom-page main {padding-top:16px;}
 .showroom-intro h1 {font-size:25px;}
}
.analytics-consent > a {display:block;margin:0 0 14px;text-decoration:underline;font-size:13px;}
.analytics-consent button {background:#222a35;border:1px solid #222a35;min-height:42px;padding:10px 16px;}
.analytics-consent button:hover {background:#394354;}
.analytics-preferences[hidden] {display:none;}
.header-contact {display:flex;align-items:center;gap:10px;font-size:12px;color:#252c37;margin-left:auto;}
.header-contact a {text-decoration:none;white-space:nowrap;}
.header-contact a:hover {color:#a7182d;text-decoration:underline;}
.footer-contact {font-size:13px;}
@media(max-width:720px) {
 .showroom-page header.site-header {flex-wrap:wrap;height:auto;min-height:82px;padding-bottom:10px;gap:8px 14px;}
 .header-contact {order:2;width:100%;justify-content:center;margin:0;padding-top:8px;border-top:1px solid #e5e7ea;}
}
.contact-reveal {display:inline-flex;align-items:center;gap:6px;margin:0;}
.contact-reveal > button {border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:6px 2px;text-decoration:underline;text-underline-offset:3px;}
.contact-reveal > button[hidden] {display:none;}
.contact-reveal > button.button {background:var(--red);color:#fff;padding:12px 18px;text-decoration:none;}
.contact-result {font-size:inherit;}
.header-contact {flex-wrap:wrap;}
.footer-contact {display:flex;flex-wrap:wrap;gap:12px;}

/* Staff photo workspace: consistent frames, readable controls, responsive columns. */
.admin-page #gallery{overflow:hidden}
#gallery [data-photo-upload]{padding:22px;background:#f3f5f7;border:1px dashed #a9b0b9;border-radius:14px;margin:22px 0}
#gallery input[type=file]{max-width:100%;width:100%;background:#fff}
#gallery .thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;align-items:start;margin-top:24px}
#gallery .thumbs .photo-card{width:auto;max-width:100%;min-width:0;margin:0;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f7f8fa;border:1px solid #dfe3e8;border-radius:14px;overflow:hidden}
#gallery .photo-card-image{display:block;line-height:0}
#gallery .photo-card-image img,#gallery .photo-card>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#e9ecf0;border-radius:9px;margin:0}
#gallery .photo-card p,#gallery .photo-card h3{margin:0}
#gallery .photo-card form{margin:0;width:100%;min-width:0}
#gallery .photo-card button{width:100%;white-space:normal;margin:4px 0;min-height:44px}
#gallery .photo-card label{line-height:1.5}
#gallery .photo-card details{min-width:0}
#gallery .photo-card .plate-canvas img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
#gallery .photo-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}
#gallery .photo-preview figure{margin:0;min-width:0;padding:8px;background:#fff;border-radius:9px}
#gallery .photo-preview img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
#gallery .photo-preview figcaption{overflow-wrap:anywhere;font-size:.8rem}
#bulk-photo-approval{padding:18px;background:#fff8ec;border:1px solid #e5c989;border-radius:12px}
.stat-link{display:block;color:inherit;text-decoration:none;transition:border-color .15s,box-shadow .15s}
.stat-link:hover{border-color:#d11421;box-shadow:0 4px 16px #12172215}
.stat-link small{color:#b71320}
.inventory-filter{display:flex;align-items:end;gap:12px;margin:24px 0;flex-wrap:wrap}
.inventory-filter label{min-width:200px}
.enquiry-security{background:#f3f5f7;padding:14px;border-radius:9px;margin:12px 0}
.enquiry-security input{max-width:150px}
.enquiry-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:600px){#gallery .thumbs{grid-template-columns:minmax(0,1fr)}#gallery [data-photo-upload]{padding:14px}#gallery .thumbs .photo-card{padding:12px}}
#gallery .photo-main-current button:disabled{background:#e0e5e9;color:#414954;opacity:1;cursor:default}

/* Compact enquiry and security check. */
.enquiry-dialog{width:min(520px,calc(100vw - 24px))}
.enquiry-dialog .enquiry-panel{padding:22px}
.enquiry-panel h2{margin:0 32px 8px 0}
.enquiry-panel>p{margin:0 0 14px;font-size:13px}
.enquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.enquiry-form>label{margin:0;min-width:0}
.enquiry-form>label:has(textarea),.enquiry-form>.check,.enquiry-form>.enquiry-security,.enquiry-form>small{grid-column:1/-1}
.enquiry-form input:not([type=checkbox]){min-height:38px;padding:8px 10px;margin-top:4px}
.enquiry-form textarea{min-height:70px;height:70px;padding:9px;margin-top:4px}
.enquiry-form .check{font-size:12px;line-height:1.5}
.enquiry-form>small{font-size:11px;line-height:1.4}
.enquiry-security{background:#f6f7f9;padding:8px 10px;margin:0;border:1px solid #e2e5e9}
.enquiry-security label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;font-size:12px}
.enquiry-security input{width:70px;max-width:70px;min-height:34px!important;margin:0!important}
.enquiry-security small{font-size:11px;line-height:1.4;display:block;margin-top:3px}
/* Navigation uses contrast and shape instead of underlines. */
a.back{display:inline-flex;align-items:center;background:#242a33;color:#fff;padding:11px 16px;border-radius:8px;font-weight:700;text-decoration:none;margin:0 0 20px}
a.back:hover{background:#b41627;text-decoration:none}
.adminbar a{padding:9px 12px;border-radius:7px;background:#f0f2f5;color:#18212d;font-weight:650;text-decoration:none}
.adminbar a:hover,.adminbar a:focus-visible{background:#242a33;color:#fff;text-decoration:none}
.site-header .staff-entry{padding:9px 12px;background:#f1f3f6;border-radius:7px;text-decoration:none;font-weight:650}
.contact-reveal>button{text-decoration:none;font-weight:650}
.header-contact .contact-reveal>button,.footer-contact .contact-reveal>button{padding:7px 10px;background:#f0f2f5;color:#202630;border-radius:6px}
.inbox-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.inbox-filters a{background:#edf0f4;color:#25303e;padding:9px 14px;border-radius:7px;font-weight:650;text-decoration:none}
.inbox-filters a.active,.inbox-filters a:hover{background:#b41627;color:#fff;text-decoration:none}
.inbox-message .section-title h2{margin:5px 0}
.inbox-message time{font-size:12px;color:#5b6470}
.inbox-subject{font-weight:700}
.inbox-body{padding:18px;background:#f4f6f8;border-radius:8px;overflow-wrap:anywhere;line-height:1.7;margin:16px 0}
.inbox-message form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.inbox-message form label{min-width:180px}
@media(max-width:480px){.enquiry-dialog .enquiry-panel{padding:18px}.enquiry-form{gap:8px}.enquiry-form>label{grid-column:1/-1}.adminbar a{padding:8px 10px}.enquiry-security label{font-size:11px}}
.enquiry-form>label:has(input[type=email]){grid-column:1/-1}
.enquiry-security input{height:34px}
.enquiry-security small.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
