/* Bodyfirst Store Page (same design as the theme lab's Our store page). */
/* ---------- Our store page ---------- */
.sp-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0F75BC 0%, #05ABEF 100%); color: #fff; }
.sp-hero::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border: 46px solid rgba(255, 255, 255, 0.08); border-radius: 50%; pointer-events: none; }
.sp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 52px; }
.sp-hero .crumbs, .sp-hero .crumbs a { color: rgba(255, 255, 255, 0.85); }
.sp-eyebrow { display: inline-block; margin: 18px 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--c-accent, #A6FF00); color: #111; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sp-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.05; }
.sp-hero-copy > p { margin: 0 0 14px; max-width: 520px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.bf-sp svg, .sp-lightbox svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-address { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff !important; }
.sp-address svg { width: 18px; height: 18px; flex: none; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform 0.15s ease, filter 0.15s ease; }
.sp-btn svg { width: 18px; height: 18px; }
.sp-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.sp-btn-lime { background: var(--c-accent, #A6FF00); color: #111; }
.sp-btn-white { background: #fff; color: #0F75BC; }
.sp-hero-photo { display: grid; place-items: center; }
.sp-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 8px solid rgba(255, 255, 255, 0.95); border-radius: 26px;
  overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(5, 40, 80, 0.3); cursor: zoom-in; transform: rotate(1.5deg);
}
.sp-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-frame-empty { display: grid; place-items: center; align-content: center; gap: 10px; cursor: default; background: rgba(255, 255, 255, 0.14); border-style: dashed; border-color: rgba(255, 255, 255, 0.6); transform: none; color: #fff; font-weight: 600; }
.sp-frame-empty img { width: 92px; height: 92px; object-fit: contain; border-radius: 50%; background: #fff; padding: 10px; }

.sp-kicker { display: block; margin-bottom: 6px; color: var(--c-link); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sp-count { margin: 0; color: var(--c-text); font-size: 14px; }
.sp-gallery { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
.sp-gallery.sp-n1 { grid-template-columns: 1fr; grid-auto-rows: 420px; }
.sp-gallery.sp-n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 360px; }
.sp-gallery.sp-n3 .sp-tile:first-child { grid-column: span 2; grid-row: span 2; }
.sp-gallery.sp-n3 { grid-template-columns: 2fr 1fr 1fr; }
.sp-gallery.sp-n3 .sp-tile:nth-child(2), .sp-gallery.sp-n3 .sp-tile:nth-child(3) { grid-column: span 2; }
.sp-gallery.sp-n4 .sp-tile:first-child, .sp-gallery.sp-n5 .sp-tile:first-child { grid-column: span 2; grid-row: span 2; }
.sp-gallery.sp-n4 .sp-tile:last-child { grid-column: span 2; }
.sp-tile { position: relative; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--c-surface); cursor: zoom-in; }
.sp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.sp-tile:hover img { transform: scale(1.04); }
.sp-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 37, 64, 0.55); color: #fff; font-size: 22px; font-weight: 800; }
.sp-empty { display: flex; align-items: center; gap: 14px; padding: 26px; border: 2px dashed var(--c-border); border-radius: 18px; color: var(--c-text); }
.sp-empty svg { width: 40px; height: 40px; flex: none; color: var(--c-link); }
.sp-empty p { margin: 0; }

.sp-info { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.sp-card { position: relative; padding: 24px; border: 1px solid var(--c-border); border-radius: 18px; background: var(--c-bg); }
.sp-card h3 { margin: 12px 0 10px; font-size: 20px; }
.sp-card p { margin: 0 0 10px; }
.sp-card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #0F75BC, #05ABEF); color: #fff; }
.sp-card-icon svg { width: 24px; height: 24px; }
.sp-map { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; }
.sp-map iframe { flex: 1; width: 100%; min-height: 240px; border: 0; display: block; }
.sp-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; font-size: 14px; }
.sp-map-foot span { display: flex; align-items: center; gap: 8px; color: var(--c-heading); font-weight: 600; }
.sp-map-foot svg { width: 18px; height: 18px; color: var(--c-link); flex: none; }
.sp-map-foot a { color: var(--c-link); font-weight: 700; white-space: nowrap; }
.sp-hours { margin: 0 0 12px; }
.sp-hours div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); }
.sp-hours dt { color: var(--c-heading); font-weight: 600; }
.sp-hours dd { margin: 0; color: var(--c-heading); }
.sp-hours dd.is-todo { color: var(--c-text); font-style: italic; opacity: 0.7; }
.sp-note { font-size: 13px; color: var(--c-text); opacity: 0.85; }
.sp-big-phone { display: inline-block; margin: 4px 0 12px; color: var(--c-link); font-size: 26px; font-weight: 800; }

.sp-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-why-card { padding: 24px; border-radius: 18px; background: var(--primary-soft); }
.sp-why-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--c-link); }
.sp-why-card h3 { margin: 14px 0 6px; font-size: 18px; }
.sp-why-card p { margin: 0; }


.sp-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(6, 20, 36, 0.92); padding: 20px; }
.sp-lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.sp-lightbox img { max-width: 100%; max-height: 80vh; border-radius: 16px; display: block; margin: 0 auto; }
.sp-lightbox figcaption { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.sp-lb-close, .sp-lb-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: #0F75BC; cursor: pointer; }
.sp-lb-close svg, .sp-lb-nav svg { width: 22px; height: 22px; }
.sp-lb-close { top: 18px; right: 18px; }
.sp-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.sp-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 24px; padding-bottom: 36px; }
  .sp-frame { transform: none; }
  .sp-count { display: none; }
  .sp-info { grid-template-columns: 1fr; }
  .sp-why { grid-template-columns: 1fr; }
  .sp-gallery, .sp-gallery.sp-n2, .sp-gallery.sp-n3, .sp-gallery.sp-n4, .sp-gallery.sp-n5 { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .sp-gallery .sp-tile:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
  .sp-gallery .sp-tile:not(:first-child) { grid-column: auto !important; grid-row: auto !important; }
  .sp-gallery.sp-n1 { grid-template-columns: 1fr; grid-auto-rows: 260px; }
}

/* Live-site extras */
.sp-frame-empty svg { width: 56px; height: 56px; }
.bf-sp .sp-hero .crumbs { margin: 0; }
.bf-sp .sp-tile, .bf-sp .sp-frame { font: inherit; }
.sp-admin-edit {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 16px 10px 12px; border-radius: 16px; background: #111; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}
.sp-admin-edit svg { grid-row: 1 / span 2; width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: #A6FF00; color: #111; }
.sp-admin-edit small { font-size: 11.5px; font-weight: 500; opacity: 0.75; }
.sp-admin-edit:hover { background: #0F75BC; }/* "Why call in": 1, 2 or 4 cards also sit neatly */
.sp-why.sp-why-1 { grid-template-columns: minmax(0, 560px); }
.sp-why.sp-why-2 { grid-template-columns: repeat(2, 1fr); }
.sp-why.sp-why-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .sp-why.sp-why-2, .sp-why.sp-why-4 { grid-template-columns: 1fr; } }
