.pilot-notice {
  background: #e2f9f7;
  color: #266f69;
  padding: 14px 0;
  border-bottom: 1px solid #98e5de;
}
.pilot-notice .container { font-size: 14px; line-height: 1.45; }
.pilot-lead { max-width: 720px; color: #292929; margin: 12px 0 24px; }
.header__logo img { display: block; height: 46px; width: auto; }
.header-search { flex: 1; }
.header-search__input { width: 100%; }
.catalog__links { overflow: auto; margin: 12px 0 24px; }
.catalog__links-wrapper { display: flex; gap: 8px; }
.catalog__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e7ebea; border-radius: 20px; padding: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.04); }
.card__media { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.card__buy { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 42px; border: 0; border-radius: 12px; background: #70CBC3; color: #143f3c; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; }
.card__buy--muted { background: #f3f4f9; color: #676d6c; cursor: default; }
.card__image--empty {
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f9; color: #676d6c; min-height: 225px; border-radius: 20px; position: relative;
}
.card__image--empty img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pilot-stock, .pilot-disabled-note { margin: 0; font-size: 13px; color: #676d6c; }
.card-btn[disabled], .product__button[disabled] { opacity: .72; cursor: not-allowed; }
.catalog-layer[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.catalog-layer.is-open { visibility: visible; pointer-events: auto; }
.catalog-showcase__panel { background: #fff; padding: 24px; border-radius: 20px; margin-top: 12px; }
.catalog-primary { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer__logo-link img { height: 42px; width: auto; }
.footer__bottom { margin-top: 24px; color: #676d6c; font-size: 13px; }
.form-errors { color: #8a2b2b; font-size: 14px; }
.form-errors p { margin: 0 0 6px; }
.hp-field { position: absolute; left: -10000px; height: 0; overflow: hidden; }
.ui-input textarea { width: 100%; border: 0; border-bottom: 1px solid #eaeaea; padding: 12px 0; font: inherit; resize: vertical; }
.pilot-notice--preview { background: #fff4d6; color: #6a4b00; border-bottom-color: #e6c56a; }
.header__btn-basket { position: relative; display: inline-flex; }
.pilot-pager { margin: 24px 0 48px; }
.pilot-pager__nav { display: flex; gap: 16px; align-items: center; }
.product-photo { min-height: 360px; }
.buy-row { display: flex; align-items: stretch; gap: 10px; margin: 8px 0 20px; }
.buy-row .product__button { width: auto; flex: 1 1 auto; height: 54px; margin: 0; }
.qty-stepper {
  display: flex; align-items: stretch; flex: 0 0 auto; height: 54px;
  border: 1px solid #e7ebea; border-radius: 12px; overflow: hidden; background: #fff;
}
.qty-stepper__btn {
  width: 44px; border: 0; background: #fff; color: #266f69; font-size: 22px; line-height: 1; cursor: pointer;
}
.qty-stepper__input {
  width: 48px; border: 0; border-left: 1px solid #e7ebea; border-right: 1px solid #e7ebea;
  text-align: center; font: inherit; font-size: 16px; padding: 0; background: #fff;
}
.pilot-stock span { margin-left: 8px; }
.header__burger { display: none; }
.header__sheet { display: none; }
.stock-badge {
  display: inline-flex; align-items: center; margin: 8px 0 12px; padding: 4px 10px; border-radius: 999px;
  background: #e7f8ef; color: #1f7a4d; font-size: 14px; font-weight: 600; line-height: 1.3;
}
.stock-badge--out { background: #f3f4f9; color: #676d6c; }
.product .breadcrumbs { margin-top: 0; }
.basket__product-img {
  display: flex; align-items: center; justify-content: center; width: 88px; height: 88px;
  background: #f3f4f9; color: #676d6c; font-size: 12px; text-align: center; overflow: hidden; text-decoration: none;
}
.basket__product-img img { width: 100%; height: 100%; object-fit: cover; }
.basket-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.basket-stepper {
  display: inline-flex; align-items: stretch; height: 44px; border: 1px solid #e7ebea;
  border-radius: 12px; overflow: hidden; background: #fff; flex: 0 0 auto;
}
.basket-stepper button {
  width: 40px; border: 0; background: #fff; color: #266f69; font-size: 20px; line-height: 1; cursor: pointer;
}
.basket-stepper button:disabled { color: #c5c5c5; cursor: default; }
.basket-stepper span {
  min-width: 36px; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid #e7ebea; border-right: 1px solid #e7ebea; color: #111; font-weight: 600;
}
.basket-price { margin: 0; font-size: 16px; font-weight: 600; color: #111; text-decoration: none; }
.basket-price strong { margin-left: 8px; }
.basket-text-btn {
  border: 0; background: none; padding: 0; color: #676d6c; font-size: 14px; font-weight: 500;
  line-height: 1.2; text-transform: none; cursor: pointer;
}
.basket-text-btn:hover { color: #266f69; }
.basket-summary { display: flex; flex-direction: column; gap: 12px; }
.basket-summary > div { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; color: #292929; }
.basket-summary__total { font-weight: 700; font-size: 18px; color: #111; }
.thanks-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 36px;
  max-width: 1040px; margin: 0 auto 24px; padding: 32px; background: #fff;
  border: 1px solid #e7ebea; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.thanks-card__main, .thanks-card__order { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.thanks__success { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.thanks-card__mark { display: flex; flex: 0 0 auto; }
.thanks-card__mark svg { display: block; width: 72px; height: 72px; }
.thanks-card__badge {
  display: inline-flex; align-items: center; margin: 0; padding: 8px 14px; border-radius: 999px;
  background: #e2f9f7; color: #143f3c; font-size: 18px; font-weight: 700; line-height: 1.2;
}
.thanks__note { margin: 0; font-size: 13px; line-height: 1.4; color: #676d6c; }
.thanks-steps__title { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: #111; }
.thanks-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.thanks-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: #292929; }
.thanks-steps svg { flex: 0 0 auto; }
.thanks__mark { display: block; }
.thanks__number { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.1; color: #111; }
.thanks__lead, .thanks__contacts { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.45; color: #292929; }
.thanks-card .thanks__contacts a { color: #266f69; font-weight: 600; text-decoration: none; }
.thanks-card .thanks__contacts a[href^="tel:"] { white-space: nowrap; }
.thanks__facts { display: flex; flex-direction: column; gap: 8px; }
.thanks__facts p { margin: 0; font-size: 16px; color: #292929; }
.thanks__facts span { display: inline-block; min-width: 110px; color: #676d6c; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.thanks__actions .product__button { width: auto; min-width: 240px; height: 54px; padding: 0 20px; }
.thanks__secondary {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; min-width: 160px;
  padding: 0 20px; border-radius: 12px; border: 1px solid #70CBC3; background: #fff; color: #266f69; font-weight: 600;
}
@media (max-width: 768px) {
  .thanks { padding-top: 16px; }
  .thanks-card { grid-template-columns: 1fr; padding: 28px 20px 20px; gap: 24px; }
  .thanks-card__main { display: contents; }
  .thanks-card__order { order: 2; }
  .thanks__actions { order: 3; }
  .thanks__actions .product__button, .thanks__secondary { width: 100%; }
}
.request-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.request-form .ui-input { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #292929; }
.request-form .ui-input input,
.request-form .ui-input textarea {
  width: 100%; border: 1px solid #e7ebea; border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fff; box-sizing: border-box;
}
.request-form .ui-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.request-form .ui-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.request-form .product__button { width: 100%; height: 54px; }
@media (max-width: 540px) {
  .header__nav-list {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 20px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  .header__nav-item:last-child {
    padding-inline-end: 40px;
  }
}
@media (max-width: 768px) {
  .header__top { display: flex; flex-direction: column; gap: 6px; }
  .header__middle { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
  .header-search { min-width: 100%; order: 3; }
  .product__inner { display: block; }
  .catalog__title span { display: inline; margin-left: 8px; }
  .footer__nav { flex-wrap: wrap; gap: 28px 32px; }
  .footer__nav-title { font-size: 18px; }
  .buy-row { flex-wrap: nowrap; }
  .qty-stepper, .buy-row .product__button { height: 48px; }
  .qty-stepper__btn { width: 40px; }
  .qty-stepper__input { width: 40px; }
  .header__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 0; background: transparent; padding: 10px;
  }
  .header__burger-line { display: block; height: 2px; background: #292929; border-radius: 2px; }
  .header__nav { display: none; }
  .header-search {
    display: block; order: 4; flex: 1 1 100%; min-width: 100%;
    position: relative; opacity: 1; pointer-events: auto; height: auto; top: auto; left: auto; z-index: auto;
  }
  .header-search::before {
    content: none;
    display: none;
    pointer-events: none;
    background: none;
  }
  .header-search.show::before {
    content: "";
    display: block;
    pointer-events: auto;
    background-color: rgba(41, 41, 41, .3);
  }
  .header__sheet {
    display: none; flex-direction: column; gap: 14px; padding: 8px 0 16px;
  }
  .header__sheet.is-open { display: flex; }
  .header__sheet a { font-size: 16px; color: #292929; }
  :root { --header-height: 160px; }
  .basket__product { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; row-gap: 16px; align-items: start; }
  .basket__product-img { width: 72px; height: 72px; }
  .basket__product-content { gap: 12px; min-width: 0; }
}
