/* assets/css/pages/single-store-location.css -- per-pagina laag (CLAUDE.md CSS-architectuur).
   In <head> via mb_reve_pagina_css('single-store-location') in single-store-location.php. Tokens/componenten uit reve-base.css + reve-pages.css. */
.store-hero { position: relative; min-height: 46vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.store-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15)); }
.store-hero h1 { position: relative; z-index: 1; color: #fff; font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 4.5vw, 52px); text-align: center; margin: 0; padding: 0 24px; }

/* padding-top/bottom apart i.p.v. de shorthand "padding: A 0" -- die laatste zet ook
   links/rechts op 0 en overschrijft .wrap's padding: 0 24px (zelfde valkuil als eerder bij
   Contact's .contact-grid, zie plan.md-wijzigingslog). */
.store-detail { padding-top: var(--sec); padding-bottom: var(--sec); }
.store-detail h2 { font-family: var(--f-head); font-weight: 400; font-size: 28px; margin: 0 0 20px; }
.store-detail .btn-arrow { margin-top: 26px; }

.store-showcase { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--c-grey-bg); }
.store-showcase img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-showcase-logo { position: absolute; right: 20px; bottom: 20px; width: 130px; height: auto; max-height: 70px; object-fit: contain; background: #fff; padding: 12px 16px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

.store-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-bottom: var(--sec); }
.store-gallery-thumb { display: block; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 1/1; overflow: hidden; }
.store-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.store-gallery-thumb:hover img { transform: scale(1.04); }

/* ---------- lightbox-slider voor de galerij ---------- */
/* display:none als basis, [hidden] laat de browser dat toch al doen -- maar :not([hidden])
   moet 'm expliciet naar flex zetten, anders wint deze regel altijd en blijft de lightbox
   zichtbaar staan (ook meteen bij het laden van de pagina, met een lege afbeelding). */
.store-lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .92); align-items: center; justify-content: center; }
.store-lightbox:not([hidden]) { display: flex; }
.lightbox-image { max-width: 88vw; max-height: 84vh; object-fit: contain; }
.lightbox-close, .lightbox-arrow { position: absolute; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-arrow.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-arrow.next { right: 20px; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
	.store-gallery { grid-template-columns: repeat(2, 1fr); }
	.lightbox-arrow { width: 36px; height: 36px; }
}

/* ---------- "Join us as a retailer" -- compacte foto/tekst-strook, volle breedte ---------- */
.retailer-teaser { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.retailer-teaser-media { position: relative; overflow: hidden; }
.retailer-teaser-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.retailer-teaser-panel { background: #000; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 60px max(60px, calc((100% - var(--wrap)) / 2)); }
.retailer-teaser-panel h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 0; max-width: 20ch; }
.retailer-teaser-panel .lead { font: 400 15px/1.6 var(--f-body); color: #d8d6d1; max-width: 42ch; margin: 0; }

@media (max-width: 860px) {
	.retailer-teaser { grid-template-columns: 1fr; min-height: 0; }
	.retailer-teaser-media { min-height: 280px; }
	.retailer-teaser-panel { padding: 40px 24px; }
}
