:root {
  --bg: #17171a;
  --panel: #1f2023;
  --panel-2: #25272b;
  --panel-3: #2e3036;
  --paper: #e6e2d8;
  --paper-soft: #cbc6b7;
  --steel: #6f6a5e;
  --line: rgba(230, 226, 216, 0.14);
  --line-strong: rgba(240, 168, 0, 0.44);
  --accent: #f0a800;
  --accent-soft: #ffca54;
  --success: #a4c46b;
  --danger: #d96f4f;
  --shadow: 0 28px 54px rgba(0, 0, 0, 0.35);
  --display: "Oswald", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Roboto Condensed", Arial, sans-serif;
  --max: 1240px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 226, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 226, 216, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.85;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: auto auto -120px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 168, 0, 0.16), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

input,
textarea,
select,
button {
  border-radius: 0;
}

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

::selection {
  background: var(--accent);
  color: #131417;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 14px;
  background: var(--accent);
  color: #111216;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-180%);
}

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

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

p,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.02;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

main {
  display: block;
}

.lead {
  font-size: 1.15rem;
  color: var(--paper-soft);
}

.stencil-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.stencil-label::after {
  content: "";
  width: 72px;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 3px,
    transparent 3px 6px,
    currentColor 6px 7px,
    transparent 7px 10px
  );
  opacity: 0.55;
}

.barcode {
  display: inline-block;
  width: 92px;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 2px,
    transparent 2px 4px,
    currentColor 4px 5px,
    transparent 5px 8px,
    currentColor 8px 11px,
    transparent 11px 14px
  );
  opacity: 0.6;
}

.panel-rivet {
  position: relative;
}

.panel-rivet::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    radial-gradient(circle at left top, rgba(230, 226, 216, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at right top, rgba(230, 226, 216, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at left bottom, rgba(230, 226, 216, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at right bottom, rgba(230, 226, 216, 0.55) 0 2px, transparent 3px);
  opacity: 0.38;
}

.announce {
  padding: 10px 18px;
  background: var(--accent);
  color: #111216;
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(23, 23, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand-mark {
  font-family: var(--display);
  font-size: 2.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--paper-soft);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.nav a,
.cart-link,
.menu-btn,
.link-btn,
.section-link {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  color: var(--paper-soft);
  border: 1px solid transparent;
}

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

.nav a:hover,
.nav a.active {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(240, 168, 0, 0.06);
}

.cart-link,
.menu-btn,
.link-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--paper);
  padding: 12px 16px;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cart-link b {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #111216;
  font-size: 0.92rem;
}

.menu-btn {
  display: none;
}

.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.hero-grid,
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 22px;
}

.hero-panel,
.hero-visual,
.page-head,
.catalog-toolbar,
.split-band,
.summary-panel,
.panel-form,
.info-card,
.legal-sheet,
.footer-panel,
.empty-state,
.detail-main,
.detail-panel {
  background: linear-gradient(180deg, rgba(37, 39, 43, 0.96), rgba(22, 23, 25, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.detail-panel,
.page-head,
.panel-form,
.summary-panel,
.info-card,
.footer-panel,
.empty-state,
.legal-sheet {
  padding: clamp(22px, 3vw, 34px);
}

.hero-panel {
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: 100%;
}

.hero-actions,
.form-actions,
.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-specs div {
  min-height: 92px;
  padding: 16px;
  background: rgba(240, 168, 0, 0.05);
  border: 1px solid var(--line);
  display: grid;
  gap: 4px;
  align-content: start;
}

.hero-specs span {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero-specs small,
.section-copy,
.hero-visual figcaption,
.product-copy p,
.notice-box,
.service-card p,
.aside-note,
.checkout-line,
.legal-section p,
.footer-newsletter p,
.footer-legal,
.footer-main p,
.checkbox-line,
.success-box,
.drawer-line p,
.contact-aside p,
.info-card li,
.cart-line p {
  color: var(--paper-soft);
}

.hero-visual {
  overflow: hidden;
  padding: 14px;
}

.hero-visual img,
.detail-main img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px 0;
  font-size: 0.96rem;
}

.section-block {
  padding: clamp(54px, 7vw, 86px) 0 0;
}

.section-tight {
  padding-top: clamp(34px, 5vw, 52px);
}

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

.section-copy {
  max-width: 460px;
}

.section-link {
  color: var(--accent);
}

.section-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

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

.category-tile,
.service-card {
  min-height: 160px;
  background: rgba(31, 32, 35, 0.92);
  border: 1px solid var(--line);
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-tile:hover,
.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(240, 168, 0, 0.05);
}

.category-index,
.service-card span,
.product-topline,
.cart-kicker,
.detail-identity,
.detail-label,
.toolbar-field span,
.summary-box h3,
.footer-main h3,
.info-card ul strong,
.legal-section li strong {
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.category-tile strong {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-arrow {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.6rem;
  justify-self: end;
}

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

.featured-grid .product-card:first-child,
.featured-grid .product-card:last-child {
  grid-column: span 2;
}

.product-card {
  display: grid;
  background: rgba(31, 32, 35, 0.94);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card-link {
  display: grid;
  height: 100%;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #2d2e31;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 10px;
  background: var(--accent);
  color: #111216;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--paper-soft);
}

.product-topline span:last-child {
  color: var(--accent-soft);
}

.product-copy h3 {
  font-size: 1.5rem;
}

.product-bottomline,
.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 18px;
  background: var(--accent);
  color: #111216;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset -10px 0 0 rgba(0, 0, 0, 0.12);
}

.price-tag.large {
  min-height: 64px;
  font-size: 1.7rem;
}

.btn,
.btn-secondary {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn {
  background: var(--accent);
  color: #111216;
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn:hover,
.btn-secondary:hover,
.quick-add:hover,
.filter-btn:hover,
.link-btn:hover,
.menu-btn:hover,
.cart-link:hover {
  transform: translateY(-2px);
}

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

.btn-secondary:hover,
.quick-add:hover,
.filter-btn.active,
.link-btn:hover,
.menu-btn:hover,
.cart-link:hover {
  border-color: var(--line-strong);
  background: rgba(240, 168, 0, 0.08);
}

.quick-add {
  width: 100%;
  border-top: 1px solid var(--line);
}

.split-band {
  margin-top: clamp(54px, 7vw, 86px);
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
}

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

.band-points div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(240, 168, 0, 0.04);
}

.band-points strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.page-head {
  margin-top: 8px;
  display: grid;
  gap: 16px;
}

.catalog-toolbar {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.55fr) auto;
  gap: 16px;
  align-items: end;
}

.toolbar-field {
  display: grid;
  gap: 8px;
}

.toolbar-count {
  min-width: 180px;
  display: grid;
  gap: 4px;
  justify-items: end;
}

.toolbar-count strong {
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.filter-btn {
  min-height: 46px;
  padding: 0 16px;
  background: rgba(31, 32, 35, 0.9);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dense-grid {
  margin-top: 18px;
}

.empty-state {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
}

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

.detail-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.detail-gallery {
  display: grid;
  gap: 14px;
}

.detail-main {
  padding: 14px;
}

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

.thumb {
  background: rgba(31, 32, 35, 0.94);
  border: 1px solid var(--line);
  padding: 6px;
}

.thumb.active,
.size-btn.active {
  border-color: var(--line-strong);
  background: rgba(240, 168, 0, 0.08);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-panel {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 118px;
}

.detail-identity,
.detail-spec-grid article span {
  color: var(--accent-soft);
}

.detail-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.form-cluster {
  display: grid;
  gap: 18px;
}

.detail-label {
  margin-bottom: 10px;
  color: var(--paper-soft);
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-btn {
  min-width: 56px;
  min-height: 48px;
  background: rgba(31, 32, 35, 0.9);
  border: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 52px 72px 52px;
  background: rgba(31, 32, 35, 0.9);
  border: 1px solid var(--line);
}

.qty-control.small {
  grid-template-columns: 40px 56px 40px;
}

.qty-control button,
.qty-control input {
  min-height: 48px;
  background: transparent;
  border: 0;
  text-align: center;
}

.notice-box {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: rgba(240, 168, 0, 0.08);
}

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

.detail-spec-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 8px;
}

.detail-spec-grid article strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.accordion summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accordion p {
  margin-top: 12px;
  color: var(--paper-soft);
}

.cart-items,
.checkout-lines,
.drawer-list {
  display: grid;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 14px;
  background: rgba(31, 32, 35, 0.94);
  border: 1px solid var(--line);
}

.cart-line img,
.drawer-line img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-line h3 {
  margin: 4px 0;
}

.cart-line strong,
.summary-row strong,
.checkout-line strong,
.drawer-line span {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.link-btn {
  align-self: start;
}

.link-btn.light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.18);
}

.summary-panel {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 118px;
}

.summary-box {
  display: grid;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  padding-top: 16px;
  border-bottom: 0;
  color: var(--accent-soft);
}

.panel-form {
  display: grid;
  gap: 20px;
}

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

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

.form-label {
  display: grid;
  gap: 8px;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--paper);
}

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

.field::placeholder,
.textarea::placeholder {
  color: rgba(230, 226, 216, 0.44);
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: var(--line-strong);
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 1rem;
}

.checkbox-line input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.checkbox-line a {
  color: var(--accent-soft);
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.contact-aside {
  display: grid;
  gap: 18px;
}

.info-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.legal-sheet {
  margin-top: 28px;
}

.legal-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal-section ul {
  margin-top: 12px;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--paper-soft);
}

.site-footer {
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
  background: rgba(17, 18, 22, 0.96);
}

.footer-newsletter {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
  transform: translateY(-28px);
}

.footer-newsletter form {
  display: grid;
  gap: 14px;
}

.footer-newsletter .btn {
  width: max-content;
}

.footer-main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 0.9fr;
  gap: 18px;
  padding: 18px 0 28px;
}

.footer-brand {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-legal {
  margin: 8px 0 16px;
}

.footer-main h3 {
  margin-bottom: 14px;
  color: var(--accent);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover,
.footer-main a:hover,
.checkbox-line a:hover,
.accordion a:hover {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--paper-soft);
  font-size: 0.96rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  background: rgba(0, 0, 0, 0.56);
}

.drawer-backdrop.open {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(33, 34, 39, 1), rgba(18, 19, 23, 1));
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

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

.drawer-head h3 {
  font-size: 1.8rem;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.drawer-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.drawer-line {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.drawer-line strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-actions {
  margin-top: 14px;
}

.success-box {
  display: none;
  padding: 14px 16px;
  border: 1px solid rgba(164, 196, 107, 0.3);
  background: rgba(164, 196, 107, 0.08);
}

.success-box.show {
  display: block;
}

#toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  display: grid;
  gap: 10px;
}

.toast {
  min-width: 260px;
  max-width: 360px;
  padding: 14px 16px;
  background: var(--accent);
  color: #111216;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .featured-grid .product-card:first-child,
  .featured-grid .product-card:last-child {
    grid-column: span 1;
  }

  .service-grid,
  .band-points,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  body {
    font-size: 17px;
  }

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

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(23, 23, 26, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid,
  .about-hero,
  .detail-layout,
  .cart-layout,
  .checkout-layout,
  .contact-layout,
  .split-band,
  .footer-newsletter {
    grid-template-columns: 1fr;
  }

  .detail-panel,
  .summary-panel {
    position: static;
  }

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

  .catalog-toolbar,
  .hero-specs,
  .detail-spec-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-count {
    justify-items: start;
  }

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

  .hero-visual img,
  .detail-main img {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .announce {
    font-size: 0.76rem;
    letter-spacing: 0.16em;
  }

  .header-shell,
  .page-shell,
  .footer-newsletter,
  .footer-main {
    width: calc(100% - 24px);
  }

  .brand-mark {
    font-size: 1.9rem;
  }

  .brand-sub {
    display: none;
  }

  .hero-panel,
  .detail-panel,
  .page-head,
  .panel-form,
  .summary-panel,
  .info-card,
  .footer-panel,
  .empty-state,
  .legal-sheet {
    padding: 18px;
  }

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

  .thumb-row,
  .band-points {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 84px 1fr;
  }

  .cart-line > strong {
    grid-column: 2;
  }

  .footer-bottom {
    flex-direction: column;
  }

  #toast-region {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .toast {
    max-width: none;
    min-width: 0;
  }
}
