:root {
  --orange: #f28b18;
  --orange-dark: #d87308;
  --ink: #25282c;
  --muted: #6f7378;
  --paper: #f6f6f4;
  --white: #fff;
  --line: #e1e1dd;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(27, 30, 34, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.service-bar { background: #303236; color: #d7d8da; font-size: 12px; }
.service-bar__inner { min-height: 34px; display: flex; align-items: center; gap: 34px; }
.service-bar__inner a { margin-left: auto; color: #fff; }
.header { position: relative; z-index: 20; background: #fff; }
.header__main { min-height: 116px; display: grid; grid-template-columns: 165px minmax(260px, 1fr) auto auto; gap: 28px; align-items: center; }
.logo img { width: 145px; max-height: 78px; object-fit: contain; }
.header-search { height: 48px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; border: 1px solid #d5d5d1; border-radius: 9px; padding-left: 15px; background: #fff; }
.header-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,139,24,.12); }
.header-search svg { width: 20px; fill: none; stroke: #93969a; stroke-width: 1.8; stroke-linecap: round; }
.header-search input { min-width: 0; border: 0; outline: 0; color: var(--ink); }
.header-search button { height: 48px; margin: -1px; padding: 0 22px; border: 0; border-radius: 0 9px 9px 0; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.header-search button:hover { background: var(--orange-dark); }
.header__contacts { display: flex; flex-direction: column; gap: 3px; min-width: 154px; }
.header__contacts small { color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.header__contacts a { font-size: 14px; font-weight: 700; }
.cart-button { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 700; }
.cart-button:hover { border-color: var(--orange); }
.cart-button svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: 10px; }
.catalog-nav { background: var(--orange); color: #fff; }
.catalog-nav__inner { min-height: 48px; display: flex; align-items: center; }
.catalog-nav a { height: 48px; padding: 0 24px; display: flex; align-items: center; font-size: 13px; font-weight: 700; border-right: 1px solid rgba(255,255,255,.22); }
.catalog-nav a:hover { background: rgba(0,0,0,.08); }
.catalog-nav__primary { padding-left: 0 !important; min-width: 190px; }
.catalog-nav__primary span { margin-right: 10px; font-size: 16px; }
.catalog-nav a:last-child { margin-left: auto; border-left: 1px solid rgba(255,255,255,.22); }

.catalog { padding: 52px 0 74px; background: var(--paper); }
.catalog__heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 38px; }
.breadcrumbs { color: #999c9f; font-size: 11px; }
.catalog h1 { margin: 13px 0 0; font-size: clamp(36px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.045em; }
.catalog__heading p { width: 400px; color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 0 4px; }
.mobile-search { display: none; }
.catalog-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.catalog-title-row h2 { margin: 0; font-size: 21px; }
.catalog-title-row span { color: var(--muted); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.category-card { min-height: 126px; padding: 15px 15px 13px; display: grid; grid-template-columns: 78px 1fr; grid-template-rows: 1fr auto; column-gap: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.category-card:hover { border-color: #c8c8c3; box-shadow: 0 8px 24px rgba(25,27,30,.08); transform: translateY(-2px); }
.category-card__image { grid-row: 1 / 3; width: 78px; height: 78px; align-self: center; display: grid; place-items: center; background: #f8f8f6; border-radius: 9px; }
.category-card__image img { width: 68px; height: 68px; object-fit: contain; mix-blend-mode: multiply; }
.category-card strong { align-self: center; font-size: 13px; line-height: 1.35; }
.category-card span:last-child { color: var(--orange-dark); font-size: 11px; font-weight: 700; align-self: end; }
.category-empty { padding: 40px; border: 1px dashed #c7c7c2; border-radius: var(--radius); text-align: center; }
.category-empty strong { display: block; margin-bottom: 14px; }
.category-empty button, .back-button { border: 0; padding: 0; background: none; color: var(--orange-dark); font-weight: 700; cursor: pointer; border-bottom: 1px solid currentColor; }

.category-view { padding: 54px 0 74px; border-top: 1px solid var(--line); }
.back-button { margin-bottom: 30px; font-size: 12px; }
.category-view__head { min-height: 170px; padding: 28px 35px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; background: var(--paper); overflow: hidden; }
.section-label { display: block; color: var(--orange-dark); font-size: 10px; line-height: 1; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; }
.category-view__head h2, .section-head h2, .contact h2 { margin: 11px 0 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
.category-view__head img { width: 150px; height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.subcategory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 20px 0 34px; }
.subcategory-card { min-height: 58px; padding: 0 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
.subcategory-card:hover { border-color: var(--orange); color: var(--orange-dark); }
.subcategory-card span { color: var(--orange); }
.category-products { margin-top: 30px; }
.category-products__title { margin: 0 0 16px; font-size: 21px; }
.category-products__empty { padding: 25px; background: #fafaf8; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.request-strip { margin-top: 28px; padding: 22px 25px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #303236; color: #fff; }
.request-strip strong, .request-strip span { display: block; }.request-strip strong { margin-bottom: 5px; }.request-strip span { color: #bcbec1; font-size: 12px; }
.request-strip a { flex: 0 0 auto; padding: 12px 17px; border-radius: 7px; background: var(--orange); font-size: 12px; font-weight: 700; }

.popular { padding: 72px 0 82px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 30px; }
.section-head p { width: 350px; color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .18s; }
.product-card:hover { box-shadow: 0 10px 30px rgba(26,28,31,.09); }
.product-card__image { position: relative; height: 210px; padding: 22px; display: grid; place-items: center; background: #fafaf8; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card__badge { position: absolute; left: 12px; top: 12px; padding: 5px 8px; border-radius: 5px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.product-card__body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-card__sku { color: #999c9f; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { min-height: 41px; margin: 7px 0 18px; font-size: 13px; line-height: 1.45; }
.product-card__footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-card__price strong { display: block; font-size: 18px; }.product-card__price small { color: var(--muted); font-size: 10px; }
.add-button { min-width: 92px; height: 37px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.add-button:hover { background: var(--orange-dark); }.add-button.is-added { background: #303236; }

.info { padding: 55px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.info article { position: relative; padding-left: 48px; }
.info__number { position: absolute; left: 0; top: 2px; color: var(--orange); font-size: 11px; font-weight: 800; }
.info h3 { margin: 0 0 10px; font-size: 17px; }.info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.contact { padding: 66px 0; background: #303236; color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-label--light { color: var(--orange); }.contact p { color: #b8babd; font-size: 14px; }
.contact__links { border-top: 1px solid #515459; }
.contact__links a { min-height: 54px; border-bottom: 1px solid #515459; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact__links span { color: #aeb0b4; font-size: 11px; }.contact__links strong { font-size: 13px; }
.footer { padding: 52px 0 20px; background: #fff; }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 60px; padding-bottom: 42px; }
.footer__brand img { width: 130px; height: 76px; object-fit: contain; }.footer__brand p { max-width: 250px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer__main > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 9px; color: var(--muted); font-size: 12px; line-height: 1.5; }.footer__main strong { color: var(--ink); margin-bottom: 4px; font-size: 13px; }.footer__main a:hover { color: var(--orange-dark); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; gap: 30px; color: #9b9da0; font-size: 10px; }

.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(16,18,20,.58); }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(450px, 100%); padding: 26px; background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .25s ease; box-shadow: -15px 0 45px rgba(0,0,0,.18); }
.cart.is-open { transform: none; }
.cart__head { padding-bottom: 17px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; }.cart__head small { color: var(--orange-dark); text-transform: uppercase; font-size: 9px; font-weight: 700; }.cart__head h2 { margin: 4px 0 0; }.cart__head button, .checkout__close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }
.cart__items { flex: 1; overflow: auto; }.cart__empty { margin: auto; text-align: center; }.cart__empty p { color: var(--muted); font-size: 12px; }
.cart-item { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; }.cart-item img { width: 68px; height: 68px; padding: 6px; object-fit: contain; background: #fafaf8; border-radius: 8px; }.cart-item h4 { margin: 0 0 6px; font-size: 12px; line-height: 1.35; }.cart-item strong { font-size: 13px; }.cart-item__controls { display: flex; gap: 7px; align-items: center; margin-top: 8px; }.cart-item__controls button { width: 23px; height: 23px; border: 1px solid var(--line); background: #fff; border-radius: 5px; }.cart-item__controls span { font-size: 11px; }.cart-item__remove { border: 0; background: none; color: #999; font-size: 20px; cursor: pointer; }
.cart__footer { padding-top: 16px; border-top: 1px solid var(--line); }.cart__footer > div { display: flex; justify-content: space-between; align-items: center; }.cart__footer strong { font-size: 23px; }.cart__footer p { color: var(--muted); font-size: 10px; }.primary-button { width: 100%; height: 50px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 700; cursor: pointer; }
.checkout { width: min(520px, calc(100% - 28px)); padding: 32px; border: 0; border-radius: 14px; box-shadow: var(--shadow); }.checkout::backdrop { background: rgba(16,18,20,.65); }.checkout__close { position: absolute; right: 18px; top: 18px; }.checkout h2 { margin: 10px 0; font-size: 30px; }.checkout > p { color: var(--muted); font-size: 13px; line-height: 1.5; }.checkout form { margin-top: 21px; display: grid; gap: 12px; }.checkout label span { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; }.checkout label small { color: var(--muted); font-weight: 400; }.checkout input, .checkout textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 7px; outline: 0; }.checkout input:focus, .checkout textarea:focus { border-color: var(--orange); }.form-note { color: var(--muted); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; padding: 12px 17px; border-radius: 8px; background: #303236; color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%,20px); transition: .2s; }.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 980px) {
  .header__main { grid-template-columns: 140px 1fr auto; min-height: 98px; }.logo img { width: 125px; }.header__contacts { display: none; }.category-grid { grid-template-columns: repeat(3,1fr); }.catalog-nav a { padding: 0 15px; }.product-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }.service-bar__inner { justify-content: space-between; gap: 10px; font-size: 10px; }.service-bar__inner span:first-child, .service-bar__inner a { display: none; }.header__main { min-height: 78px; grid-template-columns: 120px 1fr auto; gap: 10px; }.logo img { width: 110px; height: 64px; }.header-search { display: none; }.cart-button { margin-left: auto; }.cart-button > span { display: none; }.catalog-nav { overflow-x: auto; }.catalog-nav__inner { width: max-content; margin: 0; padding: 0 14px; }.catalog-nav a { white-space: nowrap; }.catalog-nav a:last-child { margin-left: 0; }.catalog { padding: 34px 0 52px; }.catalog__heading { display: block; margin-bottom: 22px; }.catalog h1 { font-size: 34px; }.catalog__heading p { width: auto; margin-top: 18px; font-size: 13px; }.mobile-search { height: 46px; display: grid; grid-template-columns: 1fr auto; margin-bottom: 28px; }.mobile-search input { min-width: 0; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px 0 0 8px; }.mobile-search button { border: 0; border-radius: 0 8px 8px 0; padding: 0 18px; background: var(--orange); color: #fff; font-weight: 700; }.category-grid { grid-template-columns: repeat(2,1fr); gap: 8px; }.category-card { min-height: 154px; padding: 12px; display: flex; flex-direction: column; align-items: start; }.category-card__image { width: 70px; height: 70px; }.category-card__image img { width: 60px; height: 60px; }.category-card strong { margin: 8px 0 5px; font-size: 12px; }.category-view, .popular { padding: 50px 0; }.category-view__head { padding: 22px; min-height: 145px; }.category-view__head h2 { max-width: 210px; font-size: 28px; }.category-view__head img { width: 90px; height: 90px; }.subcategory-grid { grid-template-columns: 1fr; }.request-strip { align-items: stretch; flex-direction: column; }.request-strip a { text-align: center; }.section-head { display: block; }.section-head p { width: auto; margin-top: 14px; }.product-grid { gap: 8px; }.product-card__image { height: 165px; padding: 12px; }.product-card__body { padding: 12px; }.product-card h3 { font-size: 12px; min-height: 52px; }.product-card__price strong { font-size: 15px; }.add-button { min-width: 40px; width: 40px; padding: 0; font-size: 0; }.add-button::after { content: "+"; font-size: 18px; }.add-button.is-added::after { content: "✓"; font-size: 14px; }.info__grid { grid-template-columns: 1fr; gap: 32px; }.contact__grid { grid-template-columns: 1fr; gap: 35px; }.footer__main { grid-template-columns: 1fr 1fr; gap: 35px; }.footer__brand { grid-column: 1/-1; }.footer__bottom { flex-direction: column; gap: 8px; }.cart { padding: 20px; }.checkout { padding: 27px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
