/* ============================================================
   Unitrade Color — site chrome
   Dark navy + signal red. Tokens first, then layout sections.
   ============================================================ */

:root {
  --ink: #0a121c;
  --ink-2: #111c2b;
  --ink-3: #182636;
  --ink-4: #203044;
  --paper: #f4f6f8;
  --paper-2: #eef1f4;
  --white: #ffffff;
  --accent: #e10600;
  --accent-2: #c10500;
  --accent-soft: rgba(225, 6, 0, 0.12);
  --muted: #6a7686;
  --muted-2: #8b95a3;
  --line: #e2e7ee;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text: #1b2430;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 40px rgba(10, 18, 28, 0.12);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

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

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

button,
[role="button"] {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-footer .brand__logo {
  height: 58px;
}

.brand svg {
  width: 42px;
  height: 28px;
}

.brand__name {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
}

.brand__name span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 999px;
  transition: color 180ms var(--ease), background 180ms var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav a.is-accent {
  color: #ffc9c9;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}

.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: stretch;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7, 12, 20, 0.94) 0%,
      rgba(7, 12, 20, 0.72) 34%,
      rgba(7, 12, 20, 0.28) 72%,
      rgba(7, 12, 20, 0.12) 100%),
    linear-gradient(180deg,
      rgba(7, 12, 20, 0.18) 0%,
      rgba(7, 12, 20, 0.52) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(88vh, 820px);
  padding: 72px 0 88px;
}

.hero h1 {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
  margin: 0 0 28px;
}

.stats {
  display: flex;
  gap: 28px;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 150ms var(--ease), background 150ms var(--ease), border-color 150ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-2);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: color-mix(in oklab, var(--text) 22%, transparent);
}

.btn--ghost:hover {
  border-color: var(--text);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost-light:hover {
  border-color: var(--white);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Brands ---------- */

.brands {
  padding: 72px 0 64px;
  background: var(--white);
}

.brands h2,
.about-teaser h2,
.locations h2,
.contact h2,
.about-page h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
  color: var(--ink);
}

.lead {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 60ch;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.brand-card {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease);
}

.brand-card img {
  width: stretch;
}

.brand-card:hover {
  border-color: color-mix(in oklab, var(--accent) 45%, var(--line));
  background: var(--white);
  transform: translateY(-2px);
}

.brand-card svg,
.brand-card .wordmark {
  width: min(140px, 100%);
  height: 36px;
}

.brand-card .wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #3a4450;
  font-size: 15px;
}

/* ---------- Standox band ---------- */

.standox {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: #070b12;
}

.standox__media {
  position: absolute;
  inset: 0;
}

.standox__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.02);
}

.standox__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(6, 10, 18, 0.96) 0%,
      rgba(6, 10, 18, 0.82) 28%,
      rgba(6, 10, 18, 0.48) 54%,
      rgba(6, 10, 18, 0.10) 100%),
    linear-gradient(180deg,
      rgba(6, 10, 18, 0.12),
      rgba(6, 10, 18, 0.38));
}

.standox__content {
  position: relative;
  z-index: 1;

  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  padding: 88px 0;
  max-width: 1180px;
}

.standox-logo {
  margin-top: 35px;
  margin-bottom: 35px;
  width: 250px;
}

.standox-logo svg {
  display: block;
}

.standox .eyebrow {
  margin-bottom: 8px;
}

.standox h2 {
  color: var(--white);
  max-width: 620px;

  margin: 8px 0 18px;

  font-family: var(--display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.standox p {
  max-width: 52ch;

  margin: 0 0 30px;

  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.standox .btn {
  min-width: 190px;
}

.standox-line {
  width: 54px;
  height: 3px;
  margin-bottom: 20px;
  background: var(--accent);
}

/* ---------- About teaser ---------- */

.about-teaser {
  padding: 88px 0;
  background: var(--paper);
}

.about-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-teaser p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-teaser__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-teaser__photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---------- Locations ---------- */

.locations {
  position: relative;
  padding: 88px 0;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.locations__bg {
  position: absolute;
  inset: 0;
}

.locations__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.locations__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 28, 0.88), rgba(10, 18, 28, 0.94));
}

.locations .wrap {
  position: relative;
  z-index: 1;
}

.locations h2,
.locations .lead {
  color: var(--white);
}

.locations .lead {
  opacity: 0.75;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.loc-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 280px;

  backdrop-filter: blur(10px);

  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease);
}

.loc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 6, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.loc-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.loc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.loc-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.loc-row a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Contact ---------- */

.contact {
  padding: 88px 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__copy p {
  color: var(--muted);
  line-height: 1.7;
}

.mail-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.mail-note strong {
  display: block;
  font-size: 15px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid color-mix(in oklab, var(--accent) 45%, white);
  outline-offset: 1px;
  border-color: var(--accent);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 18px;
}

.check input {
  margin-top: 3px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
}

.form-status.is-ok {
  color: #0f7b4a;
}

.form-status.is-err {
  color: var(--accent);
}

.form-card .btn {
  width: 100%;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

[data-captcha] {
  margin: 4px 0 16px;
}

[data-captcha]:empty {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}

.site-footer h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 2px solid var(--line-dark);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  color: var(--white);
}

.socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.legal {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- Catalog (dark) ---------- */

.catalog-page {
  background: #0b1520;
  color: rgba(255, 255, 255, 0.88);
  min-height: 100vh;
}

.catalog-hero {
  padding: 36px 0 8px;
}

.catalog-hero h1 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 8px 0 8px;
  color: var(--white);
}

.filters {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 12px;
  margin: 22px 0 10px;
  background: #101b28;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 14px;
}

.filters input,
.filters select {
  min-height: 46px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c1622;
  color: var(--white);
  padding: 0 12px;
}

.meta-count {
  font-size: 13px;
  color: var(--muted-2);
  margin: 8px 0 12px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: #0e1a27;
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.catalog-table th,
.catalog-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}

.catalog-table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.catalog-table td.code {
  font-variant-numeric: tabular-nums;
  color: #9eb0c4;
  font-weight: 600;
}

.qty {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 18px;
}

.qty input {
  width: 48px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0 110px;
  flex-wrap: wrap;
}

.pages {
  display: flex;
  gap: 6px;
  align-items: center;
}

.pages button,
.pages span {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--white);
}

.pages button.is-active {
  background: var(--white);
  color: var(--ink);
}

.pages button:hover {
  border-color: var(--line-dark);
}

.page-size {
  min-height: 36px;
  border-radius: 8px;
  background: #0c1622;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 10px;
}

.cart-bar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #152232;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 18px;
  margin: -86px auto 28px;
  width: min(var(--wrap), calc(100% - 40px));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cart-bar[hidden] {
  display: none;
}

.cart-bar strong {
  color: var(--white);
}

.cart-bar p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

.cards-mobile {
  display: none;
}

/* ---------- Modal ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 16, 0.72);
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none !important;
}

/* body.modal-open {
  overflow: hidden;
} */

.modal {
  width: min(720px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: #101a27;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  padding: 24px;
}

.modal h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 30px;
}

.modal .field input,
.modal .field textarea {
  background: #0c1622;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.selected-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 20px;
}

.selected-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}

.selected-item small {
  color: var(--muted-2);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
}

/* ---------- About page ---------- */

.about-page {
  background: var(--paper);
}

.about-hero {
  position: relative;
  min-height: 360px;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}


.about-hero img,
.about-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 28, 0.88), rgba(10, 18, 28, 0.35));
}

.about-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 90px 0;
}

.about-hero h1 {
  color: var(--white);
  margin: 8px 0 0;
}

.about-body {
  padding: 64px 0 96px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 40px;
}

.about-layout img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.prose p {
  color: #3d4754;
  line-height: 1.75;
  margin: 0 0 16px;
}

.prose h2 {
  font-family: var(--display);
  font-size: 28px;
  margin: 28px 0 12px;
}

/* ---------- Mobile ---------- */

@media (max-width: 980px) {
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-teaser__grid,
  .contact__grid,
  .about-layout,
  .footer-grid,
  .loc-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
  }

  .mobile-nav a {
    padding: 12px 10px;
    color: var(--white);
    font-weight: 600;
    min-height: 44px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero__media img {
    object-position: 80% center;
  }

  .catalog-table {
    display: none;
  }

  .cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pcard {
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    padding: 14px;
    background: #0e1a27;
  }

  .pcard .code {
    color: #9eb0c4;
    font-size: 12px;
    font-weight: 700;
  }

  .pcard h3 {
    margin: 4px 0 8px;
    font-size: 16px;
  }

  .pcard-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .cart-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    margin: 0;
  }

  .pager {
    padding-bottom: 130px;
  }
}

@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wrap {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .stats {
    gap: 18px;
  }

  .legal,
  .cart-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-bar .btn {
    width: 100%;
  }

  .selected-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .brand-card,
  .nav a {
    transition: none;
  }
}