/* The equipment finder in the shop (inc/shop-finder.php; owner approved mockup 7 on 12.11.2026,
   03_ЛОКАЛНА_СРЕДА/mockups/shop-finder-v7.src.css). The finder itself: finder.css/js, loaded on the first click. */
html.alsf-open { overflow: hidden; }

/* Strip at the top of the shop head (category page without ?podbor). */
.alsf-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #CFE6D8; border-radius: 12px; background: #F3FAF6; color: var(--airloc-text, #26343F); }
.alsf-ico { display: inline-flex; flex: none; color: var(--airloc-cta, #00843D); }
.alsf-t { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.alsf-t b { display: block; font-size: 15px; }
.alsf-t small { display: block; margin-top: 1px; font-size: 13px; color: var(--airloc-text-muted, #5F6870); }
.alsf-strip .alsf-go { display: inline-flex; align-items: center; flex: none; min-height: 40px; margin: 0; padding: 0 14px; border: 0; border-radius: 8px; background: var(--airloc-cta, #00843D); color: #fff;
	font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; }
.alsf-strip .alsf-go:hover { background: var(--airloc-cta-hover, #006B31); color: #fff; }
.alsf-strip .alsf-go:focus-visible, .alsf-dlg .alsf-x:focus-visible { outline: 3px solid rgba(0, 132, 61, .4); outline-offset: 2px; }
@media (max-width: 420px) { .alsf-t small { display: none; } }

/* Dialog: full screen on the phone, 560 × up to 700 px on larger screens. */
.alsf-dlg { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible; }
.alsf-dlg::backdrop { background: rgba(20, 30, 38, .55); }
.alsf-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; color: var(--airloc-text, #26343F); }
@media (min-width: 768px) {
	.alsf-dlg { width: 560px; height: min(700px, calc(100dvh - 48px)); margin: auto; }
	.alsf-card { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 30, 38, .3); }
}
.alsf-dlg .alsf-x { position: absolute; /* two classes: WoodMart base.min.css (loaded later) styles every button */ top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0;
	border: 1.5px solid #D5DADF; border-radius: 10px; background: #fff; color: var(--airloc-text, #26343F); font: inherit; font-size: 18px; line-height: 1; box-shadow: none; cursor: pointer; }
.alsf-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }

/* The finder fills the dialog; only the current step is in the flow and a long step scrolls (as in the home card). */
.alsf-dlg .alsf-body .alf { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; border: 0; border-radius: 0; box-shadow: none; }
.alsf-dlg .alsf-body .alf-head { padding-right: 64px; } /* room for ✕ (beats .alf-wiz .alf-head) */
.alsf-dlg .alsf-body .alf-stack { display: block; position: relative; flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.alsf-dlg .alsf-body .alf-st:not(.is-cur) { position: absolute; top: 0; left: 0; width: 100%; max-height: 100%; overflow: hidden; }
