/* IKD_REGION_STORE_UI_V1 */

.ikd-region-store-chip {
  appearance: none;
  border: 1px solid rgba(17, 17, 17, .12);
  background: #fff;
  border-radius: 14px;
  padding: 9px 12px;
  min-width: 190px;
  max-width: 280px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #111;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.ikd-region-store-chip__city,
.ikd-region-store-chip__address {
  font-size: 11px;
  line-height: 1.25;
  color: #666;
}

.ikd-region-store-chip strong {
  font-size: 13px;
  line-height: 1.25;
}

.ikd-region-store-chip__change {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #e65d00;
}

.ikd-region-store-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ikd-region-store-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(4px);
}

.ikd-region-store-dialog__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.ikd-region-store-dialog__panel h2 {
  margin: 5px 0 8px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.05;
}

.ikd-region-store-dialog__eyebrow {
  color: #e65d00;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ikd-region-store-dialog__hint {
  margin: 0 0 20px;
  color: #666;
  line-height: 1.45;
}

.ikd-region-store-dialog__stores {
  display: grid;
  gap: 12px;
}

.ikd-region-store-card {
  appearance: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 16px;
  padding: 17px 18px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 5px;
  transition:
    border-color .15s ease,
    transform .15s ease,
    box-shadow .15s ease;
}

.ikd-region-store-card:hover {
  border-color: #e65d00;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.ikd-region-store-card strong {
  font-size: 17px;
}

.ikd-region-store-card span {
  color: #666;
  line-height: 1.35;
}

.ikd-region-store-dialog__cancel {
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: #f1f1f1;
  cursor: pointer;
  font-weight: 700;
}

@media (max-width: 760px) {
  .ikd-region-store-chip {
    order: 20;
    min-width: 0;
    width: 100%;
    max-width: none;
  }

  .ikd-region-store-dialog {
    align-items: end;
    padding: 10px;
  }

  .ikd-region-store-dialog__panel {
    border-radius: 22px 22px 16px 16px;
    padding: 22px 18px;
  }
}
