/* ==========================================================================
   Contact page (information/contact) — page-scoped (.p-info-*, .p-contact-*).
   Source: design/mockup/contact.html <style>; additions are marked "OC". Tokens only, logical properties only.
   ========================================================================== */

/* ---- page hero: shared component .c-page-hero (theme.css C3) ---- */
.p-info-section-title { font-size: var(--fs-xl); }

/* ---- channels ---- */
/* mockup sets these on the list inline */
.p-contact-channels { --min: 15rem; --grid-gap: var(--sp-3); }
.p-info-channel { display: flex; flex-direction: column; gap: var(--sp-3); block-size: 100%; }
.p-info-channel__title { font-size: var(--fs-lg); font-weight: var(--fw-medium); }
.p-info-channel__value { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: var(--fw-medium); line-height: var(--lh-snug); overflow-wrap: anywhere; }
.p-info-channel__value--address { font-family: var(--font-body); font-size: var(--fs-base); font-weight: var(--fw-medium); }
.p-info-channel__actions { margin-block-start: auto; padding-block-start: var(--sp-2); }
/* OC: store-location photo (System > Settings > Store Location) */
.p-contact-location__image { inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); background: var(--color-surface-sunken); }

/* ---- opening times + map (OC, O-078: the mockup's form column is gone, the aside cards share the row) ---- */
.p-info-contact-grid { display: grid; gap: var(--sp-6); align-items: start; }
.p-info-contact-grid > * { min-inline-size: 0; }
@media (min-width: 768px) { .p-info-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* OC: the settings comment runs under both cards */
.p-info-contact-grid > .c-alert { grid-column: 1 / -1; }
/* OC: only one card (no address, or no opening times) → a readable width instead of half the row */
@media (min-width: 768px) { .p-info-contact-grid--single { grid-template-columns: minmax(0, 48rem); } }
.p-contact-card-title { --cluster-gap: var(--sp-2); }
.p-contact-address { font-style: normal; }

/* ---- opening times ---- */
.p-info-hours { margin: 0; }
.p-info-hours__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-1) var(--sp-4); padding-block: var(--sp-3); border-block-end: 1px solid var(--color-border-subtle); }
.p-info-hours__row:last-child { border-block-end: 0; }
.p-info-hours dt { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: var(--fw-medium); }
.p-info-hours dd { margin: 0; font-family: var(--font-display); }

/* ---- map illustration ---- */
.p-info-map__art { margin: calc(var(--sp-5) * -1) calc(var(--sp-5) * -1) var(--sp-4); border-start-start-radius: var(--r-lg); border-start-end-radius: var(--r-lg); overflow: hidden; background: var(--n-50); }
@media (min-width: 768px) { .p-info-map__art { margin: calc(var(--sp-6) * -1) calc(var(--sp-6) * -1) var(--sp-5); } }
.p-info-map__art svg { inline-size: 100%; block-size: auto; }
.p-info-map__land { fill: var(--n-50); }
.p-info-map__sea { fill: var(--blue-100); }
.p-info-map__roads { fill: none; stroke: var(--n-0); stroke-width: 9; stroke-linecap: round; }
.p-info-map__rail { fill: none; stroke: var(--n-400); stroke-width: 2.5; stroke-dasharray: 8 6; }
.p-info-map__blocks { fill: var(--n-100); }
.p-info-map__pin { fill: var(--red-500); }
.p-info-map__pin-dot { fill: var(--n-0); }
.p-info-map__halo { fill: var(--red-500); opacity: 0.16; }

/* OC: modules assigned to the Contact layout's columns */
.p-info-columns { display: grid; gap: var(--sp-6); }
@media (min-width: 768px) { .p-info-columns { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
