.by-desktop-constructor-guide {
  display: none;
}

@media (min-width: 769px) {
  .by-desktop-guide-source {
    display: none !important;
  }

  .by-desktop-constructor-guide {
    display: block;
    max-width: min(660px, 46vw);
    margin: 0;
    color: #102a27;
    text-align: left;
  }

  .by-desktop-constructor-guide h3 {
    margin: 0 0 5px;
    font-size: clamp(1.05rem, 1.18vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
  }

  .by-desktop-constructor-guide p {
    margin: 0 0 4px;
    font-size: clamp(0.78rem, 0.82vw, 0.94rem);
    line-height: 1.25;
  }

  .by-desktop-constructor-guide ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: clamp(0.72rem, 0.76vw, 0.88rem);
    line-height: 1.25;
  }

  .by-desktop-constructor-guide li {
    position: relative;
    padding-left: 14px;
  }

  .by-desktop-constructor-guide li::before {
    content: '';
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #07685e;
  }
}

.by-checkout-field-error .MuiOutlinedInput-notchedOutline,
.by-checkout-field-error fieldset {
  border-color: #c62828 !important;
  border-width: 2px !important;
}

.by-checkout-field-error label,
.by-checkout-field-error .MuiInputLabel-root {
  color: #a51f18 !important;
}

.by-checkout-field-message,
.by-checkout-delivery-message {
  margin: 7px 4px 0;
  color: #a51f18;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
}

.by-checkout-delivery-error {
  border-color: #d64f45 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.by-checkout-delivery-message {
  display: inline-flex;
  border: 1px solid #efb4af;
  border-radius: 10px;
  padding: 8px 11px;
  background: #fff3f2;
}

@media (prefers-reduced-motion: reduce) {
  .by-checkout-field-error,
  .by-checkout-delivery-error {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* BY notifications: one readable position on every page and above checkout overlays. */
.Toastify__toast-container,
.Toastify__toast-container--top-right,
.Toastify__toast-container--top-center {
  position: fixed !important;
  z-index: 200000 !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  right: auto !important;
  left: 50% !important;
  width: min(460px, calc(100vw - 32px)) !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.Toastify__toast {
  min-height: 58px !important;
  margin: 0 0 10px !important;
  border: 1px solid #b9d9cf !important;
  border-radius: 16px !important;
  padding: 13px 46px 13px 15px !important;
  color: #12322d !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 14px 36px rgba(18, 50, 45, 0.18) !important;
  font-family: inherit !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  pointer-events: auto !important;
  backdrop-filter: blur(12px);
}

.Toastify__toast--success {
  border-color: #8dc7b5 !important;
  background: #f5fcf8 !important;
}

.Toastify__toast--error {
  border-color: #efaaa3 !important;
  background: #fff7f6 !important;
}

.Toastify__toast--warning {
  border-color: #e8cd83 !important;
  background: #fffaf0 !important;
}

.Toastify__toast--info {
  border-color: #a8cce8 !important;
  background: #f6faff !important;
}

.Toastify__toast-icon {
  width: 22px !important;
  color: #087466 !important;
}

.Toastify__close-button {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  color: #50635f !important;
  transform: translateY(-50%) !important;
  opacity: 0.8 !important;
}

.Toastify__progress-bar {
  height: 4px !important;
  border-radius: 0 0 16px 16px !important;
}

.Toastify__progress-bar--success {
  background: #087466 !important;
}

@media (max-width: 480px) {
  .Toastify__toast-container,
  .Toastify__toast-container--top-right,
  .Toastify__toast-container--top-center {
    top: max(10px, env(safe-area-inset-top)) !important;
    width: calc(100vw - 20px) !important;
  }

  .Toastify__toast {
    min-height: 54px !important;
    border-radius: 14px !important;
    padding: 11px 42px 11px 13px !important;
    font-size: 0.9rem !important;
  }
}
