/* ---------- 18. Модальное окно «Доставка и возврат» ---------- */
.info-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.info-modal[hidden] { display: none; }
.info-modal__scrim { position: absolute; inset: 0; background: rgba(12, 10, 9, 0.35); }
.info-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 434px minmax(0, 1fr);
  width: min(1000px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(12, 10, 9, 0.24);
}
.info-modal__media { position: relative; background: #f1f0ee; }
.info-modal__dialog:focus, .info-modal__dialog:focus-visible { outline: none; }
.info-modal__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.info-modal__content {
  padding: 72px 56px 56px;
  overflow-y: auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #0c0a09;
}
.info-modal__title { margin: 0 0 28px; font-size: 24px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
.info-modal__content p { margin: 0 0 20px; }
.info-modal__content p:last-child { margin-bottom: 0; }
.info-modal__content a { color: inherit; }
.info-modal__close {
  position: absolute; top: 32px; right: 32px; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid #e5e5e5; border-radius: 50%;
  background: #fff; color: #0c0a09; cursor: pointer;
}
.info-modal__close:hover { background: #f5f5f4; }
.info-modal__close svg { width: 18px; height: 18px; }
body.modal-open { overflow: hidden; }
@media (max-width: 899px) {
  .info-modal { padding: 0; }
  .info-modal__dialog { grid-template-columns: 1fr; max-height: 100vh; width: 100%; }
  .info-modal__media { max-height: 40vh; }
  .info-modal__content { padding: 28px 20px 40px; font-size: 15px; }
  .info-modal__title { margin-bottom: 18px; font-size: 20px; padding-right: 40px; }
  .info-modal__close { top: 12px; right: 12px; width: 40px; height: 40px; }
}
