/* ==========================================================================
   «Давай работай» — theme layer over prostore.
   Palette: yellow (brand), black/graphite, dark orange for text accents.
   Theme root font-size is 10px, so sizes here are in px for clarity.
   ========================================================================== */

:root {
  --dr-yellow: #FFC629;
  --dr-yellow-deep: #F5B400;
  --dr-black: #141414;
  --dr-ink: #0E0E0E;
  --dr-graphite: #1F1F1F;
  --dr-graphite-2: #262626;
  --dr-line-dark: #2C2C2C;
  --dr-sand: #F5F3EF;
  --dr-line: #E7E3DC;
  --dr-muted: #5B5B5B;
  --dr-muted-2: #8A847A;
  --dr-orange: #B45309;
  --dr-orange-bright: #F26B1D;
  --dr-radius: 12px;
  --dr-font-display: "Russo One", "Manrope", Arial, sans-serif;
  --dr-font: "Manrope", Arial, Helvetica, sans-serif;

  /* prostore variables: primary is used both as text and as a fill under white text,
     so it has to be dark enough for both (4.5:1). Buttons get yellow separately below. */
  --theme-primary-color: #B45309;
  --theme-secondary-color: #9A4708;
  --body-bg: #F5F3EF;
  --body-color: #141414;
  --base-font-family: "Manrope", Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--dr-font) !important;
  background: var(--dr-sand);
  color: var(--dr-black);
}
input:not([class]), textarea:not([class]), select:not([class]), select.form-control,
.ui-input, .ui-textarea, .ui-select, .ui-select select, .form-control:not(select) {
  font-family: var(--dr-font) !important;
}

/* Headings in the display face */
h1, .h1, .title, .section__title, .main__title, .page-title, .products__title,
.footer__title, .popup__title, .header__catalog-title {
  font-family: var(--dr-font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
}

a { color: inherit; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.ui-btn--primary,
.ui-btn.ui-btn--primary,
.ui-add-to-cart .ui-btn--primary,
button.ui-btn--primary {
  background: var(--dr-yellow) !important;
  border-color: var(--dr-yellow) !important;
  color: var(--dr-black) !important;
  font-weight: 800;
}
.ui-btn--primary:hover,
.ui-btn.ui-btn--primary:hover {
  background: var(--dr-yellow-deep) !important;
  border-color: var(--dr-yellow-deep) !important;
  color: var(--dr-black) !important;
}
.ui-btn--primary svg { fill: currentColor; color: var(--dr-black); }
.ui-add-to-cart.is-active .ui-btn--primary {
  background: var(--dr-black) !important;
  border-color: var(--dr-black) !important;
  color: var(--dr-yellow) !important;
}

.dr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-family: var(--dr-font);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.1;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s, color .2s;
  white-space: nowrap;
}
.dr-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.dr-btn--yellow { background: var(--dr-yellow); color: var(--dr-black) !important; }
.dr-btn--yellow:hover { background: var(--dr-yellow-deep); }
.dr-btn--dark { background: var(--dr-black); color: var(--dr-yellow) !important; }
.dr-btn--outline { border-color: var(--dr-yellow); color: var(--dr-yellow) !important; background: transparent; }
.dr-btn--outline:hover { background: var(--dr-yellow); color: var(--dr-black) !important; }
.dr-btn--ghost-dark { border-color: #3A3A3A; color: #fff !important; background: transparent; }
.dr-btn--ghost-dark:hover { border-color: var(--dr-yellow); }

.dr-ico {
  width: 18px; height: 18px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Desktop header
   -------------------------------------------------------------------------- */
.header.header--v1 { background: var(--dr-black); }
@media (min-width: 1199px) {
  .header--v1 > .container-fluid { max-width: none; padding: 0; }
}
@media (max-width: 1198.98px) {
  .header--v1 > .container-fluid { padding-left: 16px; padding-right: 16px; }
}

.dr-header { background: var(--dr-black); color: #fff; }
.dr-header .header__row { padding: 0; margin: 0; border: 0; background: transparent; min-height: 0; height: auto; }

.dr-topbar { background: var(--dr-ink); color: #CFCBC4; font-size: 13px; }
.dr-topbar__in,
.dr-mainrow__in,
.dr-navrow__in {
  max-width: 1320px;
  width: 100%;
  flex: 1 1 auto;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.dr-topbar__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 24px; min-height: 38px;
}
.dr-topbar__info { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.dr-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.dr-topbar__item .dr-ico { width: 14px; height: 14px; color: var(--dr-yellow); }
.dr-topbar .header__info { margin: 0; }
.dr-topbar .header__info-menu { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; }
.dr-topbar .header__info-menu > li { margin: 0; padding: 0; }
.dr-topbar .header__info-menu > li > a,
.dr-topbar .header__info-menu > li > span,
.dr-topbar .header__info-link,
.dr-topbar .header__info-btn { color: #CFCBC4 !important; font-size: 13px; padding: 0; text-decoration: none; }
.dr-topbar .header__info-menu > li > a:hover,
.dr-topbar .header__info-link:hover { color: var(--dr-yellow) !important; }
.dr-topbar .header__info svg { color: #CFCBC4; fill: currentColor; }

.dr-mainrow { position: relative; z-index: 20; }
.dr-mainrow__in {
  display: flex; align-items: center; gap: 18px 20px;
  min-height: 88px; position: relative;
}
.dr-logo { flex: 0 0 auto !important; width: auto !important; max-width: none !important; display: block; margin: 0 !important; }
.dr-logo img { height: 46px; width: auto; max-width: 230px; display: block; }

/* catalog button */
.dr-catalog { position: static !important; flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
.dr-catalog__btn.header__catalog-btn {
  height: 52px; padding: 0 22px; gap: 10px;
  border: 0 !important; border-radius: 10px;
  background: var(--dr-yellow) !important; color: var(--dr-black) !important;
  font-family: var(--dr-font); font-weight: 800; font-size: 16px; letter-spacing: 0; text-transform: none;
}
.dr-catalog__btn .dr-ico { width: 20px; height: 20px; stroke-width: 2.4; margin: 0 !important; }
.dr-catalog__btn .dr-ico--close { display: none; }
.dr-catalog.is-open .dr-catalog__btn .dr-ico--close { display: block; }
.dr-catalog.is-open .dr-catalog__btn .dr-ico--burger { display: none; }
.dr-catalog.is-open > .dr-catalog__btn.header__catalog-btn,
.dr-catalog__btn.header__catalog-btn:hover { background: var(--dr-yellow-deep) !important; color: var(--dr-black) !important; }

/* search */
/* one white pill: text field + yellow square search button, both 52px, centred on one line */
.dr-search.header__search { flex: 1 1 320px; min-width: 240px; width: auto !important; margin: 0 !important; max-width: none !important; position: relative; }
.dr-search .header__search-control {
  position: relative; display: flex !important; align-items: stretch; gap: 0;
  height: 52px; padding: 4px; box-sizing: border-box;
  background: #fff; border-radius: 12px; overflow: hidden;
  transition: box-shadow .2s;
}
.dr-search .header__search-control:focus-within { box-shadow: 0 0 0 3px rgba(255,198,41,.55); }
.dr-search .header__search-control input,
.dr-search .header__search-control .header__search-input {
  flex: 1 1 auto; min-width: 0; width: auto !important; height: 44px !important; margin: 0 !important;
  border: 0 !important; border-radius: 0 !important; outline: none !important;
  padding: 0 12px 0 14px !important; font-size: 15px !important; line-height: 44px !important;
  color: var(--dr-black) !important; background: transparent !important; box-shadow: none !important;
  -webkit-appearance: none; appearance: none;
}
.dr-search .header__search-control input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dr-search .header__search-control input::placeholder { color: #8A847A !important; opacity: 1; }
.dr-search .header__search-btn {
  position: static !important; flex: 0 0 44px; width: 44px !important; height: 44px !important;
  margin: 0 !important; padding: 0 !important; top: auto !important; transform: none !important;
  border: 0 !important; border-radius: 9px !important;
  background: var(--dr-yellow) !important; color: var(--dr-black) !important;
  display: flex !important; align-items: center; justify-content: center; font-size: 0; cursor: pointer;
  transition: background .2s;
}
.dr-search .header__search-btn:hover { background: var(--dr-yellow-deep) !important; }
.dr-search .header__search-btn .dr-ico { width: 20px; height: 20px; stroke-width: 2.4; }
.dr-search .header__search-autocomplete { z-index: 30; }

/* phone */
.dr-call.header__call { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px; margin: 0 !important; }
.dr-call__phone { color: #fff !important; font-weight: 800; font-size: 19px; letter-spacing: .01em; text-decoration: none !important; white-space: nowrap; }
.dr-call__phone:hover { color: var(--dr-yellow) !important; }
.dr-call__link { color: var(--dr-yellow) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.dr-call__link--muted { color: #A39E96 !important; font-weight: 500; }

/* icons: account / compare / wishlist / cart */
.dr-icons.header__group { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; margin: 0 !important; }
.dr-icons .header__acc,
.dr-icons .header__action,
.dr-icons .header__cart { margin: 0 !important; }
.dr-icons .header__acc-btn,
.dr-icons .header__action-btn,
.dr-icons .header__cart-btn {
  width: 44px; height: 44px; border-radius: 10px; background: var(--dr-graphite-2);
  display: inline-flex; align-items: center; justify-content: center; color: #F5F3EF !important;
  padding: 0 !important; margin: 0 !important; position: relative;
  border: 0 !important; box-shadow: none !important;
}
.dr-icons .header__acc-btn:hover,
.dr-icons .header__action-btn:hover,
.dr-icons .header__cart-btn:hover { background: #333; color: var(--dr-yellow) !important; }
.dr-icons svg { fill: currentColor; color: inherit; width: 22px; height: 22px; }
.dr-icons .header__action { display: flex; gap: 8px; background: transparent; padding: 0; border: 0; }
.dr-icons .header__action-line { display: none; }
/* wishlist stays in the mobile bar and account; the desktop row needs the room for search */
.dr-icons .header__action-btn:has(.icon-favorites) { display: none; }
.dr-logo img { height: 40px; }
.dr-mainrow__in { column-gap: 16px; }
.dr-call__phone { font-size: 18px; }
.dr-request-btn { padding: 0 18px; }
.dr-icons mark,
.dr-icons .header__cart-counter,
.dr-icons .header__action-counter {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--dr-yellow); color: var(--dr-black); font-size: 11px; font-weight: 800; line-height: 20px; text-align: center;
}
.dr-icons mark:empty { display: none; }
.dr-icons .header__cart-total, .dr-icons .header__cart-text { display: none; }

.dr-request-btn { flex: 0 0 auto; height: 52px; }

/* section nav */
.dr-navrow { border-top: 1px solid var(--dr-line-dark) !important; }
.dr-navrow__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; min-height: 50px; }
.dr-navrow__link { color: #F5F3EF !important; font-weight: 700; font-size: 15px; text-decoration: none !important; padding: 13px 0; position: relative; }
.dr-navrow__link:after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--dr-yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.dr-navrow__link:hover { color: var(--dr-yellow) !important; }
.dr-navrow__link:hover:after { transform: scaleX(1); }
.dr-navrow__link--accent { color: var(--dr-yellow) !important; }

/* checkout page has its own short header */
.header.header--checkout, .is-header-checkout .header { background: var(--dr-black) !important; }
@media (min-width: 1199px) {
  .header--checkout .header__desktop { max-width: 1320px; margin: 0 auto; padding: 14px 24px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; background: transparent; }
}
.header--checkout .header__logo img { height: 40px; width: auto; }
.header--checkout .header__call-btn { color: #fff !important; font-weight: 800; font-size: 17px; background: transparent; border: 0; }
.header--checkout .header__call-btn mark { background: transparent; color: #A39E96; font-weight: 600; font-size: 13px; margin-right: 6px; }
.header--checkout .header__call-btn svg { fill: var(--dr-yellow); }
.header--checkout .header__mobile { background: var(--dr-black) !important; }

/* tighter header on medium desktops */
@media (min-width: 1199px) and (max-width: 1360px) {
  .dr-request-btn { display: none; }
  .dr-mainrow__in { gap: 14px; }
  .dr-call__phone { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   Mega menu (catalog panel)
   -------------------------------------------------------------------------- */
@media (min-width: 1199px) {
  .dr-catalog .dr-catalog__panel.header__catalog-offcanvas {
    left: 24px; right: 24px; top: calc(100% - 14px);
    max-width: 1272px; margin: 0 auto;
    width: auto; padding: 0; display: flex;
    background: #fff; border-radius: 0 0 16px 16px; overflow: hidden;
    box-shadow: 0 28px 60px rgba(0,0,0,.28);
    min-height: 460px;
  }
  .dr-catalog .header__catalog-aside {
    width: 300px; flex: 0 0 300px; background: var(--dr-sand);
    border-right: 1px solid var(--dr-line); padding: 14px 0; display: flex; flex-direction: column;
  }
  .dr-catalog .header__catalog-aside > .header__catalog-menu { margin: 0; counter-reset: drcat; }
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li { margin: 0; counter-increment: drcat; }
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li > .header__catalog-link {
    display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 18px 8px 20px;
    font-size: 15px; font-weight: 600; color: #2B2B2B; text-decoration: none; line-height: 1.25;
    transition: background .15s, box-shadow .15s;
  }
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li > .header__catalog-link:before {
    content: counter(drcat, decimal-leading-zero);
    font-family: var(--dr-font-display); font-size: 12px; color: var(--dr-muted-2); width: 22px; flex: 0 0 22px;
  }
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li > .header__catalog-link.is-active,
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li > .header__catalog-link:hover {
    background: #fff; color: var(--dr-black); font-weight: 800; box-shadow: inset 4px 0 0 var(--dr-yellow);
  }
  .dr-catalog .header__catalog-aside > .header__catalog-menu > li > .header__catalog-link.is-active:before { color: var(--dr-orange); }
  .dr-catalog .header__catalog-link-text { flex: 1 1 auto; }
  .dr-catalog .header__catalog-link-icon { display: none; }
  .dr-catalog .header__catalog-link-arrow svg { width: 14px; height: 14px; fill: currentColor; color: var(--dr-muted-2); }
  .dr-catalog__all { margin: auto 20px 6px; padding-top: 14px; font-weight: 800; font-size: 14px; color: var(--dr-orange) !important; text-decoration: none !important; }

  .dr-catalog .header__catalog-main {
    flex: 1 1 auto; min-width: 0; margin: 0; position: relative;
    max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain;
  }
  .dr-catalog .header__catalog-aside { max-height: calc(100vh - 150px); overflow-y: auto; }
  .dr-catalog__hint {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    color: var(--dr-muted-2); font-size: 15px; font-weight: 600; pointer-events: none;
  }
  .dr-catalog .header__catalog-main:has(.is-active) .dr-catalog__hint { display: none; }
  .dr-catalog .header__catalog-dropdown--fullwidth {
    position: absolute; top: 0; left: 0; width: 100% !important; max-width: none !important; min-height: 100%;
    margin: 0; padding: 28px 32px 30px; border: 0; border-radius: 0; box-shadow: none; background: #fff;
    box-sizing: border-box;
  }
  .dr-catalog .header__catalog-dropdown--fullwidth.is-active { position: relative; }
  .dr-catalog .header__catalog-dropdown--fullwidth > .row { margin: 0; display: flex; flex-wrap: nowrap; align-items: flex-start; }
  /* bootstrap 3 clearfix pseudo-elements would become grid/flex items */
  .dr-catalog .header__catalog-dropdown--fullwidth .row:before,
  .dr-catalog .header__catalog-dropdown--fullwidth .row:after { display: none; }
  .dr-catalog .header__catalog-dropdown--fullwidth .row > [class*="col-"] { padding-left: 0; padding-right: 0; }
  .dr-catalog .header__catalog-dropdown--fullwidth > .row > .col-8 { flex: 1 1 0; min-width: 0; max-width: none; width: auto; padding-right: 28px; }
  .dr-catalog .header__catalog-dropdown--fullwidth .row .row { margin: 0; }
  .dr-catalog .header__catalog-dropdown--fullwidth > .row > .col-4 { flex: 0 0 280px; max-width: 280px; }
  .dr-catalog .header__catalog-dropdown--fullwidth .row .row { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px 28px; }
  .dr-catalog .header__catalog-dropdown--fullwidth .row .row > [class*="col-"] { max-width: none !important; flex: none !important; width: auto !important; }
  .dr-catalog .header__catalog-title { margin: 0 0 10px; font-family: var(--dr-font); font-size: 15px; font-weight: 800; }
  .dr-catalog .header__catalog-title > .header__catalog-link {
    display: block; padding: 0 0 8px !important; color: var(--dr-black); border-bottom: 2px solid var(--dr-yellow);
    text-decoration: none;
  }
  .dr-catalog .header__catalog-dropdown--fullwidth .header__catalog-menu { margin: 0 0 18px; font-size: 14px; }
  .dr-catalog .header__catalog-dropdown--fullwidth .header__catalog-menu > li { margin: 0 0 8px; }
  .dr-catalog .header__catalog-dropdown--fullwidth .header__catalog-menu .header__catalog-link { color: #4A4A4A; text-decoration: none; line-height: 1.35; }
  .dr-catalog .header__catalog-dropdown--fullwidth .header__catalog-link:hover { color: var(--dr-orange) !important; }
  .dr-catalog .header__catalog-link--more { color: var(--dr-orange) !important; font-weight: 700; }

  .dr-catalog .header__catalog-quick { margin: 0 0 20px; gap: 8px; }
  .dr-catalog .header__catalog-quick > li { padding: 0; }
  .dr-catalog .header__catalog-quick > li:after { display: none; }
  .dr-catalog .header__catalog-quick-link {
    display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px;
    border: 1.5px solid #D9D3C9; background: #fff; font-size: 14px; font-weight: 700; color: var(--dr-black) !important;
  }
  .dr-catalog .header__catalog-quick-link:hover { background: var(--dr-black); color: var(--dr-yellow) !important; border-color: var(--dr-black); opacity: 1; }

  .dr-catalog .header__additional { background: var(--dr-black); color: #E2DED7; border-radius: 14px; padding: 20px; }
  .dr-catalog .header__additional-title { display: block; color: var(--dr-yellow); font-family: var(--dr-font); font-weight: 800; font-size: 17px; margin: 0 0 8px; }
  .dr-catalog .header__additional p { font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
}

/* --------------------------------------------------------------------------
   Mobile header + sticky bottom bar
   -------------------------------------------------------------------------- */
@media (max-width: 1198.98px) {
  .header.header--v1 { background: var(--dr-black); }
  .header__mobile { background: var(--dr-black) !important; }
  .header__mobile .header__logo img { max-height: 34px; width: auto; }
  .header__mobile .header__nav-btn,
  .header__mobile .header__call-btn,
  .header__mobile .header__search-btn,
  .header__mobile .header__acc-btn,
  .header__mobile .header__cart-btn { color: #fff !important; }
  .header__mobile .header__nav-btn svg,
  .header__mobile .header__call-btn svg,
  .header__mobile .header__search-btn svg,
  .header__mobile .header__acc-btn svg,
  .header__mobile .header__cart-btn svg { fill: #fff; }
  .header__mobile .header__cart-counter { background: var(--dr-yellow); color: var(--dr-black); }

  .header__sticky { background: var(--dr-black) !important; border-top: 1px solid var(--dr-line-dark); }
  .header__sticky-btn { color: #CFCBC4 !important; }
  .header__sticky-btn svg { fill: #CFCBC4; }
  .header__sticky-btn:hover, .header__sticky-btn.is-active { color: var(--dr-yellow) !important; }
  .header__sticky-btn:hover svg { fill: var(--dr-yellow); }
  .header__sticky-counter {
    background: var(--dr-yellow) !important; color: var(--dr-black) !important;
    min-width: 18px; height: 18px; padding: 0 5px !important; border-radius: 9px !important;
    font-size: 11px !important; font-weight: 800; line-height: 18px !important; text-align: center; box-sizing: border-box;
  }

  .header__nav-offcanvas, .header__catalog-offcanvas { background: #fff; }
  .header__nav-head, .header__catalog-head, .header__search-head { background: var(--dr-black); color: #fff; }
  .header__nav-head svg, .header__catalog-head svg, .header__search-head svg { fill: #fff !important; color: #fff !important; }
  .header__nav-close, .header__catalog-close, .header__search-close { color: #fff !important; }
}

/* --------------------------------------------------------------------------
   Product cards (all listings)
   -------------------------------------------------------------------------- */
.products__item-in { border-radius: 16px; background: #fff; }
.products__item:hover .products__item-in { box-shadow: 0 14px 34px rgba(20,20,20,.14); }
.products__item-title { color: var(--dr-black) !important; font-weight: 700; }
.products__item-title:hover { color: var(--dr-orange) !important; }
.products__item-price { font-family: var(--dr-font-display); font-weight: 400; color: var(--dr-black); }
.products__item-price ins { color: var(--dr-orange); text-decoration: none; }
.products__item-id { color: var(--dr-muted-2); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.products__item-status--true { color: #1E7A3B; }
.ui-badge--red, .ui-badge--orange { background: var(--dr-orange-bright) !important; color: var(--dr-black) !important; }
.ui-badge--blue, .ui-badge--purple { background: var(--dr-black) !important; color: var(--dr-yellow) !important; }

/* Breadcrumbs, pagination, tabs accents */
.breadcrumbs a:hover, .breadcrumb a:hover { color: var(--dr-orange); }
.pagination > .active > span, .pagination > .active > a, .ui-pagination__item.is-active { background: var(--dr-black) !important; color: var(--dr-yellow) !important; border-color: var(--dr-black) !important; }

/* --------------------------------------------------------------------------
   Home page sections
   -------------------------------------------------------------------------- */
.dr-home { background: var(--dr-sand); padding-bottom: 72px; }
.dr-wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.dr-section { padding-top: 72px; }
.dr-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.dr-h2 { margin: 0; font-family: var(--dr-font-display); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--dr-black); }
.dr-h2--light { color: #fff; }
.dr-h2 span { color: var(--dr-yellow); }
.dr-link { font-weight: 800; font-size: 15px; color: var(--dr-orange) !important; text-decoration: none !important; }
.dr-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

/* hero */
.dr-hero { background: var(--dr-black); }
.dr-hero__in { display: flex; flex-wrap: wrap; padding-bottom: 64px; }
.dr-hero__text { flex: 1 1 460px; min-width: 0; padding: 56px 40px 24px 0; display: flex; flex-direction: column; gap: 22px; }
.dr-kicker { align-self: flex-start; padding: 6px 12px; border-radius: 6px; background: var(--dr-graphite-2); color: var(--dr-yellow); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dr-hero__title { margin: 0; font-family: var(--dr-font-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; color: #fff; }
.dr-hero__title span { color: var(--dr-yellow); }
.dr-hero__lead { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: #CFCBC4; }
.dr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.dr-hero__points { list-style: none; margin: 10px 0 0; padding: 22px 0 0; border-top: 1px solid var(--dr-line-dark); display: flex; flex-wrap: wrap; gap: 12px 30px; }
.dr-hero__points li { display: flex; align-items: center; gap: 10px; color: #E2DED7; font-size: 14px; font-weight: 600; }
.dr-hero__points li:before { content: ""; width: 10px; height: 10px; background: var(--dr-yellow); transform: rotate(45deg); flex: 0 0 auto; }
.dr-hero__media { flex: 1 1 520px; min-width: 0; position: relative; min-height: 420px; border-radius: 18px; overflow: hidden; margin-top: 28px; background: var(--dr-graphite); }
.dr-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.dr-hero__card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; }
.dr-hero__card-text { background: var(--dr-black); color: #fff; border-radius: 12px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; max-width: 330px; }
.dr-hero__card-text span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dr-yellow); }
.dr-hero__card-text strong { font-weight: 700; font-size: 16px; line-height: 1.35; }

/* quick picker */
.dr-picker-wrap { margin-top: -32px; position: relative; z-index: 2; }
.dr-picker { background: #fff; border-radius: 18px; box-shadow: 0 18px 44px rgba(20,20,20,.12); padding: 26px 28px; display: flex; flex-direction: column; gap: 20px; }
.dr-picker__head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.dr-picker__head .dr-h2 { font-size: 26px; }
.dr-picker__tabs { display: flex; flex-wrap: wrap; gap: 6px; background: var(--dr-sand); padding: 5px; border-radius: 12px; }
.dr-picker__tab { min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px; background: transparent; color: #3A3A3A; font-weight: 700; font-size: 14px; cursor: pointer; font-family: var(--dr-font); }
.dr-picker__tab.is-active { background: var(--dr-black); color: var(--dr-yellow); font-weight: 800; }
.dr-picker__pane { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; align-items: end; margin: 0; }
.dr-picker__pane[hidden] { display: none; }
.dr-picker__go { min-height: 52px; }

/* fields */
.dr-field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.dr-field__label { font-size: 13px; font-weight: 700; color: var(--dr-muted); }
.dr-field__control {
  height: 52px; width: 100%; box-sizing: border-box; border-radius: 10px; border: 1.5px solid #DDD7CD; background: #fff;
  padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--dr-black); font-family: var(--dr-font); outline: none;
}
textarea.dr-field__control { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; font-weight: 500; }
.dr-field__control:focus { border-color: var(--dr-black); box-shadow: 0 0 0 3px rgba(255,198,41,.45); }
.dr-field.is-error .dr-field__control { border-color: #C2410C; }
.dr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--dr-muted); cursor: pointer; }
.dr-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--dr-black); flex: 0 0 auto; }
.dr-check.is-error span { color: #C2410C; }

/* tiles */
.dr-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.dr-tile, .dr-mini { text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease; }
.dr-tile:hover, .dr-mini:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,20,20,.14); }
.dr-tile { position: relative; background: #fff; border-radius: 18px; padding: 24px; min-height: 320px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: var(--dr-black) !important; }
.dr-tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dr-tile__num { font-family: var(--dr-font-display); font-size: 15px; color: var(--dr-orange); }
.dr-tile__arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--dr-yellow); display: flex; align-items: center; justify-content: center; color: var(--dr-black); }
.dr-tile__arrow .dr-ico { stroke-width: 2.6; }
.dr-tile__name { font-family: var(--dr-font-display); font-size: 24px; line-height: 1.1; max-width: 260px; position: relative; z-index: 1; }
.dr-tile__text { font-size: 14px; line-height: 1.5; color: var(--dr-muted); max-width: 220px; position: relative; z-index: 1; }
.dr-tile__img { position: absolute; right: 10px; bottom: 10px; width: 54%; height: 50%; object-fit: contain; mix-blend-mode: multiply; }
.dr-minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 18px; }
.dr-mini { background: var(--dr-black); border-radius: 16px; padding: 20px 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; color: #fff !important; }
.dr-mini__num { font-family: var(--dr-font-display); font-size: 13px; color: var(--dr-yellow); }
.dr-mini__name { font-weight: 800; font-size: 18px; line-height: 1.25; }
.dr-mini__text { font-size: 13px; color: #B9B4AC; }

/* modules area (popular products) */
.dr-modules { padding-top: 72px; }
.dr-modules .products-featured__title,
.products-featured__title.h2 {
  display: block; margin: 0 0 26px; font-family: var(--dr-font-display); font-weight: 400;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: var(--dr-black);
}

/* one content width for the whole site, matching the header */
.app > .main .container-fluid,
.app > main .container-fluid,
.footer .container-fluid {
  max-width: 1320px; padding-left: 24px; padding-right: 24px; box-sizing: border-box;
}
@media (max-width: 767px) {
  .app > .main .container-fluid,
  .app > main .container-fluid,
  .footer .container-fluid { padding-left: 16px; padding-right: 16px; }
}

/* why */
.dr-why { background: var(--dr-black); border-radius: 22px; padding: 40px 36px; display: flex; flex-wrap: wrap; gap: 32px; }
.dr-why__intro { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dr-why__intro p { margin: 0; color: #CFCBC4; font-size: 16px; line-height: 1.6; }
.dr-why__list { flex: 999 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dr-why__list li { background: var(--dr-graphite); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--dr-yellow); }
.dr-why__list strong { font-weight: 800; font-size: 17px; color: #fff; }
.dr-why__list span { font-size: 14px; line-height: 1.55; color: #B9B4AC; }

/* request */
.dr-request { background: var(--dr-yellow); border-radius: 22px; padding: 40px 36px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.dr-request__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.dr-request__intro p { margin: 0; font-size: 16px; line-height: 1.6; color: #2B2B2B; }
.dr-request__phone { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dr-request__phone span { font-size: 13px; font-weight: 700; color: #3A3A3A; }
.dr-request__phone a { font-family: var(--dr-font-display); font-size: 26px; color: var(--dr-black) !important; text-decoration: none !important; }
.dr-form { flex: 999 1 520px; min-width: 0; background: #fff; border-radius: 16px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 0; }
.dr-field--wide { grid-column: 1 / -1; }
.dr-form__status { font-size: 14px; font-weight: 700; }
.dr-form__status:empty { display: none; }
.dr-form__status.is-ok { color: #1E7A3B; }
.dr-form__status.is-err { color: #C2410C; }
.dr-form .dr-btn--dark { width: 100%; }

/* brands */
.dr-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.dr-brand { height: 76px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--dr-font-display); font-size: 18px; color: #3A3A3A !important; letter-spacing: .02em; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.dr-brand:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,20,20,.12); color: var(--dr-black) !important; }

/* "Купить в 1 клик" under the buy button on product cards (added by dr-theme.js) */
.dr-oneclick {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 40px; margin-top: 8px;
  border: 1.5px solid var(--dr-black); border-radius: 10px; background: #fff; color: var(--dr-black) !important;
  font-family: var(--dr-font); font-weight: 800; font-size: 14px; text-decoration: none !important; cursor: pointer;
  transition: background .2s, color .2s;
}
.dr-oneclick:hover { background: var(--dr-black); color: var(--dr-yellow) !important; }
.products__item-action { flex-wrap: wrap; }

/* credit / leasing request popup on the product page */
.dr-popup { max-width: 480px; }
.dr-popup__lead { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--dr-muted); }
.dr-popup__product { margin: 0 0 16px; padding: 10px 14px; background: var(--dr-sand); border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--dr-black); }
.dr-form--popup { padding: 0; background: transparent; grid-template-columns: 1fr; }

/* personal-data consent checkbox in all forms */
.dr-consent { display: flex !important; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: 13px; line-height: 1.5; color: var(--dr-muted); cursor: pointer; font-weight: 400; text-align: left; }
.dr-consent input { width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; flex: 0 0 auto; accent-color: var(--dr-black); position: static !important; opacity: 1 !important; appearance: auto; -webkit-appearance: checkbox; }
.dr-consent a, .dr-check a { color: var(--dr-orange) !important; text-decoration: underline !important; }
.dr-consent.is-error span { color: #C2410C; }
.dr-consent__error { display: block; margin: -8px 0 12px 28px; font-size: 12px; font-weight: 700; color: #C2410C; }
/* requisites page: two cards, click a value to copy it */
.dr-req { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; max-width: 1100px; align-items: start; }
.dr-req__card { background: #fff; border: 1px solid var(--dr-line); border-radius: 18px; padding: 26px 28px 14px; }
.dr-req__card--bank { background: var(--dr-black); border-color: var(--dr-black); color: #F5F3EF; position: relative; overflow: hidden; }
.dr-req__card--bank:before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--dr-yellow), var(--dr-orange-bright)); }
.dr-req__title { margin: 0 0 12px !important; font-family: var(--dr-font-display); font-size: 20px !important; font-weight: 400 !important; line-height: 1.3; color: inherit !important; }
.dr-req__list { margin: 0; }
.dr-req__row { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 4px 16px; padding: 11px 0; border-top: 1px solid var(--dr-line); }
.dr-req__card--bank .dr-req__row { border-top-color: var(--dr-line-dark); }
.dr-req__row:first-child { border-top: 0; }
.dr-req__row dt { margin: 0; font-size: 14px; font-weight: 600; color: var(--dr-muted); line-height: 1.5; }
.dr-req__card--bank .dr-req__row dt { color: #A8A29A; }
.dr-req__row dd { margin: 0; min-width: 0; }
.dr-req__val { all: unset; box-sizing: border-box; display: inline; cursor: copy; font-size: 15px; font-weight: 700; line-height: 1.5; color: inherit; overflow-wrap: anywhere; border-bottom: 1px dashed transparent; transition: border-color .15s, color .15s; }
.dr-req__val:hover, .dr-req__val:focus-visible { border-bottom-color: currentColor; }
.dr-req__val--num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.dr-req__card--bank .dr-req__val--num { color: var(--dr-yellow); }
.dr-req__val.is-copied { color: #15803D !important; }
.dr-req__val.is-copied:after { content: " ✓ скопировано"; font-size: 12px; font-weight: 600; }
.dr-req__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.dr-req__copy-all { padding: 0 24px !important; }
.dr-req__hint { font-size: 13px; color: var(--dr-muted); }
.dr-req__contacts { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--dr-muted); }
.dr-req__contacts a { color: var(--dr-black) !important; font-weight: 700; }
@media (max-width: 575px) {
  .dr-req__card { padding: 20px 18px 8px; }
  .dr-req__row { grid-template-columns: 1fr; gap: 2px; }
}

/* zero counters are hidden (class set by dr-theme.js) */
.dr-is-empty { display: none !important; }

/* compare page: readable product photos; smaller once the product strip sticks to the top */
.compare__item-image { height: 130px !important; justify-content: center !important; align-items: center !important; background: #fff; border-radius: 12px; }
.compare__item-image img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 1199px) {
  .compare__item-image { height: 180px !important; }
}
.compare__sticky .compare__item-image { transition: height .2s ease; }
.compare__sticky.is-sticky .compare__item-image { height: 64px !important; margin-bottom: 8px !important; }

/* shop reviews: empty state */
.dr-reviews-empty { list-style: none; background: #fff; border-radius: 16px; padding: 28px; border-top: 4px solid var(--dr-yellow); }
.dr-reviews-empty__title { display: block; font-family: var(--dr-font-display); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0 0 12px; color: var(--dr-black); }
.dr-reviews-empty p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--dr-muted); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.dr-footer { background: var(--dr-ink); color: #CFCBC4; margin: 0; padding: 0; border: 0; }
.dr-footer__in { max-width: 1320px; margin: 0 auto; padding: 52px 24px 32px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 36px 48px; }
.dr-footer__brand { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dr-footer__logo img { height: 42px; width: auto; display: block; }
.dr-footer__about { margin: 4px 0 6px; font-size: 14px; line-height: 1.6; color: #A39E96; max-width: 320px; }
.dr-footer__phone { font-family: var(--dr-font-display); font-size: 22px; color: #fff !important; text-decoration: none !important; }
.dr-footer__callback { color: var(--dr-yellow) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.dr-footer__mail { color: #CFCBC4 !important; font-size: 14px; }
.dr-footer__addr { margin: 0; font-size: 14px; line-height: 1.6; color: #A39E96; }
.dr-footer__social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; }
.dr-footer__col { flex: 1 1 180px; min-width: 0; }
.dr-footer__title { display: block; color: #fff; font-weight: 800; font-size: 15px; margin: 0 0 14px; }
.dr-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dr-footer__col a { color: #CFCBC4 !important; font-size: 14px; line-height: 1.4; text-decoration: none !important; }
.dr-footer__col a:hover, .dr-footer__mail:hover { color: var(--dr-yellow) !important; }
.dr-footer__bottom { border-top: 1px solid #222; }
.dr-footer__bottom-in { max-width: 1320px; margin: 0 auto; padding: 18px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--dr-muted-2); }
@media (max-width: 1198.98px) {
  /* room for the fixed mobile bottom bar */
  .dr-footer__bottom-in { padding-bottom: 90px; }
}

@media (max-width: 767px) {
  .dr-footer__in { padding: 40px 16px 24px; gap: 28px; }
  .dr-footer__bottom-in { padding-left: 16px; padding-right: 16px; }
  .dr-wrap { padding-left: 16px; padding-right: 16px; }
  .dr-section { padding-top: 48px; }
  .dr-hero__text { padding: 32px 0 8px; }
  .dr-hero__media { min-height: 260px; margin-top: 16px; flex-basis: 100%; }
  .dr-hero__lead { font-size: 16px; }
  .dr-picker, .dr-why, .dr-request { padding: 22px 18px; }
  .dr-tile { min-height: 260px; }
}

/* maintenance page: contacts instead of social icons */
.tech__contacts { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px 0 0; }
.tech__contacts a { color: #fff !important; font-weight: 800; font-size: 22px; text-decoration: none !important; }
.tech__contacts a + a { font-size: 17px; font-weight: 700; }
.tech__contacts span { color: rgba(255,255,255,.8); font-size: 14px; }

/* contacts page: white cards at every width (the theme only had them on tablets/phones) */
.contacts__data-group { background: #fff; border-radius: 18px; padding: 24px 26px 28px; height: 100%; box-sizing: border-box; }
.contacts__data > .row > .col-xl > .row { row-gap: 20px; }
.contacts__data-requisites dt { font-size: 13px; font-weight: 600; color: var(--dr-muted); margin-top: 12px; }
.contacts__data-requisites dt:first-child { margin-top: 0; }
.contacts__data-requisites dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--dr-black); overflow-wrap: anywhere; }
.contacts__data-requisites dl { margin-bottom: 0; }
.dr-contacts__more { display: inline; line-height: 1.9; margin-top: 18px; font-weight: 700; color: var(--dr-orange) !important; text-decoration: none !important; border-bottom: 1px solid currentColor; }
.dr-contacts__more:hover { color: var(--dr-black) !important; }
@media (max-width: 767px) { .contacts__data-requisites .col-md-6 + .col-md-6 dl { margin-top: 12px; } }

/* products sold on request (price 0): no quantity / quick order, plain «Цена по запросу» */
.dr-price-request { font-size: 20px !important; font-weight: 800; color: var(--dr-black); }
.products__item-price.dr-price-request { font-size: 16px !important; }
.dr-on-request .ui-number, .dr-on-request .js-button-fast-cart, .dr-on-request .sku__action-fast { display: none !important; }
.dr-request-link { width: 100%; justify-content: center; }

/* the theme hides both headers at exactly 1199px (its "max-width: 1199px" and "min-width: 1199px"
   overlap) — e.g. on laptops with 125–150% Windows scaling; keep the desktop header there */
@media (min-width: 1199px) and (max-width: 1199.98px) {
  .header__desktop.dr-header { display: block !important; }
}

/* section texts under the products: no gap above the heading, and the collapsed preview
   that fades out instead of cutting a line in half */
.seo { padding-top: 32px !important; }
.seo__readmore .editor > :first-child { margin-top: 0 !important; }
.seo__readmore { position: relative; }
.seo__readmore[aria-expanded="false"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(245, 243, 239, 0), #F5F3EF 85%);
}
.seo__desc .ui-link { margin-top: 6px; display: inline-flex; }
