:root {
  --bg-0: #0b0e14;
  --bg-1: #111827;
  --bg-2: #1f2937;
  --txt-0: #f7f9fc;
  --txt-1: #c7d2e2;
  --txt-2: #94a3b8;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --cyan: #22d3ee;
  --gold: #f4c77b;
  --gold-2: #e0a93f;
  --green: #34d399;
  --red: #f87171;
  --radius: 16px;
  --radius-sm: 12px;
  --font-main: "Hanken Grotesk", "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(1200px 700px at 10% -20%, rgba(34, 211, 238, 0.12), transparent 56%),
    radial-gradient(1000px 600px at 100% 0%, rgba(244, 199, 123, 0.12), transparent 54%),
    var(--bg-0);
  color: var(--txt-0);
  font-family: var(--font-main);
  line-height: 1.45;
}

.aurora {
  position: fixed;
  inset: -10% -20% auto;
  height: 440px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(620px 280px at 25% 35%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(560px 240px at 75% 25%, rgba(244, 199, 123, 0.2), transparent 74%);
  filter: blur(28px);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #8beafe;
}

main {
  padding-top: 10px;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 24px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 13, 20, 0.86);
  backdrop-filter: blur(12px);
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  background: linear-gradient(140deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--txt-1);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-link:hover {
  color: var(--txt-0);
  background: rgba(255, 255, 255, 0.05);
}

.nav-user {
  color: var(--txt-2);
  font-size: 0.9rem;
}

.nav-toggle,
.nav-burger {
  display: none;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 260px;
  max-width: 420px;
  width: 100%;
  margin-right: 8px;
}

.header-search input,
.catalog-search input,
.catalog-search select,
input[type="email"],
input[type="password"],
input[type="text"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-1);
  color: var(--txt-0);
  font-family: inherit;
}

.header-search input {
  padding-right: 74px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(34, 211, 238, 0.45);
  outline-offset: 1px;
  border-color: rgba(34, 211, 238, 0.4);
}

.header-search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 700;
  color: #0a1018;
  background: linear-gradient(145deg, var(--gold), var(--cyan));
  cursor: pointer;
}

.header-search-results {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  max-height: 340px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 17, 27, 0.98);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.8);
  z-index: 100;
}

.header-search-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 10px;
  color: var(--txt-0);
}

.header-search-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.header-search-thumb-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a1018;
  background: linear-gradient(150deg, var(--gold), var(--gold-2));
}

.header-search-main {
  min-width: 0;
}

.header-search-main strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-search-sub {
  color: var(--txt-2);
  font-size: 0.82rem;
}

.header-search-meta {
  color: var(--txt-1);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 8px;
}

.card {
  background: rgba(16, 23, 34, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.75);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  color: #0a1018;
  background: linear-gradient(145deg, var(--gold), var(--cyan));
  transition: transform 0.12s ease, filter 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #0a1018;
}

.btn-ghost {
  background: transparent;
  color: var(--txt-0);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--txt-0);
  background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
  box-shadow: 0 14px 26px -16px rgba(244, 199, 123, 0.8);
}

.kicker {
  margin: 0;
  color: var(--txt-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.accent {
  background: linear-gradient(145deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.catalog-headline h1,
.section-head h2,
.hero-promo h1,
h1,
h2,
h3 {
  font-family: var(--font-display);
}

.meta {
  color: var(--txt-2);
  font-size: 0.9rem;
}

.catalog-shell {
  padding-top: 18px;
}

.catalog-headline {
  margin-bottom: 16px;
}

.catalog-headline h1 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.catalog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  color: var(--txt-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.chip.active {
  color: #0a1018;
  border-color: transparent;
  background: linear-gradient(145deg, var(--gold), var(--cyan));
}

.catalog-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 18px;
}

.catalog-search {
  display: grid;
  grid-template-columns: minmax(200px, 2fr) minmax(170px, 1fr) minmax(170px, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.catalog-count {
  color: var(--txt-2);
  white-space: nowrap;
}

.catalog-grid,
.carousel {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), var(--bg-1);
  padding: 14px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(244, 199, 123, 0.26), transparent 62%);
  pointer-events: none;
}

.product-card.branded::before {
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-1, #f4c77b) 34%, transparent), transparent 62%);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.product-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.product-emblem {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  color: #0a1018;
  background: linear-gradient(150deg, var(--gold), var(--gold-2));
}

.product-emblem.branded {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--brand-1), var(--brand-2));
}

.product-emblem.branded .emblem-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 30% 18%, rgba(255, 255, 255, 0.45), transparent 55%);
}

.product-emblem.branded .emblem-text {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 4px 9px;
  color: var(--txt-1);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
}

.price-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price {
  display: block;
  font-weight: 800;
  font-size: 1rem;
}

.price-row small {
  color: var(--txt-2);
  font-size: 0.75rem;
}

.stock-badge {
  display: inline-flex;
  margin: 6px 0 2px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.stock-badge.ok {
  color: #0f2b1f;
  background: rgba(52, 211, 153, 0.75);
}

.stock-badge.ko {
  color: #3f1010;
  background: rgba(248, 113, 113, 0.85);
}

.btn-buy {
  padding: 9px 14px;
}

.hero-promo-wrap {
  padding-top: 10px;
}

.hero-promo {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), #0d1522;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.hp-left,
.hp-right {
  padding: 22px;
  position: relative;
}

.hero-rotator {
  margin: 14px 0;
  min-height: 74px;
  position: relative;
}

.hero-rotator .rot {
  position: absolute;
  inset: 0;
  opacity: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  animation: rotText 12s infinite;
}

.hero-rotator .rot:nth-child(2) {
  animation-delay: 4s;
}

.hero-rotator .rot:nth-child(3) {
  animation-delay: 8s;
}

@keyframes rotText {
  0%,
  28% {
    opacity: 1;
    transform: translateY(0);
  }
  33%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

.trust-card {
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.trust-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.trust-row + .trust-row {
  border-top: 1px solid var(--line-soft);
}

.trust-ico {
  width: 24px;
  text-align: center;
}

.trust-row strong {
  display: block;
}

.trust-row span {
  color: var(--txt-2);
  font-size: 0.87rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.hero-stat span {
  color: var(--txt-2);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.phone {
  width: min(340px, 100%);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #090f17;
  padding: 14px;
  box-shadow: 0 26px 44px -30px rgba(0, 0, 0, 0.8);
}

.phone-notch {
  display: block;
  width: 38%;
  height: 10px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.phone-screen {
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), #0f1724;
}

.ps-brand,
.ps-title,
.ps-code-label,
.ps-code-val,
.ps-foot,
.ps-item-txt span,
.ps-copied {
  display: block;
}

.ps-brand {
  color: var(--txt-1);
  font-size: 0.82rem;
}

.ps-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 12px 0 8px;
  color: #08200f;
  background: var(--green);
  font-weight: 900;
}

.ps-title {
  font-family: var(--font-display);
  font-weight: 700;
}

.ps-item {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.ps-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--gold), var(--gold-2));
  color: #0a1018;
  font-weight: 700;
}

.ps-item-txt strong {
  display: block;
}

.ps-item-txt span {
  color: var(--txt-2);
  font-size: 0.82rem;
}

.ps-code {
  margin-top: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
}

.ps-code-label {
  color: var(--txt-2);
  font-size: 0.8rem;
}

.ps-code-val {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.ps-copied {
  margin-top: 4px;
  color: var(--green);
  font-size: 0.82rem;
}

.ps-foot {
  margin-top: 10px;
  color: var(--txt-1);
  font-size: 0.85rem;
}

.float-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.float-card {
  position: absolute;
  width: 95px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(7, 11, 17, 0.74);
  border: 1px solid var(--line);
  animation: floatHero 9s ease-in-out infinite;
}

.float-card.f-0 {
  top: 14px;
  left: 4px;
  transform: rotate(-5deg);
}

.float-card.f-1 {
  top: 2px;
  right: 4px;
  transform: rotate(6deg);
  animation-delay: 1.3s;
}

.float-card.f-2 {
  bottom: 96px;
  left: 0;
  transform: rotate(8deg);
  animation-delay: 2.7s;
}

.float-card.f-3 {
  bottom: 24px;
  right: 0;
  transform: rotate(-4deg);
  animation-delay: 4s;
}

.float-emblem {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(160deg, var(--brand-1), var(--brand-2));
}

.float-name {
  margin-top: 8px;
  color: var(--txt-1);
  display: block;
  font-size: 0.72rem;
  text-align: center;
}

@keyframes floatHero {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.cat-bar-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 14px 24px 0;
}

.cat-bar {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding-bottom: 8px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--txt-1);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.03);
}

.cat-tab.active,
.cat-tab:hover {
  color: #0a1018;
  border-color: transparent;
  background: linear-gradient(145deg, var(--gold), var(--cyan));
}

.cat-rail-section {
  padding-top: 8px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
}

.section-link {
  color: var(--txt-1);
  font-weight: 700;
}

.cat-rail-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.rail-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--txt-0);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.cat-rail {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 4px;
}

.cat-orb {
  min-width: 118px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--txt-0);
  background: rgba(255, 255, 255, 0.03);
}

.orb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0a1018;
  background: linear-gradient(150deg, var(--tile, var(--gold)), #ffffff);
}

.orb-name {
  font-size: 0.82rem;
  color: var(--txt-1);
}

.marquee-wrap {
  padding-top: 8px;
}

.marquee {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 10px;
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.marquee.rev .marquee-track {
  animation-direction: reverse;
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 6px 10px;
  color: var(--txt-1);
  background: rgba(255, 255, 255, 0.04);
}

.brand-ico {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.step-n {
  font-family: var(--font-mono);
  color: var(--txt-2);
  font-size: 0.8rem;
}

.form-wrap {
  max-width: 460px;
  margin: 28px auto;
}

.form-wrap h1 {
  margin-top: 0;
}

.form-wrap label,
label {
  display: block;
  margin: 12px 0 6px;
  color: var(--txt-1);
  font-size: 0.93rem;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.stack-form .btn {
  justify-self: start;
}

.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.order-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--txt-0);
}

.order-list li a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.account-orders-card {
  min-width: 0;
}

.account-order-filters {
  grid-template-columns: 1fr;
}

.account-order-filters .btn,
.account-order-filters .chip {
  width: 100%;
  justify-content: center;
}

.alert {
  border-radius: 10px;
  padding: 10px 12px;
}

.alert-error {
  background: rgba(248, 113, 113, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.flash {
  border-radius: 10px;
  padding: 10px 12px;
}

.flash-success {
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: rgba(52, 211, 153, 0.13);
  color: #bbf7d0;
}

.flash-error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.14);
  color: #fecaca;
}

.table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  padding: 10px;
  vertical-align: top;
}

.audit-json {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-mono);
  color: var(--txt-1);
  font-size: 0.78rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.page-link,
.page-current {
  min-width: 36px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.page-link {
  color: var(--txt-1);
}

.page-current {
  color: #0a1018;
  border-color: transparent;
  background: linear-gradient(145deg, var(--gold), var(--cyan));
}

.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.empty-state {
  text-align: center;
}

.site-footer {
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
  background: rgba(8, 12, 18, 0.65);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--txt-2);
  max-width: 560px;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--txt-2);
  font-size: 0.85rem;
  padding-top: 0;
}

@media (max-width: 980px) {
  .hero-promo {
    grid-template-columns: 1fr;
  }

  .float-stack {
    display: none;
  }

  .catalog-search {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .header-search {
    min-width: 210px;
  }
}

@media (max-width: 760px) {
  .navbar {
    grid-template-columns: auto auto;
    gap: 8px;
  }

  .nav-burger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    justify-self: end;
  }

  .nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--txt-0);
    margin: 2px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 2px;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .header-search {
    max-width: none;
    margin-right: 0;
  }

  .header-search-item {
    grid-template-columns: 38px 1fr;
  }

  .header-search-meta {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 14px;
  }

  .cat-rail-wrap {
    grid-template-columns: 1fr;
  }

  .rail-arrow {
    display: none;
  }

  .footer-legal {
    flex-direction: column;
  }
}
