/* Intentional adjustments for the independent local copy.
   Site palette: #1ABC1A, #0B0D0B, #F0F1F5, #FFFFFF, #494D49.
   Fonts and layout are preserved from itsrobot.ru. */
:root { --brand: #1ABC1A; --brand-soft: rgb(26 188 26 / .07); --brand-line: rgb(26 188 26 / .25); --surface: #f0f1f5; --ink: #0b0d0b; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1ABC1A; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; background: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }
.header__menu li:hover .header__catalog-link { background: var(--brand); }
.header__menu a.header__catalog-link[aria-current="page"] { color: #fff; }
.local-catalog-filter { align-self: flex-start; }
.local-catalog-filter form { display: grid; gap: 18px; background: #fff; border-radius: 6px; padding: 22px; }
.local-catalog-filter h2 { font-size: 20px; font-weight: 600; }
.local-catalog-filter label { display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.local-catalog-filter input:not([type=checkbox]), .local-catalog-filter select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #dce0dc; border-radius: 4px; background: #f8f9f8; font-size: 14px; }
.local-catalog-filter .catalog-stock-filter { display: flex; align-items: center; gap: 10px; }
.local-catalog-filter input[type=checkbox] { width: 18px; height: 18px; accent-color: #1ABC1A; }
.local-catalog-filter button { padding: 12px; color: #1ABC1A; background: #e9f4e6; cursor: pointer; border-radius: 4px; }
.catalog-results-count { margin: 0 0 18px; font-size: 15px; color: #494d49; }
.local-pagination { display: flex; gap: 8px; margin: 24px 0; }
.local-pagination button { min-width: 44px; height: 44px; padding: 10px; border-radius: 4px; background: #fff; cursor: pointer; font-size: 16px; }
.local-pagination button[aria-current] { background: #1ABC1A; color: #fff; }
.catalog-empty { padding: 32px; border-radius: 6px; background: #fff; font-size: 18px; line-height: 1.6; }
.catalog__item .catalog__stock-rev { z-index: 2; }
@media (min-width: 992px) {
  .local-catalog-filter { display: block; }
  .catalog__filter-button { display: none; }
}
@media (max-width: 991px) {
  .local-catalog-filter { display: none; width: 100%; }
  .local-catalog-filter.is-open { display: block; margin-bottom: 24px; }
  .catalog__filter-button { display: block; }
  .catalog__content { width: 100%; }
}
.header__menu a[aria-current="page"] { color: var(--brand); }
/* Shared request dialogs: compact, labelled fields and contextual copy. */
.local-dialog { position: fixed; inset: 0; margin: auto; padding: 0; border: 1px solid #e2e5e2; border-radius: 16px; background: #fff; width: min(540px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); color: var(--ink); box-shadow: 0 24px 80px rgb(0 0 0 / .18); overflow-y: auto; overscroll-behavior: contain; }
.local-dialog::backdrop { background: rgb(11 13 11 / 55%); }
.local-dialog .popup__window { position: relative; left: auto; top: auto; transform: none; width: 100%; padding: 32px; background: #fff; border-radius: 0; }
.local-dialog .popup__name { margin: 0 32px 12px 0; padding: 0; text-align: left; text-transform: none; font: 600 30px/1.18 Onest, sans-serif; letter-spacing: -.035em; outline: none; }
.local-dialog .popup__desc { margin: 0 0 24px; padding: 0; text-align: left; color: #626662; font: 400 14px/1.6 Onest, sans-serif; }
.local-dialog .popup__close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #494d49; cursor: pointer; }
.local-dialog .popup__close:hover { background: #f0f1f5; color: #0b0d0b; }
.local-dialog .product-request-context, .local-dialog .roi-request-summary { margin: 0 0 22px; padding: 12px 14px; border-left: 2px solid var(--brand); border-radius: 0 6px 6px 0; background: var(--brand-soft); color: #333b33; font: 400 13px/1.6 Onest, sans-serif; }
.request-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.request-form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; font: 500 13px/1.4 Onest, sans-serif; }
.request-form__wide { grid-column: 1 / -1; }
.request-form__field small { color: #737873; font-size: 11px; font-weight: 400; }
.request-form__required { color: #494d49; }
.local-dialog .request-form input:not([type=checkbox]), .local-dialog .request-form textarea { display: block; width: 100%; min-width: 0; height: 48px; margin: 0; padding: 12px; border: 1px solid #dce1dc; border-radius: 7px; background: #fafbfa; color: #0b0d0b; font: 400 14px/1.5 Onest, sans-serif; box-sizing: border-box; }
.local-dialog .request-form textarea { height: 96px; min-height: 80px; max-height: 240px; resize: vertical; }
.local-dialog .request-form input::placeholder, .local-dialog .request-form textarea::placeholder { color: #828782; opacity: 1; }
.local-dialog .request-form input:focus, .local-dialog .request-form textarea:focus { background: #fff; border-color: var(--brand); outline: 2px solid var(--brand-soft); outline-offset: 1px; }
.local-dialog .request-form input[aria-invalid="true"] { border-color: #b42318; }
.request-form__error { color: #b42318; font: 400 12px/1.45 Onest, sans-serif; }
.request-form__consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 18px; color: #626662; font: 400 12px/1.6 Onest, sans-serif; cursor: pointer; }
.request-form__consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.request-form__consent a { color: #343d34; text-decoration: underline; text-underline-offset: 3px; }
.request-form__submit { display: block; width: 100%; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 7px; background: var(--brand); color: #081008; font: 500 15px/1.5 Onest, sans-serif; cursor: pointer; }
.request-form__submit:hover { box-shadow: inset 0 0 0 2px #101810; }
.local-dialog .local-form-note { margin-top: 12px; font-size: 11px; text-align: center; color: #737873; }
.local-dialog .local-form-status:not(:empty) { padding: 12px; border-radius: 7px; background: var(--brand-soft); font-size: 13px; }
@media (max-width: 440px) {
  .request-form__fields { grid-template-columns: 1fr; gap: 16px; }
  .local-dialog .popup__name { font-size: 26px; }
}
.local-form-note { width: 100%; margin-top: 12px; font-size: 12px; line-height: 1.5; color: #555; }
.local-form-status { width: 100%; margin-top: 12px; font-size: 14px; line-height: 1.5; color: #1ABC1A; }
.local-form-status:empty { display: none; }
.wpcf7-form-control-wrap[data-name=acceptance-803] input[type=checkbox] { width: 20px; height: 20px; left: 0; top: 50%; transform: translateY(-50%); z-index: 1; }
.wpcf7-form-control-wrap[data-name=acceptance-803] label:focus-within::before { outline: 3px solid #1ABC1A; outline-offset: 3px; }
.faq-item { max-width: 848px; margin: 0 auto 8px; padding: 28px; background: white; border-radius: 6px; }
.faq-item summary { list-style: none; background: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; font: 30px/1 Onest, sans-serif; }
.faq-item[open] { background: green; color: white; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] .faq__text { display: block; }
.calc-controls, .calc-results { min-width: 0; }
.tab-content { min-width: 0; }
.tab-pane table { max-width: 100%; }
.image-dialog { border: 0; padding: 32px; border-radius: 8px; max-width: 92vw; max-height: 90dvh; }
.image-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.image-dialog img { display: block; max-height: 80dvh; object-fit: contain; }
.image-dialog button { position: absolute; right: 5px; top: 0; font-size: 30px; background: white; cursor: pointer; }
.promo-player { position: fixed; inset: 0; margin: auto; padding: 0; width: min(840px, calc(100vw - 40px)); max-width: none; max-height: calc(100dvh - 40px); border: 0; border-radius: 16px; overflow: auto; overscroll-behavior: contain; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgb(0 0 0 / 30%); }
.promo-player::backdrop { background: rgb(11 13 11 / 72%); }
.promo-player__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.promo-player__close { position: absolute; z-index: 2; right: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f0f1f5; color: #343a34; cursor: pointer; }
.promo-player__close:hover { background: var(--brand-soft); }
.promo-player__close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.promo-player__screen { display: flex; align-items: center; min-width: 0; background: #0b0d0b; }
.promo-player .pr-video-popup-section__video { position: static; inset: auto; transform: none; display: block; width: 100%; max-width: 100%; height: min(76dvh, 680px); max-height: none; object-fit: contain; }
.promo-player__story { display: flex; flex-direction: column; padding: 32px; }
.promo-player__logo { width: 132px; height: auto; margin: 0 40px 32px 0; }
.promo-player__story h2 { margin: 0 0 16px; font: 600 34px/1.12 Onest, sans-serif; letter-spacing: -.04em; text-transform: none; }
.promo-player__intro { margin: 0; color: #626662; font: 400 14px/1.65 Onest, sans-serif; }
.promo-player__details { margin: 24px 0; padding: 0 0 0 16px; border-left: 2px solid var(--brand); }
.promo-player__story h3 { margin: 0 0 8px; font: 500 15px/1.45 Onest, sans-serif; }
.promo-player__details p, .promo-player__next p { margin: 0; font: 400 13px/1.7 Onest, sans-serif; color: #626662; }
.promo-player__next { margin-top: auto; padding-top: 24px; border-top: 1px solid #e3e7e3; }
.promo-player__cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 14px 16px; min-height: 48px; border-radius: 6px; background: var(--brand); color: #081008; font: 500 14px/1.5 Onest, sans-serif; text-decoration: none; }
.promo-player__cta svg { flex-shrink: 0; }
.promo-player__cta:hover { box-shadow: inset 0 0 0 2px #101810; }
@media (max-width: 650px) {
  .promo-player { width: min(430px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
  .promo-player__layout { grid-template-columns: 1fr; }
  .promo-player__close { position: sticky; float: right; top: 10px; margin: 10px 10px -50px 0; background: #fff; }
  .promo-player .pr-video-popup-section__video { height: min(60dvh, 500px); }
  .promo-player__story { padding: 24px; }
  .promo-player__logo { width: 116px; margin-bottom: 20px; }
  .promo-player__story h2 { font-size: 28px; }
  .promo-player__story h2 br { display: none; }
  .promo-player__details { margin: 20px 0; }
  .promo-player__next { padding-top: 20px; }
}
html.promo-player-open { overflow: hidden; }
@media (max-width: 575px) {
  .faq-item { padding: 20px; }
  .local-dialog .popup__window { padding: 32px 20px 24px; }
  .robot-calculator { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

