/* ============================================================
   xl-zones.css — проблемные зоны по концепту из архива
   Адаптация под динамическую разметку silver_new
   ============================================================ */

:root {
  --xl-bg: #f6f1e9;
  --xl-card: #fff;
  --xl-text: #161616;
  --xl-muted: #6f6a64;
  --xl-accent: #ff651f;
  --xl-line: #eadfd3;
  --xl-dark: #1b1816;
  --xl-radius: 22px;
  --xl-radius-sm: 14px;
  --xl-shadow: 0 14px 36px rgba(39, 27, 17, 0.08);
  --xl-shell-max: 1360px;
  --xl-shell-pad: 24px;
  --xl-chat-h: 88px;
}

/* shell */
body.xl-redesign .xl-wrap,
body.xl-redesign .xl-brandrow .xl-wrap,
body.xl-redesign .xl-navrow .xl-wrap,
body.xl-redesign .xl-utility .xl-wrap,
body.xl-redesign table#middle,
body.xl-redesign .xl-footer__main,
body.xl-redesign .xl-footer__bottom-inner,
body.xl-redesign .xl-nav__panel-inner {
  width: 100% !important;
  max-width: var(--xl-shell-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--xl-shell-pad) !important;
  padding-right: var(--xl-shell-pad) !important;
  box-sizing: border-box !important;
}
@media (min-width: 901px) {
  body.xl-redesign .xl-mmenu,
  body.xl-redesign .xl-mmenu--mobile { display: none !important; }
}

/* ========== 1. Форматы: 4×2 как в макете ========== */
body.xl-redesign .xl-formats { margin-bottom: 48px !important; }
body.xl-redesign .xl-formats .xl-section__head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 16px !important;
  margin-bottom: 22px !important;
}
body.xl-redesign .xl-formats .xl-section__title {
  font-size: 34px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}
body.xl-redesign .xl-formats .xl-section__link {
  color: var(--xl-accent) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.xl-redesign .xl-formats__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 20px !important;
}
@media (max-width: 1100px) {
  body.xl-redesign .xl-formats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  body.xl-redesign .xl-formats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  body.xl-redesign .xl-formats__grid {
    grid-template-columns: 1fr !important;
  }
}

body.xl-redesign .xl-formats__card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-height: 250px !important;
  max-height: none !important;
  padding: 26px 24px 22px !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: var(--xl-radius) !important;
  background: var(--xl-card) !important;
  box-shadow: var(--xl-shadow) !important;
  text-decoration: none !important;
  color: var(--xl-text) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  overflow: hidden !important;
}
body.xl-redesign .xl-formats__card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px rgba(39, 27, 17, 0.12) !important;
}
body.xl-redesign .xl-formats__icon {
  width: 88px !important;
  height: 88px !important;
  max-width: 88px !important;
  max-height: 88px !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  margin: 0 0 34px !important;
  flex: 0 0 88px !important;
  transition: transform .2s ease !important;
}
body.xl-redesign .xl-formats__card:hover .xl-formats__icon {
  transform: scale(1.05) !important;
}
body.xl-redesign .xl-formats__body,
body.xl-redesign .xl-formats__name,
body.xl-redesign .xl-formats__desc {
  display: block !important;
}
body.xl-redesign .xl-formats__body {
  margin-top: auto !important;
  padding-right: 48px !important;
  max-width: 100% !important;
}
body.xl-redesign .xl-formats__name,
body.xl-redesign .xl-formats__body strong {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 8px !important;
  padding-right: 48px !important;
  color: var(--xl-text) !important;
}
body.xl-redesign .xl-formats__desc,
body.xl-redesign .xl-formats__body em {
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  color: var(--xl-muted) !important;
  font-weight: 500 !important;
  max-width: 220px !important;
  margin: 0 !important;
  padding-right: 40px !important;
}
body.xl-redesign .xl-formats__go {
  position: absolute !important;
  right: 22px !important;
  bottom: 22px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: var(--xl-accent) !important;
  color: #fff !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(255, 101, 31, 0.28) !important;
  transition: transform .15s ease, background .15s ease !important;
}
body.xl-redesign .xl-formats__card:hover .xl-formats__go {
  transform: translateX(2px) !important;
  background: #ef5310 !important;
}

body.xl-redesign .xl-formats__trust {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background: #efe8de !important;
  border: 1px solid var(--xl-line) !important;
}
body.xl-redesign .xl-formats__trust-item {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}
body.xl-redesign .xl-formats__trust-item img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  flex: 0 0 24px !important;
}
body.xl-redesign .xl-formats__trust-item strong {
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}
body.xl-redesign .xl-formats__trust-item em {
  display: block !important;
  font-style: normal !important;
  font-size: 12px !important;
  color: var(--xl-muted) !important;
}
@media (max-width: 900px) {
  body.xl-redesign .xl-formats__trust {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ========== 2. Эталонная карточка товара (article.xl-pcard) ========== */
body.xl-redesign .xl-product-heading {
  margin: 0 0 18px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
}
body.xl-redesign .xl-product-heading a {
  color: var(--xl-text) !important;
  text-decoration: none !important;
}
body.xl-redesign .xl-product-grid .pageItem,
body.xl-redesign #content .page.xl-product-grid .pageItem {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  float: none !important;
  width: 100% !important;
}
@media (min-width: 1200px) {
  body.xl-redesign .xl-product-grid .pageItem,
  body.xl-redesign #content .page.xl-product-grid .pageItem {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

body.xl-redesign .xl-pcard,
body.xl-redesign article.itemNewProductsDefault,
body.xl-redesign .xl-product-grid dl.itemNewProductsDefault {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 18px !important;
  min-height: 100% !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: var(--xl-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
  box-sizing: border-box !important;
  float: none !important;
  width: auto !important;
}
body.xl-redesign .xl-pcard:hover,
body.xl-redesign article.itemNewProductsDefault:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px rgba(39, 27, 17, 0.12) !important;
}

body.xl-redesign .xl-pcard__top {
  position: absolute !important;
  inset: 14px 14px auto 14px !important;
  z-index: 4 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  pointer-events: none !important;
}
body.xl-redesign .xl-pcard__badge,
body.xl-redesign .xl-card__badge {
  pointer-events: none !important;
  height: auto !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: var(--xl-accent) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
body.xl-redesign .xl-pcard__badge--sale,
body.xl-redesign .xl-card__badge--sale { background: #c92929 !important; }
body.xl-redesign .xl-pcard__badge--new,
body.xl-redesign .xl-card__badge--new { background: #ef7f1a !important; }

body.xl-redesign .xl-pcard__fav,
body.xl-redesign .xl-card__fav {
  pointer-events: auto !important;
  position: static !important;
  margin-left: auto !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  color: #9a928a !important;
  cursor: pointer !important;
  display: inline-grid !important;
  place-items: center !important;
  padding: 0 !important;
}
body.xl-redesign .xl-pcard__fav svg,
body.xl-redesign .xl-card__fav svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
}
body.xl-redesign .xl-pcard__fav.is-active,
body.xl-redesign .xl-card__fav.is-active { color: #c92929 !important; }

body.xl-redesign .xl-pcard__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 4 / 3 !important;
  margin: 28px 0 14px !important;
  padding: 12px !important;
  background: #f3eee8 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
body.xl-redesign .xl-pcard__media img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

body.xl-redesign .xl-pcard__title {
  margin: 0 !important;
  min-height: 2.6em !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}
body.xl-redesign .xl-pcard__title a {
  color: var(--xl-text) !important;
  text-decoration: none !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}
body.xl-redesign .xl-pcard__meta {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--xl-muted) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  min-height: 2.6em !important;
}
body.xl-redesign .xl-pcard__price,
body.xl-redesign .xl-pcard .itemDescriptionPrice {
  margin: 14px 0 12px !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--xl-text) !important;
  line-height: 1.15 !important;
}
body.xl-redesign .xl-pcard__price s,
body.xl-redesign .xl-pcard__price strike,
body.xl-redesign .xl-pcard__price del,
body.xl-redesign .xl-pcard__price .productsOldPrice {
  margin-left: 8px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #9f9993 !important;
}
body.xl-redesign .xl-pcard__price .productsNewPrice,
body.xl-redesign .xl-pcard__price font[color],
body.xl-redesign .xl-pcard__price b {
  color: #c92929 !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

body.xl-redesign .xl-pcard__buy,
body.xl-redesign .xl-product-grid .xl-card__buy {
  display: grid !important;
  grid-template-columns: 110px 1fr !important;
  gap: 10px !important;
  margin-top: auto !important;
  padding-top: 4px !important;
  align-items: center !important;
}
body.xl-redesign .xl-pcard__qty {
  display: grid !important;
  grid-template-columns: 32px 1fr 32px !important;
  height: 48px !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
}
body.xl-redesign .xl-pcard__qty-btn {
  border: 0 !important;
  background: #f7f2ea !important;
  color: var(--xl-text) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
}
body.xl-redesign .xl-pcard__qty input,
body.xl-redesign .xl-pcard__buy input[name="products_qty"] {
  width: 100% !important;
  height: 48px !important;
  border: 0 !important;
  border-left: 1px solid var(--xl-line) !important;
  border-right: 1px solid var(--xl-line) !important;
  border-radius: 0 !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-sizing: border-box !important;
  background: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.xl-redesign .xl-pcard__buy a.button,
body.xl-redesign .xl-pcard__buy .button,
body.xl-redesign .xl-product-grid .xl-card__buy a.button,
body.xl-redesign .xl-product-grid .xl-card__buy .button {
  width: 100% !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--xl-accent) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  padding: 0 14px !important;
}

/* ========== 6. Правая колонка — сервисные карточки ========== */
body.xl-redesign #right {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
body.xl-redesign #right .xl-svc {
  display: flex !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  gap: 12px !important;
  min-height: 132px !important;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: var(--xl-shadow) !important;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
body.xl-redesign #right .xl-svc:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(39, 27, 17, 0.1);
}
body.xl-redesign #right .xl-svc--accent {
  background: linear-gradient(180deg, #f4fbfc, #fff) !important;
  border-color: #d7e9ec !important;
}
body.xl-redesign #right .xl-svc__main {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.xl-redesign #right .xl-svc__t {
  display: block !important;
  margin: 0 0 8px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--xl-text) !important;
  line-height: 1.25 !important;
}
body.xl-redesign #right .xl-svc--accent .xl-svc__t { color: #0e8a96 !important; }
body.xl-redesign #right .xl-svc__d {
  display: block !important;
  margin: 0 0 14px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--xl-muted) !important;
  flex: 1 1 auto !important;
}
body.xl-redesign #right .xl-svc__cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  min-height: 38px !important;
  padding: 0 14px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--xl-accent) !important;
  background: transparent !important;
  color: var(--xl-accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin-top: auto !important;
}
body.xl-redesign #right .xl-svc--accent .xl-svc__cta {
  background: transparent !important;
  border-color: var(--xl-accent) !important;
  color: var(--xl-accent) !important;
}
body.xl-redesign #right .xl-svc:hover .xl-svc__cta {
  background: var(--xl-accent) !important;
  color: #fff !important;
}
body.xl-redesign #right .xl-svc__ico {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 14px !important;
  background: #f6f1e9 !important;
  display: inline-grid !important;
  place-items: center !important;
  align-self: flex-start !important;
}
body.xl-redesign #right .xl-svc__ico img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
}
body.xl-redesign #right .boxStyle,
body.xl-redesign #right #boxWhatsNew,
body.xl-redesign #right .xl-reviews-card {
  border: 1px solid var(--xl-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--xl-shadow) !important;
  background: #fff !important;
  margin: 0 !important;
}
body.xl-redesign #right .boxWhatsNewHeader,
body.xl-redesign #right .xl-reviews-card__h {
  min-height: 52px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-bottom: 1px solid #f0ebe3 !important;
  background: #fff !important;
  color: var(--xl-text) !important;
}

/* ========== 7. Левая колонка — accordion ========== */
body.xl-redesign #left {
  background: transparent !important;
}
body.xl-redesign #left #boxCategories {
  background: #fff !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: var(--xl-shadow) !important;
  margin-bottom: 14px !important;
}
body.xl-redesign #left #boxCategories p.hD {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--xl-text) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.xl-redesign #left #boxCategories > div {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
body.xl-redesign #left #boxCategories ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.xl-redesign #left #boxCategories ul li a {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  color: #3f3a35 !important;
  text-decoration: none !important;
}
body.xl-redesign #left #boxCategories ul li a:hover {
  background: #f6f1e9 !important;
  color: var(--xl-text) !important;
}
body.xl-redesign #left #boxCategories ul li a.active,
body.xl-redesign #left #boxCategories ul li.current a {
  background: var(--xl-accent) !important;
  color: #fff !important;
}

body.xl-redesign #left .boxStyle:not(#boxCategories) {
  background: #fff !important;
  border: 1px solid var(--xl-line) !important;
  border-radius: 16px !important;
  margin: 0 0 10px !important;
  padding: 0 14px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
body.xl-redesign #left .boxStyle:not(#boxCategories) p.hD,
body.xl-redesign #left .boxStyle:not(#boxCategories) h5 {
  height: auto !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  color: var(--xl-text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
}
body.xl-redesign #left .boxStyle:not(#boxCategories) p.hD .bPg {
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  margin-left: auto !important;
  background: transparent !important;
}
body.xl-redesign #left .boxStyle:not(#boxCategories) p.hD .bPg::after {
  content: "" !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #9a928a !important;
  border-bottom: 2px solid #9a928a !important;
  transform: rotate(45deg) !important;
  margin: 2px auto 0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
}
body.xl-redesign #left .boxStyle.xl-open p.hD .bPg::after,
body.xl-redesign #left .boxStyle.active p.hD .bPg::after {
  transform: rotate(-135deg) !important;
  margin-top: 6px !important;
  border-color: var(--xl-accent) !important;
}
body.xl-redesign #boxHolidays > div,
body.xl-redesign #boxPrices > div,
body.xl-redesign #boxZalp > div {
  display: none !important;
}
body.xl-redesign #boxHolidays.xl-open > div,
body.xl-redesign #boxHolidays.active > div,
body.xl-redesign #boxPrices.xl-open > div,
body.xl-redesign #boxPrices.active > div,
body.xl-redesign #boxZalp.xl-open > div,
body.xl-redesign #boxZalp.active > div {
  display: block !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
}
body.xl-redesign #left .boxStyle ul li a {
  padding: 8px 0 8px 12px !important;
  font-size: 13px !important;
  color: var(--xl-muted) !important;
  border-radius: 0 !important;
}
body.xl-redesign #left .boxStyle ul li a:hover {
  background: transparent !important;
  color: var(--xl-accent) !important;
}
body.xl-redesign #left a,
body.xl-redesign #left a:link,
body.xl-redesign #left a:visited {
  color: inherit !important;
}

/* ========== 4–5. Футер + safe zone под чат ========== */
body.xl-redesign .xl-footer {
  margin: 0 !important;
  background: var(--xl-dark) !important;
  /* безопасная зона под виджет чата (уменьшена в 3 раза) */
  padding-bottom: calc((var(--xl-chat-h) + 24px) / 3) !important;
}
body.xl-redesign .xl-footer__bottom {
  border-top: 1px solid #3b3530 !important;
  padding: 20px 0 0 !important;
  margin-top: 8px !important;
}
body.xl-redesign .xl-footer__bottom-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 20px !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 8px !important;
}
body.xl-redesign .xl-footer__legal {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;
  position: relative !important;
  z-index: 2 !important;
}
body.xl-redesign .xl-footer__legal a {
  font-size: 12px !important;
  color: #d8d0c9 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.xl-redesign .xl-footer__legal a:hover { color: #fff !important; }

/* CleverSite: всегда выше нижней зоны документов */
body.xl-redesign iframe[src*="cleversite"],
body.xl-redesign [id*="cleversite"],
body.xl-redesign [class*="cleversite"],
body.xl-redesign #cleversite_invite,
body.xl-redesign #cleversite_online,
body.xl-redesign div[id^="cleversite"] {
  bottom: 24px !important;
  right: 24px !important;
  z-index: 40 !important;
}
body.xl-redesign.xl-footer-near iframe[src*="cleversite"],
body.xl-redesign.xl-footer-near [id*="cleversite"],
body.xl-redesign.xl-footer-near [class*="cleversite"],
body.xl-redesign.xl-footer-near #cleversite_invite,
body.xl-redesign.xl-footer-near #cleversite_online,
body.xl-redesign.xl-footer-near div[id^="cleversite"] {
  bottom: calc(var(--xl-chat-h) + 16px) !important;
}

/* ========== 3. Cookie — компактный ========== */
body.xl-redesign .xl-cookie {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 24px !important;
  transform: translateX(-50%) !important;
  width: min(900px, calc(100vw - 420px)) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  background: #201c19 !important;
  color: #fff !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32) !important;
  z-index: 99950 !important;
  display: none !important;
  grid-template-columns: auto 1fr auto auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  font-family: "Manrope", Arial, Helvetica, sans-serif !important;
}
body.xl-redesign .xl-cookie.is-visible {
  display: grid !important;
}
body.xl-redesign .xl-cookie__ico {
  font-size: 26px !important;
  line-height: 1 !important;
}
body.xl-redesign .xl-cookie__text {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #eee3dc !important;
}
body.xl-redesign .xl-cookie__text a {
  color: #ffc09b !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}
body.xl-redesign .xl-cookie__actions {
  display: contents !important;
}
body.xl-redesign .xl-cookie__btn {
  height: 40px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--xl-accent) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
}
body.xl-redesign .xl-cookie__btn--ghost {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}
body.xl-redesign .xl-cookie__link {
  color: #ffc09b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body.xl-redesign .xl-cookie__panel {
  grid-column: 1 / -1 !important;
  display: none !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 4px !important;
}
body.xl-redesign .xl-cookie.is-settings .xl-cookie__panel {
  display: block !important;
}
body.xl-redesign .xl-cookie__panel label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #eee3dc !important;
  margin-bottom: 8px !important;
  cursor: pointer !important;
}

@media (max-width: 1100px) {
  body.xl-redesign .xl-cookie {
    width: calc(100vw - 40px) !important;
    left: 20px !important;
    right: 20px !important;
    transform: none !important;
    grid-template-columns: auto 1fr !important;
  }
  body.xl-redesign .xl-cookie__actions { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; grid-column: 1 / -1 !important; }
  body.xl-redesign .xl-cookie__btn,
  body.xl-redesign .xl-cookie__link { grid-column: auto !important; }
}
@media (max-width: 760px) {
  body.xl-redesign .xl-cookie {
    bottom: 12px !important;
    display: none !important;
  }
  body.xl-redesign .xl-cookie.is-visible {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  body.xl-redesign .xl-cookie__text { flex: 1 0 100% !important; }
}

/* ========== Mega menu polish ========== */
body.xl-redesign .xl-mega__layout {
  padding: 22px 22px 16px !important;
  gap: 0 !important;
}
body.xl-redesign .xl-mega__title {
  font-size: 14px !important;
  margin-bottom: 12px !important;
}
body.xl-redesign .xl-mega__cards { gap: 10px !important; }
body.xl-redesign .xl-mega__card {
  min-height: 118px !important;
  padding: 12px 8px 10px !important;
}
body.xl-redesign .xl-mega__trust {
  padding: 12px 22px !important;
  gap: 10px !important;
}
body.xl-redesign .xl-mega__trust-item strong { font-size: 11px !important; }
body.xl-redesign .xl-mega__trust-item em { font-size: 10px !important; }
body.xl-redesign .xl-nav__panel-inner.xl-mega {
  border-radius: 0 0 20px 20px !important;
}

/* SEO */
body.xl-redesign .xl-seo {
  border-radius: 22px !important;
  border: 1px solid var(--xl-line) !important;
  background: #fff !important;
  padding: 36px 40px !important;
  margin: 40px 0 !important;
  box-shadow: var(--xl-shadow);
}
