/* =========================================================
   DOF redesign v4 — слой поверх шаблона NextType Alpha.
   Фирменный стиль ДОФ (брендбук 04.11.2026): тёмная олива на крафте,
   горный знак, гравюрные горы, линии рельефа.
   Подключать ПОСЛЕ стилей шаблона и после dof-recolor.css.
   Картинки (плитки, горы, рельеф) лежат в /upload/dof/.
   ========================================================= */

:root {
  --dof-ink: #172214;          /* тёмная олива — основной цвет бренда */
  --dof-ink-2: #22301d;
  --dof-olive: #2c3a26;
  --dof-kraft: #c69c61;        /* крафт коробки */
  --dof-kraft-light: #e8d7c0;  /* фон плиток */
  --dof-sand: #c69c61;
  --dof-sand-2: #9c7640;       /* крафт темнее — для подписей на светлом */
  --dof-paper: #f5f0e7;
  --dof-photo: #f4f4f3;        /* под фото товара: студийные фото на светло-сером, крафт вокруг них смотрится грязно */
  --dof-paper-2: #efe6d8;
  --dof-line: #e4dacb;
  --dof-text: #172214;
  --dof-muted: #6b6a5c;
  --dof-head: "Oswald", "Arial Narrow", sans-serif;
  --dof-body: "Inter", system-ui, sans-serif;
}

body { color: var(--dof-text); background: #fff; }

/* ================= Убираем лишнее ================= */
.compare-container, a.compare, .to-compare, .btn.to-compare,
.header .main-header .logo iframe, .header .main-header .slogan,
.footer.row .ya-share2, .footer.row .bottom > div:has(.ya-share2),
.rating-brand-container,
.item-detail .in-store-link,
.sort-filter .buttons,
.catalog-recommend-bigdata,
.item-detail .text-block .text-sidebar,
.main-page > .wrapper-section:has(.hero),
.main-page .dof-hidden,
.product-card .label.dof-hidden,
.contacts-page .yandex-view-map, .page-container .yandex-view-map { display: none !important; }

/* ================= Типографика ================= */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, #pagetitle,
.section-name .title, .text-block .content h2 {
  font-family: var(--dof-head) !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  letter-spacing: .01em;
  color: inherit;
  text-wrap: balance;
}
#pagetitle { font-size: 52px !important; line-height: 1 !important; }
.breadcrumbs, .breadcrumbs a, .breadcrumbs .item {
  font-size: 11px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--dof-muted) !important;
}

/* ================= Кнопки ================= */
.btn { border-radius: 0 !important; }
.btn.btn-primary, .btn.btn-large, .btn-to-cart, .btn-show-more, .btn.btn-secondary {
  font-family: var(--dof-body); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600 !important; font-size: 13px !important;
}
.btn.btn-show-more { background: #fff; border: 1px solid var(--dof-ink) !important; color: var(--dof-ink) !important; }
.btn.btn-show-more:hover { background: var(--dof-ink) !important; color: #fff !important; }
.dof-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 13px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .12em;
  padding: 20px 32px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.dof-btn-sand { background: var(--dof-kraft); color: var(--dof-ink) !important; }
.dof-btn-sand:hover { background: var(--dof-kraft-light); }
.dof-btn-line { border-color: rgba(255,255,255,.45); color: #fff !important; }
.dof-btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.dof-btn-ink { background: var(--dof-ink); color: #fff !important; }
.dof-btn-ink:hover { background: var(--dof-olive); }
.dof-btn-ghost-ink { border-color: var(--dof-ink); color: var(--dof-ink) !important; }
.dof-btn-ghost-ink:hover { background: var(--dof-ink); color: var(--dof-kraft) !important; }
.dof-btn-ghost { border-color: var(--dof-ink); color: var(--dof-ink) !important; }
.dof-btn-ghost:hover { background: var(--dof-ink); color: #fff !important; }

/* ================= Шапка ================= */
.header.type1 .top-header-wrapper { border-bottom: 1px solid var(--dof-line); }
.header.type1 .top-header .font-body-small, .header.type1 .top-header .menu a { font-size: 12px !important; color: var(--dof-muted); }
.header.type1 .top-header .phone .font-body-small { color: var(--dof-ink) !important; font-weight: 600; font-size: 13px !important; }
.header .main-header-wrapper { border-bottom: 0; }
.header .logo { display: flex; align-items: center; gap: 12px; }
.header .icons a span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.header.type1 .bottom-header-wrapper { border-top: 1px solid var(--dof-line); border-bottom: 2px solid var(--dof-ink); }
.header.type1 .bottom-header .menu a, .header .small-menu.menu a span {
  font-family: var(--dof-head); text-transform: uppercase; font-size: 16px !important; letter-spacing: .07em; font-weight: 500; color: var(--dof-ink);
}
.header.type1 .bottom-header .menu li > a { padding-left: 24px !important; padding-right: 24px !important; }
.header.type1 .bottom-header .menu li > a:hover { color: var(--dof-sand-2) !important; }
.header-fixed .main-header-wrapper { background: #fff; border-bottom: 2px solid var(--dof-ink); }
.header-fixed .menu-button .btn { background: var(--dof-ink) !important; }

/* ================= Графика брендбука: горы и рельеф (одноцветные маски) ================= */
.dof-mountains, .dof-topo { position: absolute; pointer-events: none; background: currentColor; }
.dof-mountains {
  -webkit-mask: url(/upload/dof/brand-mountain.png) center bottom / contain no-repeat;
          mask: url(/upload/dof/brand-mountain.png) center bottom / contain no-repeat;
}
.dof-topo {
  -webkit-mask: url(/upload/dof/brand-topographic_corner.png) right top / contain no-repeat;
          mask: url(/upload/dof/brand-topographic_corner.png) right top / contain no-repeat;
}
.dof-logo { display: inline-flex; color: var(--dof-ink) !important; line-height: 0; }
.dof-logo svg { height: 100%; width: auto; display: block; }

/* ================= Главная: первый экран на крафте ================= */
.dof-hero { position: relative; overflow: hidden; background: var(--dof-kraft); color: var(--dof-ink); }
.dof-hero .dof-topo { top: 0; right: 0; width: 46%; aspect-ratio: 2048 / 1158; color: var(--dof-ink); opacity: .1; }
/* горы — дальний бледный фон за парой; пара стоит на ровном крафте, внизу лёгкая «земля» */
.dof-hero .dof-mountains { right: 0; bottom: 90px; width: 56%; aspect-ratio: 1610 / 669; color: var(--dof-ink); opacity: .34;
  -webkit-mask-image: url(/upload/dof/brand-mountain-far.png); mask-image: url(/upload/dof/brand-mountain-far.png); }
.dof-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(23,34,20,0), rgba(23,34,20,.06) 45%, rgba(23,34,20,.13)); }
.dof-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 640px; max-width: 1320px; margin: 0 auto; }
.dof-hero-txt { padding: 72px 40px 72px 24px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.dof-hero h1 { font: 600 clamp(48px, 5.2vw, 80px)/.95 var(--dof-head) !important; margin: 18px 0 22px; color: var(--dof-ink); }
.dof-hero p { color: #3b3a2c; font-size: 17px; line-height: 1.6; max-width: 500px; margin: 0 0 32px; }
.dof-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dof-hero-facts { display: flex; gap: 36px; margin-top: 40px; }
.dof-hero-facts b { display: block; font: 600 30px/1 var(--dof-head); color: var(--dof-ink); }
.dof-hero-facts span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #5a4a2c; }
.dof-hero-img { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; padding: 48px 24px 64px; }
.dof-hero-img img { width: min(100%, 560px); height: auto; }
.dof-kicker { font: 600 11px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .18em; color: var(--dof-sand-2); }
.dof-hero .dof-kicker { color: var(--dof-ink); opacity: .75; }

/* ===== Видео: первый экран и полоса «В деле» ===== */
.dof-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dof-hero-video .dof-hero-in { z-index: 2; }
.dof-hero-video { background: var(--dof-ink); color: #fff; }
.dof-hero-video::after { display: none; }
.dof-hero-video::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,20,12,.82) 0%, rgba(14,20,12,.55) 40%, rgba(14,20,12,0) 72%); }
.dof-hero-video .dof-hero-in { grid-template-columns: minmax(0, 620px) 1fr; min-height: min(720px, calc(100vh - 70px)); }
.dof-hero-video h1 { color: #fff !important; }
.dof-hero-video p { color: rgba(255,255,255,.82); }
.dof-hero-video .dof-kicker { color: var(--dof-kraft); opacity: 1; }
.dof-hero-video .dof-hero-facts b { color: #fff; }
.dof-hero-video .dof-hero-facts span { color: rgba(255,255,255,.65); }

.dof-film { position: relative; overflow: hidden; background: var(--dof-ink); color: #fff; margin-top: 96px; min-height: 560px; display: flex; align-items: flex-end; }
.dof-film::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(14,20,12,.85) 0%, rgba(14,20,12,.35) 45%, rgba(14,20,12,0) 75%); }
.dof-film > .container { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.dof-film-txt { max-width: 520px; }
.dof-film .dof-kicker { color: var(--dof-kraft); }
.dof-film .dof-h2 { color: #fff !important; margin: 10px 0 14px; }
.dof-film p { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.dof-factory .dof-kicker, .dof-dark .dof-kicker { color: var(--dof-kraft); }

/* ================= Заголовок секции ================= */
.dof-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.dof-h2 { font: 600 44px/1 var(--dof-head) !important; text-transform: uppercase; margin: 10px 0 0; color: inherit; }
.dof-link { font: 600 12px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .12em; color: var(--dof-ink) !important; border-bottom: 2px solid var(--dof-sand); padding-bottom: 7px; white-space: nowrap; }

/* ================= Плитки разделов ================= */
.dof-cats { padding: 88px 0 16px; }
.dof-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dof-cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--dof-kraft-light); }
.dof-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.dof-cat:hover img { transform: scale(1.04); }
.dof-cat-label { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: var(--dof-ink); display: flex; flex-direction: column-reverse; gap: 8px; }
.dof-cat-label b { font: 600 34px/1 var(--dof-head); text-transform: uppercase; letter-spacing: .02em; }
.dof-cat-label i { font: normal 600 11px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .14em; color: var(--dof-sand-2); }
.dof-cat-arrow { position: absolute; top: 18px; right: 18px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; background: var(--dof-ink); color: #fff; font: 600 18px/1 var(--dof-body); opacity: 0; transform: translateY(-6px); transition: .25s; }
.dof-cat:hover .dof-cat-arrow { opacity: 1; transform: none; }
/* Плитки разделов без фото — текстом, в стиле блока «Материалы» */
.dof-cats-grid:has(.dof-cat-text) { gap: 1px; background: var(--dof-line); border: 1px solid var(--dof-line); }
.dof-cat-text { aspect-ratio: auto; display: flex; flex-direction: column; padding: 28px 24px 26px; background: var(--dof-paper); color: var(--dof-ink); text-decoration: none; transition: background .25s, color .25s; }
.dof-cat-text .dof-num { font: 600 13px/1 var(--dof-body); color: var(--dof-sand-2); letter-spacing: .1em; }
.dof-cat-text i { margin-top: 40px; font: normal 600 11px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .14em; color: var(--dof-sand-2); }
.dof-cat-text b { margin-top: 10px; font: 600 34px/1 var(--dof-head); text-transform: uppercase; letter-spacing: .02em; }
.dof-cat-text p { margin: 14px 0 22px; color: var(--dof-muted); font-size: 14px; line-height: 1.55; }
.dof-cat-more { margin-top: auto; font: 600 12px/1 var(--dof-body); text-transform: uppercase; letter-spacing: .12em; }
.dof-cat-text:hover { background: var(--dof-ink); color: var(--dof-paper); }
.dof-cat-text:hover p { color: #c9c3b4; }
.dof-cat-text:hover i, .dof-cat-text:hover .dof-num { color: var(--dof-kraft); }

/* ================= Хиты: ровная сетка вместо «одна большая + мелкие» ================= */
.tabs-with-goods { padding-top: 80px; }
.tabs-with-goods .section-name .container { display: flex; align-items: flex-end; justify-content: space-between; }
.tabs-with-goods .section-name .title { font-size: 44px !important; text-align: left !important; margin: 0 !important; flex: 1; width: auto !important; }
.tabs-with-goods .section-name .subtitle { font-size: 12px !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; border-bottom: 2px solid var(--dof-sand); padding-bottom: 7px; }
.tabs-with-goods .section-name .subtitle i { display: none; }
.tabs-with-goods .nav-scroll { margin: 14px 0 32px !important; }
.tabs-with-goods .nav-scroll .nav { justify-content: flex-start !important; max-width: 1272px; margin: 0 auto; padding: 0 24px; border-bottom: 1px solid var(--dof-line); }
.nav .nav-item .nav-link {
  border: 0 !important; box-shadow: none !important; border-radius: 0 !important; background: none !important;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px !important; font-weight: 600; color: var(--dof-muted) !important;
  padding: 14px 0 !important; margin-right: 32px; border-bottom: 2px solid transparent !important;
}
.nav .nav-item .nav-link.active { color: var(--dof-ink) !important; border-bottom-color: var(--dof-ink) !important; }
.tabs-with-goods .tab-pane.active { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.tabs-with-goods .tab-pane .row, .tabs-with-goods .tab-pane .items-list, .tabs-with-goods .tab-pane .more-items,
.tabs-with-goods .tab-pane [class*="col-"]:has(> .row) { display: contents !important; }
.tabs-with-goods .tab-pane [class*="col-"] { width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important; margin: 0 !important; }
.tabs-with-goods .product-card, .tabs-with-goods .product-card.big { width: 100% !important; margin: 0 !important; }
.tabs-with-goods .product-card .product-image-block { height: auto !important; aspect-ratio: 1 / 1; }
.tabs-with-goods .product-card .image-slider, .tabs-with-goods .product-card .product-card-link,
.tabs-with-goods .product-card .product-image { height: 100% !important; width: 100% !important; }
.tabs-with-goods .product-card .product-image img { width: 100% !important; height: 100% !important; object-fit: contain; }

/* ================= Карточка товара в списках ================= */
.product-card .product-image-block { background: var(--dof-photo) !important; border-radius: 0 !important; overflow: hidden; }
.product-card .product-image-block img, .product-card .product-image { border-radius: 0 !important; }
.product-card .product-image img { transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-card .label, .product-card .label .in-stock { background: none !important; }
.product-card .label span, .product-card .label div {
  background: var(--dof-ink) !important; color: #fff !important; border-radius: 0 !important;
  font-size: 10px !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
}
.product-card .label { left: 12px !important; right: auto !important; top: 12px !important; }
.product-card .button-block .btn { background: var(--dof-ink) !important; }
.product-card .product-info { display: flex; flex-direction: column; padding-top: 16px !important; }
.product-card .product-info .top-row { order: 2; }
.product-card .product-info > a.name.font-title:first-of-type {
  order: 1; font-family: var(--dof-head) !important; text-transform: uppercase; font-size: 18px !important;
  line-height: 1.2 !important; font-weight: 500 !important; letter-spacing: .02em; color: var(--dof-ink) !important; margin-bottom: 8px;
}
.product-card .price-block .price { font-size: 16px !important; font-weight: 600 !important; color: var(--dof-ink); }
.product-card .old-price { color: var(--dof-muted) !important; }
.product-card p.color_label, .product-card .dof-hide { display: none !important; }
.dof-swatches { order: 3; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.dof-swatches a { display: block; width: 34px; height: 34px; background: var(--dof-photo); border: 1px solid var(--dof-line); }
.dof-swatches a:hover { border-color: var(--dof-ink); }
.dof-swatches img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.dof-swatches em { font-style: normal; font-size: 11px; color: var(--dof-muted); text-transform: uppercase; letter-spacing: .08em; margin-left: 4px; }

/* ================= Технологии ================= */
.dof-tech { background: var(--dof-paper); padding: 88px 0; margin-top: 96px; }
.dof-tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dof-line); border: 1px solid var(--dof-line); }
.dof-tech-item { background: var(--dof-paper); padding: 28px 24px 30px; min-width: 0; }
.dof-tech-item .dof-num { font: 600 13px/1 var(--dof-body); color: var(--dof-sand-2); letter-spacing: .1em; }
.dof-tech-item h3 { font: 600 26px/1.05 var(--dof-head) !important; margin: 40px 0 12px; }
.dof-tech-item p { margin: 0; color: var(--dof-muted); font-size: 14px; line-height: 1.55; }

/* ================= Фабрика ================= */
.dof-factory { position: relative; overflow: hidden; background: var(--dof-ink); color: #e9e0cf; }
.dof-factory-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 620px; max-width: 1320px; margin: 0 auto; }
.dof-factory-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; padding: 64px 24px 0; color: var(--dof-kraft); }
.dof-factory-art .dof-logo { height: 150px; color: var(--dof-kraft) !important; }
.dof-factory-art small { font: 600 12px/1.4 var(--dof-body); letter-spacing: .22em; text-transform: uppercase; text-align: center; }
/* горы — только в левой половине под знаком */
.dof-factory .dof-mountains { left: 0; bottom: -2px; width: 52%; aspect-ratio: 1610 / 669; color: var(--dof-kraft); opacity: .45; }
.dof-factory-txt { position: relative; z-index: 1; padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.dof-factory .dof-h2 { color: #fff; }
.dof-factory p { color: #c9bfab; font-size: 16px; line-height: 1.65; max-width: 520px; margin: 20px 0 32px; }
.dof-facts { display: flex; gap: 40px; margin-bottom: 36px; }
.dof-facts b { display: block; font: 600 40px/1 var(--dof-head); color: var(--dof-kraft); }
.dof-facts span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #a39a86; }

/* ================= Помощь с размером ================= */
.dof-help { padding: 72px 0; border-bottom: 1px solid var(--dof-line); }
.dof-help-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.dof-help .dof-h2 { font-size: 36px !important; margin: 10px 0 8px; }
.dof-help p { margin: 0; color: var(--dof-muted); max-width: 560px; }
.dof-help-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.dof-help { background: var(--dof-paper); border-bottom: 0; }

/* ================= Раздел каталога: светлая крафтовая шапка с парой раздела ================= */
.header-title.dof-band {
  position: relative; overflow: hidden; color: var(--dof-ink); padding: 0 !important; margin-bottom: 40px;
  background: var(--dof-kraft-light) right max(0px, calc((100vw - 1320px) / 2)) center / auto 118% no-repeat;
}
.header-title.dof-band > .container { position: relative; padding-top: 64px !important; padding-bottom: 60px !important; }
.header-title.dof-band #pagetitle { color: var(--dof-ink); font-size: 88px !important; }
.header-title.dof-band .breadcrumbs, .header-title.dof-band .breadcrumbs a, .header-title.dof-band .breadcrumbs .item { color: #6b5a3a !important; }
.dof-band-sub { color: #4a4836; font-size: 16px; max-width: 480px; margin-top: 14px; }
/* шапка раздела с роликом (Демисезон) */
.header-title.dof-band-video { position: relative; overflow: hidden; background: var(--dof-ink) !important; }
.header-title.dof-band-video::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,20,12,.85) 0%, rgba(14,20,12,.5) 45%, rgba(14,20,12,.1) 80%); }
.header-title.dof-band-video > .container { z-index: 2; padding-top: 96px !important; padding-bottom: 88px !important; }
.header-title.dof-band-video #pagetitle { color: #fff !important; }
.header-title.dof-band-video .dof-band-sub { color: rgba(255,255,255,.85); }
.header-title.dof-band-video .breadcrumbs, .header-title.dof-band-video .breadcrumbs a, .header-title.dof-band-video .breadcrumbs .item { color: rgba(255,255,255,.7) !important; }

/* ================= «О компании»: фирменная шапка вместо старой картинки ================= */
.dof-about-banner { position: relative; overflow: hidden; background: var(--dof-kraft); color: var(--dof-ink); padding: 40px 32px 46%; margin-bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dof-about-banner .dof-logo { height: 132px; position: relative; z-index: 1; }
.dof-about-banner small { position: relative; z-index: 1; font: 600 13px/1.4 var(--dof-body); letter-spacing: .24em; text-transform: uppercase; text-align: center; }
.dof-about-banner .dof-mountains { left: 0; bottom: -2px; width: 100%; aspect-ratio: 1610 / 669; color: var(--dof-ink); }
.dof-about-banner .dof-topo { top: 0; right: 0; width: 44%; aspect-ratio: 2048 / 1158; color: var(--dof-ink); opacity: .1; }
.content-page .dof-lead { font-size: 20px !important; line-height: 1.55; color: var(--dof-ink); font-weight: 500; }
.content-page.dof-about > .image, .content-page.dof-about > img, .content-page.dof-about > br { display: none !important; }
.sidebar-menu li a { text-transform: uppercase; letter-spacing: .08em; font-size: 13px !important; font-weight: 600; }
.sidebar-menu li.active > span, .sidebar-menu li.active a { background: var(--dof-ink) !important; color: #fff !important; border-radius: 0 !important; }
.sidebar-menu li > span { border-radius: 0 !important; }
.sidebar-filter .filter-block .text { text-transform: uppercase; letter-spacing: .1em; font-size: 12px !important; }
.sort-filter { border-bottom: 1px solid var(--dof-line); padding-bottom: 16px; margin-bottom: 28px !important; }
.sort-filter .font-body-2 { font-size: 12px !important; text-transform: uppercase; letter-spacing: .1em; }
.pagination a, .pagination span { border-radius: 0 !important; }

/* ================= Страница «Каталог»: плитки ================= */
/* все разделы — одинаковые плитки (пара на светлом крафте), вместо фото со снегом/лесом/полками */
.categories-with-photo .category, .categories-with-photo .image-wrap, .categories-with-photo .bg-img { border-radius: 0 !important; }
.categories-with-photo .image-wrap { background: var(--dof-kraft-light) !important; }
.categories-with-photo .bg-img { background-size: cover !important; background-position: center !important; background-color: var(--dof-kraft-light) !important; }
.categories-with-photo a[href="/catalog/zima/"] .bg-img { background-image: url(/upload/dof/cat-zima-sq.webp) !important; }
.categories-with-photo a[href="/catalog/demisezon/"] .bg-img { background-image: url(/upload/dof/cat-demisezon-sq.webp) !important; }
.categories-with-photo a[href="/catalog/leto/"] .bg-img { background-image: url(/upload/dof/cat-leto-sq.webp) !important; }
.categories-with-photo a[href="/catalog/klassika/"] .bg-img { background-image: url(/upload/dof/cat-klassika-sq.webp) !important; }
.categories-with-photo a[href="/catalog/arkhiv/"] .bg-img { background-image: url(/upload/dof/cat-arkhiv-sq.webp) !important; }
.categories-with-photo .overlay {
  background: none !important; backdrop-filter: none !important;
  border-radius: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: auto !important; padding: 60px 24px 22px !important;
}
.categories-with-photo .overlay .title { font: 600 34px/1 var(--dof-head) !important; text-transform: uppercase; color: var(--dof-ink) !important; }
.categories-with-photo .overlay .count { text-transform: uppercase; letter-spacing: .12em; font-size: 11px !important; color: var(--dof-sand-2) !important; }

/* ================= Страница товара ================= */
.item-detail .img-block .image, .item-detail .img-block .image-wrap, .item-detail .img-block .item, .item-detail .thumbs .img-wrapper {
  background: var(--dof-photo) !important; border-radius: 0 !important;
}
.item-detail .img-block img { border-radius: 0 !important; }
.item-detail .thumbs .swiper-slide-thumb-active .img-wrapper { box-shadow: inset 0 0 0 2px var(--dof-ink) !important; border: 0 !important; }
.item-detail .in-store { color: var(--dof-ink) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.item-detail .in-store::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5f8a3a; }
.item-detail .price.font-price-large { font-family: var(--dof-head); font-size: 44px !important; font-weight: 600 !important; }
.item-detail .one-click-buy { color: var(--dof-ink) !important; text-transform: uppercase; letter-spacing: .1em; font-size: 12px !important; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.item-detail .sku-list .title { font-size: 11px !important; text-transform: uppercase; letter-spacing: .16em; color: var(--dof-muted); font-weight: 600 !important; margin-bottom: 10px; }
.item-detail .sku-element { border-radius: 0 !important; }
.item-detail .sku-list .list a.item:not(:has(img)) { min-width: 54px; justify-content: center; font-weight: 600; border: 1px solid var(--dof-line) !important; box-shadow: none !important; }
.item-detail .sku-list .list a.item:not(:has(img)):hover { border-color: var(--dof-ink) !important; }
.item-detail .sku-list .list a.item.selected:not(:has(img)) { background: var(--dof-ink) !important; color: #fff !important; border-color: var(--dof-ink) !important; }
.item-detail .sku-list .list a.item.unavailable { text-decoration: line-through; opacity: .45; }
.item-detail .sku-list .list { flex-wrap: wrap !important; }
.item-detail .dof-color-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.item-detail .dof-color-grid a.item {
  width: 76px !important; height: 76px; padding: 0 !important; display: block !important; overflow: hidden;
  background: var(--dof-photo) !important; border: 1px solid var(--dof-line) !important; box-shadow: none !important; border-radius: 0 !important;
}
.item-detail .dof-color-grid a.item.selected { border: 2px solid var(--dof-ink) !important; }
.item-detail .dof-color-grid a.item img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; }
.item-detail .dof-color-grid a.item .dof-cname { display: none; }
.dof-color-current { font-size: 13px; margin: -2px 0 12px; }
.dof-color-current b { text-transform: uppercase; letter-spacing: .08em; }
.dof-size-help { font-size: 13px; color: var(--dof-muted); margin-top: 10px; }
.dof-size-help a { color: var(--dof-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.item-detail .btn-to-cart { min-width: 240px; height: 60px; }
.item-detail .btn-to-favorites, .item-detail .counter { border-radius: 0 !important; }
.dof-perks { border-top: 1px solid var(--dof-line); margin-top: 24px; padding-top: 20px; display: grid; gap: 14px; }
.dof-perks div { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.dof-perks div::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 5px; background: var(--dof-sand); }
.dof-perks b { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.dof-perks span { color: var(--dof-muted); }
.item-detail .similar-items > .title { font-family: var(--dof-head) !important; text-transform: uppercase; font-size: 22px !important; }
.item-detail .text-block .content { width: 100% !important; max-width: none !important; flex: 1 !important; }
.item-detail .text-block .content h2 { font-size: 34px !important; }
.item-detail .text-block .content h5 { font-size: 11px !important; text-transform: uppercase; letter-spacing: .16em; color: var(--dof-muted); }
.item-detail .text-block, .item-detail .text-block .wrapper { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: none !important; }
.item-detail .text-block .wrapper { padding-left: 0 !important; margin-left: 0 !important; border-top: 2px solid var(--dof-ink) !important; padding-top: 28px !important; }
.item-detail .chars { max-width: 640px; }
.header-product { border-bottom: 2px solid var(--dof-ink); }

/* ================= Текстовые страницы ================= */
.content-page { max-width: 780px; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
.content-page p, .content-page li { font-size: 16px; line-height: 1.7; }
.content-page h2 { font-size: 32px !important; margin-top: 1.4em; padding-top: 18px; border-top: 2px solid var(--dof-ink); }
.content-page h2:first-child { margin-top: 0; }
.content-page h3 { font-size: 20px !important; margin-top: 1.4em; }
.page-right-menu .right-menu a.item { text-transform: uppercase; letter-spacing: .08em; font-size: 12px !important; font-weight: 600; border-radius: 0 !important; }
.page-right-menu .right-menu li.active a.item { background: var(--dof-ink) !important; color: #fff !important; }
.dof-contact-card { background: var(--dof-kraft); color: var(--dof-ink); padding: 32px; margin: 8px 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dof-contact-card div span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #5a4a2c; margin-bottom: 8px; }
.dof-contact-card div b { font: 600 22px/1.15 var(--dof-head); color: var(--dof-ink); letter-spacing: .02em; }
.dof-contact-card .dof-btn { grid-column: 1 / -1; justify-self: start; }

/* ================= Пустая корзина ================= */
.bx-sbb-empty-cart-container { padding: 64px 0 88px !important; }
.bx-sbb-empty-cart-image { display: none !important; }
.bx-sbb-empty-cart-text { font: 600 40px/1 var(--dof-head) !important; text-transform: uppercase; color: var(--dof-ink) !important; }
.bx-sbb-empty-cart-desc { display: none !important; }
.dof-empty-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ================= Подвал ================= */
div:has(> .container > .footer.row) { background: var(--dof-ink) !important; }
.footer.row .catalog-list a.item { font-family: var(--dof-head); text-transform: uppercase; font-size: 20px !important; letter-spacing: .05em; color: #fff !important; }
.footer.row .menu-list a, .footer.row .items a { color: #b9b4a8 !important; text-transform: uppercase; font-size: 12px !important; letter-spacing: .1em; }
.footer.row .subscribe-block .btn { background: var(--dof-sand) !important; color: var(--dof-ink) !important; border-color: var(--dof-sand) !important; }
.footer.row .contacts, .footer.row .contacts a, .footer.row .subtitle { color: #b9b4a8 !important; }
.footer.row .contacts .phone a { color: #fff !important; font-weight: 600; }
.footer.row .subtitle img { max-width: 84px; height: auto; opacity: .85; }
.footer.row hr { border-color: #2c3028 !important; }

/* ================= Телефон и планшет ================= */
@media (max-width: 991px) {
  #pagetitle { font-size: 34px !important; }
  .dof-hero-in { grid-template-columns: 1fr; min-height: 0; }
  .dof-hero-img { order: -1; padding: 28px 40px 0; }
  .dof-hero-img img { width: min(78%, 340px); }
  .dof-hero-txt { padding: 12px 16px 120px; }
  .dof-hero .dof-mountains { right: 0; bottom: 0; width: 100%; opacity: .28; }
  .dof-hero::after { display: none; }
  .dof-hero .dof-topo { width: 90%; }
  .dof-hero h1 { font-size: 44px !important; }
  .dof-hero p { font-size: 15px; }
  .dof-hero-facts { gap: 24px; margin-top: 32px; }
  .dof-hero-facts b { font-size: 24px; }
  .dof-hero-cta .dof-btn { flex: 1 1 100%; }
  /* телефон: ролик сверху виден целиком, текст ниже на тёмном */
  .dof-hero-video .dof-hero-in { min-height: 0; }
  .dof-hero-video .dof-video { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .dof-hero-video::before { display: none; }
  .dof-hero-video .dof-hero-txt { padding: 28px 16px 40px; }
  .dof-film { margin-top: 64px; min-height: 0; display: block; }
  .dof-film .dof-video { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 9; }
  .dof-film::before { display: none; }
  .dof-film > .container { padding: 24px 16px 40px; }
  .dof-film .dof-btn { width: 100%; }
  .dof-factory-art { padding: 40px 16px 150px; }
  .dof-factory .dof-mountains { width: 100%; bottom: auto; top: 0; transform: translateY(calc(-100% + 300px)); }
  .dof-factory-art .dof-logo { height: 104px; }
  .header-title.dof-band { background-size: auto 100%; background-position: right -40px center; }
  .header-title.dof-band .dof-band-sub { max-width: 58%; }
  .dof-about-banner { padding: 32px 16px 40%; }
  .dof-about-banner .dof-logo { height: 92px; }
  .dof-cats { padding: 56px 0 8px; }
  .dof-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dof-h2 { font-size: 32px !important; }
  .dof-head-row { margin-bottom: 22px; }
  .dof-cat-label { left: 14px; right: 14px; bottom: 14px; }
  .dof-cat-label b { font-size: 24px; }
  .dof-cats-grid:has(.dof-cat-text) { gap: 1px; }
  .dof-cat-text { padding: 20px 16px 18px; }
  .dof-cat-text i { margin-top: 24px; font-size: 10px; }
  .dof-cat-text b { font-size: 24px; }
  .dof-cat-text p { font-size: 13px; margin: 10px 0 16px; }
  .tabs-with-goods { padding-top: 56px; }
  .tabs-with-goods .section-name .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tabs-with-goods .section-name .title { font-size: 32px !important; }
  .tabs-with-goods .nav-scroll .nav { padding: 0 16px; }
  .tabs-with-goods .tab-pane.active { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
  .product-card .product-info > a.name.font-title:first-of-type { font-size: 15px !important; }
  .dof-tech { padding: 56px 0; margin-top: 64px; }
  .dof-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dof-tech-item { padding: 20px 16px 22px; }
  .dof-tech-item h3 { font-size: 21px !important; margin-top: 24px; }
  .dof-factory-in { grid-template-columns: 1fr; }
  .dof-factory-txt { padding: 40px 16px 52px; }
  .dof-facts { gap: 24px; }
  .dof-facts b { font-size: 30px; }
  .dof-help { padding: 48px 0; }
  .dof-help-in { flex-direction: column; align-items: flex-start; }
  .dof-help-cta .dof-btn { flex: 1 1 100%; }
  .header-title.dof-band > .container { padding-top: 36px !important; padding-bottom: 32px !important; }
  .header-title.dof-band #pagetitle { font-size: 48px !important; }
  .header-title.dof-band-video > .container { padding-top: 72px !important; padding-bottom: 40px !important; }
  .header-title.dof-band-video::before { background: linear-gradient(0deg, rgba(14,20,12,.88) 0%, rgba(14,20,12,.45) 60%, rgba(14,20,12,.2) 100%); }
  .header-title.dof-band-video .dof-band-sub { max-width: none; }
  .dof-contact-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .header-fixed .main-header-wrapper { border-bottom: 1px solid var(--dof-line); }
}
@media (prefers-reduced-motion: reduce) {
  .dof-cat img, .product-card .product-image img, .dof-cat-arrow { transition: none !important; }
}

/* ================= Подвал v2: компактный, 4 колонки ================= */
.dof-hidden { display: none !important; }
:has(> .container > .dof-footer) { padding: 0 !important; background: var(--dof-ink) !important; }
.dof-footer { color: #b3aa96; font: 14px/1.6 var(--dof-body); padding-top: 56px; }
.dof-footer a { color: #d8d3c6 !important; }
.dof-footer a:hover { color: var(--dof-kraft) !important; }
.dof-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.dof-footer h4 { font: 600 11px/1 var(--dof-body) !important; letter-spacing: .18em !important; text-transform: uppercase; color: var(--dof-kraft) !important; margin: 0 0 18px; }
.dof-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dof-footer { position: relative; }
.dof-footer-brand .dof-logo { height: 72px; color: var(--dof-kraft) !important; }
.dof-footer-brand small { display: block; margin-top: 12px; font: 600 10px/1.4 var(--dof-body); letter-spacing: .2em; text-transform: uppercase; color: #a39a86; }
.dof-footer-brand p { margin: 16px 0 20px; max-width: 280px; }
.dof-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.dof-pay span { border: 1px solid #34422e; color: #d8d3c6; font: 600 10px/1 var(--dof-body); letter-spacing: .08em; padding: 7px 9px; text-transform: uppercase; }
.dof-footer-phone { display: block; font: 600 26px/1.1 var(--dof-head); color: #fff !important; letter-spacing: .03em; }
.dof-footer-note { font-size: 12px; color: #8f8b80; margin-bottom: 14px; }
.dof-footer-contacts li { display: flex; gap: 10px; }
.dof-footer-contacts li span { color: #6f6c62; min-width: 74px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.dof-footer-bottom { border-top: 1px solid #2f3d29; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 24px; font-size: 12px; color: #6f6c62; }
.dof-footer-bottom a { color: #8f8b80 !important; }
@media (max-width: 991px) {
  .dof-footer { padding-top: 40px; }
  .dof-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .dof-footer-brand, .dof-footer-contacts-col { grid-column: 1 / -1; }
}

/* ================= Шапка v3: одна строка ================= */
/* логотип-надпись · разделы · телефон и значки; верхняя и нижняя строки шаблона спрятаны */
.dof-compact .header.type1 .top-header-wrapper,
.dof-compact .header.type1 .bottom-header-wrapper { display: none !important; }
.header .main-header .logo > a:not(.dof-logo), .header .main-header .logo img { display: none !important; }
.header .main-header .logo { gap: 0; }
.header .main-header .dof-logo { height: 46px; }

.dof-compact .header.type1 .main-header-wrapper { border-bottom: 1px solid var(--dof-line); }
.dof-compact .header.type1 .main-header {
  display: flex; align-items: center; gap: 28px; height: 68px; min-height: 0 !important;
  padding-top: 0 !important; padding-bottom: 0 !important;
}
.dof-compact .header.type1 .main-header .logo { flex: 0 0 auto; }
.header.type1 .main-header .dof-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.header.type1 .main-header .dof-nav .menu { width: auto; }
.header.type1 .main-header .dof-nav ul { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; }
.header.type1 .main-header .dof-nav .menu a {
  display: block; position: relative; font-family: var(--dof-head); text-transform: uppercase; font-size: 15px !important;
  letter-spacing: .08em; font-weight: 500; color: var(--dof-ink); padding: 0 16px !important; line-height: 68px; white-space: nowrap;
}
.header.type1 .main-header .dof-nav .menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--dof-ink);
  transform: scaleX(0); transition: transform .2s ease;
}
.header.type1 .main-header .dof-nav .menu a:hover::after { transform: scaleX(1); }

/* справа: телефон, затем значки без подписей */
.dof-compact .header.type1 .main-header .icons { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; margin-left: 0 !important; }
.dof-compact .header.type1 .icons a.search { display: inline-flex !important; align-items: center; }
.dof-compact .header.type1 .icons a.favorites > span,
.dof-compact .header.type1 .icons a.basket > span:not([class*=count]):not([class*=quantity]),
.dof-compact .header.type1 .icons .dof-sign-in span { display: none !important; }
.dof-compact .header.type1 .icons .favorites-container,
.dof-compact .header.type1 .icons .small-basket-wrapper,
.dof-compact .header.type1 .icons .dof-sign-in { margin: 0 !important; padding: 0 !important; }
.dof-compact .header.type1 .icons .dof-sign-in a { display: inline-flex; align-items: center; color: var(--dof-ink) !important; }
.dof-compact .header.type1 .icons .dof-sign-in .icon { font-size: 20px; }
.dof-compact .header.type1 .icons .dof-phone { margin-right: 6px; }
.dof-compact .header.type1 .icons .dof-phone span { font: 600 15px/1 var(--dof-body) !important; letter-spacing: .02em; color: var(--dof-ink) !important; white-space: nowrap; }

@media (max-width: 1279px) {
  .header.type1 .main-header .dof-nav .menu a { padding: 0 11px !important; font-size: 14px !important; }
  .header.type1 .main-header .dof-nav .menu a::after { left: 11px; right: 11px; }
  .dof-compact .header.type1 .icons .dof-phone { display: none; }
}
@media (max-width: 991px) {
  .header.type1 .main-header .dof-nav, .dof-compact .header.type1 .icons .dof-sign-in { display: none !important; }
  .dof-compact .header.type1 .main-header { height: 56px; gap: 0; }
  .header .main-header .dof-logo { height: 36px; }
}
.dof-compact .header.type1 .icons .dof-sign-in .icon-user-16 { width: 22px; height: 22px; background-size: contain !important; background-position: center !important; }
.dof-compact .header.type1 .icons a.basket { padding-left: 0 !important; margin-left: 0 !important; gap: 0 !important; }
.dof-compact .header.type1 .icons .small-basket-wrapper,
.dof-compact .header.type1 .icons .small-basket-container { padding: 0 !important; margin: 0 !important; }
.header .icons a.basket { position: relative; }
.header .icons a.basket[data-count]::after {
  content: attr(data-count); position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--dof-ink); color: #fff; font: 600 10px/17px var(--dof-body); text-align: center;
}
