/* kyrim: оформление корзины/заказа (2026-11-10). Только внешний вид — логика Webasyst checkout не меняется.
   Подключается из order.html после order.css. Всё под #js-order-page / .ko-* */
:root {
  --ko-ink: #221F1F; --ko-muted: #77716B; --ko-paper: #F4F1EC; --ko-paper-2: #ECE7DF;
  --ko-line: #E4DED5; --ko-blue: #0086E8; --ko-blue-soft: #E8F3FD; --ko-sun: #FFD23F; --ko-err: #D93A2B;
  --ko-r: 20px; --ko-display: "Unbounded", Roboto, sans-serif;
}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:500 700;font-display:swap;src:url("../fonts/unbounded-var-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:500 700;font-display:swap;src:url("../fonts/unbounded-var-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ---------- фон страницы ---------- */
.outer-wrapper.order-page, .wrapper.order-page, .order-page .main { background: var(--ko-paper) !important; }
.order-page .site-footer { display: none; }

/* ---------- шапка оформления ---------- */
.ko-header { background: #fff; border-bottom: 1px solid var(--ko-line); margin: 0 0 32px; }
.ko-header__inner { max-width: 1240px; margin: 0 auto; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; box-sizing: border-box; }
.ko-header__back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ko-ink); text-decoration: none; padding: 10px 14px 10px 10px; border-radius: 999px; transition: background-color .2s; }
.ko-header__back:hover { background: var(--ko-paper); color: var(--ko-ink); text-decoration: none; }
.ko-header__logo img { display: block; height: 38px; width: auto; }
.ko-header__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.ko-header__secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ko-muted); }
.ko-header__secure svg { color: #1A9E5C; }
.ko-header__phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ko-ink); line-height: 1.2; }
.ko-header__phone small { font-size: 12px; color: var(--ko-muted); }
.ko-header__phone b { font-size: 17px; }
.ko-header__phone:hover b { color: var(--ko-blue); }

/* ---------- сетка: форма слева, корзина справа (липкая) ---------- */
#js-order-page.s-order-page {
  display: grid !important; grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; align-items: start;
  max-width: 1240px; margin: 0 auto 56px; padding: 0 20px; box-sizing: border-box;
  font-family: Roboto, Helvetica, sans-serif; color: var(--ko-ink);
}
#js-order-page > .s-order-column { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; min-width: 0; }
#js-order-page > .s-order-column:first-child { order: 2; position: sticky; top: 20px; }
#js-order-page > .s-order-column:last-child { order: 1; }

/* ---------- карточки-секции ---------- */
#js-order-page .s-order-section { background: #fff; border: 1px solid var(--ko-line) !important; border-radius: var(--ko-r); padding: 0; margin: 0 0 20px; box-shadow: 0 18px 40px -32px rgba(34,31,31,.35); overflow: hidden; }
#js-order-page .s-section-header { background: transparent !important; padding: 26px 28px 6px !important; margin: 0 !important; border: 0 !important; }
#js-order-page .s-section-header h1,
#js-order-page .s-section-header .s-header { margin: 0; font-family: var(--ko-display); font-weight: 600; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--ko-ink); }
#js-order-page #js-order-form .s-section-header h1 { font-size: 30px; }
#js-order-page .s-section-body { padding: 8px 28px 24px !important; }
#js-order-page .s-section-footer { padding: 0 28px 22px !important; border: 0 !important; }
#js-order-page .s-back-link a { font-size: 14px; color: var(--ko-muted); text-decoration: none; }
#js-order-page .s-back-link a:hover { color: var(--ko-blue); }
#js-order-page .s-delete-button { font-size: 13px; color: var(--ko-muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
#js-order-page .s-delete-button:hover { color: var(--ko-err); }
#js-order-page .s-delete-button svg { width: 9px; height: 9px; fill: currentColor; }

/* лоадеры */
#js-order-page .wa-cart-loader, #js-order-page .wa-form-loader { padding: 28px 0; color: var(--ko-muted); font-size: 14px; }

/* ---------- корзина ---------- */
#js-order-page .wa-order-cart-wrapper .wa-products { border: 0; }
#js-order-page .wa-order-cart-wrapper .wa-product { padding: 16px 0 !important; border: 0 !important; border-bottom: 1px solid var(--ko-line) !important; margin: 0 !important; }
#js-order-page .wa-order-cart-wrapper .wa-product:last-child { border-bottom: 0 !important; }
#js-order-page .wa-order-cart-wrapper .wa-product-body { align-items: center; }
#js-order-page .wa-order-cart-wrapper .wa-image-section { width: 76px; height: 76px; border-radius: 14px; background: var(--ko-paper); display: flex; align-items: center; justify-content: center; overflow: hidden; }
#js-order-page .wa-order-cart-wrapper .wa-image-section img { max-width: 64px; max-height: 64px; width: auto; height: auto; mix-blend-mode: multiply; }
#js-order-page .wa-order-cart-wrapper .wa-name { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--ko-ink); text-decoration: none; }
#js-order-page .wa-order-cart-wrapper a.wa-name:hover { color: var(--ko-blue); }
#js-order-page .wa-order-cart-wrapper .wa-weight { display: none; }
#js-order-page .wa-order-cart-wrapper .wa-details .wa-actions .wa-action { font-size: 12px; color: var(--ko-muted); cursor: pointer; }
#js-order-page .wa-order-cart-wrapper .wa-details .wa-actions .wa-action:hover { color: var(--ko-err); }
#js-order-page .wa-order-cart-wrapper .wa-price-total { font-weight: 700; font-size: 16px; white-space: nowrap; color: var(--ko-ink); }
#js-order-page .wa-order-cart-wrapper .wa-product-price { font-size: 12px; color: var(--ko-muted); }

/* количество — «пилюля» */
#js-order-page .wa-quantity-cart-section .wa-section-body { display: inline-flex; align-items: center; background: var(--ko-paper); border-radius: 999px; padding: 3px; }
#js-order-page .wa-quantity-cart-section .wa-button { width: 30px; height: 30px; min-width: 30px; padding: 0; border: 0 !important; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(34,31,31,.12); color: var(--ko-ink); display: grid; place-items: center; transition: background-color .15s, color .15s; }
#js-order-page .wa-quantity-cart-section .wa-button:hover { background: var(--ko-ink); color: #fff; }
#js-order-page .wa-quantity-cart-section .wa-button svg { fill: currentColor; }
#js-order-page .wa-quantity-cart-section .wa-field-wrapper { margin: 0 4px; }
#js-order-page .wa-quantity-cart-section .wa-field { width: 36px; height: 30px; border: 0 !important; background: transparent !important; text-align: center; font-size: 15px; font-weight: 600; box-shadow: none !important; padding: 0; }
#js-order-page .wa-quantity-cart-section .wa-unit { display: none; }

/* промокод + итог корзины */
#js-order-page .wa-cart-details { margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--ko-line); display: flex; flex-direction: column; gap: 16px; }
#js-order-page .wa-cart-details > .wa-column-content, #js-order-page .wa-cart-details > .wa-column-price { width: 100% !important; max-width: none !important; flex: none !important; }
#js-order-page .wa-coupon-section .wa-inactive-state { display: flex; gap: 8px; }
#js-order-page .wa-coupon-section .wa-input { flex: 1; height: 44px !important; border-radius: 12px !important; }
#js-order-page .wa-coupon-section .wa-button { height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--ko-ink) !important; background: #fff !important; color: var(--ko-ink) !important; font-size: 13px; font-weight: 500; text-transform: none; box-shadow: none; }
#js-order-page .wa-coupon-section .wa-button:hover { background: var(--ko-ink) !important; color: #fff !important; }
#js-order-page .wa-cart-details .wa-price-section { text-align: left; display: flex; flex-direction: column; gap: 6px; }
#js-order-page #wa-cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ko-muted); font-weight: 400; }
#js-order-page #wa-cart-total .wa-price { font-family: var(--ko-display); font-weight: 700; font-size: 26px; color: var(--ko-ink); }
#js-order-page #wa-cart-full-discount { color: #1A9E5C; font-size: 14px; }
#js-order-page .wa-weight-section { font-size: 12px; color: var(--ko-muted); text-align: right; }

/* ---------- форма ---------- */
#js-order-page .wa-order-form-wrapper .wa-step-section { padding: 22px 0 !important; margin: 0 !important; border: 0 !important; border-top: 1px solid var(--ko-line) !important; }
#js-order-page .wa-order-form-wrapper .wa-step-section:first-child { border-top: 0 !important; padding-top: 10px !important; }
#js-order-page .wa-order-form-wrapper .wa-step-section > .wa-section-header { margin: 0 0 16px !important; padding: 0 !important; }
#js-order-page .wa-order-form-wrapper .wa-section-header .wa-header { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--ko-display); font-weight: 600; font-size: 18px; line-height: 1.25; color: var(--ko-ink); counter-increment: ko-step; }
#js-order-page .wa-order-form-wrapper { counter-reset: ko-step; }
#js-order-page .wa-order-form-wrapper .wa-section-header .wa-header::before { content: counter(ko-step); display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--ko-ink); color: #fff; font-family: Roboto, sans-serif; font-size: 14px; font-weight: 700; }

#js-order-page .wa-order-form-wrapper .wa-fields-group { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0 !important; }
#js-order-page .wa-order-form-wrapper .wa-fields-group > .wa-field-wrapper { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
#js-order-page .wa-order-form-wrapper .wa-fields-group > .wa-field-wrapper.size-large,
#js-order-page .wa-order-form-wrapper .wa-fields-group > .wa-field-wrapper.size-full { grid-column: 1 / -1; }
#js-order-page .wa-order-form-wrapper .wa-line { margin: 0 0 14px; }
#js-order-page .wa-order-form-wrapper .wa-label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; color: #4E4945; }
#js-order-page .wa-required { color: var(--ko-blue); }
#js-order-page .wa-required-text { font-size: 13px; color: var(--ko-muted); background: var(--ko-paper); border-radius: 12px; padding: 10px 14px; }

/* поля ввода */
#js-order-page .wa-input, #js-order-page .wa-textarea, #js-order-page .wa-select,
#js-order-page .wa-dropdown > .wa-dropdown-toggle, #js-order-page .s-styled-select {
  height: 52px; padding: 0 16px !important; border: 1.5px solid var(--ko-line) !important; border-radius: 12px !important;
  background: #fff !important; font-size: 15px !important; color: var(--ko-ink); box-shadow: none !important; outline: 0;
  transition: border-color .15s, box-shadow .15s; box-sizing: border-box; width: 100%;
}
#js-order-page .wa-textarea { height: auto; min-height: 96px; padding: 12px 16px !important; }
#js-order-page .wa-input:hover, #js-order-page .wa-select:hover, #js-order-page .wa-dropdown > .wa-dropdown-toggle:hover { border-color: #CFC7BB !important; }
#js-order-page .wa-input:focus, #js-order-page .wa-textarea:focus, #js-order-page .wa-select:focus,
#js-order-page .wa-dropdown.is-opened > .wa-dropdown-toggle { border-color: var(--ko-blue) !important; box-shadow: 0 0 0 4px rgba(0,134,232,.14) !important; }
#js-order-page .wa-input::placeholder { color: #AFA79D; }
#js-order-page .wa-dropdown > .wa-dropdown-toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
#js-order-page .wa-dropdown .wa-dropdown-area { border-radius: 14px; border: 1px solid var(--ko-line); box-shadow: 0 20px 40px -20px rgba(34,31,31,.35); overflow: hidden; }
#js-order-page .wa-dropdown .wa-dropdown-item { padding: 12px 16px; }
#js-order-page .wa-dropdown .wa-dropdown-item:hover { background: var(--ko-paper); }

/* ошибки — только после реальной ошибки валидации */
#js-order-page .wa-input:required:not(.wa-error), #js-order-page .wa-select:required:not(.wa-error) { border-color: var(--ko-line); }
#js-order-page .wa-input.wa-error, #js-order-page .wa-textarea.wa-error, #js-order-page .wa-error > .wa-dropdown-toggle { border-color: var(--ko-err) !important; box-shadow: 0 0 0 4px rgba(217,58,43,.10) !important; color: var(--ko-ink); }
#js-order-page .wa-error-text { color: var(--ko-err); font-size: 12px; margin-top: 6px; }

/* варианты доставки/оплаты (радио-карточки) */
#js-order-page .wa-type-wrapper, #js-order-page .wa-method-wrapper, #js-order-page .wa-variant-wrapper {
  border: 1.5px solid var(--ko-line) !important; border-radius: 14px !important; padding: 14px 16px !important; background: #fff; transition: border-color .15s, background-color .15s;
}
#js-order-page .wa-type-wrapper:hover, #js-order-page .wa-method-wrapper:hover { border-color: #CFC7BB !important; }
#js-order-page .wa-type-wrapper.is-active, #js-order-page .wa-method-wrapper.is-active,
#js-order-page .wa-type-wrapper.active, #js-order-page .wa-method-wrapper.active { border-color: var(--ko-blue) !important; background: var(--ko-blue-soft); }
#js-order-page .wa-types-list, #js-order-page .wa-methods-list { display: grid; gap: 10px; }

/* итог + кнопка */
#js-order-page .wa-step-confirm-section .wa-flex-wrapper { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; background: var(--ko-paper); border-radius: 16px; padding: 20px 22px; }
#js-order-page .wa-total-section .wa-item { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; color: var(--ko-muted); }
#js-order-page .wa-total-section .wa-item .wa-value { color: var(--ko-ink); font-weight: 500; text-align: right; }
#js-order-page .wa-total-section .wa-item-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ko-line); align-items: baseline; }
#js-order-page .wa-total-section .wa-item-total .wa-name { color: var(--ko-ink); font-size: 15px; font-weight: 500; }
#js-order-page .wa-total-section .wa-item-total .wa-price { font-family: var(--ko-display); font-weight: 700; font-size: 28px; color: var(--ko-ink); }
#js-order-page .wa-submit-button, #js-order-page .js-submit-order-button {
  height: 56px; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; background: var(--ko-ink) !important;
  color: #fff !important; font-size: 16px !important; font-weight: 600; text-transform: none !important; letter-spacing: 0; white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(34,31,31,.7) !important; transition: background-color .2s, transform .2s, box-shadow .2s; cursor: pointer;
}
#js-order-page .wa-submit-button:hover, #js-order-page .js-submit-order-button:hover { background: var(--ko-blue) !important; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,134,232,.7) !important; }
#js-order-page .wa-terms-section, #js-order-page .wa-comment-section { font-size: 13px; color: var(--ko-muted); }

/* ---------- доверие под корзиной ---------- */
.ko-trust { background: #fff; border: 1px solid var(--ko-line); border-radius: var(--ko-r); padding: 20px 22px; display: grid; gap: 14px; }
.ko-trust__i { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ko-muted); }
.ko-trust__i b { display: block; color: var(--ko-ink); font-size: 14px; margin-bottom: 1px; }
.ko-trust__i a { color: var(--ko-blue); text-decoration: none; }
.ko-trust__ico { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ko-blue-soft); color: var(--ko-blue); }
.ko-trust__help { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--ko-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ko-muted); }
.ko-trust__help a { font-size: 16px; font-weight: 700; color: var(--ko-ink); text-decoration: none; white-space: nowrap; }
.ko-trust__help a:hover { color: var(--ko-blue); }

/* ---------- пустая корзина ---------- */
.cart-pg__empty-cart .acc-info-box { max-width: 560px; margin: 40px auto; padding: 48px 32px; text-align: center; background: var(--ko-paper); border-radius: var(--ko-r); border: 0; }
.cart-pg__empty-cart .acc-info-box__title { font-family: var(--ko-display); font-weight: 600; font-size: 24px; color: var(--ko-ink); margin-bottom: 10px; }
.cart-pg__empty-cart .acc-info-box__text { font-size: 15px; color: var(--ko-muted); }
.cart-pg__empty-cart .acc-info-box__text a { color: var(--ko-blue); }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  #js-order-page.s-order-page { grid-template-columns: minmax(0, 1fr) 380px; }
}
@media (max-width: 1023px) {
  #js-order-page.s-order-page { grid-template-columns: minmax(0, 1fr); }
  #js-order-page > .s-order-column:first-child { order: 0; position: static; }
  #js-order-page > .s-order-column:last-child { order: 1; }
  .ko-header__secure { display: none; }
}
@media (max-width: 767px) {
  .ko-header { margin-bottom: 16px; }
  .ko-header__inner { grid-template-columns: auto 1fr auto; gap: 10px; padding: 12px 14px; }
  .ko-header__back span, .ko-header__phone small { display: none; }
  .ko-header__logo { justify-self: center; }
  .ko-header__logo img { height: 30px; }
  .ko-header__phone b { font-size: 14px; }
  #js-order-page.s-order-page { padding: 0 10px; gap: 14px; }
  #js-order-page .s-order-section { border-radius: 16px; margin-bottom: 14px; }
  #js-order-page .s-section-header { padding: 20px 18px 4px !important; }
  #js-order-page .s-section-header h1, #js-order-page .s-section-header .s-header, #js-order-page #js-order-form .s-section-header h1 { font-size: 21px; }
  #js-order-page .s-section-body { padding: 6px 18px 18px !important; }
  #js-order-page .s-section-footer { padding: 0 18px 18px !important; }
  #js-order-page .wa-order-form-wrapper .wa-fields-group { grid-template-columns: minmax(0, 1fr); }
  #js-order-page .wa-step-confirm-section .wa-flex-wrapper { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  #js-order-page .wa-submit-button, #js-order-page .js-submit-order-button { width: 100%; }
  #js-order-page .wa-order-cart-wrapper .wa-image-section { width: 60px; height: 60px; }
  #js-order-page .wa-order-cart-wrapper .wa-image-section img { max-width: 50px; max-height: 50px; }
}

/* ===== правки после первого просмотра ===== */
/* clearfix темы (::before/::after) занимал ячейку сетки полей */
#js-order-page .wa-order-form-wrapper .wa-fields-group::before,
#js-order-page .wa-order-form-wrapper .wa-fields-group::after { content: none !important; display: none !important; }
/* select: рамка только у самого поля, обёртка темы — без оформления */
#js-order-page .s-styled-select { height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; position: relative; }
#js-order-page .s-styled-select .wa-select, #js-order-page select.wa-select { -webkit-appearance: none; appearance: none; padding-right: 40px !important; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=8 viewBox=0 0 12 8%3E%3Cpath d=M1 1.5 6 6.5l5-5 fill=none stroke=%23221F1F stroke-width=1.8 stroke-linecap=round stroke-linejoin=round/%3E%3C/svg%3E") no-repeat right 16px center !important; }
#js-order-page .s-styled-select .s-icon, #js-order-page .s-styled-select svg { display: none !important; }

/* строка товара в узкой колонке: фото | название / количество + цена */
#js-order-page .wa-order-cart-wrapper .wa-product-body { display: grid !important; grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img det det" "img qty price"; column-gap: 14px; row-gap: 10px; align-items: center; }
#js-order-page .wa-order-cart-wrapper .wa-product-body > .wa-column-image { grid-area: img; width: auto !important; align-self: start; }
#js-order-page .wa-order-cart-wrapper .wa-product-body > .wa-column-details { grid-area: det; width: auto !important; min-width: 0; padding: 0 !important; }
#js-order-page .wa-order-cart-wrapper .wa-product-body > .wa-column-quantity { grid-area: qty; width: auto !important; padding: 0 !important; display: flex; align-items: center; gap: 10px; justify-self: start; }
#js-order-page .wa-order-cart-wrapper .wa-product-body > .wa-column-price { grid-area: price; width: auto !important; padding: 0 !important; text-align: right; }
#js-order-page .wa-order-cart-wrapper .wa-details { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#js-order-page .wa-quantity-cart-section { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#js-order-page .wa-quantity-cart-section .wa-description, #js-order-page .wa-quantity-actions { display: none !important; }
#js-order-page .wa-quantity-cart-section .wa-section-footer { padding: 0 0 0 6px; }
#js-order-page .wa-weight-section { display: none !important; }

/* итог заказа — в одну строку */
#js-order-page .wa-step-confirm-section .wa-total-section { width: auto !important; max-width: none !important; min-width: 0; }
#js-order-page .wa-total-section .wa-item-total .wa-price { white-space: nowrap; font-size: 26px; }
#js-order-page .wa-total-section .wa-item-total .wa-name { white-space: nowrap; }
#js-order-page .wa-coupon-section .wa-button { text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 1200px) and (min-width: 1024px) {
  #js-order-page .wa-step-confirm-section .wa-flex-wrapper { grid-template-columns: minmax(0, 1fr); }
  #js-order-page .wa-submit-button, #js-order-page .js-submit-order-button { width: 100%; }
}
@media (max-width: 767px) {
  #js-order-page .wa-order-cart-wrapper .wa-product-body { grid-template-columns: 60px minmax(0, 1fr) auto; }
  #js-order-page .wa-total-section .wa-item-total .wa-name { white-space: normal; }
}
#js-order-page select.wa-select { height: 52px !important; min-height: 52px; line-height: 48px; display: block; }
#js-order-page .s-minus-button .wa-icon-wrapper { display: grid !important; place-items: center; }
#js-order-page .wa-quantity-cart-section .wa-button[disabled], #js-order-page .wa-quantity-cart-section .wa-button.is-disabled { opacity: .35; pointer-events: none; }
html:has(.order-page), body:has(.order-page) { background: var(--ko-paper) !important; }
/* на странице оформления всплывашка «товар добавлен» не нужна и перекрывает шапку */
.order-page #added-to-cart, .order-page #compare-popup { display: none !important; }
/* планшет/телефон: корзина -> форма -> блок доверия */
@media (max-width: 1023px) {
  #js-order-page > .s-order-column:first-child { display: contents; }
  #js-order-page #js-order-cart { order: 0; margin: 0; }
  #js-order-page > .s-order-column:last-child { order: 1; }
  #js-order-page .ko-trust { order: 2; }
  #js-order-page .s-cross-selling-section { order: 3; margin: 0; }
  #js-order-page .s-order-column:last-child .s-order-section { margin: 0; }
}
#js-order-page .s-section-header.wa-flex-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
#js-order-page .s-delete-button { white-space: nowrap; }

/* ---------- пустая корзина (kyrim) ---------- */
.ko-empty { padding: 32px 20px 64px; }
.ko-empty__card { max-width: 640px; margin: 0 auto; padding: 56px 40px; text-align: center; border-radius: 24px; background: var(--ko-paper);
  background-image: radial-gradient(80% 100% at 50% 0%, #fff 0%, rgba(255,255,255,0) 70%); }
.ko-empty__ico { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ko-blue); box-shadow: 0 14px 30px -18px rgba(34,31,31,.4); }
.ko-empty__title { margin: 0 0 12px; font-family: var(--ko-display); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--ko-ink); }
.ko-empty__text { margin: 0 auto 28px; max-width: 460px; font-size: 16px; line-height: 1.6; color: var(--ko-muted); }
.ko-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ko-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.ko-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ko-btn--primary { background: var(--ko-ink); color: #fff; }
.ko-btn--primary:hover { background: var(--ko-blue); color: #fff; }
.ko-btn--ghost { color: var(--ko-ink); box-shadow: inset 0 0 0 1.5px var(--ko-ink); }
.ko-btn--ghost:hover { background: var(--ko-ink); color: #fff; }
@media (max-width: 767px) {
  .ko-empty { padding: 16px 10px 40px; }
  .ko-empty__card { padding: 40px 20px; border-radius: 20px; }
  .ko-empty__title { font-size: 23px; }
  .ko-empty__text { font-size: 15px; }
  .ko-empty__actions .ko-btn { width: 100%; }
}
