/* Рестобар 2026 — информационные страницы (Как купить, Оплата, Доставка, Гарантия, О компании…).
   Всё оформление внутри .rb-page, на остальные страницы не влияет. */

/* страница без левого баннера — контент на всю ширину */
.wrapper_inner:has(.rb-page) .left_block { display: none !important; }
.wrapper_inner:has(.rb-page) .right_block { width: 100% !important; max-width: none !important; flex: 1 1 100% !important; }
.wrapper_inner:has(.rb-page) .middle > .container { padding: 0 !important; }

.rb-page { font-family: inherit; color: var(--rb-ink, #232323); font-size: 15px; line-height: 1.6; margin: 4px 0 40px; }
.rb-page *, .rb-page *::before, .rb-page *::after { box-sizing: border-box; }
.rb-page p { margin: 0 0 12px; }
.rb-page a { color: var(--rb-red, #E7133F); }
.rb-page b, .rb-page strong { font-weight: 700; }
.rb-page ul, .rb-page ol { margin: 0; padding: 0; list-style: none; }
.rb-page ul li::before, .rb-page ol li::before { content: none; }
.rb-page li { margin: 0; padding: 0; }
.rb-page section { margin: 0 0 36px; }
.rb-pg-h2 { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--rb-ink, #232323); }
.rb-pg-h2 small { display: block; font-size: 15px; font-weight: 500; color: var(--rb-muted, #5E6068); margin-top: 6px; letter-spacing: 0; }
.rb-pg-h3 { font-size: 18px; line-height: 1.3; font-weight: 800; margin: 0 0 10px; }
.rb-pg-muted { color: var(--rb-muted, #5E6068); }

/* ---------- навигация по разделу ---------- */
.rb-pg-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.rb-pg-nav a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1px solid var(--rb-line, #E3E1DC); color: var(--rb-ink, #232323) !important; font-size: 14px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: border-color .15s, color .15s; }
.rb-pg-nav a:hover { border-color: var(--rb-red, #E7133F); color: var(--rb-red, #E7133F) !important; }
.rb-pg-nav a.is-active { background: var(--rb-ink, #232323); border-color: var(--rb-ink, #232323); color: #fff !important; }

/* ---------- шапка-баннер ---------- */
.rb-pg-hero { position: relative; overflow: hidden; background: var(--rb-graphite, #2E2E2E); color: #fff; border-radius: 24px; padding: 40px; margin: 0 0 36px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.rb-pg-hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(231,19,63,.38) 0%, rgba(231,19,63,0) 70%); pointer-events: none; }
.rb-pg-hero > * { position: relative; z-index: 1; }
.rb-pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rb-on-dark, #C9CBD1); margin-bottom: 16px; }
.rb-pg-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rb-red, #E7133F); }
.rb-pg-hero__title { font-size: 38px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; color: #fff; }
.rb-pg-hero__title em { font-style: normal; color: #FF4D6D; }
.rb-pg-hero__lead { font-size: 17px; line-height: 1.55; color: var(--rb-on-dark, #C9CBD1); margin: 0 0 24px; max-width: 620px; }
.rb-pg-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rb-pg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rb-pg-fact { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 16px 18px; }
.rb-pg-fact b { display: block; font-size: 24px; line-height: 1.15; font-weight: 800; color: #fff; white-space: nowrap; }
.rb-pg-fact span { display: block; font-size: 13px; line-height: 1.35; color: var(--rb-on-dark, #C9CBD1); margin-top: 4px; }
.rb-pg-fact--accent { background: var(--rb-red, #E7133F); border-color: var(--rb-red, #E7133F); }
.rb-pg-fact--accent span { color: rgba(255,255,255,.85); }

/* ---------- кнопки ---------- */
.rb-pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none !important; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.rb-pg-btn--red { background: var(--rb-red, #E7133F); color: #fff !important; }
.rb-pg-btn--red:hover { background: var(--rb-red-dark, #B80F32); }
.rb-pg-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff !important; background: transparent; }
.rb-pg-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.rb-pg-btn--line { border-color: var(--rb-line, #E3E1DC); background: #fff; color: var(--rb-ink, #232323) !important; }
.rb-pg-btn--line:hover { border-color: var(--rb-red, #E7133F); color: var(--rb-red, #E7133F) !important; }
.rb-pg-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- карточки ---------- */
.rb-pg-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rb-pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-pg-card { background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 20px; padding: 24px; position: relative; }
.rb-pg-card > :last-child { margin-bottom: 0; }
.rb-pg-card--link { display: block; font-weight: 400; text-decoration: none !important; color: inherit !important; transition: border-color .2s, box-shadow .2s, transform .2s; }
.rb-pg-card--link:hover { border-color: var(--rb-red, #E7133F); box-shadow: 0 12px 28px rgba(35,35,35,.08); transform: translateY(-2px); }
.rb-pg-card--link:hover .rb-pg-h3 { color: var(--rb-red, #E7133F); }
.rb-pg-card--dark { background: var(--rb-graphite, #2E2E2E); border-color: var(--rb-graphite, #2E2E2E); color: #fff; }

.rb-pg-card__more { display: inline-flex; margin-top: 12px; font-weight: 700; color: var(--rb-red, #E7133F); font-size: 14px; }
.rb-pg-ico { width: 48px; height: 48px; border-radius: 14px; background: #FDE7EC; color: var(--rb-red, #E7133F); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rb-pg-ico svg { width: 24px; height: 24px; }
.rb-pg-card--dark .rb-pg-ico { background: rgba(231,19,63,.18); }
.rb-pg-card p { font-size: 14px; line-height: 1.55; color: var(--rb-muted, #5E6068); }
.rb-page .rb-pg-card--dark .rb-pg-muted, .rb-page .rb-pg-card--dark p { color: var(--rb-on-dark, #C9CBD1); }
.rb-pg-card--dark .rb-pg-h3 { color: #fff; }

/* ---------- шаги ---------- */
.rb-page .rb-pg-steps { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-pg-step { background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 20px; padding: 22px; position: relative; }
.rb-pg-step__n { display: block; font-style: normal; font-size: 32px; line-height: 1; font-weight: 800; color: var(--rb-red, #E7133F); margin-bottom: 14px; letter-spacing: -0.02em; }
.rb-pg-step > b { display: block; font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.rb-pg-step > span { display: block; font-size: 14px; line-height: 1.5; color: var(--rb-muted, #5E6068); }

/* ---------- списки ---------- */
.rb-page .rb-pg-list { display: grid; gap: 12px; }
.rb-page .rb-pg-list > li { position: relative; margin: 0 !important; padding: 0 0 0 30px !important; font-size: 15px; line-height: 1.6; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23FDE7EC'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23E7133F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 4px / 18px 18px; }
.rb-page .rb-pg-list > li::before, .rb-page .rb-pg-list > li::after { display: none !important; content: none !important; }
.rb-page .rb-pg-list--x > li { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23F1F0EC'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' fill='none' stroke='%235E6068' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.rb-page .rb-pg-list--dot > li { padding-left: 22px !important; background: radial-gradient(circle, var(--rb-red, #E7133F) 0 3.5px, transparent 4px) no-repeat 0 8px / 8px 8px; }
.rb-page .rb-pg-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }

/* ---------- плашки ---------- */
.rb-pg-note { display: flex; gap: 14px; align-items: flex-start; border-radius: 16px; padding: 18px 20px; background: #FFF1F4; border: 1px solid #FBD0DA; font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.rb-pg-note::before { content: "!"; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--rb-red, #E7133F); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.rb-pg-note--info { background: #fff; border-color: var(--rb-line, #E3E1DC); }
.rb-pg-note--info::before { content: "i"; background: var(--rb-ink, #232323); font-family: Georgia, serif; font-style: italic; }
.rb-pg-note p:last-child { margin: 0; }

/* ---------- таблица цен ---------- */
.rb-pg-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 20px; overflow: hidden; }
.rb-pg-table th, .rb-pg-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rb-line, #E3E1DC); font-size: 15px; line-height: 1.5; }
.rb-pg-table th { background: var(--rb-bg, #F4F3EF); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--rb-muted, #5E6068); }
.rb-pg-table tr:last-child td { border-bottom: 0; }
.rb-pg-table td:last-child { white-space: nowrap; font-weight: 800; }
.rb-pg-table td small { display: block; font-size: 13px; color: var(--rb-muted, #5E6068); font-weight: 500; margin-top: 2px; white-space: normal; }
.rb-pg-free { color: #2E9E57; }

/* ---------- сроки по городам ---------- */
.rb-pg-search { position: relative; max-width: 360px; margin: 0 0 16px; }
.rb-pg-search input { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--rb-line, #E3E1DC); background: #fff; padding: 0 16px 0 44px; font: inherit; font-size: 15px; color: var(--rb-ink, #232323); outline: none; }
.rb-pg-search input:focus { border-color: var(--rb-red, #E7133F); }
.rb-pg-search svg { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; color: var(--rb-muted, #5E6068); }
.rb-page .rb-pg-cities { display: block; columns: 4; column-gap: 32px; background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 20px; padding: 12px 24px; }
.rb-page .rb-pg-cities li { break-inside: avoid; display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--rb-line, #E3E1DC); font-size: 14px; }
.rb-page .rb-pg-cities li b { white-space: nowrap; font-weight: 700; color: var(--rb-ink, #232323); }
.rb-page .rb-pg-cities li[hidden] { display: none; }
.rb-pg-cities__empty { padding: 14px 0; color: var(--rb-muted, #5E6068); }

/* ---------- логотипы ТК ---------- */
.rb-pg-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.rb-pg-logos a { display: flex; align-items: center; justify-content: center; height: 72px; background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 14px; padding: 10px 14px; transition: border-color .2s; }
.rb-pg-logos a:hover { border-color: var(--rb-red, #E7133F); }
.rb-pg-logos img { max-width: 100%; max-height: 44px; object-fit: contain; }

/* ---------- контакты / реквизиты ---------- */
.rb-pg-contact { display: flex; flex-direction: column; gap: 4px; }
.rb-pg-contact a, .rb-pg-contact b { font-size: 20px; font-weight: 800; color: var(--rb-ink, #232323) !important; text-decoration: none !important; }
.rb-pg-contact a:hover { color: var(--rb-red, #E7133F) !important; }
.rb-pg-contact span { font-size: 13px; color: var(--rb-muted, #5E6068); }
.rb-pg-messengers { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- картинка + текст ---------- */
.rb-pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.rb-pg-split__img { border-radius: 20px; overflow: hidden; background: var(--rb-bg, #F4F3EF); aspect-ratio: 16 / 11; }
.rb-pg-split p { font-size: 16px; line-height: 1.65; }
.rb-pg-split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-pg-split--rev .rb-pg-split__img { order: 2; }
.rb-pg-cover { border-radius: 24px; overflow: hidden; margin: 0 0 36px; }
.rb-pg-cover img { width: 100%; height: auto; display: block; }
.rb-pg-split__img--contain { background: #fff; border: 1px solid var(--rb-line, #E3E1DC); }
.rb-pg-split__img--contain img { object-fit: contain; padding: 16px; }
.rb-pg-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: 32px; }
.rb-page .rb-pg-mission p { font-size: 15px; color: #3A3A3A; }
.rb-pg-qr { display: flex; gap: 24px; align-items: center; }
.rb-pg-qr img { flex: 0 0 140px; width: 140px; height: 140px; object-fit: contain; border-radius: 12px; }
.rb-pg-qr > div { flex: 1 1 auto; }
.rb-pg-quote { font-size: 24px; line-height: 1.5; font-weight: 700; padding-left: 22px; border-left: 4px solid var(--rb-red, #E7133F); margin: 0; }

/* ---------- CTA внизу ---------- */
.rb-pg-cta { position: relative; overflow: hidden; background: var(--rb-graphite, #2E2E2E); color: #fff; border-radius: 24px; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rb-pg-cta::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(231,19,63,.32) 0%, rgba(231,19,63,0) 70%); pointer-events: none; }
.rb-pg-cta > * { position: relative; z-index: 1; }
.rb-pg-cta__title { font-size: 24px; line-height: 1.25; font-weight: 800; margin: 0 0 6px; color: #fff; }
.rb-pg-cta__text { color: var(--rb-on-dark, #C9CBD1); font-size: 15px; margin: 0; }
.rb-pg-cta__phone { display: block; font-size: 28px; font-weight: 800; color: #fff !important; text-decoration: none !important; white-space: nowrap; line-height: 1.1; }
.rb-pg-cta__phone small { display: block; font-size: 13px; font-weight: 500; color: var(--rb-on-dark, #C9CBD1); margin-top: 4px; }
.rb-pg-cta__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- адаптив ---------- */
@media (max-width: 1199px) {
	.rb-pg-hero { grid-template-columns: 1fr; padding: 32px; }
	.rb-pg-grid--4, .rb-page .rb-pg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-page .rb-pg-cities { columns: 3; }
	.rb-pg-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.rb-pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-pg-split { grid-template-columns: 1fr; gap: 18px; }
	.rb-pg-split--rev .rb-pg-split__img { order: 0; }
	.rb-page .rb-pg-cities { columns: 2; }
}
@media (max-width: 767px) {
	.rb-page { font-size: 15px; }
	.rb-page section { margin-bottom: 28px; }
	.rb-pg-nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
	.rb-pg-nav::-webkit-scrollbar { display: none; }
	.rb-pg-nav a { height: 38px; font-size: 13px; padding: 0 14px; }
	.rb-pg-hero { padding: 24px 20px; border-radius: 20px; gap: 22px; margin-bottom: 28px; }
	.rb-pg-hero__title { font-size: 27px; }
	.rb-pg-hero__lead { font-size: 15px; margin-bottom: 20px; }
	.rb-pg-hero__actions .rb-pg-btn { flex: 1 1 100%; }
	.rb-pg-fact { padding: 12px 14px; }
	.rb-pg-fact b { font-size: 19px; }
	.rb-pg-h2 { font-size: 21px; margin-bottom: 14px; }
	.rb-pg-grid, .rb-pg-grid--2, .rb-pg-grid--4, .rb-page .rb-pg-steps { grid-template-columns: 1fr; gap: 10px; }
	.rb-pg-card { padding: 20px; border-radius: 18px; }
	.rb-pg-step { padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
	.rb-pg-step__n { grid-row: 1 / span 2; font-size: 26px; margin: 0; }
	.rb-page .rb-pg-list--cols { grid-template-columns: 1fr; }
	.rb-pg-table th, .rb-pg-table td { padding: 12px 14px; font-size: 14px; }
	.rb-pg-table td:last-child { white-space: normal; }
	.rb-page .rb-pg-cities { columns: 1; padding: 6px 18px; }
	.rb-pg-search { max-width: none; }
	.rb-pg-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-pg-cta { padding: 24px 20px; border-radius: 20px; }
	.rb-pg-cta__title { font-size: 20px; }
	.rb-pg-cta__phone { font-size: 24px; }
	.rb-pg-cta__actions { width: 100%; }
	.rb-pg-cta__actions .rb-pg-btn { flex: 1 1 100%; }
	.rb-pg-quote { font-size: 19px; }
	.rb-pg-mission { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
	.rb-pg-qr { flex-direction: column; align-items: flex-start; }
}

/* ---------- контакты ---------- */
.rb-pg-grid--inner { gap: 14px; }
.rb-pg-office { display: flex; flex-direction: column; }
.rb-pg-mapwrap { border-radius: 24px; overflow: hidden; border: 1px solid var(--rb-line, #E3E1DC); background: var(--rb-bg, #F4F3EF); height: 440px; }
.rb-pg-map { display: block; width: 100%; height: 100%; border: 0; }
.rb-pg-mapwrap > div, .rb-pg-mapwrap > div > div, .rb-pg-mapwrap [id^="BX_YMAP"] { height: 100% !important; width: 100% !important; }
.rb-pg-table--plain { border: 0; border-radius: 0; }
.rb-pg-table--plain td { padding: 12px 0; }
.rb-pg-table--plain td:last-child { text-align: right; color: var(--rb-red, #E7133F); }

/* ---------- сервис: старое описание раздела и список заменены новым блоком ---------- */
.wrapper_inner:has(.rb-page--services) .middle > .container > .text_before_items,
.wrapper_inner:has(.rb-page--services) .middle > .container > .item-views.services-mode { display: none !important; }

/* ---------- страницы с компонентами (реквизиты, сертификаты, вопрос-ответ, склады) ---------- */
.rb-comp > .text_before_items:empty { display: none; }
.rb-comp h2 { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; margin: 8px 0 16px; color: var(--rb-ink, #232323); }
.rb-comp .text_before_items { font-size: 15px; line-height: 1.6; color: #3A3A3A; margin-bottom: 18px; }
.rb-comp .text_before_items span { font-size: inherit !important; }
.rb-comp .item-views .group-content > .tab-pane > .text_before_items { background: #fff; border: 1px solid var(--rb-line, #E3E1DC); border-radius: 20px; padding: 20px 24px; }
/* реквизиты: таблица */
.rb-comp .documents .text_before_items table { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.rb-comp .documents .text_before_items table td { padding: 11px 0; border-bottom: 1px dashed var(--rb-line, #E3E1DC); vertical-align: top; font-size: 15px; }
.rb-comp .documents .text_before_items table tr:last-child td { border-bottom: 0; }
.rb-comp .documents .text_before_items table td:first-child { width: 220px; color: var(--rb-muted, #5E6068); padding-right: 16px; }
.rb-comp .documents .text_before_items table td:first-child b { font-weight: 600; }
.rb-comp .documents .text_before_items table + br, .rb-comp .documents .text_before_items > br, .rb-comp .documents .text_before_items > b { display: none; }
.rb-comp .documents .text_before_items table[cellspacing="10"] { margin-top: 10px; border-top: 1px solid var(--rb-line, #E3E1DC); }
.rb-comp .documents .text_before_items table[cellspacing="10"] td { border: 0; padding: 8px 0; width: auto; color: var(--rb-ink, #232323); }
.rb-comp .documents .text_before_items table[cellspacing="10"] td:first-child { width: 48px; }
.rb-comp .documents .text_before_items table[cellspacing="10"] tr:nth-child(2) { display: none; }
/* реквизиты: файлы */
.rb-comp .documents .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0 !important; }
.rb-comp .documents .items > [class*="col-"] { width: auto; float: none; padding: 0; display: contents; }
.rb-comp .documents .items .item { display: flex !important; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--rb-line, #E3E1DC) !important; border-radius: 16px !important; padding: 16px 18px !important; margin: 0 !important; box-shadow: none !important; transition: border-color .2s; }
.rb-comp .documents .items .item:hover { border-color: var(--rb-red, #E7133F) !important; background: #fff !important; }
.rb-comp .documents .items .item .file_type { position: static !important; flex: 0 0 auto; margin: 0 !important; }
.rb-comp .documents .items .item .body-info { padding: 0 !important; flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.rb-comp .documents .items .item .title { text-align: left !important; font-weight: 700; font-size: 15px; }
.rb-comp .documents .items .item .zoom_wrap { position: static !important; flex: 0 0 auto; }
/* сертификаты */
.rb-comp .licenses .items { gap: 14px; margin: 0 !important; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rb-comp .licenses .items > .item-wrap { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; background: #fff; border: 1px solid var(--rb-line, #E3E1DC) !important; border-radius: 20px !important; box-shadow: none !important; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.rb-comp .licenses .items > .item-wrap:hover { border-color: var(--rb-red, #E7133F) !important; box-shadow: 0 12px 28px rgba(35,35,35,.08) !important; background: #fff !important; }
.rb-comp .licenses .item .image { background: var(--rb-bg, #F4F3EF); padding: 18px; margin: 0 !important; height: 220px; display: flex; align-items: center; justify-content: center; }
.rb-comp .licenses .item .image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.rb-comp .licenses .item .image img { max-height: 184px; width: auto; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.rb-comp .licenses .item .text { padding: 14px 18px 16px !important; text-align: left !important; }
.rb-comp .licenses .item .title { font-size: 15px; font-weight: 800; text-align: left !important; color: var(--rb-ink, #232323); }
.rb-comp .licenses .item .row, .rb-comp .licenses .item .col-md-12 { margin: 0; padding: 0; }
/* вопрос-ответ */
.rb-comp .faq .tabs .nav-tabs { display: flex; flex-wrap: wrap; gap: 8px; border: 0 !important; margin: 0 0 18px; }
.rb-comp .faq .tabs .nav-tabs > li { float: none; margin: 0 !important; border: 0 !important; background: none !important; }
.rb-comp .faq .tabs .nav-tabs > li > a { display: inline-flex !important; align-items: center; height: 42px; padding: 0 16px !important; border-radius: 99px !important; background: #fff !important; border: 1px solid var(--rb-line, #E3E1DC) !important; color: var(--rb-ink, #232323) !important; font-size: 14px !important; font-weight: 700; text-transform: none !important; letter-spacing: 0 !important; }
.rb-comp .faq .tabs .nav-tabs > li.active > a { background: var(--rb-red, #E7133F) !important; border-color: var(--rb-red, #E7133F) !important; color: #fff !important; }
.rb-comp .faq .item-accordion-wrapper { background: #fff; border: 1px solid var(--rb-line, #E3E1DC) !important; border-radius: 16px !important; box-shadow: none !important; margin: 0 0 10px !important; overflow: hidden; }
.rb-comp .faq .accordion-head { padding: 18px 22px !important; font-size: 16px !important; font-weight: 700; background: #fff !important; color: var(--rb-ink, #232323) !important; }
.rb-comp .faq .accordion-head:hover { color: var(--rb-red, #E7133F) !important; }
.rb-comp .faq .accordion-body { padding: 0 22px 18px !important; }
.rb-comp .faq .accordion-body .previewtext, .rb-comp .faq .accordion-body p, .rb-comp .faq .accordion-body li { color: #3A3A3A !important; font-size: 15px; line-height: 1.6; text-align: left !important; }
.rb-comp .faq .accordion-body ul { margin: 6px 0 0; display: grid; gap: 8px; }
.rb-comp .faq .accordion-body ul li { position: relative; padding-left: 20px; }
.rb-comp .faq .accordion-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--rb-red, #E7133F); }
.rb-comp .faq .accordion-body span[style] { color: inherit !important; }
/* склады */
.rb-comp .stores-list1 .items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rb-comp .stores-list1 .item { background: #fff; border: 1px solid var(--rb-line, #E3E1DC) !important; border-radius: 18px !important; box-shadow: none !important; margin: 0 !important; padding: 18px 20px !important; transition: border-color .2s; }
.rb-comp .stores-list1 .item:hover { border-color: var(--rb-red, #E7133F) !important; }
.rb-comp .stores-list1 .item .row { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rb-comp .stores-list1 .item .row > [class*="col-"] { width: 100%; padding: 0; float: none; }
.rb-comp .stores-list1 .item .image { display: none !important; }
.rb-comp .stores-list1 .item .top-wrap { padding: 0 !important; margin: 0 !important; }
.rb-comp .stores-list1 .item .title { font-size: 16px !important; font-weight: 800; color: var(--rb-ink, #232323) !important; margin-bottom: 6px; }
.rb-comp .stores-list1 .item .item-body .row { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
.rb-comp .stores-list1 .item .item-body .row > [class*="col-"] { width: auto; }
.rb-comp .stores-list1 .item .phone a, .rb-comp .stores-list1 .item .email a { font-weight: 700; color: var(--rb-ink, #232323) !important; }
.rb-comp .stores-list1 .item .phone a[href="tel:"] { display: none; }
.rb-comp .stores-list1 .item .schedule { margin-top: 4px; }

@media (max-width: 1199px) {
	.rb-comp .licenses .items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.rb-comp h2 { font-size: 21px; }
	.rb-pg-mapwrap { height: 320px; border-radius: 20px; }
	.rb-comp .documents .items, .rb-comp .stores-list1 .items { grid-template-columns: 1fr; }
	.rb-comp .documents .text_before_items table td:first-child { width: 42%; }
	.rb-comp .item-views .group-content > .tab-pane > .text_before_items { padding: 16px 18px; }
	.rb-comp .licenses .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.rb-comp .licenses .item .image { height: 160px; padding: 12px; }
	.rb-comp .licenses .item .image img { max-height: 136px; }
	.rb-comp .faq .tabs .nav-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; }
	.rb-comp .faq .tabs .nav-tabs > li > a { white-space: nowrap; height: 38px; font-size: 13px !important; }
	.rb-comp .faq .accordion-head { padding: 16px 18px !important; font-size: 15px !important; }
}
/* правки сеток Аспро: clearfix-псевдоэлементы не должны занимать ячейки */
.rb-comp .documents .items::before, .rb-comp .documents .items::after,
.rb-comp .licenses .items::before, .rb-comp .licenses .items::after,
.rb-comp .stores-list1 .items::before, .rb-comp .stores-list1 .items::after { display: none !important; content: none !important; }
.rb-comp .documents .items .item .zoom_wrap { display: none !important; }
.rb-comp .documents .items .item .title a { color: var(--rb-ink, #232323) !important; }
.rb-comp .documents .items .item:hover .title a { color: var(--rb-red, #E7133F) !important; }
.rb-comp .licenses .item .size { text-align: left !important; margin-top: 2px; font-weight: 500; }
.rb-comp .faq .tabs { margin: 0 !important; border: 0 !important; }
.rb-comp .faq .tabs .nav-tabs > li::before, .rb-comp .faq .tabs .nav-tabs > li::after, .rb-comp .faq .tabs .nav-tabs > li > a::before, .rb-comp .faq .tabs .nav-tabs > li > a::after { display: none !important; }
.rb-comp .faq .tab-content { padding: 0 !important; margin: 0 !important; }
.rb-comp .faq .accordion-head .arrow_open { border-radius: 50% !important; }
.rb-comp .documents .items .item .body-info { justify-content: flex-start !important; }
.rb-comp .documents .items .item .body-info .title { flex: 1 1 auto; text-align: left !important; }
@media (max-width: 767px) { .rb-comp .documents .text_before_items table[cellspacing="10"] td:first-child { width: 44px !important; } .rb-comp .documents .text_before_items table[cellspacing="10"] td { text-align: left !important; } }
.rb-pg-h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 20px 0 18px; color: var(--rb-ink, #232323); }
@media (max-width: 767px) { .rb-pg-h1 { font-size: 26px; margin: 12px 0 14px; } }

/* описание товара и текст раздела над листингом: по ширине */
.detail-text-wrap .ordered-block__text, .detail-text-wrap .ordered-block__text p,
.group_description_block, .group_description_block p {
	text-align: justify !important; -webkit-hyphens: auto; hyphens: auto; text-wrap: pretty;
}
.detail-text-wrap .ordered-block__text h2, .detail-text-wrap .ordered-block__text h3, .detail-text-wrap .ordered-block__text h4,
.detail-text-wrap .ordered-block__text li, .group_description_block li { text-align: left !important; }
@media (max-width: 767px) {
	/* на телефоне описание на всю ширину карточки, без вложенной рамки */
	.detail-text-wrap .ordered-block__content, .detail-text-wrap.ordered-block__content { border: 0 !important; padding: 0 !important; }
}

/* ===== CTA «Задать вопрос» (Aspro .order-block) — в стиле сайта: графитовая карточка, красная кнопка ===== */
table.order-block { display: block; position: relative; overflow: hidden; width: 100%; margin: 32px 0 8px; background: var(--rb-graphite, #2E2E2E) !important; border: 0 !important; border-radius: 24px; box-shadow: none !important; }
table.order-block::after { content: ""; position: absolute; left: -120px; bottom: -220px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(231,19,63,.34) 0%, rgba(231,19,63,0) 70%); pointer-events: none; }
table.order-block > tbody { display: block; position: relative; z-index: 1; }
table.order-block tr { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 30px 40px; }
table.order-block td { display: block; float: none !important; width: auto !important; max-width: none !important; padding: 0 !important; border: 0 !important; background: none !important; }
table.order-block td:first-child { flex: 1 1 420px; min-width: 0; }
table.order-block .block-item .flexbox { align-items: center; gap: 20px; flex-wrap: nowrap; }
table.order-block .block-item__image { flex: 0 0 56px; width: 56px; height: 56px; margin: 0 !important; border-radius: 50%; background: rgba(231,19,63,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3Cpath d='M9.6 9.4a2.4 2.4 0 1 1 3.4 2.2c-.6.3-1 .8-1 1.5v.3'/%3E%3Ccircle cx='12' cy='16.3' r='.6' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E") center / 28px no-repeat; box-shadow: inset 0 0 0 1px rgba(231,19,63,.35); }
table.order-block .block-item__image > * { display: none !important; }
table.order-block .text { padding: 0 !important; color: #fff !important; font-size: 17px; line-height: 1.45; font-weight: 600; }
table.order-block .text b { display: block; margin-bottom: 4px; color: #fff; font-size: 22px; line-height: 1.25; font-weight: 800; }
table.order-block .text span { display: block; color: var(--rb-on-dark, #C9CBD1); font-size: 15px; font-weight: 400; }
table.order-block .btns { margin: 0 !important; }
table.order-block .btn { display: inline-flex !important; align-items: center; justify-content: center; height: 52px; padding: 0 30px !important; border: 0 !important; border-radius: 99px !important; background: var(--rb-red, #E7133F) !important; color: #fff !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1 !important; white-space: nowrap; box-shadow: 0 10px 24px rgba(231,19,63,.32) !important; transition: background .15s, transform .15s; }
table.order-block .btn:hover { background: var(--rb-red-dark, #B80F32) !important; transform: translateY(-1px); }
table.order-block .btn span { color: inherit !important; }
@media (max-width: 767px) {
	table.order-block { border-radius: 20px; margin-top: 24px; }
	table.order-block tr { padding: 24px 20px; }
	table.order-block td:first-child { flex-basis: 100%; }
	table.order-block .block-item .flexbox { align-items: flex-start; gap: 14px; }
	table.order-block .block-item__image { flex-basis: 44px; width: 44px; height: 44px; background-size: 22px; }
	table.order-block .text b { font-size: 19px; }
	table.order-block td.btns-col, table.order-block .btns, table.order-block .btns > span, table.order-block .btn { width: 100%; }
}
@media (max-width: 767px) {
	table.order-block .text, table.order-block td { text-align: left !important; }
	table.order-block td.btns-col, table.order-block td.btns-col .btns, table.order-block td.btns-col .btns > span, table.order-block td.btns-col .btn { display: flex !important; width: 100% !important; flex: 1 1 100%; }
}
table.order-block .text h1, table.order-block .text h2, table.order-block .text h3, table.order-block .text h4, table.order-block .text h5, table.order-block .text strong { display: block; margin: 0 0 4px !important; color: #fff !important; font-size: 22px !important; line-height: 1.25 !important; font-weight: 800 !important; }
table.order-block .text:has(h5, h4, h3, b, strong) { color: var(--rb-on-dark, #C9CBD1) !important; font-size: 15px; font-weight: 400; }
@media (max-width: 767px) { table.order-block .text h5, table.order-block .text h4, table.order-block .text h3, table.order-block .text strong { font-size: 19px !important; } }
