:root {
  /* aliases for the old default.css theming variables (--bg-color, --text-color, --gray1..6, etc.)
     used throughout this file — that stylesheet was retired in favor of tokens.css
     (site.styles.html loads it "instead of default.css"), so without these the
     variables below resolve to nothing. Mapped to their closest tokens.css equivalent. */
  --white: var(--color-white);
  --white-auto: var(--color-white);
  --black: #000;
  --black-auto: var(--color-header-2);
  --black_tr_8: rgba(0, 0, 0, .08);
  --bg_tr_10: rgba(0, 0, 0, .1);
  --gray1: var(--color-header-2);
  --gray2: #4f4f4f;
  --gray3: var(--color-text-gray-2);
  --gray4: var(--color-text-muted);
  --gray5: var(--color-neutral-soft);
  --gray6: var(--color-surface);
  --accent-color: var(--color-brand);
  --red: #f43434;
  --orange: var(--color-brand);
  --element-border-radius: var(--radius-10);
  --divider-color: rgba(23, 23, 23, .08);
  --h5-size: var(--text-18);
  --header-link-color: var(--color-text-gray-2);
  --header-menu-pages-link-color: var(--color-header-2);
  --input-bg-color: var(--color-surface);
  --input-border-color: var(--color-border);
  --link-color: var(--color-brand);
  --link-hover-color: var(--color-btn-main--hover);
  --text-color: var(--color-text);
  --text-color-additional: var(--color-text-muted);
  --text-color-secondary: var(--color-text-gray-2);
  --bg-color: var(--color-white);
  --bg-color-accent: var(--color-white);
  --wa-delivery-type-bg: var(--color-white);
  --check-svg: url("../assets/icons/icon-checkbox-checked.svg");
  --chevron-svg: url("../img/svg/arrow.down.svg");

  --wa-delivery-type-active-bg: light-dark(color-mix(in srgb, var(--accent-color) 100%, white 100%), color-mix(in srgb, var(--accent-color) 100%, 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) 100%, 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;
  }
}
html.is-order-page .container {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
html.is-order-page .pflame-page .container.container--first {
  padding: 0 16px;
}
@media screen and (max-width: 1300px) {
  html.is-order-page .container {
    width: 100%;
  }
}
@media screen and (min-width: 1301px) {
  html.is-order-page .container {
    /* 640 + 355 + 325 + 2×20 gap + 2×16 padding */
    max-width: 1392px;
  }
}
@media screen and (min-width: 761px) {
  html.is-order-page .container {
    padding: 0 16px;
  }
}
@media screen and (min-width: 1101px) {
  html.is-order-page .container {
    padding: 0;
    padding: 0 32px;
  }
}
@media screen and (max-width: 760px) {
  html.is-order-page .container {
    padding: 0 16px;
  }
  html.is-order-page #globalnav .container {
    padding: 0 12px;
  }
}
.wa-link {
  color: var(--link-color) !important;
}
@media (hover: hover) {
  .wa-link:hover {
  color: var(--link-hover-color) !important;
  }
}

.s-checkbox {
  display: inline-block;
  cursor: pointer;
  line-height: 0;
  vertical-align: middle;
}
.s-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.s-checkbox input + span {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #B9B9B9;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
@media (hover: hover) {
  .s-checkbox:hover input:not(:checked) + span,
  .s-checkbox input:not(:checked) + span:hover {
  background: #E3E3E3;
  border-color: #B9B9B9;
  }
}

.s-checkbox input + span .s-icon {
  display: none;
}
.s-checkbox input:checked + span {
  border-color: #171717;
  background: #171717;
}
.s-checkbox input:checked + span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 7px;
  transform: translate(-50%, -50%);
  background: url("../assets/icons/icon-checkbox-checked.svg") center / contain no-repeat;
}
.s-checkbox input:disabled + span {
  background: #E3E3E3;
  border-color: #B9B9B9;
  cursor: default;
  opacity: 0.6;
}
.s-checkbox input.wa-error + span {
  border-color: #f00;
  background: transparent;
}
.s-checkbox input:focus-visible + span {
  outline: 2px solid rgba(239, 119, 61, 0.35);
  outline-offset: 2px;
}
.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;
}
@media (hover: hover) {
  .s-radio input + span:hover {
  border-color: rgba(0,0,0,0.6);
  }
}

.s-radio input:checked + span {
  border-color: #39f;
  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 0 80px;
}

.s-order-page *,
.s-order-page ::after,
.s-order-page ::before {
  box-sizing: unset;
}

/* Auth modals live inside #js-order-page — keep border-box so full-width buttons
   (captcha "Продолжить") don't overflow the dialog padding */
.s-order-page .pf-auth-flow,
.s-order-page .pf-auth-flow *,
.s-order-page .pf-auth-flow ::before,
.s-order-page .pf-auth-flow ::after {
  box-sizing: border-box;
}

.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: 8px;
}
.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;
}
@media (hover: hover) {
  .s-order-page .s-order-section > .s-section-header .s-delete-button:hover {
  color: var(--red);
  }
}

@media (hover: hover) {
  .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] {
  border-color: #171717;
  background-color: #171717;
  background-image: url("../assets/icons/icon-checkbox-checked.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 7px;
}
.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(--gray6) !important;
  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);
}
@media (hover: hover) {
  .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);
}
@media (hover: hover) {
  .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 {
  border: 0 none;
  padding: 16px 0;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-image {
  padding-right: 8px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .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 {
  padding-top: 0 !important;
  padding-right: 8px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details .wa-name {
  font-weight: 600 !important;
  font-size: var(--h5-size);
  margin: 0;
  display: inline-block;
}
.s-order-page .s-order-section > .s-section-body .wa-cart-body .wa-product .wa-product-body .wa-column-details .wa-details .wa-sku {
  color: var(--text-color);
  margin: 0;
}
.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-action {
  font-weight: 600 !important;
  color: var(--text-color-additional) !important;
  font-size: 13px !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;
}
.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,
.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 {
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 30px;
  min-height: 32px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  line-height: 1em;
  border-color: transparent;
  color: #171717;
}
@media (hover: hover) {
  .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:hover::after,
  .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:hover::after {
  background: transparent !important;
  border-color: transparent !important;
  color: #171717;
  }
}

.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: 90px;
}
.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;
}
.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 {
  display: none;
  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);
}
@media (hover: hover) {
  .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);
}
@media (hover: hover) {
  .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 {
  display: none;
  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 {
  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: #171717;
  border-color: #171717;
}
@media (hover: hover) {
  .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-cart-wrapper .wa-products .wa-product.is-out-of-stock .wa-quantity-actions {
  display: none !important;
}
body:not(:has(.wa-order-layout)) .wa-order-dialog .wa-dialog-background {
  background-color:  color-mix(in srgb, var(--bg-color) 75%, transparent) !important;
}
body:not(:has(.wa-order-layout)) .wa-order-dialog .wa-dialog-body {
  background: var(--bg-color) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--divider-color) !important;
  border-radius: var(--element-border-radius) !important;
}
body:not(:has(.wa-order-layout)) .wa-order-dialog .wa-dialog-body .wa-dialog-header {
  background: var(--bg-color-accent) !important;
  border-bottom: 1px solid var(--divider-color) !important;
  border-radius: var(--element-border-radius) var(--element-border-radius) 0 0 !important;
}
@media (hover: hover) {
  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;
}

/* Shop-Script pickup map dialog (СДЭК / wa-shipping-pickup-dialog) */
.wa-order-dialog.wa-shipping-pickup-dialog {
  font-family: Montserrat, var(--font-sans, system-ui, sans-serif);
  color: #171717;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-wrap {
  position: relative;
  margin: 0 0 12px;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-wrap:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 0.35;
  pointer-events: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.875 14.25a6.375 6.375 0 1 1 0-12.75 6.375 6.375 0 0 1 0 12.75Zm0-1.5a4.875 4.875 0 1 0 0-9.75 4.875 4.875 0 0 0 0 9.75ZM15.53 16.47a.75.75 0 0 0 1.06-1.06l-2.25-2.25a.75.75 0 0 0-1.06 1.06l2.25 2.25Z' fill='%23171717'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-field {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 0;
  border-radius: 10px;
  background: #f6f7fa;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #171717;
  box-sizing: border-box;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-field::placeholder {
  color: rgba(23, 23, 23, 0.4);
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-field:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(239, 119, 61, 0.25);
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-name {
  font-family: Montserrat, var(--font-sans, system-ui, sans-serif);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: #171717;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variant-details-section .wa-variant-actions {
  margin-top: 16px;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variant-details-section .wa-variant-actions .wa-button.js-use-variant {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  border: none !important;
  border-radius: 10px;
  background: #ef773d !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: Montserrat, var(--font-sans, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: none !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 150ms linear, transform 100ms linear;
}

@media (hover: hover) {
  .wa-order-dialog.wa-shipping-pickup-dialog .wa-variant-details-section .wa-variant-actions .wa-button.js-use-variant:hover {
  background: #ff905b !important;
  color: #fff !important;
  }
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variant-details-section .wa-variant-actions .wa-button.js-use-variant:active {
  transform: translateY(1px);
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variant-details-section .wa-variant-actions .wa-button.js-use-variant:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 119, 61, 0.35) !important;
}

/* Confirm dialogs on checkout — clear cart, delete product (wa-confirm-dialog).
   Dialog is appended to body, not inside .wa-order-layout — scope via is-order-page. */
html.is-order-page .wa-order-dialog.wa-confirm-dialog {
  font-family: var(--font-sans);
  color: var(--color-text);
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-background {
  background: rgba(0, 0, 0, 0.45) !important;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-body {
  width: min(calc(100vw - var(--space-32)), 400px) !important;
  max-width: 400px !important;
  border: 0 !important;
  border-radius: var(--radius-20) !important;
  background: var(--color-white) !important;
  box-shadow: 0 8px 32px rgba(23, 23, 23, 0.12) !important;
  overflow: hidden;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
  table-layout: auto !important;
  width: auto !important;
  padding: var(--space-20) var(--space-20) 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header > * {
  display: block !important;
  vertical-align: unset !important;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header .wa-header {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--text-22);
  font-weight: var(--weight-600);
  line-height: var(--lh-tight);
  color: var(--color-text);
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header .wa-close-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--space-32);
  width: var(--space-32) !important;
  height: var(--space-32);
  padding: 0 !important;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted) !important;
  line-height: 1 !important;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header .wa-close-wrapper:hover {
  background: var(--color-surface);
  color: var(--color-text) !important;
  }
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-header .wa-close-wrapper .wa-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-content {
  padding: var(--space-16) var(--space-20) 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-content p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-400);
  line-height: var(--lh-normal);
  color: var(--color-text-gray-2);
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-24) var(--space-20) var(--space-20) !important;
  border-top: 0 !important;
}

/* Match .btn / .btn--primary / .btn--ghost from theme button.css */
html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 var(--space-12);
  border: 1px solid transparent !important;
  border-radius: var(--radius-8) !important;
  box-shadow: none !important;
  font-family: var(--font-sans);
  font-size: var(--text-14);
  font-weight: var(--weight-700);
  line-height: 44px;
  text-shadow: none !important;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
  transition: background-color 150ms ease, transform 100ms ease, box-shadow 150ms ease;
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.js-cancel,
html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.blue {
  background: var(--color-btn-main--default) !important;
  color: var(--color-text-white) !important;
}

@media (hover: hover) {
  html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.js-cancel:hover,
  html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.blue:hover {
  background: var(--color-btn-main--hover) !important;
  color: var(--color-text-white) !important;
  filter: none;
  }
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.js-cancel:active,
html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.blue:active {
  transform: translateY(1px);
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.js-confirm,
html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.gray {
  background: var(--color-btn-second--default) !important;
  color: var(--color-text) !important;
  box-shadow: var(--shadow-xs) !important;
}

@media (hover: hover) {
  html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.js-confirm:hover,
  html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button.gray:hover {
  background: var(--color-btn-second--hover) !important;
  color: var(--color-text) !important;
  }
}

html.is-order-page .wa-order-dialog.wa-confirm-dialog .wa-dialog-footer .wa-button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring) !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;
}
.wa-dropdown > .wa-dropdown-area {
  background: var(--white-auto) !important;
}
@media (hover: hover) {
  .wa-dropdown > .wa-dropdown-area > .wa-dropdown-item:hover {
  background: var(--input-bg-color) !important;
  }
}

@media (hover: hover) {
  .wa-dropdown > .wa-dropdown-area:hover {
  border-color: #efefef !important;
  }
}

body:has(.wa-order-layout) {
  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(--gray1);
}
.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;
}
@media (hover: hover) {
  .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: 1360px) {
.s-order-page {
display: grid;
grid-template-columns: 640px 355px 325px;
column-gap: 20px;
width: 100%;
}
.s-order-page > .s-order-column {
min-width: 0;
}
.s-order-page > .s-order-column:first-child {
width: 640px;
}
.s-order-page > .s-order-column:nth-child(2) {
width: 355px;
}
.s-order-page > .s-order-column:nth-child(3) {
width: 325px;
}
.wa-order-form-wrapper .wa-form-footer {
font-size: 14px;
line-height: 1.214285714285714em;
text-align: right;
}
}
@media screen and (max-width: 1359px) {
.s-order-page > .s-order-column {
display: block;
width: 100%;
margin-top: 40px;
box-sizing: border-box;
}
.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: 8px !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;
}

/* ==========================================================================
   Cart product list — Figma redesign (node 2548:12942)
   ========================================================================== */

/* header bar: select-all / share / delete-all */
#js-order-cart .s-cart-header {
  margin-bottom: 8px;
  padding: 16px 16px 16px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: none;
  gap: 16px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}
#js-order-cart .s-cart-select-all {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  color: #171717;
  cursor: pointer;
}
#js-order-cart .s-cart-select-all .s-checkbox {
  flex-shrink: 0;
}
#js-order-cart .s-cart-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}
#js-order-cart .s-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 36px;
  padding: 0 10px;
  background: var(--color-btn-second--default);
  box-shadow: var(--shadow-xs);
  border: 0;
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #171717;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
@media (hover: hover) {
  #js-order-cart .s-icon-button:hover {
    background: var(--color-btn-second--hover);
  }
}
#js-order-cart .s-icon-button:focus-visible {
  background: var(--color-btn-second--hover);
}

#js-order-cart .s-icon-button svg {
  opacity: .3;
  flex-shrink: 0;
}
#js-order-cart .s-icon-button--icon-only {
  width: 36px;
  padding: 0;
}
#js-order-cart .s-icon-button.is-copied {
  color: #1a9a2e;
}

/* Mobile cart header — Figma 2739:29015: one row, share icon-only */
@media screen and (max-width: 768px) {
  #js-order-cart .s-cart-header {
    flex-direction: row;
    gap: 10px;
    padding: 8px 8px 8px 12px;
  }

  #js-order-cart .js-share-cart {
    width: 36px;
    padding: 0;
    gap: 0;
  }

  #js-order-cart .js-share-cart > span {
    display: none;
  }
}

/* strip the single big white wrapper — each row becomes its own card */
#js-order-cart > .s-section-body {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
#js-order-cart .wa-cart-body:has(> p.align-center) {
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(23, 23, 23, .06);
}

/* cart loading state — centered over the viewport */
#js-order-cart .wa-cart-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 247, 250, .8);
}
#js-order-cart .wa-cart-loader p {
  position: relative;
  margin: 0;
  padding: 20px 28px 20px 52px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(23, 23, 23, .1);
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  color: #171717;
}
#js-order-cart .wa-cart-loader p:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border: 2px solid rgba(23, 23, 23, .15);
  border-top-color: #171717;
  border-radius: 50%;
  animation: pf-cart-loader-spin .7s linear infinite;
}
@keyframes pf-cart-loader-spin {
  to { transform: rotate(360deg); }
}

#js-order-cart .wa-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#js-order-cart .wa-products .wa-product {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 0;
  padding: 19px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(23, 23, 23, .06);
  box-sizing: border-box;
}
#js-order-cart .wa-products .wa-product:first-child {
  padding-top: 19px;
}

/* row grid: image | price+name | quantity  (+ actions sibling) */
#js-order-cart .wa-products .wa-product .wa-product-body {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  grid-template-columns: 70px minmax(0, 1fr) minmax(96px, 128px);
  grid-template-areas:
    "image price    qty"
    "image name     qty"
    "image services qty";
  column-gap: 20px;
  row-gap: 2px;
  align-items: center;
  width: auto;
}
#js-order-cart .wa-products .wa-product .wa-product-body > * {
  padding: 0;
}

/* kebab — mobile only */
#js-order-cart .wa-products .wa-product .s-cart-product-kebab {
  display: none;
}

/* image column + selection checkbox */
#js-order-cart .wa-products .wa-product .wa-column-image {
  grid-area: image;
}
#js-order-cart .wa-products .wa-product .wa-image-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 70px;
  height: 93px;
  border: 1px solid #E9E9E9;
  border-radius: 8px;
  background: #F8FAFB;
  overflow: hidden;
}
#js-order-cart .wa-products .wa-product .wa-image-section > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#js-order-cart .wa-products .wa-product .wa-image-section img {
  display: block;
  width: auto;
  max-width: 80%;
  height: auto;
  max-height: 84%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
#js-order-cart .wa-products .wa-product .s-cart-product-select {
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 1;
  line-height: 0;
}

#js-order-form .wa-actions-section .s-checkbox {
  flex-shrink: 0;
}

/* details: unwrap so name/actions/services can be placed independently on the grid */
#js-order-cart .wa-products .wa-product .wa-column-details,
#js-order-cart .wa-products .wa-product .wa-details-section,
#js-order-cart .wa-products .wa-product .wa-details {
  display: contents;
}
#js-order-cart .wa-products .wa-product .wa-sku,
#js-order-cart .wa-products .wa-product .wa-weight {
  display: none;
}
#js-order-cart .wa-products .wa-product .wa-name {
  grid-area: name;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #171717;
  opacity: .7;
  text-decoration: none;
}
#js-order-cart .wa-products .wa-product .wa-services {
  grid-area: services;
  margin: 8px 0 0;
}

/* actions stack: wishlist heart (injected) above delete — sibling of .wa-product-body */
#js-order-cart .wa-products .wa-product .wa-actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
}
#js-order-cart .wa-products .wa-product .wa-actions .wa-action {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px;
  border-radius: 8px;
}
@media (hover: hover) {
  #js-order-cart .wa-products .wa-product .wa-actions .wa-action:hover {
  background: rgba(23, 23, 23, .05);
  }
}

#js-order-cart .wa-products .wa-product .wa-actions .wa-action .wa-tooltip {
  font-size: 0;
}
#js-order-cart .wa-products .wa-product .wa-actions .wa-action .wa-icon {
  opacity: .4;
}
#js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-delete-product {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background-color: #171717;
  opacity: .4;
  -webkit-mask: url("../img/svg/order/product-delete.svg") no-repeat center / 20px 20px;
  mask: url("../img/svg/order/product-delete.svg") no-repeat center / 20px 20px;
}
@media (hover: hover) {
  #js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-delete-product:hover {
  background-color: #171717;
  opacity: 1;
  }
}

#js-order-cart .wa-products .wa-product .wa-tooltip:before,
#js-order-cart .wa-products .wa-product .wa-tooltip:after {
  display: none !important;
}
#js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px;
  border-radius: 8px;
  color: rgba(23, 23, 23, .4);
}
@media (hover: hover) {
  #js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist:hover {
  color: rgba(23, 23, 23, .7);
  }
}

#js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist.is-added {
  color: #EF773D;
}

/* quantity pill */
#js-order-cart .wa-products .wa-product .wa-column-quantity {
  grid-area: qty;
  width: auto;
  text-align: left;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-section-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 4px;
  background: #F3F4F7;
  border-radius: 10px;
  box-sizing: border-box;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 8px;
  border-radius: 10px;
  color: #171717;
}
@media (hover: hover) {
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button:hover {
  background: rgba(255, 255, 255, .7);
  }
}

#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button .wa-icon-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button .wa-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button .wa-icon svg {
  display: none;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-minus-button .wa-icon::before,
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-plus-button .wa-icon::before,
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-plus-button .wa-icon::after {
  content: "";
  position: absolute;
  background: #171717;
  border-radius: 1px;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-minus-button .wa-icon::before,
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-plus-button .wa-icon::before {
  top: 50%;
  left: 0;
  width: 18px;
  height: 1.5px;
  transform: translateY(-50%);
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .s-plus-button .wa-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 18px;
  transform: translateX(-50%);
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button .wa-description {
  display: none !important;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper {
  flex: 0 0 auto;
  padding: 0;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper .wa-field {
  width: 2.2em;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #171717;
  text-align: center;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-section-footer {
  margin-top: 6px;
  text-align: center;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-product-fractional-prices .wa-product-price {
  display: none;
}
#js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper .wa-unit {
  display: none;
}

/* price */
#js-order-cart .wa-products .wa-product .wa-column-price {
  grid-area: price;
  width: auto;
  text-align: left;
}
#js-order-cart .wa-products .wa-product .wa-price-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px 8px;
}
#js-order-cart .wa-products .wa-product .wa-price-section .wa-price-total {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #171717;
}
#js-order-cart .wa-products .wa-product .wa-price-section .wa-price-compare {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(23, 23, 23, .4);
  text-decoration: line-through;
}
#js-order-cart .wa-products .wa-product .wa-price-section .wa-price-discount {
  width: 100%;
  font-size: 11px;
  color: rgba(23, 23, 23, .4);
}

/* «Купить» — mobile-only (Figma 2739:29468) */
#js-order-cart .wa-products .wa-product .s-cart-product-controls {
  display: block;
}
#js-order-cart .wa-products .wa-product .s-cart-product-buy {
  display: none;
}

/* totals card */
#js-order-cart .wa-cart-details {
  margin-top: 8px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(23, 23, 23, .06);
  box-sizing: border-box;
}

/* Mobile cart product card — Figma 2739:29468 (≤768) */
@media screen and (max-width: 768px) {
  #js-order-cart .wa-products .wa-product {
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
  }
  #js-order-cart .wa-products .wa-product:first-child {
    padding-top: 0;
  }
  #js-order-cart .wa-products .wa-product .wa-product-body {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding: 8px 16px 16px 8px;
    background: #fff;
    border-radius: 0; /* parent clips corners; avoids red peek through body radius */
    grid-template-columns: 70px minmax(0, 1fr);
    grid-template-areas:
      "image price"
      "image name"
      "image services"
      ".    qty";
    column-gap: 8px;
    row-gap: 8px;
    align-items: start;
    transition: transform 0.2s ease;
    will-change: transform;
  }
  #js-order-cart .wa-products .wa-product.is-swipe-open .wa-product-body,
  #js-order-cart .wa-products .wa-product.is-swiping .wa-product-body {
    border-radius: 0;
  }
  #js-order-cart .wa-products .wa-product .wa-image-section {
    width: 70px;
    height: 93px;
    border-radius: 10px;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-select {
    top: 4px;
    left: 4px;
  }
  #js-order-cart .wa-products .wa-product .wa-column-price {
    padding-right: 20px;
  }
  #js-order-cart .wa-products .wa-product .wa-price-section .wa-price-total {
    font-size: 14px;
  }
  #js-order-cart .wa-products .wa-product .wa-price-section .wa-price-compare {
    font-size: 10px;
  }
  #js-order-cart .wa-products .wa-product .wa-name {
    font-size: 12px;
    line-height: normal;
    max-width: 90%;
  }
  #js-order-cart .wa-products .wa-product .wa-services {
    margin-top: 0;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    color: #171717;
  }

  /* kebab slot — top-right of card content */
  #js-order-cart .wa-products .wa-product .s-cart-product-kebab {
    position: absolute;
    top: 8px;
    right: 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 24px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-kebab img,
  #js-order-cart .wa-products .wa-product .s-cart-product-kebab svg {
    display: block;
    width: 7px;
    height: 23px;
  }

  /* swipe reveal: wishlist #F3F4F7 / delete red (Figma Frame 269) */
  #js-order-cart .wa-products .wa-product .wa-actions {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    width: 104px;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    visibility: hidden; /* hide until swipe — prevents red peek at closed corners */
    pointer-events: none;
  }
  #js-order-cart .wa-products .wa-product.is-swipe-open .wa-actions,
  #js-order-cart .wa-products .wa-product.is-swiping .wa-actions {
    visibility: visible;
    pointer-events: auto;
  }
  #js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-edit-product {
    display: none !important;
  }
  #js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 52px;
    height: 100%;
    margin: 0;
    padding: 0 16px;
    border-radius: 0;
    background: #F3F4F7;
    color: #171717;
  }
  @media (hover: hover) {
    #js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist:hover {
    background: #F3F4F7;
    color: #171717;
    }
}

  #js-order-cart .wa-products .wa-product .wa-actions .s-cart-product-wishlist .icon {
    width: 20px;
    height: 18px;
  }
  #js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-delete-product {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 52px;
    height: 100%;
    margin: 0;
    padding: 0 16px;
    border-radius: 0;
    background-color: #ff0000;
    opacity: 1;
    -webkit-mask: none;
    mask: none;
  }
  #js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-delete-product::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    -webkit-mask: url("../img/svg/order/product-delete.svg") no-repeat center / 20px 20px;
    mask: url("../img/svg/order/product-delete.svg") no-repeat center / 20px 20px;
  }
  @media (hover: hover) {
    #js-order-cart .wa-products .wa-product .wa-actions .wa-action.js-delete-product:hover {
    background-color: #ff0000;
    opacity: 1;
    }
}

  #js-order-cart .wa-products .wa-product .wa-column-quantity {
    justify-self: stretch;
    width: 100% !important;
    max-width: none;
    padding-left: 0 !important;
    box-sizing: border-box;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section,
  .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: 0;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-controls > .wa-quantity-cart-section,
  #js-order-cart .wa-products .wa-product .s-cart-product-controls > .s-cart-product-buy {
    grid-column: auto;
    width: 100% !important;
    min-width: 0;
    max-width: none;
    flex: none;
    box-sizing: border-box;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-section-body {
    height: 36px;
    width: 100%;
    box-sizing: border-box;
    gap: 0;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 2.2em;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper .wa-field {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper {
    flex: 0 0 auto;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 4px;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 36px;
    min-height: 36px;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: var(--color-btn-second--default);
    box-shadow: var(--shadow-xs);
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #171717;
    cursor: pointer;
  }
  @media (hover: hover) {
    #js-order-cart .wa-products .wa-product .s-cart-product-buy:hover {
      background: var(--color-btn-second--hover);
    }
  }
}

@media screen and (max-width: 400px) {
  #js-order-cart .wa-products .wa-product .s-cart-product-controls {
    gap: 6px;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-section-body {
    padding: 4px;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-button-wrapper .wa-button {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    padding: 3px;
  }
  #js-order-cart .wa-products .wa-product .wa-quantity-cart-section .wa-field-wrapper {
    max-width: 2em;
  }
  #js-order-cart .wa-products .wa-product .s-cart-product-buy {
    padding: 6px 8px;
    font-size: 13px;
  }
}

/* checkout form loading dots — center on the viewport, not the nearest positioned ancestor */
.s-loading-animation {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10000;
}

/* ==== #js-order-form — Figma restyle: recipient fields + order summary only ==== */

/* delivery/shipping-type/payment steps are already covered by the "Доставка"/"Способ оплаты"
   cards in the middle column — hide core's own wizard steps for them, keep in DOM so the
   checkout logic (rates/validation) still runs */
#js-order-form #wa-step-region-section,
#js-order-form #wa-step-shipping-section,
#js-order-form #wa-step-details-section,
#js-order-form #wa-step-payment-section {
  display: none !important;
}

#js-order-form #wa-step-auth-section {
  display: none !important;
}

html.is-order-authed #js-order-form #wa-step-auth-section {
  display: block !important;
}

#js-order-form > .s-section-header {
  display: none;
}

#js-order-form > .s-section-body {
  background: #fff;
  box-shadow: none;
  border-radius: 20px;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  #js-order-delivery .s-delivery-card,
  #js-order-payment .s-delivery-card,
  #js-order-promocode .s-promocode-card,
  #js-order-form > .s-section-body {
    padding: 16px;
  }

  #js-order-payment .s-delivery-options {
    /* Figma 2739:29005 — на мобильных карточки оплаты столбиком во всю ширину */
    flex-direction: column;
  }

  #js-order-payment .s-delivery-option {
    flex: none;
    width: 100%;
  }
}

#js-order-form #wa-step-auth-section .wa-section-header {
  margin-bottom: 29px;
}

#js-order-form #wa-step-auth-section .wa-header {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #171717;
  margin: 0;
}

#js-order-form #wa-step-auth-section .wa-logout-link,
#js-order-form #wa-step-auth-section .wa-contact-name {
  display: none;
}

#js-order-form #wa-step-auth-section .wa-fields-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-fields-group {
  display: grid;
  grid-template-columns: calc((100% - 10px) / 2) calc((100% - 10px) / 2);
  gap: 13px 10px;
  width: 100%;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-line.wa-fields-group {
  margin: 0;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][firstname]"]) {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][lastname]"]) {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-fields-group:not(:has([name="auth[data][firstname]"])) .wa-field-wrapper:has([name="auth[data][lastname]"]),
html.is-order-authed #js-order-form #wa-step-auth-section .wa-fields-group:not(:has([name="auth[data][lastname]"])) .wa-field-wrapper:has([name="auth[data][firstname]"]) {
  grid-column: 1 / -1;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][phone]"]),
html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][email]"]) {
  grid-column: 1 / -1;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][phone]"]) {
  grid-row: 2;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper:has([name="auth[data][email]"]) {
  grid-row: 3;
}

html.is-order-authed #js-order-form #wa-step-auth-section .s-checkout-email-hint {
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
}

html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper.size-mini,
html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper.size-small,
html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper.size-medium,
html.is-order-authed #js-order-form #wa-step-auth-section .wa-field-wrapper.size-large {
  width: 100% !important;
  max-width: none !important;
}

#js-order-form #wa-step-auth-section .wa-field-wrapper {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-top: 0 !important;
  padding-right: 0 !important;
}

@media screen and (min-width: 761px) {
  html.is-order-authed #js-order-form #wa-step-auth-section .wa-fields-group.line > .wa-field-wrapper {
    padding-right: 0 !important;
    padding-top: 0 !important;
  }
}

#js-order-form #wa-step-auth-section .wa-label {
  display: none;
}

#js-order-form #wa-step-auth-section .wa-input {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: #f6f7fa;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #171717;
}

#js-order-form #wa-step-auth-section .wa-input::placeholder {
  color: rgba(23, 23, 23, .4);
}

#js-order-form .s-checkout-email-hint {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #171717;
}

#js-order-form #wa-step-confirm-section {
  border-top: 0;
  padding-top: 0;
  margin-top: 24px;
}

#js-order-form #wa-step-confirm-section .wa-flex-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

#js-order-form #wa-step-confirm-section .wa-total-section,
#js-order-form #wa-step-confirm-section .wa-actions-section,
#js-order-form #wa-step-confirm-section .s-order-summary {
  width: 100%;
  margin: 0;
}

#js-order-form #wa-step-confirm-section .wa-actions-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#js-order-form .wa-flex-wrapper > * + * {
  margin-top: 0;
}

#js-order-form .s-checkout-disclaimer {
  margin: 24px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: normal;
  color: #171717;
}

#js-order-form .s-checkout-disclaimer a {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #171717;
}

@media (hover: hover) {
  #js-order-form .s-checkout-disclaimer a:hover {
  color: var(--color-btn-main--hover);
  text-decoration-color: currentColor;
  }
}

/* order summary block (product thumbnails + count), injected by order.js */
#js-order-form .s-order-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#js-order-form .s-order-summary-title {
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #171717;
}

#js-order-form .s-order-summary-count {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(23, 23, 23, .4);
  white-space: nowrap;
}

#js-order-form .s-order-summary-thumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  flex-wrap: wrap;
}

#js-order-form .s-order-summary-thumb {
  display: block;
  flex-shrink: 0;
  width: 60px;
  height: 80px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #f8fafb;
  overflow: hidden;
  box-sizing: border-box;
}

#js-order-form .s-order-summary-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#js-order-form .wa-item {
  margin-top: 12px !important;
}

#js-order-form .wa-total-section .wa-item:first-child {
  margin-top: 0 !important;
}

#js-order-form .wa-item .wa-name,
#js-order-form .wa-item .wa-price {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #171717 !important;
}

#js-order-form .wa-item-total {
  margin-top: 24px !important;
}

#js-order-form .wa-item-total .wa-price {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #171717 !important;
}

#js-order-form .wa-item-total .wa-name {
  font-size: 0 !important;
  font-weight: 600 !important;
  color: #171717 !important;
}

#js-order-form .wa-item-total .wa-name::before {
  content: "К оплате";
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: #171717;
}

#js-order-form .wa-actions-section .s-checkbox + .wa-text,
#js-order-form .wa-actions-section .wa-checkbox-wrapper .wa-text {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #171717;
}

#js-order-form .wa-submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 58px;
  padding: 12px 20px;
  background: #ef773d !important;
  border-radius: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  box-sizing: border-box;
  border: none;
  transition: background-color 150ms linear;
}

@media (hover: hover) {
  #js-order-form .wa-submit-button:hover {
  background: #ff905b !important;
  }
}

/* Fixed checkout button integrated above mobile bottom nav — Figma 2739:29813.
   Nav link styles stay untouched; only the shared chrome connects the stack. */
@media screen and (max-width: 768px) {
  html.is-order-page.is-order-mobile-submit .header__bottom.visible-mobiles {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 4px;
    border-radius: 20px;
    background: rgba(226, 226, 226, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  html.is-order-page.is-order-mobile-submit .header__bottom .bottom__menu {
    background: transparent;
    box-shadow: none;
    height: auto;
    min-height: 57px;
    border-radius: 0;
    padding: 0;
  }

  .s-order-mobile-submit-bar {
    display: block;
    width: 100%;
  }

  .s-order-mobile-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 51px;
    margin: 0;
    padding: 8px 20px;
    border: 0;
    border-radius: 16px;
    background: #ef773d;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  @media (hover: hover) {
    .s-order-mobile-submit-btn:hover {
      background: #ff905b;
    }
  }

  .s-order-mobile-submit-btn:focus-visible {
    background: #ff905b;
  }

  .s-order-mobile-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
  }

  html.is-order-page.is-order-mobile-submit #js-order-form .js-submit-order-button {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  html.is-order-page.is-order-mobile-submit .pf-footer-gap {
    height: calc(65px + 51px + 10px + 8px + 20px + var(--space-16) + env(safe-area-inset-bottom, 0px));
  }

  html.is-order-page.is-order-mobile-submit footer.container.pf-footer-minimal {
    padding-bottom: calc(65px + 51px + 10px + 8px + 20px + var(--space-16) + env(safe-area-inset-bottom, 0px));
  }

  html.is-order-page.is-order-mobile-submit .s-order-page {
    padding-bottom: 24px;
  }
}

@media screen and (min-width: 769px) {
  .s-order-mobile-submit-bar {
    display: none !important;
  }
}

#js-order-form .pf-order-submit-hint {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff0eb;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #171717;
}

#js-order-form .pf-order-submit-hint[hidden],
#js-order-form .pf-order-submit-hint:empty {
  display: none !important;
}

/* "Доставка"/"Способ оплаты" cards' options are rebuilt by order.js from the
   real (hidden) #wa-step-shipping-section / #wa-step-payment-section data */
#js-order-delivery .s-delivery-option,
#js-order-payment .s-delivery-option {
  cursor: pointer;
  transition: border-color 150ms linear;
}

#js-order-delivery .s-delivery-options > .s-delivery-option {
  flex: 0 0 calc(50% - 4px);
}

#js-order-delivery .s-delivery-option.is-active,
#js-order-payment .s-delivery-option.is-active {
  border-color: #ef773d;
}

@media (hover: hover) {
  #js-order-delivery .s-delivery-option:hover,
  #js-order-delivery .s-delivery-option.is-active:hover,
  #js-order-payment .s-delivery-option:hover,
  #js-order-payment .s-delivery-option.is-active:hover,
  #js-order-payment .s-delivery-option.s-payment-option:hover {
    border: 2px solid #171717;
  }
}

#js-order-payment .s-payment-option-icon {
  width: 17px;
  height: 20px;
  object-fit: contain;
}

/* address field for courier delivery — mirrored by order.js from the real
   (hidden) #wa-step-details-section required field, shown above the comment
   box only while the selected shipping type actually needs it */
#js-order-delivery .s-delivery-address-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#js-order-delivery .s-delivery-address-label {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #171717;
}

#js-order-delivery .s-delivery-address-fields.is-error .s-delivery-address-label {
  color: #e11d48;
}

#js-order-delivery .s-delivery-address-field {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: #f6f7fa;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #171717;
}

#js-order-delivery .s-delivery-address-field.is-error {
  border: 1px solid #e11d48;
  outline: 2px solid rgba(225, 29, 72, 0.12);
  outline-offset: 1px;
}

#js-order-delivery .s-delivery-address-field::placeholder {
  color: rgba(23, 23, 23, .4);
}

/* DaData courier address suggestions (js/pflame/address-suggest.js) */
#js-order-delivery .s-address-suggest {
  position: relative;
  width: 100%;
}

#js-order-delivery .s-address-suggest__list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, .12);
}

#js-order-delivery .s-address-suggest__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
}

#js-order-delivery .s-address-suggest__item:hover,
#js-order-delivery .s-address-suggest__item.is-active {
  background: #f6f7fa;
}

#js-order-delivery .s-address-suggest__line {
  font-size: 14px;
  font-weight: 500;
  color: #171717;
}

#js-order-delivery .s-address-suggest__locality {
  font-size: 12px;
  color: rgba(23, 23, 23, .5);
}

#js-order-delivery .s-address-suggest__hint {
  margin-top: 6px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  color: rgba(23, 23, 23, .6);
}

#js-order-delivery .s-delivery-pickup-prompt {
  width: 100%;
}

#js-order-delivery .s-delivery-pickup-selected {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

#js-order-delivery .s-delivery-pickup-address {
  font-family: var(--font-sans, Montserrat, sans-serif);
  font-size: 16px;
  font-weight: var(--weight-600, 600);
  line-height: var(--lh-normal, 1.35);
  color: var(--color-text, #171717);
}

#js-order-delivery .s-delivery-pickup-schedule {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#js-order-delivery .s-delivery-pickup-schedule-line {
  font-family: var(--font-sans, Montserrat, sans-serif);
  font-size: var(--text-14, 14px);
  font-weight: var(--weight-400, 400);
  line-height: var(--lh-normal, 1.35);
  color: var(--color-text-gray-2, rgba(23, 23, 23, 0.6));
}

#js-order-delivery .s-delivery-pickup-btn,
#js-order-delivery .s-delivery-pickup-change-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-10, 10px);
  font-family: var(--font-sans, Montserrat, sans-serif);
  font-size: var(--text-14, 14px);
  font-weight: var(--weight-600, 600);
  color: var(--color-text, #171717);
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color .2s ease, border-color .2s ease;
}

#js-order-delivery .s-delivery-pickup-btn {
  border: 0;
  background: var(--color-surface, #f6f7fa);
}

#js-order-delivery .s-delivery-pickup-change-btn {
  margin-top: 4px;
  border: 2px solid var(--color-text, #171717);
  background: var(--color-white, #fff);
}

@media (hover: hover) {
  #js-order-delivery .s-delivery-pickup-btn:hover {
    background: #eceef3;
  }
}
#js-order-delivery .s-delivery-pickup-btn:focus-visible {
  background: #eceef3;
}

@media (hover: hover) {
  #js-order-delivery .s-delivery-pickup-change-btn:hover {
    border-color: var(--color-btn-main--default, #ef773d);
    color: var(--color-btn-main--default, #ef773d);
  }
}
#js-order-delivery .s-delivery-pickup-change-btn:focus-visible {
  border-color: var(--color-btn-main--default, #ef773d);
  color: var(--color-btn-main--default, #ef773d);
}

#js-order-delivery.pf-validation-attention {
  border-radius: 20px;
  box-shadow: 0 0 0 2px rgba(239, 119, 61, 0.55);
}

#js-order-delivery.pf-validation-attention .s-delivery-option.is-active {
  border-color: #ef773d;
}

@media (hover: hover) {
  #js-order-delivery.pf-validation-attention .s-delivery-option.is-active:hover {
    border: 2px solid #171717;
  }
}

#js-order-payment .s-payment-info {
  display: flex;
}

/* Guest auth bar — top of cart column (/order/), Figma 241:9482 */
.s-order-page .pf-order-auth,
.s-order-page .pf-order-auth *,
.s-order-page .pf-order-auth ::before,
.s-order-page .pf-order-auth ::after {
  box-sizing: border-box;
}

.pf-order-auth {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 195px;
  margin-bottom: 0;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: #d7dff9;
}

/* Figma 142:5567 — cart (y=280) overlaps auth (y=153, h=195) by 68px */
.pf-order-auth ~ #js-order-cart {
  position: relative;
  z-index: 1;
  margin-top: -68px;
}

.pf-order-auth::before {
  position: absolute;
  content: "";
  width: 500px;
  height: 445px;
  left: 114px;
  top: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  filter: blur(72px);
  transform: rotate(-84deg);
  pointer-events: none;
}

.pf-order-auth__title {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 329px;
  margin: 13px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: #171717;
}

.pf-order-auth__controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 271px;
  flex-direction: column;
  gap: 8px;
  width: 271px;
  max-width: 100%;
}

.pf-order-auth__phone-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: rgba(23, 23, 23, 0.4);
  text-align: left;
  cursor: pointer;
}

@media (hover: hover) {
  .pf-order-auth__phone-trigger:hover {
    outline: 2px solid rgba(239, 119, 61, 0.35);
    outline-offset: 0;
  }
}
.pf-order-auth__phone-trigger:focus-visible {
  outline: 2px solid rgba(239, 119, 61, 0.35);
  outline-offset: 0;
}

.pf-order-auth__phone-trigger.has-value {
  color: #171717;
}

/* Figma 2739:28997 — mobile auth bar (320–768) */
@media screen and (max-width: 768px) {
  .pf-order-auth {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    gap: 8px;
    padding: 16px 16px 56px;
  }

  .pf-order-auth::before {
    width: 362px;
    height: 432px;
    left: -20px;
    top: -17px;
  }

  .pf-order-auth ~ #js-order-cart {
    margin-top: -48px;
  }

  .pf-order-auth__title {
    flex: 0 0 auto;
    max-width: none;
    margin-top: 0;
    font-size: 16px;
  }

  .pf-order-auth__title br {
    display: none;
  }

  .pf-order-auth__controls {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Pickup point picker — match Figma node 328:21805 */
.wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-content {
  padding: 0 !important;
  border-top: 0;
  border-radius: 0 0 var(--element-border-radius) var(--element-border-radius);
  background: #fff;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section {
  padding: 0 !important;
  border-top: 0;
  background: #fff;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-map-section {
  padding: 0 !important;
  border-right: 0 !important;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-filters-wrapper {
  display: none !important;
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.25;
  color: #171717;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-filter-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-wrap {
  margin: 0 0 20px;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-field {
  height: 52px;
  padding: 0 20px 0 48px;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 16px;
  font-weight: 500;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-wrap:before {
  left: 20px;
  width: 20px;
  height: 20px;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding-right: 0;
  scrollbar-width: none;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list::-webkit-scrollbar {
  display: none;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  margin: 0;
  padding: 20px 66px 20px 20px;
  border: 2px solid #e9e9e9;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
}

@media (hover: hover) {
  .wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper:hover {
  border-color: #d9d9d9;
  background: #fff !important;
  }
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper:after {
  display: none;
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #0f9942;
  box-shadow: inset 0 0 0 6px #0f9942;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='white'/%3E%3Cpath d='M7 7c4 2 8 2 15 1-6 3-10 6-14 13 1-6 1-9-1-14Z' fill='black'/%3E%3Cpath d='M10 18c3-4 6-6 12-9-5 3-8 6-11 11Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='white'/%3E%3Cpath d='M7 7c4 2 8 2 15 1-6 3-10 6-14 13 1-6 1-9-1-14Z' fill='black'/%3E%3Cpath d='M10 18c3-4 6-6 12-9-5 3-8 6-11 11Z' fill='white'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-name {
  margin: 0 0 8px;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.25;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-details {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.25;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-price {
  color: #171717 !important;
  font-weight: 600;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-date,
.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-service {
  margin: 0;
  color: rgba(23, 23, 23, .4);
  font-weight: 600;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper .wa-service {
  display: none;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-sidebar-section {
  padding: 20px !important;
  box-sizing: border-box;
}

/* City chip in the pickup dialog header — Figma node 7582:38216 */
/* Core uses display:table, so we layer on top with that model */
.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city {
  display: table-cell !important;
  vertical-align: middle !important;
  width: 284px;
  padding: 0 32px 0 0 !important;
  text-align: right;
  white-space: normal;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 284px;
  min-height: 50px;
  padding: 8px 8px 8px 16px;
  border-radius: 10px;
  background: #ffe9de;
  box-sizing: border-box;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #171717;
  fill: currentColor;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__name {
  overflow: hidden;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #171717;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__btn {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #171717;
  cursor: pointer;
  transition: opacity 150ms linear;
}

@media (hover: hover) {
  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__btn:hover {
  opacity: .8;
  }
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 119, 61, .35);
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper {
  position: absolute !important;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
}

.wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper .wa-icon,
.wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper .wa-icon svg {
  display: block;
  width: 22px !important;
  height: 22px !important;
}

/* the dp city dialog is opened on top of core's pickup dialog, not instead of it */
#dp-dialog-city-select.dp-dialog {
  z-index: 100000;
}

/* Cart product actions sheet — Figma 2762:30910 (mobile ≤768) */
.s-cart-product-actions {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  pointer-events: none;
}
.s-cart-product-actions[hidden] {
  display: none !important;
}
.s-cart-product-actions__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.35);
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.25s ease;
}
.s-cart-product-actions.is-open .s-cart-product-actions__backdrop {
  opacity: 1;
}
.s-cart-product-actions__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: -4px 0 34px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  will-change: transform;
}
.s-cart-product-actions.is-open .s-cart-product-actions__sheet {
  transform: translateY(0);
}
.s-cart-product-actions__sheet.is-dragging {
  transition: none;
}
.s-cart-product-actions__grab {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 4px;
  margin-left: -22px;
  border-radius: 2px;
  background: rgba(54, 54, 54, 0.3);
  pointer-events: none;
}
.s-cart-product-actions__title {
  margin: 0;
  padding: 16px;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  color: #171717;
  user-select: none;
  touch-action: none;
  cursor: grab;
}
.s-cart-product-actions__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 8px;
}
.s-cart-product-actions__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 16px;
  border: 0;
  border-top: 1px solid rgba(23, 23, 23, 0.1);
  background: transparent;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  color: #171717;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.s-cart-product-actions__item.is-danger {
  color: #ff0000;
}
.s-cart-product-actions__item:active {
  background: rgba(23, 23, 23, 0.04);
}

@media screen and (min-width: 769px) {
  .s-cart-product-actions {
    display: none !important;
  }
}

/* Pickup map cluster — Figma 2803:16759 */
.pf-pickup-cluster {
  position: absolute;
  top: -24px;
  left: -24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid #0f9942;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  font-family: Montserrat, var(--font-sans, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #171717;
  cursor: pointer;
}

.wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-title {
  display: none;
}

html body .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-body .wa-dialog-header > .pf-pickup-tabs {
  display: none !important;
}

/* Pickup point picker, mobile — Figma 2776:16663 (map tab), 2803:16765 (list tab):
   full-screen sheet with "На карте" / "Списком" tabs */
@media (max-width: 760px) {
  html body .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-body {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: -4px 0 34px rgba(0, 0, 0, .08) !important;
  }

  html body .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-body .wa-dialog-header {
    position: relative;
    display: block !important;
    flex: 0 0 auto;
    padding: 21px 16px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header > div:first-child {
    display: block !important;
    padding: 0 32px 0 0 !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-header {
    display: none !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-title {
    display: block;
    margin: 0;
    font-family: Montserrat, var(--font-sans, sans-serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    color: #171717;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-mobile-content,
  .wa-order-dialog.wa-shipping-pickup-dialog .js-mobile-view-toggle {
    display: none !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper {
    top: 24px;
    right: 24px;
    width: 16px !important;
    height: 16px !important;
    opacity: .7;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper .wa-icon,
  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-header .wa-close-wrapper .wa-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city {
    display: block !important;
    width: auto;
    margin-top: 17px;
    padding: 0 !important;
    text-align: left;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-city__wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-content {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    -webkit-overflow-scrolling: touch;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section {
    height: auto !important;
  }

  html body .wa-order-dialog.wa-shipping-pickup-dialog.pf-pickup-has-tabs .wa-dialog-body .wa-dialog-header {
    padding-bottom: 0 !important;
  }

  /* core makes every header child a table-cell */
  html body .wa-order-dialog.wa-shipping-pickup-dialog .wa-dialog-body .wa-dialog-header > .pf-pickup-tabs {
    display: flex !important;
    gap: 10px;
    margin: 20px -16px 0 !important;
    padding: 0 16px !important;
    border-bottom: 1px solid #d9d9d9;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-tabs__item {
    position: relative;
    margin: 0;
    padding: 0 0 10px;
    border: 0;
    background: none;
    font-family: Montserrat, var(--font-sans, sans-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #171717;
    opacity: .4;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 150ms linear;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-tabs__item.is-active {
    opacity: 1;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-tabs__item.is-active:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #171717;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-tabs__item:focus-visible {
    outline: none;
    opacity: 1;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-map-section {
    display: block !important;
    height: max(280px, calc(100vh - 162px)) !important;
    height: max(280px, calc(100dvh - 162px)) !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-sidebar-section {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    padding: 20px 16px !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog.pf-pickup-has-tabs.is-mobile-list-view .wa-content-section .wa-map-section,
  .wa-order-dialog.wa-shipping-pickup-dialog.pf-pickup-has-tabs.is-mobile-map-view .wa-content-section .wa-sidebar-section {
    display: none !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-content-section .wa-sidebar-section > * {
    height: auto !important;
    overflow: visible !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list {
    max-height: none !important;
    overflow: visible !important;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .pf-pickup-search-wrap {
    margin: 0 0 16px;
  }

  .wa-order-dialog.wa-shipping-pickup-dialog .wa-variants-list .wa-variant-wrapper {
    min-height: 0;
    padding: 16px;
  }

  /* the map toolbar's search box covers the whole map at 320px; points are
     searched in the list below instead */
  .wa-order-dialog.wa-shipping-pickup-dialog .wa-map-wrapper [class*="-searchbox"] {
    display: none !important;
  }

  /* not in the design; pinch zoom covers it on touch screens */
  .wa-order-dialog.wa-shipping-pickup-dialog .wa-map-wrapper [class$="-zoom"] {
    display: none !important;
  }
}
