:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f5f5f5;
  --ink: #080808;
  --muted: #606a76;
  --faint: #9a9a9a;
  --line: #e7e7e7;
  --dark: #151515;
  --dark-2: #202020;
  --ok: #18c968;
  --shadow: 0 24px 55px rgba(0, 0, 0, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  margin: 0;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: #050505;
  border-radius: 8px;
  color: #fff;
  display: grid;
  flex: 0 0 38px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  place-items: center;
}

.brand-name {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
  min-width: 0;
}

.brand-name strong {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-name small {
  color: #9a9a9a;
  font-size: 1rem;
  font-weight: 500;
}

.desktop-nav {
  align-items: center;
  color: #747474;
  display: flex;
  font-size: 0.91rem;
  font-weight: 520;
  gap: 22px;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.icon-button {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 44px;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  position: relative;
}

.icon-button:hover {
  border-color: #b9b9b9;
}

.icon-button.subtle {
  background: var(--soft);
}

.icon-button span {
  align-items: center;
  background: var(--ink);
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: 0.68rem;
  font-weight: 850;
  height: 20px;
  min-width: 20px;
  padding: 0 5px;
  position: absolute;
  right: -6px;
  top: -6px;
}

svg {
  height: 18px;
  width: 18px;
}

button:focus-visible,
a:focus-visible,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 0, 0, 0.16);
  outline-offset: 2px;
}

.primary-action,
.secondary-action,
.segment,
.secondary-card,
.primary-card {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.primary-action {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 0 25px;
}

.primary-action:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  transform: translateY(-1px);
}

.primary-action.full {
  width: 100%;
}

.secondary-action {
  background: #fff;
  border: 1px solid #d6d6d6;
  color: var(--ink);
  font-weight: 720;
  padding: 0 25px;
}

.secondary-action:hover {
  border-color: #aaa;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 74px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  min-height: calc(100svh - 92px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 58px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  align-items: center;
  color: #9a9a9a;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 14px;
  letter-spacing: 0.16em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: #9a9a9a;
  content: "";
  height: 1px;
  width: 28px;
}

.eyebrow.light {
  color: #9a9a9a;
}

.hero h1,
.section-heading h2,
.selection-top h2,
.services-section h2,
.contact-copy h2 {
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  font-weight: 900;
}

.hero h1 em {
  color: #9f9f9f;
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
  margin: 28px 0 28px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  background: var(--dark);
  border-radius: 22px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 18px;
  min-height: 390px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
}

.panel-top {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.panel-top span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel-top strong {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.74rem;
  padding: 7px 14px;
}

.hero-panel img {
  aspect-ratio: 16 / 8;
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
}

.panel-steps {
  display: grid;
  gap: 18px;
}

.panel-steps article {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.panel-steps i {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: grid;
  height: 30px;
  place-items: center;
  width: 30px;
}

.panel-steps .done i {
  background: #fff;
  color: var(--dark);
}

.panel-steps strong,
.panel-steps span {
  display: block;
}

.panel-steps strong {
  font-size: 0.95rem;
}

.panel-steps span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.83rem;
  margin-top: 4px;
}

.search-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 22px clamp(18px, 4vw, 58px);
}

.hero-search {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.82rem;
  font-weight: 720;
  gap: 7px;
  min-width: 0;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  min-height: 50px;
  min-width: 0;
  padding: 12px 18px;
  width: 100%;
}

textarea {
  border-radius: 22px;
  line-height: 1.45;
  min-height: 116px;
  resize: vertical;
}

.search-field {
  position: relative;
}

.search-field input {
  padding-left: 48px;
}

.search-field svg {
  color: #9a9a9a;
  left: 18px;
  pointer-events: none;
  position: absolute;
  top: 16px;
}

.quick-categories {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.quick-categories a {
  background: var(--soft);
  border-radius: 999px;
  color: #555;
  font-size: 0.83rem;
  font-weight: 720;
  padding: 9px 13px;
}

.quick-categories a:hover {
  background: #e9e9e9;
  color: var(--ink);
}

.stats-strip,
.catalogue-section,
.inventory-section,
.services-section,
.contact-section,
.site-footer {
  margin: 0 auto;
  width: min(1440px, 100%);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-strip article {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 25px clamp(18px, 4vw, 38px);
}

.stats-strip article:last-child {
  border-right: 0;
}

.stats-strip strong,
.stats-strip span {
  display: block;
}

.stats-strip strong {
  font-size: 1.75rem;
  line-height: 1.1;
}

.stats-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

.catalogue-section {
  padding: 58px clamp(18px, 4vw, 58px) 34px;
}

.inventory-section {
  padding: 24px clamp(18px, 4vw, 58px) 58px;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2,
.services-section h2,
.contact-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
}

.section-note {
  color: var(--muted);
  font-weight: 720;
  margin: 0 0 4px;
}

.catalogue-tools {
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(320px, 1.2fr) repeat(3, minmax(150px, 0.65fr));
  margin-bottom: 22px;
  padding: 14px;
}

.segment-control {
  background: var(--soft);
  border-radius: 999px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 4px;
}

.inventory-board {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.inventory-summary {
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-summary article {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 20px;
}

.inventory-summary article:last-child {
  border-right: 0;
}

.inventory-summary span,
.inventory-summary strong {
  display: block;
}

.inventory-summary span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inventory-summary strong {
  font-size: 1.18rem;
  margin-top: 6px;
}

.inventory-table-wrap {
  overflow-x: auto;
}

.inventory-table {
  border-collapse: collapse;
  min-width: 840px;
  width: 100%;
}

.inventory-table th,
.inventory-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
}

.inventory-table th {
  background: #fafafa;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.inventory-table tbody tr:last-child td {
  border-bottom: 0;
}

.inventory-vehicle {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 240px;
}

.inventory-vehicle img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  height: 58px;
  object-fit: cover;
  width: 78px;
}

.inventory-vehicle span {
  font-weight: 850;
}

.inventory-status {
  background: var(--soft);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 820;
  padding: 7px 10px;
}

.segment {
  background: transparent;
  border: 0;
  color: #707070;
  font-size: 0.82rem;
  font-weight: 760;
  min-height: 42px;
  padding: 0 10px;
}

.segment.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.shop-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.vehicle-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.vehicle-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.vehicle-media {
  aspect-ratio: 4 / 3;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}

.vehicle-photo-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(0, 0, 0, 0.45) transparent;
  scrollbar-width: thin;
  width: 100%;
}

.vehicle-photo-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 220ms ease;
  width: 100%;
}

.vehicle-card:hover .vehicle-photo-track img {
  transform: scale(1.035);
}

.vehicle-status,
.vehicle-ref {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  min-height: 28px;
  padding: 0 10px;
  position: absolute;
  top: 12px;
}

.vehicle-status {
  background: #fff;
  color: var(--ink);
  left: 12px;
}

.vehicle-ref {
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  right: 12px;
}

.vehicle-photo-count {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  bottom: 12px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  position: absolute;
  right: 12px;
}

.vehicle-photo-count svg {
  height: 14px;
  width: 14px;
}

.vehicle-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.vehicle-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
}

.vehicle-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 9px;
  margin-top: 8px;
}

.vehicle-meta span {
  align-items: center;
  display: inline-flex;
  gap: 5px;
}

.vehicle-price {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.vehicle-price strong {
  font-size: 1.34rem;
}

.vehicle-price span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 720;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  background: var(--soft);
  border-radius: 999px;
  color: #555;
  font-size: 0.74rem;
  font-weight: 720;
  padding: 7px 9px;
}

.card-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.secondary-card,
.primary-card {
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 780;
  min-height: 42px;
  padding: 0 12px;
}

.secondary-card {
  background: #fff;
  border: 1px solid #d9d9d9;
  color: var(--ink);
}

.primary-card {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
}

.primary-card.selected {
  background: #fff;
  color: var(--ink);
}

.empty-state {
  border: 1px dashed #cfcfcf;
  border-radius: 22px;
  color: var(--muted);
  display: grid;
  grid-column: 1 / -1;
  min-height: 230px;
  place-items: center;
  text-align: center;
}

.selection-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 14px;
  padding: 18px;
  position: sticky;
  top: 98px;
}

.selection-top {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.selection-top h2 {
  font-size: 1.22rem;
}

.selection-list {
  display: grid;
  gap: 10px;
  min-height: 78px;
}

.selection-item {
  align-items: center;
  background: var(--soft);
  border-radius: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  padding: 8px;
}

.selection-item img {
  aspect-ratio: 1;
  border-radius: 12px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.selection-item strong,
.selection-item span {
  display: block;
}

.selection-item strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.selection-item span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.mini-remove {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: grid;
  height: 34px;
  place-items: center;
  width: 34px;
}

.selection-total {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
}

.selection-total span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.selection-total strong {
  font-size: 1.08rem;
}

.services-section {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.72fr 1.28fr;
  padding: 58px clamp(18px, 4vw, 58px);
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 210px;
  padding: 20px;
}

.service-grid svg {
  color: var(--ink);
  height: 26px;
  width: 26px;
}

.service-grid h3 {
  font-size: 1rem;
  margin: 16px 0 8px;
}

.service-grid p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.contact-section {
  align-items: start;
  background: var(--dark);
  border-radius: 28px 28px 0 0;
  color: #fff;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  padding: 54px clamp(18px, 4vw, 58px);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 20px;
}

.lead-form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form label {
  color: #fff;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-color: rgba(255, 255, 255, 0.14);
}

.lead-form .wide,
.lead-form button {
  grid-column: 1 / -1;
}

.site-footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 12px;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 58px) 28px;
}

.vehicle-dialog {
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  color: var(--ink);
  max-width: min(980px, calc(100vw - 28px));
  overflow: visible;
  padding: 0;
  width: 980px;
}

.vehicle-dialog::backdrop {
  background: rgba(10, 10, 10, 0.62);
}

.close-dialog {
  position: absolute;
  right: -12px;
  top: -12px;
  z-index: 2;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.dialog-media {
  background: #f0f0f0;
  border-radius: 22px 0 0 22px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 520px;
  overflow: hidden;
}

.dialog-photo-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(0, 0, 0, 0.45) transparent;
  scrollbar-width: thin;
  width: 100%;
}

.dialog-photo-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  width: 100%;
}

.dialog-gallery {
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
  scrollbar-width: thin;
}

.dialog-gallery img {
  aspect-ratio: 1;
  border-radius: 10px;
  flex: 0 0 72px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.dialog-body {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.dialog-body h2 {
  font-size: 1.75rem;
  line-height: 1.1;
  margin: 0;
}

.dialog-price {
  font-size: 1.45rem;
  font-weight: 900;
}

.spec-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-grid article {
  background: var(--soft);
  border-radius: 16px;
  padding: 12px;
}

.spec-grid span,
.spec-grid strong {
  display: block;
}

.spec-grid span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-grid strong {
  font-size: 0.92rem;
  margin-top: 4px;
}

.highlight-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.highlight-list li {
  align-items: center;
  display: flex;
  gap: 8px;
  list-style: none;
}

.highlight-list li::before {
  background: var(--ink);
  border-radius: 999px;
  content: "";
  flex: 0 0 7px;
  height: 7px;
  width: 7px;
}

.toast {
  background: var(--ink);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: var(--shadow);
  color: #fff;
  font-size: 0.9rem;
  left: 50%;
  opacity: 0;
  padding: 11px 16px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 12px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 40;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1220px) {
  .hero,
  .search-band,
  .catalogue-tools,
  .shop-layout,
  .services-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quick-categories {
    justify-content: start;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selection-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-name small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-search,
  .section-heading,
  .site-footer {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .stats-strip,
  .segment-control,
  .vehicle-grid,
  .service-grid,
  .lead-form,
  .inventory-summary,
  .dialog-layout,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip article {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .inventory-summary article {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
  }

  .inventory-summary article:last-child {
    border-bottom: 0;
  }

  .dialog-media {
    border-radius: 22px 22px 0 0;
    min-height: 300px;
  }
}

@media (max-width: 520px) {
  .brand-name strong {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }
}
