:root {
  --widget-theme-color: #2563eb;
  --widget-theme-color-hover: color-mix(in srgb, var(--widget-theme-color) 82%, black);
  --widget-theme-color-light: color-mix(in srgb, var(--widget-theme-color) 65%, white);
  --widget-theme-color-soft: color-mix(in srgb, var(--widget-theme-color) 25%, transparent);
  --widget-theme-color-fill-8: color-mix(in srgb, var(--widget-theme-color) 8%, transparent);
  --widget-theme-color-fill-12: color-mix(in srgb, var(--widget-theme-color) 12%, transparent);
  --widget-theme-color-fill-15: color-mix(in srgb, var(--widget-theme-color) 15%, transparent);
  --widget-theme-color-fill-18: color-mix(in srgb, var(--widget-theme-color) 18%, transparent);
}

body {
  margin: 0 auto;
  max-width: var(--widget-max-width, 600px);
  padding: 24px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #111827;
}

.page-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.lang-switch {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 4px;
  gap: 4px;
}

.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #6b7280;
}

.lang-switch__btn:hover:not(.is-active) {
  background: #f3f4f6;
}

.lang-switch__btn.is-active {
  background: var(--widget-theme-color);
  color: white;
  border: 1px solid var(--widget-theme-color-soft);
}

.delivery-type-section {
  width: 100%;
}

.delivery-type-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.delivery-type-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  background: #f3f4f6;
  border-radius: 16px;
}

.delivery-type-row.is-loading,
.delivery-type-row.is-empty {
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 14px;
}

.delivery-type-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  background: #fff;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.delivery-type-btn:hover:not(.is-active):not(:disabled) {
  background: #e5e7eb;
}

.delivery-type-btn.is-active {
  background: var(--widget-theme-color);
  color: #fff;
}

.delivery-type-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.delivery-type-btn:disabled.is-active {
  background: var(--widget-theme-color-light);
  color: #fff;
}

.delivery-type-error {
  margin: 12px 0 0;
  font-size: 14px;
  color: #dc2626;
}

.delivery-address-section {
  width: 100%;
  margin-top: 24px;
}

.shipping-rates-section {
  width: 100%;
  margin-top: 24px;
}

.shipping-rates-panel {
  width: 100%;
}

.shipping-rates-confirm {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  border: 1px solid var(--widget-theme-color);
  border-radius: 16px;
  padding: 12px 18px;
  background: var(--widget-theme-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shipping-rates-confirm__spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: shipping-rates-spin 0.8s linear infinite;
}

.shipping-rates-confirm:hover:not(:disabled) {
  background: var(--widget-theme-color-hover);
  border-color: var(--widget-theme-color-hover);
}

.shipping-rates-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.shipping-rates-confirm.is-loading:disabled {
  opacity: 1;
  cursor: wait;
}

.shipping-rates-confirm__error {
  margin: 8px 0 0;
  color: #dc2626;
  font-size: 13px;
  text-align: center;
}

.shipping-rates-panel.is-loading {
  min-height: 88px;
}

.shipping-rates-panel__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
}

.shipping-rates-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--widget-theme-color);
  border-radius: 50%;
  animation: shipping-rates-spin 0.8s linear infinite;
}

@keyframes shipping-rates-spin {
  to {
    transform: rotate(360deg);
  }
}

.shipping-rates-panel__loading-text {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.shipping-rates-panel__error {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 16px;
  color: #dc2626;
  font-size: 14px;
  text-align: center;
}

.shipping-rates-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.shipping-rates-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-rates-carousel__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.shipping-rates-row--carousel {
  overflow-x: visible;
  transition: transform 0.2s ease;
  will-change: transform;
}

.shipping-rates-row--carousel .shipping-rates-card {
  flex: 0 0 auto;
  min-width: 0;
}

.shipping-rates-carousel__nav {
  appearance: none;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.shipping-rates-carousel__nav:hover:not(:disabled) {
  border-color: #cbd5e1;
  background: #f9fafb;
  color: #111827;
}

.shipping-rates-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.shipping-rates-card {
  appearance: none;
  flex: 1 1 0;
  min-width: 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  padding: 12px 10px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease;
}

.shipping-rates-card:hover:not(.is-selected) {
  border-color: #cbd5e1;
}

.shipping-rates-card.is-selected {
  border-color: var(--widget-theme-color);
}

.shipping-rates-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.shipping-rates-card__provider-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.shipping-rates-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
}

.shipping-rates-card__meta {
  font-size: 13px;
  line-height: 1.2;
  color: var(--widget-theme-color);
}

.shipping-rates-card__price {
  font-weight: 700;
}

.shipping-rates-card__days {
  font-weight: 500;
}

.shipping-rates-card__notes {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
  white-space: pre-wrap;
}

.delivery-address-card {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.delivery-address-card--active {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.delivery-address-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.delivery-address-card.is-loading,
.delivery-address-card.is-empty,
.delivery-address-card.is-error {
  color: #6b7280;
  font-size: 14px;
  background: #f9fafb;
}

.delivery-address-card.is-error {
  color: #dc2626;
}

.delivery-address-card__city {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.delivery-address-card__line {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}

.delivery-address-card__line-row,
.address-modal__item-line-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-address-card__line-row .delivery-address-card__line,
.address-modal__item-line-row .address-modal__item-line {
  flex: 1 1 auto;
  min-width: 0;
}

.delivery-address-card__contact-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.delivery-address-card__type-row,
.address-modal__item-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.delivery-type-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.delivery-address-card__type {
  flex: 0 0 auto;
  font-weight: 600;
  color: #374151;
}

.delivery-address-card__contact-row .delivery-address-card__contact {
  margin: 0;
  width: 100%;
  line-height: 1.45;
}

.delivery-address__edit {
  appearance: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  border: 1px solid var(--widget-theme-color);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  background: var(--widget-theme-color);
  color: #fff;
}

.delivery-address__edit:hover {
  background: var(--widget-theme-color);
  border-color: var(--widget-theme-color);
}

.delivery-address__edit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delivery-address-list__empty {
  margin: 0;
  padding: 12px 0 4px;
  color: #6b7280;
  font-size: 14px;
}

.delivery-address-list__error {
  margin: 0;
  padding: 12px 0 4px;
  color: #dc2626;
  font-size: 14px;
}

.address-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.widget-error-popup {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.widget-error-popup[hidden] {
  display: none;
}

.widget-error-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.widget-error-popup__panel {
  position: relative;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.widget-error-popup__message {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.address-modal[hidden] {
  display: none;
}

.address-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.address-modal__panel {
  position: relative;
  width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.address-modal__title {
  margin: 0;
  padding: 18px 20px 8px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.address-modal__filter {
  padding: 0 20px 12px;
}

.address-modal__filter-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #111827;
  background: #fff;
  outline: none;
}

.address-modal__filter-input:focus {
  border-color: var(--widget-theme-color, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.address-modal__filter-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.address-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.address-modal__empty {
  margin: 0;
  padding: 12px 0 20px;
  color: #6b7280;
  font-size: 14px;
}

.address-modal__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.address-modal__item-radio {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--widget-theme-color);
  cursor: pointer;
}

.address-modal__item-body {
  flex: 1 1 auto;
  min-width: 0;
}

.address-modal__item:hover {
  border-color: #cbd5e1;
  background: #f9fafb;
}

.address-modal__item.is-selected {
  border-color: var(--widget-theme-color);
  background: var(--widget-theme-color-fill-8);
  box-shadow: inset 0 0 0 1px var(--widget-theme-color);
}

.address-modal__item-city {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.address-modal__item-line {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
}

.address-modal__item-contact {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.address-modal__item-meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.address-modal__item-menu {
  position: relative;
  flex: 0 0 auto;
  margin: 0 -6px 0 0;
}

.address-modal__item-menu-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}

.address-modal__item-menu-btn:hover,
.address-modal__item-menu-btn.is-open {
  background: #f3f4f6;
  color: #111827;
}

.address-modal__item-menu-panel {
  position: fixed;
  z-index: 1101;
  min-width: 140px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.address-modal__item-menu-panel[hidden] {
  display: none;
}

.address-modal__item-menu-action {
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: left;
  background: transparent;
  color: #111827;
  font-size: 14px;
  cursor: pointer;
}

.address-modal__item-menu-action:hover {
  background: #f3f4f6;
}

.address-modal__item-menu-action--danger {
  color: #dc2626;
}

.address-modal__item-menu-action--danger:hover {
  background: #fef2f2;
}

.address-modal__actions {
  position: relative;
  z-index: 1;
  padding: 16px 20px 20px;
  background: #fff;
}

.address-modal__actions-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.address-modal__add,
.address-modal__confirm {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.address-modal__add {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
}

.address-modal__add:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
}

.address-modal__confirm {
  border: none;
  background: var(--widget-theme-color);
  color: #fff;
}

.address-modal__confirm:hover:not(:disabled) {
  background: var(--widget-theme-color);
}

.address-modal__confirm:disabled {
  opacity: 0.5;
  cursor: default;
}

.address-modal__error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #dc2626;
}

/* New address modal window */
.new-address-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.new-address-modal[hidden] {
  display: none;
}

.new-address-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.new-address-modal__panel {
  position: relative;
  width: 80%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.new-address-modal__title {
  margin: 0;
  padding: 18px 20px 12px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.new-address-modal__delivery-type-row.is-loading,
.new-address-modal__delivery-type-row.is-loading .delivery-type-btn {
  pointer-events: none;
}

.new-address-modal__delivery-type-row.is-loading .delivery-type-btn {
  opacity: 0.55;
}

.new-address-modal__form.is-loading,
.new-address-modal__delivery-type-row.is-loading,
.new-address-modal__map.is-loading {
  pointer-events: none;
  opacity: 0.55;
}

.new-address-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 12px;
  position: relative;
  z-index: 2;
  overflow: visible;
  flex: 0 1 auto;
  min-height: 0;
}

.new-address-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.new-address-modal__field[hidden] {
  display: none !important;
}

.new-address-modal__delivery-type-row {
  margin: 0;
}

.new-address-modal__field-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: visible;
}

.new-address-modal__field-row > .new-address-modal__field {
  flex: 1 1 0;
  min-width: 0;
}

.new-address-modal__location-row {
  z-index: 25;
}

.new-address-modal__field--country {
  position: relative;
  z-index: 2;
}

.new-address-modal__combobox--country {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-address-modal__country-input-flag {
  width: 1.25em;
  line-height: 1;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.new-address-modal__combobox--country .new-address-modal__combobox-input {
  flex: 1;
  min-width: 0;
}

.new-address-modal__country-flag {
  width: 1.15em;
  line-height: 1;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.new-address-modal__country-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.new-address-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
}

.new-address-modal__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #111827;
}

.new-address-modal__input:focus {
  outline: none;
  border-color: var(--widget-theme-color);
  box-shadow: 0 0 0 3px var(--widget-theme-color-fill-15);
}

.new-address-modal__phone-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.new-address-modal__phone-input:focus-within {
  border-color: var(--widget-theme-color);
  box-shadow: 0 0 0 3px var(--widget-theme-color-fill-15);
}

.new-address-modal__phone-flag {
  flex: 0 0 auto;
  display: none !important;
  width: 0;
  min-width: 0;
  height: 13.5px;
  line-height: 13.5px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.new-address-modal__phone-input.has-detected-country .new-address-modal__phone-flag {
  display: inline-block !important;
  width: 18px;
  min-width: 18px;
  margin-left: 12px;
  margin-right: 8px;
  opacity: 1;
}

.new-address-modal__phone-control {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding-left: 12px;
}

.new-address-modal__phone-input.has-detected-country .new-address-modal__phone-control {
  padding-left: 0;
}

.new-address-modal__phone-control:focus {
  border: none;
  box-shadow: none;
}

.new-address-modal__phone-control:disabled {
  background: #f9fafb;
}

.new-address-modal__field--city {
  position: relative;
  z-index: 1;
}

.new-address-modal__field--pickup-point {
  position: relative;
  z-index: 10;
}

.new-address-modal__combobox--pickup-point .new-address-modal__combobox-input {
  padding-right: 36px;
}

.new-address-modal__pickup-point-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.new-address-modal__combobox {
  position: relative;
}

.new-address-modal__combobox-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #f9fafb;
}

.new-address-modal__combobox-list {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 180px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.new-address-modal__combobox-list--city,
.new-address-modal__combobox-list--pickup-point,
.new-address-modal__combobox-list--country {
  z-index: 100;
}

.new-address-modal__combobox-option--country {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-address-modal__combobox-option--pickup-point {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.new-address-modal__pickup-point-label {
  flex: 1 1 auto;
  min-width: 0;
}

.provider-icon,
.new-address-modal__provider-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  object-fit: contain;
  cursor: auto;
}

.new-address-modal__combobox-option {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #111827;
  cursor: pointer;
}

.new-address-modal__combobox-option:hover,
.new-address-modal__combobox-option:focus {
  background: var(--widget-theme-color-fill-8);
}

.new-address-modal__combobox-option.is-selected {
  background: var(--widget-theme-color-fill-12);
  color: var(--widget-theme-color);
  font-weight: 600;
}

.new-address-modal__combobox-option.is-selected:hover,
.new-address-modal__combobox-option.is-selected:focus {
  background: var(--widget-theme-color-fill-18);
}

.new-address-modal__map {
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
  height: 220px;
  min-height: 140px;
  max-height: 220px;
  margin: 0 20px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.new-address-modal__map.is-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.new-address-modal__actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 16px 20px 20px;
  flex: 0 0 auto;
}

.new-address-modal__cancel,
.new-address-modal__save {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
}

.new-address-modal__cancel {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
}

.new-address-modal__cancel:hover {
  background: #f9fafb;
}

.new-address-modal__save {
  border: none;
  background: var(--widget-theme-color);
  color: #fff;
}

.new-address-modal__save:hover:not(:disabled) {
  background: var(--widget-theme-color);
}

.new-address-modal__save:disabled {
  opacity: 0.5;
  cursor: default;
}

.new-address-modal__error {
  margin: 0 20px 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
}

.new-address-modal__field-error {
  margin: -4px 20px 0;
  padding: 0 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
  color: #b91c1c;
}
