/**
 * SEO Total Local SEO: styles of the store pages and the locator. Loaded only on the pages of the module (spec 9).
 * Colours and fonts are the theme's (inherited, or its Bootstrap variables with a neutral fallback), so the pages look
 * native on Hummingbird and on Classic. Mobile first; one column until 992px.
 * Store page: a hero (facts and cover side by side), then the content with the opening hours in a sticky panel, then
 * the full-width blocks; on a phone the three actions stay at hand in a bar at the bottom of the screen.
 * Locator: the search panel, then the list beside a sticky map.
 * Nothing moves when the map arrives on demand: its box has its size from here.
 * The last rule lays out the product miniatures of Classic (columns that expect a flex row); Hummingbird has its grid.
 *
 * @author    SEO Total <dev@seototal.io>
 * @copyright Since 2026 SEO Total
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 (AFL-3.0)
 */
.stl-store,.stl-locator{--stl-line:var(--bs-border-color,#dee2e6);--stl-muted:var(--bs-secondary-color,#6c757d);--stl-soft:var(--bs-tertiary-bg,#f6f7f9);--stl-bg:var(--bs-body-bg,#fff);--stl-accent:var(--bs-primary,#2563eb);--stl-radius:.75rem;color:inherit;margin-bottom:2rem}
.stl-store .material-icons,.stl-locator .material-icons{display:inline-block;font-size:1.25em;line-height:1;overflow:hidden;vertical-align:-.2em;white-space:nowrap;width:1em}
.stl-locator [hidden]{display:none!important}
.stl-text{margin:0;white-space:pre-line}

/* shared pieces: the open state, notices, panels, pills */
.stl-open,.stl-notice{align-items:center;background:var(--stl-soft);border-radius:99rem;display:inline-flex;font-size:.875rem;font-weight:600;gap:.5rem;line-height:1.5;margin:0;min-height:calc(1.5em + .6rem);padding:.3rem .8rem}
.stl-open:empty{visibility:hidden}
.stl-open::before{background:currentColor;border-radius:50%;content:"";height:.5rem;width:.5rem}
.stl-open--yes{background:#d1e7dd;color:#146c43}
.stl-open--no,.stl-notice--closed{background:#f8d7da;color:#b02a37}
.stl-notice{background:#fff3cd;color:#664d03}
.stl-panel{background:var(--stl-bg);border:1px solid var(--stl-line);border-radius:var(--stl-radius);padding:1.25rem}
.stl-how__links,.stl-amenities__list,.stl-gallery__list,.stl-team__list,.stl-posts__list,.stl-nearby__list,.stl-special,.stl-store__facts,.stl-locator__list{list-style:none;margin:0;padding:0}

/* store page: hero */
.stl-hero{display:grid;gap:1.5rem;grid-template-columns:minmax(0,1fr);margin:0 0 2.5rem}
.stl-store__title{font-size:clamp(1.75rem,1.2rem + 2vw,2.5rem);line-height:1.15;margin:0 0 .75rem}
.stl-store__facts{display:grid;gap:.6rem;margin:1.25rem 0}
.stl-store__facts li{align-items:flex-start;display:flex;gap:.6rem}
.stl-store__facts .material-icons{color:var(--stl-muted);margin-top:.15em}
.stl-store__address{font-style:normal;margin:0}
.stl-store__address span{display:block}
.stl-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:0}
.stl-actions .btn,.stl-bar .btn,.stl-map__button{align-items:center;display:inline-flex;gap:.4rem;justify-content:center}
.stl-cover{margin:0}
.stl-cover img{aspect-ratio:16/9;border-radius:var(--stl-radius);display:block;height:auto;object-fit:cover;width:100%}

/* store page: content beside the opening hours */
.stl-layout{display:grid;gap:2rem;grid-template-columns:minmax(0,1fr)}
.stl-block{margin:0 0 2.5rem}
.stl-block>h2{font-size:1.375rem;line-height:1.25;margin:0 0 1rem}
.stl-block h3{font-size:1rem;margin:0 0 .35rem}
.stl-description__body ul{list-style:disc;padding-left:1.5rem}
.stl-description__body ol{list-style:decimal;padding-left:1.5rem}
.stl-hours.stl-panel{margin:0}
.stl-hours.stl-panel>h2{align-items:center;display:flex;font-size:1.125rem;gap:.5rem}
.stl-hours__table{border-collapse:collapse;margin:0;width:100%}
.stl-hours__row th,.stl-hours__row td{border-bottom:1px solid var(--stl-line);font-weight:400;padding:.45rem .5rem;text-align:left;vertical-align:top}
.stl-hours__row:last-child th,.stl-hours__row:last-child td{border-bottom:0}
.stl-hours__row th::first-letter{text-transform:uppercase}
.stl-hours__row td{font-variant-numeric:tabular-nums;text-align:right}
.stl-hours__range{display:block;white-space:nowrap}
.stl-hours__row--today th,.stl-hours__row--today td{background:var(--stl-soft);font-weight:700}
.stl-hours h3{color:var(--stl-muted);font-size:.8125rem;letter-spacing:.04em;margin:1.25rem 0 .5rem;text-transform:uppercase}
.stl-special{display:grid;gap:.5rem}
.stl-special__item{display:grid;font-size:.9375rem;gap:.1rem .75rem;grid-template-columns:auto 1fr}
.stl-special__date{align-self:start;background:var(--stl-soft);border-radius:.4rem;font-size:.8125rem;font-variant-numeric:tabular-nums;font-weight:600;grid-row:span 2;padding:.2rem .5rem}
.stl-special__label{font-weight:600}
.stl-special__hours{color:var(--stl-muted)}
.stl-special__hours .stl-hours__range{display:inline;margin-right:.5rem}

/* the map box: a quiet grid until the visitor asks for the map */
.stl-map{align-content:center;aspect-ratio:21/9;background-color:var(--stl-soft);background-image:linear-gradient(var(--stl-line) 1px,transparent 1px),linear-gradient(90deg,var(--stl-line) 1px,transparent 1px);background-size:2.5rem 2.5rem;border:1px solid var(--stl-line);border-radius:var(--stl-radius);display:grid;gap:.5rem;isolation:isolate;justify-items:center;margin:0 0 1rem;max-height:26rem;min-height:13rem;overflow:hidden;padding:1rem;text-align:center;width:100%}
.stl-map--on{background-image:none;display:block;padding:0}
.stl-map__note{background:var(--stl-bg);border-radius:.4rem;color:var(--stl-muted);font-size:.8125rem;margin:0;padding:.1rem .5rem}
.stl-pop__name{font-weight:700}
.stl-pop__more{display:inline-block;margin-top:.25rem}
.stl-how__texts{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));margin:0 0 1rem}
.stl-how__text{background:var(--stl-soft);border-radius:var(--stl-radius);padding:1rem}
/* a hairline keeps the soft panels and the pills visible on a theme whose page is as grey as their fill (Classic) */
.stl-how__text,.stl-reviews,.stl-search,.stl-amenities__item{border:1px solid var(--stl-line)}
.stl-how__text h3{align-items:center;display:flex;gap:.4rem}
.stl-how__links{display:flex;flex-wrap:wrap;gap:.5rem}
.stl-how__links a,.stl-search__amenity{align-items:center;border:1px solid var(--stl-line);border-radius:99rem;display:inline-flex;font-size:.9375rem;gap:.35rem;padding:.35rem .8rem;text-decoration:none}
.stl-how__links a:hover{border-color:currentColor}

/* amenities, gallery, team */
.stl-amenities__list{display:flex;flex-wrap:wrap;gap:.5rem}
.stl-amenities__item{align-items:center;background:var(--stl-soft);border-radius:99rem;display:inline-flex;font-size:.9375rem;gap:.45rem;padding:.4rem .85rem}
.stl-amenities__item .material-icons{color:var(--stl-accent)}
.stl-gallery__list{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr))}
.stl-gallery figure{margin:0}
.stl-gallery__item a{aspect-ratio:4/3;border-radius:.5rem;display:block;overflow:hidden}
.stl-gallery picture{display:block;height:100%}
.stl-gallery img{display:block;height:100%;object-fit:cover;transition:transform .2s;width:100%}
.stl-gallery__item a:hover img{transform:scale(1.04)}
.stl-gallery figcaption{color:var(--stl-muted);font-size:.8125rem;margin-top:.35rem}
.stl-team__list{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr))}
.stl-person{align-items:center;border:1px solid var(--stl-line);border-radius:var(--stl-radius);display:flex;gap:.85rem;padding:.75rem}
.stl-person__photo{border-radius:50%;flex:none;height:3.5rem;object-fit:cover;width:3.5rem}
.stl-person__photo--none{align-items:center;background:var(--stl-soft);color:var(--stl-muted);display:flex;font-weight:700;justify-content:center}
.stl-person__name{font-size:1rem;margin:0}
.stl-person__role{color:var(--stl-muted);font-size:.875rem;margin:.1rem 0 0}

/* related posts, questions, reviews, nearby stores */
.stl-posts__list,.stl-nearby__list{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr))}
.stl-post{border:1px solid var(--stl-line);border-radius:var(--stl-radius);display:flex;flex-direction:column;overflow:hidden}
.stl-post img{aspect-ratio:16/9;display:block;height:auto;object-fit:cover;width:100%}
.stl-post__body{padding:.9rem 1rem 1rem}
.stl-post__title{font-size:1rem;line-height:1.35;margin:0 0 .35rem}
.stl-post__date{color:var(--stl-muted);font-size:.8125rem;margin:0}
.stl-post__excerpt{font-size:.9375rem;margin:.5rem 0 0}
.stl-faq__item{border:1px solid var(--stl-line);border-radius:var(--stl-radius);margin:0 0 .5rem}
.stl-faq__item summary{cursor:pointer;display:flex;font-weight:600;gap:1rem;justify-content:space-between;list-style:none;padding:.9rem 1.1rem}
.stl-faq__item summary::-webkit-details-marker{display:none}
.stl-faq__item summary::after{color:var(--stl-muted);content:"+";font-size:1.25rem;line-height:1}
.stl-faq__item[open] summary::after{content:"\2212"}
.stl-faq__answer{padding:0 1.1rem 1rem}
.stl-reviews{align-items:center;background:var(--stl-soft);border-radius:var(--stl-radius);display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:1.25rem}
.stl-reviews>h2{margin:0}
.stl-nearby__item,.stl-card{background:var(--stl-bg);border:1px solid var(--stl-line);border-radius:var(--stl-radius);padding:1rem 1.1rem;position:relative;transition:border-color .15s}
.stl-nearby__item:hover,.stl-card:hover{border-color:var(--stl-accent)}
.stl-nearby__name{font-size:1rem;margin:0 0 .25rem}
.stl-nearby__name a,.stl-card__name a,.stl-post__title a{text-decoration:none}
.stl-nearby__name a::after{content:"";inset:0;position:absolute}
.stl-nearby__address{color:var(--stl-muted);font-size:.875rem;margin:0 0 .5rem}
.stl-nearby__km,.stl-card__km{background:var(--stl-soft);border-radius:99rem;display:inline-block;font-size:.8125rem;font-weight:600;margin:0;padding:.1rem .55rem;white-space:nowrap}
.stl-store__all{margin:0}

/* phone: call, directions and WhatsApp stay at the bottom of the screen */
.stl-bar{display:none}

/* gallery viewer */
.stl-lightbox{background:none;border:0;max-height:100vh;max-width:100vw;overflow:visible;padding:0}
.stl-lightbox::backdrop{background:rgba(0,0,0,.85)}
.stl-lightbox img{display:block;height:auto;max-height:calc(100vh - 6rem);max-width:calc(100vw - 2rem);width:auto}
.stl-lightbox p{background:#000;color:#fff;margin:0;padding:.5rem .75rem;text-align:center}
.stl-lightbox p:empty{display:none}
.stl-lightbox button{background:rgba(0,0,0,.6);border:0;border-radius:50%;color:#fff;cursor:pointer;font-size:1.75rem;height:2.75rem;line-height:1;position:fixed;width:2.75rem}
.stl-lightbox__close{right:1rem;top:1rem}
.stl-lightbox__prev{left:1rem;top:calc(50% - 1.375rem)}
.stl-lightbox__next{right:1rem;top:calc(50% - 1.375rem)}

/* locator */
.stl-locator__title{font-size:clamp(1.75rem,1.2rem + 2vw,2.5rem);line-height:1.15;margin:0 0 .5rem}
.stl-locator__intro{color:var(--stl-muted);margin:0 0 1.25rem}
.stl-search{background:var(--stl-soft);border-radius:var(--stl-radius);margin:0 0 1.5rem;padding:1rem 1.25rem}
.stl-search .form-label{font-weight:600}
.stl-search__row{display:flex;flex-wrap:wrap;gap:.5rem}
.stl-search__row input{flex:1 1 14rem;width:auto}
.stl-search__more{margin:.9rem 0 0}
.stl-search__more summary{cursor:pointer;display:list-item;font-size:.9375rem;font-weight:600}
.stl-search__amenities{border:0;display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 0;padding:0}
.stl-search__amenity{background:var(--stl-bg);cursor:pointer;margin:0}
.stl-search__amenity:has(:checked){border-color:var(--stl-accent);color:var(--stl-accent)}
.stl-search__msg{color:var(--bs-danger,#b02a37);margin:.5rem 0 0}
.stl-search__msg:empty,.stl-card__km:empty,.stl-card__row:not(:has([data-stl-f])){display:none}
.stl-locator__body{display:grid;gap:1.5rem;grid-template-columns:minmax(0,1fr)}
.stl-locator__map .stl-map{aspect-ratio:16/10;margin:0}
.stl-locator__count{font-weight:600;margin:0 0 .75rem}
.stl-locator__list{display:grid;gap:.75rem;margin:0 0 1.5rem}
.stl-card{display:grid;gap:.5rem}
.stl-card__top{align-items:flex-start;display:flex;gap:.75rem;justify-content:space-between}
.stl-card__name{font-size:1.125rem;line-height:1.3;margin:0}
.stl-card .stl-open,.stl-card__notice{justify-self:start}
.stl-card__row{align-items:flex-start;display:flex;gap:.5rem;margin:0}
.stl-card__row .material-icons{color:var(--stl-muted);margin-top:.15em}
.stl-card__address{font-style:normal;margin:0}
.stl-card__links{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin:.25rem 0 0}
.stl-card__pin{display:none;padding:0}
.stl-locator--map .stl-card__pin{display:inline}
.stl-pager{margin:0 0 1.5rem}

@media (max-width:767.98px){
.stl-bar{background:var(--stl-bg);border-top:1px solid var(--stl-line);bottom:0;display:flex;gap:.5rem;margin:1.5rem -.75rem 0;padding:.6rem .75rem calc(.6rem + env(safe-area-inset-bottom));position:sticky;z-index:5}
.stl-bar .btn{flex:1;font-size:.875rem;padding:.6rem .25rem;white-space:nowrap}
.stl-search__row input{flex-basis:100%}
.stl-search__row .btn{flex:1 1 0;min-width:0}
}
@media (min-width:576px){
.stl-locator__body:not(.stl-locator__body--map) .stl-locator__list{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr))}
}
@media (min-width:992px){
.stl-hero{align-items:center;gap:3rem;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
.stl-cover img{aspect-ratio:4/3}
.stl-layout{align-items:start;gap:3rem;grid-template-columns:minmax(0,1fr) 21rem}
.stl-aside{order:2;position:sticky;top:1.5rem}
.stl-locator__body--map{align-items:start;grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
.stl-locator__map{order:2;position:sticky;top:1.5rem}
.stl-locator__map .stl-map{aspect-ratio:auto;height:calc(100vh - 3rem);max-height:42rem;min-height:24rem}
}
.stl-products:has(>.js-product){display:flex;flex-wrap:wrap}
