/* ── Hero ── */
.al-hero {
    background: linear-gradient(135deg,#1e293b 0%,#0f172a 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}
.al-hero::before {
    content:'';
    position:absolute;
    top:-60px;right:-60px;
    width:320px;height:320px;
    border-radius:50%;
    background:rgba(249,115,22,.12);
}
.al-hero-eyebrow {
    display:inline-flex;align-items:center;gap:8px;
    background:rgba(249,115,22,.15);
    color:#f97316;
    border:1px solid rgba(249,115,22,.3);
    border-radius:20px;
    padding:5px 14px;
    font-size:12px;font-weight:700;letter-spacing:.5px;
    margin-bottom:16px;
    margin-top:10px;
}
.al-hero h1 { font-size:clamp(28px,4vw,42px);font-weight:800;color:#fff;margin-bottom:10px; }
.al-hero h1 span { color:#f97316; }
.al-hero p { color:#94a3b8;font-size:15px;margin-bottom:28px; }
.al-hero-stats { display:flex;gap:28px;flex-wrap:wrap; }
.al-hero-stat-num { font-size:26px;font-weight:800;color:#fff; }
.al-hero-stat-num span { color:#f97316; }
.al-hero-stat-lbl { font-size:11px;color:#94a3b8;font-weight:600;letter-spacing:.5px;text-transform:uppercase; }

/* ── Layout ── */
.al-layout { background:var(--clr-bg,#f8fafc);min-height:60vh;padding:32px 0 60px; }
.al-wrap { display:grid;grid-template-columns:260px 1fr;gap:28px;max-width:1320px;margin:0 auto;padding:0 20px; }
@media(max-width:900px){ .al-wrap{grid-template-columns:1fr;} .al-sidebar{display:none;} }

/* ── Phone: the Filters button, and the filters full screen (2026-10-05, as on the vehicle list) ── */
.al-sidebar-head-end { display:flex;align-items:center;gap:10px; }
.al-filter-count { background:#f97316;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:10px; }
.al-sheet-close { display:none; }
.al-phonebar { display:none; }
@media(max-width:900px){
    /* Hidden on a phone until Filters opens it. The display:none above is undone by the .al-sidebar rule further down
       (display:flex), so the panel sat over the results and followed them down the page (sticky). */
    .al-sidebar:not(.al-sheet-open) { display:none; }
    .al-sidebar.al-sheet-open { display:flex;position:fixed;inset:0;z-index:2000;height:auto;max-height:none;top:0;border-radius:0;box-shadow:none; }   /* height:auto: the base rule's fit-content made it the length of its contents */
    .al-sidebar.al-sheet-open .al-sidebar-head { padding-top:max(18px, env(safe-area-inset-top)); }
    .al-sidebar.al-sheet-open .al-sidebar-actions { flex-direction:row;padding-bottom:max(18px, env(safe-area-inset-bottom));box-shadow:0 -4px 16px rgba(15,23,42,.08); }
    .al-sidebar.al-sheet-open .al-sidebar-actions button { flex:1; }
    .al-sheet-close { display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:0;background:#f1f5f9;color:#334155;font-size:16px; }
    body.al-noscroll { overflow:hidden; }
    .al-phonebar { display:flex;margin-bottom:14px; }
    .al-filters-btn { display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;border:none;background:#0f172a;color:#fff;font-size:14px;font-weight:700; }
    .al-filters-btn i { color:#f97316; }
    .al-filters-btn-count { background:#f97316;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center; }
}

/* ── A refused search (2026-10-05) ── */
.al-search-error { display:flex;gap:12px;align-items:flex-start;padding:16px 18px;margin-bottom:20px;background:#fef2f2;border:1.5px solid #fecaca;border-radius:12px;color:#991b1b;font-size:14px; }
.al-search-error i { font-size:20px;color:#dc2626;margin-top:1px; }

/* ── Price slider (2026-10-05): two range inputs over one track; only the handles take the pointer ── */
.al-range { position:relative;height:28px;margin:6px 4px 10px; }
.al-range-track { position:absolute;left:0;right:0;top:50%;height:4px;margin-top:-2px;border-radius:4px;background:var(--clr-border,#e2e8f0); }
.al-range-fill { position:absolute;top:0;bottom:0;border-radius:4px;background:#f97316; }
.al-range-input { position:absolute;left:0;top:0;width:100%;height:28px;margin:0;background:none;pointer-events:none;-webkit-appearance:none;appearance:none;z-index:2; }
.al-range-input.al-range-top { z-index:3; }
.al-range-input:focus { outline:none; }
.al-range-input::-webkit-slider-runnable-track { background:none;border:none; }
.al-range-input::-moz-range-track { background:none;border:none; }
.al-range-input::-webkit-slider-thumb { -webkit-appearance:none;appearance:none;pointer-events:auto;cursor:grab;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #f97316;box-shadow:0 1px 4px rgba(15,23,42,.25); }
.al-range-input::-moz-range-thumb { pointer-events:auto;cursor:grab;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #f97316;box-shadow:0 1px 4px rgba(15,23,42,.25); }
.al-range-boxes { display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px; }
.al-range-box { display:flex;align-items:center;gap:4px;margin:0;border:1.5px solid var(--clr-border,#e2e8f0);border-radius:8px;padding:6px 10px;background:#fff; }
.al-range-box:focus-within { border-color:#f97316; }
.al-range-box span { font-size:13px;color:var(--clr-muted,#64748b);font-weight:600; }
.al-range-box input { width:100%;min-width:0;border:none;outline:none;background:transparent;padding:0;font-size:13px;font-weight:700;color:var(--clr-dark,#1e293b);-moz-appearance:textfield; }
.al-range-box input::-webkit-outer-spin-button, .al-range-box input::-webkit-inner-spin-button { -webkit-appearance:none;margin:0; }
.al-range-dash { color:var(--clr-muted,#64748b);font-weight:600; }
/* Sticky makes the sidebar its own layer: the date panel inside it painted under the cards whatever its z-index. */
.al-sidebar { z-index:20; }
/* The date fields in the sidebar match its inputs. */
.al-sidebar .dtp-field { height:40px;font-size:13px;border-radius:8px; }

/* ── Sidebar ── */
/* Bounded to the viewport: the head and the Apply/Clear buttons stay fixed and only .al-sidebar-body
   scrolls, so the customer never scrolls the whole page to reach Apply (same as the booking list). */
.al-sidebar { background:#fff;border-radius:14px;box-shadow:0 2px 16px rgba(0,0,0,.06);height:fit-content;position:sticky;top:80px;
              max-height:calc(100vh - 100px);display:flex;flex-direction:column;overflow:hidden; }
.al-sidebar-head { flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:18px 20px 12px;border-bottom:1.5px solid var(--clr-border,#e2e8f0); }
.al-sidebar-body { flex:1 1 auto;min-height:0;overflow-y:auto;padding:18px 20px; }
.al-fsearch { position:relative;margin-bottom:8px; }
.al-fsearch .al-input { padding-right:32px; }
.al-fsearch i { position:absolute;right:11px;top:50%;transform:translateY(-50%);color:var(--clr-muted,#64748b);font-size:12px; }
.al-chk-empty { font-size:12px;color:var(--clr-muted,#64748b);padding:4px 0; }
.al-sidebar-head-title { font-size:14px;font-weight:700;color:var(--clr-dark,#1e293b);display:flex;align-items:center;gap:6px; }
.al-fgroup { margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--clr-border,#e2e8f0); }
.al-fgroup:last-child { border-bottom:none;margin-bottom:0; }
.al-flabel { font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--clr-muted,#64748b);margin-bottom:10px;display:flex;align-items:center;gap:6px; }
.al-chk-item { display:flex;align-items:center;gap:8px;padding:5px 0;cursor:pointer; }
.al-chk-item input[type=checkbox] { accent-color:#f97316;width:15px;height:15px;cursor:pointer; }
.al-chk-item label { font-size:13px;color:var(--clr-dark,#1e293b);cursor:pointer; }
/* A branch's address under its name (2026-11-11), as the booking list's pickup points; the box sits by the name's line. */
.al-chk-sub { display:block;font-size:11px;color:var(--clr-muted,#64748b);margin-top:2px; }
.al-chk-item:has(.al-chk-sub) { align-items:flex-start; }
.al-chk-item:has(.al-chk-sub) input[type=checkbox] { margin-top:2px; }
.al-chk-item.al-chk-all { padding-bottom:8px;margin-bottom:4px;border-bottom:1px dashed var(--clr-border,#e2e8f0); }
.al-input { box-sizing:border-box;width:100%;min-width:0;border:1.5px solid var(--clr-border,#e2e8f0);border-radius:8px;padding:8px 12px;font-size:13px;outline:none;transition:border-color .2s; }
.al-input:focus { border-color:#f97316; }
.al-select { box-sizing:border-box;width:100%;min-width:0;border:1.5px solid var(--clr-border,#e2e8f0);border-radius:8px;padding:8px 12px;font-size:13px;outline:none;background:#fff;cursor:pointer; }
.al-price-row { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
.al-price-row > div { min-width:0; }
.al-ilabel { font-size:11px;color:var(--clr-muted,#64748b);font-weight:600;display:block;margin-bottom:4px; }
.al-sidebar-actions { flex:0 0 auto;display:flex;flex-direction:column;gap:8px;padding:14px 20px 18px;border-top:1px solid var(--clr-border,#e2e8f0);background:#fff; }
.al-date-note { margin-top:8px;font-size:11px;color:#16a34a;font-weight:600;display:flex;align-items:center;gap:5px; }
.al-apply-btn { background:#f97316;color:#fff;border:none;border-radius:8px;padding:10px;font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .2s; }
.al-apply-btn:hover { background:#ea6c0a; }
.al-clear-btn { background:#fff;color:var(--clr-muted,#64748b);border:1.5px solid var(--clr-border,#e2e8f0);border-radius:8px;padding:10px;font-size:13px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px; }

/* ── Main ── */
.al-topbar { display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap;gap:10px; }
.al-count { font-size:14px;font-weight:600;color:var(--clr-dark,#1e293b); }
.al-sort-group { display:flex;align-items:center;gap:8px; }
.al-sort-label { font-size:12px;color:var(--clr-muted,#64748b);font-weight:600; }
.al-sort-pill { border:1.5px solid var(--clr-border,#e2e8f0);background:#fff;border-radius:20px;padding:5px 14px;font-size:12px;font-weight:600;cursor:pointer;color:var(--clr-dark,#1e293b);transition:all .2s; }
.al-sort-pill.active,.al-sort-pill:hover { background:#f97316;border-color:#f97316;color:#fff; }

/* ── Skeleton ── */
.al-skeleton-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px; }
.al-skel { background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.05); }
.al-skel-img { height:160px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:400% 100%;animation:shimmer 1.4s ease infinite; }
.al-skel-body { padding:14px; }
.al-skel-line { height:12px;border-radius:6px;background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%);background-size:400% 100%;animation:shimmer 1.4s ease infinite;margin-bottom:8px; }
.al-skel-line.short { width:60%; }
@keyframes shimmer { 0%{background-position:100% 0} 100%{background-position:-100% 0} }

/* ── Product Grid ── */
.al-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px; }
.al-card { background:#fff;border-radius:14px;box-shadow:0 2px 12px rgba(0,0,0,.06);overflow:hidden;transition:transform .2s,box-shadow .2s;cursor:pointer; }
.al-card:hover { transform:translateY(-4px);box-shadow:0 8px 28px rgba(0,0,0,.12); }
.al-card-img { position:relative;height:160px;overflow:hidden;background:#f8fafc; }
.al-card-img img { width:100%;height:100%;object-fit:cover;transition:transform .3s; }
.al-card:hover .al-card-img img { transform:scale(1.05); }
.al-badge-sale { position:absolute;top:10px;left:10px;background:#16a34a;color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:20px; }
.al-badge-cat { position:absolute;top:10px;right:10px;background:rgba(0,0,0,.5);color:#fff;font-size:10px;font-weight:600;padding:3px 8px;border-radius:20px; }
.al-card-body { padding:14px; }
.al-card-title { font-size:14px;font-weight:700;color:var(--clr-dark,#1e293b);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.al-card-brand { font-size:11px;color:var(--clr-muted,#64748b);margin-bottom:10px; }
.al-price-block { display:flex;align-items:center;justify-content:space-between;margin-bottom:12px; }
.al-price-rent { font-size:15px;font-weight:800;color:#f97316; }
.al-price-rent sub { font-size:10px;font-weight:600; }
.al-price-sale { font-size:12px;color:var(--clr-muted,#64748b);text-decoration:line-through; }
.al-price-sale-active { font-size:12px;color:#16a34a;font-weight:700; }
.al-type-toggle { display:flex;gap:6px; }
.al-type-btn { flex:1 1 0;padding:8px 4px;border-radius:8px;border:1.5px solid var(--clr-border,#e2e8f0);background:#fff;color:var(--clr-dark,#1e293b);font-size:13px;font-weight:700;cursor:pointer;transition:all .2s; }
.al-type-btn:hover { border-color:#f97316;color:#f97316; }
.al-type-btn.active { background:#f97316;border-color:#f97316;color:#fff; }
.al-card-btns { display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:2px; }
.al-btn-rent,.al-btn-buy,.al-btn-view { flex:1 1 0;min-width:120px;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;gap:6px; }
.al-btn-rent { background:#f97316;color:#fff;border:none; }
.al-btn-rent:hover { background:#ea6c0a; }
.al-btn-buy { background:#fff;color:#f97316;border:1.5px solid #f97316; }
.al-btn-buy:hover { background:#fff7ed; }
.al-btn-view { background:#f8fafc;color:var(--clr-dark,#1e293b);border:1.5px solid var(--clr-border,#e2e8f0); }
.al-btn-view:hover { border-color:#f97316;color:#f97316; }

/* ── Empty ── */
.al-empty { text-align:center;padding:60px 20px;color:var(--clr-muted,#64748b); }
.al-empty i { font-size:48px;margin-bottom:16px;display:block;color:#cbd5e1; }
.al-empty h5 { font-size:18px;font-weight:700;color:var(--clr-dark,#1e293b);margin-bottom:8px; }

/* ── Color filter chips (sidebar) ── */
.al-color-filter-chips { display:flex;flex-wrap:wrap;gap:6px; }
.al-color-chip-filter { display:flex;align-items:center;gap:6px;padding:4px 10px 4px 6px;border:1.5px solid var(--clr-border,#e2e8f0);border-radius:20px;cursor:pointer;font-size:12px;font-weight:600;color:var(--clr-dark,#1e293b);transition:all .18s;background:#fff; }
.al-color-chip-filter.active { border-color:#f97316;background:#fff7ed;color:#f97316; }
.al-color-chip-filter:hover { border-color:#f97316; }
button.al-color-chip-filter { font-family:inherit;line-height:1.3; }
button.al-color-chip-filter:hover { border:1.5px solid #f97316;color:var(--clr-dark,#1e293b); }
button.al-color-chip-filter.active:hover { color:#f97316; }
button.al-color-chip-filter:focus-visible { outline:2px solid #fdba74;outline-offset:2px; }
.al-color-dot { display:inline-block;width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.12);flex-shrink:0; }
.al-color-chip-label { white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:80px; }

/* ── Variant badges on product cards ── */
.al-variant-badges { display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px; }
.al-variant-badge { display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:var(--clr-muted,#64748b);background:#f1f5f9;border-radius:10px;padding:2px 8px; }

/* ── Active filter tags in topbar ── */
.al-active-filters { display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:10px; }
.al-filter-tag { display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;background:#fff7ed;color:#f97316;border:1px solid rgba(249,115,22,.3);border-radius:20px;padding:2px 8px; }
.al-filter-tag i { cursor:pointer;font-size:9px;opacity:.7; }
.al-filter-tag i:hover { opacity:1; }
.al-filter-dot { display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid rgba(0,0,0,.15); }

/* ── Pagination ── */
.al-pagination-bar { display:flex;align-items:center;justify-content:space-between;margin-top:28px;flex-wrap:wrap;gap:12px; }
.al-page-info { font-size:13px;color:var(--clr-muted,#64748b); }
/* More as the customer scrolls (2026-10-05). */
.al-more { display:flex;align-items:center;gap:12px;flex-wrap:wrap; }
.al-more-loading { font-size:13px;font-weight:600;color:var(--clr-primary,#f97316); }
.al-more-error { font-size:13px;color:#dc2626; }
.al-more-btn { border:1.5px solid var(--clr-primary,#f97316);color:var(--clr-primary,#f97316);background:#fff;border-radius:999px;padding:8px 20px;font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,color .2s; }
.al-more-btn:hover, .al-more-btn:focus-visible { background:var(--clr-primary,#f97316);color:#fff;border-color:var(--clr-primary,#f97316); }
.al-more-sentinel { height:1px; }
