:root {
  --wa-delivery-type-active-bg: light-dark(color-mix(in srgb, var(--accent-color) 0%, white 100%), color-mix(in srgb, var(--accent-color) 30%, black 100%));
  --wa-delivery-type-hover-bg: light-dark(var(--gray6), var(--black_tr_8));
  --wa-order-dialog-header-border: light-dark(#e9ecef, #333333);
}

@supports not (color: light-dark(white, black)) {
  :root {
    --wa-delivery-type-active-bg: color-mix(in srgb, var(--accent-color) 0%, white 100%);
    --wa-delivery-type-hover-bg: var(--gray6);
    --wa-order-dialog-header-border: #e9ecef;
  }
}

@media screen and (max-width: 760px) {
  html.is-order-page .globalheader #globalnav {
    z-index: 999;
  }
}
/* Reserve the vertical scrollbar before checkout content makes the page taller. */
html.is-order-page {
  scrollbar-gutter: stable;
}
#js-tu-cart-checkout > .tu-cookie-banner {
  position: static;
  max-width: none;
  max-height: none;
  margin-bottom: 20px;
}
@media (max-width: 860px) {
  html.is-order-page {
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
html.is-order-page.tu-checkout-rendering {
  overflow-anchor: none;
}
.tu-checkout-rendering #js-order-form {
  min-height: var(--tu-checkout-render-height, 0px);
}
@supports not (scrollbar-gutter: stable) {
  html.is-order-page {
    overflow-y: scroll;
  }
}
html.is-order-page .container {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
@media screen and (max-width: 1300px) {
  html.is-order-page .container {
    width: 100%;
  }
}
@media screen and (min-width: 1301px) {
  html.is-order-page .container {
    width: 1300px;
  }
}
@media screen and (min-width: 761px) {
  html.is-order-page .container {
    padding: 0 20px;
  }
}
@media screen and (min-width: 1101px) {
  html.is-order-page .container {
    padding: 0 40px;
  }
}
@media screen and (max-width: 760px) {
  html.is-order-page .container {
    padding: 0 20px;
  }
  html.is-order-page #globalnav .container {
    padding: 0 12px;
  }
}
.wa-link {
  color: var(--link-color) !important;
}
.wa-link:hover {
  color: var(--link-hover-color) !important;
}
.s-checkbox {
  display: inline-block;
  font-size: 0.857142857142857rem;
  cursor: pointer;
  transform: translate(0, 1px);
  line-height: 0;
}
.s-checkbox input {
  display: none;
  border-radius: min(.7em, var(--element-border-radius));
}
.s-checkbox input + span {
  position: relative;
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.3);
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
.s-checkbox input + span:hover {
  border-color: rgba(0,0,0,0.6);
}
.s-checkbox input + span .s-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  display: inline-block;
  vertical-align: top;
  visibility: hidden;
  color: #fff;
  line-height: 0;
}
.s-checkbox input + span .s-icon svg {
  width: 100%;
  height: 100%;
}
.s-checkbox input:checked + span {
  border: 0;
  background: #3389e0;
}
.s-checkbox input:checked + span .s-icon {
  visibility: visible;
}
.s-checkbox input:disabled + span {
  background: #e0e0e0;
  cursor: default;
}
.s-checkbox input.wa-error + span {
  border-color: #f00;
  background: transparent;
}
.s-radio {
  display: inline-block;
  font-size: 1.142857142857143rem;
  line-height: 1em;
  cursor: pointer;
}
.s-radio input {
  display: none;
}
.s-radio input + span {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
.s-radio input + span:hover {
  border-color: rgba(0,0,0,0.6);
}
.s-radio input:checked + span {
  border-color: var(--tu-secondary, #E97524) !important;
  border-width: 0.3125em;
}
.s-radio input:disabled + span {
  background: #e0e0e0;
  cursor: default;
}
.s-radio input.wa-error + span {
  border-color: #f00;
}
.wa-field-wrapper .s-styled-select {
  display: block;
}
.wa-field-wrapper .s-styled-select select {
  width: 100%;
}
.s-styled-select {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
  max-width: 100%;
}
.s-styled-select:last-child {
  margin-right: 0;
}
.s-styled-select select {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0.75rem;
  margin: 0 !important;
  line-height: 1.5;
  font-size: inherit;
  color: var(--header-menu-pages-link-color);
  appearance: none;
  outline: 0;
  background: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 200ms linear;
}
.s-styled-select select.wa-error {
  border-color: #f00;
  color: #f00;
}
.s-styled-select select.wa-error + .s-icon {
  border-color: #f00;
}
.s-styled-select select:disabled {
  cursor: default;
  opacity: 0.5;
}
.s-styled-select select option {

}
.s-styled-select select option:disabled {
  color: #888;
}
.s-styled-select select option.selected {
  font-weight: bold;
}
.s-styled-select .s-icon {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.428571428571429rem;
  height: 0.428571428571429rem;
  transform: translate(50%, -75%) rotate(45deg);
  border: solid #aaa;
  border-width: 0 1px 1px 0;
  transition: border-color 200ms linear;
}

@media screen and (max-width: 760px) {
  .s-styled-select {
    display: block;
  }
  .s-styled-select select {
    width: 100%;
  }
  .wa-signup-form-wrapper .wa-field.wa-field-birthday .wa-value {
    display: flex;
    justify-content: space-between;
  }
  .wa-signup-form-wrapper .wa-field.wa-field-birthday .wa-value .s-styled-select {
    display: inline-block;
    margin-right: 0;
  }
  .wa-signup-form-wrapper .wa-field.wa-field-birthday .wa-value .s-styled-select select {
    margin-right: 0;
  }
}
.wa-product-edit-dialog .wa-cart-section .wa-features-wrapper .wa-feature-wrapper.color {
  padding-bottom: 20px;
}
.wa-product-edit-dialog .wa-cart-section .wa-features-wrapper .wa-feature-wrapper.color .wa-variants-list .wa-variant {
  overflow: visible;
  min-width: auto;
  width: 40px;
  height: 40px;
  padding: 10px 0;
  box-sizing: border-box;
}
.wa-product-edit-dialog .wa-cart-section .wa-features-wrapper .wa-feature-wrapper.color .wa-variants-list .wa-variant.selected {
  position: relative;
}
.wa-product-edit-dialog .wa-cart-section .wa-features-wrapper .wa-feature-wrapper.color .wa-variants-list .wa-variant.selected:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 66%;
  display: block;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.5);
  background-image: url("../img/svg/icon-yes.svg");
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.wa-product-edit-dialog .wa-cart-section .wa-features-wrapper .wa-feature-wrapper.color .wa-variants-list .wa-variant .wa-variant-name {
  display: inline-block;
  color: var(--black);
  font-size: 8px;
  font-weight: 400;
  transform: translate(0, 28px);
}
.s-order-page {
  padding: 0 !important;
  margin: 0 !important;
}

.s-order-page,
.s-order-page *,
.s-order-page *::after,
.s-order-page *::before {
  box-sizing: border-box !important;
}

.s-order-page .wa-order-cross_selling-wrapper .wa-cross_selling-body,
.s-order-page .wa-order-cross_selling-wrapper .wa-slider-wrapper .wa-slider-actions .wa-action {
  background: var(--bg-color);
}
.s-order-page .wa-order-cross_selling-wrapper .wa-slider-wrapper .wa-slider-actions .wa-action {
  color: var(--bg-color);
}

.s-order-page .s-back-link {
  text-align: right;
  font-weight: 600;
  font-size: 13px;
}
.s-order-page .s-order-section:not(:first-child) {
  margin-top: 20px;
}
.s-order-page .s-order-section > .s-section-header {
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.s-order-page .s-order-section > .s-section-header > .s-header {
  margin: 0;
  font-size: 1.5em;
  line-height: 1.75em;
  font-weight: 400;
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-header .s-delete-button {
  color: var(--text-color-additional);
  font-weight: 600;
  font-size: 13px;
  line-height: 15px;
  margin-right: 10px;
}
.s-order-page .s-order-section > .s-section-header .s-delete-button:hover {
  color: var(--red);
}
.s-order-page .s-order-section > .s-section-header .s-delete-button:hover .s-delete-icon {
  fill: var(--red);
}
.s-order-page .s-order-section > .s-section-header .s-delete-button .s-delete-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 6px 0 0;
  fill: #b8b8b8;
}
.s-order-page .s-order-section > .s-section-body {
  background: var(--bg-color-accent, #fff);
  box-shadow: 0 5px 30px rgba(0,0,0,0.06);
  border-radius: var(--element-border-radius);
  padding: 18px;
}
@media screen and (max-width: 760px) {
  .s-order-page { padding-top: 0; }
  .s-order-page .s-order-section > .s-section-body {
    padding: 0.75rem;
    box-shadow: none;
  }
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-section {
  position: relative;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-section.wa-step-auth-section .wa-toggle {
  border: 1px solid var(--input-border-color);
  border-radius: var(--element-border-radius);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-section.wa-step-auth-section .wa-toggle > * {
  background-color: var(--input-bg-color) !important;
  color: var(--text-color) !important;
  padding: 0.6rem 0.75rem;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-section.wa-step-auth-section .wa-toggle > *.selected {
  background-color: var(--white-auto) !important;
  color: var(--text-color) !important;
  background-image: none;
  box-shadow: none;
  border-top-color: transparent;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-header {
  font-weight: 600;
  color: var(--header-menu-pages-link-color);
  margin-right: 8px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-contact-name {
  color: var(--header-menu-pages-link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-logout-link {
  color: var(--link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-name {
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-value > *{
  color: var(--header-menu-pages-link-color) !important;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-label {
  color: var(--gray4);
  font-weight: 400;
  font-size: 14px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-item {
  margin-top: 24px !important;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-item.wa-item-total .wa-price {
  font-weight: 600 !important;
  white-space: nowrap;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-input {
  color: var(--header-menu-pages-link-color);
  font-size: 14px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--input-border-color);
  border-radius: var(--element-border-radius);
  line-height: 1.5;
  background-color: transparent;
}
.s-order-page input:checked[type=checkbox] {
  background-color: transparent;
  background-image: var(--check-svg);
  border-color: var(--input-border-color);
  background-size: 0.85em;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-checkbox {
  display: inline-block;
  font-size: 9px;
  margin-top: -0.3em;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-checkbox + span {
  display: none;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-text {
  line-height: 150%;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-submit-button {
  text-shadow: none;
  padding: 0.857em 1.07em 0.857em 1.14em;
  overflow: hidden;
  font-weight: normal;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-select {
  border: 1px solid var(--input-border-color);
  border-radius: var(--element-border-radius);
  padding: 12px 12px;
  height: auto;
  line-height: 1.125em;
  background-image: var(--chevron-svg) !important;
  background-position: right 0.525em center !important;
  background-size: 16px !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  color: var(--header-menu-pages-link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-select + .s-icon {
  display: none;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-select:disabled,
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-select.disabled {
  background: var(--gray6);
  color: var(--gray4);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-select.wa-error {
  border: 1px solid var(--red);
  color: var(--red);
}
.s-order-page .wa-field-wrapper .wa-select option {
  background-color: var(--bg-color-accent) !important;
}
.s-order-page .wa-field-wrapper .wa-select option {
  color: var(--text-color) !important;
}
.s-order-page .wa-field-wrapper .wa-select option[disabled] {
  color: var(--text-color-additional) !important;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-required-text {
  color: var(--gray3);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-required-text .wa-required {
  color: var(--orange);
  font-size: 24px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-error-text {
  color: var(--red);
  font-size: 14px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-dropdown.is-locked > .wa-dropdown-toggle {
  background-color: var(--input-disabled-bg-color, var(--gray6)) !important;
  color: var(--input-disabled-color, var(--gray4));
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-dropdown > .wa-dropdown-toggle {
  padding: 11px 12px;
  border: 1px solid var(--input-border-color);
  border-radius: var(--element-border-radius);
  font-size: 14px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-confirm-section {
  border-top: 2px solid var(--divider-color);
  padding-top: 32px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-confirm-section.is-single {
  border-top: 0;
  padding-top: 0;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section {
  margin-top: 24px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-header {
  font-size: 1em;
  margin-bottom: 16px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper {
  position: relative;
  border: 1px solid var(--bg_tr_10);
  background: var(--bg-color-accent);
  padding: 16px;
}
@media screen and (max-width: 760px) {
  .s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper {
    border-radius: var(--element-border-radius) !important;
  }
  .s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper:not(:last-child) {
    margin-bottom: 0.5rem;
  }
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper:first-child:last-child {
  border-radius: var(--element-border-radius);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper:first-child:not(:last-child) {
  border-radius: var(--element-border-radius) 0 0 var(--element-border-radius);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper:last-child:not(:first-child) {
  border-radius: 0 var(--element-border-radius) var(--element-border-radius) 0;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper.is-active {
  box-shadow: none;
  background: var(--wa-delivery-type-active-bg);
  z-index: 0;
  overflow: hidden;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper.is-active::after {
  content: '';
  position: absolute;
  background: var(--link-color);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper.is-active .wa-name {
  font-weight: 600;
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper:not(.is-active):hover {
  background: var(--wa-delivery-type-hover-bg);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper .wa-name {
  color: var(--link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper .wa-price {
  display: inline-block;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper.is-active .wa-price {
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper .wa-date {
  display: inline-block;
  margin-left: 8px;
  color: var(--gray3);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-variants-section {
  margin-top: 24px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-variants-section .wa-header {
  font-size: 1em;
  margin-bottom: 16px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper {
  position: relative;
  border: 1px solid var(--gray5);
  background: var(--wa-delivery-type-bg);
  padding: 16px;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper:first-child:not(:last-child) {
  border-radius: var(--element-border-radius) var(--element-border-radius) 0 0;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper:last-child:not(:first-child) {
  border-radius: 0 0 var(--element-border-radius) var(--element-border-radius);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper.is-active {
  box-shadow: none;
  background: var(--white);
  z-index: 0;
  overflow: hidden;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper.is-active::after {
  content: '';
  position: absolute;
  background: var(--link-color);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper.is-active .wa-payment-name {
  font-weight: 600;
  color: var(--gray1);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper:not(.is-active):hover {
  background: var(--wa-delivery-type-hover-bg);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper .wa-payment-name {
  font-size: 16px;
  color: var(--link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper:not(.is-active) .wa-description {
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body {
  padding: 0;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product,
.wa-order-cart-wrapper .wa-products .wa-product {
  border-bottom: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 8px !important;
  position: relative !important;
  box-sizing: border-box !important;
}
/* Сетка карточки товара управляется в tutheme.css */
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body {
  position: relative !important;
  box-sizing: border-box !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-image,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-image {
  flex-shrink: 0;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-image .wa-image-section img,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-image .wa-image-section img {
  border-radius: var(--element-border-radius);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-details {
  padding-top: 0 !important;
  min-width: 0 !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-details .wa-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details .wa-name,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-details .wa-details .wa-name {
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  margin: 0;
  display: block !important;
  word-break: break-word;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details .wa-sku,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-details .wa-details .wa-sku {
  color: #64748b !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  margin: 5px 0 0 0 !important;
  display: block !important;
}
@media (min-width: 769px) {
  /* Hide duplicate actions inside wa-column-details */
  .s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details .wa-actions,
  .wa-order-cart-wrapper .wa-products .wa-product .wa-column-details .wa-actions {
    display: none !important;
  }
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-services .s-checkbox input {
  display: inline-block;
  font-size: 9px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-services .s-checkbox input + span {
  display: none !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-services .wa-label {
  padding: 3px 0 0 27px !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-services .wa-variant {
  margin-left: 23px !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section {
  margin-top: 18px;
  padding-right: 8px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section .wa-field-wrapper {
  background: transparent;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section .wa-field-wrapper .wa-field {
  font-size: 14px;
  border: 1px solid var(--input-border-color);
  background-color: transparent;
  border-radius: var(--element-border-radius);
  color: var(--header-menu-pages-link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section .wa-field-wrapper .wa-unit {
  line-height: 22px;
  font-size: 14px;
}
/* Стили кнопок количества управляются в tutheme.css */
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section .wa-button-wrapper .wa-button .wa-description,
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section .wa-button-wrapper button .wa-description {
  color: var(--gray4);
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-quantity-cart-section input {
  width: 4em;
  text-align: center;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .wa-product-fractional-prices {
  margin-right: 0;
  text-align: center;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-quantity .price {
  font-weight: 400 !important;
  color: var(--gray4) !important;
  font-size: 13px;
  line-height: 1;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-price {
  width: auto !important;
  min-width: 85px !important;
  padding-right: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-price .wa-price-total {
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

/* Мобильная сетка карточек корзины управляется в tutheme.css */
@media screen and (max-width: 760px) {
  /* Перенесено в tutheme.css */
}

.s-order-page .s-order-section > .s-section-body .wa-cart-body select {
  background-repeat: no-repeat !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: var(--element-border-radius) !important;
  vertical-align: middle;
  padding: 0.6rem 2.25rem 0.6rem 0.75rem !important;
  font-weight: 400;
  line-height: 1.5;
  background-image: var(--chevron-svg) !important;
  background-position: right 0.525em center !important;
  background-size: 16px !important;
  font-size: 13px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body select + .s-icon {
  display: none;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details {
  border-top: 2px solid var(--divider-color);
  margin-top: 18px;
  padding-top: 32px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-button {
  font-weight: normal;
  color: var(--link-color);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section {
  margin-top: 16px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-order-bonus {
  color: var(--gray4);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-price-discount {
  color: var(--gray4);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-price-total {
  color: var(--text-color);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-weight-section {
  color: var(--gray4);
  line-height: 150%;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-coupon-section .wa-input {
  color: var(--header-menu-pages-link-color);
  font-size: 14px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--input-border-color);
  border-radius: var(--element-border-radius);
  line-height: 1.5;
  background-color: transparent;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-button {
  font-size: 14px;
  padding: 0.6rem 0.75rem;
  line-height: 1.5;
  font-weight: 500;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-button.gray {
  color: var(--text-color);
  background-color: var(--bg_tr_10);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-coupon-section .wa-inactive-state .wa-button.gray:hover {
  color: var(--text-color-secondary);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-coupon-section .wa-active-state .wa-button {
  font-size: 1em;
  color: var(--white);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details {
  color: var(--gray3);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-active-state .wa-text {
  margin-right: 8px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-inactive-state .wa-button {
  font-size: 14px;
  padding: 0.6rem 0.75rem;
  line-height: 1.5;
  font-weight: 500;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-inactive-state .wa-button.gray {
  color: var(--text-color);
  background-color: var(--bg_tr_10);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-inactive-state .wa-button.gray:hover {
  color: var(--text-color-secondary);
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-active-state .wa-button {
  font-size: 1em;
  color: var(--white);
}
.s-section-footer {
  padding: 32px 10px 17px 20px;
}
.wa-order-cross_selling-wrapper .wa-product-wrapper .wa-actions-wrapper .wa-button {
  padding-top: 4px;
  padding-bottom: 4px;
}
.wa-order-form-wrapper, .wa-order-cart-wrapper { font-size: 0.875em !important; }
.wa-order-form-wrapper .wa-step-shipping-section .wa-delivery-variants-section .wa-delivery-variant .wa-date {
  opacity: 0.75;
}
.wa-order-form-wrapper .wa-step-confirm-section .wa-section-body .s-message {
  color: var(--text-color) !important;
}
.wa-order-form-wrapper .wa-step-confirm-section .wa-section-body .wa-total-section .wa-item.wa-item-total .wa-name { color: var(--text-color) !important; }
.wa-order-form-wrapper.is-locked:after, .wa-order-cart-wrapper.is-locked:after { background-color: color-mix(in srgb, var(--bg-color-accent) 75%, transparent) !important; left: -2px !important; padding: 4px !important; }
.wa-order-cart-wrapper .wa-order-form-wrapper p:first-child {
  margin-top: 0;
}
.wa-order-cart-wrapper .wa-order-form-wrapper p:last-child {
  margin-bottom: 0;
}
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-cart-body,
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-form-body {
  background: var(--white);
  padding: 20px 20px 40px;
}
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-cart-footer,
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-form-footer {
  padding: 15px 20px;
  color: var(--gray3);
}
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-cart-footer a,
.wa-order-cart-wrapper .wa-order-form-wrapper > .wa-form-footer a {
  color: #999;
}
.wa-order-cart-wrapper .wa-order-form-wrapper .wa-field-wrapper:not(.is-agreement-field) .s-checkbox {
  font-size: 1.142857142857143rem;
  transform: translate(0, 0.15em);
}
.wa-order-cart-wrapper .wa-order-form-wrapper .wa-field-wrapper.is-agreement-field .s-checkbox input:checked + span {
  background: #949494;
}
.wa-order-cart-wrapper .wa-products .wa-product .wa-actions .wa-action:hover .wa-icon {
  background: var(--input-bg-color) !important;
}
.wa-order-cart-wrapper .wa-products .wa-product.is-out-of-stock::after {
  background-color: color-mix(in srgb, var(--bg-color-accent) 75%, transparent) !important;
}
.wa-order-dialog,
.wa-confirm-dialog {
  z-index: 1050 !important;
}
.wa-order-dialog .wa-dialog-background,
.wa-confirm-dialog .wa-dialog-background {
  background-color: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(2px) !important;
  opacity: 1 !important;
}
.wa-order-dialog .wa-dialog-body,
.wa-confirm-dialog .wa-dialog-body {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  opacity: 1 !important;
  z-index: 1051 !important;
}
.wa-order-dialog .wa-dialog-header,
.wa-confirm-dialog .wa-dialog-header {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 12px 18px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}
.wa-order-dialog .wa-dialog-content,
.wa-confirm-dialog .wa-dialog-content {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  padding: 16px 18px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}
.wa-order-dialog .wa-dialog-footer,
.wa-confirm-dialog .wa-dialog-footer {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-radius: 0 0 8px 8px !important;
  padding: 12px 18px !important;
}
body:not(:has(>.wa-order-layout)) .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-variants-section .wa-variants-list .wa-variant-wrapper:hover {
  background: var(--divider-color) !important;
}
body:not(:has(>.wa-order-layout)) .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-variants-section .wa-variants-list .wa-variant-wrapper .wa-details .wa-price {
  color: var(--text-color) !important;
}
.wa-field-wrapper.size-mini {
  width: 7em !important;
}
.wa-tooltip:not(.custom):after {
  background: var(--black-auto) !important;
  border-radius: var(--element-border-radius) !important;
}
.wa-tooltip:not(.custom):before {
  border-bottom-color: var(--black-auto) !important;
}
.s-order-page .wa-dropdown > .wa-dropdown-area {
  background: var(--bg-color-accent, #fff);
  border: 1px solid var(--input-border-color) !important;
  border-radius: var(--element-border-radius);
}
.s-order-page .wa-dropdown.is-opened > .wa-dropdown-toggle:after {
  border-color: unset;
}
.s-order-page .wa-dropdown > .wa-dropdown-area > .wa-dropdown-item {
  border-top: 1px solid var(--input-border-color);
}
.s-order-page .wa-dropdown > .wa-dropdown-area > .wa-dropdown-item:hover {
  background: var(--input-bg-color);
}

body:has(>.wa-order-layout) {
  --chevron-svg: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 9L12 15L6 9' stroke='%23000000' stroke-opacity='0.5' stroke-width='1.875' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'%3E%3Cpath d='M5.81 11.333c-.276.44-.682.667-1.154.667-.486 0-.866-.2-1.22-.654L.341 7.488C.118 7.208 0 6.914 0 6.594c0-.654.498-1.188 1.141-1.188.393 0 .708.147 1.023.56l2.44 3.164L9.783.667c.275-.44.63-.667 1.023-.667C11.423 0 12 .44 12 1.108c0 .294-.157.614-.328.894l-5.862 9.33Z' fill='%23000000'/%3E%3C/svg%3E");
  color: #000;
}
.wa-order-layout .wa-dropdown > .wa-dropdown-area {
  background: #fff !important;
}
.s-order-page .s-order-section > .s-section-body .wa-form-body .wa-name {
  color: var(--accent-color, var(--gray1));
}
.s-order-page .wa-order-form-wrapper .wa-step-shipping-section .wa-delivery-variants-section .wa-delivery-variant .wa-price {
  color: var(--text-color);
}
.wa-order-layout .s-order-page .s-order-section > .s-section-header > .s-header {
  color: #444;
}
.wa-order-layout > .wa-order-header .wa-phone-section .wa-phone a {
  color: var(--header-link-color) !important;
}
.wa-order-layout > .wa-order-header .wa-logo-section .wa-description {
  color: #aaa !important;
}
.wa-order-layout > .wa-order-header .wa-shop-details-section {
  color: #828282 !important;
}
.wa-order-layout .s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-inactive-state .wa-button.gray:hover {
    color: var(--gray2);
}
.wa-order-layout .wa-order-cart-wrapper .wa-cart-details .wa-affiliate-section .wa-bonus-details .wa-details {
  color: var(--gray4);
}
.wa-order-layout .wa-order-form-wrapper .wa-step-confirm-section .wa-section-body .wa-total-section .wa-item.wa-item-total .wa-name {
  color: var(--gray1) !important;
}
.wa-order-layout .s-order-page .s-order-section > .s-section-body .wa-form-body .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper {
  background: #fcfcfc;
}
.wa-order-form-wrapper.with-adaptive .wa-step-shipping-section .wa-delivery-types-section .wa-types-list .wa-type-wrapper {
  margin-left: 0 !important;
}
.wa-order-form-wrapper .wa-step-details-section .wa-plugin-fields-wrapper > .wa-body input[type="text"]:not(.wa-input), .wa-order-form-wrapper .wa-step-details-section .wa-plugin-fields-wrapper > .wa-body textarea:not(.wa-textarea) {
  border: revert-layer !important;
  transition: revert-layer !important;
  outline: revert-layer !important;
}
.wa-order-form-wrapper .wa-step-details-section .wa-plugin-fields-wrapper > .wa-body input[type="text"]:not(.wa-input) {
  display: revert-layer !important;
  vertical-align: revert-layer !important;
  max-width: revert-layer !important;
  padding: revert-layer !important;
  box-sizing: revert-layer !important;
  font-size: revert-layer !important;
  line-height: revert-layer !important;
}
.wa-order-form-wrapper .wa-form-footer .wa-line {
  margin-top: 1.5em !important;
}
@media screen and (min-width: 841px) {
.s-order-page {
display: table;
width: 100%;
table-layout: fixed;
}
.s-order-page > .s-order-column {
display: table-cell;
vertical-align: top;
padding: 0;
}
.s-order-page > .s-order-column:first-of-type {
padding-left: 0;
width: 38%;
}
.s-order-page > .s-order-column:last-of-type {
padding-right: 0;
width: 62%;
}
.wa-order-form-wrapper .wa-form-footer {
font-size: 14px;
line-height: 1.214285714285714em;
text-align: right;
}
}
@media screen and (max-width: 840px) {
.s-order-page > .s-order-column {
margin-top: 0;
}
.s-order-page > .s-order-column:first-child {
margin-top: 0;
}
}
@media screen and (max-width: 768px) {
.s-order-section > .s-section-header {
margin-bottom: 1.25rem !important;
}
.s-order-section .s-delete-button {
width: 43%;
line-height: 14px;
text-align: right;
}
.s-order-page .wa-dropdown.is-opened > .wa-dropdown-area {
max-height: 300px;
z-index: 998;
}
}
.wa-field-date input.datetime {
  background-color: transparent;
  line-height: 1.5;
  padding: 0.6rem 0.75rem;
}

.wa-order-dialog.wa-channel-confirmation-dialog .wa-field-wrapper.with-content {
  width: 100%;
}
.wa-order-dialog.wa-channel-confirmation-dialog .wa-field-wrapper.with-content input[type="text"] {
  width: 65%;
}

/* ==========================================================================
 * Корзина: кнопка удаления и подсказки
 * ========================================================================== */
.wa-order-cart-wrapper .wa-actions .js-delete-product .wa-tooltip::before,
.wa-order-cart-wrapper .wa-actions .js-delete-product .wa-tooltip::after,
.wa-order-cart-wrapper .wa-actions .js-delete-product::before,
.wa-order-cart-wrapper .wa-actions .js-delete-product::after,
.wa-order-cart-wrapper .wa-actions [data-title]::before,
.wa-order-cart-wrapper .wa-actions [data-title]::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    content: none !important;
}

.wa-order-cart-wrapper .wa-actions .js-delete-product {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background-color: #ffffff !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.15s ease-in-out !important;
}

.wa-order-cart-wrapper .wa-actions .js-delete-product:hover {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #ef4444 !important;
}

.wa-order-cart-wrapper .wa-actions .js-delete-product:hover svg,
.wa-order-cart-wrapper .wa-actions .js-delete-product:hover .wa-icon {
    color: #ef4444 !important;
    fill: #ef4444 !important;
    stroke: #ef4444 !important;
}

/* ==========================================================================
   TUTheme Checkout 2.0 — Buyer & Delivery Panels («Эко-Крафт»)
   ========================================================================== */

/* Step section headers & panel titles */
.tu-checkout-panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
}

.tu-checkout-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #125450;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1 !important;
    text-align: center !important;
}

/* 1. Buyer Type Switcher */
.tu-checkout-buyer-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tu-checkout-buyer-tabs,
.tu-checkout-delivery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

@media (max-width: 860px) {
    .tu-checkout-buyer-tabs,
    .tu-checkout-delivery-tabs {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .tu-checkout-buyer-tab,
    .tu-checkout-delivery-tab {
        padding: 9px 3px !important;
        font-size: 14px !important;
        gap: 0 !important;
        white-space: normal !important;
        min-width: 0;
        min-height: 56px;
        line-height: 1.35;
        container: tu-checkout-tab / inline-size;
    }
    .tu-checkout-buyer-tab svg,
    .tu-checkout-delivery-tab svg {
        width: 15px !important;
        height: 15px !important;
        flex-shrink: 0 !important;
        margin-inline-end: 8px !important;
    }
    .tu-checkout-buyer-tab span,
    .tu-checkout-delivery-tab span {
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
        text-align: center;
    }
}
/* On narrow tabs, fit the label to its words so the icon follows the centered text. */
@container tu-checkout-tab (max-width: 170px) {
    .tu-checkout-buyer-tab span,
    .tu-checkout-delivery-tab span { inline-size: min-content; }
}

@media (width < 370px) {
    .tu-checkout-buyer-tab,
    .tu-checkout-delivery-tab { font-size: 12px !important; }
}
@media (max-width: 350px) {
    .tu-cart-clear-label__suffix { display: none; }
}

.tu-checkout-buyer-tab,
.tu-checkout-delivery-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.tu-checkout-buyer-tab:hover,
.tu-checkout-delivery-tab:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.tu-checkout-buyer-tab.is-active,
.tu-checkout-delivery-tab.is-active {
    border-color: #125450;
    background: #125450;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 84, 80, 0.2);
}

.tu-checkout-buyer-tab.is-active svg,
.tu-checkout-delivery-tab.is-active svg {
    stroke: #ffffff;
}

/* Company Card in Checkout */
.tu-checkout-company-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tu-company-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.tu-company-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #125450;
}

.tu-company-add-link {
    color: #e97524;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 6px;
    background: rgba(233, 117, 36, 0.08);
    border: 1px solid rgba(233, 117, 36, 0.25);
    white-space: nowrap;
}

.tu-company-add-link:hover {
    color: #ffffff;
    background: #e97524;
    border-color: #e97524;
    text-decoration: none;
}

.tu-company-card__requisites {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
}

.tu-req-tag {
    font-size: 0.85rem;
    color: #475569;
    background: #ffffff;
    border: 1px solid #dcd3c3;
    border-radius: 6px;
    padding: 3px 8px;
}

.tu-req-tag strong {
    color: #1e293b;
}

.tu-company-card__address {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

/* Multi-organization picker */
.tu-multi-org__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tu-multi-org__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.tu-multi-org__select-wrap {
    margin-bottom: 12px;
}

.tu-multi-org__select-wrap select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #1e293b;
}

/* Notice box (not logged in / no companies) */
.tu-checkout-notice-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.tu-checkout-notice-box p {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #475569;
}

/* 2. Custom Delivery Panel */
.tu-checkout-delivery-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tu-pickup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 640px) {
    .tu-pickup-cards {
        grid-template-columns: 1fr;
    }
}

.tu-pickup-card {
    position: relative;
    display: flex;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.tu-pickup-card:hover,
.tu-delivery-point-card:hover {
    border-color: #cbd5e1;
    background: #fafbfc;
}

.tu-pickup-card.is-selected,
.tu-delivery-point-card:has(.tu-point-radio:checked) {
    border-color: var(--tu-secondary, #E97524) !important;
    background: rgba(233, 117, 36, 0.04) !important;
    box-shadow: 0 0 0 1px var(--tu-secondary, #E97524) !important;
}

.tu-pickup-radio,
.tu-pickup-card input.tu-pickup-radio {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    z-index: 3 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    transition: all 0.2s ease-in-out !important;
}

.tu-pickup-card:hover input.tu-pickup-radio,
.tu-delivery-point-card:hover input.tu-point-radio {
    border-color: #94a3b8 !important;
}

.tu-pickup-card input.tu-pickup-radio:checked,
.tu-pickup-card.is-selected input.tu-pickup-radio,
.tu-delivery-point-card input.tu-point-radio:checked {
    border: 2px solid var(--tu-secondary, #E97524) !important;
    border-color: var(--tu-secondary, #E97524) !important;
    border-width: 2px !important;
    background-color: var(--tu-secondary, #E97524) !important;
    box-shadow: inset 0 0 0 3px #ffffff !important;
}

.tu-pickup-card .s-radio {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    z-index: 3 !important;
    display: block !important;
    cursor: pointer !important;
}

.tu-pickup-card .s-radio input {
    display: none !important;
}

.tu-pickup-card .s-radio span,
.tu-pickup-card .s-radio input + span {
    position: static !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #cbd5e1 !important;
    border-width: 2px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.tu-pickup-card:hover .s-radio span,
.tu-pickup-card:hover .s-radio input + span {
    border-color: #94a3b8 !important;
}

.tu-pickup-card .s-radio input:checked + span,
.tu-pickup-card.is-selected .s-radio span,
.tu-pickup-card.is-selected .s-radio input + span {
    border: 2px solid var(--tu-secondary, #E97524) !important;
    border-color: var(--tu-secondary, #E97524) !important;
    border-width: 2px !important;
    background-color: var(--tu-secondary, #E97524) !important;
    box-shadow: inset 0 0 0 3px #ffffff !important;
}

.tu-pickup-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-right: 32px !important;
    box-sizing: border-box !important;
}

.tu-pickup-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    flex: 1 1 100% !important;
    width: 100% !important;
}

.tu-pickup-card__badge {
    display: none !important;
}

.tu-pickup-card__address {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 4px;
    line-height: 1.35;
}

.tu-pickup-card__schedule {
    font-size: 0.8rem;
    color: #64748b;
}

.tu-pickup-card__content { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.tu-pickup-card__footer { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tu-pickup-card__footer .tu-pickup-card__badge-row { margin: 0; }
.tu-pickup-card__footer .tu-pickup-map-button { margin: 0 0 0 auto; flex-shrink: 0; }

/* Pickup coordinates come from the shipping plugin. The map loads on demand. */
.tu-pickup-map-button {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 10px;
    border: 1px solid var(--tu-primary, #125450);
    border-radius: 6px;
    background: var(--tu-surface, #fff);
    color: var(--tu-primary, #125450);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}
.tu-pickup-map-button:hover {
    background: var(--tu-primary, #125450);
    color: #fff;
}
.tu-pickup-map-button:focus-visible,
.tu-pickup-map__close:focus-visible,
.tu-pickup-map__link:focus-visible {
    outline: 2px solid var(--tu-primary, #125450);
    outline-offset: 3px;
}
.tu-pickup-map {
    position: fixed;
    z-index: 1100;
    box-sizing: border-box;
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--tu-border, #D7DCD5);
    border-radius: 10px;
    background: var(--tu-surface, #fff);
    color: var(--tu-text, #1C2826);
    box-shadow: 0 8px 28px rgba(28, 40, 38, 0.2);
}
.tu-pickup-map[hidden] { display: none; }
.tu-pickup-map__header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tu-pickup-map__title { flex: 1; overflow-wrap: anywhere; font-size: 0.9rem; }
.tu-pickup-map__close { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 24px; padding: 2px 8px; }
.tu-pickup-map iframe { display: block; width: 100%; height: min(280px, 55dvh); border: 0; border-radius: 6px; }
.tu-pickup-map__link { display: inline-block; margin-top: 8px; color: var(--tu-primary, #125450); font-size: 0.85rem; }

/* Courier Delivery Points Cards */
.tu-delivery-point-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tu-delivery-point-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tu-point-card__radio-col {
    display: flex;
    flex-shrink: 0;
}

.tu-delivery-point-card input.tu-point-radio {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    border: 2px solid #cbd5e1 !important;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.tu-delivery-point-card input.tu-point-radio:focus-visible {
    outline: 2px solid var(--tu-primary, #125450);
    outline-offset: 3px;
}

.tu-point-card__body {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.tu-point-card__title-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.tu-point-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.tu-point-card__tag {
    font-size: 0.72rem;
    background: #f1f5f9;
    color: #475569;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.tu-point-card__address {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 4px;
}

.tu-point-card__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 2px;
}

.tu-point-card__contacts strong {
    color: #334155;
}

.tu-point-card__comment {
    font-size: 0.78rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 2px;
}

.tu-courier-empty-msg {
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 14px;
}

/* Действия с адресами делят доступную строку поровну. */
.tu-b2b-delivery-points-actions {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tu-b2b-delivery-points-actions > *,
.tu-b2b-delivery-points-actions #js-b2b-checkout-add-addr-btn,
.tu-b2b-delivery-points-actions .tu-b2b-delivery-points-add-btn,
.tu-b2b-delivery-points-actions .tu-b2b-delivery-points-link {
    flex: 1 1 calc(50% - 6px) !important;
    width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    justify-content: center !important;
    text-align: center !important;
    height: 38px !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
}

@media (max-width: 860px) {
    .tu-b2b-delivery-points-actions {
        flex-direction: column !important;
    }
    .tu-b2b-delivery-points-actions > *,
    .tu-b2b-delivery-points-actions #js-b2b-checkout-add-addr-btn,
    .tu-b2b-delivery-points-actions .tu-b2b-delivery-points-add-btn,
    .tu-b2b-delivery-points-actions .tu-b2b-delivery-points-link {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.tu-company-add-link,
.tu-b2b-checkout-company-add-link,
.tu-b2b-delivery-points-add-btn,
#js-b2b-checkout-add-addr-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #E97524 !important;
    background: #FFF7ED !important;
    border: 1px solid #FFEDD5 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1.3 !important;
}

.tu-company-add-link:hover,
.tu-b2b-checkout-company-add-link:hover,
.tu-b2b-delivery-points-add-btn:hover,
#js-b2b-checkout-add-addr-btn:hover {
    background: #FFEDD5 !important;
    border-color: #FDBA74 !important;
    color: #C2410C !important;
    text-decoration: none !important;
}

.tu-b2b-delivery-points-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    line-height: 1.3 !important;
}

.tu-b2b-delivery-points-link:hover {
    color: var(--tu-text, #231f20) !important;
    border-color: #cbd5e1 !important;
    background: #f1f5f9 !important;
    text-decoration: none !important;
}

/* Checkout 2.0: Strictly hide system delivery variants and details sections */
#js-delivery-variants-section,
#js-delivery-short-variants-section,
.wa-delivery-variants-section,
#wa-delivery-variants-section,
.wa-step-details-section,
#wa-step-details-section,
.wa-step-section.wa-step-details-section,
#wa-step-shipping-section .wa-delivery-variants-section,
#wa-step-shipping-section #js-delivery-variants-section,
#wa-step-shipping-section #js-delivery-short-variants-section,
#wa-step-shipping-section .wa-delivery-description,
#wa-step-shipping-section .wa-description,
#wa-step-shipping-section .s-shipping-description,
.tu-raw-shipping-hidden,
#wa-step-region-section,
#js-possible-addresses-section,
#js-delivery-types-section,
#js-b2b-checkout-holding,
#js-b2b-checkout-select-wrap,
#js-b2b-checkout-no-points-msg,
.wa-shipping-method .wa-description,
.wa-delivery-section .wa-description,
.wa-delivery-variant .wa-description,
.wa-method-wrapper .wa-description,
.wa-step-payment-section .wa-description,
.tu-checkout-company-card .s-styled-select,
.tu-checkout-company-card-wrap .s-styled-select,
#js-tu-company-card-wrap .s-styled-select,
.wa-step-shipping-section .s-styled-select,
.wa-step-auth-section .s-styled-select,
#wa-step-shipping-section .s-styled-select,
.s-styled-select:empty,
.wa-step-auth-section .wa-toggle.js-type-toggle {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    border: none !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Reset outer wrapper of delivery points & holding to avoid phantom white box with padding/margin */
#js-b2b-checkout-holding.tu-b2b-checkout-company-wrapper,
#js-b2b-checkout-addresses.tu-b2b-delivery-points-wrapper,
.wa-step-shipping-section .tu-b2b-delivery-points-wrapper,
.wa-step-auth-section .tu-b2b-checkout-company-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

#js-b2b-checkout-addresses > .tu-b2b-delivery-points-header > .tu-b2b-delivery-points-label {
    display: none !important;
}

/* Второстепенная ссылка возврата в каталог. */
.tu-back-to-shop-btn,
a.tu-back-to-shop-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 12px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: transparent !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
    box-shadow: none !important;
}
.tu-back-to-shop-btn:hover,
a.tu-back-to-shop-btn:hover {
    color: #125450 !important;
    border-color: #94a3b8 !important;
    background: #f8fafc !important;
    text-decoration: none !important;
    box-shadow: none !important;
}
@media (max-width: 860px) {
    .tu-back-to-shop-btn,
    a.tu-back-to-shop-btn {
        display: none !important;
    }
}
.tu-back-to-shop-icon {
    display: inline-block !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
}

/* SKU badge in cart items - completely hidden per task 3 & 4.1 */
.tu-order-sku-wrap,
.tu-sku-copy-btn,
.tu-sku-badge,
button.tu-sku-copy-btn {
    display: none !important;
}

/* Variant name subtitle (clean subtle text without frame) */
.tu-order-variant {
    display: block !important;
    font-size: 13px !important;
    color: var(--tu-text-muted, #64748b) !important;
    margin: 2px 0 4px 0 !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

/* Hiding street/zip address fields */
.tu-field-hidden,
.wa-step-details-section .wa-field-wrapper:has(input[name*="[street]"]),
.wa-step-details-section .wa-field-wrapper:has(input[name*="[zip]"]),
.wa-step-details-section .wa-field-wrapper:has(input[name="region[zip]"]),
.wa-step-details-section .wa-line:has(input[name*="[street]"]),
.wa-step-details-section .wa-line:has(input[name*="[zip]"]) {
    display: none !important;
}

/* Hide Name and Phone in details when company buyer */
.tu-org-hidden-field,
#js-order-form.is-company-buyer #wa-step-details-section .wa-field-wrapper:has(input[name*="firstname"]),
#js-order-form.is-company-buyer #wa-step-details-section .wa-field-wrapper:has(input[name*="lastname"]),
#js-order-form.is-company-buyer #wa-step-details-section .wa-field-wrapper:has(input[name*="[name]"]),
#js-order-form.is-company-buyer #wa-step-details-section .wa-field-wrapper:has(input[name*="[phone]"]),
#js-order-form.is-company-buyer #wa-step-auth-section .wa-field-wrapper:has(input[name*="firstname"]),
#js-order-form.is-company-buyer #wa-step-auth-section .wa-field-wrapper:has(input[name*="lastname"]),
#js-order-form.is-company-buyer #wa-step-auth-section .wa-field-wrapper:has(input[name*="[name]"]),
#js-order-form.is-company-buyer #wa-step-auth-section .wa-field-wrapper:has(input[name*="[phone]"]),
#js-order-form.is-company-buyer #wa-step-auth-section {
    display: none !important;
}

#js-order-form.is-company-unauth .wa-order-form-wrapper,
#js-order-form.is-company-unauth #wa-order-form,
#js-order-form.is-company-unauth .tu-checkout-agreements {
    display: none !important;
}

/* Guest courier address input & DaData autocomplete */
.tu-guest-courier-addr-box {
    margin-bottom: 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
}

.tu-guest-addr-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.tu-b2b-input-relative {
    position: relative;
}

.tu-guest-courier-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    background: #ffffff;
    box-sizing: border-box;
}

.tu-guest-courier-input:focus {
    border-color: #125450;
    box-shadow: 0 0 0 2px rgba(18, 84, 80, 0.15);
}

.tu-guest-addr-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.tu-b2b-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    max-height: 240px;
    overflow-y: auto;
    margin-top: 4px;
}

.tu-b2b-suggestion-item {
    padding: 10px 14px;
    font-size: 0.88rem;
    color: #1e293b;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.tu-b2b-suggestion-item:last-child {
    border-bottom: none;
}

.tu-b2b-suggestion-item:hover {
    background: #f0fdf4;
    color: #125450;
}

/* Totals section: hide items cost & shipping cost */
.wa-total-section .wa-item-price,
.wa-total-section .wa-item-subtotal,
.wa-total-section .wa-item-shipping,
.wa-total-section .wa-item:not(.wa-item-total) {
    display: none !important;
}

.tu-guest-addr-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--tu-headings, #125450) !important;
    margin-bottom: 14px !important;
}

.tu-guest-courier-addr-box .tu-b2b-form-field {
    margin-bottom: 12px !important;
}

.tu-guest-courier-addr-box .tu-b2b-field-label {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--tu-text, #334155) !important;
    margin-bottom: 5px !important;
}

.tu-guest-courier-addr-box .tu-input {
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 0.92rem !important;
    border: 1px solid var(--tu-border, #cbd5e1) !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    transition: border-color 0.15s !important;
}

.tu-guest-courier-addr-box .tu-input:focus {
    border-color: var(--tu-primary, #125450) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(18, 84, 80, 0.12) !important;
}

.tu-b2b-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

@media (max-width: 640px) {
    .tu-b2b-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

.tu-point-card__title-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.tu-point-card__name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.tu-point-card__tag {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Non-resizable fixed order comment textarea */
.wa-step-confirm-section textarea,
#wa-order-comment,
.wa-order-comment-input,
textarea[name="confirm[comment]"],
textarea[name="comment"] {
    resize: none !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border: 1px solid var(--tu-border, #cbd5e1) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    line-height: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    background: #ffffff !important;
}

/* Task 4.1: Dedicated White Card Block for Checkout Topbar */
.tu-cart-topbar {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding: 16px 24px !important;
    background: #ffffff !important;
    border: 1px solid var(--tu-border, #E2E8F0) !important;
    border-radius: var(--tu-radius, 10px) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.tu-cart-topbar .tu-page-title {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--tu-headings, #125450) !important;
}

/* Task 4.2: Suppress screen flash & micro-spinner flickering during stepper/AJAX */
.s-loading-animation,
.wa-order-form-wrapper.is-locked:after,
.wa-order-cart-wrapper.is-locked:after,
.wa-step-section.is-locked:after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Название товара оставляет место для закладки избранного. */
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details,
.wa-order-cart-wrapper .wa-products .wa-product .wa-product-body .wa-column-details,
.wa-column-details {
    padding: 0 !important;
    width: calc(100% - 44px) !important;
    max-width: calc(100% - 44px) !important;
    min-width: 0 !important;
}

.tu-order-sku-wrap,
.tu-sku-copy-btn,
.tu-sku-badge,
button.tu-sku-copy-btn {
    display: none !important;
}

/* Task 4.5: Equalize header heights for Cart and Checkout (14 + 32 + 14 = 60px) */
.s-order-page .s-order-section > .s-section-header {
    min-height: 60px !important;
    max-height: 60px !important;
    height: 60px !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.s-order-page .s-order-section > .s-section-header .s-header {
    font-size: 20px !important;
    line-height: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    font-weight: 700 !important;
}

/* Список организаций сохраняет границы при длинных названиях. */
.tu-company-card--dropdown {
    position: relative;
}
.tu-company-card__top {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.tu-company-card__picker-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.tu-company-select-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid var(--tu-border, #CBD5E1);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: var(--tu-text, #1e293b);
    font-size: 13.5px;
    user-select: none;
    transition: all 0.15s ease;
    white-space: nowrap;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.tu-company-select-trigger .js-active-org-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    min-width: 0 !important;
}
.tu-company-select-trigger:hover,
.tu-company-select-trigger[aria-expanded="true"] {
    border-color: var(--tu-primary, #125450);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(18, 84, 80, 0.12);
}

.tu-company-select-trigger,
.tu-company-add-link {
    height: 36px !important;
    min-height: 36px !important;
    line-height: 34px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

@media (max-width: 860px) {
    .s-order-page .tu-company-card__top {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .s-order-page .tu-checkout-company-card .tu-company-card__top > .tu-company-add-link,
    .s-order-page #js-b2b-checkout-add-addr-btn {
        height: auto !important;
        min-height: 38px !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    .tu-company-card__picker-wrap {
        display: flex !important;
        width: 100% !important;
    }
    .tu-company-select-trigger {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .tu-company-add-link {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }
}
.tu-company-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 280px;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid var(--tu-border, #CBD5E1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 6px 0;
}
.tu-org-option {
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.tu-org-option:hover {
    background: #f1f5f9;
}
.tu-org-option.is-selected {
    background: rgba(18, 84, 80, 0.08);
}
.tu-org-option__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tu-text, #1e293b);
}
.tu-org-option__meta {
    font-size: 12px;
    color: var(--tu-text-muted, #64748b);
    margin-top: 2px;
}

/* Task 4.8: Style pickup badge & hide rates block on pickup */
.tu-pickup-card__badge-row {
    margin-top: 6px;
}
.tu-pickup-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tu-primary, #125450);
    background: rgba(18, 84, 80, 0.08);
    border-radius: 4px;
    padding: 2px 8px;
}
#js-order-form.is-shipping-pickup #wa-delivery-rates-section,
#js-order-form.is-shipping-pickup .wa-delivery-rates-section,
#js-order-form.is-shipping-pickup .wa-rates-wrapper {
    display: none !important;
}

/* Task 4.9: Courier delivery estimate card */
.tu-courier-estimate-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--tu-border, #CBD5E1);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 14px;
}
.tu-courier-estimate-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(18, 84, 80, 0.1);
    color: var(--tu-primary, #125450);
    flex-shrink: 0;
}
.tu-courier-estimate-content {
    font-size: 13.5px;
    color: var(--tu-text, #1e293b);
}
.tu-courier-estimate-label {
    color: var(--tu-text-muted, #64748b);
}
.tu-courier-estimate-value {
    color: var(--tu-primary, #125450);
    font-weight: 700;
    margin-left: 4px;
}
.tu-point-card__tag {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--tu-primary, #125450) !important;
    background: rgba(18, 84, 80, 0.08) !important;
    border: 1px solid rgba(18, 84, 80, 0.15) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* Task 4.6 & 4.10: Payment SVG icons inline to the left */
.wa-step-payment-section .wa-methods-list.wide .wa-method-wrapper {
    padding: 12px 16px !important;
}
.wa-step-payment-section .wa-method-wrapper .wa-method,
.wa-step-payment-section .wa-method-wrapper .wa-method-body {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}
.wa-step-payment-section .tu-pay-icon-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    color: var(--tu-primary, #125450) !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
.wa-step-payment-section .wa-method-wrapper.is-active .tu-pay-icon-wrap {
    background: rgba(18, 84, 80, 0.12) !important;
    color: var(--tu-primary, #125450) !important;
}
.wa-step-payment-section .wa-method-wrapper .wa-payment-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--tu-headings, #253533) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    display: inline-block !important;
}

/* Task 4.6 & 4.7: Separate Comment Card, and 50%/50% Inline Total Amount + Submit Button */
.wa-comment-section {
    display: block !important;
    width: 100% !important;
    margin: 16px 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--tu-border, #e2e8f0) !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.wa-comment-section .wa-visible {
    display: none !important;
}
.wa-comment-section .wa-hidden {
    display: block !important;
}
.wa-comment-section .wa-header {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--tu-headings, #1e293b) !important;
    margin-bottom: 10px !important;
}
.wa-comment-section textarea {
    width: 100% !important;
    min-height: 64px !important;
    border: 1px solid var(--tu-border, #cbd5e1) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    resize: vertical !important;
}

.s-order-page .wa-step-confirm-section,
#wa-step-confirm-section,
.s-order-page .wa-step-confirm-section > .wa-section-body,
.s-order-page .wa-form-footer,
.s-order-page .wa-total-section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 14px !important;
}

.wa-actions-section {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 1px solid var(--tu-border, #D7DCD5) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-top: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}
.tu-inline-total-wrap {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}
.tu-inline-total-label {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--tu-text-muted, #64748b) !important;
    white-space: nowrap !important;
}
.tu-inline-total-amount {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--tu-primary, #125450) !important;
    white-space: nowrap !important;
}
.wa-actions-section .js-submit-order-button {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    min-width: 160px !important;
    margin: 0 !important;
    min-height: 44px !important;
    padding: 10px 18px !important;
    font-size: 15px !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

@media (max-width: 860px) {
    .tu-inline-total-wrap {
        flex: 0 0 auto !important;
        width: auto !important;
    }
    .wa-actions-section .js-submit-order-button {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 140px !important;
    }
}

.s-order-column > .tu-min-order-widget {
    margin-top: 20px;
    padding: 16px 20px;
    border-color: var(--tu-border-strong);
    background: var(--tu-primary-soft);
    color: var(--tu-text);
}

.tu-min-order-widget__summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
}

.tu-min-order-widget__summary strong {
    color: var(--tu-primary);
    font-variant-numeric: tabular-nums;
}

.tu-min-order-widget__track {
    height: 10px;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--tu-border-strong);
    border-radius: 999px;
    background: var(--tu-surface);
}

.tu-min-order-widget__fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--tu-primary);
    transition: width 0.25s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .tu-min-order-widget__fill {
        transition: none;
    }
}

.s-order-page .is-below-order-minimum .js-submit-order-button:disabled {
    border-color: var(--tu-border-strong) !important;
    background: var(--tu-primary-soft) !important;
    color: var(--tu-text-secondary) !important;
    cursor: not-allowed;
    opacity: 1;
}

#js-order-form.is-confirming-order .js-submit-order-button,
#js-order-form .wa-order-form-wrapper.is-locked .js-submit-order-button:not(:disabled) {
    background: #e2e2e2 !important;
    border-color: #b5b5b5 !important;
    color: #383838 !important;
    cursor: wait;
}

.tu-checkout-minimum-notice {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-inline-start: 3px solid var(--tu-secondary);
    border-radius: var(--tu-radius-sm);
    background: var(--tu-secondary-soft);
    color: var(--tu-text);
    overflow-wrap: anywhere;
}

/* The plugin banner's second row repeats the minimum shown below the cart. */
#js-order-cart .tu-b2b-cart-tariff-banner > div + div {
    display: none;
}

.tu-checkout-confirm-feedback:empty,
.tu-checkout-confirm-status,
.tu-checkout-minimum-notice:empty {
    margin: 0;
    padding: 0;
    border: 0;
}

.is-confirming-order .tu-checkout-confirm-status {
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid var(--tu-kraft-hover);
    border-radius: 8px;
    color: var(--tu-kraft-text);
    background: var(--tu-kraft);
}

.tu-checkout-confirm-status__dots {
    display: none;
}

.is-confirming-order .tu-checkout-confirm-status__dots {
    display: inline-block;
    font-family: var(--tu-font-mono);
    inline-size: 3ch;
}

.tu-checkout-confirm-feedback {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #d8a56d;
    border-radius: 8px;
    background: #fff5e8;
    color: #783b15;
    overflow-wrap: anywhere;
}

/* Task 4.12: Legal agreements */
.tu-checkout-agreements {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--tu-border, #E2E8F0);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tu-checkout-agreements.is-error {
    border-color: #ef4444;
    background: #fef2f2;
    padding: 10px;
    border-radius: 6px;
}
.tu-agreement-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--tu-text-muted, #64748b);
    cursor: pointer;
}
.tu-agreement-label a {
    color: var(--tu-secondary, #E97524);
    text-decoration: underline;
}

/* Task 1.3: Unified favorite flag button in checkout */
.wa-order-cart-wrapper .wa-product .tu-fav-btn--checkout,
.s-order-page .wa-product .tu-fav-btn--checkout,
.tu-fav-btn--checkout {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    border-radius: 6px !important;
    border: 1px solid var(--tu-border, #CBD5E1) !important;
    background-color: #ffffff !important;
    color: var(--tu-secondary, #E97524) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    z-index: 10 !important;
}
.tu-fav-btn--checkout svg,
.tu-fav-btn--checkout .tu-fav-flag-svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: var(--tu-secondary, #E97524) !important;
}
.tu-fav-btn--checkout:hover {
    background-color: var(--tu-secondary-soft, #F8E4D4) !important;
    border-color: var(--tu-secondary, #E97524) !important;
}
.wa-order-cart-wrapper .wa-product .tu-fav-btn--checkout.is-active,
.s-order-page .wa-product .tu-fav-btn--checkout.is-active,
.tu-fav-btn--checkout.is-active {
    background: #E97524 !important;
    background-color: #E97524 !important;
    border-color: #E97524 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(233, 117, 36, 0.3) !important;
}
.wa-order-cart-wrapper .wa-product .tu-fav-btn--checkout.is-active svg,
.s-order-page .wa-product .tu-fav-btn--checkout.is-active svg,
.tu-fav-btn--checkout.is-active svg,
.wa-order-cart-wrapper .wa-product .tu-fav-btn--checkout.is-active .tu-fav-flag-svg,
.s-order-page .wa-product .tu-fav-btn--checkout.is-active .tu-fav-flag-svg,
.tu-fav-btn--checkout.is-active .tu-fav-flag-svg,
.wa-order-cart-wrapper .wa-product .tu-fav-btn--checkout.is-active svg path,
.s-order-page .wa-product .tu-fav-btn--checkout.is-active svg path,
.tu-fav-btn--checkout.is-active svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Task 4.3: Disabled minus button at min_qty */
.wa-button.s-minus-button.is-min-limit,
.wa-button.s-minus-button:disabled,
.wa-button.s-minus-button.is-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    background: #f8fafc !important;
}

.tu-checkout-step-badge {
    line-height: 1 !important;
    text-align: center !important;
}

/* Mobile screen safety & overflow prevention (Task 6) */
@media (max-width: 860px) {
    .s-order-page,
    #js-order-page {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .s-order-page > .s-order-column {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .tu-checkout-delivery-panel,
    .tu-checkout-delivery-subpanel,
    .tu-courier-subpanel,
    #js-tu-courier-subpanel,
    #js-b2b-checkout-addresses,
    #js-b2b-checkout-new-addr-form,
    .tu-delivery-point-cards,
    .tu-delivery-point-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .tu-delivery-point-card {
        word-break: break-word !important;
    }
    .tu-b2b-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .s-order-page input,
    .s-order-page select,
    .s-order-page textarea,
    .tu-checkout-delivery-panel * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
}

/* Штатные контактные поля внутри панели покупателя. */
.tu-checkout-buyer-panel .wa-step-auth-section,
.tu-checkout-buyer-panel #wa-step-auth-section {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 16px 0 0 0 !important;
    box-shadow: none !important;
}
.tu-checkout-buyer-panel .wa-step-auth-section .wa-header,
.tu-checkout-buyer-panel #wa-step-auth-section .wa-header {
    display: none !important;
}
.tu-checkout-buyer-panel .wa-step-auth-section .wa-section-header,
.tu-checkout-buyer-panel #wa-step-auth-section .wa-section-header {
    border: none !important;
    padding: 0 0 8px 0 !important;
    margin: 0 !important;
}
#js-tu-person-auth-wrap .wa-contact-fields-wrapper,
#js-tu-person-auth-wrap .wa-fields-group,
#js-tu-person-auth-wrap .wa-section-body form > .wa-fields-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    width: 100% !important;
}
@media (max-width: 860px) {
    #js-tu-person-auth-wrap .wa-contact-fields-wrapper,
    #js-tu-person-auth-wrap .wa-fields-group,
    #js-tu-person-auth-wrap .wa-section-body form > .wa-fields-list {
        grid-template-columns: 1fr !important;
    }
}
#js-tu-person-auth-wrap .wa-field-wrapper {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
#js-tu-person-auth-wrap .wa-field-wrapper .wa-label,
#js-tu-person-auth-wrap .wa-field-wrapper label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--tu-text, #334155) !important;
    margin-bottom: 5px !important;
}
#js-tu-person-auth-wrap .wa-field-wrapper input[type="text"],
#js-tu-person-auth-wrap .wa-field-wrapper input[type="tel"],
#js-tu-person-auth-wrap .wa-field-wrapper input[type="email"] {
    width: 100% !important;
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    color: var(--tu-text, #1e293b) !important;
    background: #ffffff !important;
    border: 1px solid var(--tu-border, #cbd5e1) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
#js-tu-person-auth-wrap .wa-field-wrapper input:focus {
    border-color: var(--tu-primary, #125450) !important;
    box-shadow: 0 0 0 2px rgba(18, 84, 80, 0.12) !important;
    outline: none !important;
}

/* Панель оплаты повторяет оформление соседних шагов. */
#wa-step-payment-section,
.wa-step-payment-section {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
}
#wa-step-payment-section .wa-header,
.wa-step-payment-section .wa-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 18px 0 !important;
}

/* Контейнеры оформления не расширяют мобильный экран. */
@media (max-width: 600px) {
    .s-order-page,
    #js-order-page,
    .wa-order-cart-wrapper,
    .wa-order-form-wrapper,
    .s-order-column,
    .s-order-section,
    .tu-checkout-buyer-panel,
    #wa-step-shipping-section,
    #wa-step-payment-section,
    #wa-step-confirm-section,
    .wa-comment-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* Checkout access, legal notice and mobile address note. */
/* On phones the default-address note does not compete with the address width. */
@media (max-width: 860px) {
    .s-order-page .tu-point-card__body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .s-order-page .tu-point-card__title-row { display: contents !important; }
    .s-order-page .tu-point-card__name { order: 0; flex: none !important; }
    .s-order-page .tu-point-card__address { order: 1; }
    .s-order-page .tu-point-card__tag {
        order: 2;
        align-self: flex-start;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: var(--tu-text-muted, #687875) !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1.4;
    }
    .s-order-page .tu-point-card__contacts { order: 3; }
    .s-order-page .tu-point-card__comment { order: 4; }
}

/* Checkout guest access follows the regular button height. */
.tu-checkout-login-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 10px 16px; }
@media (max-width: 860px) {
    /* Колонка соответствует фактической ширине урны; зазор не поглощается кнопкой. */
    .s-order-page .wa-product .wa-column-quantity {
        grid-template-columns: 28px minmax(0, 1fr) !important;
        column-gap: 10px !important;
    }
}

.tu-checkout-offer-notice { margin: 0; color: var(--tu-text-secondary); font-size: 12.5px; line-height: 1.6; }
.tu-checkout-offer-notice a { color: var(--tu-primary); text-decoration: underline; }

/* Согласие остаётся нативным checkbox: доступно с клавиатуры и для required. */
.s-order-page .tu-agreement-label > input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    appearance: auto !important;
    -webkit-appearance: auto !important;
    accent-color: var(--tu-primary, #125450);
}

/* Пустые реквизиты выбранной оплаты не добавляют второй нижний отступ. */
.s-order-page .wa-payment-fields-wrapper.tu-payment-fields-empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tu-empty-cart__icon { display: block; margin: 0 auto 20px; color: var(--tu-accent, #E97524); }

/* Server-rendered content stays readable while native checkout resources initialize. */
.tu-checkout-boot .wa-cart-loader,
.tu-checkout-boot .wa-form-loader,
.tu-checkout-boot .wa-cart-content,
.tu-checkout-boot .wa-form-content,
.tu-checkout-boot #js-order-form .s-loading-animation {
    display: none !important;
}
.tu-checkout-boot .tu-cart-preview > .wa-cart-body > .wa-cart-content,
.tu-checkout-boot .tu-form-preview > .wa-form-body > .wa-form-content {
    display: block !important;
}
.tu-checkout-boot .s-section-body[inert] { cursor: wait; }
.tu-checkout-status[hidden],
.tu-checkout-status button[hidden] { display: none !important; }
.tu-checkout-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 20px;
    padding: 12px;
    border: 1px solid var(--tu-border, #D7DCD5);
    border-radius: 8px;
    color: var(--tu-text-secondary, #687875);
    background: var(--tu-surface, #FFFFFF);
    font-size: 14px;
}
