/* Store shortcode block: [store_glasgow] / [store_edinburgh].
   Responds to the width of the column it is placed in (container query), so the same markup works in a full-width
   page, a narrow blog column or a product description. */
.store-block-wrap { container-type: inline-size; container-name: store; margin: 1.75rem 0 2.25rem; clear: both; }
.store-block, .store-block *, .store-block *::before, .store-block *::after { box-sizing: border-box; }
.store-block { display: grid; grid-template-columns: minmax(300px, 2fr) minmax(0, 3fr); border: 1px solid #dfe6ea; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 22px rgba(32, 62, 77, .07); overflow-wrap: normal; word-break: normal; }
.store-block-info { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 26px 28px; background: #f6f9fb; min-width: 0; }
.store-block-eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #668397; margin-bottom: 6px; line-height: 1.4; }
.store-block-title { font-size: 1.25rem; line-height: 1.3; color: #203e4d; margin-bottom: 14px; font-weight: 600; }
.store-block .store-block-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; margin: 0 0 10px; line-height: 1.55; color: #34434a; font-size: 15px; font-weight: 400; overflow-wrap: break-word; }
.store-block .store-block-row i { flex: 0 0 16px; margin-top: .28rem; text-align: center; color: #526e89; }
.store-block .store-block-row span { min-width: 0; }
.store-block .store-block-row a { color: #203e4d; font-weight: 600; text-decoration: none; }
.store-block .store-block-row a:hover { text-decoration: underline; }
.store-block .store-block-phone a { white-space: nowrap; font-size: 1.05em; }
.store-block .store-block-email a { overflow-wrap: anywhere; }
.store-block-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; width: 100%; }
.store-block .store-block-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1px solid #526e89; border-radius: 8px; background: #526e89; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.store-block .store-block-btn:hover { background: #3f586e; border-color: #3f586e; }
.store-block .store-block-btn.is-secondary { background: #fff; color: #526e89 !important; }
.store-block .store-block-btn.is-secondary:hover { background: #526e89; color: #fff !important; }
.store-block-map { position: relative; min-height: 320px; background: #e9eef1; }
.store-block-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Narrow column: stack, map below with a fixed ratio */
@container store (max-width: 700px) {
  .store-block { grid-template-columns: minmax(0, 1fr); }
  .store-block-info { padding: 22px 22px 24px; }
  .store-block-map { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
}
@container store (max-width: 440px) {
  .store-block-info { padding: 18px 18px 20px; }
  .store-block-actions { flex-direction: column; }
  .store-block .store-block-btn { width: 100%; }
}
/* Browsers without container queries */
@supports not (container-type: inline-size) {
  @media (max-width: 767.98px) {
    .store-block { grid-template-columns: minmax(0, 1fr); }
    .store-block-map { min-height: 0; aspect-ratio: 16 / 10; }
    .store-block .store-block-btn { flex: 1 1 auto; }
  }
}
