/*
Theme Name: S4 Sathyam Commerce
Theme URI: https://sathyamtraders.com/
Author: S4 Software
Description: Responsive WooCommerce storefront with category tiles, promotional hero, sticky navigation and configurable brand styling.
Version: 1.0.72
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: s4-commerce
License: GPL-2.0-or-later
*/

/* v1.5.9.11 — Store locator cards + map matching screenshot */
.s4-stores-layout{display:grid;grid-template-columns:minmax(280px,42%) minmax(0,1fr);gap:30px;margin:30px 0 44px;align-items:start}
.s4-stores-list{display:flex;flex-direction:column;gap:28px;max-height:650px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ddd transparent}
.s4-store-card{appearance:none;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:128px;padding:20px 18px;text-align:center;background:#fff;border:1px solid transparent;border-radius:11px;cursor:pointer;font:inherit;color:#17212b;transition:border-color .18s,box-shadow .18s}
.s4-store-card:hover,.s4-store-card.is-active{border-color:color-mix(in srgb, var(--s4-accent) 10%, white);box-shadow:0 3px 12px rgba(0,0,0,.035)}
.s4-store-card:focus-visible{outline:3px solid var(--s4-accent);outline-offset:2px}
.s4-store-services{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;min-height:0;margin-bottom:8px}
.s4-store-services:empty{display:none}
.s4-store-service{display:inline-flex;align-items:center;gap:5px;border-radius:11px;background:#f6f6f6;color:#73777e;padding:5px 10px;font-size:12px;font-weight:500;line-height:1.3}
.s4-store-service span{color:#7aaa53;font-weight:800}
.s4-store-address{display:block;font-size:14px;font-weight:600;line-height:1.5;margin:0 0 7px}
.s4-store-info{display:block;font-size:12px;color:#27303b;line-height:1.6;font-weight:500}
.s4-store-info span{color:#888;font-size:15px}
.s4-store-phone{display:block;font-size:12px;color:#777;margin-top:6px}
.s4-stores-map-col{min-width:0}
.s4-stores-map{border-radius:9px;overflow:hidden;background:#b6d8df;min-height:490px}
.s4-stores-map iframe,.s4-stores-map #s4-store-leaflet{display:block;width:100%;height:490px;border:0;background:#b6d8df}
.s4-stores-map iframe[hidden],.s4-stores-map #s4-store-leaflet[hidden]{display:none}
#s4-store-map-link{display:inline-block;color:var(--s4-accent);font-size:13px;font-weight:600;margin:12px 0 0;text-decoration:none}
.s4-stores-empty{padding:22px;background:#fff;border-radius:12px}
@media(max-width:800px){.s4-stores-layout{grid-template-columns:1fr;gap:20px}.s4-stores-list{max-height:none;gap:14px}.s4-stores-map iframe,.s4-stores-map #s4-store-leaflet{height:340px}.s4-stores-map{min-height:340px}.s4-store-card{min-height:116px;padding:18px}}

/* v1.7.91 - keep store directions action above nearby overlays and easy to tap */
body.page #s4-store-map-link.s4-store-directions-link{position:relative;z-index:30;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;cursor:pointer;pointer-events:auto!important;color:var(--s4-accent);text-decoration:none}
body.page #s4-store-map-link.s4-store-directions-link:hover{text-decoration:underline}


