:root {
  color-scheme: dark;
  --bg: #151512; --panel: #21211c; --ink: #faf9f1; --muted: #c2c0b4;
  --line: #414139; --yellow: #ffda00; --black: #141410;
  --display: "Arial Black", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.45 "Segoe UI", Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(calc(100% - 64px), 1180px); margin-inline: auto; }
main { min-height: 70vh; padding-block: clamp(20px,3vw,42px) clamp(40px,6vw,80px); }
.catalog-head {
  position: relative; isolation: isolate; overflow: hidden; color: var(--black); background: var(--yellow);
  display: grid; grid-template-columns: auto minmax(0,1fr) minmax(190px,26%); align-items: center;
  gap: clamp(16px,2.5vw,34px); padding: clamp(22px,3vw,40px); border-radius: 10px;
}
.catalog-head::after { content: ""; position: absolute; z-index: -1; bottom: 0; right: -8px; width: 90px; height: 8px; background: repeating-linear-gradient(120deg, transparent 0 9px, var(--black) 9px 16px); }
.hero-logo { display: block; width: clamp(92px,10vw,146px); height: auto; border: 2px solid var(--black); border-radius: 4px; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--black); }
.hero-copy { min-width: 0; }
.store-name { font-size: clamp(12px,1.15vw,15px); font-weight: 800; }
h1 { margin: 5px 0 9px; font: italic 950 clamp(42px,4.5vw,69px)/.98 var(--display); text-transform: uppercase; letter-spacing: -.057em; }
.hero-copy p:last-child { font-size: 15px; }
.search { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 0 13px; min-height: 49px; color: var(--black); background: #fffef5; border: 2px solid var(--black); border-radius: 6px; box-shadow: 3px 3px 0 var(--black); }
.search:focus-within { outline: 2px solid var(--black); outline-offset: 3px; }
.magnifier { display: inline-block; width: 15px; height: 15px; position: relative; border: 2px solid currentColor; border-radius: 50%; flex: none; margin-right: 3px; }
.magnifier::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; bottom: -3px; right: -5px; transform: rotate(45deg); }
.search input { flex: 1; min-width: 0; width: 100%; padding: 10px 0; border: 0; outline: 0; color: inherit; background: transparent; color-scheme: light; font-size: 16px; }
.search input::placeholder { color: #555349; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { min-width: 34px; min-height: 40px; padding: 0; border: 0; background: transparent; color: inherit; font: 24px/1 Arial,sans-serif; }
.search button:focus-visible { outline-color: var(--black); outline-offset: 0; }
.catalog-head h1:focus-visible { outline-color: var(--black); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: clamp(22px,3vw,36px) 15px; }
.section-head h2 { font: 800 clamp(20px,2vw,29px)/1.15 var(--display); letter-spacing: -.045em; }
.section-head > span { flex: none; border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; color: var(--muted); font-size: 12px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.department-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); transition: border-color .16s; }
.department-card:hover, .product-group a:hover, .results a:hover { border-color: var(--yellow); }
.cover { aspect-ratio: 1.97; overflow: hidden; background: #36362d; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.department-card:hover .cover img { transform: scale(1.025); }
.card-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 8px; padding: 15px 16px 18px; align-items: center; }
.card-copy h3 { font: 800 clamp(19px,1.7vw,24px)/1.12 var(--display); letter-spacing: -.045em; }
.card-copy p { grid-column: 1/-1; color: var(--muted); font-size: 13px; }
.card-arrow { display: grid; place-items: center; width: 29px; height: 29px; background: var(--yellow); color: var(--black); border-radius: 50%; font: bold 19px/1 Arial,sans-serif; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin: 8px 0; color: var(--muted); font-weight: 600; }
.back:hover, footer a:hover { color: var(--yellow); }
.browse-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.browse-head img { object-fit: cover; width: 86px; height: 64px; border-radius: 5px; }
.browse-head h2, .order-head h2, .confirmation h3 { font: italic 900 clamp(27px,3.2vw,44px)/1.07 var(--display); letter-spacing: -.05em; overflow-wrap: anywhere; }
.product-group ul, .results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.product-group a, .results a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 17px; min-height: 54px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); font-weight: 650; }
.product-group a > span, .results a > span { color: var(--yellow); }
.item-thumb { display: block; flex: none; width: 54px; height: 54px; border-radius: 5px; object-fit: contain; background: #fff; }
.product-group a, .results a { justify-content: flex-start; gap: 12px; padding: 8px 13px 8px 8px; }
.product-group .item-thumb, .results .item-thumb { order: -1; }
.product-group a > span, .results a > span { margin-left: auto; }
.order-head { display: flex; align-items: center; gap: 14px; }
.order-head > div { min-width: 0; }
.order-head .item-thumb { width: clamp(54px,15vw,76px); height: clamp(54px,15vw,76px); }
.empty { color: var(--muted); }
.order { max-width: 660px; margin-inline: auto; }
.order > .back { margin-top: 0; }
.order-panel { padding: clamp(19px,4vw,40px); background: var(--panel); border: 1px solid var(--line); border-top: 5px solid var(--yellow); border-radius: 9px; }
.order-store { display: flex; align-items: center; width: fit-content; gap: 10px; margin-bottom: 24px; font: italic 900 19px/1 var(--display); letter-spacing: -.04em; }
.order-store img { border-radius: 4px; }
.order-head p { color: var(--yellow); margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.intro { margin: 12px 0 23px; color: var(--muted); max-width: 50ch; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
#lead-form label:not(.visually-hidden) { display: block; font-size: 14px; font-weight: 650; margin: 0 0 7px; }
#lead-form label small { color: var(--muted); font-size: 12px; font-weight: 400; }
#lead-form input:not([type=hidden]) { width: 100%; min-width: 0; height: 49px; padding: 9px 12px; border-radius: 5px; border: 1px solid #737264; background: #181815; color: var(--ink); font-size: 16px; }
input::placeholder { color: #aaa99c; opacity: 1; }
.phone-wrap { position: relative; }
.phone-wrap span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; }
#lead-form #phone { padding-left: calc(19px + 4ch); }
#lead-form input[aria-invalid=true] { outline-color: #ff9183; border-color: #ff9183; }
.action { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 14px; min-height: 50px; margin-top: 20px; border: 0; border-radius: 5px; padding: 12px 17px; background: var(--yellow); color: var(--black); font-weight: 800; }
.action:hover { background: #ffe84a; }
.action:disabled { opacity: .65; cursor: wait; }
.action > span:last-child { font-size: 21px; line-height: 1; }
.error { color: #ffac9e; font-size: 14px; margin-top: 7px; }
.privacy { margin-top: 10px; color: var(--muted); font-size: 12px; }
.privacy a { text-decoration: underline; text-underline-offset: .15em; }
.confirmation { margin-top: 24px; }
.confirmation h3 { font-size: 25px; }
.confirmation p { color: var(--muted); margin: 12px 0; overflow-wrap: anywhere; }
footer { background: #10100e; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; gap: 28px; justify-content: space-between; flex-wrap: wrap; padding-block: 25px 32px; }
footer strong, footer a { color: var(--ink); }
footer p { margin-top: 4px; }
footer nav { display: grid; gap: 3px; }
@media (max-width: 900px) {
  .catalog-head { grid-template-columns: auto minmax(0,1fr); gap: 17px 23px; }
  .search { grid-column: 1/-1; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  main { padding-block: 14px 36px; }
  .catalog-head { padding: 18px 16px 20px; gap: 15px; }
  .hero-logo { width: clamp(64px,19vw,96px); }
  h1 { font-size: clamp(30px,7.8vw,44px); margin: 3px 0 6px; }
  .hero-copy p:last-child { font-size: 13px; line-height: 1.35; }
  .section-head { padding: 22px 0 12px; }
  .cards { gap: 10px; }
  .cover { aspect-ratio: 1.5; }
  .card-copy { padding: 11px 9px 13px; gap: 4px; }
  .card-copy h3 { font-size: clamp(15px,3.85vw,21px); }
  .card-copy p { display: none; }
  .card-arrow { width: 19px; height: 19px; font-size: 13px; }
  .product-group ul, .results, .fields { grid-template-columns: 1fr; }
  .footer-inner { display: grid; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
