/* ═══════════════════════════════════════════════════════════════
   Zilideon Place — typography system (single source of truth)
   One font family and one size scale, in line with large
   marketplaces: 16px body, 14px UI/secondary, 12px captions only.
   Every plugin stylesheet reads these tokens (with px fallbacks).
   ═══════════════════════════════════════════════════════════════ */
:root {
    --zl-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --zl-fs-xs: 12px;   /* captions, badges, legal — never smaller */
    --zl-fs-sm: 14px;   /* UI text, nav, buttons, card text, footer */
    --zl-fs-base: 16px; /* body paragraphs, inputs */
    --zl-fs-md: 18px;   /* lead text, card/section sub-headings */
    --zl-fs-lg: 20px;
    --zl-fs-xl: 24px;   /* section headings (small) */
    --zl-fs-2xl: 28px;  /* section headings */
    --zl-fs-3xl: 32px;
    --zl-fs-4xl: 40px;
    --zl-lh-body: 1.5;
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.zl-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.zl-directory-card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
}

.zl-search-item {
    margin: 15px 0;
}

.zl-verified-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #0a7d32;
    color: #fff;
    font-size: var(--zl-fs-sm,14px);
    border-radius: 30px;
    margin-top: 10px;
}

 /* ═══════════════════════════════════════════════════════════════
   Single Place Page  (.zl-single-place)
   ═══════════════════════════════════════════════════════════════ */

.zl-single-place {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px 48px;
    background: #fff;
    /* Uniform Inter / system-ui stack — matches the form page */
    font-family: var(--zl-font);
    font-size: var(--zl-fs-base,16px);
    line-height: 1.55;
    color: #222;
    -webkit-font-smoothing: antialiased;
}
body.single-zl_place { background: #fff; }

/* ── Promo badge ────────────────────────────────────────────── */
.zl-sp-promo-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.zl-sp-badge-sponsored { background: #e7f3ff; color: #0a58ca; }

/* ── Hero / cover image (storefront banner, above the two-column body) ── */
.zl-sp-hero {
    position: relative;
    /* Full-bleed: break out of any ancestor padding (plugin's own 16px,
       or a theme content wrapper's) so the banner is flush to the screen
       edges left/right, matching the flush top edge. -16px alone only
       cancelled this plugin's own padding, not a theme's. */
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    border-radius: 0;
    overflow: hidden;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #eef1f5;
}
.zl-sp-hero-edit-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    text-decoration: none;
}
.zl-sp-hero-edit-btn:hover { background: rgba(0,0,0,.7); }
.zl-sp-hero-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed #c7cfd9;
    background: #f7f9fb;
    text-decoration: none;
    cursor: pointer;
}
.zl-sp-hero-empty-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7684;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
}
.zl-sp-hero-empty:hover { background: #eef2f6; border-color: #aab4c2; }
@media (max-width: 760px) {
    .zl-sp-hero { height: 140px; margin-top: 0; }
}

/* Trust panel is owner-only and now sits full-width above the tabs
   instead of in a narrow sidebar column — cap it so it reads as a card,
   not a page-wide bar. */
.zl-trust-panel {
    max-width: 480px;
    margin-top: 16px;
    margin-bottom: 20px;
}

/* ── Body ───────────────────────────────────────────────────── */
/* Single-column storefront layout — no sidebar. Fills the same width as
   the hero banner (.zl-single-place, 1300px) so the tab content isn't
   narrower than the banner above it — matches an eBay/Amazon storefront
   where the page content and the header banner share one width. */
.zl-sp-body {
    margin: 0 auto;
}
.zl-sp-body,
.zl-place-functional-panel {
    min-width: 0;
}

/* ── Profile card (lives inside left column, top) ────────────── */
/* Bordered card wrapping the avatar, title, ratings, badges, and
   category/location tags — sits at top of left column, aligned
   beside the contact card in the right column.                  */
.zl-sp-profile-card {
    border: 1.5px solid #e0e6ef;
    border-radius: 0;
    background: #fff;
    /* Same full-bleed technique as .zl-sp-hero — flush left/right
       regardless of ancestor padding, matching its flush top edge. */
    width: 100vw;
    margin: 0 0 28px calc(50% - 50vw);
    padding: 24px 32px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* ── Top row: avatar + identity + actions, all one flex row ─── */
/* eBay/Amazon-storefront style: avatar on the left, name/status/
   stats stacked in a middle column beside it, action buttons
   pushed to the far right of the same row — replaces the previous
   stacked avatar-row / title-row / info-row layout.              */
.zl-sp-profile-top {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 4px;
}

/* Avatar sits inside the top row */
.zl-sp-avatar-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid #e0e6ef;
    overflow: hidden;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none; /* now an <a>, not a bare div */
}
.zl-sp-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.zl-sp-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    width: 100%;
    height: 100%;
}

/* Identity column: name, status badges, stats — stacked beside avatar */
.zl-sp-identity {
    flex: 1 1 260px;
    min-width: 0;
}
.zl-sp-identity-name-row { margin-bottom: 4px; }
.zl-sp-identity-status-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}
.zl-sp-identity-status-row:empty { display: none; margin: 0; }
.zl-sp-identity-stats-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: var(--zl-fs-sm,14px);
    color: #555;
}

/* Action buttons pushed to the right of the top row */
.zl-sp-action-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}
@media (max-width: 760px) {
    /* Keep avatar + identity side-by-side on mobile too (row, not column) —
       matches desktop positioning. Only the action buttons (share/edit),
       which don't fit beside a narrow identity column on small screens,
       are forced onto their own line below via flex-basis: 100%. */
    .zl-sp-profile-top { gap: 12px 16px; margin-bottom: 0; }
    /* Column flow used to turn the 260px flex-basis into a height basis,
       stretching the identity block to ~260px tall regardless of its actual
       content. Now that we stay in row layout, let it flex to fill the
       remaining space beside the avatar instead of a fixed 260px basis. */
    .zl-sp-identity { flex: 1 1 0; min-width: 0; width: auto; }
    .zl-sp-action-btns { flex-basis: 100%; margin: 0; padding: 0; width: 100%; }
}

/* ── Title ──────────────────────────────────────────────────── */
.zl-sp-title {
    margin: 0;
    font-size: var(--zl-fs-xl,24px);          /* largest text on page — clear hierarchy top */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
    color: #111;
}
.zl-sp-sm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1a9c53;
    color: #fff;
    font-size: 6.5px;
    font-family: var(--zl-font);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    cursor: default;
    position: relative;
    top: -6px;
}

/* Open/Closed badge */
.zl-sp-open-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    white-space: nowrap;
}
.zl-sp-status-open        { background: #d4edda; color: #155724; }
.zl-sp-status-closed      { background: #f8d7da; color: #721c24; }
.zl-sp-status-closing     { background: #fff3cd; color: #856404; }
.zl-sp-status-temp-closed { background: #fff3cd; color: #856404; }
.zl-sp-status-perm-closed { background: #f8d7da; color: #721c24; }
.zl-sp-status-coming-soon { background: #e2e3e5; color: #383d41; }

/* ── Category & location tags ───────────────────────────────── */
.zl-sp-meta-tags {
    font-size: var(--zl-fs-sm,14px);          /* secondary info — one step below base */
    color: #555;
}
.zl-sp-meta-tags a { color: #1a7ae4; text-decoration: none; }
.zl-sp-meta-tags a:hover { text-decoration: underline; }
.zl-sp-location-tags .dashicons { font-size: var(--zl-fs-base,16px); vertical-align: middle; margin-right: 3px; }

/* ── Star rating summary ────────────────────────────────────── */
.zl-sp-rating { display: inline-flex; align-items: center; }

/* ── Section blocks ─────────────────────────────────────────── */
.zl-sp-section { margin-bottom: 36px; }
.zl-sp-section-title {
    font-size: var(--zl-fs-sm,14px);          /* uppercase label — same scale as form section titles */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #1a7ae4;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f1fb;
}

/* ── Description ────────────────────────────────────────────── */
.zl-sp-description-body { font-size: var(--zl-fs-base,16px); line-height: 1.7; color: #444; }
.zl-sp-description-body p { margin: 0 0 1.2em; }
.zl-sp-description-body p:last-child { margin-bottom: 0; }
.zl-sp-description-body ul,
.zl-sp-description-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }

/* ── Gallery ────────────────────────────────────────────────── */
.zl-sp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.zl-sp-gallery-item { display: block; border-radius: 6px; overflow: hidden; }
.zl-sp-gallery-item img {
    width: 100%; height: 120px;
    object-fit: cover; display: block;
    transition: opacity .2s;
}
.zl-sp-gallery-item:hover img { opacity: .85; }

/* ── Photo gallery lightbox ─────────────────────────────────── */
.zl-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    padding: 40px 20px;
}
.zl-lightbox-overlay.zl-lightbox-open {
    opacity: 1;
    visibility: visible;
}
.zl-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}
.zl-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: var(--zl-fs-3xl,32px);
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}
body.zl-lightbox-active { overflow: hidden; }

/* ── Hours table ────────────────────────────────────────────── */
.zl-sp-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--zl-fs-base,16px);
}
.zl-sp-hours-table tr { border-bottom: 1px solid #f0f0f0; }
.zl-sp-hours-table td { padding: 9px 6px; vertical-align: middle; }
.zl-sp-day { font-weight: 600; width: 45%; color: #222; }
.zl-sp-hours { color: #444; }
.zl-sp-today { background: #f0f7ff; }
.zl-sp-today .zl-sp-day { color: #1a7ae4; }
.zl-sp-today-dot {
    display: inline-block;
    width: 7px; height: 7px;
    background: #1a7ae4;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}
.zl-sp-closed-text { color: #c00; font-weight: 600; }
.zl-sp-open-text   { color: #1a7a40; font-weight: 600; }
.zl-sp-status-note {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    margin-bottom: 12px;
}

/* ── Map ────────────────────────────────────────────────────── */
.zl-sp-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}
.zl-sp-map-wrap iframe { display: block; }

/* ── Contact tab (was the sidebar contact card) ──────────────── */
.zl-sp-contact-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.zl-sp-card-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}
.zl-sp-contact-rows {
    max-width: 480px;
}
.zl-sp-contact-cta-row {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin-top: 6px;
}
.zl-sp-contact-cta-row .zl-sp-whatsapp-btn,
.zl-sp-contact-cta-row .zl-sp-directions-btn {
    width: auto;
    flex: 1;
    margin-top: 0;
}
@media (max-width: 560px) {
    .zl-sp-contact-cta-row { flex-direction: column; }
}
.zl-sp-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: var(--zl-fs-base,16px);
    color: #333;
    line-height: 1.5;
}
.zl-sp-contact-row .dashicons {
    color: #1a7ae4;
    flex-shrink: 0;
    margin-top: 1px;
}
.zl-sp-contact-row a { color: #1a7ae4; text-decoration: none; word-break: break-all; }
.zl-sp-contact-row a:hover { text-decoration: underline; }

/* WhatsApp button */
.zl-sp-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 11px 0;
    background: #25d366;
    color: #fff;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    transition: background .2s;
    box-sizing: border-box;
}
.zl-sp-whatsapp-btn:hover { background: #1ebe5d; color: #fff; }

/* Directions button */
.zl-sp-directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
    background: #f0f7ff;
    color: #1a7ae4;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    border-radius: 7px;
    text-decoration: none;
    border: 1px solid #c2dcf8;
    transition: background .2s;
    box-sizing: border-box;
}
.zl-sp-directions-btn:hover { background: #dceeff; }

/* ══════════════════════════════════════════════════════════════
   Profile card action buttons (share icon + write review)
   ══════════════════════════════════════════════════════════════ */

/* Share icon button */
.zl-sp-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1.5px solid #d0d5dd;
    border-radius: 50%;
    cursor: pointer;
    color: #555;
    transition: border-color .18s, color .18s, background .18s;
    flex-shrink: 0;
}
.zl-sp-icon-btn:hover {
    border-color: #1a7ae4;
    color: #1a7ae4;
    background: #f0f7ff;
}

/* Write a Review button */
.zl-sp-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #1a7ae4;
    color: #fff;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s;
    font-family: inherit;
}
.zl-sp-review-btn:hover { background: #155fc4; }

/* ══════════════════════════════════════════════════════════════
   Get Verified button (profile card, owner only)
   ══════════════════════════════════════════════════════════════ */
.zl-sp-get-verified-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    padding: 9px 16px;
    background: linear-gradient(135deg, #f5a623 0%, #e8890a 100%);
    color: #fff;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    transition: opacity .18s;
    box-sizing: border-box;
}
.zl-sp-get-verified-btn:hover { opacity: .88; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   Share modal
   ══════════════════════════════════════════════════════════════ */
.zl-share-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.52);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    box-sizing: border-box;
}
.zl-share-modal {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 30px 26px 26px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 48px rgba(0,0,0,.18);
    box-sizing: border-box;
}
.zl-share-subtitle {
    margin: 0 0 20px;
    font-size: var(--zl-fs-base,16px);
    color: #666;
    line-height: 1.5;
}
.zl-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.zl-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 8px 12px;
    border-radius: 10px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    background: none;
    font-family: inherit;
    line-height: 1.2;
}
.zl-share-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    opacity: .92;
}
.zl-share-facebook  { background: #1877f2; color: #fff; }
.zl-share-twitter   { background: #000;    color: #fff; }
.zl-share-whatsapp  { background: #25d366; color: #fff; }
.zl-share-linkedin  { background: #0a66c2; color: #fff; }
.zl-share-telegram  { background: #2aabee; color: #fff; }
.zl-share-copy      { background: #f5f5f5; color: #333; border-color: #ddd; }
.zl-share-copy:hover { background: #ececec; }

/* ══════════════════════════════════════════════════════════════
   Review gate toast
   ══════════════════════════════════════════════════════════════ */
.zl-review-gate-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99998;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a1a2e;
    color: #fff;
    font-size: var(--zl-fs-base,16px);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 6px 24px rgba(0,0,0,.22);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .25s;
}
.zl-review-gate-toast.zl-toast-visible {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   Edit Listing button — single listing page (owner only)
   ══════════════════════════════════════════════════════════════ */

.zl-sp-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: #f4f6f8;
    color: #333;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    border: 1.5px solid #dde1e8;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s;
}
.zl-sp-edit-btn:hover {
    background: #1a7ae4;
    border-color: #1a7ae4;
    color: #fff;
}

/* ── Taxonomy archive pages (zl_place_category, zl_location) ──────────────────── */
.zl-tax-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.zl-tax-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--zl-border, #e5e7eb);
}

/* ── Cross-plugin discovery banner ─────────────────────────────────────── */
.zl-cross-plugin-banner {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-primary, #4a3db5);
    background: var(--zl-primary-tint, #f5f3ff);
    border: 1px solid var(--zl-border, #e0dbff);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 20px;
}
.zl-cross-plugin-banner a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.zl-tax-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.zl-tax-title {
    font-size: var(--zl-fs-2xl,28px);
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--zl-text, #111827);
}

.zl-tax-meta {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text-secondary, #6b7280);
    margin: 0 0 6px;
}

.zl-tax-desc {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text-secondary, #6b7280);
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

/* ── Browse strip (sibling categories / locations) ── */
.zl-tax-cat-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.zl-tax-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1.5px solid var(--zl-border, #e5e7eb);
    border-radius: 999px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 500;
    color: var(--zl-text-secondary, #4b5563);
    background: var(--zl-surface, #fff);
    text-decoration: none;
    transition: border-color .12s, background .12s, color .12s;
    white-space: nowrap;
}

.zl-tax-cat-pill:hover {
    border-color: var(--zl-primary, #4f46e5);
    color: var(--zl-primary, #4f46e5);
    text-decoration: none;
}

.zl-tax-cat-pill.is-active {
    border-color: var(--zl-primary, #4f46e5);
    background: var(--zl-primary-tint, #eef2ff);
    color: var(--zl-primary, #4f46e5);
    font-weight: 600;
}

.zl-tax-pill-icon {
    font-size: var(--zl-fs-base,16px);
}

/* ── No results ── */
.zl-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--zl-text-secondary, #6b7280);
}

.zl-no-results p {
    font-size: var(--zl-fs-base,16px);
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .zl-tax-header { flex-direction: column; gap: 10px; }
    .zl-tax-icon   { font-size: var(--zl-fs-4xl,40px); }
    .zl-tax-title  { font-size: var(--zl-fs-lg,20px); }
}

/* ── Breadcrumb ── */
.zl-breadcrumb {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text-secondary, #6b7280);
    margin-bottom: 14px;
}
.zl-breadcrumb a {
    color: var(--zl-text-secondary, #6b7280);
    text-decoration: none;
}
.zl-breadcrumb a:hover { color: var(--zl-primary, #4f46e5); text-decoration: underline; }
.zl-breadcrumb [aria-current="page"] { color: var(--zl-text, #111827); font-weight: 500; }

/* ══════════════════════════════════════════════════════════════
   Toolbar — search / near me / sort
   ══════════════════════════════════════════════════════════════ */
.zl-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

/* ── Search box ── */
.zl-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 260px;
    min-width: 220px;
}

.zl-search-icon {
    position: absolute;
    left: 12px;
    display: flex;
    align-items: center;
    color: var(--zl-text-secondary, #9ca3af);
    pointer-events: none;
}

.zl-search-input {
    width: 100%;
    padding: 10px 36px 10px 36px;
    border: 1px solid var(--zl-border, #d7dbe0);
    border-radius: 999px;
    background: var(--zl-surface, #fff);
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text, #222);
    box-sizing: border-box;
}

.zl-search-input:focus {
    outline: none;
    border-color: var(--zl-primary, #4f46e5);
    box-shadow: 0 0 0 3px var(--zl-primary-tint, #eef2ff);
}

.zl-search-clear {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--zl-border, #e5e7eb);
    color: var(--zl-text-secondary, #6b7280);
    font-size: var(--zl-fs-sm,14px);
    line-height: 1;
    cursor: pointer;
}
.zl-search-clear:hover { background: #d7dbe0; color: #222; }

/* ── Sort ── */
.zl-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.zl-sort-label {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text-secondary, #6b7280);
    white-space: nowrap;
}

.zl-sort-select {
    padding: 7px 10px;
    border: 1px solid var(--zl-border, #d7dbe0);
    border-radius: 999px;
    background: var(--zl-surface, #fff);
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text, #333);
}

/* ── Results meta line ── */
.zl-results-meta {
    font-size: var(--zl-fs-base,16px);
    color: var(--zl-text-secondary, #6b7280);
    margin: 0 0 14px;
    min-height: 16px;
}

/* ══════════════════════════════════════════════════════════════
   Results grid
   ══════════════════════════════════════════════════════════════ */
.zl-places-wrap {
    transition: opacity .15s ease;
}

.zl-places-wrap.zl-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.zl-places-wrap.zl-style-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Loading state ── */
.zl-loading {
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 0;
    color: var(--zl-text-secondary, #6b7280);
    font-size: var(--zl-fs-base,16px);
}

.zl-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--zl-border, #e5e7eb);
    border-top-color: var(--zl-primary, #4f46e5);
    border-radius: 50%;
    animation: zl-spin .7s linear infinite;
}

@keyframes zl-spin {
    to { transform: rotate(360deg); }
}

/* ── Pagination wrap ── */
#zl-pagination-wrap {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

@media (max-width: 700px) {
    .zl-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .zl-search-wrap {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }
    .zl-near-me-wrap,
    .zl-sort-wrap {
        justify-content: space-between;
        width: 100%;
    }
    .zl-sort-select { flex: 1; }
}

@media (max-width: 600px) {
    .zl-places-wrap.zl-style-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}

/* ══════════════════════════════════════════════════════════════
   Reviews section — single place page
   ══════════════════════════════════════════════════════════════ */

.zl-reviews-section {
    margin-top: 40px;
}

.zl-section-title {
    font-size: var(--zl-fs-xl,24px);
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px;
}

/* Review list */
.zl-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.zl-review-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
}

.zl-review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.zl-review-author {
    font-weight: 600;
    color: #111827;
    font-size: var(--zl-fs-base,16px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.zl-review-rating {
    color: #f59e0b;
    font-size: var(--zl-fs-base,16px);
    letter-spacing: 1px;
}

.zl-review-content {
    margin: 8px 0 0;
    color: #374151;
    font-size: var(--zl-fs-base,16px);
    line-height: 1.65;
}

.zl-reviewer-badge {
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    color: #1a7ae4;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 2px 8px;
}

.zl-review-stars {
    color: #f59e0b;
    font-size: var(--zl-fs-base,16px);
    letter-spacing: 1px;
    margin-left: auto;
}

.zl-review-date {
    font-size: var(--zl-fs-base,16px);
    color: #9ca3af;
    white-space: nowrap;
}

.zl-review-text {
    margin: 0;
    color: #374151;
    font-size: var(--zl-fs-base,16px);
    line-height: 1.65;
}

.zl-no-reviews {
    color: #6b7280;
    font-size: var(--zl-fs-base,16px);
    margin-bottom: 24px;
}

/* Review form */
.zl-review-form-wrap {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-top: 8px;
}

.zl-review-form-title {
    font-size: var(--zl-fs-md,18px);
    font-weight: 700;
    color: #111827;
    margin: 0 0 18px;
}

.zl-review-gate-notice,
.zl-review-guest-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: var(--zl-fs-base,16px);
    color: #92400e;
    line-height: 1.55;
}

.zl-review-gate-notice svg,
.zl-review-guest-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #d97706;
}

.zl-review-gate-notice a,
.zl-review-guest-notice a {
    color: #1a7ae4;
    font-weight: 600;
    text-decoration: none;
}

.zl-review-already-done {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #166534;
    font-weight: 600;
    font-size: var(--zl-fs-base,16px);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
}

.zl-review-already-done svg {
    flex-shrink: 0;
    color: #16a34a;
}

/* Star rating input */
.zl-star-rating-input {
    display: flex;
    gap: 6px;
    margin: 4px 0;
}

.zl-star-rating-input .zl-star-btn {
    font-size: var(--zl-fs-2xl,28px);
    cursor: pointer;
    color: #d1d5db;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.15s, transform 0.1s;
}

.zl-star-rating-input .zl-star-btn:hover,
.zl-star-rating-input .zl-star-btn.zl-star-active {
    color: #f59e0b;
    transform: scale(1.15);
}

/* Stars display (read-only) */
.zl-stars-display {
    display: inline-flex;
    gap: 2px;
}

.zl-star { font-size: var(--zl-fs-md,18px); }
.zl-star-full  { color: #f59e0b; }
.zl-star-half  { color: #f59e0b; }
.zl-star-empty { color: #d1d5db; }

/* Form fields */
.zl-form-field {
    margin-bottom: 16px;
}

.zl-form-field label {
    display: block;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.zl-required {
    color: #ef4444;
    margin-left: 2px;
}

.zl-input {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    font-size: var(--zl-fs-base,16px);
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.zl-input:focus {
    outline: none;
    border-color: #1a7ae4;
    box-shadow: 0 0 0 3px rgba(26,122,228,0.12);
}

.zl-input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.zl-field-hint {
    display: block;
    font-size: var(--zl-fs-sm,14px);
    color: #9ca3af;
    margin-top: 4px;
}

/* Response / error message */
.zl-review-msg {
    padding: 10px 14px;
    border-radius: 9px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    margin-bottom: 12px;
}

.zl-review-msg.zl-msg-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.zl-review-msg.zl-msg-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Submit button */
.zl-submit-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: #1a7ae4;
    color: #fff;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.zl-submit-review:hover { background: #155fc4; }
.zl-submit-review:active { transform: scale(0.98); }
.zl-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Honeypot (never visible) */
.zl-hp-field { display: none !important; }

/* Responsive */
@media (max-width: 600px) {
    .zl-review-header { flex-direction: column; align-items: flex-start; }
    .zl-review-stars  { margin-left: 0; }
    .zl-review-form-wrap { padding: 16px; }
    .zl-star-rating-input .zl-star-btn { font-size: var(--zl-fs-3xl,32px); }
}

/* ── Service Areas public display ────────────────────────── */
.zl-sp-service-areas-section .zl-sp-service-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.zl-sp-service-area-tag {
    display: inline-block;
    background: #f0f7ff;
    border: 1px solid #dce8f8;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: var(--zl-fs-base,16px);
    color: #1a7ae4;
    font-weight: 500;
}

/* ── Service area suggestion button reset ────────────────── */
.zl-sa-suggestion-btn {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* ══════════════════════════════════════════════════════════════
   PLACE UPDATES — Activity Feed
   Light theme: #fff bg · #1a7ae4 accent · #222 text · #e8f1fb borders
   ══════════════════════════════════════════════════════════════ */

/* ── Updates section header ──────────────────────────────────── */
.zl-sp-updates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.zl-sp-updates-header .zl-sp-section-title { margin: 0; }

/* ── Post an Update button ───────────────────────────────────── */
.zl-btn-post-update {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1a7ae4;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 7px 15px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.zl-btn-post-update:hover { background: #1565c0; }

/* ── News tab (Contract Section 6.1) ─────────────────────────── */
.zl-news-group-heading {
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 20px 0 10px;
}
.zl-news-group-heading:first-child { margin-top: 0; }

.zl-news-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.zl-news-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e8f1fb;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, transform 0.15s;
}
.zl-news-card:hover,
.zl-news-card:focus-visible {
    box-shadow: 0 4px 14px rgba(26,122,228,0.12);
    transform: translateY(-2px);
    color: inherit;
}
.zl-news-card:focus-visible { outline: 2px solid #1a7ae4; outline-offset: 1px; }

.zl-news-card-image { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #e5e7eb; }
.zl-news-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zl-news-card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }

.zl-news-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--zl-fs-xs,12px);
    color: #6b7280;
}
.zl-news-card-type {
    display: inline-block;
    padding: 2px 8px;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--zl-fs-xs,12px);
}
.zl-news-card-title {
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #111827;
}
.zl-news-card-excerpt {
    font-size: var(--zl-fs-sm,14px);
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

/* ── Update feed ─────────────────────────────────────────────── */
.zl-updates-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Single update card (compact teaser) ─────────────────────── */
.zl-update-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e8f1fb;
    border-left: 3px solid #1a7ae4;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.zl-update-card:hover,
.zl-update-card:focus-visible {
    border-left-color: #1565c0;
    box-shadow: 0 2px 8px rgba(26,122,228,0.08);
}
.zl-update-card:focus-visible { outline: 2px solid #1a7ae4; outline-offset: 1px; }
/* Coloured left border per update type */
.zl-update-type-review       { border-left-color: #f59e0b; }
.zl-update-type-photo        { border-left-color: #8b5cf6; }
.zl-update-type-verified     { border-left-color: #10b981; }
.zl-update-type-marketplace  { border-left-color: #0a7d32; }
.zl-update-type-service_area { border-left-color: #06b6d4; }
.zl-update-type-hours        { border-left-color: #f97316; }

/* Fixed-size thumbnail — same footprint whether it's a photo or an icon fallback,
   so the feed reads as an even list instead of ragged variable-height blocks. */
.zl-update-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}
.zl-update-thumb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--zl-fs-xl,24px);
    background: #eaf2fe;
}

.zl-update-content { flex: 1; min-width: 0; }
.zl-update-headline {
    margin: 0 0 3px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zl-update-excerpt {
    margin: 0 0 4px;
    font-size: var(--zl-fs-base,16px);
    color: #555;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zl-update-time {
    font-size: var(--zl-fs-sm,14px);
    color: #888;
    font-weight: 500;
}
.zl-update-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 2px;
}
.zl-update-edit,
.zl-update-delete {
    background: none;
    border: none;
    color: #bbb;
    font-size: var(--zl-fs-base,16px);
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
    transition: color 0.1s, background 0.1s;
}
.zl-update-delete { font-size: var(--zl-fs-md,18px); }
.zl-update-edit:hover   { color: #1a7ae4; background: #eaf2fe; }
.zl-update-delete:hover { color: #e53e3e; background: #fff0f0; }

/* ── See all updates button ──────────────────────────────────── */
.zl-btn-see-all-updates {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 9px 16px;
    background: none;
    border: 1px solid #dce8f8;
    border-radius: 7px;
    color: #1a7ae4;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}
.zl-btn-see-all-updates:hover { background: #f0f7ff; border-color: #1a7ae4; }

.zl-updates-empty {
    font-size: var(--zl-fs-base,16px);
    color: #888;
    margin: 8px 0 0;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #dce8f8;
    border-radius: 8px;
    text-align: center;
}

/* ── Modal overlay ───────────────────────────────────────────── */
.zl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

/* The update composer (post/edit form) and the single-update detail view
   can both be opened from inside the "All Updates" timeline modal, and are
   meant to layer on top of it while it stays open behind them. Pin their
   stacking order explicitly instead of relying on markup order, so this
   holds regardless of where each overlay happens to sit in the template. */
#zl-update-composer-overlay,
#zl-update-detail-overlay {
    z-index: 100000;
}

/* ── Modal box ───────────────────────────────────────────────── */
.zl-modal-box {
    background: #fff;
    border: 1px solid #e0e6ef;
    border-radius: 14px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(10,20,40,0.18);
}
.zl-composer-box { max-width: 520px; }
.zl-timeline-box { max-width: 620px; }
.zl-detail-box   { max-width: 480px; }
.zl-services-modal-box { max-width: 560px; }

/* ── Services section (public profile) ──────────────────────── */
.zl-sp-services-list {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}
.zl-sp-services-list li {
    padding: 9px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: var(--zl-fs-base,16px);
    color: #23324a;
    position: relative;
    padding-left: 22px;
}
.zl-sp-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a7ae4;
}
.zl-sp-services-list li:last-child { border-bottom: none; }
.zl-sp-services-list-modal li:last-child { border-bottom: none; }

.zl-btn-see-all-services {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 9px 16px;
    background: none;
    border: 1px solid #dce8f8;
    border-radius: 7px;
    color: #1a7ae4;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}
.zl-btn-see-all-services:hover {
    background: #f3f8ff;
    border-color: #1a7ae4;
}

/* ── Update detail modal (expanded view of a compact card) ────── */
.zl-detail-icon {
    font-size: var(--zl-fs-2xl,28px);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}
.zl-detail-headline {
    margin: 0 0 4px;
    font-size: var(--zl-fs-md,18px);
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}
.zl-detail-time {
    font-size: var(--zl-fs-sm,14px);
    color: #888;
    font-weight: 500;
    margin: 0 0 14px;
    display: block;
}
.zl-detail-photo {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 14px;
}
.zl-detail-body {
    margin: 0;
    font-size: var(--zl-fs-base,16px);
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
}

.zl-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #e8f1fb;
    flex-shrink: 0;
}
.zl-modal-header h3 {
    margin: 0;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    color: #111;
}
.zl-modal-close {
    background: none;
    border: none;
    color: #999;
    font-size: var(--zl-fs-xl,24px);
    line-height: 1;
    cursor: pointer;
    padding: 3px 7px;
    border-radius: 6px;
    font-family: inherit;
    transition: color 0.1s, background 0.1s;
}
.zl-modal-close:hover { color: #333; background: #f0f4f8; }

.zl-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}
.zl-modal-footer {
    padding: 12px 20px;
    border-top: 1px solid #e8f1fb;
    text-align: center;
    flex-shrink: 0;
}

/* ── Composer: type picker ───────────────────────────────────── */
.zl-composer-hint {
    font-size: var(--zl-fs-base,16px);
    color: #666;
    margin: 0 0 14px;
}
.zl-composer-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}
.zl-composer-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 13px 8px;
    background: #f8fafc;
    border: 1.5px solid #e0e6ef;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.zl-composer-type-btn:hover {
    border-color: #1a7ae4;
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(26,122,228,0.1);
}
.zl-ctype-icon  { font-size: var(--zl-fs-xl,24px); line-height: 1; }
.zl-ctype-label { font-size: var(--zl-fs-sm,14px); font-weight: 600; color: #333; line-height: 1.3; }

/* ── Composer: fields ────────────────────────────────────────── */
.zl-composer-selected-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 9px 12px;
    background: #f0f7ff;
    border: 1px solid #dce8f8;
    border-radius: 8px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    color: #1a7ae4;
}
.zl-composer-input,
.zl-composer-textarea {
    width: 100%;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #d0dae8;
    border-radius: 8px;
    color: #222;
    font-size: var(--zl-fs-base,16px);
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.zl-composer-input:focus,
.zl-composer-textarea:focus {
    outline: none;
    border-color: #1a7ae4;
    box-shadow: 0 0 0 3px rgba(26,122,228,0.12);
}
.zl-composer-input    { margin-bottom: 10px; }
.zl-composer-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.zl-composer-photo-row { margin-top: 12px; }
.zl-composer-photo-add {
    background: none;
    border: 1.5px dashed #d0dae8;
    border-radius: 8px;
    color: #1a7ae4;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    padding: 9px 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.zl-composer-photo-add:hover { border-color: #1a7ae4; background: #eaf2fe; }
.zl-composer-photo-preview {
    position: relative;
    display: inline-block;
    max-width: 160px;
}
.zl-composer-photo-preview img {
    display: block;
    width: 100%;
    max-width: 160px;
    max-height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid #d0dae8;
}
.zl-composer-photo-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    background: #fff;
    border: 1.5px solid #d0dae8;
    border-radius: 50%;
    color: #888;
    font-size: var(--zl-fs-base,16px);
    cursor: pointer;
    padding: 0;
    transition: color 0.1s, border-color 0.1s;
}
.zl-composer-photo-remove:hover { color: #e53e3e; border-color: #e53e3e; }

.zl-composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    gap: 10px;
}
.zl-composer-back {
    background: none;
    border: 1px solid #d0dae8;
    border-radius: 7px;
    color: #555;
    font-size: var(--zl-fs-base,16px);
    font-family: inherit;
    padding: 7px 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.zl-composer-back:hover { border-color: #1a7ae4; color: #1a7ae4; }

.zl-btn-submit-update {
    background: #1a7ae4;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 8px 20px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
.zl-btn-submit-update:hover:not(:disabled) { background: #1565c0; }
.zl-btn-submit-update:disabled { opacity: 0.55; cursor: not-allowed; }

.zl-composer-notice {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 500;
}
.zl-composer-notice.is-error   { background: #fff0f0; border: 1px solid #fca5a5; color: #c0392b; }
.zl-composer-notice.is-success { background: #f0fff4; border: 1px solid #86efac; color: #166534; }

/* ── Timeline modal content ──────────────────────────────────── */
.zl-timeline-loading,
.zl-timeline-empty { font-size: var(--zl-fs-base,16px); color: #888; text-align: center; padding: 28px 0; margin: 0; }
.zl-timeline-error  { font-size: var(--zl-fs-base,16px); color: #c0392b; text-align: center; padding: 16px 0; margin: 0; }
#zl-timeline-body .zl-updates-feed { gap: 10px; }

.zl-btn-load-more {
    background: none;
    border: 1px solid #d0dae8;
    border-radius: 7px;
    color: #1a7ae4;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    font-family: inherit;
    padding: 8px 22px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.zl-btn-load-more:hover:not(:disabled) { border-color: #1a7ae4; background: #f0f7ff; }
.zl-btn-load-more:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Freshness dot (listing cards) ──────────────────────────── */
.zl-freshness-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 500;
    color: #777;
}
.zl-freshness-dot .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.zl-freshness-dot.fresh  .dot { background: #22c55e; }
.zl-freshness-dot.recent .dot { background: #f59e0b; }
.zl-freshness-dot.stale  .dot { background: #ef4444; }

/* ── Trust panel last updated ────────────────────────────────── */
.zl-trust-panel__updated {
    font-size: var(--zl-fs-sm,14px);
    color: #888;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e8f1fb;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .zl-composer-types { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .zl-composer-type-btn { padding: 10px 6px; }
    .zl-ctype-icon { font-size: var(--zl-fs-md,18px); }
    .zl-ctype-label { font-size: var(--zl-fs-sm,14px); }
    .zl-modal-box { border-radius: 10px; max-height: 95vh; }
    .zl-sp-updates-header { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   MODERN STOREFRONT
   ══════════════════════════════════════════════════════════════ */

.zl-sp-storefront-section { min-width: 0; display:flex; flex-direction:column; }
.zl-sp-storefront-heading {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}
.zl-sp-storefront-heading .zl-sp-section-title { margin:0; }
.zl-sp-storefront-subtitle { margin:4px 0 0; color:#6b7684; font-size:var(--zl-fs-sm,14px); }
.zl-sp-storefront-add-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    padding:9px 14px;
    background:#1a7ae4;
    color:#fff;
    text-decoration:none;
    font-size:var(--zl-fs-sm,14px);
    font-weight:700;
}
.zl-sp-storefront-add-btn:hover { color:#fff; filter:brightness(.94); }

.zl-storefront-merchandising { margin:0 0 32px; }
.zl-storefront-row-heading {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:12px;
}
.zl-storefront-row-heading h3 { margin:0; font-size:var(--zl-fs-lg,20px); color:#1a2438; }
.zl-storefront-row-heading p { margin:3px 0 0; color:#748094; font-size:var(--zl-fs-sm,14px); }
.zl-storefront-featured-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
}

.zl-sp-storefront-layout {
    display:flex;
    align-items:flex-start;
    gap:26px;
}
.zl-sp-storefront-main { flex:1; min-width:0; }
.zl-sp-storefront-sidebar {
    flex:0 0 210px;
    display:flex;
    flex-direction:column;
    gap:3px;
    position:sticky;
    top:16px;
}
.zl-storefront-filter-heading {
    padding:0 10px 8px;
    font-size:var(--zl-fs-xs,12px);
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.07em;
    color:#7a8595;
}
.zl-sp-storefront-sidebar-item {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    border-radius:8px;
    color:#4a5568;
    background:transparent;
    text-decoration:none;
    font-size:var(--zl-fs-sm,14px);
}
.zl-sp-storefront-sidebar-item:hover { background:#f5f7fa; color:#1a2438; }
.zl-sp-storefront-sidebar-item.is-active {
    background:#eaf3ff;
    color:#1a7ae4;
    font-weight:700;
}
.zl-sp-storefront-sidebar-count { color:#98a2b1; font-size:var(--zl-fs-xs,12px); }
.zl-sp-storefront-sidebar-item.is-active .zl-sp-storefront-sidebar-count { color:#1a7ae4; }

.zl-sp-storefront-toolbar {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:10px;
}
.zl-storefront-search {
    display:flex;
    align-items:center;
    gap:7px;
    flex:1 1 260px;
    min-width:180px;
    padding:9px 12px;
    border:1px solid #dfe5ed;
    border-radius:8px;
    background:#fff;
}
.zl-storefront-search:focus-within { border-color:#1a7ae4; box-shadow:0 0 0 2px rgba(26,122,228,.08); }
.zl-storefront-search .dashicons { color:#8993a1; font-size:var(--zl-fs-md,18px); width:17px; height:17px; }
.zl-storefront-search input { width:100%; border:0; outline:0; background:transparent; font:inherit; font-size:var(--zl-fs-sm,14px); }
.zl-sp-storefront-select,
.zl-sp-storefront-price-input {
    min-height:40px;
    padding:8px 11px;
    border:1px solid #dfe5ed;
    border-radius:8px;
    background:#fff;
    color:#344054;
    font:inherit;
    font-size:var(--zl-fs-sm,14px);
}
.zl-sp-storefront-price-input { width:110px; }
.zl-storefront-apply {
    min-height:40px;
    border:0;
    border-radius:8px;
    padding:8px 15px;
    background:#1a7ae4;
    color:#fff;
    font-weight:700;
    cursor:pointer;
}
.zl-storefront-apply:disabled { opacity:.6; }
.zl-storefront-active-filters {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin:8px 0 14px;
}
.zl-storefront-active-filters a {
    display:inline-flex;
    padding:6px 9px;
    border:1px solid #dce4ee;
    border-radius:999px;
    background:#f8fafc;
    color:#526071;
    text-decoration:none;
    font-size:var(--zl-fs-xs,12px);
}
.zl-storefront-active-filters .zl-storefront-clear-all {
    border-color:transparent;
    background:transparent;
    color:#1a7ae4;
    font-weight:700;
}
.zl-storefront-resultbar {
    display:flex;
    align-items:baseline;
    gap:4px;
    margin:0 0 12px;
    color:#6b7684;
    font-size:var(--zl-fs-sm,14px);
}
.zl-storefront-resultbar strong { color:#1a2438; font-size:var(--zl-fs-sm,14px); }

.zl-storefront-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.zl-cat-card {
    display:flex;
    flex-direction:column;
    min-width:0;
    background:#fff;
    border:1px solid #e3e9f1;
    border-radius:10px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    transition:box-shadow .15s,border-color .15s,transform .12s;
}
.zl-cat-card:hover {
    border-color:#cbd8e8;
    box-shadow:0 7px 22px rgba(16,24,40,.09);
    transform:translateY(-2px);
}
.zl-cat-card-link { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.zl-cat-card-thumb {
    position:relative;
    width:100%;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#f3f5f8;
    display:flex;
    align-items:center;
    justify-content:center;
}
.zl-cat-card-img { width:100%; height:100%; object-fit:cover; display:block; }
.zl-cat-card-no-img { font-size:var(--zl-fs-4xl,40px); color:#b9c4d1; }
.zl-card-badge {
    position:absolute;
    top:9px;
    left:9px;
    padding:4px 7px;
    border-radius:5px;
    background:#fff;
    box-shadow:0 1px 4px rgba(0,0,0,.12);
    font-size:var(--zl-fs-xs,12px);
    font-weight:800;
}
.zl-card-badge-sale { color:#b42318; }
.zl-card-badge-stock { left:auto; right:9px; color:#667085; }
.zl-cat-card-body { padding:12px 13px 14px; display:flex; flex-direction:column; gap:6px; flex:1; }
.zl-cat-card-condition {
    color:#667085;
    font-size:var(--zl-fs-xs,12px);
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.zl-cat-card-title {
    margin:0;
    font-size:var(--zl-fs-base,16px);
    font-weight:650;
    color:#1a2438;
    line-height:1.35;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.zl-cat-card-price-row { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px; margin-top:auto; }
.zl-cat-card-price { font-size:var(--zl-fs-md,18px); font-weight:800; color:#1a2438; }
.zl-cat-card-was { color:#98a2b1; font-size:var(--zl-fs-xs,12px); }
.zl-cat-card-rating { color:#9a6700; font-size:var(--zl-fs-xs,12px); font-weight:700; }
.zl-cat-card-rating-count { color:#7a8595; font-weight:500; }
.zl-cat-card-availability { color:#667085; font-size:var(--zl-fs-xs,12px); }
.zl-cat-card.is-unavailable .zl-cat-card-title { color:#667085; }
.zl-storefront-no-results { text-align:center; padding:40px 15px; color:#667085; }
.zl-storefront-loading { text-align:center; padding:18px; color:#667085; }

.zl-storefront-pagination {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    margin:24px 0 8px;
}
.zl-storefront-page {
    min-width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 9px;
    border:1px solid #dfe5ed;
    border-radius:7px;
    background:#fff;
    color:#475467;
    text-decoration:none;
    font-size:var(--zl-fs-sm,14px);
    font-weight:700;
}
.zl-storefront-page:hover { border-color:#1a7ae4; color:#1a7ae4; }
.zl-storefront-page.is-current { border-color:#1a7ae4; background:#1a7ae4; color:#fff; }

@media (max-width:1100px) {
    .zl-storefront-grid,.zl-storefront-featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
    .zl-sp-storefront-sidebar { flex-basis:180px; }
    .zl-storefront-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .zl-sp-storefront-toolbar > * { flex:1 1 auto; }
}
@media (max-width:760px) {
    .zl-sp-storefront-layout { display:block; }
    .zl-sp-storefront-sidebar { display:flex; flex-direction:row; flex-wrap:wrap; position:static; margin-bottom:15px; }
    .zl-storefront-filter-heading { width:100%; padding-left:0; }
    .zl-sp-storefront-sidebar-item { border:1px solid #e1e7ef; padding:8px 10px; }
    .zl-storefront-grid,.zl-storefront-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .zl-sp-storefront-heading { align-items:flex-start; }
}
@media (max-width:520px) {
    .zl-sp-storefront-heading { flex-direction:column; }
    .zl-sp-storefront-add-btn { width:100%; }
    .zl-sp-storefront-toolbar > * { width:100%; flex-basis:100%; }
    .zl-storefront-grid,.zl-storefront-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .zl-cat-card-body { padding:10px; }
    .zl-cat-card-title { font-size:var(--zl-fs-sm,14px); }
    .zl-cat-card-price { font-size:var(--zl-fs-base,16px); }
}

.zl-storefront-empty {
    padding:28px 20px;
    background:#f8fafc;
    border:1px dashed #dce4ee;
    border-radius:10px;
    text-align:center;
    color:#667085;
}
.zl-storefront-empty p { margin:0 0 12px; }
.zl-storefront-post-link {
    display:inline-block;
    background:#1a7ae4;
    color:#fff;
    border-radius:7px;
    padding:8px 16px;
    font-size:var(--zl-fs-sm,14px);
    font-weight:700;
    text-decoration:none;
}
.zl-storefront-post-link:hover { color:#fff; filter:brightness(.94); }

/* ══════════════════════════════════════════════════════════════
   PRICE LIST — Public display (single-zl_place.php)
   ══════════════════════════════════════════════════════════════ */

.zl-price-list { }

.zl-price-list-section { margin-bottom: 18px; }
.zl-price-list-section:last-child { margin-bottom: 0; }

.zl-price-list-section-label {
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a7ae4;
    margin: 0 0 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e8f1fb;
}

.zl-price-list-table {
    width: 100%;
    border-collapse: collapse;
}

/* Column headers */
.zl-price-list-thead tr {
    border-bottom: 2px solid #e8f1fb;
}
.zl-price-th-item,
.zl-price-th-price {
    padding: 6px 0 8px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #aaa;
}
.zl-price-th-item  { text-align: left; width: 60%; }
.zl-price-th-price { text-align: right; }

/* Data rows */
.zl-price-list-row {
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.1s;
}
.zl-price-list-row:last-child { border-bottom: none; }
.zl-price-list-row:hover { background: #f8fafc; }

.zl-price-item-name {
    padding: 10px 12px 10px 0;
    font-size: var(--zl-fs-base,16px);
    color: #222;
}

.zl-price-item-price {
    padding: 10px 0 10px 12px;
    font-size: var(--zl-fs-base,16px);
    font-weight: 700;
    color: #1a7ae4;
    text-align: right;
    white-space: nowrap;
}

.zl-price-unit {
    font-size: var(--zl-fs-sm,14px);
    font-weight: 400;
    color: #888;
}

.zl-price-contact {
    font-size: var(--zl-fs-sm,14px);
    font-weight: 500;
    color: #aaa;
}

/* ── Near me ─────────────────────────────────────────────────────────────
   Scoped styles for the "Near me" toggle, radius selector, and the
   per-card distance chip. The surrounding grid/toolbar/card layout has
   no CSS elsewhere in this file (pre-existing gap, out of scope here) —
   these rules are self-contained so they render correctly regardless. */

.zl-near-me-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zl-near-me-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #d7dbe0;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: var(--zl-fs-base,16px);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.zl-near-me-btn:hover { border-color: #1a7ae4; color: #1a7ae4; }
.zl-near-me-btn .dashicons { font-size: var(--zl-fs-base,16px); width: 16px; height: 16px; }

.zl-near-me-btn.is-active {
    background: #1a7ae4;
    border-color: #1a7ae4;
    color: #fff;
}

.zl-near-me-btn.is-loading { opacity: 0.6; cursor: wait; }
.zl-near-me-btn:disabled { cursor: not-allowed; }

.zl-radius-select {
    padding: 7px 10px;
    border: 1px solid #d7dbe0;
    border-radius: 999px;
    background: #fff;
    font-size: var(--zl-fs-base,16px);
    color: #333;
}

.zl-distance-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
    z-index: 2;
}
.zl-distance-chip .dashicons { font-size: var(--zl-fs-sm,14px); width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════════════
   Place card
   ══════════════════════════════════════════════════════════════ */

.zl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--zl-surface, #fff);
    border: 1px solid var(--zl-border, #e5e7eb);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: box-shadow .2s ease, transform .2s ease;
}
.zl-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
    transform: translateY(-2px);
}


/* ── Media area (image + overlaid chips) ── */
.zl-card-media {
    position: relative;
    background: #f3f4f6;
}

.zl-card-img-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.zl-card-img-wrap :where(img, .zl-card-img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.zl-card:hover .zl-card-img-wrap img { transform: scale(1.05); }

.zl-card-img-wrap.zl-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zl-text-secondary, #9ca3af);
    background: #eef0f3;
}
.zl-card-img-wrap.zl-no-img .dashicons {
    font-size: var(--zl-fs-4xl,40px);
    width: 42px;
    height: 42px;
}

/* Sponsored ribbon */
.zl-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: var(--zl-fs-xs,12px);
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.zl-badge-sponsored { background: rgba(17, 24, 39, .88); color: #fff; }

/* Open / closed status chip */
.zl-open-status {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    font-size: var(--zl-fs-xs,12px);
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.zl-status-open     { color: #0a7d32; }
.zl-status-closing  { color: #b45309; }
.zl-status-closed   { color: #6b7280; }
.zl-status-temp-closed { color: #b45309; }
.zl-status-perm-closed { color: #b91c1c; }
.zl-status-coming-soon { color: #1a7ae4; }

/* ── Body ── */
.zl-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
    gap: 4px;
}

.zl-card-cat {
    font-size: var(--zl-fs-xs,12px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--zl-primary, #1a7ae4);
    margin-bottom: 2px;
}
.zl-card-cat a { color: inherit; text-decoration: none; }
.zl-card-cat a:hover { text-decoration: underline; }

.zl-card-title {
    margin: 0 0 2px;
    font-size: var(--zl-fs-md,18px);
    line-height: 1.35;
    font-weight: 700;
    color: var(--zl-text, #1a1a1a);
    display: flex;
    align-items: flex-start;
    gap: 5px;
}
.zl-card-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zl-card-title a:hover { color: var(--zl-primary, #1a7ae4); }

.zl-card-verified-icon {
    flex-shrink: 0;
    display: inline-flex;
    margin-top: 3px;
}
.zl-card-verified-icon .zl-verified-icon { display: block; }

.zl-card-rating {
    display: flex;
    align-items: center;
    margin: 2px 0 4px;
}
.zl-card-rating .zl-stars-display { gap: 1px; }
.zl-card-rating .zl-star { font-size: var(--zl-fs-sm,14px); }
.zl-card-rating .zl-rating-avg {
    margin-left: 6px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    color: var(--zl-text, #333);
}
.zl-card-rating .zl-rating-count {
    margin-left: 5px;
    font-size: var(--zl-fs-sm,14px);
    color: var(--zl-text-secondary, #6b7280);
}

.zl-card-desc {
    margin: 0 0 6px;
    font-size: var(--zl-fs-sm,14px);
    line-height: 1.5;
    color: var(--zl-text-secondary, #555);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zl-card-address,
.zl-card-location {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 0 0 3px;
    font-size: var(--zl-fs-sm,14px);
    line-height: 1.4;
    color: var(--zl-text-secondary, #6b7280);
}
.zl-card-address .dashicons,
.zl-card-location .dashicons {
    font-size: var(--zl-fs-base,16px);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Actions row ── */
.zl-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.zl-card-actions .zl-verified-badge {
    margin: 0 auto 0 0;
    padding: 4px 10px;
    font-size: var(--zl-fs-xs,12px);
}

.zl-card-actions .zl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--zl-primary, #1a7ae4);
    color: #fff;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 700;
    border: none;
    border-radius: 7px;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s;
    font-family: inherit;
}
.zl-card-actions .zl-btn:hover { background: #155fc4; color: #fff; }

.zl-card-actions .zl-btn-wa {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #25d366;
}
.zl-card-actions .zl-btn-wa:hover { background: #1fb959; }

/* ── List view variant ── */
.zl-places-wrap.zl-style-list .zl-card {
    flex-direction: row;
}
.zl-places-wrap.zl-style-list .zl-card-media {
    flex: 0 0 220px;
    max-width: 220px;
}
.zl-places-wrap.zl-style-list .zl-card-img-wrap {
    aspect-ratio: auto;
    height: 100%;
}
.zl-places-wrap.zl-style-list .zl-card-body { padding: 14px 18px; }
.zl-places-wrap.zl-style-list .zl-card-desc,
.zl-places-wrap.zl-style-list .zl-card-title a {
    -webkit-line-clamp: 1;
}

@media (max-width: 600px) {
    .zl-places-wrap.zl-style-list .zl-card {
        flex-direction: column;
    }
    .zl-places-wrap.zl-style-list .zl-card-media {
        flex: none;
        max-width: none;
    }
    .zl-places-wrap.zl-style-list .zl-card-img-wrap {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

/* ── Verified badge + OTP modal helpers (v1.6.0) ─────────────────────────── */
.zl-sp-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #1a7ae4;
    color: #fff;
    cursor: default;
}
.zl-sp-get-shopmagnet-btn {
    background: #fff;
    color: #1a9c53;
    border: 1.5px solid #1a9c53;
}
.zl-sp-get-shopmagnet-btn:hover { color: #1a9c53; }
.zl-verify-link {
    background: none;
    border: none;
    padding: 6px 0 0 12px;
    color: #1a7ae4;
    font-size: var(--zl-fs-sm,14px);
    cursor: pointer;
}
.zl-verify-link:disabled { color: #999; cursor: default; }

/* ── Flash banner (e.g. ShopMagnet activation) ───────────────────────────── */
.zl-sp-flash-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1100px;
    margin: 16px auto 0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: var(--zl-fs-sm,14px);
    font-weight: 600;
}
.zl-sp-flash-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.zl-sp-flash-banner svg { flex-shrink: 0; }
.zl-sp-flash-banner span { flex: 1; }
.zl-sp-flash-close {
    background: none;
    border: none;
    font-size: var(--zl-fs-md,18px);
    line-height: 1;
    color: inherit;
    opacity: .6;
    cursor: pointer;
    padding: 0 2px;
}
.zl-sp-flash-close:hover { opacity: 1; }

/* ──────────────────────────────────────────────────────────────────────────
   Directory card isolation (1.15.0)
   Themes (Aura among them) style a bare .zl-card for their own listing cards:
   display:block, a different radius, a line-clamped .zl-card-title and a small
   bold .zl-card-rating. Which side won depended on stylesheet order. The extra
   .zl-card--place class gives these rules higher specificity, so the directory
   card looks the same under any theme, regardless of load order.
   ────────────────────────────────────────────────────────────────────────── */
.zl-card.zl-card--place {
    display: flex;
    flex-direction: column;
    background: var(--zl-surface, #fff);
    border: 1px solid var(--zl-border, #e5e7eb);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.zl-card.zl-card--place:hover {
    border-color: var(--zl-border, #e5e7eb);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .09);
    transform: translateY(-2px);
}
.zl-card--place .zl-card-title {
    margin: 0 0 2px;
    font-size: var(--zl-fs-md,18px);
    line-height: 1.35;
    font-weight: 700;
    color: var(--zl-text, #1a1a1a);
    display: flex;
    align-items: flex-start;
    gap: 5px;
    overflow: visible;
    -webkit-line-clamp: unset;
}
.zl-card--place .zl-card-rating {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 2px 0 4px;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Place mini-website homepage */
.zl-place-home-grid { display:grid; gap:18px; }
.zl-place-home-grid > .zl-home-section-order-1 { order:1; }
.zl-place-home-grid > .zl-home-section-order-2 { order:2; }
.zl-place-home-grid > .zl-home-section-order-3 { order:3; }
.zl-place-home-grid > .zl-home-section-order-4 { order:4; }
.zl-place-home-grid > .zl-home-section-order-5 { order:5; }
.zl-place-home-grid > .zl-home-section-order-6 { order:6; }

.zl-place-home-intro { padding:28px; background:linear-gradient(135deg,#fff,#f7f9fc); border:1px solid #e6e9ee; border-radius:18px; }
.zl-place-home-kicker { margin:0 0 6px; font-size:var(--zl-fs-xs,12px); font-weight:800; letter-spacing:.08em; text-transform:uppercase; opacity:.65; }
.zl-place-home-intro .zl-sp-section-title { margin-bottom:10px; font-size:var(--zl-fs-3xl,32px); }
.zl-place-home-description { max-width:760px; color:#4b5563; line-height:1.7; }
.zl-place-home-description p { margin:0 0 10px; }
.zl-place-home-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.zl-place-home-cta, .zl-place-home-text-link { border:0; cursor:pointer; text-decoration:none; font:inherit; font-weight:700; }
.zl-place-home-cta { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border-radius:10px; background:#111827; color:#fff; }
.zl-place-home-cta-secondary { background:#fff; color:#111827; border:1px solid #d8dde5; }
.zl-place-home-section { padding:24px; border:1px solid #e6e9ee; border-radius:16px; background:#fff; }
.zl-place-home-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.zl-place-home-section-heading .zl-sp-section-title { margin:0; }
.zl-place-home-text-link { background:transparent; color:#374151; padding:4px 0; }
.zl-place-home-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.zl-place-home-service-list { display:flex; flex-wrap:wrap; gap:10px; }
.zl-place-home-service-pill { display:inline-flex; padding:9px 12px; border:1px solid #e2e6ec; border-radius:999px; background:#f8fafc; font-weight:600; font-size:var(--zl-fs-sm,14px); }
.zl-place-home-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.zl-place-home-facts span { display:flex; flex-direction:column; gap:4px; padding:14px; border-radius:10px; background:#f8fafc; color:#4b5563; }
.zl-place-home-facts strong { color:#111827; font-size:var(--zl-fs-xs,12px); text-transform:uppercase; letter-spacing:.04em; }
.zl-place-home-contact { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.zl-place-home-contact .zl-place-home-actions { margin-top:0; }
@media (max-width:800px) {
  .zl-place-home-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .zl-place-home-facts { grid-template-columns:1fr; }
  .zl-place-home-contact { flex-direction:column; align-items:flex-start; }
}
@media (max-width:520px) {
  .zl-place-home-intro, .zl-place-home-section { padding:18px; }
  .zl-place-home-intro .zl-sp-section-title { font-size:var(--zl-fs-xl,24px); }
  .zl-place-home-product-grid { grid-template-columns:1fr; }
  .zl-place-home-section-heading { align-items:flex-start; flex-direction:column; }
}

/* Place homepage business-website presentation */
.zl-place-home-intro {
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    gap:22px;
    align-items:start;
    padding:30px;
    background:linear-gradient(135deg,#ffffff 0%,#f7faff 100%);
    border:1px solid #e1e7ef;
    border-radius:20px;
}
.zl-place-home-logo {
    width:96px;
    height:96px;
    object-fit:cover;
    border-radius:18px;
    border:1px solid #e1e7ef;
    background:#fff;
    box-shadow:0 5px 18px rgba(15,23,42,.08);
}
.zl-place-home-logo-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:var(--zl-fs-3xl,32px);
    font-weight:800;
    color:#1a73e8;
    background:#eef5ff;
}
.zl-place-home-meta { display:flex; flex-wrap:wrap; gap:7px 12px; margin:0 0 13px; color:#667085; font-size:var(--zl-fs-sm,14px); }
.zl-place-home-meta > span:not(:last-child)::after { content:"•"; margin-left:12px; color:#b1bac7; }
.zl-place-home-status { font-weight:700; color:#247a45; }
.zl-place-home-rating strong { color:#111827; }
.zl-place-home-intro .zl-place-home-actions { margin-top:20px; }
@media (max-width:800px) {
  .zl-place-home-intro { grid-template-columns:72px minmax(0,1fr); gap:16px; padding:22px; }
  .zl-place-home-logo { width:72px; height:72px; border-radius:14px; }
}
@media (max-width:520px) {
  .zl-place-home-intro { grid-template-columns:1fr; }
  .zl-place-home-logo { width:72px; height:72px; }
  .zl-place-home-meta > span::after { display:none; }
}

/* controlled Place presentation styles. */
.zl-single-place { --zl-place-accent:#1a73e8; }
.zl-single-place .zl-place-home-cta:not(.zl-place-home-cta-secondary),
.zl-single-place .zl-place-home-text-link { background:var(--zl-place-accent); }
.zl-single-place .zl-place-home-cta-secondary { color:var(--zl-place-accent); }
.zl-single-place .zl-place-home-kicker { color:var(--zl-place-accent); }

.zl-place-presentation-style-classic .zl-place-home-intro { border-radius:10px; background:#fff; box-shadow:0 1px 4px rgba(15,23,42,.05); }
.zl-place-presentation-style-classic .zl-place-home-section,
.zl-place-presentation-style-classic .zl-place-home-contact { border-radius:10px; }
.zl-place-presentation-style-business .zl-place-home-intro { grid-template-columns:1fr; border-radius:6px; background:var(--zl-place-accent); color:#fff; }
.zl-place-presentation-style-business .zl-place-home-intro .zl-place-home-description,
.zl-place-presentation-style-business .zl-place-home-intro .zl-place-home-meta { color:rgba(255,255,255,.88); }
.zl-place-presentation-style-business .zl-place-home-intro .zl-place-home-cta { background:#fff; color:#111827; }
.zl-place-presentation-style-market .zl-place-home-intro { border-radius:12px; background:#fff; box-shadow:0 8px 28px rgba(15,23,42,.08); }
.zl-place-presentation-style-market .zl-place-home-section { border-radius:10px; }

.zl-pf-color-row { display:flex; align-items:center; gap:12px; }
.zl-pf-color-row input[type="color"] { width:52px; height:40px; padding:2px; border:1px solid #d8dee8; border-radius:8px; background:#fff; cursor:pointer; }
.zl-pf-color-value { font-family:monospace; font-size:var(--zl-fs-sm,14px); color:#475467; }
.zl-pf-toggle-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.zl-pf-toggle-card { display:flex; align-items:center; gap:10px; min-height:48px; padding:11px 13px; border:1px solid #e1e6ed; border-radius:10px; background:#fff; cursor:pointer; }
.zl-pf-toggle-card input { margin:0; }
@media (max-width:600px) { .zl-pf-toggle-grid { grid-template-columns:1fr; } }

/* Zilideon Storefront website-style homepage refresh.
   Presentation-only: preserves existing Place data, tabs, entitlements and actions. */
body.single-zl_place .zl-single-place {
    max-width: 1440px;
    padding-left: 0;
    padding-right: 0;
    color: #172b3a;
    background: #fff;
}
body.single-zl_place .zl-sp-hero {
    height: clamp(340px, 42vw, 560px);
    margin-bottom: 0;
    background-position: center 45%;
    background-color: #e8f0e8;
}
body.single-zl_place .zl-sp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,35,25,.54), rgba(5,35,25,.12) 62%, rgba(5,35,25,.04));
    pointer-events: none;
}
body.single-zl_place .zl-sp-hero-edit-btn { z-index: 2; }
body.single-zl_place .zl-sp-body { padding: 0 0 64px; }
body.single-zl_place .zl-sp-profile-card {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 1240px);
    margin: -66px auto 28px;
    padding: 22px 30px;
    border: 1px solid #e6ece8;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(15, 45, 32, .12);
}
body.single-zl_place .zl-place-home-grid { gap: 30px; }
body.single-zl_place .zl-place-home-intro {
    position: relative;
    grid-template-columns: minmax(0, 1.25fr) minmax(190px, .75fr);
    align-items: center;
    gap: 28px;
    min-height: 300px;
    padding: clamp(28px, 5vw, 62px);
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(115deg, #f0f7f1 0%, #f8fbf7 58%, #e5f1e8 100%);
    box-shadow: inset 0 0 0 1px rgba(20,90,55,.06);
}
body.single-zl_place .zl-place-home-intro::after {
    content: "";
    position: absolute;
    width: 280px; height: 280px;
    right: -85px; bottom: -130px;
    border: 42px solid rgba(20,116,67,.07);
    border-radius: 50%;
    pointer-events: none;
}
body.single-zl_place .zl-place-home-intro-brand { grid-column: 2; grid-row: 1; justify-self: end; z-index: 1; }
body.single-zl_place .zl-place-home-intro-copy { grid-column: 1; grid-row: 1; z-index: 1; }
body.single-zl_place .zl-place-home-logo { width: 170px; height: 170px; border-radius: 26px; border: 6px solid #fff; box-shadow: 0 18px 38px rgba(20,60,38,.14); }
body.single-zl_place .zl-place-home-logo-placeholder { font-size: 64px; color: #087443; background: #e1f0e5; }
body.single-zl_place .zl-place-home-kicker { color: #087443; opacity: 1; letter-spacing: .12em; }
body.single-zl_place .zl-place-home-intro .zl-sp-section-title { max-width: 760px; margin: 4px 0 12px; color: #123b2b; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
body.single-zl_place .zl-place-home-meta { gap: 8px 14px; }
body.single-zl_place .zl-place-home-description { max-width: 650px; color: #4c6256; font-size: var(--zl-fs-md,18px); line-height: 1.75; }
body.single-zl_place .zl-place-home-cta { min-height: 48px; padding: 0 22px; border-radius: 9px; background: #087443; box-shadow: 0 7px 16px rgba(8,116,67,.15); }
body.single-zl_place .zl-place-home-cta:hover { background: #065d36; color: #fff; }
body.single-zl_place .zl-place-home-cta-secondary { color: #087443; background: #fff; border: 1px solid #c8ddce; box-shadow: none; }
body.single-zl_place .zl-place-home-section { padding: clamp(22px, 3vw, 38px); border: 1px solid #e9eee9; border-radius: 18px; box-shadow: 0 8px 24px rgba(20,50,30,.045); }
body.single-zl_place .zl-place-home-section .zl-sp-section-title,
body.single-zl_place .zl-place-home-contact .zl-sp-section-title { color: #173b2b; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.025em; }
body.single-zl_place .zl-place-home-section-heading { margin-bottom: 22px; }
body.single-zl_place .zl-place-home-product-grid { gap: 18px; }
body.single-zl_place .zl-place-home-service-pill { padding: 12px 17px; border-color: #dce9df; background: #f4f9f5; color: #24563a; }
body.single-zl_place .zl-place-home-contact { padding: clamp(24px, 4vw, 42px); border: 0; border-radius: 18px; color: #fff; background: #103d2b; }
body.single-zl_place .zl-place-home-contact .zl-sp-section-title,
body.single-zl_place .zl-place-home-contact .zl-place-home-kicker { color: #fff; }
body.single-zl_place .zl-place-home-contact .zl-place-home-cta { color: #103d2b; background: #fff; box-shadow: none; }
body.single-zl_place .zl-place-home-contact .zl-place-home-cta-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.45); }
@media (max-width: 760px) {
    body.single-zl_place .zl-sp-hero { height: 300px; }
    body.single-zl_place .zl-sp-body { padding-left: 14px; padding-right: 14px; }
    body.single-zl_place .zl-sp-profile-card { width: calc(100% - 16px); margin-top: -36px; padding: 18px; border-radius: 14px; }
    body.single-zl_place .zl-place-home-intro { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding: 26px 22px; }
    body.single-zl_place .zl-place-home-intro-brand { grid-column: 1; grid-row: 1; justify-self: start; }
    body.single-zl_place .zl-place-home-intro-copy { grid-column: 1; grid-row: 2; }
    body.single-zl_place .zl-place-home-logo { width: 88px; height: 88px; border-width: 4px; border-radius: 16px; }
    body.single-zl_place .zl-place-home-intro .zl-sp-section-title { font-size: var(--zl-fs-3xl,32px); }
    body.single-zl_place .zl-place-home-description { font-size: var(--zl-fs-base,16px); }
}


/* ── Storefront homepage refinement 1.23.1 ───────────────────────────────
   Remove the duplicate profile/action bar; the business logo now anchors
   the cover. Homepage sections are full-width and unboxed.
*/
.zl-sp-hero {
    height: 158px;
}
.zl-sp-hero-brand {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100% - 1180px) / 2));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.zl-sp-hero-logo {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.18);
}
.zl-sp-hero-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #176b43;
    font-size: var(--zl-fs-4xl,40px);
    font-weight: 800;
}
.zl-sp-hero-empty .zl-sp-hero-brand { pointer-events: none; }
.zl-sp-hero-empty-label { margin-left: 112px; }

.zl-place-home-grid {
    gap: 0;
}
.zl-place-home-intro,
.zl-place-home-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.zl-place-home-intro {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    background: transparent !important;
}
.zl-place-home-section {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
    background: transparent !important;
}
.zl-place-home-intro .zl-sp-section-title { margin-top: 0; }
.zl-place-home-intro-copy { min-width: 0; }

@media (max-width: 760px) {
    .zl-sp-hero { height: 118px; }
    .zl-sp-hero-brand { left: 18px; }
    .zl-sp-hero-logo { width: 76px; height: 76px; border-width: 3px; }
    .zl-sp-hero-empty-label { margin-left: 88px; }
    .zl-place-home-intro { padding-top: 22px !important; padding-bottom: 22px !important; }
    .zl-place-home-section { padding-top: 20px !important; padding-bottom: 20px !important; }
}

/* Website-style functional views: retain the mature feature engines without exposing the legacy Place tab chrome. */
.zl-functional-shell-heading {
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 24px 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.zl-functional-shell-heading h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.zl-functional-shell-heading .zl-btn { white-space: nowrap; }

/* 1.25.12 — Functional views use the homepage visual language. */
.zl-place-functional-view {
    background:#fff;
    color:#173b2b;
}
.zl-functional-shell-heading {
    max-width:1400px;
    padding:48px clamp(16px,5vw,76px) 22px;
}
.zl-functional-shell-heading .zl-kicker { color:#087443; font-size:var(--zl-fs-xs,12px); }
.zl-functional-shell-heading h2 {
    color:#123b2b;
    font-size:clamp(32px,4vw,48px);
    letter-spacing:-.035em;
}
.zl-place-functional-view .zl-sp-body { padding-bottom:56px; }
.zl-place-functional-panel .zl-sp-section {
    padding:clamp(24px,3vw,38px);
    margin:0 0 22px;
    border:1px solid #e9eee9;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(20,50,30,.045);
}
.zl-place-functional-panel .zl-sp-section-title {
    color:#173b2b;
    font-size:clamp(25px,3vw,36px);
    letter-spacing:-.025em;
}
.zl-place-functional-panel p,
.zl-place-functional-panel li,
.zl-place-functional-panel .zl-sp-description-body,
.zl-place-functional-panel .zl-sp-about-meta { font-size:var(--zl-fs-base,16px); line-height:1.7; }

/* Store: same green, spacious card language as the homepage. */
.zl-sp-storefront-heading { margin-bottom:26px; }
.zl-sp-storefront-subtitle { font-size:var(--zl-fs-base,16px); color:#5d6e79; }
.zl-sp-storefront-add-btn,
.zl-storefront-apply { background:#087443; border-color:#087443; }
.zl-sp-storefront-add-btn:hover,
.zl-storefront-apply:hover { background:#065d36; }
.zl-storefront-row-heading h3 { font-size:var(--zl-fs-xl,24px); color:#173b2b; letter-spacing:-.02em; }
.zl-storefront-row-heading p { font-size:var(--zl-fs-sm,14px); color:#5d6e79; }
.zl-sp-storefront-layout { gap:30px; }
.zl-storefront-filter-heading { font-size:var(--zl-fs-xs,12px); color:#5d6e79; }
.zl-sp-storefront-sidebar-item { font-size:var(--zl-fs-base,16px); padding:11px 13px; }
.zl-sp-storefront-sidebar-item:hover { background:#f1f8f3; color:#173b2b; }
.zl-sp-storefront-sidebar-item.is-active { background:#e8f4eb; color:#087443; }
.zl-sp-storefront-sidebar-item.is-active .zl-sp-storefront-sidebar-count { color:#087443; }
.zl-sp-storefront-select,
.zl-sp-storefront-price-input,
.zl-storefront-search input { font-size:var(--zl-fs-base,16px); }
.zl-storefront-search { border-color:#dce9df; }
.zl-storefront-search:focus-within { border-color:#087443; box-shadow:0 0 0 2px rgba(8,116,67,.08); }
.zl-storefront-active-filters a { font-size:var(--zl-fs-sm,14px); }
.zl-storefront-active-filters .zl-storefront-clear-all { color:#087443; }
.zl-storefront-resultbar { font-size:var(--zl-fs-sm,14px); }
.zl-storefront-resultbar strong { color:#173b2b; font-size:var(--zl-fs-base,16px); }
.zl-storefront-grid,
.zl-storefront-featured-grid { gap:18px; }
.zl-cat-card { border-color:#e1ebe4; border-radius:12px; box-shadow:0 3px 10px rgba(16,52,37,.05); }
.zl-cat-card:hover { border-color:#c8ddce; box-shadow:0 10px 26px rgba(16,52,37,.09); }
.zl-cat-card-body { padding:14px 15px 16px; }
.zl-cat-card-condition { font-size:var(--zl-fs-xs,12px); color:#5d6e79; }
.zl-cat-card-title { font-size:var(--zl-fs-base,16px); color:#173548; }
.zl-cat-card-price { font-size:var(--zl-fs-md,18px); color:#173b2b; }
.zl-cat-card-rating { font-size:var(--zl-fs-sm,14px); }
.zl-cat-card-availability { font-size:var(--zl-fs-sm,14px); }
.zl-storefront-page { font-size:var(--zl-fs-sm,14px); border-color:#dce9df; }
.zl-storefront-page:hover { border-color:#087443; color:#087443; }
.zl-storefront-page.is-current { border-color:#087443; background:#087443; }

/* 1.25.7 — Website-style Place navigation owns the view state. The mature
   feature panels remain intact, but the legacy tab chrome is no longer part
   of the public Place experience. */
.zl-place-main { position: relative; }
.zl-place-functional-view[hidden] { display: none !important; }
.zl-place-functional-panel { display: none; }
.zl-place-functional-panel.is-active { display: block; }
.zl-functional-shell-heading {
    position: relative;
    z-index: 1;
}
.zl-place-functional-view .zl-sp-body { padding-top: 0; }
@media (max-width: 700px) {
    .zl-functional-shell-heading { align-items: flex-start; flex-direction: column; }
}


/* 1.25.7 — Updates are presented as a visual card grid. */
.zl-updates-feed {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.zl-update-card {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:0;
    overflow:hidden;
    border:1px solid #e8f1fb;
    border-left:1px solid #e8f1fb;
    border-radius:12px;
    background:#fff;
}
.zl-update-card:hover,.zl-update-card:focus-visible {
    border-color:#cddff2;
    border-left-color:#cddff2;
    box-shadow:0 8px 22px rgba(26,122,228,.08);
}
.zl-update-thumb {
    width:100%;
    height:190px;
    flex:none;
    border-radius:0;
    object-fit:cover;
}
.zl-update-thumb-icon {
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eaf2fe;
}
.zl-update-content { flex:1; padding:16px; min-width:0; }
.zl-update-headline { margin:0 0 7px; font-size:var(--zl-fs-md,18px); white-space:normal; overflow:visible; text-overflow:clip; }
.zl-update-excerpt { margin:0 0 9px; font-size:var(--zl-fs-sm,14px); line-height:1.55; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.zl-update-time { font-size:var(--zl-fs-xs,12px); }
.zl-update-actions { top:10px; right:10px; }
@media(max-width:900px){.zl-updates-feed{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.zl-updates-feed{grid-template-columns:1fr;}.zl-update-thumb{height:200px;}}


/* 1.25.19 — unified website pages, Store lead/search and shared visual language. */
.zl-functional-backbar{
    width:min(100% - 120px,1400px);
    margin:0 auto;
    padding:18px 0 4px;
}
.zl-functional-backlink{
    appearance:none;
    border:0;
    background:transparent;
    padding:0;
    color:#52636c;
    font:600 var(--zl-fs-sm,14px)/1.4 inherit;
    cursor:pointer;
}
.zl-functional-backlink:hover{color:#087443}
.zl-place-functional-panel .zl-sp-section{
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:clamp(20px,2.5vw,34px) 0;
    margin:0;
    border-bottom:1px solid #e8eee9;
}
.zl-place-functional-panel .zl-sp-section:last-child{border-bottom:0}
.zl-place-functional-view .zl-sp-body{
    width:min(100% - 120px,1400px);
    margin:0 auto;
    padding:0 0 56px;
}
.zl-place-functional-panel .zl-sp-section-title{font-size:clamp(24px,2.8vw,34px)}

/* Store is a normal page, not a boxed panel. */
.zl-sp-storefront-section{width:100%}
.zl-sp-storefront-heading{margin-bottom:22px}
.zl-sp-storefront-subtitle{display:none}
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:0 14px;
    margin:0 0 16px;
    border:0;
    border-bottom:2px solid #173b2b;
    background:transparent;
    color:#173b2b;
    font:750 var(--zl-fs-sm,14px)/1 inherit;
    cursor:pointer;
}
.zl-storefront-category-icon{display:inline-flex;flex-direction:column;gap:4px;width:20px}
.zl-storefront-category-icon span{display:block;width:18px;height:2px;background:#173b2b}
.zl-sp-storefront-layout{
    display:grid;
    grid-template-columns:0 minmax(0,1fr);
    gap:0;
    transition:grid-template-columns .28s ease, gap .28s ease;
    align-items:start;
}
.zl-sp-storefront-sidebar{
    min-width:0;
    width:210px;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
    transform:translateX(-12px);
    transition:opacity .2s ease,transform .28s ease;
    position:sticky;
    top:16px;
}
    grid-template-columns:210px minmax(0,1fr);
    gap:30px;
}
    opacity:1;
    pointer-events:auto;
    transform:translateX(0);
}
.zl-sp-storefront-sidebar-item{border-radius:0;padding:10px 8px;border-bottom:1px solid #edf1ee}
.zl-sp-storefront-sidebar-item:hover{background:#f1f8f3}
.zl-sp-storefront-sidebar-item.is-active{background:#e8f4eb;border-left:3px solid #087443;padding-left:5px}
.zl-storefront-resultbar{display:none!important}
.zl-cat-card{border-radius:0;border:1px solid #e1ebe4;box-shadow:none}
.zl-cat-card:hover{box-shadow:0 7px 20px rgba(16,52,37,.08);transform:none}
.zl-storefront-page{border-radius:0}

@media(max-width:760px){
    .zl-functional-backbar,.zl-place-functional-view .zl-sp-body{width:min(100% - 32px,1400px)}
    .zl-sp-storefront-sidebar{width:180px}
}
@media(max-width:520px){
    .zl-sp-storefront-sidebar{transform:translateY(-8px)}
}


/* 1.25.19 — Store and functional views use the same page language as the homepage. */
.zl-place-functional-view .zl-sp-body{
    width:min(100% - 40px,1400px);
    margin:0 auto;
    padding:0 0 56px;
}
.zl-place-functional-panel .zl-sp-section{
    padding:0 0 38px;
    margin:0 0 38px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    border-bottom:1px solid #e0e8e3;
}
.zl-place-functional-panel .zl-sp-section:last-child{border-bottom:0;margin-bottom:0;}
.zl-functional-backbar{width:min(100% - 40px,1400px);margin:0 auto;padding:24px 0 8px;}
.zl-storefront-lead{display:grid;grid-template-columns:280px minmax(0,1fr);gap:42px;align-items:start;margin:0 0 38px;}
.zl-storefront-lead .zl-section-intro{padding-right:4px;}
.zl-storefront-lead .zl-section-intro h2{font-size:var(--zl-fs-2xl,28px);line-height:1.08;letter-spacing:-.035em;color:var(--ink);margin:0 0 10px;}
.zl-storefront-lead .zl-section-intro p{font-size:var(--zl-fs-sm,14px);line-height:1.65;color:#506572;margin:0 0 20px;}
.zl-storefront-lead-content{min-width:0;}
.zl-sp-storefront-heading{display:none;}
.zl-storefront-search{border:1px solid #dce9df;border-radius:9px;box-shadow:none;}
.zl-storefront-apply{min-height:47px;border:1px solid transparent;border-radius:9px;padding:0 19px;font-size:var(--zl-fs-sm,14px);font-weight:800;box-shadow:0 8px 16px rgba(3,76,44,.14);}
.zl-storefront-apply:hover{background:#06663b;}
.zl-sp-storefront-select,.zl-sp-storefront-price-input{border-color:#dce9df;border-radius:9px;}
.zl-sp-storefront-layout{gap:30px;}
.zl-storefront-featured-grid,.zl-storefront-grid{gap:17px;}
.zl-storefront-featured-grid .zl-cat-card,.zl-storefront-grid .zl-cat-card{height:100%;border:1px solid #e1e8e4;border-radius:7px;overflow:hidden;background:#fff;box-shadow:0 3px 10px rgba(16,52,37,.07);}
.zl-storefront-featured-grid .zl-cat-card-thumb,.zl-storefront-grid .zl-cat-card-thumb{height:135px;overflow:hidden;background:#f0f5f2;}
.zl-storefront-featured-grid .zl-cat-card-img,.zl-storefront-grid .zl-cat-card-img{width:100%;height:100%;object-fit:cover;}
.zl-storefront-featured-grid .zl-cat-card-body,.zl-storefront-grid .zl-cat-card-body{padding:12px 13px 13px;display:flex;flex-direction:column;flex:1;}
.zl-storefront-featured-grid .zl-cat-card-title,.zl-storefront-grid .zl-cat-card-title{font-size:var(--zl-fs-sm,14px);color:#193246;margin:4px 0 7px;line-height:1.25;}
.zl-storefront-featured-grid .zl-cat-card-price,.zl-storefront-grid .zl-cat-card-price{font-size:var(--zl-fs-xs,12px);font-weight:800;color:#17384a;}
.zl-storefront-featured-grid .zl-cat-card-availability,.zl-storefront-grid .zl-cat-card-availability{margin-top:10px;background:var(--green);color:#fff;border-radius:5px;padding:8px;text-align:center;font-weight:800;font-size:var(--zl-fs-xs,12px);}
.zl-home-share{text-align:center;padding:34px 20px 42px;border-top:1px solid #e0e8e3;}
.zl-home-share p{margin:12px 0 0;color:#506572;font-size:var(--zl-fs-sm,14px);}
@media(max-width:820px){.zl-storefront-lead{grid-template-columns:1fr;gap:20px}.zl-place-functional-view .zl-sp-body,.zl-functional-backbar{width:min(100% - 28px,1400px);}.zl-storefront-featured-grid,.zl-storefront-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.zl-storefront-featured-grid,.zl-storefront-grid{grid-template-columns:1fr}.zl-place-functional-view .zl-sp-body,.zl-functional-backbar{width:min(100% - 20px,1400px);}}


/* 1.25.22 — One layout language across homepage and every functional view:
   left sidebar intro (kicker, heading, blurb, optional action) + content on
   the right. The Store merchandising rows reuse the homepage markup
   (.zl-products-layout / .zl-product-grid / .zl-home-product-card) directly. */
.zl-view-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:42px;align-items:start;}
.zl-view-layout>.zl-section-intro{padding-right:4px;position:sticky;top:16px;}
.zl-view-layout>.zl-section-intro h2,
.zl-view-layout>.zl-section-intro .zl-sp-section-title{font-size:var(--zl-fs-2xl,28px);line-height:1.08;letter-spacing:-.035em;color:var(--ink);margin:0 0 10px;}
.zl-view-layout>.zl-section-intro p{font-size:var(--zl-fs-sm,14px);line-height:1.65;color:#506572;margin:0 0 20px;}
.zl-view-content{min-width:0;}
.zl-sp-updates-header.zl-section-intro{display:block;}

/* Store merchandising rows: same look as the homepage sections. */
.zl-sp-storefront-section>.zl-storefront-merchandising.zl-section{padding:0;margin:0 0 38px;background:transparent;}
.zl-storefront-merchandising .zl-products-layout{align-items:center;}
.zl-storefront-merchandising .zl-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;}
/* All-products grid uses the same 4-column card grid and card skin. */
.zl-storefront-grid.zl-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;}

@media(max-width:1100px){
    .zl-view-layout{grid-template-columns:220px minmax(0,1fr);gap:28px;}
    .zl-storefront-merchandising .zl-product-grid,.zl-storefront-grid.zl-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:820px){
    .zl-view-layout{grid-template-columns:1fr;gap:20px;}
    .zl-view-layout>.zl-section-intro{position:static;}
    .zl-storefront-merchandising .zl-products-layout{grid-template-columns:1fr;gap:20px;}
    .zl-storefront-merchandising .zl-product-grid,.zl-storefront-grid.zl-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .zl-storefront-merchandising .zl-product-grid,.zl-storefront-grid.zl-product-grid{grid-template-columns:1fr;}
}


/* Store: rows first (order 1-3), then the de-duplicated product grid. */
.zl-sp-storefront-section>.zl-store-all{order:10;}
.zl-store-all[hidden],.zl-storefront-merchandising[hidden],.zl-store-all-intro[hidden]{display:none!important;}
.zl-store-all--with-intro,
.zl-store-all--with-intro .zl-sp-storefront-main{min-width:0;}
@media(max-width:1100px){.zl-store-all--with-intro{grid-template-columns:220px minmax(0,1fr);gap:28px;}}
@media(max-width:820px){.zl-store-all--with-intro{grid-template-columns:1fr;gap:20px;}}


/* 1.25.22 — Store is the complete catalog. Keep the category menu, but collapse
   its sidebar presentation and give the catalog the full available width. */
.zl-storefront-lead{display:block;margin:0 0 30px;}
.zl-storefront-lead-content{width:100%;}
.zl-store-all{display:block!important;}
.zl-store-all .zl-sp-storefront-main{width:100%;min-width:0;}
.zl-store-all-intro{padding:0;margin:0 0 20px;}
.zl-store-all-intro h2{font-size:var(--zl-fs-2xl,28px);line-height:1.08;letter-spacing:-.035em;color:var(--ink);margin:0 0 10px;}
.zl-store-all-intro p{font-size:var(--zl-fs-sm,14px);line-height:1.65;color:#506572;margin:0;}


/* 1.25.24 — Store toolbar refinement; removed public availability/price-range controls. */
.zl-place-functional-view .zl-sp-body{width:min(100% - 56px,1400px);}
.zl-functional-backbar{width:min(100% - 56px,1400px);}
.zl-storefront-lead{display:block;margin:0 0 30px;}
.zl-storefront-lead-content{width:100%;}
.zl-sp-storefront-toolbar{display:flex;align-items:stretch;gap:8px;min-width:0;}
.zl-storefront-search{flex:1 1 280px;min-width:180px;}
.zl-sp-storefront-toolbar .zl-sp-storefront-select{flex:0 1 170px;min-width:120px;}
.zl-sp-storefront-toolbar #zl-storefront-sort{flex:0 1 165px;min-width:135px;}
.zl-sp-storefront-toolbar .zl-storefront-apply{flex:0 0 auto;}
.zl-store-all-intro{padding:0;margin:0 0 20px;}
.zl-store-all-intro h2{margin:0;font-size:var(--zl-fs-2xl,28px);line-height:1.08;letter-spacing:-.035em;color:var(--ink);}
@media(max-width:1100px){
    .zl-place-functional-view .zl-sp-body,.zl-functional-backbar{width:min(100% - 48px,1400px);}
    .zl-sp-storefront-toolbar{flex-wrap:wrap;}
    .zl-storefront-search{order:1;flex:1 1 300px;}
    .zl-sp-storefront-toolbar .zl-sp-storefront-select,.zl-sp-storefront-toolbar #zl-storefront-sort{flex:1 1 150px;}
}
@media(max-width:560px){
    .zl-place-functional-view .zl-sp-body,.zl-functional-backbar{width:min(100% - 32px,1400px);}
    .zl-sp-storefront-toolbar{gap:7px;}
    .zl-storefront-search{flex-basis:100%;}
    .zl-sp-storefront-toolbar .zl-sp-storefront-select,.zl-sp-storefront-toolbar #zl-storefront-sort{flex:1 1 100%;}
}

/* 1.25.39 — full-width Store layout, compact toolbar and stable control sizing.
   Keep the catalog full width by default; on mobile, filters open as a drawer. */
.zl-sp-storefront-section .zl-storefront-lead-content { max-width:none; }
.zl-sp-storefront-section .zl-place-store-mobile-tools { display:none; }
.zl-place-functional-view .zl-sp-body { width:calc(100% - 48px); max-width:1560px; }
.zl-sp-storefront-section .zl-storefront-lead { float:none; width:100%; margin:0 0 20px; }
.zl-sp-storefront-section .zl-sp-storefront-layout { display:block; width:100%; }
.zl-sp-storefront-section .zl-sp-storefront-main { min-width:0; width:100%; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar { display:flex; flex-direction:row; align-items:center; flex-wrap:wrap; gap:10px; width:100%; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar > *,
.zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-storefront-search { box-sizing:border-box; min-width:0; max-width:100%; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-storefront-search { flex:1 1 320px; width:auto; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-sp-storefront-select { flex:0 1 190px; width:auto; min-width:145px; height:44px !important; min-height:44px !important; max-height:44px !important; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar #zl-storefront-sort { flex:0 1 190px; width:auto; min-width:145px; height:44px !important; min-height:44px !important; max-height:44px !important; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-storefront-apply { flex:0 0 auto; min-height:44px; }
.zl-sp-storefront-section .zl-sp-storefront-toolbar input,
.zl-sp-storefront-section .zl-sp-storefront-toolbar select { height:44px; min-height:44px; max-height:44px; box-sizing:border-box; }
/* After a shopper submits a search, move filters into a compact left sidebar
   beside the matching results, similar to major marketplace storefronts. */
@media (min-width:901px) {
  .zl-sp-storefront-section.zl-storefront-search-active { display:grid; grid-template-columns:250px minmax(0,1fr); column-gap:24px; align-items:start; }
  .zl-sp-storefront-section.zl-storefront-search-active .zl-storefront-lead { grid-column:1; grid-row:1; width:100%; margin:0; }
  .zl-sp-storefront-section.zl-storefront-search-active .zl-sp-storefront-layout { grid-column:2; grid-row:1; min-width:0; }
  .zl-sp-storefront-section.zl-storefront-search-active .zl-sp-storefront-toolbar { flex-direction:column; align-items:stretch; flex-wrap:nowrap; padding:14px; border:1px solid #e5e7eb; border-radius:12px; background:#fff; }
  .zl-sp-storefront-section.zl-storefront-search-active .zl-sp-storefront-toolbar > *,
  .zl-sp-storefront-section.zl-storefront-search-active .zl-sp-storefront-toolbar .zl-storefront-search { width:100%; max-width:100%; min-width:0; flex:0 0 auto; }
}
@media (max-width:900px) {
  .zl-sp-storefront-section.zl-storefront-search-active { display:block; }
  .zl-place-functional-view .zl-sp-body { width:calc(100% - 32px); }
  .zl-sp-storefront-section .zl-place-store-mobile-tools { display:flex; align-items:center; gap:10px; position:sticky; top:0; z-index:40; padding:10px 0; margin-bottom:8px; background:#fff; }
  .zl-sp-storefront-section .zl-place-store-filter-toggle { border:1px solid #ddd; border-radius:9px; background:#fff; padding:10px 14px; font:inherit; cursor:pointer; }
  .zl-sp-storefront-section .zl-place-store-mobile-tools label { margin-left:auto; font-size:13px; color:#666; }
  .zl-sp-storefront-section .zl-place-mobile-sort { max-width:55%; min-width:0; height:40px; min-height:40px; max-height:40px; border:1px solid #ddd; border-radius:8px; padding:0 8px; background:#fff; }
  .zl-sp-storefront-section .zl-sp-storefront-toolbar { display:none; position:fixed; z-index:1002; inset:auto 0 0; max-height:82vh; overflow-y:auto; border-radius:18px 18px 0 0; box-shadow:0 -12px 40px rgba(0,0,0,.18); margin:0; padding:20px 16px calc(20px + env(safe-area-inset-bottom)); background:#fff; }
  .zl-sp-storefront-section .zl-sp-storefront-toolbar.zl-store-filter-drawer-open { display:flex; flex-direction:column; align-items:stretch; }
  .zl-sp-storefront-section .zl-sp-storefront-toolbar > *, .zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-storefront-search { width:100%; max-width:100%; box-sizing:border-box; flex:0 0 auto; }
  .zl-sp-storefront-section .zl-sp-storefront-toolbar .zl-sp-storefront-select,
  .zl-sp-storefront-section .zl-sp-storefront-toolbar #zl-storefront-sort { width:100%; min-width:0; height:44px !important; min-height:44px !important; max-height:44px !important; }
  .zl-place-store-backdrop { position:fixed; inset:0; background:rgba(15,23,42,.45); z-index:1001; }
}


/* Shared Marketplace / Place Store product-grid presentation contract.
   Place keeps its seller-specific card renderer and metadata, while matching
   the Marketplace grid density, responsive breakpoints and surface styling. */
.zl-storefront-grid,
.zl-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}
.zl-cat-card {
    border-radius: 14px;
    border-color: #eef0f3;
    box-shadow: 0 1px 8px rgba(0,0,0,.045);
}
.zl-cat-card:hover {
    border-color: #e1e5eb;
    box-shadow: 0 8px 22px rgba(0,0,0,.075);
    transform: translateY(-3px);
}
@media (max-width: 900px) {
    .zl-storefront-grid,
    .zl-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
}
