:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #111111;
  --panel: #181818;
  --panel-2: #222222;
  --line: #3a3a3a;
  --line-soft: #2d2d2d;
  --text: #f6f6f6;
  --muted: #b8b8b8;
  --paper: #ffffff;
  --paper-muted: #dcdcdc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--paper);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 34px;
  padding: 6px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  scrollbar-width: none;
}

.topline::-webkit-scrollbar,
.nav-links::-webkit-scrollbar {
  display: none;
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-shell,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--paper);
  border-radius: 4px;
  font-size: 13px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper);
}

.nav-links a.is-current {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.cart-button,
.primary-button,
.primary-link,
.secondary-link,
.ghost-button,
.icon-button {
  min-height: 42px;
  border-radius: 4px;
  border: 1px solid var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.cart-button,
.secondary-link,
.ghost-button,
.icon-button {
  background: transparent;
  color: var(--paper);
}

.cart-button:hover,
.secondary-link:hover,
.ghost-button:hover,
.icon-button:hover {
  background: var(--paper);
  color: var(--black);
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--black);
  font-size: 12px;
}

.cart-button:hover strong {
  background: var(--black);
  color: var(--paper);
}

.primary-button,
.primary-link {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
  font-weight: 800;
}

.primary-button:hover,
.primary-link:hover {
  transform: translateY(-1px);
  background: var(--paper-muted);
  border-color: var(--paper-muted);
}

.hero {
  position: relative;
  min-height: max(540px, calc(100svh - 180px));
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.94;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(5, 5, 5, 0.82) 38%, rgba(5, 5, 5, 0.12) 74%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0) 32%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: clamp(16px, 1.5vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.hero-stats div {
  width: min(170px, 31vw);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.38);
}

.hero-stats dt {
  font-weight: 900;
  font-size: 20px;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.category-band,
.selector-band,
.delivery-band,
.faq-band,
.route-band,
.content-band.light {
  background: var(--paper);
  color: var(--black);
}

.catalog-band,
.trust-band,
.content-band.dark {
  background: var(--black);
  color: var(--paper);
}

.category-band,
.catalog-band,
.selector-band,
.trust-band,
.delivery-band,
.faq-band,
.route-band,
.content-band {
  padding: 82px 0;
}

.page-hero {
  background: var(--black);
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero-inner {
  padding: 78px 0;
}

.page-hero h1 {
  max-width: 920px;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--paper-muted);
  font-size: 18px;
}

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

.section-heading.compact {
  display: block;
}

.section-heading h2,
.selector-layout h2,
.delivery-layout h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.category-band .eyebrow,
.selector-band .eyebrow,
.delivery-band .eyebrow,
.faq-band .eyebrow,
.route-band .eyebrow,
.content-band.light .eyebrow {
  color: var(--black);
}

.category-grid,
.trust-grid,
.method-grid,
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.trust-card,
.method-grid article,
.route-grid article,
.product-card,
.selector-panel,
.filters,
.faq-list details {
  border-radius: var(--radius);
}

.category-card {
  min-height: 168px;
  text-align: left;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  color: var(--black);
  padding: 20px;
  display: grid;
  align-content: space-between;
}

.category-card:hover,
.category-card:focus-visible {
  background: var(--black);
  color: var(--paper);
}

.category-icon {
  color: currentColor;
  font-size: 12px;
  font-weight: 900;
}

.category-card strong {
  display: block;
  font-size: 22px;
  margin-top: 18px;
}

.category-card span:last-child {
  color: inherit;
  opacity: 0.72;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 24px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  padding: 18px;
}

.filter-block + .filter-block {
  margin-top: 20px;
}

.filter-block label,
.filter-label {
  display: block;
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0d0d0d;
  color: var(--paper);
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--paper);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--paper);
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--black);
}

.segmented {
  display: grid;
  gap: 6px;
}

.segmented button {
  border: 1px solid var(--line);
  background: #0d0d0d;
  color: var(--paper);
  border-radius: 4px;
  min-height: 38px;
  padding: 8px 10px;
  text-align: left;
}

.segmented button.is-active {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}

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

.check-grid label,
.switch,
fieldset label,
.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.switch {
  margin: 0;
  color: var(--paper);
}

.product-area {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  min-width: 0;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0d0d0d;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: grayscale(1) contrast(1.06);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.stock {
  color: var(--paper);
}

.product-card h3 {
  min-height: 58px;
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.18;
}

.product-description {
  min-height: 66px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.specs div {
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.specs dt {
  color: var(--muted);
  font-size: 12px;
}

.specs dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.product-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.price {
  font-size: 21px;
}

.quick-link {
  width: 100%;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--paper);
  padding: 8px 0 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.selector-layout,
.delivery-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: start;
}

.muted {
  color: #5f5f5f;
  max-width: 620px;
}

.selector-panel {
  border: 1px solid #d2d2d2;
  background: #f6f6f6;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.selector-panel label,
.checkout-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.selector-panel input,
.selector-panel select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  background: var(--paper);
  color: var(--black);
  border-color: #c7c7c7;
}

.selector-result {
  grid-column: 1 / -1;
  min-height: 40px;
  color: #333333;
}

.trust-grid {
  counter-reset: trust;
}

.trust-card {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  padding: 22px;
  min-height: 230px;
}

.trust-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 34px;
}

.trust-card h3,
.method-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.trust-card p,
.method-grid p {
  margin: 0;
  color: var(--muted);
}

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

.method-grid article {
  min-height: 150px;
  border: 1px solid #d2d2d2;
  background: #f7f7f7;
  padding: 20px;
}

.method-grid p {
  color: #555555;
}

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

.content-band.dark .route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-grid article {
  min-height: 190px;
  border: 1px solid #d2d2d2;
  background: #f7f7f7;
  padding: 22px;
}

.content-band.dark .route-grid article {
  border-color: var(--line-soft);
  background: var(--panel);
}

.route-grid span {
  display: block;
  color: #555555;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 28px;
}

.content-band.dark .route-grid span {
  color: var(--muted);
}

.route-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.route-grid p {
  margin: 0;
  color: #555555;
}

.content-band.dark .route-grid p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid #d2d2d2;
  padding: 18px 0;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--black);
  border-radius: 4px;
  font-weight: 900;
}

.timeline h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.timeline p {
  margin: 0;
  color: #555555;
}

.split-info {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.split-info h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.content-band.light .info-list p {
  border-top-color: #d2d2d2;
  color: #555555;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 8px;
}

.faq-sidebar a {
  display: block;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  padding: 10px 12px;
  background: #f7f7f7;
  color: var(--black);
  font-weight: 800;
}

.faq-sidebar a:hover,
.faq-sidebar a:focus-visible {
  background: var(--black);
  color: var(--paper);
}

.faq-content {
  min-width: 0;
}

.faq-section-heading {
  margin-top: 48px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid #d2d2d2;
  background: #f7f7f7;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: #555555;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--black);
  padding: 42px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  color: var(--muted);
}

.footer-inner strong,
.footer-inner a {
  display: block;
}

.footer-inner strong {
  color: var(--paper);
  margin-bottom: 12px;
}

.footer-brand {
  color: var(--paper);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(0, 0, 0, 0.62);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 190;
  width: min(430px, 100%);
  height: 100svh;
  background: var(--paper);
  color: var(--black);
  transform: translateX(100%);
  transition: transform 180ms ease;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

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

.drawer-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #d8d8d8;
}

.drawer-head h2,
.modal-head h2 {
  margin: 0;
}

.icon-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-color: #bfbfbf;
  color: var(--black);
}

.icon-button:hover {
  background: var(--black);
  color: var(--paper);
}

.cart-lines {
  overflow: auto;
  padding: 12px 18px;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
}

.cart-line h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.cart-line p {
  margin: 0;
  color: #666666;
  font-size: 14px;
}

.qty-control {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  overflow: hidden;
}

.qty-control button {
  height: 32px;
  border: 0;
  background: #efefef;
}

.qty-control span {
  text-align: center;
  font-weight: 800;
}

.cart-empty {
  padding: 22px;
  color: #666666;
}

.cart-summary {
  padding: 18px;
  border-top: 1px solid #d8d8d8;
  display: grid;
  gap: 10px;
}

.cart-summary div,
.checkout-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.modal {
  width: min(720px, calc(100% - 24px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--black);
  box-shadow: var(--shadow);
}

.small-modal {
  width: min(460px, calc(100% - 24px));
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: 0 18px 18px;
}

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

fieldset {
  border: 1px solid #d1d1d1;
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

legend {
  padding: 0 8px;
  font-weight: 900;
}

fieldset label,
.agreement {
  color: #333333;
}

.checkout-total {
  padding-top: 12px;
  border-top: 1px solid #d8d8d8;
  font-size: 18px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #333333;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1080px) {
  .category-grid,
  .trust-grid,
  .route-grid,
  .content-band.dark .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 840px) {
  .topline {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .cart-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.88) 56%, rgba(5, 5, 5, 0.24) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.08) 46%);
  }

  .section-heading,
  .selector-layout,
  .delivery-layout,
  .catalog-layout,
  .faq-layout,
  .split-info {
    display: block;
  }

  .filters {
    position: static;
    margin-bottom: 22px;
  }

  .method-grid {
    margin-top: 24px;
  }

  .faq-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 28px;
  }

  .selector-panel {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .category-band,
  .catalog-band,
  .selector-band,
  .trust-band,
  .delivery-band,
  .faq-band,
  .route-band,
  .content-band {
    padding: 58px 0;
  }

  .page-hero-inner {
    padding: 52px 0;
  }

  .hero-content {
    padding: 42px 0 48px;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 42px);
    line-height: 1;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-actions .primary-link,
  .hero-actions .secondary-link {
    width: auto;
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats div {
    width: calc((100% - 16px) / 3);
    min-width: 0;
    padding: 10px;
  }

  .hero-stats dt {
    font-size: 16px;
  }

  .hero-stats dd {
    font-size: 12px;
  }

  .category-grid,
  .trust-grid,
  .product-grid,
  .method-grid,
  .route-grid,
  .content-band.dark .route-grid,
  .selector-panel,
  .checkout-grid,
  .footer-inner,
  .faq-sidebar {
    grid-template-columns: 1fr;
  }

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

  .primary-button,
  .primary-link,
  .secondary-link,
  .ghost-button {
    width: 100%;
  }
}
