/* FRUTTI DI MARE — self-pickup Yandex API component; isolated from checkout/delivery zones */
.fm-pickup {
  box-sizing: border-box;
  margin: 28px 0 36px;
  padding: 20px;
  border: 1px solid #dce8df;
  border-radius: 16px;
  background: #fff;
  color: #142d25;
  font: inherit;
}
.fm-pickup *, .fm-pickup *::before, .fm-pickup *::after { box-sizing: border-box; }
.fm-pickup__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 18px;
}
.fm-pickup__head h3 {
  margin: 0 0 7px;
  color: #153c2c;
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.2;
}
.fm-pickup__head p { margin: 0; color: #42594d; max-width: 690px; line-height: 1.5; }
.fm-pickup__phone { white-space: nowrap; color: #176037; font-weight: 700; }
.fm-pickup__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 290px); gap: 20px; }
.fm-pickup__map-wrap {
  position: relative;
  min-width: 0;
  height: 410px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #deebe3;
  background: #edf5f0;
}
.fm-pickup__map { width: 100%; height: 100%; }
.fm-pickup__status {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 8px 12px;
  margin: 0;
  border: 1px solid #dbe9dc;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: #254435;
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.fm-pickup__map-wrap[data-map-state="unconfirmed"] .fm-pickup__status,
.fm-pickup__map-wrap[data-map-state="error"] .fm-pickup__status { border-color: #e3c6a7; background: #fff8ec; }
.fm-pickup__touch {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 8px 11px;
  border: 1px solid #cfddce;
  border-radius: 8px;
  background: #fff;
  color: #213f32;
  font-size: 12px;
  cursor: pointer;
}
.fm-pickup__touch[hidden] { display: none; }
.fm-pickup__side { display: flex; flex-direction: column; gap: 12px; }
.fm-pickup__side > strong { font-size: 18px; color: #113b2b; }
.fm-pickup__side form { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.fm-pickup__side label { font-size: 14px; font-weight: 600; color: #334c3c; }
.fm-pickup__side input {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #ccd8d0;
  border-radius: 9px;
  background: #fff;
  color: #142d25;
  font: inherit;
}
.fm-pickup__side input:focus-visible, .fm-pickup__side button:focus-visible, .fm-pickup__side a:focus-visible {
  outline: 3px solid #f0bd32;
  outline-offset: 2px;
}
.fm-pickup__primary, .fm-pickup__secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.fm-pickup__primary { border: 1px solid #f3b300; background: #ffc313; color: #162c24; }
.fm-pickup__secondary { border: 1px solid #c3d8ca; background: #f1f8f3; color: #244d34; }
.fm-pickup__primary:disabled, .fm-pickup__secondary:disabled { opacity: .55; cursor: not-allowed; }
.fm-pickup__external { color: #116338; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.fm-pickup__hint { margin: 2px 0 0; line-height: 1.55; color: #59665f; font-size: 13px; }
@media (max-width: 760px) {
  .fm-pickup { padding: 14px; margin: 20px 0 26px; border-radius: 12px; }
  .fm-pickup__layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fm-pickup__map-wrap { height: 340px; }
  .fm-pickup__side > strong { font-size: 17px; }
  .fm-pickup__head h3 { font-size: 22px; }
}
@media (max-width: 380px) {
  .fm-pickup { padding: 10px; }
  .fm-pickup__map-wrap { height: 290px; }
}
