/* Thane Retail – Shops near you. Mobile-first. */
.tr-nearby{--tr-accent:#0b7a4b;--tr-line:#e3e6ea;--tr-muted:#5f6b76;max-width:1100px;margin:0 auto;font-size:15px;line-height:1.45}
.tr-nearby *{box-sizing:border-box}
.tr-nb-title{margin:0 0 .6em;font-size:1.5em}
.tr-nb-controls{display:grid;gap:10px;margin:0 0 10px}
.tr-nb-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tr-nb-field{display:flex;flex-direction:column;font-size:.85em;color:var(--tr-muted);margin:0}
.tr-nb-field select,.tr-nb-field input{margin-top:3px;width:100%;min-height:42px;padding:6px 10px;border:1px solid var(--tr-line);border-radius:8px;background:#fff;font-size:15px;color:#222}
.tr-nb-locate{min-height:44px;border:0;border-radius:8px;background:var(--tr-accent);color:#fff;font-weight:600;font-size:15px;cursor:pointer;padding:0 16px}
.tr-nb-locate:focus-visible,.tr-nb-btn:focus-visible{outline:3px solid #ffbf47;outline-offset:2px}
.tr-nb-status{margin:4px 0 10px;color:var(--tr-muted);font-size:.9em}
.tr-nearby.is-loading .tr-nb-list{opacity:.5}
.tr-nb-map{height:260px;border-radius:10px;border:1px solid var(--tr-line);margin-bottom:12px;z-index:0}
.tr-nb-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tr-nb-card{border:1px solid var(--tr-line);border-radius:10px;padding:12px;background:#fff}
.tr-nb-card-head{display:flex;gap:10px;align-items:flex-start}
.tr-nb-logo{border-radius:8px;object-fit:cover;flex:0 0 48px}
.tr-nb-name{margin:0;font-size:1.05em;line-height:1.3}
.tr-nb-name a{color:inherit;text-decoration:none}
.tr-nb-meta{margin:2px 0 0;font-size:.88em;color:var(--tr-muted)}
.tr-nb-dist{font-weight:700;color:#222}
.tr-nb-open{color:var(--tr-accent);font-weight:600}
.tr-nb-closed{color:#b3261e;font-weight:600}
.tr-nb-approx{font-style:italic}
.tr-nb-addr,.tr-nb-cats{margin:6px 0 0;font-size:.88em;color:#333}
.tr-nb-cats{color:var(--tr-muted)}
.tr-nb-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tr-nb-btn{flex:1 1 auto;text-align:center;min-height:40px;line-height:38px;padding:0 12px;border:1px solid var(--tr-line);border-radius:8px;color:#222;text-decoration:none;font-weight:600;font-size:.9em;background:#f7f8f9}
.tr-nb-wa{background:#e8f7ee;border-color:#bfe6cf;color:#0b6b3a}
.tr-nb-primary{background:var(--tr-accent);border-color:var(--tr-accent);color:#fff}
.tr-nb-empty{padding:16px;border:1px dashed var(--tr-line);border-radius:10px;color:var(--tr-muted)}
.tr-soldby{margin:.3em 0 .8em;font-size:.95em;color:var(--tr-muted,#5f6b76)}
.tr-soldby-how{border:0;background:none;color:#0b7a4b;text-decoration:underline;cursor:pointer;padding:0;font:inherit}
@media (min-width:768px){
	.tr-nb-controls{grid-template-columns:auto 1fr 1fr;align-items:end}
	.tr-nb-map{height:380px}
	.tr-nb-list{grid-template-columns:1fr 1fr}
	.tr-nb-btn{flex:0 1 auto}
}
@media (min-width:1024px){.tr-nb-list{grid-template-columns:1fr 1fr 1fr}}

/* 0.2.1: breathing room under theme header (XStore) */
.tr-nearby-page { padding-top: 32px; padding-bottom: 40px; }
@media (max-width: 767px) { .tr-nearby-page { padding-top: 20px; } .tr-nearby-container { padding-left: 14px; padding-right: 14px; } }

/* 0.3.0: Featured shops homepage section */
.tr-featured{--tr-accent:#0b7a4b;--tr-line:#e3e6ea;--tr-muted:#5f6b76;max-width:1100px;margin:0 auto;font-size:15px;line-height:1.45}
.tr-featured *{box-sizing:border-box}
.tr-ft-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.tr-ft-title{margin:0;font-size:1.5em}
.tr-ft-all{color:var(--tr-accent);font-weight:600;text-decoration:none;font-size:.95em;white-space:nowrap}
.tr-ft-all:hover{text-decoration:underline}
.tr-ft-grid{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:1fr}
.tr-ft-card{border:1px solid var(--tr-line);border-radius:10px;background:#fff;overflow:hidden;display:flex;flex-direction:column}
.tr-ft-banner{display:block;aspect-ratio:16/10;background:#f1f3f5;overflow:hidden;text-decoration:none}
.tr-ft-banner img{width:100%;height:100%;object-fit:cover;display:block}
.tr-ft-ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;font-weight:700;font-size:2rem;letter-spacing:.06em}
.tr-ft-body{padding:12px;display:flex;flex-direction:column;gap:6px;flex:1}
.tr-ft-name{margin:0;font-size:1.05em;line-height:1.3;overflow-wrap:anywhere}
.tr-ft-name a{color:inherit;text-decoration:none}
.tr-ft-meta{margin:0;font-size:.88em;color:var(--tr-muted)}
.tr-ft-thumbs{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.tr-ft-thumbs img{width:48px;height:48px;object-fit:cover;border-radius:6px;border:1px solid var(--tr-line);background:#f7f8f9}
.tr-ft-body .tr-nb-actions{margin-top:auto;padding-top:8px}
.tr-ft-body .tr-nb-btn{flex:1 1 calc(50% - 8px);min-width:0}
@media (min-width:768px){
	.tr-ft-grid{grid-template-columns:repeat(2,1fr)}
	.tr-ft-ph{font-size:2.2rem}
}
@media (min-width:1024px){
	.tr-featured[data-columns="2"] .tr-ft-grid{grid-template-columns:repeat(2,1fr)}
	.tr-featured[data-columns="3"] .tr-ft-grid{grid-template-columns:repeat(3,1fr)}
	.tr-featured[data-columns="4"] .tr-ft-grid{grid-template-columns:repeat(4,1fr)}
}
