/* Renteden — one stylesheet, no framework. Colours follow the original site;
   layout follows the 2026 design (search first, then the category tiles). */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/open-sans-var-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/open-sans-var-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #ff3b00;      /* wordmark */
  --red: #c92e00;         /* prices and the inquiry button: orange with enough contrast */
  --purple: #6365cc;
  --purple-dark: #4f51b3; /* links */
  --ink: #192a3d;
  --text-2: #4a5a6c;
  --muted: #5d6b7d;
  --green: #2f7d4a;
  --line: #e1e8ed;
  --border: #c9d1da;
  --panel: #f2f5f7;
  --bg: #ffffff;
  --rule: #ffb59c;
  --radius: 10px;
  --font: "Open Sans", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-dark); text-decoration: none; }
a:hover { color: #3a3c99; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px;
}
h1, h2, h3 { font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { max-width: 1328px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }
main.wrap { padding-top: 32px; padding-bottom: 48px; min-height: 60vh; }
@media (max-width: 640px) { main.wrap { padding-top: 20px; } }
.narrow { max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .header-row { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 30px; color: var(--orange); }
.brand-tag { font-size: 12.5px; color: var(--ink); margin-top: 4px; }
.header-search { flex: 1 1 320px; max-width: 560px; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-weight: 700; font-size: 15px; text-transform: uppercase; }
.main-nav > a { color: var(--ink); }
.main-nav > a:hover { color: var(--purple-dark); text-decoration: none; }
.cat-menu { position: relative; }
.cat-menu summary { cursor: pointer; list-style: none; color: var(--ink); }
.cat-menu summary:hover { color: var(--purple-dark); }
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu summary::after { content: " ▾"; font-size: 11px; }
.cat-menu ul {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 40; min-width: 270px; margin: 0; padding: 8px 0;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(25, 42, 61, .12); text-transform: none; font-weight: 400;
}
.cat-menu li a { display: block; padding: 8px 18px; color: var(--ink); }
.cat-menu li a:hover { background: var(--panel); text-decoration: none; }
@media (max-width: 760px) {
  .site-header .header-row { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 23px; }
  .brand-tag { display: none; }
  .main-nav { gap: 16px; font-size: 13px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
}

/* Search box (home: big; header: compact), with instant results */
.std-search { position: relative; }
.std-field {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 8px 0 20px;
  border: 2px solid var(--purple); border-radius: 14px; background: #fff;
}
.std-icon { flex: none; color: var(--muted); }
.std-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 18px; color: var(--ink); padding: 8px 0; }
.std-field input:focus-visible { outline: none; }
.std-field input::-webkit-search-cancel-button { cursor: pointer; }
.std-field .btn { min-height: 44px; }
.std-search:focus-within .std-field { box-shadow: 0 0 0 3px rgba(99, 101, 204, .22); }
.std-search.is-open .std-field { border-radius: 14px 14px 0 0; }
.suggest {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30; text-align: left;
  border: 2px solid var(--purple); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px;
  background: #fff; box-shadow: 0 14px 32px rgba(25, 42, 61, .14); padding: 8px 0;
}
.suggest-head { padding: 8px 20px 4px; font-size: 12px; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.suggest-head + .suggest-head, .suggest-list > a + .suggest-head { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.suggest-list > a { display: flex; align-items: center; gap: 12px; padding: 8px 20px; color: var(--ink); }
.suggest-list > a:hover, .suggest-list > a[aria-selected="true"] { background: var(--panel); text-decoration: none; color: var(--ink); }
.suggest-list img { width: 36px; height: 36px; flex: none; object-fit: contain; filter: grayscale(1); }
.suggest-text { flex: 1; min-width: 0; }
.suggest-meta { color: var(--muted); font-size: 14px; }
.suggest-price { white-space: nowrap; font-size: 15px; }
.suggest-price strong { color: var(--red); }
.suggest-none { margin: 0; padding: 8px 20px; color: var(--muted); }
.suggest-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 10px 20px 4px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 14px; }
.suggest-foot:empty { display: none; }
.suggest-ask { color: var(--muted); }
.std-search.is-compact .std-field { min-height: 44px; padding: 0 4px 0 14px; gap: 10px; border-width: 1px; border-color: var(--border); border-radius: var(--radius); }
.std-search.is-compact:focus-within .std-field { border-color: var(--purple); }
.std-search.is-compact .std-field input { font-size: 15px; padding: 6px 0; }
.std-search.is-compact .std-field .btn { min-height: 34px; padding: 4px 14px; font-size: 14px; border-radius: 8px; }
.std-search.is-compact.is-open .std-field { border-radius: var(--radius) var(--radius) 0 0; }
.std-search.is-compact .suggest { border-width: 1px; border-color: var(--purple); border-top-color: var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.std-search.is-compact .suggest-list > a { padding: 7px 14px; }
.std-search.is-compact .suggest-head, .std-search.is-compact .suggest-foot, .std-search.is-compact .suggest-none { padding-left: 14px; padding-right: 14px; }
@media (max-width: 640px) {
  .suggest-list > a { flex-wrap: wrap; }
  .suggest-price { margin-left: 48px; }
}

/* Category tiles: square photo frame, name underneath */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 480px) { .tiles { gap: 10px; } .tile-name { font-size: 14px; } }
.tile { display: block; text-align: center; color: var(--purple-dark); }
.tile:hover { text-decoration: none; }
.tile-img {
  display: block; aspect-ratio: 1; min-height: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #fff;
  padding: 8%; transition: border-color .15s, box-shadow .15s;
}
.tile-img img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); } /* the original monochrome look */
.tile:hover .tile-img { border-color: var(--purple); box-shadow: 0 4px 14px rgba(99, 101, 204, .15); }
.tile-name { display: block; margin-top: 8px; font-size: 16px; line-height: 1.3; }
.tile:hover .tile-name { text-decoration: underline; }

/* Home: search first */
.hero { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 24px 0 40px; text-align: center; }
@media (min-width: 900px) { .hero { padding-top: 32px; } }
.hero h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.15; }
.hero-sub { margin: 0; font-size: 18px; color: var(--text-2); max-width: 760px; }
.search-box { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 12px; text-align: left; margin-top: 8px; }
.search-panel { display: flex; flex-direction: column; gap: 12px; }
.search-tabs { display: flex; gap: 6px; align-self: flex-start; padding: 4px; background: var(--panel); border-radius: 12px; }
.search-tabs [role="tab"] {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text-2); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.search-tabs [role="tab"]:hover { color: var(--ink); }
.search-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(25, 42, 61, .12); }
.search-tabs [role="tab"][aria-selected="true"] svg { color: var(--purple); }
.search-note { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.ask-form {
  display: flex; align-items: flex-end; gap: 12px; padding: 14px 14px 14px 22px; border: 2px solid var(--purple);
  border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(99, 101, 204, .14);
}
.ask-form textarea { flex: 1; min-width: 0; border: 0; outline: none; resize: none; font: inherit; font-size: 18px; color: var(--ink); background: transparent; padding: 6px 0; }
.ask-form textarea:focus-visible { outline: none; }
.ask-form:focus-within { box-shadow: 0 0 0 3px rgba(99, 101, 204, .22), 0 8px 28px rgba(99, 101, 204, .14); }
.btn-ask { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; font-size: 16px; white-space: nowrap; }
.btn-ask[disabled] { opacity: .6; cursor: wait; }
.btn-ask-icon { display: none; }
.ask-form.is-followup { align-items: center; padding: 10px 10px 10px 18px; border-width: 1px; border-color: var(--border); box-shadow: none; }
.ask-form.is-followup:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(99, 101, 204, .22); }
.ask-form.is-followup textarea { font-size: 16px; }
.ask-form.is-followup .btn-ask { width: 44px; min-height: 44px; padding: 0; }
.ask-form.is-followup .btn-ask-text { display: none; }
.ask-form.is-followup .btn-ask-icon { display: block; }
.ask-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); color: var(--ink);
  font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; min-height: 36px;
}
.chip:hover { border-color: var(--purple); background: #fff; }
.ask-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.ask-trust li { display: flex; align-items: center; gap: 6px; }
.ask-trust svg { color: var(--green); flex: none; }
.ask-off { background: #fff8ee; border: 1px solid #f0d2a8; border-radius: var(--radius); padding: 10px 14px; margin: 0; text-align: left; }
.link-button { background: none; border: 0; padding: 0; color: var(--purple-dark); font: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* The conversation: once the first question is sent it takes over the hero */
.hero.is-chat { padding-top: 16px; gap: 12px; }
.hero.is-chat h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero.is-chat .hero-sub { display: none; }
.chat-log { display: flex; flex-direction: column; gap: 22px; padding: 12px 0 8px; }
.chat-window { display: flex; flex-direction: column; }
.hero.is-chat .chat-window {
  height: min(680px, calc(100vh - 150px)); min-height: 420px; overflow: hidden;
  border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(25, 42, 61, .10);
}
.chat-head { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.chat-title { display: flex; align-items: center; gap: 8px; margin-right: auto; font-weight: 700; }
.chat-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 10px; border: 0; border-radius: 8px;
  background: none; color: var(--purple-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.chat-btn:hover { background: var(--panel); }
.chat-close { color: var(--muted); }
.hero.is-chat .chat-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; padding: 20px 24px; }
.hero.is-chat .ask-form, .hero.is-chat .ask-form.is-followup { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.hero.is-chat .ask-form:focus-within { box-shadow: inset 0 0 0 2px rgba(99, 101, 204, .35); }
.chat-foot { margin: 0; padding: 0 16px 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.chat-resume { margin: 0; text-align: center; }
.msg p { margin: 0 0 10px; }
.msg p:last-child { margin-bottom: 0; }
.msg-user { align-self: flex-end; max-width: min(620px, 90%); background: var(--purple); color: #fff; padding: 14px 18px; border-radius: 16px 16px 4px 16px; white-space: pre-wrap; }
.msg-assistant { align-self: flex-start; display: flex; gap: 14px; max-width: 860px; width: 100%; }
.msg-avatar { width: 32px; height: 32px; flex: none; margin-top: 2px; }
.msg-text { flex: 1; min-width: 0; }
.msg-text a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.msg-text a.msg-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; margin: 4px 0; border-radius: 8px;
  background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
}
.msg-text a.msg-cta:hover { background: #a82600; color: #fff; }
.msg-text h4 { margin: 14px 0 6px; font-size: 16px; }
.msg-text ul, .msg-text ol { margin: 0 0 10px; padding-left: 22px; }
.msg-text li { margin-bottom: 4px; }
.msg-text pre { background: var(--panel); padding: 10px; border-radius: 6px; overflow-x: auto; }
.msg-table { overflow-x: auto; margin: 0 0 10px; }
.msg-table table { border-collapse: collapse; font-size: 14.5px; }
.msg-table th, .msg-table td { border-bottom: 1px solid var(--line); padding: 7px 12px 7px 0; text-align: left; vertical-align: top; }
.msg-table th { color: var(--text-2); font-weight: 600; }
.msg-sources { font-size: 13px; color: var(--muted); margin-top: 10px !important; }
.msg-notice { align-self: flex-start; background: #fff8ee; border: 1px solid #f0d2a8; padding: 10px 14px; border-radius: var(--radius); margin-left: 46px; }
.msg-thinking { align-self: flex-start; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; padding: 4px 0 4px 46px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: rt-dot 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes rt-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 420px) { .search-tabs [role="tab"] svg { display: none; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; opacity: .7; } }
.msg-cards { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.msg-cards a, .msg-cards div { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; font-weight: 400; }
.msg-cards a:hover { border-color: var(--purple); }
.msg-cards li:first-child a, .msg-cards li:first-child div { border: 2px solid var(--purple); }
.msg-cards img { width: 100%; height: 150px; object-fit: contain; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.msg-cards span { padding: 0 14px; }
.msg-cards span:last-child { padding-bottom: 12px; }
.msg-cards .card-label { font-size: 12px; font-weight: 700; color: var(--purple-dark); text-transform: uppercase; }
.msg-cards .card-title { font-weight: 700; }
.msg-cards .card-subtitle, .msg-cards .card-meta { font-size: 14px; color: var(--text-2); }
.msg-cards .card-price { color: var(--red); font-weight: 700; font-size: 18px; }
@media (max-width: 640px) {
  .hero { gap: 16px; }
  .hero-sub { font-size: 16px; }
  .search-tabs { align-self: stretch; }
  .search-tabs [role="tab"] { flex: 1; justify-content: center; padding: 0 8px; font-size: 14px; white-space: nowrap; }
  .ask-form { flex-direction: column; align-items: stretch; padding: 12px; }
  .ask-form:not(.is-followup) textarea { min-height: 5.4em; }
  .ask-form.is-followup { flex-direction: row; padding: 8px 8px 8px 14px; }
  /* On phones the conversation is a full-screen panel. */
  .hero.is-chat .chat-window { position: fixed; inset: 0; z-index: 100; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
  .hero.is-chat .chat-log { padding: 16px; }
  html.chat-open, html.chat-open body { overflow: hidden; }
  .std-field { padding-left: 14px; gap: 8px; }
  .std-field input { font-size: 16px; }
  .msg-assistant { gap: 10px; }
  .msg-avatar { width: 26px; height: 26px; }
  .msg-notice { margin-left: 0; }
  .msg-thinking { padding-left: 36px; }
}

/* Home: categories and how it works */
.divider { display: flex; align-items: center; gap: 16px; margin: 0 0 32px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.divider span { text-align: center; }
.steps { display: grid; gap: 20px; margin-top: 48px; padding: 32px; background: var(--panel); border-radius: 12px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { padding: 16px; gap: 12px; margin-top: 32px; } }
.step { background: #fff; border-radius: var(--radius); padding: 22px; }
.step h3 { margin: 0; font-size: 13px; font-weight: 700; color: var(--purple-dark); text-transform: uppercase; letter-spacing: .04em; }
.step p { margin: 8px 0 0; }
.panel { background: var(--panel); border-radius: 12px; padding: 24px 16px; }
@media (min-width: 900px) { .panel { padding: 32px; } }
.section-title { font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--purple-dark); margin-bottom: 10px; }
.section-title a { color: var(--purple-dark); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-block; padding: 10px 20px; border: 0; border-radius: var(--radius); background: var(--purple); color: #fff;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--purple-dark); color: #fff; text-decoration: none; }
.btn-accent { background: var(--red); }
.btn-accent:hover { background: #a82600; }
.btn-small {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--purple); border-radius: 8px; background: #fff;
  color: var(--purple-dark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.btn-small:hover { background: var(--purple); color: #fff; text-decoration: none; }

/* Breadcrumb and page heads */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.page-head { margin-bottom: 24px; }
.lead { font-size: 18px; max-width: 820px; }

/* Browse: filters + results */
.browse { display: grid; gap: 24px; }
@media (min-width: 900px) { .browse { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; } }
.filters { background: var(--panel); border-radius: 12px; padding: 16px; align-self: start; }
.filters-title { font-size: 16px; text-transform: uppercase; color: var(--purple-dark); }
.filter-form fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 12px 0; }
.filter-form legend { font-weight: 700; font-size: 14px; padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.filter-form fieldset > *:not(legend) { clear: both; }
.range { display: flex; gap: 8px; font-size: 14px; }
.range label { display: flex; align-items: center; gap: 4px; }
.range input, .filter-form select { width: 100%; padding: 6px 8px; font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 4px 0; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--purple); }
.inline { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 8px; }
.inline select { width: auto; }
.near-active { font-size: 14px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.near-msg { font-size: 13px; color: #b42318; margin: 6px 0 0; }
.filter-form .btn { width: 100%; margin-top: 12px; }
.reset { display: block; margin-top: 10px; font-size: 14px; text-align: center; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar .count { margin: 0; font-weight: 700; }
.sort-form select { padding: 6px 8px; font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; margin-left: 6px; }

/* Model cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; overflow: hidden; }
.card a:hover { border-color: var(--purple); text-decoration: none; box-shadow: 0 4px 14px rgba(99, 101, 204, .15); }
.card-img { display: block; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; padding: 12px; background: #fff; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-img.is-fallback img { opacity: .55; filter: grayscale(1); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card-title { font-weight: 700; line-height: 1.3; }
.card-specs { font-size: 14px; color: var(--muted); }
.card-price { margin-top: auto; padding-top: 6px; }
.card-price strong { color: var(--red); }
.card-meta { font-size: 13px; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 24px; margin-top: 24px; font-size: 15px; }
.empty { background: var(--panel); border-radius: 12px; padding: 24px; }

/* Model page */
.model-top { display: grid; gap: 24px; margin-bottom: 32px; }
@media (min-width: 900px) { .model-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.is-fallback img { opacity: .55; filter: grayscale(1); }
.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.thumbs button:hover, .thumbs button[aria-current="true"] { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.key-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 20px 0; }
.key-specs div { background: var(--panel); border-radius: var(--radius); padding: 10px 12px; }
.key-specs dt { font-size: 13px; color: var(--muted); }
.key-specs dd { margin: 0; font-weight: 700; font-size: 18px; }
.price-box { border-top: 1px solid var(--line); padding-top: 16px; }
.price-big { color: var(--red); font-size: 26px; }
.specs, .description, .offers { margin-top: 32px; }
.spec-table { border-collapse: collapse; width: 100%; max-width: 640px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--muted); width: 55%; }
.spec-table td { font-weight: 700; }
.description p { max-width: 820px; }
.offers-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.offers-head h2 { margin: 0; }
.near-inline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer {
  display: grid; gap: 12px 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .offer { grid-template-columns: 1.2fr 1fr 1.4fr auto; align-items: start; } }
.offer-company { font-weight: 700; font-size: 17px; }
.offer-who p, .offer-prices p { margin: 2px 0; }
.offer-prices strong { color: var(--red); }
.offer-terms { margin: 0; padding-left: 18px; font-size: 14px; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e7f6ec; color: #116b35; font-size: 12px; font-weight: 700; vertical-align: middle; }
.badge-muted { background: var(--panel); color: var(--muted); margin-left: 0; }

/* Company page */
.locations { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.location { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.hours { border-collapse: collapse; font-size: 14px; }
.hours th { text-align: left; font-weight: 400; color: var(--muted); padding: 2px 12px 2px 0; }
.company-offers { border-collapse: collapse; width: 100%; }
.company-offers th, .company-offers td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.company-offers th .muted { display: block; font-weight: 400; font-size: 13px; }
.company-offers .num { white-space: nowrap; }
.company-offers .num strong { color: var(--red); }

/* Forms */
.inquiry .subject { background: var(--panel); border-radius: var(--radius); padding: 12px 16px; }
.grid-2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.field label.check { font-weight: 400; display: flex; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; padding: 9px 12px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
.field textarea { resize: vertical; }
.help { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.error { font-size: 13px; color: #b42318; margin: 4px 0 0; }
.has-error input, .has-error textarea { border-color: #b42318; }
.req { color: var(--red); }
.alert { background: #fdecea; color: #8a1c12; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Text pages */
.prose h2 { font-size: 22px; margin-top: 28px; }
.prose h3 { margin-top: 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer .footer-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 24px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); padding-top: 16px; padding-bottom: 32px; font-size: 13px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 700; text-transform: uppercase; }
.footer-nav a { color: var(--ink); }
.footer-nav a:first-child { color: var(--red); }
.footer-meta { margin: 0; color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
@media (max-width: 640px) { .footer-meta { align-items: flex-start; text-align: left; } }
