:root {
  color-scheme: light;
  --paper: #f4f3ed;
  --paper-strong: #fbfaf6;
  --surface: #ffffff;
  --ink: #173d3b;
  --ink-strong: #0c2928;
  --muted: #5d706d;
  --faint: #879592;
  --line: #d8ded9;
  --line-strong: #b9c6c1;
  --accent: #ef6a43;
  --accent-dark: #a9361f;
  --accent-soft: #fbe3d8;
  --green: #277b5b;
  --green-soft: #dcece5;
  --amber: #9d6308;
  --amber-soft: #f8ebca;
  --danger: #b43c35;
  --danger-soft: #f8dfdc;
  --shadow-offset: 8px 10px 28px rgba(32, 57, 52, 0.12);
  --display: "Bricolage Grotesque", "Bahnschrift", sans-serif;
  --body: "Manrope", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink-strong);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.08;
}

h3 {
  line-height: 1.15;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 2px solid var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #137da0;
  outline-offset: 3px;
}

.page-width {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: color-mix(in srgb, var(--paper-strong) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.utility-bar {
  min-height: 32px;
  background: var(--ink);
  color: #e9f1ee;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.utility-bar__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-bar__status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.utility-bar__status .icon {
  width: 14px;
  height: 14px;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(260px, 560px) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand em {
  color: var(--accent-dark);
  font-style: normal;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 7px;
  background: var(--ink);
  border-radius: 8px 8px 8px 2px;
}

.brand-mark i {
  display: block;
  background: var(--paper-strong);
  border-radius: 1px;
}

.brand-mark i:nth-child(1) {
  height: 8px;
}

.brand-mark i:nth-child(2) {
  height: 14px;
}

.brand-mark i:nth-child(3) {
  height: 11px;
  background: var(--accent);
}

.header-search,
.catalog-search,
.support-hero form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search .icon,
.catalog-search .icon,
.support-hero form .icon {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}

.header-search input,
.catalog-search input,
.support-hero input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 48px;
  color: var(--ink-strong);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.header-search input::placeholder,
.catalog-search input::placeholder,
.support-hero input::placeholder,
textarea::placeholder {
  color: #6f807c;
}

.header-search input:focus,
.catalog-search input:focus,
.support-hero input:focus {
  border-color: #137da0;
}

.search-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-offset);
}

.search-suggestions a,
.search-suggestions p {
  display: block;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
}

.search-suggestions a:hover,
.search-suggestions a[aria-selected="true"] {
  background: var(--green-soft);
}

.search-suggestions strong,
.search-suggestions span {
  display: block;
}

.search-suggestions span {
  color: var(--muted);
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.account-link,
.cart-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.account-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
}

.avatar,
.account-avatar {
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--display);
  font-weight: 700;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.cart-link {
  position: relative;
}

.cart-link b {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  background: var(--accent);
  color: #25100a;
  border-radius: 10px;
  font-size: 10px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  cursor: pointer;
}

.menu-close-icon {
  display: none;
}

.mobile-menu-button[aria-expanded="true"] .menu-open-icon {
  display: none;
}

.mobile-menu-button[aria-expanded="true"] .menu-close-icon {
  display: block;
}

.primary-nav {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a,
.nav-auth-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--ink-strong);
  border-bottom-color: var(--accent);
}

.nav-register,
.nav-auth-action {
  margin-left: auto;
}

.nav-auth-action {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

main {
  min-height: calc(100vh - 340px);
}

.home-hero {
  overflow: hidden;
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
}

.home-hero__grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-block: 68px 74px;
}

.home-hero__copy {
  max-width: 690px;
  animation: hero-enter 560ms cubic-bezier(.16, 1, .3, 1) both;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
}

.home-hero__copy > p:not(.section-kicker) {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-search {
  max-width: 650px;
}

.hero-search > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-search > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  box-shadow: 7px 9px 0 #dce4df;
}

.hero-search .icon {
  position: absolute;
  z-index: 1;
  top: 21px;
  left: 19px;
  color: var(--muted);
}

.hero-search input {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px 0 44px;
  color: var(--ink-strong);
  background: transparent;
  border: 0;
}

.hero-search input:focus {
  outline: 0;
}

.hero-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 21px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-shortcuts a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.supply-shelf {
  position: relative;
  min-height: 430px;
  padding: 46px 38px 32px;
  background: #dce8e3;
  border-radius: 14px;
  box-shadow: 13px 16px 0 #cbd7d2;
  animation: shelf-enter 680ms 80ms cubic-bezier(.16, 1, .3, 1) both;
}

.supply-shelf::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(23, 61, 59, 0.14);
  border-radius: 8px;
  pointer-events: none;
}

.shelf-note {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 138px;
  padding: 11px 13px;
  background: var(--paper-strong);
  transform: rotate(2deg);
  box-shadow: 4px 5px 0 rgba(23, 61, 59, 0.14);
}

.shelf-note span,
.shelf-note strong {
  display: block;
}

.shelf-note span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-note strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 14px;
}

.shelf-row {
  position: relative;
  z-index: 1;
  min-height: 145px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
}

.shelf-row--top {
  padding-top: 26px;
}

.shelf-rule {
  position: relative;
  z-index: 2;
  height: 12px;
  margin: 0 -9px 12px;
  background: var(--ink);
  box-shadow: 0 7px 0 rgba(23, 61, 59, 0.12);
}

.supply-shelf .product-art {
  min-height: 132px;
  background: transparent;
}

.work-strip {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.work-strip > div,
.work-strip > a {
  display: flex;
  align-items: center;
  gap: 14px;
}

.work-strip > div > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border-radius: 10px;
}

.work-strip p,
.work-strip strong {
  margin: 0;
}

.work-strip p {
  color: var(--muted);
  font-size: 13px;
}

.work-strip strong {
  display: block;
  color: var(--ink-strong);
  font-size: 14px;
}

.work-strip > a,
.text-link {
  color: var(--ink);
  font-weight: 800;
}

.work-strip > a .icon,
.text-link .icon {
  width: 16px;
  transition: transform 180ms ease;
}

.work-strip > a:hover .icon,
.text-link:hover .icon {
  transform: translateX(3px);
}

.home-section,
.reorder-section,
.account-page,
.catalog-page,
.product-detail,
.support-layout {
  padding-block: clamp(56px, 7vw, 92px);
}

.section-heading,
.page-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.page-heading h1 {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 5px 7px 0 #dfe4df;
  transition: transform 180ms cubic-bezier(.16, 1, .3, 1), box-shadow 180ms cubic-bezier(.16, 1, .3, 1);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 12px 0 #d8dfda;
}

.product-card__art {
  position: relative;
  display: block;
}

.product-card__body {
  padding: 17px 18px 18px;
}

.product-category {
  margin-bottom: 6px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

.product-card h3 a:hover {
  color: var(--accent-dark);
}

.product-description {
  display: -webkit-box;
  min-height: 62px;
  margin-bottom: 17px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.product-card__footer strong {
  font-family: var(--display);
  font-size: 19px;
}

.stock-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  background: var(--ink);
  color: #f4fbf8;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--accent-dark);
}

.icon-button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.product-art {
  position: relative;
  min-height: 205px;
  overflow: hidden;
  background: var(--product-color);
  isolation: isolate;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border: 1px solid color-mix(in srgb, var(--ink) 11%, transparent);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.product-shape,
.product-shadow {
  position: absolute;
  display: block;
}

.product-shadow {
  z-index: 0;
  left: 22%;
  right: 22%;
  bottom: 16%;
  height: 8%;
  background: rgba(23, 61, 59, 0.15);
  border-radius: 50%;
  filter: blur(7px);
}

.product-shape--main,
.product-shape--back,
.product-shape--detail {
  z-index: 2;
  background: var(--ink);
}

.product-art--dock .product-shape--main {
  left: 22%; right: 22%; bottom: 26%; height: 27%; border-radius: 8px 8px 13px 13px; transform: perspective(160px) rotateX(9deg);
}
.product-art--dock .product-shape--back { left: 30%; right: 30%; bottom: 49%; height: 16%; border-radius: 8px 8px 2px 2px; background: #f8faf8; box-shadow: inset 0 0 0 3px var(--ink); }
.product-art--dock .product-shape--detail { left: 31%; bottom: 34%; width: 38%; height: 4px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 17px); }

.product-art--lamp .product-shape--back { left: 48%; bottom: 27%; width: 5px; height: 43%; transform: rotate(10deg); transform-origin: bottom; }
.product-art--lamp .product-shape--main { left: 35%; top: 24%; width: 34%; height: 25%; border-radius: 55% 55% 38% 38%; transform: rotate(8deg); background: var(--accent); }
.product-art--lamp .product-shape--detail { left: 34%; bottom: 22%; width: 38%; height: 8%; border-radius: 50%; }

.product-art--keyboard .product-shape--main { left: 16%; right: 16%; bottom: 27%; height: 39%; border-radius: 9px; transform: perspective(180px) rotateX(16deg); background: #f7f7f2; box-shadow: inset 0 0 0 4px var(--ink); }
.product-art--keyboard .product-shape--detail { left: 23%; right: 23%; bottom: 38%; height: 17%; background: repeating-linear-gradient(90deg, var(--ink) 0 7%, transparent 7% 11%); opacity: 0.65; }
.product-art--keyboard .product-shape--back { left: 25%; right: 25%; bottom: 29%; height: 3px; background: var(--accent); }

.product-art--notebook .product-shape--main { left: 29%; top: 18%; width: 43%; height: 65%; border-radius: 4px 11px 11px 4px; transform: rotate(-6deg); background: #f7f1df; box-shadow: inset 0 0 0 3px var(--ink); }
.product-art--notebook .product-shape--detail { left: 41%; top: 35%; width: 22%; height: 3px; transform: rotate(-6deg); box-shadow: 0 13px 0 var(--ink), 0 26px 0 var(--ink); }
.product-art--notebook .product-shape--back { display: none; }

.product-art--charger .product-shape--main { left: 32%; top: 27%; width: 36%; height: 48%; border-radius: 13px; background: #f7f8f5; box-shadow: inset 0 0 0 4px var(--ink); }
.product-art--charger .product-shape--detail { left: 42%; top: 41%; width: 16%; height: 5px; border-radius: 5px; background: var(--accent); box-shadow: 0 15px 0 var(--ink); }
.product-art--charger .product-shape--back { left: 42%; top: 18%; width: 4px; height: 14%; box-shadow: 12px 0 0 var(--ink); }

.product-art--speaker .product-shape--main { left: 26%; right: 26%; top: 25%; bottom: 25%; border-radius: 50%; background: #eef0eb; box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 13px rgba(23,61,59,.15); }
.product-art--speaker .product-shape--detail { left: 45%; top: 44%; width: 10%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.product-art--speaker .product-shape--back { display: none; }

.product-art--screen .product-shape--main { left: 21%; top: 19%; width: 58%; height: 57%; border-radius: 6px; background: rgba(255,255,255,.55); border: 4px solid var(--ink); transform: skewY(-3deg); }
.product-art--screen .product-shape--detail { left: 27%; top: 27%; width: 46%; height: 36%; background: linear-gradient(125deg, rgba(23,61,59,.75), rgba(23,61,59,.08)); transform: skewY(-3deg); }
.product-art--screen .product-shape--back { display: none; }

.product-art--headset .product-shape--main { left: 28%; top: 18%; width: 44%; height: 52%; border: 7px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; background: transparent; }
.product-art--headset .product-shape--back { left: 24%; top: 49%; width: 15%; height: 26%; border-radius: 9px; box-shadow: 94px 0 0 var(--ink); }
.product-art--headset .product-shape--detail { left: 66%; top: 69%; width: 18%; height: 4px; transform: rotate(18deg); transform-origin: left; background: var(--accent); }

.product-art--board .product-shape--main { left: 22%; top: 16%; width: 56%; height: 52%; background: #f7f7f2; border: 5px solid var(--ink); }
.product-art--board .product-shape--back { left: 30%; top: 66%; width: 5px; height: 18%; transform: rotate(10deg); box-shadow: 88px 0 0 var(--ink); }
.product-art--board .product-shape--detail { left: 34%; top: 37%; width: 34%; height: 4px; background: var(--accent); box-shadow: 0 13px 0 rgba(23,61,59,.38); }

.product-art--cables .product-shape--main { left: 29%; top: 24%; width: 42%; height: 42%; border: 8px solid var(--ink); border-radius: 50%; background: transparent; }
.product-art--cables .product-shape--back { left: 22%; top: 42%; width: 56%; height: 7px; transform: rotate(-24deg); background: var(--accent); border-radius: 5px; }
.product-art--cables .product-shape--detail { left: 24%; top: 30%; width: 10%; height: 15%; border-radius: 4px; box-shadow: 105px 71px 0 var(--ink); }

.product-art--stand .product-shape--main { left: 27%; bottom: 28%; width: 48%; height: 42%; clip-path: polygon(18% 0, 89% 0, 100% 16%, 36% 16%, 14% 100%, 0 100%); background: var(--ink); }
.product-art--stand .product-shape--detail { left: 40%; bottom: 29%; width: 36%; height: 5px; background: var(--accent); }
.product-art--stand .product-shape--back { display: none; }

.product-art--boxes .product-shape--main { left: 28%; bottom: 24%; width: 47%; height: 38%; background: #c18e55; box-shadow: inset 0 0 0 4px var(--ink); }
.product-art--boxes .product-shape--back { left: 22%; bottom: 48%; width: 42%; height: 28%; background: #d7aa76; box-shadow: inset 0 0 0 4px var(--ink); }
.product-art--boxes .product-shape--detail { left: 38%; bottom: 38%; width: 24%; height: 10%; background: #f5e9d3; border: 2px solid var(--ink); }

.product-art--large {
  min-height: 520px;
  border-radius: 14px;
}

.reorder-section {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: clamp(38px, 7vw, 96px);
  padding-top: 28px;
}

.reorder-intro {
  align-self: start;
  padding-top: 22px;
}

.reorder-intro h2 {
  margin-bottom: 16px;
}

.reorder-intro > p:not(.section-kicker) {
  max-width: 42ch;
  margin-bottom: 24px;
  color: var(--muted);
}

.reorder-list {
  border-top: 1px solid var(--line-strong);
}

.reorder-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-strong);
}

.reorder-row .product-art {
  min-height: 68px;
  border-radius: 8px;
}

.reorder-row strong,
.reorder-row span {
  display: block;
}

.reorder-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.reorder-row > b {
  font-family: var(--display);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--accent {
  background: var(--accent);
  color: #24100b;
}

.button--accent:hover {
  background: #fa7c56;
}

.button--dark {
  background: var(--ink);
  color: #f5fbf8;
}

.button--dark:hover {
  background: #24514e;
}

.button--quiet {
  background: transparent;
  border-color: var(--line-strong);
}

.button--quiet:hover {
  background: var(--surface);
}

.button--wide {
  width: 100%;
}

.page-heading {
  margin-bottom: 36px;
}

.page-heading > p:not(.section-kicker),
.page-heading--split > p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
}

.page-heading--split > p {
  max-width: 430px;
  padding-bottom: 5px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.catalog-search {
  width: min(620px, 100%);
  gap: 9px;
}

.catalog-search .button {
  flex: 0 0 auto;
}

.catalog-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  margin-top: 32px;
}

.category-filter {
  align-self: start;
  padding: 8px 0;
  border-top: 1px solid var(--line-strong);
}

.category-filter h2 {
  margin: 18px 10px 12px;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.category-filter a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  padding: 0 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.category-filter a b {
  font-size: 11px;
}

.category-filter a:hover,
.category-filter a.active {
  color: var(--ink-strong);
  background: var(--green-soft);
}

.catalog-results__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.catalog-results__heading h2 {
  margin: 0;
  font-size: 22px;
}

.catalog-results__heading span {
  color: var(--muted);
  font-size: 12px;
}

.product-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.empty-state {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}

.empty-state .icon {
  width: 32px;
  height: 32px;
  color: var(--faint);
}

.empty-state h2 {
  margin: 16px 0 8px;
  font-size: 24px;
}

.empty-state p {
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--accent-dark);
}

.breadcrumbs .icon {
  width: 13px;
  height: 13px;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  align-items: start;
  gap: clamp(44px, 7vw, 94px);
}

.product-detail__copy {
  padding-top: 24px;
}

.product-detail__copy h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
}

.product-detail__description {
  max-width: 55ch;
  color: var(--muted);
  font-size: 17px;
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 28px 0 10px;
}

.product-detail__price strong {
  font-family: var(--display);
  font-size: 30px;
}

.product-detail__price span,
.availability {
  color: var(--muted);
  font-size: 12px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
}

.availability > span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.purchase-row {
  display: grid;
  grid-template-columns: auto 122px minmax(160px, 1fr);
  align-items: end;
  gap: 12px;
  margin: 30px 0;
  padding: 22px 0;
  border-block: 1px solid var(--line-strong);
}

.purchase-row > label {
  align-self: center;
  font-size: 12px;
  font-weight: 800;
}

.quantity-control {
  height: 44px;
  display: grid;
  grid-template-columns: 38px 46px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  overflow: hidden;
}

.quantity-control button,
.quantity-control input {
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: center;
  background: var(--surface);
  border: 0;
}

.quantity-control button {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.quantity-control .icon {
  width: 15px;
}

.quantity-control input {
  border-inline: 1px solid var(--line);
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}

.product-facts {
  margin: 0;
}

.product-facts > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.product-facts dt {
  color: var(--muted);
}

.product-facts dd {
  margin: 0;
  font-weight: 700;
}

.auth-page {
  min-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: minmax(420px, .8fr) minmax(520px, 1.2fr);
  background: var(--paper-strong);
}

.auth-panel {
  width: min(540px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 56px clamp(32px, 6vw, 80px);
}

.auth-brand {
  margin-bottom: clamp(44px, 8vh, 86px);
}

.auth-copy h1 {
  max-width: 560px;
  margin-bottom: 17px;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
}

.auth-copy > p:not(.section-kicker) {
  max-width: 52ch;
  color: var(--muted);
}

.auth-form,
.profile-form,
.support-form,
.checkout-fields section {
  display: grid;
  gap: 17px;
}

.auth-form {
  margin-top: 24px;
}

.auth-form label,
.profile-form label,
.support-form label,
.checkout-fields label {
  display: grid;
  gap: 7px;
  color: var(--ink-strong);
  font-size: 12px;
  font-weight: 800;
}

.auth-form input,
.profile-form input,
.support-form input,
.support-form select,
.support-form textarea,
.checkout-fields input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink-strong);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.support-form textarea {
  min-height: 132px;
  resize: vertical;
}

.auth-form input:focus,
.profile-form input:focus,
.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus,
.checkout-fields input:focus {
  border-color: #137da0;
  outline: 3px solid rgba(19, 125, 160, 0.2);
  outline-offset: 1px;
}

.auth-switch {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-switch a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-message {
  min-height: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-message:not(:empty) {
  min-height: auto;
  padding: 10px 12px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 7px;
}

.form-message.success:not(:empty) {
  background: var(--green-soft);
  color: var(--green);
}

.auth-scene {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #173d3b;
}

.auth-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 54%, rgba(255,255,255,.05) 54% 55%, transparent 55% 100%);
}

.auth-scene__copy {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 10%;
  color: #eaf4f0;
}

.auth-scene__copy span,
.auth-scene__copy strong {
  display: block;
}

.auth-scene__copy span {
  color: #b7cbc5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.auth-scene__copy strong {
  max-width: 420px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.03em;
}

.auth-shelf {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 32%;
  height: 145px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 0 28px 14px;
  border-bottom: 13px solid #f1eee4;
}

.auth-shelf--two {
  bottom: 9%;
}

.auth-shelf i {
  display: block;
  width: 18%;
  height: 78%;
  background: #dce8e3;
  border-radius: 5px 5px 1px 1px;
  box-shadow: inset -9px 0 rgba(0,0,0,.08);
}

.auth-shelf i:nth-child(2) {
  width: 24%;
  height: 52%;
  background: var(--accent);
}

.auth-shelf i:nth-child(3) {
  width: 14%;
  height: 88%;
  background: #d9dfef;
}

.auth-shelf i:nth-child(4) {
  height: 64%;
  background: #eadfc7;
}

.auth-docket {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 20%;
  width: 180px;
  padding: 18px;
  color: var(--ink-strong);
  background: #fbfaf6;
  transform: rotate(3deg);
  box-shadow: 10px 12px 0 rgba(0,0,0,.14);
}

.auth-docket span,
.auth-docket b,
.auth-docket small {
  display: block;
}

.auth-docket span {
  color: var(--accent-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.auth-docket b {
  margin: 5px 0 1px;
  font-family: var(--display);
  font-size: 23px;
}

.auth-docket small {
  color: var(--muted);
}

.order-summary-line {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.order-summary-line span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 24px;
  vertical-align: middle;
  background: var(--line-strong);
  border-radius: 50%;
}

.order-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.order-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.order-table th,
.order-table td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

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

.order-table th {
  color: var(--muted);
  background: #f7f8f4;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-table td {
  font-size: 13px;
}

.order-table td strong,
.order-table td span:not(.status) {
  display: block;
}

.order-table td span:not(.status) {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 800;
}

.status--delivered {
  color: var(--green);
  background: var(--green-soft);
}

.status--in-transit,
.status--processing {
  color: var(--amber);
  background: var(--amber-soft);
}

.text-button {
  padding: 0;
  color: var(--accent-dark);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-detail-panel {
  margin-top: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

.order-detail-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.order-detail-panel__header h2 {
  margin: 0;
  font-size: 25px;
}

.order-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.order-item-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.account-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.account-summary,
.profile-form,
.support-form,
.cart-summary,
.checkout-fields section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.account-summary {
  padding: 26px;
}

.account-avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 24px;
}

.account-summary h2 {
  margin-bottom: 3px;
  font-size: 22px;
}

.account-summary > p {
  color: var(--muted);
  font-size: 12px;
}

.account-summary dl {
  margin: 24px 0 0;
}

.account-summary dl > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.account-summary dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.account-summary dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.profile-form,
.support-form {
  padding: 30px;
}

.form-heading h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.form-grid__wide {
  grid-column: 1 / -1;
}

.profile-form label > span:not(.optional) {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.checkbox-row {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 11px !important;
  padding: 15px 0;
  border-block: 1px solid var(--line);
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.checkbox-row strong {
  display: block;
}

.checkbox-row span {
  color: var(--muted);
  font-weight: 500;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.cart-lines {
  display: grid;
  gap: 12px;
}

.cart-line {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 122px auto;
  align-items: center;
  gap: 18px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.cart-line .product-art {
  min-height: 84px;
  border-radius: 8px;
}

.cart-product-swatch {
  width: 100px;
  min-height: 84px;
  display: grid;
  place-items: center;
  background: var(--swatch);
  border-radius: 8px;
}

.cart-product-swatch span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #edf5f1;
  background: var(--ink);
  border-radius: 8px 8px 8px 2px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
}

.cart-line h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-line__price {
  font-family: var(--display);
}

.cart-line__remove {
  padding: 8px;
  color: var(--danger);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.cart-summary {
  position: sticky;
  top: 174px;
  padding: 24px;
}

.cart-summary h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.cart-summary dl {
  margin: 0 0 20px;
}

.cart-summary dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cart-summary dd {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 700;
  text-align: right;
}

.cart-summary .cart-total {
  color: var(--ink-strong);
  font-family: var(--display);
  font-size: 18px;
}

.cart-summary .cart-total dd {
  font-size: 23px;
}

.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: .55;
}

.text-link--center {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-size: 12px;
}

.loading-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.checkout-fields {
  display: grid;
  gap: 18px;
}

.checkout-fields section {
  padding: 28px;
}

.checkout-summary {
  position: sticky;
  top: 174px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.support-hero {
  padding: clamp(58px, 8vw, 96px) 0;
  color: #eff8f4;
  background: var(--ink);
}

.support-hero .section-kicker {
  color: #f79b7e;
}

.support-hero h1 {
  margin-bottom: 30px;
}

.support-hero form {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 7px;
  background: var(--surface);
  border-radius: 12px;
}

.support-hero form input {
  border: 0;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: clamp(38px, 7vw, 90px);
}

.support-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
}

.support-row > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border-radius: 9px;
}

.support-row strong {
  font-family: var(--display);
  font-size: 17px;
}

.support-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.support-row > .icon {
  width: 17px;
}

.support-row:hover > .icon {
  transform: translateX(3px);
}

.confirmation-page,
.not-found {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 80px;
  text-align: center;
}

.confirmation-page > .icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  padding: 14px;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 50%;
}

.confirmation-page h1,
.not-found h1 {
  max-width: 760px;
  margin-bottom: 14px;
}

.confirmation-page > p:not(.section-kicker),
.not-found p {
  color: var(--muted);
}

.confirmation-page > div {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.not-found > span {
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 700;
  line-height: .8;
}

.site-footer {
  padding: 48px 0;
  color: #dce9e4;
  background: var(--ink-strong);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 50px;
}

.brand--footer {
  color: #f3f8f5;
}

.brand--footer em {
  color: #ff9a78;
}

.footer-grid p {
  max-width: 48ch;
  margin: 12px 0 0;
  color: #aebfba;
  font-size: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 9px 26px;
  color: #c8d6d1;
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

.footer-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8d6d1;
  font-size: 11px;
  font-weight: 700;
}

.footer-trust .icon {
  width: 16px;
  height: 16px;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 40px));
  display: grid;
  gap: 8px;
}

.toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  color: #edf6f2;
  background: var(--ink-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-offset);
  animation: toast-enter 240ms cubic-bezier(.16, 1, .3, 1) both;
}

.toast > .icon {
  color: #8ed0ad;
}

.toast button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #d5e2dd;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.toast button .icon {
  width: 16px;
}

@keyframes hero-enter {
  from { transform: translateY(18px); filter: blur(4px); }
  to { transform: translateY(0); filter: blur(0); }
}

@keyframes shelf-enter {
  from { opacity: .01; transform: translateX(22px); clip-path: inset(0 0 0 22%); }
  to { opacity: 1; transform: translateX(0); clip-path: inset(0); }
}

@keyframes toast-enter {
  from { opacity: .01; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 22px;
  }

  .account-link span:not(.avatar) {
    display: none;
  }

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

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

  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: 44px;
  }

  .supply-shelf {
    min-height: 390px;
    padding-inline: 25px;
  }
}

@media (max-width: 860px) {
  .page-width {
    width: min(100% - 32px, 760px);
  }

  .utility-bar__inner > span:first-child {
    display: none;
  }

  .utility-bar__inner {
    justify-content: center;
  }

  .header-main {
    min-height: 68px;
    grid-template-columns: auto 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 12px;
  }

  .mobile-menu-button {
    display: grid;
  }

  .primary-nav {
    height: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 14px;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a,
  .nav-auth-action {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .nav-register,
  .nav-auth-action {
    margin-left: 0;
  }

  .home-hero__grid,
  .reorder-section,
  .product-detail__grid,
  .support-layout,
  .account-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    padding-block: 52px 62px;
  }

  .supply-shelf {
    min-height: 420px;
  }

  .reorder-intro {
    padding-top: 0;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .category-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 12px;
    border-top: 0;
    scrollbar-width: thin;
  }

  .category-filter h2 {
    display: none;
  }

  .category-filter a {
    min-height: 38px;
    flex: 0 0 auto;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 19px;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    min-height: 680px;
  }

  .auth-scene {
    display: none;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-trust {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .page-width {
    width: min(100% - 24px, 560px);
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .header-main {
    gap: 10px;
  }

  .account-link {
    display: none;
  }

  .cart-link > span {
    display: none;
  }

  .home-hero__grid {
    min-height: 0;
    gap: 40px;
    padding-block: 44px 50px;
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-search > div,
  .support-hero form {
    grid-template-columns: 1fr;
  }

  .hero-search .button,
  .support-hero .button {
    width: 100%;
  }

  .hero-search .icon {
    top: 21px;
  }

  .supply-shelf {
    min-height: 350px;
    padding: 58px 16px 22px;
    box-shadow: 7px 9px 0 #cbd7d2;
  }

  .shelf-row {
    min-height: 112px;
  }

  .supply-shelf .product-art {
    min-height: 104px;
  }

  .work-strip {
    align-items: flex-start;
  }

  .work-strip > a {
    flex: 0 0 auto;
    padding-top: 9px;
    font-size: 0;
  }

  .work-strip > a .icon {
    width: 20px;
    height: 20px;
  }

  .section-heading,
  .page-heading--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .product-grid--catalog {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .product-card__art,
  .product-card .product-art {
    min-height: 100%;
  }

  .product-description {
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .reorder-row {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .reorder-row > b {
    display: none;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-search .icon {
    top: 13px;
  }

  .catalog-count {
    padding-left: 2px;
  }

  .product-detail__copy {
    padding-top: 0;
  }

  .product-art--large {
    min-height: 390px;
  }

  .purchase-row {
    grid-template-columns: auto 1fr;
  }

  .purchase-row .button {
    grid-column: 1 / -1;
  }

  .auth-panel {
    min-height: calc(100vh - 32px);
    padding: 34px 22px 50px;
  }

  .auth-brand {
    margin-bottom: 52px;
  }

  .account-page,
  .catalog-page,
  .product-detail,
  .support-layout {
    padding-block: 48px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid__wide {
    grid-column: auto;
  }

  .profile-form,
  .support-form,
  .checkout-fields section {
    padding: 22px;
  }

  .cart-line {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .cart-product-swatch {
    width: 76px;
    min-height: 76px;
  }

  .cart-line .quantity-control {
    grid-column: 2 / 3;
  }

  .cart-line__price {
    grid-column: 3;
    grid-row: 1;
  }

  .cart-line__remove {
    grid-column: 3;
    grid-row: 2;
  }

  .support-hero form .icon {
    top: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-trust {
    grid-column: auto;
  }

  .confirmation-page > div {
    width: 100%;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
