:root {
  --ink: #1f2228;
  --muted: #777b85;
  --line: #e6e3df;
  --soft: #f5f3ef;
  --accent: #e84f3d;
  --accent-dark: #c93d2d;
  --accent-soft: #fff0ec;
  --lime: #c9ef52;
  --white: #fff;
  --shadow: 0 18px 60px rgba(28, 31, 36, .14);
  --radius: 18px;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
body.locked { overflow: hidden; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(232, 79, 61, .28); outline-offset: 2px; }
[hidden] { display: none !important; }

.demo-note { min-height: 28px; display: grid; place-items: center; padding: 5px 20px; color: #54241d; background: var(--accent-soft); font-size: 12px; letter-spacing: .02em; text-align: center; }
.site-header { height: 82px; padding: 0 max(28px, calc((100vw - 1440px) / 2)); display: flex; align-items: center; gap: 42px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 176px; height: auto; display: block; }
.top-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 650; }
.top-nav a { transition: color .18s; }
.top-nav a:hover { color: var(--accent); }
.nav-catalog { border: 0; background: var(--ink); color: #fff; border-radius: 10px; padding: 13px 18px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 16px; height: 1.5px; background: currentColor; content: ""; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -5px; }
.menu-lines::after { position: absolute; top: 5px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.lookup-button { min-height: 46px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.lookup-button:hover { border-color: var(--accent); color: var(--accent-dark); }
.lookup-button span { font-size: 23px; line-height: 1; }
.icon-button, .cart-button { height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
.icon-button:hover { border-color: #b9b5ae; }
.cart-button { min-width: 270px; height: 54px; padding: 0 12px 0 15px; display: flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; border-color: var(--accent); text-align: left; box-shadow: 0 8px 20px rgba(232,79,61,.2); }
.cart-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cart-button-icon { font-size: 18px; }
.cart-button-copy { min-width: 0; display: grid; gap: 2px; line-height: 1.05; }
.cart-button-copy strong { font-size: 12px; white-space: nowrap; }
.cart-button-copy small { color: rgba(255,255,255,.78); font-size: 9px; font-weight: 600; white-space: nowrap; }
.cart-button b { margin-left: auto; min-width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--ink); background: var(--lime); font-size: 12px; }
.cart-button.has-items { box-shadow: 0 0 0 3px rgba(201,239,82,.35), 0 10px 24px rgba(232,79,61,.24); }

.mega-menu { position: fixed; z-index: 35; inset: 110px 0 auto; max-height: calc(100vh - 110px); overflow: auto; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); animation: slideDown .2s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } }
.mega-inner { max-width: 1440px; margin: auto; padding: 30px 28px 24px; }
.mega-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.mega-head h2, .structure-head h2 { font-size: 28px; margin: 4px 0 0; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.close-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; display: grid; place-items: center; cursor: pointer; font-size: 26px; font-weight: 300; line-height: 1; }
.close-button:hover { background: var(--soft); }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 30px; }
.mega-category { min-width: 0; }
.mega-icon { width: 42px; height: 42px; color: var(--accent); margin-bottom: 8px; }
.mega-icon svg { width: 100%; height: 100%; }
.mega-category h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.2; }
.mega-category h3 button { border: 0; padding: 0; background: none; font: inherit; font-weight: inherit; text-align: left; cursor: pointer; }
.mega-category h3 button:hover { color: var(--accent); }
.mega-link { display: flex; width: 100%; gap: 6px; justify-content: space-between; border: 0; padding: 4px 0; background: none; color: #8a8e98; cursor: pointer; text-align: left; font-size: 13px; line-height: 1.25; }
.mega-link:hover, .mega-link.active { color: var(--accent); }
.mega-link b { color: #fff; background: var(--accent); padding: 1px 6px; border-radius: 8px; font-size: 10px; }
.mega-footer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--accent); font-weight: 750; cursor: pointer; }
.text-button.danger { color: #a52f24; }

main { max-width: 1440px; margin: 0 auto; padding: 0 28px 80px; }
.breadcrumbs { min-height: 66px; padding: 14px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: #777b85; font-size: 16px; font-weight: 650; }
.breadcrumbs a, .breadcrumbs b { min-height: 36px; display: inline-flex; align-items: center; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs b { color: #4c5058; font-weight: 700; }
.breadcrumbs a:first-of-type, .breadcrumbs > b:first-child { padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--ink); font-weight: 750; }
.breadcrumbs a:first-of-type:hover { border-color: #efaaa1; background: var(--accent-soft); color: var(--accent-dark); }
.catalog-home-head { min-height: 245px; padding: 42px 46px; border-radius: 24px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.catalog-home-head::after { content: ""; position: absolute; width: 390px; height: 390px; right: -115px; top: -165px; border: 78px solid rgba(201,239,82,.1); border-radius: 50%; }
.catalog-home-head h1, .subcategory-title-row h1 { margin: 8px 0 15px; font-size: clamp(38px, 4.6vw, 65px); line-height: 1; letter-spacing: -.045em; }
.catalog-home-head p, .subcategory-title-row p { max-width: 680px; margin: 0; color: #c9cbd0; line-height: 1.5; }
.step-mark { min-width: 116px; position: relative; z-index: 1; font-size: 58px; line-height: .8; font-weight: 800; color: var(--lime); text-align: right; }
.step-mark small { display: block; margin-top: 13px; color: #c9cbd0; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.section-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.section-card { min-width: 0; min-height: 320px; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; display: grid; grid-template-columns: 1fr 38px; grid-template-rows: 1fr auto; text-align: left; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.section-card:hover { transform: translateY(-4px); border-color: #d5b1aa; box-shadow: 0 16px 34px rgba(38, 36, 33, .1); }
.section-visual { grid-column: 1 / -1; min-height: 220px; position: relative; overflow: hidden; display: grid; place-items: center; background: var(--section-color); }
.section-visual::before, .section-visual::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.48); }
.section-visual::before { width: 160px; height: 160px; right: -42px; top: -45px; }
.section-visual::after { width: 75px; height: 75px; left: 18px; bottom: 16px; }
.section-visual-ring { width: 145px; height: 145px; border: 1px solid rgba(31,34,40,.15); border-radius: 50%; position: absolute; }
.section-visual-icon { width: 104px; height: 104px; position: relative; z-index: 1; color: var(--ink); transform: rotate(-4deg); }
.section-visual-icon svg { width: 100%; height: 100%; stroke-width: 1.25; }
.section-card-copy { min-width: 0; padding: 18px 5px 20px 20px; display: grid; gap: 3px; }
.section-card-copy > span, .subcategory-number { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.section-card-copy strong { font-size: 18px; line-height: 1.15; }
.section-card-copy small { color: var(--muted); font-size: 10px; }
.section-card > i { align-self: end; margin: 0 17px 20px 0; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-style: normal; }

.subcategory-head { margin-bottom: 28px; }
.back-link { margin: 5px 0 22px; border: 0; padding: 0; background: none; color: var(--accent); font-size: 12px; font-weight: 750; cursor: pointer; }
.subcategory-title-row { min-height: 225px; padding: 38px 45px; border-radius: 24px; background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.subcategory-title-row p { color: var(--muted); }
.subcategory-title-row .step-mark { color: var(--accent); }
.subcategory-title-row .step-mark small { color: var(--muted); }
.subcategory-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.subcategory-card { min-height: 180px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; display: grid; grid-template-columns: 105px minmax(0, 1fr) 30px; grid-template-rows: 20px 1fr; gap: 0 15px; align-items: center; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s; }
.subcategory-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.subcategory-card.active { border-color: #e99a90; background: var(--accent-soft); }
.subcategory-number { grid-column: 1 / -1; align-self: start; }
.section-visual.compact { grid-column: 1; grid-row: 2; min-height: 105px; width: 105px; border-radius: 13px; }
.section-visual.compact::before { width: 75px; height: 75px; }
.section-visual.compact::after { width: 34px; height: 34px; }
.section-visual.compact .section-visual-ring { width: 72px; height: 72px; }
.section-visual.compact .section-visual-icon { width: 55px; height: 55px; }
.subcategory-card-copy { min-width: 0; display: grid; gap: 7px; }
.subcategory-card-copy strong { font-size: 17px; line-height: 1.2; }
.subcategory-card-copy small { color: var(--muted); font-size: 10px; }
.subcategory-card > i { width: 29px; height: 29px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; }
.empty-product-page { padding-bottom: 25px; }
.empty-product-panel { min-height: 480px; padding: 42px; border-radius: 24px; background: var(--soft); display: grid; grid-template-columns: minmax(280px, .8fr) 1fr; gap: 55px; align-items: center; }
.empty-product-visual .section-visual { min-height: 360px; width: 100%; border-radius: 18px; }
.empty-product-visual .section-visual-icon { width: 150px; height: 150px; }
.empty-product-panel h1 { margin: 8px 0 15px; font-size: clamp(35px, 4vw, 56px); line-height: 1; }
.empty-product-panel p { max-width: 570px; color: var(--muted); line-height: 1.55; }
.empty-product-panel .primary-button { margin-top: 12px; }
.catalog-intro { min-height: 232px; border-radius: 24px; padding: 42px 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.catalog-intro::after { content: ""; width: 420px; height: 420px; border: 90px solid rgba(201,239,82,.11); border-radius: 50%; position: absolute; right: -130px; top: -160px; }
.catalog-intro h1 { max-width: 780px; font-size: clamp(34px, 4vw, 59px); line-height: 1.02; letter-spacing: -.045em; margin: 8px 0 16px; }
.catalog-intro p { max-width: 680px; color: #c9cbd0; margin: 0; font-size: 16px; line-height: 1.5; }
.intro-stat { min-width: 228px; position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); border-radius: 18px; padding: 20px; }
.intro-stat strong { font-size: 49px; color: var(--lime); line-height: 1; }
.intro-stat span { color: #d9dadc; font-size: 13px; line-height: 1.35; }
.category-strip { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; padding: 24px 0; overflow-x: visible; }
.category-chip { flex: 0 0 auto; min-height: 46px; border: 1px solid var(--line); border-radius: 23px; padding: 0 18px; background: #fff; display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; }
.category-chip.active { background: var(--accent-soft); border-color: #f0a69d; color: #942d22; font-weight: 750; }
.category-chip b { padding: 2px 7px; border-radius: 9px; background: #fff; }
.category-chip.disabled { color: #aaa; cursor: default; }
.category-chip.disabled span { color: #bbb; font-size: 10px; }
.mini-shirt { width: 15px; height: 15px; position: relative; background: var(--accent); clip-path: polygon(24% 0, 42% 15%, 58% 15%, 76% 0, 100% 24%, 81% 47%, 74% 38%, 74% 100%, 26% 100%, 26% 38%, 19% 47%, 0 24%); }
.catalog-toolbar { height: 64px; display: flex; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.catalog-toolbar p { font-size: 13px; color: var(--muted); }
.catalog-toolbar p strong { color: var(--ink); }
.sort-label { margin-left: auto; color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 10px; }
.sort-label select { border: 0; color: var(--ink); font-weight: 650; background: transparent; padding: 8px 4px; cursor: pointer; }
.filter-mobile { display: none; }
.catalog-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: 105px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; scrollbar-width: thin; }
.filter-mobile-head { display: none; }
.search-field span, .detail-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.search-field input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; background: #fff; }
.filter-section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-title { width: 100%; padding: 0; border: 0; background: none; display: flex; justify-content: space-between; cursor: pointer; font-size: 13px; font-weight: 750; }
.filter-title span { color: #9d9fa5; font-size: 16px; font-weight: 400; }
.filter-body { padding-top: 14px; }
.range-body > div { display: flex; align-items: center; gap: 7px; }
.range-body input:not([type="range"]) { width: calc(50% - 12px); min-width: 0; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; }
.range-body input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--accent); }
.option-list { display: grid; gap: 10px; }
.option-list label { display: flex; align-items: center; gap: 8px; color: #60636b; font-size: 12px; cursor: pointer; }
.option-list input { position: absolute; opacity: 0; }
.checkmark { width: 16px; height: 16px; border: 1px solid #c9c7c2; border-radius: 4px; display: grid; place-items: center; }
.option-list input:checked + .checkmark { background: var(--accent); border-color: var(--accent); }
.option-list input:checked + .checkmark::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 800; }
.color-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--dot); border: 1px solid rgba(0,0,0,.12); }
.reset-button { width: 100%; height: 40px; margin-top: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 12px; }
.reset-button:hover { border-color: var(--accent); color: var(--accent); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
.product-card { min-width: 0; }
.product-image { display: block; width: 100%; aspect-ratio: 1 / .89; border: 0; border-radius: 16px; background: var(--soft); overflow: hidden; position: relative; cursor: pointer; }
.shirt-art { width: 86%; height: 86%; margin: 7%; transition: transform .28s ease; }
.product-card:hover .shirt-art { transform: scale(1.035); }
.product-photo { width: 100%; height: 100%; display: block; object-fit: contain; padding: 12px; transition: transform .28s ease; }
.product-card:hover .product-photo { transform: scale(1.035); }
.stock-badge { position: absolute; top: 12px; left: 12px; border-radius: 12px; padding: 5px 9px; background: rgba(255,255,255,.9); color: #3b744e; font-size: 10px; font-weight: 800; }
.product-copy { padding: 13px 4px 0; }
.product-brand { color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; display: flex; justify-content: space-between; }
.product-brand span { color: #a1a3a9; font-weight: 600; letter-spacing: 0; }
.product-name { border: 0; background: none; padding: 6px 0 8px; text-align: left; font-size: 15px; font-weight: 750; cursor: pointer; }
.product-name:hover { color: var(--accent); }
.product-meta { min-height: 25px; display: flex; gap: 12px; color: #8c8f97; font-size: 10px; }
.product-meta span { display: flex; align-items: center; gap: 5px; }
.product-meta i { width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(0,0,0,.13); }
.product-bottom { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 9px; border-top: 1px solid #efede9; }
.product-bottom small { display: block; color: #9a9ca3; font-size: 9px; }
.product-bottom strong { font-size: 16px; }
.add-button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; cursor: pointer; }
.add-button:hover { background: var(--accent); }
.empty-state { padding: 90px 20px; text-align: center; background: var(--soft); border-radius: var(--radius); }
.empty-state h2 { margin: 8px 0; }
.empty-state p { color: var(--muted); }
.empty-icon { font-size: 40px; color: var(--accent); }

.service-band { margin-top: 80px; border-radius: 22px; background: var(--accent-soft); padding: 36px 42px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px 60px; align-items: center; }
.service-band h2 { font-size: 31px; margin: 6px 0 0; }
.service-band > p { color: #6e5955; line-height: 1.5; }
.service-list { grid-column: 1 / -1; display: flex; gap: 9px; flex-wrap: wrap; }
.service-list span { border: 1px solid #efbbb3; background: #fff; border-radius: 18px; padding: 8px 14px; font-size: 12px; }
footer { min-height: 220px; padding: 50px max(28px, calc((100vw - 1440px) / 2)); background: var(--ink); color: #fff; }
footer img { width: 160px; filter: brightness(0) invert(1); }
footer p { font-size: 13px; }
footer .muted { color: #8f9299; }

.overlay { position: fixed; z-index: 70; inset: 0; background: rgba(18, 20, 24, .52); backdrop-filter: blur(3px); }
.drawer { position: fixed; z-index: 80; top: 0; right: 0; width: min(480px, 100%); height: 100dvh; background: #fff; transform: translateX(105%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 25px 26px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h2 { max-width: 340px; margin: 4px 0 0; font-size: 26px; line-height: 1.05; }
.drawer-help { max-width: 330px; margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.drawer-content { flex: 1; overflow-y: auto; padding: 8px 25px; }
.cart-item { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { background: var(--soft); border-radius: 10px; height: 90px; overflow: hidden; }
.cart-thumb .shirt-art { width: 100%; height: 100%; margin: 0; }
.cart-thumb .product-photo { padding: 5px; }
.cart-item b { font-size: 13px; display: block; margin-top: 4px; }
.cart-item > div > span { color: var(--muted); font-size: 11px; }
.quantity { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.quantity button { border: 1px solid var(--line); background: #fff; width: 26px; height: 26px; border-radius: 6px; cursor: pointer; }
.quantity > strong { min-width: 24px; text-align: center; font-size: 12px; }
.quantity .remove { width: auto; margin-left: auto; padding: 0 7px; border-color: #efc2ba; color: var(--accent-dark); font-size: 10px; }
.cart-empty { text-align: center; padding: 100px 20px; color: var(--muted); }
.cart-empty > span { font-size: 48px; color: #ccc; }
.cart-bottom { padding: 21px 25px 25px; border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total strong { font-size: 23px; }
.cart-bottom p { color: var(--muted); font-size: 11px; line-height: 1.45; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.primary-button, .secondary-button { min-height: 46px; padding: 0 20px; border: 0; border-radius: 9px; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; }
.primary-button:hover { background: var(--accent-dark); }
.primary-button:disabled { background: #c7c7c7; cursor: default; }
.primary-button.full { width: 100%; }
.secondary-button.full { width: 100%; }
.secondary-button { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.secondary-button:disabled { color: #a8a8a8; background: #f3f3f3; cursor: default; }

.modal { position: fixed; z-index: 80; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; box-shadow: var(--shadow); border-radius: 22px; max-height: calc(100dvh - 40px); overflow-y: auto; }
.product-modal { width: min(1040px, calc(100% - 40px)); padding: 28px; }
.modal-close { position: sticky; z-index: 2; float: right; top: 0; }
.detail-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 40px; align-items: center; clear: both; }
.detail-visual { min-height: 530px; border-radius: 17px; display: grid; place-items: center; background: var(--soft); position: relative; }
.detail-copy { min-width: 0; }
.detail-visual .shirt-art.large { width: 88%; height: 88%; margin: 0; }
.detail-visual .product-photo.large { width: 100%; height: 100%; max-height: 530px; padding: 20px; object-fit: contain; }
.detail-visual > span { position: absolute; bottom: 12px; color: #a0a2a8; font-size: 9px; }
.detail-copy h2 { font-size: 35px; line-height: 1.08; margin: 8px 0 12px; }
.detail-status { color: #3b744e; font-size: 12px; font-weight: 750; }
.detail-copy > p { color: var(--muted); line-height: 1.55; font-size: 13px; }
.detail-description {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  border-radius: 7px;
  outline: none;
}
.detail-description:hover, .detail-description:focus-visible { color: var(--ink); background: var(--soft); }
.detail-description.expanded { overflow: visible; white-space: normal; text-overflow: clip; }
.detail-price { margin: 20px 0; padding: 16px 18px; border-radius: 12px; background: var(--accent-soft); display: grid; grid-template-columns: 1fr auto; align-items: center; }
.detail-price span { font-size: 11px; color: #89534b; }
.detail-price strong { font-size: 24px; }
.detail-price small { grid-column: 1/-1; color: #9d7771; margin-top: 2px; font-size: 9px; }
.detail-label { margin: 0 0 12px; }
.detail-label select, .detail-label input { display: block; width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px; margin-top: 7px; padding: 0 12px; color: var(--ink); background: #fff; }
.methods { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.methods b { flex-basis: 100%; font-size: 11px; margin-bottom: 3px; }
.methods span { padding: 5px 9px; border-radius: 13px; background: var(--soft); color: #676a72; font-size: 10px; }

.request-modal { width: min(760px, calc(100% - 40px)); padding: 28px; }
.request-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.request-head h2 { max-width: 570px; margin: 5px 0 8px; font-size: 29px; line-height: 1.08; }
.request-head p { margin: 0; max-width: 590px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.client-type { margin: 22px 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.client-type legend { grid-column: 1 / -1; margin-bottom: 9px; font-size: 12px; font-weight: 750; }
.client-type legend b, .request-field > span b { color: var(--accent); }
.client-type label { min-height: 78px; position: relative; cursor: pointer; }
.client-type input { position: absolute; opacity: 0; }
.client-type label > span { height: 100%; padding: 15px 16px 14px 44px; border: 1px solid var(--line); border-radius: 11px; display: grid; align-content: center; gap: 3px; position: relative; }
.client-type label > span::before { content: ""; width: 16px; height: 16px; border: 1px solid #bbb; border-radius: 50%; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.client-type input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.client-type input:checked + span::before { border: 5px solid var(--accent); background: #fff; }
.client-type strong { font-size: 13px; }
.client-type small { color: var(--muted); font-size: 9px; }
.request-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 12px; }
.request-field { min-width: 0; }
.request-field > span { display: block; margin-bottom: 7px; color: #62656d; font-size: 11px; font-weight: 700; }
.request-field input, .request-field select, .request-field textarea { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.request-field textarea { height: auto; padding-top: 11px; padding-bottom: 11px; resize: vertical; line-height: 1.45; }
.request-field input[type="file"] { height: auto; padding: 10px 12px; }
.request-field input.invalid, .request-field select.invalid, .request-field textarea.invalid { border-color: #d63c2d; background: #fff8f6; }
.request-field > small:not(.field-error) { display: block; padding-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.retention-field { grid-column: 1 / -1; }
.request-section-label { grid-column: 1 / -1; margin-top: 4px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 800; }
.mockup-field input::file-selector-button { min-height: 34px; margin-right: 10px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.field-error { min-height: 15px; display: block; padding-top: 4px; color: #bb3428; font-size: 9px; }
.form-explanation { margin-top: 17px; padding: 13px 15px; border-radius: 10px; background: var(--soft); display: grid; gap: 5px; color: var(--muted); font-size: 10px; }
.form-explanation b { color: var(--ink); }
.privacy-hold { margin-top: 14px; padding: 14px 15px; border: 1px solid #e7bd69; border-radius: 10px; background: #fff7df; display: grid; gap: 5px; color: #6e5320; font-size: 14px; line-height: 1.45; }
.privacy-hold strong { color: #5d4314; font-size: 15px; }
.request-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.consent-modal { width: min(720px, calc(100% - 40px)); padding: 28px; }
.lookup-modal { width: min(620px, calc(100% - 40px)); padding: 28px; }
.lookup-field { margin: 24px 0 18px; }
.lookup-field input { min-height: 52px; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lookup-result { margin: 0 0 18px; padding: 14px 16px; display: grid; gap: 4px; border: 1px solid #dce8bd; border-radius: 12px; background: #f6faed; color: #40531e; font-size: 14px; line-height: 1.45; }
.lookup-result.error { border-color: #ffc8c3; background: #fff1f0; color: #a52b22; }
.lookup-result strong { font-size: 16px; }
.consent-summary { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8f8f5; }
.consent-summary p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.consent-summary p:last-of-type { margin-bottom: 0; }
.consent-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.consent-links a { color: #9d2d24; font-size: 15px; font-weight: 700; text-underline-offset: 3px; }
.consent-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 15px; border: 1px solid #bdc5cb; border-radius: 12px; background: #fff; cursor: pointer; }
.consent-check:focus-within { outline: 3px solid #c9ed6c88; border-color: #7e9d33; }
.consent-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
.consent-check span { font-size: 16px; font-weight: 700; line-height: 1.45; }
.consent-error { display: block; min-height: 20px; margin-top: 6px; }
.consent-actions { justify-content: space-between; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 16px; }
.footer-legal a { color: inherit; font-size: 14px; text-underline-offset: 3px; }

.structure-modal { width: min(1120px, calc(100% - 40px)); padding: 28px; }
.structure-head { display: flex; justify-content: space-between; gap: 30px; }
.structure-head p { color: var(--muted); margin: 7px 0 0; font-size: 12px; }
.structure-tools { margin: 22px 0 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.structure-tools .secondary-button { min-height: 38px; font-size: 12px; }
.structure-editor { display: grid; gap: 10px; }
.structure-category { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.structure-category-row { min-height: 42px; display: grid; grid-template-columns: 24px 34px minmax(180px, 1fr) 110px 32px 32px 32px; align-items: center; gap: 8px; }
.structure-icon { width: 30px; height: 30px; color: var(--accent); }
.structure-icon svg { width: 100%; height: 100%; }
.drag { color: #aaa; }
.structure-category input[type="text"], .structure-category input:not([type]) { width: 100%; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid transparent; border-radius: 6px; background: var(--soft); font-weight: 700; }
.structure-category input:focus { background: #fff; border-color: #e2a199; }
.visibility { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.visibility input { accent-color: var(--accent); }
.move-button, .delete-button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.delete-button { color: #a5a6aa; font-size: 18px; }
.delete-button:disabled { opacity: .25; cursor: not-allowed; }
.subcategory-list { margin-left: 58px; }
.subcategory-row { display: grid; grid-template-columns: 20px minmax(170px, 1fr) auto 82px 30px; align-items: center; gap: 8px; min-height: 38px; border-top: 1px dashed #eceae7; }
.subcategory-row input:not([type="checkbox"]) { font-size: 12px; font-weight: 500; background: #fff; }
.products-mark { color: #3b744e; background: #edf7ef; border-radius: 9px; padding: 3px 8px; font-size: 9px; white-space: nowrap; }
.add-child { margin: 7px 0 2px 58px; border: 0; background: none; color: var(--accent); font-size: 11px; font-weight: 700; cursor: pointer; }
.structure-bottom { position: sticky; bottom: -28px; margin: 20px -28px -28px; padding: 16px 28px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 9px; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s; font-size: 12px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .site-header { gap: 22px; }
  .top-nav { gap: 19px; }
  .cart-button { min-width: 220px; }
  .cart-button-copy small { display: none; }
  .mega-grid { grid-template-columns: repeat(4, 1fr); }
  .section-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .demo-note { min-height: 24px; font-size: 10px; }
  .site-header { height: 68px; padding: 0 16px; gap: 12px; }
  .brand img { width: 132px; }
  .top-nav a { display: none; }
  .nav-catalog { padding: 11px 13px; }
  .wide-label { display: none; }
  .icon-button { width: 42px; padding: 0; }
  .cart-button { min-width: 48px; width: auto; padding: 0 10px; font-size: 0; }
  .cart-button-icon { font-size: 15px; }
  .cart-button-copy { display: none; }
  .cart-button b { font-size: 11px; margin-left: 4px; }
  .lookup-button strong { display: none; }
  .lookup-button { width: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .mega-menu { inset: 92px 0 0; max-height: calc(100dvh - 92px); }
  .mega-inner { padding: 22px 18px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .mega-footer { align-items: flex-start; gap: 15px; }
  main { padding: 0 16px 55px; }
  .catalog-home-head, .subcategory-title-row { padding: 30px 25px; min-height: 220px; }
  .catalog-home-head h1, .subcategory-title-row h1 { font-size: 40px; }
  .section-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .subcategory-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .empty-product-panel { grid-template-columns: 1fr; gap: 25px; }
  .empty-product-visual .section-visual { min-height: 300px; }
  .catalog-intro { padding: 30px 25px; min-height: 220px; }
  .catalog-intro h1 { font-size: 39px; }
  .intro-stat { display: none; }
  .catalog-toolbar { margin-bottom: 20px; }
  .filter-mobile { display: block; border: 0; border-radius: 8px; background: var(--ink); color: #fff; padding: 10px 13px; margin-right: 12px; font-size: 12px; font-weight: 700; }
  .filter-mobile span:not(:empty) { margin-left: 5px; padding: 1px 5px; border-radius: 7px; background: var(--lime); color: var(--ink); }
  .catalog-layout { display: block; }
  .filters { position: fixed; z-index: 90; inset: 0; max-height: none; padding: 18px 22px 30px; background: #fff; transform: translateX(-105%); transition: transform .24s ease; overflow-y: auto; }
  .filters.mobile-open { transform: translateX(0); }
  .filter-mobile-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .filter-mobile-head button { border: 0; background: none; font-size: 27px; }
  .search-field { display: block; padding-top: 18px; }
  .service-band { grid-template-columns: 1fr; padding: 28px; }
  .service-list { grid-column: auto; }
  .detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .detail-visual { min-height: 390px; }
  .structure-category-row { grid-template-columns: 20px 30px minmax(120px, 1fr) 82px 30px; }
  .structure-category-row [data-action="up"], .structure-category-row [data-action="down"] { display: none; }
  .subcategory-list { margin-left: 25px; }
  .subcategory-row { grid-template-columns: 16px minmax(120px, 1fr) 68px 28px; }
  .subcategory-row .products-mark { display: none; }
  .add-child { margin-left: 25px; }
}

@media (max-width: 560px) {
  .site-header { gap: 7px; }
  .brand { width: 122px; overflow: visible; }
  .brand img { width: 122px; }
  .top-nav { margin-left: auto; }
  .nav-catalog { font-size: 0; width: 42px; height: 42px; padding: 0; justify-content: center; }
  .header-actions { margin-left: 0; }
  .structure-button { display: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .mega-category h3 { font-size: 14px; }
  .mega-footer { display: grid; }
  .breadcrumbs { overflow: hidden; white-space: nowrap; }
  .catalog-home-head, .subcategory-title-row { border-radius: 17px; padding: 27px 20px; }
  .catalog-home-head h1, .subcategory-title-row h1 { font-size: 33px; }
  .catalog-home-head p, .subcategory-title-row p { font-size: 12px; }
  .step-mark { display: none; }
  .section-card-grid { gap: 10px; margin-top: 17px; }
  .section-card { min-height: 230px; border-radius: 13px; grid-template-columns: 1fr 30px; }
  .section-visual { min-height: 150px; }
  .section-visual-ring { width: 95px; height: 95px; }
  .section-visual-icon { width: 68px; height: 68px; }
  .section-card-copy { padding: 13px 2px 14px 13px; }
  .section-card-copy strong { font-size: 14px; }
  .section-card-copy small { font-size: 8px; }
  .section-card > i { width: 25px; height: 25px; margin: 0 10px 14px 0; font-size: 11px; }
  .subcategory-card-grid { grid-template-columns: 1fr; }
  .subcategory-card { min-height: 145px; grid-template-columns: 88px minmax(0, 1fr) 27px; padding: 12px; }
  .section-visual.compact { width: 88px; min-height: 88px; }
  .subcategory-card-copy strong { font-size: 15px; }
  .empty-product-panel { padding: 20px; border-radius: 17px; }
  .empty-product-visual .section-visual { min-height: 230px; }
  .catalog-intro { border-radius: 17px; padding: 26px 20px; }
  .catalog-intro h1 { font-size: 32px; }
  .catalog-intro p { font-size: 13px; }
  .category-strip { padding: 17px 0; }
  .sort-label { font-size: 0; }
  .sort-label select { max-width: 150px; font-size: 11px; }
  .catalog-toolbar p { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 10px; }
  .product-image { border-radius: 11px; }
  .stock-badge { top: 7px; left: 7px; padding: 4px 6px; font-size: 8px; }
  .product-name { font-size: 12px; min-height: 45px; }
  .product-meta { display: none; }
  .product-bottom strong { font-size: 13px; }
  .add-button { width: 34px; height: 34px; }
  .service-band { margin-top: 50px; padding: 24px 20px; }
  .service-band h2 { font-size: 25px; }
  .product-modal, .structure-modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; padding: 18px; }
  .request-modal, .consent-modal, .lookup-modal { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; padding: 18px; }
  .request-head h2 { font-size: 24px; }
  .client-type { grid-template-columns: 1fr; }
  .client-type label { min-height: 66px; }
  .request-fields { grid-template-columns: 1fr; }
  .request-actions { display: grid; grid-template-columns: 1fr; }
  .consent-actions { display: grid; grid-template-columns: 1fr; }
  .cart-actions { grid-template-columns: 1fr; }
  .detail-visual { min-height: 310px; }
  .detail-copy h2 { font-size: 28px; }
  .structure-head h2 { font-size: 24px; }
  .structure-head p { display: none; }
  .structure-tools { align-items: flex-start; gap: 12px; }
  .structure-category-row { grid-template-columns: 20px 26px minmax(100px, 1fr) 28px; }
  .structure-category-row .visibility { display: none; }
  .subcategory-row { grid-template-columns: 14px minmax(90px, 1fr) 28px; }
  .subcategory-row .visibility { display: none; }
  .structure-bottom { bottom: -18px; margin: 18px -18px -18px; padding: 13px 18px; }
  .structure-bottom span { display: none; }
  .structure-bottom .primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Обязательный порог читаемости: темы оформления не должны уменьшать эти размеры. */
body { font-size: 16px; }
.demo-note, .breadcrumbs, .eyebrow, .step-mark small,
.section-card-copy > span, .subcategory-number, .mega-link b,
.stock-badge, .product-brand, .product-meta, .product-bottom small,
.detail-visual > span, .detail-price small, .client-type small,
.field-error, .visibility, .products-mark { font-size: 12px; }
.cart-button-copy small, .section-card-copy small, .subcategory-card-copy small,
.category-chip.disabled span, .drawer-help, .cart-item > div > span,
.cart-bottom p, .detail-price span, .methods b, .methods span,
.request-head p, .request-field > span, .form-explanation,
.structure-bottom, .add-child { font-size: 13px; }
.mega-link, .mega-footer, .back-link, .category-chip, .catalog-toolbar p,
.sort-label, .search-field span, .detail-label, .filter-title,
.option-list label, .reset-button, .service-list span, footer p,
.cart-item b, .quantity > strong, .detail-status, .detail-copy > p,
.client-type legend, .client-type strong, .structure-head p,
.structure-tools .secondary-button { font-size: 14px; }
.cart-button-copy strong { font-size: 14px; }
.product-name { font-size: 16px; }
.icon-button, .cart-button, .filter-mobile, .quantity .remove,
input, select, textarea { font-size: 14px; }

@media (max-width: 700px) {
  input, select, textarea { font-size: 16px; }
  .demo-note, .stock-badge, .section-card-copy > span,
  .section-card-copy small, .product-brand, .product-meta,
  .product-bottom small { font-size: 12px; }
  .product-name { font-size: 15px; }
}

.breadcrumbs { font-size: 16px; }

@media (max-width: 560px) {
  .breadcrumbs { min-height: 58px; font-size: 15px; }
}
