/* Phone layout: Figma 375. From 768px to 1439px the PC canvas is scaled to 1300px (side edges cropped). Stacking starts at 767px. */

.hero-mob {
  display: none;
}

@media (min-width: 768px) and (max-width: 1439px) {
  html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
  }

  body {
    --pc-scale: calc(100vw / 1300px);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  div.page {
    --pc-scale: inherit;
    width: 1440px;
    max-width: none;
    margin-top: 0;
    margin-right: 0;
    margin-left: calc(50% - 720px);
    transform: none;
  }

  .header-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(117px * var(--pc-scale, 1));
    transform: none;
  }

  .header {
    transform: scale(var(--pc-scale, 1));
    transform-origin: top center;
    margin-left: calc(50% - 720px);
    margin-right: 0;
  }

  .header-shell.is-compact {
    height: calc(70px * var(--pc-scale, 1));
  }

  .header-spacer {
    height: calc(117px * var(--pc-scale, 1));
    background: #000;
  }

  .page-body {
    padding-top: 0;
    transform: scale(var(--pc-scale, 1));
    transform-origin: top center;
    will-change: transform;
  }

  div.page {
    overflow: hidden;
  }

  div.page img {
    max-width: none;
  }
}

@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }

  html.popup-open,
  body.nav-open,
  body.popup-open {
    overflow: hidden;
  }

  html.popup-open body.popup-open {
    padding-right: 0;
  }

  body.popup-open .header-shell {
    padding-right: 0;
  }

  body.popup-open .page,
  body.popup-open .page-body {
    touch-action: none;
  }

  .popup__input,
  .popup__input::placeholder,
  .popup textarea {
    font-size: 16px;
  }

  .crumbs {
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
  }

  .crumbs a,
  .crumbs .ico {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: 0;
    white-space: nowrap;
  }

  .crumbs__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  div.page {
    width: 100%;
    max-width: 100%;
  }

  img {
    max-width: 100%;
  }

  .hero-mob {
    display: block;
    order: 4;
    width: calc(100% + 64px);
    margin: 40px -32px 0;
    overflow: hidden;
    pointer-events: none;
  }

  .hero-mob img {
    width: 100%;
    height: auto;
    display: block;
    max-width: none;
  }

  .tradein__hero-bg,
  .tradein__hero-dev,
  .pay__hero-bg,
  .pay__hero-dev,
  .train__hero-bg,
  .train__hero-extra,
  .delivery__hero-bg,
  .reviews__hero-bg,
  .reviews__device,
  .about__hero {
    display: none;
  }

  /* Contacts use page CSS for hero-bg + device on mobile (ACF desktop images). */
  .contacts .hero-mob {
    display: none;
  }

  .header-shell,
  .header,
  .hero,
  .advantages,
  .products,
  .calculator,
  .cta-row,
  .promo,
  .faq,
  .catalog,
  .product,
  .reviews,
  .contacts,
  .about,
  .tradein,
  .pay,
  .train,
  .delivery,
  .blog,
  .article,
  .compare,
  .page-inner,
  .footer {
    width: 100%;
    clip-path: none;
    box-shadow: none;
  }

  /* ========== HEADER ========== */
  .header-shell {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 58px;
  }

  .header-spacer {
    display: none;
  }

  .header-shell::before {
    display: none;
  }

  .header-shell.is-compact,
  .header-shell.is-compact .header {
    height: 58px;
  }

  .header {
    display: block;
    height: 58px;
    padding: 0;
    z-index: 50;
  }

  .header__catalog-drop {
    display: none !important;
  }

  .header__logo {
    position: absolute;
    left: 20px;
    top: 0;
    height: 58px;
    font-size: 32px;
    z-index: 60;
  }

  .header__logo-img {
    height: 22px;
    max-height: 22px;
    max-width: 208px;
  }

  .header__panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px 40px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #000;
  }

  body.nav-open .header__panel {
    display: flex;
  }

  body.nav-open .header__panel::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 58px;
  }

  body.nav-open .header__round {
    display: none;
  }

  body.nav-open .header__logo,
  body.nav-open .header__burger {
    z-index: 70;
  }

  body.nav-open .header::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #000;
    z-index: 65;
    pointer-events: none;
  }

  .header__panel-top,
  .header__panel-menu,
  .header__panel-decor,
  .header__panel-legal {
    display: flex;
    position: relative;
    z-index: 1;
    width: 335px;
    max-width: calc(100vw - 40px);
    align-self: flex-start;
  }

  .header__panel-top {
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-shrink: 0;
    margin-top: 16px;
  }

  .header__panel-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    flex: 0 0 auto;
  }

  .header__panel-divider {
    display: block;
    align-self: stretch;
    width: 100%;
    height: 1px;
    background: url("../images/icon-menu-divider.svg") center / 100% 1px no-repeat;
    flex-shrink: 0;
  }

  .header__panel-decor {
    display: block;
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 293px;
    height: 296px;
    max-width: none;
    pointer-events: none;
    z-index: 0;
  }

  .header__panel-device {
    width: 100%;
    height: 100%;
    transform: scaleY(-1) rotate(180deg);
  }

  .header__panel-device img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .header__panel-legal {
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 48px;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.02em;
    opacity: 0.4;
  }

  .header__panel-legal p {
    margin: 0;
    width: 100%;
  }

  .header__contacts {
    position: static;
    left: auto;
    top: auto;
    height: auto;
    width: 134px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    margin-top: 3px;
    color: #fff;
  }

  .header__phone {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #fff;
  }

  .header__hours {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.4;
  }

  .header__consult {
    position: static;
    left: auto;
    top: auto;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 154px);
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 90px;
    background: #e02a5d;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    white-space: nowrap;
    transform: none;
    box-shadow: none;
  }

  .header__consult::before {
    display: none;
  }

  .header__consult:hover,
  .header__consult:active {
    transform: none;
    box-shadow: none;
  }

  .header__nav,
  .header__sub {
    position: static;
    left: auto;
    top: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    max-width: 100%;
  }

  .header__nav {
    gap: 20px;
    margin-left: 0;
  }

  .header__sub {
    gap: 10px;
    padding-bottom: 0;
  }

  .header__nav a,
  .header__nav span {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    opacity: 0.8;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .header__menu-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  body.nav-catalog .header__menu-main {
    display: none;
  }

  .header__catalog-drop {
    display: none !important;
  }

  .header__catalog-wrap:hover .header__catalog-ico {
    transform: rotate(-90deg);
  }

  .header__nav a:hover,
  .header__sub a:hover {
    color: var(--pink);
    opacity: 1;
  }

  .header__nav a:hover .ico img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(95%) saturate(3500%) hue-rotate(326deg) brightness(95%) contrast(91%);
  }

  .header__catalog-sub {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .header__catalog-sub[hidden] {
    display: none !important;
  }

  .header__catalog-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
    opacity: 0.4;
    white-space: nowrap;
  }

  .header__catalog-back .ico {
    transform: rotate(90deg) scaleY(-1);
  }

  .header__catalog-sub-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .header__catalog-sub-nav a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    opacity: 0.8;
    white-space: nowrap;
    transition: color 0.2s ease, opacity 0.2s ease;
  }

  .header__catalog-sub-nav a:hover {
    color: var(--pink);
    opacity: 1;
  }

  .header__sub a,
  .header__sub span {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: auto;
    max-width: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
    opacity: 0.8;
    white-space: nowrap;
  }

  .header__catalog {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header__catalog .ico,
  .header__catalog-ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transform: rotate(-90deg);
  }

  .header__sub .header__social {
    display: none;
  }

  .header__round {
    position: absolute;
    top: calc((58px - 28px) / 2);
    z-index: 60;
    border-color: rgba(255, 255, 255, 0.2);
  }

  .header__round--tg {
    left: auto;
    right: 148px;
  }

  .header__round--ig,
  .header__round--chat {
    display: flex;
    left: auto;
  }

  .header__round--ig {
    right: 110px;
  }

  .header__round--chat {
    right: 72px;
  }

  .header:not(:has(.header__round--ig)) .header__round--chat {
    right: 110px;
  }

  .header__round--vk {
    display: none;
  }

  .header__burger {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    width: 24px;
    height: 24px;
    padding: 0;
    z-index: 60;
    line-height: 0;
    transform: translateY(-50%);
  }

  .header__burger-ico {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .header__burger-img {
    display: block;
    width: 24px;
    height: 24px;
    max-width: none;
  }

  .header__burger-img--close {
    display: none;
  }

  body.nav-open .header__burger-img--menu {
    display: none;
  }

  body.nav-open .header__burger-img--close {
    display: block;
  }

  /* ========== HERO ========== */
  .hero {
    height: auto;
    padding: 20px 0 40px;
  }

  .hero__viewport {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  .hero__slide {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    flex-direction: column;
  }

  .hero__slide.is-active {
    display: flex;
  }

  .hero__kicker,
  .hero__title,
  .hero__text,
  .hero__btns {
    position: relative;
    left: auto;
    top: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero__kicker {
    order: 1;
  }

  .hero__title {
    order: 2;
    margin-top: 20px;
    max-width: 292px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }

  .hero__text {
    order: 3;
    margin-top: 20px;
    max-width: 330px;
  }

  .hero__btns {
    order: 4;
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
    min-height: 118px;
    justify-content: flex-start;
  }

  .hero__btns .btn,
  .hero__btns .btn--lg,
  .hero__btns .btn--outline-hero {
    width: 100%;
    height: 54px;
  }

  .hero__img {
    order: 5;
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 20px;
  }

  .hero__img img,
  .hero__img picture,
  .hero__img picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .hero__stats {
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: 10px;
    row-gap: 20px;
    width: max-content;
    max-width: calc(100% - 40px);
    margin: 20px auto 0;
    padding: 0;
    justify-content: center;
    justify-items: start;
    overflow: visible;
  }

  .hero__stat {
    position: relative;
    top: auto;
    left: auto !important;
    min-width: 0;
  }

  .hero__stat-text {
    min-width: 0;
  }

  .hero__arrows {
    top: auto;
    bottom: 156px;
    height: 375px;
    padding: 0 20px;
    align-items: center;
  }

  .hero__dots {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    justify-content: center;
    width: 100%;
    margin: 40px auto 0;
    z-index: 10;
  }

  /* ========== ADVANTAGES ========== */
  .advantages {
    height: auto;
    padding: 40px 20px;
    overflow: visible;
  }

  .advantages__card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    padding: 20px 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    align-items: start;
  }

  .adv {
    width: 100%;
    height: auto;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 0;
  }

  .adv--mid {
    width: 100%;
  }

  .adv__text {
    width: 100%;
    gap: 10px;
  }

  .adv__desc {
    width: 100%;
  }

  .adv__sep {
    display: none;
  }

  /* ========== PRODUCTS ========== */
  .products {
    height: auto;
    min-height: 0;
    padding: 40px 0 20px;
  }

  .products__title {
    position: static;
    left: auto;
    top: auto;
    margin: 0 20px;
    font-size: 24px;
  }

  .products__all {
    position: static;
    left: auto;
    top: auto;
    margin: 10px 20px 0;
  }

  .products__grid {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 20px;
    padding: 0 20px 20px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .products__grid::-webkit-scrollbar {
    display: none;
  }

  /* ========== CALCULATOR ========== */
  .calculator {
    height: auto;
    padding: 40px 20px 0;
  }

  .calc {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .calc__title,
  .calc__lead,
  .calc__lab,
  .calc__field,
  .calc__result {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
  }

  .calc__title {
    font-size: 24px;
    max-width: 220px;
  }

  .calc__lead {
    max-width: 278px;
    margin-top: 20px;
  }

  .calc__row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  .calc__row--eq { order: 2; }
  .calc__row--proc { order: 3; }
  .calc__row--rent { order: 4; }
  .calc__row--ses { order: 5; }
  .calc__row--sal { order: 6; }
  .calc__row--pct { order: 7; }
  .calc__row--days { display: none; }

  .calc__title { order: 0; }
  .calc__lead { order: 1; }
  .calc__result { order: 8; }

  .calc__field {
    height: 47px;
  }

  .calc__row--eq {
    position: relative;
    z-index: 2;
  }

  .calc__select-wrap {
    position: relative;
    z-index: 3;
  }

  .calc__options {
    z-index: 12;
  }

  .calc--model-open .calc__row--proc,
  .calc--model-open .calc__row--rent,
  .calc--model-open .calc__row--ses,
  .calc--model-open .calc__row--sal,
  .calc--model-open .calc__row--pct,
  .calc--model-open .calc__result {
    pointer-events: none;
  }

  .calc--model-open .calc__row--eq,
  .calc--model-open .calc__options {
    pointer-events: auto;
  }

  .calc__options,
  .calc__range {
    width: 100%;
  }

  .calc__range {
    width: calc(100% - 20px);
  }

  .calc__result {
    height: auto;
    margin-top: 20px;
    padding: 20px;
  }

  .calc__earn b {
    font-size: 28px;
  }

  .calc__earn span {
    font-size: 24px;
  }

  .calc__hr {
    width: 100%;
    margin: 16px 0;
  }

  .calc__stats li {
    display: none;
  }

  .calc__stats li:nth-child(1),
  .calc__stats li:nth-child(4) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .calc__stats li:nth-child(4) b {
    font-size: 18px;
  }

  .calc__result .btn {
    position: static;
    width: 230px;
    margin: 20px auto 0;
  }

  /* ========== CTA ========== */
  .cta-row {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px 0;
  }

  .cta {
    position: relative;
    left: auto;
    width: 100%;
    height: 427px;
  }

  .cta--help {
    height: 416px;
  }

  .cta__title {
    left: 20px;
    top: 20px;
    z-index: 2;
    font-size: 18px;
  }

  .cta--dark .cta__title {
    left: 30px;
    top: 30px;
  }

  .cta__text {
    left: 20px;
    top: 52px;
    z-index: 2;
    width: calc(100% - 40px);
  }

  .cta--dark .cta__text {
    left: 30px;
    top: 62px;
    width: calc(100% - 60px);
  }

  .cta__btn {
    left: 20px;
    top: 138px;
    bottom: auto;
    z-index: 2;
    margin-top: 20px;
  }

  .cta--dark .cta__btn {
    left: 30px;
    top: 148px;
  }

  .cta--dark .cta__img {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 219px;
    height: 219px;
    transform: translateX(-50%);
  }

  .cta--help .cta__img {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    width: min(411px, calc(100% - 40px));
    height: 218px;
    transform: translateX(-50%);
  }

  .cta--help .cta__img-bg {
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 218px;
    transform: none;
  }

  .cta--help .cta__img-photo {
    right: 0;
    top: 0;
    width: 243px;
    height: 218px;
    transform: none;
  }

  /* ========== PROMO ========== */
  .promo,
  .promo--credit,
  .promo--trade {
    height: auto;
    padding: 10px 20px 0;
  }

  .promo__box {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 1066px;
  }

  .promo__kicker {
    left: 20px;
    top: 20px;
  }

  .promo__title {
    left: 20px;
    top: 57px;
    width: calc(100% - 40px);
    font-size: 24px;
  }

  .promo__lead,
  .promo--credit .promo__lead,
  .promo--trade .promo__lead {
    left: 20px;
    top: 210px;
    width: calc(100% - 40px);
  }

  .promo__feats {
    left: 20px;
    top: 320px;
    width: calc(100% - 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 20px 5px;
  }

  .promo--credit .promo__box,
  .promo--trade .promo__box {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 0;
    box-sizing: border-box;
  }

  .feat {
    width: calc(50% - 3px);
  }

  .promo--credit .feat:nth-child(n + 4) {
    display: none;
  }

  .promo__btns {
    left: 20px;
    right: 20px;
    bottom: auto;
    top: 591px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
  }

  .promo--credit .promo__kicker,
  .promo--credit .promo__title,
  .promo--credit .promo__lead,
  .promo--credit .promo__feats,
  .promo--credit .promo__btns,
  .promo--trade .promo__kicker,
  .promo--trade .promo__title,
  .promo--trade .promo__lead,
  .promo--trade .promo__feats,
  .promo--trade .promo__btns {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    width: 100%;
  }

  .promo--credit .promo__kicker,
  .promo--trade .promo__kicker {
    margin: 0;
  }

  .promo--credit .promo__title,
  .promo--trade .promo__title {
    margin: 16px 0 0;
  }

  .promo--credit .promo__lead,
  .promo--trade .promo__lead {
    margin: 16px 0 0;
  }

  .promo--credit .promo__feats,
  .promo--trade .promo__feats {
    margin: 24px 0 0;
  }

  .promo--credit .promo__btns,
  .promo--trade .promo__btns {
    margin: 24px 0 0;
    flex-direction: column;
    align-items: stretch;
  }

  .promo__btns .btn {
    width: 100%;
    justify-content: center;
  }

  .promo--credit .promo__img {
    order: 10;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: calc(100% + 40px);
    height: auto;
    margin: 24px -20px 0;
  }

  .promo--credit .promo__img-desk {
    display: none;
  }

  .promo--credit .promo__img-mob {
    display: block;
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain !important;
    object-position: right bottom;
  }

  .promo--trade .promo__img {
    order: 10;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100% + 40px);
    height: auto;
    margin: 24px -20px 0;
  }

  .promo--trade .promo__img img {
    position: static;
    left: auto;
    top: auto;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .promo--trade .promo__fade {
    background: linear-gradient(180deg, #06070a 0%, rgba(6, 7, 10, 0) 35%);
  }

  /* ========== FAQ ========== */
  .faq {
    min-height: 0;
    height: auto;
    padding: 40px 20px 80px;
  }

  .faq__title {
    font-size: 24px;
  }

  .faq__all {
    position: static;
    left: auto;
    top: auto;
    margin-top: 10px;
  }

  .faq__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .faq__item {
    width: 100%;
    min-height: 47px;
  }

  .faq__q {
    font-size: 12px;
    line-height: 1.6;
    color: #000;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .faq__chev {
    display: none;
  }

  .faq__plus {
    display: block;
    width: 10px;
    height: 10px;
  }

  .faq__item.is-open .faq__plus {
    transform: rotate(45deg);
  }

  /* ========== FOOTER ========== */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 0;
    padding: 40px 20px 40px;
    overflow: hidden;
    background: #000;
  }

  .footer__logo,
  .footer__about,
  .footer__soc,
  .footer__menu,
  .footer__contacts,
  .footer__consult,
  .footer__line,
  .footer__legal {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
  }

  .footer__logo {
    font-size: 32px;
    letter-spacing: 0.04em;
    width: auto;
  }

  .footer__logo-img {
    height: 22px;
    max-height: 22px;
    max-width: 114px;
  }

  .footer__about {
    margin-top: 10px;
    width: 100%;
    max-width: 325px;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.8;
  }

  .footer__soc {
    margin-top: 17px;
    width: auto;
    gap: 20px;
  }

  .footer__menu {
    display: grid;
    grid-template-columns: minmax(0, 158px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
    margin-top: 40px;
    width: 100%;
  }

  .footer__col {
    width: auto;
    gap: 20px;
  }

  .footer__col--cat {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .footer__col--srv {
    grid-column: 2;
    grid-row: 1;
  }

  .footer__col--co {
    grid-column: 2;
    grid-row: 2;
    margin-top: 55px;
  }

  .footer__h {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
  }

  .footer__links a {
    font-size: 12px;
    line-height: 1.6;
    white-space: normal;
  }

  .footer__split {
    width: 100%;
    max-width: 158px;
    background: rgba(255, 255, 255, 0.1);
  }

  .footer__contacts {
    margin-top: 40px;
    width: 100%;
    gap: 20px;
  }

  .footer__clist {
    gap: 20px;
    width: 100%;
  }

  .footer__citem {
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.6;
  }

  .footer__citem .ico {
    flex-shrink: 0;
    margin-top: 1px;
  }

  .footer__citem a,
  .footer__citem span {
    min-width: 0;
    word-break: break-word;
  }

  .footer__consult {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 224px;
    height: 40px;
    margin-top: 35px;
    padding: 0 20px;
    border: 1px solid #e02a5d;
    border-radius: 90px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    transform: none;
    box-shadow: none;
  }

  .footer__consult::before {
    display: none;
  }

  .footer__consult:hover,
  .footer__consult:active {
    transform: none;
    box-shadow: none;
  }

  .footer__dev2 {
    display: none;
  }

  .footer__dev1 {
    position: absolute;
    top: 624px;
    right: -84px;
    left: auto;
    bottom: auto;
    width: 359px;
    max-width: 96vw;
    height: auto;
    aspect-ratio: 359 / 363;
    max-height: none;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
  }

  .footer__dev1 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .footer__line {
    width: 100%;
    max-width: 329px;
    height: 1px;
    margin: 40px 0 0;
    background: rgba(255, 255, 255, 0.1);
  }

  .footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 329px;
    margin-top: 20px;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.02em;
  }

  .footer__legal p {
    opacity: 0.4;
  }

  .footer__legal-l,
  .footer__legal-m,
  .footer__legal-r {
    width: 100%;
    max-width: none;
    text-align: left;
    white-space: normal;
  }

  /* ========== POPUP ========== */
  .popup.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px 16px;
    box-sizing: border-box;
  }

  .popup__card {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex: 0 1 auto;
    align-self: center;
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: calc(100dvh - 40px);
    max-height: calc(100svh - 40px);
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .popup--consult .popup__card,
  .popup--credit .popup__card,
  .popup--buy .popup__card {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: calc(100dvh - 40px);
    max-height: calc(100svh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px;
  }

  .popup.is-thanks .popup__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(500px, calc(100% - 32px));
    max-width: 500px;
    height: auto;
    max-height: calc(100dvh - 40px);
    max-height: calc(100svh - 40px);
    padding: 16px 16px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .admin-bar .popup__card {
    /* max-height: calc(100dvh - 86px); */
    max-height: calc(100svh - 40px);
  }

  .popup__close,
  .popup--consult .popup__close,
  .popup--credit .popup__close,
  .popup--buy .popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    flex-shrink: 0;
    margin: 0;
    z-index: 3;
  }

  .popup__header {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0 32px 0 0;
    margin: 0;
    box-sizing: border-box;
  }

  .popup.is-thanks .popup__header {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
  }

  .popup.is-thanks .popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    margin: 0;
    pointer-events: auto;
    z-index: 3;
  }

  .popup.is-thanks .popup__thanks {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .popup.is-thanks .thanks {
    gap: 20px;
    width: 100%;
  }

  .popup.is-thanks .thanks__text {
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .popup.is-thanks .thanks__btn {
    width: 100%;
    max-width: none;
  }

  .form-ok.is-open {
    padding: 20px 16px;
    box-sizing: border-box;
  }

  .form-ok__card {
    width: min(500px, calc(100% - 32px));
    padding: 16px 16px 24px;
    box-sizing: border-box;
  }

  .form-ok__card .popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    margin: 0;
    z-index: 3;
  }

  .form-ok__card .thanks {
    gap: 20px;
    width: 100%;
  }

  .form-ok__card .thanks__text {
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .form-ok__card .thanks__btn {
    width: 100%;
    max-width: none;
  }

  .popup__title,
  .popup--consult .popup__title,
  .popup--credit .popup__title,
  .popup--buy .popup__title {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    text-align: left;
    white-space: normal;
  }

  .popup__product,
  .popup__form,
  .popup__note,
  .popup__credit,
  .popup__fields,
  .popup__clab,
  .popup__select,
  .popup__terms,
  .popup__monthly,
  .popup__over,
  .popup__bens,
  .popup__thanks {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }

  .popup--consult.is-with-product .popup__product {
    margin-top: 0;
  }

  .popup--consult .popup__form--consult {
    margin-top: 0;
    gap: 12px;
  }

  .popup--consult .popup__note {
    margin-top: 0;
    white-space: normal;
    text-align: center;
  }

  .popup__product,
  .popup--consult.is-with-product .popup__product {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    padding: 10px;
    box-sizing: border-box;
    overflow: visible;
  }

  .popup__photo {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 clamp(64px, 22vw, 96px);
    width: clamp(64px, 22vw, 96px);
    height: clamp(64px, 22vw, 96px);
    max-width: clamp(64px, 22vw, 96px);
  }

  .popup__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .popup__pinfo {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .popup__pname,
  .popup__meta,
  .popup__pprice,
  .popup__old,
  .popup__sale {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
  }

  .popup__pname {
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .popup__meta {
    flex-wrap: wrap;
    white-space: normal;
    line-height: 1.3;
    row-gap: 0;
  }

  .popup__pprice {
    font-size: 16px;
  }

  .popup__deal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
  }

  .popup__select {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 47px;
    height: 47px;
    flex-shrink: 0;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .popup__select select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 40px 0 16px;
    font-size: 14px;
    line-height: normal;
  }

  .popup__select .ico {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    flex-shrink: 0;
  }

  .popup__term {
    flex: 1;
    width: auto;
    min-height: 47px;
    height: 47px;
  }

  /* ========== COOKIE ========== */
  .cookie-consent {
    padding: 16px 0;
  }

  .cookie-consent__inner {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .admin-bar div.page {
    margin-top: 46px;
  }

  .admin-bar .header-shell {
    top: 46px;
  }

  .pvideo-lb__box {
    width: calc(100vw - 32px);
  }

  .pvideo-lb__close {
    top: -40px;
  }
}

@media (max-width: 600px) {
  .hero-mob {
    width: calc(100% + 40px);
    margin: 40px -20px 0;
  }

  .crumbs {
    flex-wrap: nowrap;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
  }

  .crumbs a,
  .crumbs .ico {
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: 0;
    white-space: nowrap;
  }

  .crumbs__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 782px) {
  .admin-bar div.page {
    margin-top: 46px;
  }

  .admin-bar .header-shell {
    top: 46px;
  }
}
