/* Terrikon integration overrides for the imported original landing. */
#home { padding-top: clamp(3.5rem, 8vw, 7.5rem); }
#marketplaces { padding-top: clamp(3rem, 7vw, 6rem); scroll-margin-top: 5.5rem; }
.main-slider__title strong, .text-\[\#FF197D\] { color: #0077ff !important; }
.bg-\[\#FF197D\] { background-color: #0077ff !important; }
.border-\[rgba\(255\,25\,125\,0\.25\)\] { border-color: rgba(0, 119, 255, 0.25) !important; }
.bg-\[rgba\(181\,0\,79\,0\.25\)\] { background-color: rgba(0, 73, 173, 0.2) !important; }
.landing-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
}

[data-account-action].account-tone--guest { background: linear-gradient(180deg, #368dff, #006cf5) !important; border-color: #0871f2 !important; color: #fff !important; }
[data-account-action].account-tone--client_confirmed { background: linear-gradient(180deg, #58d474, #20a84d) !important; border-color: #25aa50 !important; color: #fff !important; }
[data-account-action].account-tone--client_unconfirmed { background: linear-gradient(180deg, #ffd36f, #ef9e20) !important; border-color: #e79a22 !important; color: #3b2600 !important; }
[data-account-action].account-tone--employee { background: linear-gradient(180deg, #a184ff, #7048e8) !important; border-color: #7651e9 !important; color: #fff !important; }
[data-mobile-account].account-tone--client_confirmed { background: #e8f8ef !important; border-color: #c9ead6 !important; color: #167347 !important; }
[data-mobile-account].account-tone--client_unconfirmed { background: #fff2dc !important; border-color: #f0ddb7 !important; color: #9a5b09 !important; }
[data-mobile-account].account-tone--employee { background: #f0ecff !important; border-color: #ded5fb !important; color: #6650bc !important; }

[data-marketplace-card] {
  background-color: #f8fbff !important;
  background-image: url('/landing-site/assets/marketplace-block-bg.imuGyHmN.svg?v=20260903-css-surfaces1') !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
[data-marketplace-card="wb"] { background-color: #fff7fc !important; }
[data-marketplace-card="ozon"],
[data-marketplace-card="ozon-mail"] { background-color: #f6f9ff !important; }
[data-marketplace-card="yandex"],
[data-marketplace-card="yandex-market"] { background-color: #fffaf2 !important; }

/* The contact list is informational; the map changes only with the marketplace. */
[data-contact-point],
[data-contact-point]:hover,
[data-contact-point]:focus-visible,
[data-contact-point].is-selected {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  cursor: default !important;
  opacity: 1 !important;
  outline: none !important;
  pointer-events: none !important;
  transform: none !important;
}

.original-order-drawer input[data-prefilled-field="true"],
.original-order-drawer input[data-account-locked="phone"] {
  padding-right: 2.75rem !important;
  border-color: #d5e0eb !important;
  color: #455b72 !important;
  background-color: #f5f8fb !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2372869b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") !important;
  background-position: right 0.85rem center !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.original-order-drawer input[data-prefilled-field="true"]:focus,
.original-order-drawer input[data-account-locked="phone"]:focus {
  border-color: #c2d2e1 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(112, 143, 177, 0.09) !important;
}

.original-order-drawer,
html [data-slot="dialog-content"].order-dialog__panel,
html [data-ozon-mail-price-dialog].ozon-mail-price-dialog {
  background-color: #f7fbff !important;
  background-image:
    radial-gradient(circle at 8% 0%, rgba(77, 149, 255, 0.13), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(126, 110, 238, 0.09), transparent 38%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8fd 100%) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: auto !important;
}

html .original-order-drawer.ozon-mail-drawer {
  color: #263e59 !important;
}

html .ozon-mail-drawer .order-dialog__header h2,
html .ozon-mail-drawer .ozon-mail__send-header h2,
html .ozon-mail-drawer .ozon-mail__receive h2 {
  color: #173657 !important;
  font-size: clamp(1.5rem, 3.4vw, 2rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
}

html .ozon-mail-drawer .order-dialog__header > span,
html .ozon-mail-drawer .ozon-mail__action-copy > span,
html .ozon-mail-drawer .ozon-mail__choice-list small,
html .ozon-mail-drawer .ozon-mail__instruction-list p {
  color: #5f748b !important;
  font-size: 0.875rem !important;
  line-height: 1.48 !important;
}

html .ozon-mail-drawer .ozon-mail__action-copy strong,
html .ozon-mail-drawer .ozon-mail__choice-list strong,
html .ozon-mail-drawer .ozon-mail__instruction-list strong {
  color: #203a57 !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
}

html .ozon-mail-drawer .ozon-mail__send-nav > span,
html .ozon-mail-drawer .ozon-mail__steps span {
  color: #6f8297 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}

html .ozon-mail-drawer .ozon-mail__steps span.active {
  color: #006fe8 !important;
}

html .ozon-mail-drawer .ozon-mail__destination small,
html .ozon-mail-drawer .ozon-mail__sorting-center small {
  color: #587592 !important;
  font-size: 0.75rem !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html .ozon-mail-drawer .order-field > label {
  color: #3d536b !important;
  font-size: 0.8125rem !important;
  font-weight: 680 !important;
}

html .ozon-mail-drawer .order-field__hint,
html .ozon-mail-drawer .order-field__errors,
html .ozon-mail-drawer .ozon-mail__consent {
  font-size: 0.75rem !important;
  line-height: 1.45 !important;
}

html .ozon-mail-drawer .pvz-combobox__trigger {
  min-height: 2.75rem !important;
  padding: 0.55rem 0.75rem !important;
  border-color: #bfd5ec !important;
  border-radius: 0.7rem !important;
  color: #203a57 !important;
  background: #fff !important;
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
}

.pvz-combobox__portal:has(#ozon-mail-point-listbox) {
  border-color: #c9dced !important;
  border-radius: 1rem !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(20, 50, 90, 0.22) !important;
}

.pvz-combobox__portal:has(#ozon-mail-point-listbox) .pvz-combobox__search {
  min-height: 3rem !important;
  padding: 0.55rem 0.75rem !important;
  background: #f8fbff !important;
}

.pvz-combobox__portal:has(#ozon-mail-point-listbox) .pvz-combobox__search input {
  color: #203a57 !important;
  font-size: 0.875rem !important;
}

.pvz-combobox__portal:has(#ozon-mail-point-listbox) .pvz-combobox__list h4 {
  color: #657b91 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.pvz-combobox__portal:has(#ozon-mail-point-listbox) .pvz-combobox__list button {
  min-height: 3rem !important;
  padding: 0.65rem 0.7rem !important;
  color: #29445f !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
}

html [data-ozon-mail-price-dialog].ozon-mail-price-dialog {
  position: absolute !important;
  z-index: 1201 !important;
  inset: 0.625rem !important;
  width: auto !important;
  height: auto !important;
  max-width: 35rem !important;
  max-height: none !important;
  margin: auto !important;
  overflow: hidden !important;
  translate: none !important;
  transform: none !important;
}

html [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__title {
  color: #173657 !important;
  font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
  font-weight: 760 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
}

html [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__list dt {
  color: #4f657c !important;
  font-size: 0.875rem !important;
  line-height: 1.4 !important;
}

html [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__list dd {
  color: #203a57 !important;
  font-size: 0.9375rem !important;
  font-weight: 750 !important;
}

html [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__hint {
  color: #315f8f !important;
  background: #eaf4ff !important;
  font-size: 0.8125rem !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}

.original-order-drawer:has([data-ozon-mail-price-dialog]) > .original-order-drawer__close {
  visibility: hidden !important;
  pointer-events: none !important;
}
[data-ozon-mail-price-dialog] [data-slot="dialog-close"] {
  z-index: 2 !important;
  top: 0.55rem !important;
  right: 0.55rem !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  display: grid !important;
  place-items: center !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}

/* Compact, readable order forms in the committed landing export. */
html .original-order-drawer:has(form) h2,
html .original-order-drawer:has(#ozon-instruction-point) h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.8rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.025em !important;
}

html .original-order-drawer form {
  font-size: 0.875rem !important;
}

html .original-order-drawer form label {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

html .original-order-drawer form input:not([type="checkbox"]),
html .original-order-drawer form textarea,
html .original-order-drawer form select,
html .original-order-drawer form .pvz-combobox__trigger {
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}

[data-marketplace-title="wb"] { color: #b018a5 !important; }
[data-marketplace-title="ozon"] { color: #075ee8 !important; }
[data-marketplace-title="yandex"],
[data-marketplace-title="yandex-market"] { color: #d88600 !important; }

/* Keep the Ozon Mail receive back action calm, roomy and clear of the close button. */
html .ozon-mail-drawer [data-back-to-actions] {
  align-items: center !important;
  align-self: start !important;
  width: max-content !important;
  max-width: calc(100% - 3.25rem) !important;
  min-height: 2.625rem !important;
  margin: 0 0 0.875rem !important;
  padding: 0 1rem !important;
  border: 1px solid #d2e1f0 !important;
  border-radius: 0.875rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 24px -18px rgba(31, 78, 128, 0.48) !important;
  color: #365d84 !important;
  display: inline-flex !important;
  justify-content: center !important;
  font-size: 0.8125rem !important;
  font-weight: 680 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

html .ozon-mail-drawer [data-back-to-actions] > svg {
  display: none !important;
}

html .ozon-mail-drawer [data-back-to-actions]:hover,
html .ozon-mail-drawer [data-back-to-actions]:focus-visible {
  border-color: #4d95ff !important;
  background: #fff !important;
  color: #075ee8 !important;
  outline: 3px solid rgba(77, 149, 255, 0.2) !important;
}

/* Long client-facing addresses must not push the combobox arrow away. */
.pvz-combobox__trigger > span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.pvz-combobox__trigger > svg {
  flex: 0 0 1rem !important;
  width: 1rem !important;
}

.pvz-combobox__list button > span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

/* Ozon instruction: tighter first step and a proper secondary back action. */
html .original-order-drawer:has(#ozon-instruction-point)
  .ozon-drawer__scroll.is-selection-step > :first-child {
  margin-bottom: 0.75rem !important;
}

html .original-order-drawer:has(#ozon-instruction-point) .ozon-step__selection {
  padding-bottom: 0.25rem !important;
}

html .original-order-drawer:has(#ozon-instruction-point)
  .ozon-step__content:not(.ozon-step__selection) > div:last-child {
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}

html .original-order-drawer:has(#ozon-instruction-point)
  .ozon-step__content:not(.ozon-step__selection) > div:last-child > button {
  width: min(100%, 13rem) !important;
  min-height: 2.75rem !important;
  border: 1px solid #b9d5f2 !important;
  border-radius: 0.75rem !important;
  background: #f7fbff !important;
  color: #075ee8 !important;
  font-size: 0.875rem !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

@media (max-width: 40rem) {
  [data-hero-viewport] > .grid > .relative.flex.items-center.justify-center.order-1 { padding-top: 4rem; }
  [data-hero-viewport] > .grid > div:has(> .main-slider__title) { padding-bottom: 3.5rem; }
  #marketplaces { padding-top: 3.5rem; }

  .original-order-drawer:has(#wb-order-point) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
  .pvz-combobox:has(#wb-order-point) .pvz-combobox__popover {
    position: fixed !important;
    z-index: 1200 !important;
    top: max(4.5rem, env(safe-area-inset-top, 0px)) !important;
    right: 0.75rem !important;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px)) !important;
    left: 0.75rem !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
  }
  .pvz-combobox:has(#wb-order-point) .pvz-combobox__list {
    min-height: 0 !important;
    max-height: none !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pvz-combobox__portal:has(#ozon-mail-point-listbox) {
    z-index: 1300 !important;
    border-radius: 0.85rem !important;
    box-shadow: 0 18px 45px rgba(20, 50, 90, 0.18) !important;
  }
  .pvz-combobox__portal:has(#ozon-mail-point-listbox) .pvz-combobox__search input,
  html .ozon-mail-drawer input,
  html .ozon-mail-drawer textarea {
    font-size: 1rem !important;
  }

  html .original-order-drawer:has(form) h2,
  html .original-order-drawer:has(#ozon-instruction-point) h2 {
    font-size: 1.35rem !important;
  }

  html [data-ozon-mail-price-dialog].ozon-mail-price-dialog {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 1rem !important;
  }
  [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__title {
    flex: 0 0 auto;
    padding: 1rem 3.25rem 0.85rem 1rem !important;
  }
  [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__scroll {
    min-height: 0 !important;
    flex: 1 1 auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 1rem 1rem !important;
  }
  [data-ozon-mail-price-dialog] .ozon-mail-price-dialog__list > div {
    gap: 0.75rem !important;
    padding: 0.68rem 0 !important;
  }
}
