:root {
  --ink: #24201f;
  --muted: #746b67;
  --paper: #fffdfb;
  --soft: #f7f1ed;
  --soft-2: #eee3dc;
  --accent: #c95c55;
  --accent-dark: #9f403a;
  --green: #607d6a;
  --line: rgba(36, 32, 31, .12);
  --white: #fff;
  --shadow: 0 20px 60px rgba(54, 37, 30, .09);
  --shadow-sm: 0 10px 30px rgba(54, 37, 30, .08);
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1420px;
  --font-main: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-main); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open, body.filters-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-main); font-weight: 500; letter-spacing: -.035em; line-height: 1.03; }
h1 { font-size: clamp(48px, 6vw, 96px); }
h2 { font-size: clamp(38px, 4vw, 64px); }

.announcement { background: var(--ink); color: rgba(255,255,255,.92); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.announcement__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement__secondary { color: rgba(255,255,255,.55); }
.site-header { position: relative; z-index: 40; background: rgba(255,253,251,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-main { min-height: 92px; display: grid; grid-template-columns: 260px minmax(320px, 1fr) auto; gap: 34px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 170px; max-height: 70px; object-fit: contain; object-position: left center; }
.brand__mark { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--white); background: var(--accent); font-family: var(--font-main); font-size: 27px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.18); }
.brand__text { display: flex; min-width: 0; flex-direction: column; line-height: 1.05; }
.brand__text b { font-family: var(--font-main); font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.header-search { height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: rgba(201,92,85,.45); box-shadow: 0 0 0 4px rgba(201,92,85,.08); }
.header-search svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.header-search button { height: 38px; padding: 0 20px; border: 0; border-radius: 999px; color: #fff; background: var(--ink); cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-action { display: flex; align-items: center; gap: 10px; }
.header-action svg { width: 23px; height: 23px; color: var(--accent); }
.header-action span { display: flex; flex-direction: column; line-height: 1.2; }
.header-action small { color: var(--muted); font-size: 11px; }
.header-action b { font-size: 13px; }
.icon-button { position: relative; width: 46px; height: 46px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.icon-button:hover { transform: translateY(-2px); border-color: rgba(36,32,31,.28); }
.icon-button svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border: 3px solid var(--paper); border-radius: 999px; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; }
.main-nav { border-top: 1px solid var(--line); }
.main-nav__inner { min-height: 52px; display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 650; }
.main-nav__inner a { white-space: nowrap; transition: color .2s; }
.main-nav__inner a:hover { color: var(--accent); }
.catalog-trigger { display: inline-flex; align-items: center; gap: 9px; margin-right: 4px; padding: 10px 18px; border-radius: 999px; color: #fff; background: var(--ink); }
.catalog-trigger svg { width: 18px; height: 18px; }
.main-nav__inner .catalog-trigger:hover { color: #fff; background: var(--accent-dark); }
.nav-sale { color: var(--accent-dark); }
.mobile-only, .mobile-search-wrap { display: none; }
.mobile-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.mobile-drawer.is-open { visibility: visible; opacity: 1; }
.mobile-drawer__overlay { position: absolute; inset: 0; background: rgba(24,19,17,.46); backdrop-filter: blur(4px); }
.mobile-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 420px); padding: 20px; overflow-y: auto; background: var(--paper); transform: translateX(-100%); transition: transform .3s ease; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-primary { display: block; margin-top: 22px; padding: 16px 18px; border-radius: 14px; color: #fff; background: var(--ink); font-weight: 700; }
.drawer-links { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-links a { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.drawer-links--secondary a { min-height: 40px; color: var(--muted); }
.drawer-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--soft); }
.drawer-contact span { color: var(--muted); font-size: 13px; }
.toast-stack { position: fixed; top: 130px; right: 24px; z-index: 110; display: grid; gap: 10px; }
.toast { max-width: 380px; padding: 14px 18px; border: 1px solid rgba(96,125,106,.2); border-radius: 14px; color: #fff; background: var(--green); box-shadow: var(--shadow-sm); animation: toast-in .28s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

.hero { overflow: hidden; background: linear-gradient(180deg, #fffdfb 0%, #f8f0eb 100%); }
.hero__grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(520px, 1.05fr); gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__content h1 { max-width: 850px; margin-bottom: 26px; }
.hero__content > p { max-width: 660px; color: var(--muted); font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--accent); box-shadow: 0 12px 28px rgba(201,92,85,.2); }
.button--primary:hover { background: var(--accent-dark); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.55); }
.button--dark { color: #fff; background: var(--ink); }
.button--light { color: var(--ink); background: #fff; }
.button--outline { border-color: var(--line); background: #fff; }
.button--wide { width: 100%; }
.button:disabled, .add-cart:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.hero__facts { display: flex; gap: 46px; margin-top: 54px; }
.hero__facts span { display: flex; flex-direction: column; }
.hero__facts b { font-family: var(--font-main); font-size: 25px; font-weight: 500; }
.hero__facts small { color: var(--muted); font-size: 11px; }
.hero__visual { position: relative; min-height: 560px; overflow: hidden; border-radius: 40px 40px 120px 40px; background: #d8c7bd; box-shadow: var(--shadow); }
.hero__visual--photo { background-position: center 45%; background-size: cover; }
.hero__visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 35%, rgba(35,25,23,.18)); pointer-events: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 750; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.text-link--center { display: flex; justify-content: center; margin-top: 18px; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.category-card { position: relative; min-height: 245px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 18px; border-radius: 22px; background: #e7d2c8; transition: transform .25s, box-shadow .25s; }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.category-card--2 { background: #d9d4c7; }
.category-card--3 { background: #d0dde0; }
.category-card--4 { background: #eadcc9; }
.category-card--5 { background: #d9c9d7; }
.category-card--6 { background: #cfd9ca; }
.category-card__index { position: absolute; top: 15px; left: 17px; z-index: 2; color: rgba(36,32,31,.45); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.category-card__art { position: absolute; width: 160px; height: 160px; left: 50%; top: 35px; border-radius: 50%; transform: translateX(-50%); background: repeating-linear-gradient(18deg, rgba(255,255,255,.32) 0 4px, rgba(45,35,33,.09) 5px 10px), radial-gradient(circle at 35% 30%, rgba(255,255,255,.8), rgba(145,91,82,.52)); box-shadow: 0 20px 35px rgba(52,39,35,.13); }
.category-card:nth-child(even) .category-card__art { border-radius: 44% 56% 52% 48%; transform: translateX(-50%) rotate(12deg); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); }
.category-card:has(img):after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24,20,18,.04) 30%, rgba(24,20,18,.72) 100%); }
.category-card:has(img) .category-card__index, .category-card:has(img) .category-card__name, .category-card:has(img) .category-card__arrow { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.category-card__name { position: relative; z-index: 2; max-width: calc(100% - 28px); font-family: var(--font-main); font-size: 19px; line-height: 1.05; }
.category-card__arrow { position: absolute; right: 16px; bottom: 16px; z-index: 2; font-size: 18px; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.product-grid--catalog { grid-template-columns: repeat(3, minmax(0,1fr)); }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-sm); }
.product-card__image { position: relative; display: block; aspect-ratio: 1/1.05; overflow: hidden; background: #f3ece7; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #f7cdc2, transparent 35%), radial-gradient(circle at 70% 72%, #c5d7d0, transparent 38%), linear-gradient(145deg, #eee3dc, #d8c1b8); }
.image-placeholder span { width: 52%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: rgba(255,255,255,.85); background: repeating-linear-gradient(22deg, rgba(255,255,255,.25) 0 3px, rgba(43,34,31,.08) 4px 8px), var(--accent); font-family: var(--font-main); font-size: 64px; box-shadow: 0 24px 45px rgba(61,38,36,.2); }
.image-placeholder--large { min-height: 560px; }
.product-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 7px 10px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge--new { background: var(--green); }
.badge--sale { background: var(--accent); }
.product-card__body { padding: 17px 18px 18px; }
.product-card__meta { margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { min-height: 44px; margin-bottom: 9px; font-family: var(--font-main); font-size: 19px; font-weight: 500; line-height: 1.16; }
.product-card__details { min-height: 22px; display: flex; gap: 10px; color: var(--muted); font-size: 11px; }
.product-card__details span + span:before { content: "·"; margin-right: 10px; }
.product-card__bottom { min-height: 54px; display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price b { font-size: 19px; }
.price del { color: var(--muted); font-size: 12px; }
.price small { width: 100%; color: var(--muted); font-size: 10px; }
.add-cart { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--ink); cursor: pointer; transition: transform .2s, background .2s; }
.add-cart:hover { transform: scale(1.06); background: var(--accent); }
.add-cart svg { width: 20px; height: 20px; }

.editorial__grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; overflow: hidden; border-radius: 34px; background: var(--ink); color: #fff; }
.editorial__visual { position: relative; min-height: 560px; overflow: hidden; background: linear-gradient(135deg, #c48c84, #e2b7a6); }
.editorial__visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 65%, rgba(36,32,31,.22)); }
.editorial__caption { position: absolute; z-index: 2; left: 28px; bottom: 24px; padding: 11px 15px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.82); backdrop-filter: blur(8px); font-size: 12px; font-weight: 750; }
.editorial__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px,6vw,92px); }
.editorial__content .eyebrow { color: #e9aaa3; }
.editorial__content h2 { margin-bottom: 24px; font-size: clamp(40px,4.5vw,68px); }
.editorial__content p { margin-bottom: 32px; color: rgba(255,255,255,.67); font-size: 17px; }
.editorial__content .button { align-self: flex-start; color: var(--ink); background: #fff; }
.sale-banner { padding-top: 30px; }
.sale-banner__inner { min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px 65px; border-radius: 32px; color: #fff; background: linear-gradient(120deg, #8f3f3d, #ca665e 72%, #e9a69b); overflow: hidden; position: relative; }
.sale-banner__inner:after { content: "%"; position: absolute; right: 7%; top: -60px; color: rgba(255,255,255,.1); font-family: var(--font-main); font-size: 300px; line-height: 1; }
.sale-banner__inner > * { position: relative; z-index: 1; }
.sale-banner h2 { margin-bottom: 12px; font-size: clamp(38px,4vw,64px); }
.sale-banner p { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.sale-banner .eyebrow { color: rgba(255,255,255,.7); }
.service-strip { padding-top: 45px; }
.service-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-strip__grid > div { padding: 36px 30px; border-right: 1px solid var(--line); }
.service-strip__grid > div:last-child { border-right: 0; }
.service-icon { display: inline-grid; width: 32px; height: 32px; place-items: center; margin-bottom: 16px; border-radius: 50%; color: #fff; background: var(--accent); font-size: 9px; font-weight: 800; }
.service-strip b { display: block; margin-bottom: 7px; }
.service-strip p { margin-bottom: 0; color: var(--muted); font-size: 13px; }

.catalog-hero, .simple-hero { padding: 62px 0 40px; background: var(--soft); }
.simple-hero { padding-bottom: 10px; background: transparent; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--accent); }
.catalog-hero__row { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.catalog-hero h1, .simple-hero h1 { margin-bottom: 0; font-size: clamp(52px,6vw,86px); }
.catalog-hero p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.catalog-count { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.catalog-layout-section { padding-top: 54px; }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 42px; align-items: start; }
.filters { position: sticky; top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-family: var(--font-main); font-size: 24px; }
.filter-block { padding: 17px 0; border-top: 1px solid var(--line); }
.filter-block label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
.filter-block input, .filter-block select, .field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.filter-block textarea, .field textarea { padding-top: 12px; resize: vertical; }
.filter-block input:focus, .filter-block select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(201,92,85,.55); box-shadow: 0 0 0 4px rgba(201,92,85,.07); }
.filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; cursor: pointer; font-size: 13px; }
.check-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); }
.filters .button { margin-top: 18px; }
.filters-reset { display: block; margin-top: 13px; color: var(--muted); font-size: 12px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.catalog-toolbar { min-height: 58px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sort-form { display: flex; align-items: center; gap: 10px; }
.sort-form label { color: var(--muted); font-size: 12px; }
.sort-form select { min-height: 42px; padding: 0 36px 0 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.empty-state { grid-column: 1/-1; padding: 70px 20px; text-align: center; }
.empty-state h2 { margin-bottom: 12px; font-size: 44px; }
.empty-state p { color: var(--muted); }
.empty-state--standalone { max-width: 660px; margin: 0 auto; padding: 90px 20px; }
.empty-state__icon { width: 80px; height: 80px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: var(--accent); background: var(--soft); font-size: 44px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 13px; }
.pagination .is-current { color: #fff; border-color: var(--ink); background: var(--ink); }

.product-page { padding-top: 42px; }
.product-detail { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(420px,.8fr); gap: 72px; align-items: start; }
.product-gallery { min-width: 0; }
.product-gallery__main { position: relative; overflow: hidden; border-radius: 28px; background: var(--soft); }
.product-gallery__main > img { width: 100%; aspect-ratio: 1/1.02; object-fit: contain; background: #f6f0ec; }
.product-badges--detail { top: 20px; left: 20px; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.product-gallery__thumbs button { aspect-ratio: 1; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 12px; background: var(--soft); cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--accent); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: 24px; padding-top: 8px; }
.product-info__topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.stock-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--green); letter-spacing: 0; text-transform: none; }
.stock-dot:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-dot--off { color: var(--accent); }
.product-info h1 { margin-bottom: 18px; font-size: clamp(44px,4.6vw,72px); }
.product-lead { color: var(--muted); font-size: 16px; }
.product-price-row { margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price--large b { font-size: 32px; }
.price--large del { font-size: 16px; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 12px; }
.spec-list dd { margin: 0; font-size: 13px; font-weight: 700; text-align: right; }
.buy-box { display: grid; grid-template-columns: 132px 1fr; gap: 12px; margin-top: 28px; }
.quantity-control { height: 54px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity-control button { height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.quantity-control input { width: 100%; border: 0; outline: 0; text-align: center; -moz-appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button { display: none; }
.button--buy { min-height: 54px; }
.product-service-list { display: grid; gap: 12px; margin-top: 30px; padding: 20px; border-radius: 18px; background: var(--soft); }
.product-service-list > div { display: flex; gap: 12px; align-items: flex-start; }
.product-service-list > div > span { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--green); font-size: 12px; }
.product-service-list p, .product-service-list b, .product-service-list small { display: block; margin: 0; }
.product-service-list b { font-size: 13px; }
.product-service-list small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.product-description { max-width: 900px; margin-top: 90px; }
.content-prose { color: #4d4643; font-size: 17px; line-height: 1.75; }
.content-prose h2 { margin: 1.3em 0 .5em; color: var(--ink); font-size: clamp(34px,4vw,54px); }
.content-prose h3 { margin: 1.4em 0 .5em; color: var(--ink); font-family: var(--font-main); font-size: 28px; font-weight: 500; }
.content-prose ul, .content-prose ol { padding-left: 1.3em; }
.content-prose img { max-width: 100%; height: auto; margin: 28px 0; border-radius: 22px; }
.content-prose--page { max-width: 900px; }

.cart-section { padding-top: 38px; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 38px; align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 112px minmax(0,1fr) 130px 110px 34px; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item__image { width: 112px; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--soft); }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__content > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.cart-item__content h2 { margin: 5px 0 8px; font-size: 22px; }
.cart-item__price { color: var(--muted); font-size: 12px; }
.cart-item__quantity { display: flex; flex-direction: column; gap: 5px; }
.cart-item__quantity input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; }
.cart-item__quantity button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 10px; text-decoration: underline; }
.cart-item__total { font-size: 16px; text-align: right; }
.remove-button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--muted); background: var(--soft); cursor: pointer; font-size: 20px; }
.cart-summary, .checkout-summary { position: sticky; top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.cart-summary h2, .checkout-summary h2 { margin-bottom: 22px; font-size: 30px; }
.summary-row, .summary-total, .checkout-line { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary-row span:last-child { max-width: 180px; color: var(--muted); text-align: right; }
.summary-total { align-items: baseline; margin-bottom: 22px; padding: 20px 0; border-bottom: 0; font-size: 16px; }
.summary-total b { font-size: 24px; }
.checkout-section { padding-top: 38px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 38px; align-items: start; }
.checkout-form { display: grid; gap: 18px; }
.form-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.form-card h2 { margin-bottom: 24px; font-size: 32px; }
.form-step { position: absolute; top: 25px; right: 28px; color: rgba(36,32,31,.25); font-size: 11px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field { display: block; }
.field > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 750; }
.field textarea { min-height: 110px; }
.field:has(textarea), .field:nth-last-child(1) { grid-column: 1/-1; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--accent); }
.field small { display: block; margin-top: 5px; color: var(--accent-dark); }
.consent-row { margin-top: 10px; }
.button--checkout { min-height: 58px; font-size: 16px; }
.checkout-line span { max-width: 245px; }
.checkout-line small { color: var(--muted); }
.checkout-summary > p { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.success-page { min-height: 680px; display: grid; place-items: center; background: var(--soft); }
.success-card { max-width: 720px; margin: 0 auto; padding: 60px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.success-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: #fff; background: var(--green); font-size: 34px; }
.success-card h1 { margin-bottom: 20px; font-size: clamp(48px,6vw,76px); }
.success-card > p { max-width: 560px; margin: 0 auto 30px; color: var(--muted); }
.success-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; margin-bottom: 30px; border-radius: 16px; background: var(--line); }
.success-details > div { display: flex; flex-direction: column; padding: 18px; background: var(--soft); }
.success-details span { color: var(--muted); font-size: 10px; }
.success-details b { margin-top: 5px; font-size: 13px; }
.content-page-hero { padding: 85px 0; background: var(--soft); }
.content-page-hero--cover { position: relative; color: #fff; background-position: center; background-size: cover; }
.content-page-hero--cover:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,23,21,.72), rgba(30,23,21,.2)); }
.content-page-hero--cover .container { position: relative; z-index: 1; }
.content-page-hero h1 { margin-bottom: 18px; }
.content-page-hero p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.content-page-hero--cover p, .content-page-hero--cover .breadcrumbs { color: rgba(255,255,255,.75); }

.site-footer { padding: 68px 0 22px; color: rgba(255,255,255,.74); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 70px; }
.brand--footer { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.5); }
.footer-brand p { max-width: 430px; margin-top: 22px; color: rgba(255,255,255,.52); font-size: 13px; }
.footer-grid h3 { margin: 8px 0 18px; color: #fff; font-size: 13px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid span { font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 11px; }
.whatsapp-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #36a76b; box-shadow: 0 16px 40px rgba(29,109,68,.3); font-size: 12px; font-weight: 800; }

@media (max-width: 1220px) {
  .header-main { grid-template-columns: 210px minmax(280px,1fr) auto; gap: 20px; }
  .header-action { display: none; }
  .main-nav__inner { gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .category-grid { grid-template-columns: repeat(4,1fr); }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid--catalog { grid-template-columns: repeat(2,1fr); }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .hero__visual { min-height: 500px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 900px) {
  .desktop-only, .desktop-search { display: none !important; }
  .mobile-only, .mobile-search-wrap { display: block; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .announcement__secondary { display: none; }
  .announcement__inner { justify-content: center; }
  .site-header { position: sticky; top: 0; }
  .header-main { min-height: 70px; grid-template-columns: 46px 1fr auto; gap: 12px; }
  .header-main .brand { justify-self: center; }
  .header-main .brand__mark { width: 38px; height: 38px; font-size: 22px; }
  .header-main .brand__text b { font-size: 20px; }
  .header-main .brand__text small { display: none; }
  .header-main .brand img { width: 115px; max-height: 52px; }
  .header-actions { gap: 8px; }
  .mobile-search-wrap { padding-bottom: 12px; }
  .mobile-search { height: 44px; }
  .mobile-search input { font-size: 14px; }
  .section { padding: 68px 0; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; padding-top: 50px; }
  .hero__content { max-width: 760px; }
  .hero__visual { min-height: 500px; }
  .hero__facts { gap: 25px; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2,1fr); }
  .editorial__grid { grid-template-columns: 1fr; }
  .editorial__visual { min-height: 460px; }
  .sale-banner__inner { align-items: flex-start; flex-direction: column; padding: 45px; }
  .service-strip__grid { grid-template-columns: repeat(2,1fr); }
  .service-strip__grid > div:nth-child(2) { border-right: 0; }
  .service-strip__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; z-index: 120; width: min(92vw,420px); height: 100vh; overflow-y: auto; border-radius: 0; transform: translateX(105%); transition: transform .28s; box-shadow: var(--shadow); }
  .filters.is-open { transform: none; }
  .catalog-toolbar { justify-content: space-between; }
  .product-detail { grid-template-columns: 1fr; gap: 42px; }
  .product-info { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-item { grid-template-columns: 95px minmax(0,1fr) 80px 34px; }
  .cart-item__image { width: 95px; }
  .cart-item__quantity { grid-column: 2; flex-direction: row; align-items: center; }
  .cart-item__quantity input { width: 72px; }
  .cart-item__total { grid-column: 3; grid-row: 1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .announcement { font-size: 10px; }
  .announcement__inner { min-height: 32px; }
  .header-main { min-height: 62px; }
  .icon-button { width: 42px; height: 42px; }
  .header-main .brand__mark { width: 34px; height: 34px; }
  .header-main .brand__text b { font-size: 18px; }
  .section { padding: 54px 0; }
  h1 { font-size: clamp(43px,14vw,64px); }
  h2 { font-size: clamp(35px,11vw,50px); }
  .hero__grid { gap: 38px; padding-top: 42px; padding-bottom: 44px; }
  .hero__content > p { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .button { width: 100%; }
  .hero__facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 38px; }
  .hero__facts b { font-size: 18px; }
  .hero__facts small { font-size: 9px; }
  .hero__visual { min-height: 390px; border-radius: 28px 28px 70px 28px; }
  .yarn-ball--main { width: 230px; height: 230px; top: 70px; }
  .yarn-ball--small { width: 95px; height: 95px; right: 25px; bottom: 50px; }
  .yarn-orbit--one { width: 330px; height: 330px; }
  .hero-card { left: 18px; bottom: 18px; max-width: 215px; padding: 13px 15px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 28px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .category-card { min-height: 205px; padding: 14px; border-radius: 18px; }
  .category-card__art { width: 125px; height: 125px; top: 34px; }
  .category-card__name { font-size: 17px; }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-card__body { padding: 12px; }
  .product-card h3 { min-height: 48px; font-size: 15px; }
  .product-card__details { display: none; }
  .product-card__bottom { margin-top: 10px; padding-top: 10px; }
  .price { gap: 5px; }
  .price b { font-size: 15px; }
  .price del { font-size: 10px; }
  .add-cart { width: 36px; height: 36px; }
  .badge { padding: 5px 7px; font-size: 8px; }
  .editorial__visual { min-height: 350px; }
  .editorial__swatch { width: 220px; height: 220px; }
  .editorial__swatch--2 { width: 125px; height: 125px; }
  .editorial__swatch--3 { width: 100px; height: 100px; }
  .editorial__content { padding: 35px 24px; }
  .editorial__content h2 { font-size: 40px; }
  .sale-banner__inner { min-height: 330px; padding: 32px 24px; }
  .service-strip__grid { grid-template-columns: 1fr; }
  .service-strip__grid > div { padding: 24px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-strip__grid > div:last-child { border-bottom: 0; }
  .catalog-hero { padding: 42px 0 30px; }
  .catalog-hero__row { align-items: flex-start; flex-direction: column; gap: 20px; }
  .catalog-hero h1, .simple-hero h1 { font-size: 52px; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-toolbar .button { min-height: 44px; padding: 0 17px; }
  .sort-form { align-items: flex-start; flex-direction: column; gap: 3px; }
  .sort-form label { display: none; }
  .sort-form select { max-width: 180px; }
  .product-page { padding-top: 24px; }
  .product-gallery__main { border-radius: 18px; }
  .image-placeholder--large { min-height: 370px; }
  .product-gallery__thumbs { grid-template-columns: repeat(5,1fr); }
  .product-info h1 { font-size: 46px; }
  .buy-box { grid-template-columns: 110px 1fr; }
  .spec-list > div { grid-template-columns: 110px 1fr; }
  .product-description { margin-top: 60px; }
  .cart-item { position: relative; grid-template-columns: 82px minmax(0,1fr); gap: 13px; padding-right: 30px; }
  .cart-item__image { width: 82px; }
  .cart-item__content h2 { font-size: 18px; }
  .cart-item__quantity { grid-column: 2; }
  .cart-item__total { grid-column: 2; grid-row: auto; text-align: left; }
  .cart-item > form:last-child { position: absolute; top: 16px; right: 0; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .success-card { padding: 38px 20px; }
  .success-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-grid > div:last-child { grid-column: 1/-1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-fab { right: 15px; bottom: 15px; width: 50px; height: 50px; }
}

.category-pills { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.category-pills a { display:inline-flex; align-items:center; min-height:38px; padding:8px 14px; border:1px solid rgba(79,55,44,.14); border-radius:999px; background:rgba(255,255,255,.72); color:inherit; text-decoration:none; transition:.2s ease; }
.category-pills a:hover { transform:translateY(-1px); border-color:rgba(79,55,44,.35); background:#fff; }

.cart-item--unavailable { opacity: .68; }
.cart-warning, .form-error { display: block; margin-top: 7px; color: #a4473d; font-size: 12px; }
.quantity-control--small { width: 126px; }
.quantity-control--small input { width: 52px; }
.cart-list-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0 8px; }
.link-button { padding: 0; border: 0; color: var(--muted); background: transparent; text-decoration: underline; cursor: pointer; }
.cart-help-card { margin-top: 34px; display: grid; grid-template-columns: minmax(220px,.72fr) minmax(0,1.28fr); gap: 30px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--soft); }
.cart-help-card h2 { margin: 0 0 10px; font-size: clamp(28px,3vw,40px); }
.cart-help-card p { color: var(--muted); }
.cart-help-form { display: grid; gap: 16px; }
.cart-help-form .field:last-of-type { grid-column: 1 / -1; }
.summary-note { margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--soft); }
.summary-note p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.form-alert { padding: 15px 18px; border: 1px solid rgba(164,71,61,.28); border-radius: 14px; color: #893a33; background: #fff4f2; }
.form-alert p { margin: 0; }
.consent-row { align-items: flex-start; gap: 12px; line-height: 1.55; }
.consent-row input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--accent); }
.consent-row a { color: var(--accent-dark); text-decoration: underline; }
.delivery-hints { margin-top: 18px; padding: 18px; border-radius: 16px; background: var(--soft); }
.delivery-hints p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.field--optional > span:after { content: " · необязательно"; color: var(--muted); font-weight: 400; }
.order-success { max-width: 780px; text-align: center; }
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: #fff; background: var(--green); font-size: 36px; }
.success-details { margin: 28px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.success-details > div { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.success-details span, .success-details b { display: block; }
.success-details span { margin-bottom: 7px; color: var(--muted); font-size: 12px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; inset: auto 18px 18px; z-index: 500; }
.cookie-banner__content { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: #fff; background: rgba(36,32,31,.97); box-shadow: 0 20px 60px rgba(20,15,14,.28); }
.cookie-banner p { max-width: 720px; margin: 7px 0 5px; color: rgba(255,255,255,.75); font-size: 13px; line-height: 1.5; }
.cookie-banner a { color: #fff; font-size: 12px; text-decoration: underline; }
.cookie-banner__actions { flex: 0 0 auto; display: flex; gap: 10px; }
.cookie-banner .button { min-height: 44px; padding: 0 18px; }
.cookie-banner .button--secondary { border-color: rgba(255,255,255,.3); color: #fff; background: transparent; }
.content-prose .legal-note { padding: 18px; border-radius: 14px; background: var(--soft); }
.content-prose h2 { margin-top: 34px; }
.content-prose h3 { margin-top: 24px; }
.content-prose ul, .content-prose ol { padding-left: 22px; }
.content-prose li { margin: 7px 0; }

@media (max-width: 900px) {
  .cart-help-card { grid-template-columns: 1fr; }
  .cookie-banner__content { align-items: stretch; flex-direction: column; gap: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .button { flex: 1; }
}

@media (max-width: 560px) {
  .cart-list-actions { align-items: flex-start; flex-direction: column; }
  .cart-help-card { padding: 22px 16px; }
  .cookie-banner { inset: auto 8px 8px; }
  .cookie-banner__content { padding: 18px; border-radius: 16px; }
  .cookie-banner__actions { flex-direction: column-reverse; }
  .success-details { grid-template-columns: 1fr; }
}


body, h1, h2, h3, h4, h5, h6, .brand__text b, .product-card h3, .category-card__name, .filters__head { font-family: var(--font-main); }
h1, h2 { font-weight: 650; letter-spacing: -.045em; }
.product-card h3, .category-card__name { font-weight: 650; }
.main-nav__inner { overflow-x: auto; scrollbar-width: none; }
.main-nav__inner::-webkit-scrollbar { display: none; }
.drawer-label { padding: 8px 0; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.narrow-container { max-width: 900px; }
.editorial__visual--photo { background-position: center; background-size: cover; }
.editorial__visual--photo:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,32,31,.06), rgba(36,32,31,.32)); }
.contact-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.contact-cards > div { display: flex; min-height: 190px; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.contact-cards small { color: var(--muted); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.contact-cards a, .contact-cards b { font-size: 20px; }
.contact-cards p { margin: auto 0 0; color: var(--muted); }
.document-list { display: grid; gap: 14px; }
.document-list a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.document-list a:hover { transform: translateY(-2px); border-color: rgba(201,92,85,.35); box-shadow: var(--shadow-sm); }
.document-list b { font-size: 18px; }
.document-list span { color: var(--muted); }
.content-prose--page img { height: auto; margin: 26px auto; border-radius: 20px; box-shadow: var(--shadow-sm); }
.content-prose--page figure { margin: 28px 0; }
.footer-cookie-button { padding: 0; border: 0; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.catalog-category-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 13px;
  min-height: 84px;
  padding: 11px 13px;
  overflow: hidden;
  border: 1px solid rgba(79,55,44,.13);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(57,40,34,.04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.catalog-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(164,71,61,.35);
  box-shadow: 0 12px 28px rgba(57,40,34,.09);
}
.catalog-category-card__image {
  position: relative;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 14px;
  background: #eadfd8;
}
.catalog-category-card__image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-category-card__placeholder {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: repeating-linear-gradient(25deg, rgba(255,255,255,.5) 0 3px, rgba(93,63,54,.08) 4px 8px), #d7bbb0;
}
.catalog-category-card__content { min-width: 0; display: grid; gap: 5px; }
.catalog-category-card__content b {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: .015em;
}
.catalog-category-card__content small { color: var(--muted); font-size: 11px; }
.catalog-category-card__arrow { color: var(--accent-dark); font-size: 18px; }

.checkout-hero p { max-width: 760px; }
.form-card__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.form-card__heading h2 { margin-bottom: 0; }
.form-card__heading > span,
.form-card__heading > a { color: var(--muted); font-size: 12px; }
.form-card__heading > a { text-decoration: underline; text-underline-offset: 3px; }
.form-grid--customer .field--address { grid-column: 1 / -1; }
.field > span b { color: var(--accent-dark); }

.choice-list,
.payment-options { display: grid; gap: 12px; }
.choice-card,
.payment-option {
  position: relative;
  display: block;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice-card:has(input:checked),
.payment-option:has(input:checked),
.choice-card.is-selected,
.payment-option.is-selected {
  border-color: rgba(164,71,61,.48);
  background: #fff9f7;
  box-shadow: 0 0 0 3px rgba(164,71,61,.06);
}
.choice-card input,
.payment-option input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent-dark);
}
.choice-card { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 13px; }
.choice-card__body { display: grid; gap: 5px; }
.choice-card__body b,
.payment-option__head b { font-size: 15px; line-height: 1.25; }
.choice-card__body small { color: var(--muted); line-height: 1.5; }
.payment-option { padding: 0; overflow: hidden; }
.payment-option__head {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  align-items: start;
  gap: 13px;
  padding: 18px;
}
.payment-option__note {
  display: none;
  margin: 0 18px 18px 49px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #f1ecef;
  color: #574c50;
  font-size: 13px;
  line-height: 1.55;
}
.payment-option:has(input:checked) .payment-option__note,
.payment-option.is-selected .payment-option__note { display: block; }
.checkout-final-card .field--comment { margin-bottom: 20px; }
.checkout-consent-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.checkout-consent-row .consent-row { margin: 0; }
.checkout-consent-row .button { min-width: 220px; }

@media (max-width: 1180px) {
  .catalog-category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .catalog-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
  .catalog-category-card { grid-template-columns: 50px minmax(0,1fr); min-height: 72px; padding: 10px; }
  .catalog-category-card__image { width: 50px; height: 50px; border-radius: 12px; }
  .catalog-category-card__arrow { display: none; }
  .catalog-category-card__content b { font-size: 12px; }
  .checkout-consent-row { grid-template-columns: 1fr; }
  .checkout-consent-row .button { width: 100%; min-width: 0; }
  .form-card__heading { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (max-width: 430px) {
  .catalog-category-grid { grid-template-columns: 1fr; }
}
