div.inner {
    line-height: 1.4;
}
.form-auth {
    max-width: 500px;
}
.form-registration {
    max-width: 500px;
}
.form-restore {
    max-width: 500px;
}
.cartForm {
    max-width: 400px;
    margin: 0 auto;
}
.cartForm .form .button {
    width: 100%;
}
.cartForm > p {
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
    max-width: 240px;
    margin-left: 40px;
}
.alerts .alert__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
}
.icon-xlsx {
    background: url("/layout/d/assets/img/xlsx.png") center/contain no-repeat;
    width: 32px;
    height: 32px;
    display: block;
    margin-right: 12px;
}
.list-block {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 80px;
}
.list-block__link {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 18px;
    font-weight: 400;
    min-height: 32px;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #f2f2f2;
}
.list-block__link:after {
    content: '';
    display: block;
    background: url("/layout/d/assets/img/download.png") center/contain no-repeat;
    width: 32px;
    height: 32px;
    /*margin-left: auto;*/
}
.list-block__link:hover {
    background-color: #f2f2f2;
}
.list-block__size {
    font-weight: 600;
    margin-left: auto;
    margin-right: 8px;
}
@media (max-width: 1200px){
    .list-block {
        grid-template-columns: repeat(2, 1fr);
    }
}

.conditions__icon.icon8 {
    background-image: url(/layout/d/assets/img/008-pricelist.png);
}

/*html[data-guest-order-allowed="0"] .js-guest-order-nav,
html[data-guest-order-allowed="0"] .js-guest-order-separate,
html[data-guest-order-allowed="0"] .js-guest-order-panel,
html[data-guest-order-allowed="0"] #order-no-registration,
html[data-guest-order-allowed="0"] #modal-order-no-registration,
[data-guest-order-allowed="0"] .js-guest-order-nav,
[data-guest-order-allowed="0"] .js-guest-order-separate,
[data-guest-order-allowed="0"] .js-guest-order-panel,
[data-guest-order-allowed="0"] #order-no-registration,
[data-guest-order-allowed="0"] #modal-order-no-registration,
.is-guest-order-hidden {
    display: none !important
}*/
html[data-guest-order-allowed="0"] .js-guest-order-nav,
html[data-guest-order-allowed="0"] .js-guest-order-separate,
html[data-guest-order-allowed="0"] #modal-order-no-registration,
[data-guest-order-allowed="0"] .js-guest-order-nav,
[data-guest-order-allowed="0"] .js-guest-order-separate,
[data-guest-order-allowed="0"] #modal-order-no-registration,
.is-guest-order-hidden {
    display: none !important
}

.cart-order__tab:not(.active):not(.is-active) {
    display: none !important
}

.cart-order__tab.active,
.cart-order__tab.is-active {
    display: block !important
}

.scroll-top {
    position: fixed;
    left: 50px;
    bottom: 60px;
    z-index: 9000;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--accent, #FF8500);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    display: flex;
    align-items: center;
    justify-content: center
}

.scroll-top svg {
    width: 16px;
    height: 16px;
    display: block
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.scroll-top:hover {
    filter: brightness(.92)
}

.scroll-top:focus-visible {
    outline: 2px solid var(--accent, #FF8500);
    outline-offset: 2px
}

@media (max-width:1024px) {
    .scroll-top {
        left: 12px;
        bottom: 16px
    }
}
/* ATA offer popup — подключается в desktop (style.css) и mobile (template52) шаблонах */

/* Базовые стили модального окна нужны для мобильного шаблона (в desktop они уже есть в style.css) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.modal.open {
  display: flex;
}
.modal__content {
  position: relative;
  background: #fff;
  max-height: 90vh;
  overflow-y: auto;
}
.is-modal-open {
  overflow: hidden;
}

/* ATA offer popup */
#modal-ata-offer .modal__content {
  width: 1100px;
  border-radius: 20px;
  border: 0;
  overflow: hidden;
}

#modal-ata-offer .ata-offer-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  z-index: 5;
  width: 42px;
  height: 42px;
  color: #636363;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border: none;
  padding: 0;
}

#modal-ata-offer .ata-offer-popup__close svg {
  display: none;
}

#modal-ata-offer .ata-offer-popup__close::before,
#modal-ata-offer .ata-offer-popup__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
}

#modal-ata-offer .ata-offer-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#modal-ata-offer .ata-offer-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ata-offer-popup {
  background-color: #fff;
  border-radius: 20px;
}

.ata-offer-popup__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 10px;
  background-color: #FFF7E9;
}

.ata-offer-popup__image {
  flex: 0 0 455px;
  background-color: transparent;
  border-radius: 15px;
  overflow: hidden;
}

.ata-offer-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#modal-ata-offer[data-ata-offer-server-preview="1"] .ata-offer-popup__img--server-preview {
  display: block !important;
}

.ata-offer-popup__content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ata-offer-popup__title {
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  color: #e00909;
  text-transform: uppercase;
  white-space: pre-line;
  margin-bottom: 20px;
}

.ata-offer-popup__lead {
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
}

.ata-offer-popup__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ata-offer-popup__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ata-offer-popup__step-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: #18b700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.ata-offer-popup__step-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.ata-offer-popup__step span {
  font-size: 18px;
  line-height: 1.16;
  opacity: 0.8;
}

.ata-offer-popup__period {
  font-size: 20px;
  line-height: 1.16;
  font-weight: 600;
  opacity: 0.6;
  margin-top: auto;
}

.ata-offer-popup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 20px 60px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-decoration: none;
  background-color: #FF8500;
  border: 2px solid #FF8500;
  color: #fff;
  cursor: pointer;
}

.ata-offer-popup__cta:hover,
.ata-offer-popup__cta:focus {
  background-color: #e07600;
  border-color: #e07600;
  color: #fff;
}

/* 1200px */
@media (max-width: 1200px) {
  #modal-ata-offer .modal__content {
    width: calc(100% - 24px);
  }
  .ata-offer-popup__image {
    flex-basis: 40%;
  }
  .ata-offer-popup__content {
    padding: 28px 20px;
  }
}

/* 950px — compressed horizontal */
@media (max-width: 950px) {
  .ata-offer-popup__image {
    flex: 0 0 220px;
  }
  .ata-offer-popup__content {
    padding: 20px 16px;
    gap: 12px;
  }
  .ata-offer-popup__title {
    font-size: 26px;
    line-height: 1.16;
    margin-bottom: 0;
  }
  .ata-offer-popup__lead {
    font-size: 20px;
  }
  .ata-offer-popup__steps {
    gap: 8px;
  }
  .ata-offer-popup__step span {
    font-size: 15px;
  }
  .ata-offer-popup__step-icon,
  .ata-offer-popup__step-check {
    width: 16px;
    height: 16px;
  }
  .ata-offer-popup__step-check {
    font-size: 11px;
  }
  .ata-offer-popup__step {
    gap: 8px;
  }
  .ata-offer-popup__period {
    font-size: 15px;
  }
  .ata-offer-popup__cta {
    padding: 14px 24px;
    font-size: 14px;
  }
  #modal-ata-offer .ata-offer-popup__close {
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
  }
  #modal-ata-offer .ata-offer-popup__close::before,
  #modal-ata-offer .ata-offer-popup__close::after {
    width: 22px;
  }
}

/* 500px — vertical, image below (Figma node 21:40) */
@media (max-width: 500px) {
  #modal-ata-offer {
    align-items: flex-end;
    padding: 0;
  }
  #modal-ata-offer .modal__content {
    width: 100%;
    max-width: 100%;
    border-radius: 10px 10px 0 0;
    max-height: 90vh;
    overflow-y: auto;
  }
  .ata-offer-popup {
    border-radius: 10px 10px 0 0;
  }
  .ata-offer-popup__inner {
    flex-direction: column;
    padding: 20px;
    gap: 0;
    position: relative;
  }
  .ata-offer-popup__image {
    flex: 0 0 auto;
    order: 5;
    width: 100%;
    height: 200px;
    border-radius: 5px;
    margin-top: 20px;
  }
  .ata-offer-popup__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }
  .ata-offer-popup__content {
    order: 1;
    padding: 0;
    gap: 15px;
  }
  .ata-offer-popup__title {
    font-size: 32px;
    line-height: 1.16;
    font-weight: 600;
    margin-bottom: 0;
    order: 1;
  }
  .ata-offer-popup__lead {
    font-size: 24px;
    line-height: 1;
    order: 2;
  }
  .ata-offer-popup__step span {
    font-size: 16px;
    line-height: 1.16;
  }
  .ata-offer-popup__steps {
    order: 3;
    gap: 3px;
  }
  .ata-offer-popup__period {
    font-size: 16px;
    line-height: 1.16;
    margin-top: 40px;
    order: 4;
  }
  .ata-offer-popup__cta {
    order: 6;
    padding: 15px 40px;
    margin-top: 15px;
    width: 100%;
  }
  #modal-ata-offer .ata-offer-popup__close {
    width: 25px;
    height: 25px;
    top: 15px;
    right: 15px;
  }
  #modal-ata-offer .ata-offer-popup__close::before,
  #modal-ata-offer .ata-offer-popup__close::after {
    width: 18px;
  }
  .ata-offer-popup__step-icon {
    width: 18px;
    height: 18px;
  }
  .ata-offer-popup__step-check {
    width: 18px;
    height: 18px;
    font-size: 12px;
    margin-top: 1px;
  }
  .ata-offer-popup__step {
    gap: 3px;
  }
}
#register {
    margin-bottom: 80px;
}