.contacts-page { background: #faf9f8; padding: clamp(30px, 5vw, 72px) clamp(16px, 5vw, 80px) 56px; }
.contacts-heading { text-align: center; }
.contacts-heading h1 { color: var(--red); font-size: clamp(36px, 5vw, 66px); letter-spacing: -.04em; margin: 0; }
.contacts-heading p { color: #575b5e; margin: 12px 0 0; }
.contacts-map { position: relative; max-width: 1260px; margin: 18px auto 0; }
.contacts-outline { display: block; width: 100%; height: auto; overflow: visible; }
.contacts-outline g { filter: drop-shadow(0 8px 9px #211e1c20); }
.contacts-outline path {
  fill: #fff;
  stroke: #a4a19e;
  stroke-width: 2.5;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .15s ease;
}
.contacts-outline path.is-active { fill: #df565b; stroke: #b2222a; }
.contacts-pins { position: absolute; inset: 0; pointer-events: none; }
.contacts-pin {
  position: absolute;
  transform: translate(-50%, -84%);
  display: grid;
  place-items: center;
  width: clamp(22px, 3vw, 40px);
  height: clamp(30px, 4.3vw, 54px);
  border: 0;
  border-radius: 10px;
  padding: 2px;
  background: transparent;
  color: #c51c24;
  cursor: pointer;
  pointer-events: auto;
}
.contacts-pin svg { width: 100%; height: 100%; overflow: visible; }
.contacts-pin[aria-pressed="true"] { color: #29282a; }
.contacts-pin:focus-visible, .contacts-picker select:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
.contacts-popover {
  position: absolute;
  z-index: 2;
  width: min(280px, 100%);
  left: clamp(0px, calc(var(--pin-x) - 140px), calc(100% - 280px));
  bottom: calc(100% - var(--pin-y) + clamp(29px, 4.2vw, 52px));
  background: #29282a;
  color: #fff;
  border-radius: 12px;
  padding: 17px 20px;
  box-shadow: 0 10px 28px #201b1926;
}
.contacts-popover[hidden] { display: none; }
.contacts-popover h2 { margin: 0 0 10px; font-size: 14px; line-height: 1.4; color: #f2dfdf; }
.contacts-popover p { margin: 10px 0 0; font-size: 14px; }
.contacts-popover a { display: block; width: fit-content; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.65; text-decoration: underline; text-underline-offset: 3px; }
.contacts-picker { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contacts-picker label { font-weight: 600; }
.contacts-picker select { max-width: 100%; padding: 10px 12px; font: inherit; color: var(--ink); border: 1px solid #c9c4bf; border-radius: 8px; background: #fff; }
@media (max-width: 760px) {
  .contacts-map { display: grid; grid-template-areas: 'map' 'phones'; margin-bottom: 16px; }
  .contacts-outline, .contacts-pins { grid-area: map; }
  .contacts-pins { position: relative; }
  .contacts-popover { grid-area: phones; position: static; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-outline path { transition: none; }
}
.contacts-picker { margin-top: 22px; }

.contact-stores {
  max-width: 1260px;
  margin: clamp(28px, 5vw, 76px) auto 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}
.contact-stores > h2 {
  margin: 0 0 clamp(20px, 3vw, 38px);
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -.035em;
}
.contact-store {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  margin-bottom: clamp(24px, 3vw, 42px);
}
.contact-store:last-child { margin-bottom: 0; }
.contact-store-details, .contact-store-photo {
  border: 1px solid #e7e3e0;
  border-radius: 14px;
}
.contact-store-details {
  background: #fff;
  padding: clamp(20px, 3vw, 48px);
}
.contact-store-details h3 {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
  color: var(--red);
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.25;
}
.contact-store-details dl { margin: 0; }
.contact-store-details dt {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e7e3e0;
  color: #5e5b58;
  font-size: 14px;
}
.contact-store-details dt:first-child { border: 0; margin-top: 0; }
.contact-store-details dd { margin: 5px 0 0; line-height: 1.5; }
.contact-store-phones { display: grid; gap: 3px; }
.contact-store-phones a { color: var(--ink); font-size: clamp(17px, 1.8vw, 24px); font-weight: 700; }
.contact-store-phones a:hover, .contact-store-email { color: var(--red); }
.contact-store-email { text-decoration: underline; text-underline-offset: 3px; }
.contact-store-phones small { color: #5e5b58; }
.contact-store-photo {
  display: grid;
  place-items: center;
  min-height: 230px;
  overflow: hidden;
  background: #f0eeec;
  color: #605c58;
  font-size: 14px;
}
.contact-store-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 761px) {
  .contact-store:nth-of-type(even) .contact-store-photo { grid-area: 1 / 1; }
  .contact-store:nth-of-type(even) .contact-store-details { grid-area: 1 / 2; }
}
@media (max-width: 760px) {
  .contact-store { grid-template-columns: 1fr; gap: 12px; }
  .contact-store-photo { min-height: 0; aspect-ratio: 16 / 9; }
}
