/* Copyright (c) Zhmara X LLC. All rights reserved.
   Proprietary and confidential. Unauthorized copying of this file, via any medium, is prohibited. See LICENSE.txt. */

/* Public shop pages (/shops...). Direction-neutral: logical properties only, so the same file works for LTR and RTL. */
.zx-shop {
    --zx-accent: #1f8fd1;
    --zx-accent-dark: #146a9d;
    --zx-ink: #1d2433;
    --zx-muted: #6b7385;
    --zx-line: #e6e9f0;
    --zx-bg: #f4f6fb;
    --zx-card: #ffffff;
    --zx-radius: 14px;
    --zx-shadow: 0 6px 24px rgba(29, 36, 51, 0.08);
    background: var(--zx-bg);
    color: var(--zx-ink);
    min-height: 100vh;
    padding-block: 24px 48px;
}

.zx-shop .zx-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
:where(.zx-shop) .zx-card { background: var(--zx-card); border-radius: var(--zx-radius); box-shadow: var(--zx-shadow); }
.zx-muted { color: var(--zx-muted); }

/* ---- Shops directory hero ---- */
.zx-hero { text-align: center; padding: 32px 16px 24px; }
.zx-hero img.zx-brand { max-height: 64px; margin-block-end: 16px; }
.zx-hero h1 { font-size: 1.9rem; font-weight: 700; margin: 0 0 8px; }
.zx-hero p { color: var(--zx-muted); margin: 0 0 20px; }
.zx-search { position: relative; max-width: 460px; margin-inline: auto; }
.zx-search input { width: 100%; border: 1px solid var(--zx-line); border-radius: 999px; padding: 12px 20px; padding-inline-start: 44px; font-size: 1rem; background: #fff; }
.zx-search input:focus { outline: none; border-color: var(--zx-accent); box-shadow: 0 0 0 3px rgba(31, 143, 209, 0.15); }
.zx-search i { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--zx-muted); }

/* ---- Grids ---- */
:where(.zx-shop) .zx-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

.zx-shop-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.zx-shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(29, 36, 51, 0.14); color: inherit; }
.zx-shop-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--zx-line); margin-block-end: 14px; background: #fff; }
.zx-shop-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; word-break: break-word; }
.zx-shop-card span { font-size: .85rem; color: var(--zx-muted); }

.zx-product-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.zx-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(29, 36, 51, 0.14); color: inherit; }
.zx-product-card .zx-thumb { aspect-ratio: 1 / 1; background: #f0f2f7; display: flex; align-items: center; justify-content: center; }
.zx-product-card .zx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.zx-product-card .zx-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.zx-product-card h3 { font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.35; }
:where(.zx-shop) .zx-price { font-weight: 700; color: var(--zx-accent-dark); }
.zx-product-card .zx-buy { margin-top: auto; }

/* ---- Shop header (shop, product and thank-you pages) ---- */
.zx-shop-header { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin-block-end: 20px; flex-wrap: wrap; }
.zx-shop-header img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zx-line); background: #fff; }
.zx-shop-header .zx-title { flex: 1; min-width: 200px; }
.zx-shop-header h1 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.zx-shop-header h1 a { color: inherit; text-decoration: none; }
.zx-shop-header .zx-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .88rem; color: var(--zx-muted); margin-top: 4px; }
.zx-shop-header .zx-contact a { color: inherit; text-decoration: none; }
.zx-shop-header .zx-contact i { margin-inline-end: 4px; }

/* ---- Category pills ---- */
.zx-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-block-end: 18px; }
.zx-pills { display: flex; gap: 8px; overflow-x: auto; padding-block-end: 4px; }
.zx-pill { border: 1px solid var(--zx-line); background: #fff; color: var(--zx-ink); border-radius: 999px; padding: 7px 16px; white-space: nowrap; font-size: .9rem; cursor: pointer; }
.zx-pill.active { background: var(--zx-accent); border-color: var(--zx-accent); color: #fff; }
.zx-toolbar .zx-search { margin-inline: 0; max-width: 280px; flex: 1; min-width: 200px; }
.zx-toolbar .zx-search input { padding-block: 8px; }

/* ---- Product page ---- */
.zx-product { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .zx-product { grid-template-columns: 1fr; } }
.zx-gallery { padding: 16px; }
.zx-gallery .zx-main { aspect-ratio: 1 / 1; border-radius: 10px; background: #f0f2f7; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.zx-gallery .zx-main img { width: 100%; height: 100%; object-fit: contain; }
.zx-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.zx-thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; background: #f0f2f7; width: 68px; height: 68px; flex: 0 0 auto; overflow: hidden; cursor: pointer; }
.zx-thumbs button.active { border-color: var(--zx-accent); }
.zx-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.zx-info { padding: 22px; }
.zx-info h2 { font-size: 1.55rem; font-weight: 700; margin: 0 0 8px; }
.zx-info .zx-big-price { font-size: 1.6rem; font-weight: 800; color: var(--zx-accent-dark); margin-block-end: 6px; }
.zx-info .zx-code { font-size: .85rem; color: var(--zx-muted); margin-block-end: 14px; }
:where(.zx-shop) .zx-desc { border-top: 1px solid var(--zx-line); padding-top: 14px; margin-top: 14px; line-height: 1.65; overflow-wrap: anywhere; }
:where(.zx-shop) .zx-desc img { max-width: 100%; height: auto; }

.zx-share { display: flex; flex-wrap: wrap; gap: 8px; }
.zx-share .btn { border-radius: 999px; font-size: .88rem; padding: 6px 14px; }
.zx-btn-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.zx-btn-fb:hover { background: #0f63d4; border-color: #0f63d4; color: #fff; }

.zx-order { padding: 22px; margin-top: 24px; }
.zx-order h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; }
.zx-order .form-label { font-weight: 600; font-size: .9rem; }
.zx-qty { display: inline-flex; align-items: center; border: 1px solid var(--zx-line); border-radius: 10px; overflow: hidden; }
.zx-qty button { border: 0; background: #f4f6fb; width: 40px; height: 40px; font-size: 1.1rem; }
.zx-qty span { min-width: 48px; text-align: center; font-weight: 700; }

:where(.zx-shop) .zx-summary { background: #f7f9fc; border: 1px solid var(--zx-line); border-radius: 12px; padding: 14px 16px; }
:where(.zx-shop) .zx-summary .zx-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; font-size: .95rem; }
:where(.zx-shop) .zx-summary .zx-total { border-top: 1px dashed var(--zx-line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 1.1rem; }

/* ---- Payment choice ---- */
.zx-pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-block-end: 16px; }
.zx-pay-option { border: 2px solid var(--zx-line); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; background: #fff; }
.zx-pay-option i { font-size: 1.5rem; display: block; margin-block-end: 6px; color: var(--zx-muted); }
.zx-pay-option.active { border-color: var(--zx-accent); background: rgba(31, 143, 209, 0.06); }
.zx-pay-option.active i { color: var(--zx-accent); }
.zx-qr { max-width: 220px; margin: 8px auto; display: block; }
.zx-pay-code { font-size: 1.3rem; font-weight: 800; letter-spacing: 2px; text-align: center; }

/* ---- Thank you / empty states ---- */
.zx-center-card { max-width: 560px; margin: 24px auto; padding: 36px 28px; text-align: center; }
.zx-center-card .zx-icon { width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; margin-block-end: 16px; }
.zx-icon.ok { background: #e3f6ea; color: #1a7f37; }
.zx-icon.warn { background: #fff1e0; color: #b35900; }
.zx-ref { display: inline-block; font-family: monospace; font-size: 1.25rem; font-weight: 700; background: #f4f6fb; border: 1px dashed var(--zx-line); border-radius: 10px; padding: 8px 16px; margin: 8px 0 16px; }
.zx-empty { text-align: center; padding: 48px 16px; color: var(--zx-muted); }
.zx-empty i { font-size: 2.4rem; display: block; margin-block-end: 10px; }

/* ---- Shops directory: city chips and city groups ---- */
.zx-city-pills { justify-content: center; flex-wrap: wrap; margin-block-end: 22px; }
@media (max-width: 600px) { .zx-city-pills { flex-wrap: nowrap; justify-content: flex-start; } }
.zx-count { display: inline-block; min-width: 22px; padding: 0 7px; margin-inline-start: 6px; border-radius: 999px; background: var(--zx-bg); color: var(--zx-muted); font-size: .78rem; font-weight: 700; line-height: 20px; text-align: center; }
.zx-pill.active .zx-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.zx-city + .zx-city { margin-block-start: 32px; }
.zx-city-title { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 700; margin: 0 0 14px; padding-block-end: 8px; border-block-end: 1px solid var(--zx-line); }
.zx-city-title i { color: var(--zx-accent); }
.zx-city-title .zx-count { margin-inline-start: 0; background: var(--zx-card); }

/* ---- App shell (Layout/Public/ShopAppLayout): Shops / Reels / Me tabs.
   Computer: a bar along the top with the logo. Phone: a fixed bar at the bottom where the thumb reaches. ---- */
.zx-app { --zx-tab-h: 64px; min-height: 100vh; background: #f4f6fb; }
.zx-tabbar { position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: 6px; height: var(--zx-tab-h); padding-inline: 16px; background: #fff; border-block-end: 1px solid #e6e9f0; box-shadow: 0 2px 12px rgba(29, 36, 51, 0.06); }
.zx-tabbar-brand { margin-inline-end: auto; display: flex; align-items: center; }
.zx-tabbar-brand img { max-height: 38px; }
.zx-tab { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; color: #1d2433; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.zx-tab i { font-size: 1.25rem; }
.zx-tab:hover { background: #f4f6fb; color: #1d2433; }
.zx-tab.active { background: #1f8fd1; color: #fff; }
.zx-app-body .zx-shop { padding-block-start: 16px; }

@media (max-width: 767.98px) {
    .zx-tabbar { position: fixed; top: auto; bottom: 0; inset-inline: 0; justify-content: space-around; gap: 0; padding-inline: 4px; padding-block-end: env(safe-area-inset-bottom); height: calc(var(--zx-tab-h) + env(safe-area-inset-bottom)); border-block-end: 0; border-block-start: 1px solid #e6e9f0; box-shadow: 0 -2px 12px rgba(29, 36, 51, 0.08); }
    .zx-tabbar-brand { display: none; }
    .zx-tab { flex: 1; flex-direction: column; gap: 2px; padding: 6px 4px; border-radius: 12px; font-size: .78rem; position: relative; }
    .zx-tab i { font-size: 1.5rem; }
    .zx-tab.active { background: none; color: #1f8fd1; }
    .zx-app-body { padding-block-end: calc(var(--zx-tab-h) + env(safe-area-inset-bottom)); }

    /* Two pictures per row on phones, like Instagram's grid. */
    :where(.zx-shop) .zx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .zx-shop .zx-wrap { padding-inline: 10px; }
    .zx-hero { padding: 16px 8px 16px; }
    .zx-hero h1 { font-size: 1.4rem; }
    .zx-shop-card { padding: 16px 8px; }
    .zx-shop-card img { width: 72px; height: 72px; }
    .zx-shop-card h3 { font-size: .95rem; }
    .zx-product-card .zx-body { padding: 10px; }
    .zx-product-card h3 { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .zx-product-card .zx-buy { font-size: .85rem; padding: 8px 6px; }
    .zx-toolbar .zx-search { max-width: none; }
    .zx-shop-header { padding: 14px; gap: 12px; }
    .zx-shop-header > .btn { display: none; }
}

/* ---- Reels tab (Pages/Public/Shops/Reels, js/reels.js): one product per screen.
   Up/down = next product, sideways = more pictures of the same product; both are CSS scroll snap. ---- */
.zx-reels { height: calc(100vh - var(--zx-tab-h)); height: calc(100dvh - var(--zx-tab-h)); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; background: #000; scrollbar-width: none; outline: none; }
.zx-reels::-webkit-scrollbar, .zx-reel-photos::-webkit-scrollbar { display: none; }
.zx-reel { position: relative; height: 100%; max-width: 520px; margin-inline: auto; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; background: #000; color: #fff; }
.zx-reel-photos { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.zx-reel-photos img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; scroll-snap-stop: always; user-select: none; -webkit-user-drag: none; }

.zx-reel-dots { position: absolute; top: 14px; inset-inline: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.zx-reel-dots span { width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: width .2s ease, background .2s ease; }
.zx-reel-dots span.active { width: 18px; background: #fff; }

.zx-reel-info { position: absolute; inset-inline: 0; bottom: 0; padding: 70px 16px 18px; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8)); pointer-events: none; }
.zx-reel-info a { pointer-events: auto; }
.zx-reel-shop { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.zx-reel-shop:hover { color: #fff; }
.zx-reel-shop img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: #fff; }
.zx-reel-info h2 { font-size: 1.15rem; font-weight: 600; margin: 8px 0 12px; padding-inline-end: 64px; color: #fff; line-height: 1.35; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zx-reel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zx-reel-price { font-size: 1.35rem; font-weight: 800; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.zx-reel-order { display: inline-flex; align-items: center; gap: 8px; background: #1f8fd1; color: #fff; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.zx-reel-order:hover { background: #146a9d; color: #fff; }

.zx-reel-side { position: absolute; inset-inline-end: 10px; bottom: 150px; display: flex; flex-direction: column; gap: 16px; }
.zx-reel-action { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; padding: 8px 0; border: 0; border-radius: 16px; background: rgba(0, 0, 0, 0.35); color: #fff; font-size: .75rem; font-weight: 600; }
a.zx-reel-action, a.zx-reel-action:hover { color: #fff; text-decoration: none; }
.zx-reel-action i { font-size: 1.6rem; }

.zx-reel-hint { position: absolute; top: 38%; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; animation: zx-reel-hint 1.4s ease-in-out infinite alternate; }
.zx-reel-hint span { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.6); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.zx-reels-moved .zx-reel-hint { display: none; }
@keyframes zx-reel-hint { from { transform: translateY(6px); } to { transform: translateY(-6px); } }

.zx-reel-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.zx-reel-empty i { font-size: 3rem; }
.zx-reel-toast { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); z-index: 1100; background: rgba(0, 0, 0, 0.85); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; }

@media (max-width: 767.98px) {
    .zx-reels { height: calc(100vh - var(--zx-tab-h) - env(safe-area-inset-bottom)); height: calc(100dvh - var(--zx-tab-h) - env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .zx-reel-hint { animation: none; } }

/* ---- ❤ Interested (Pages/Public/Shops/InterestButton): Reels side bar, product page, shop grid count ---- */
.zx-share .zx-interest { border: 1px solid #f3c1c8; color: #d6264a; background: #fff; }
.zx-share .zx-interest:hover { background: #fff0f2; color: #d6264a; }
.zx-share .zx-interest.zx-interest-on { background: #e8304f; border-color: #e8304f; color: #fff; }
.zx-share .zx-interest i { margin-inline-end: 4px; }
.zx-reel-action.zx-interest-on i { color: #ff3b5c; }
.zx-reel-action:disabled, .zx-interest:disabled { opacity: .7; }
.zx-share .zx-favorite { border: 1px solid #f0d28a; color: #b37a00; background: #fff; }
.zx-share .zx-favorite:hover { background: #fff8e6; color: #b37a00; }
.zx-share .zx-favorite.zx-favorite-on { background: #f5a623; border-color: #f5a623; color: #fff; }
.zx-share .zx-favorite i { margin-inline-end: 4px; }
.zx-reel-action.zx-favorite-on i { color: #ffc93c; }
.zx-favorite:disabled { opacity: .7; }
.zx-share .zx-whatsapp { border: 1px solid #25d366; color: #fff; background: #25d366; }
.zx-share .zx-whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }
.zx-share .zx-whatsapp i { margin-inline-end: 4px; }
.zx-whatsapp-reel i { color: #25d366; }
.zx-whatsapp-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.3rem; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.zx-whatsapp-icon:hover { background: #1ebe5a; color: #fff; }
.zx-tile-wrap { position: relative; display: flex; }
.zx-tile-wrap > .zx-product-card { flex: 1; }
.zx-tile-wrap > .zx-whatsapp-icon { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; }
.zx-fav-actions { display: flex; align-items: center; gap: 8px; margin: 0 12px 12px; }
.zx-fav-actions .zx-fav-remove { margin: 0; flex: 1; }
.zx-product-card.zx-fav-off .zx-thumb img { opacity: .45; }
.zx-product-card > a { color: inherit; text-decoration: none; }
.zx-fav-shop { color: var(--zx-muted); font-size: .85rem; margin-block-end: 4px; }
.zx-fav-remove { margin: 0 12px 12px; border: 1px solid #f0d28a; color: #b37a00; background: #fff; border-radius: 999px; }
.zx-fav-remove:hover { background: #fff8e6; color: #b37a00; }
.zx-reel-burst { position: absolute; top: 50%; left: 50%; font-size: 6rem; color: #fff; pointer-events: none; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); animation: zx-reel-burst .8s ease-out forwards; }
@keyframes zx-reel-burst { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 25% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 70% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -60%) scale(1); opacity: 0; } }
.zx-reel-photos { touch-action: pan-x pan-y; }
.zx-product-card .zx-thumb { position: relative; }
.zx-heart-badge { position: absolute; top: 8px; inset-inline-end: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(255, 255, 255, 0.92); color: #d6264a; border-radius: 999px; padding: 2px 9px; font-size: .78rem; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }

/* ---- Me tab, owner area (Pages/Private/Companies/Me): big buttons, picture tiles, a step-by-step product form.
   Made for people new to apps: large touch targets, an icon and words on every button. ---- */
.zx-me .zx-wrap { max-width: 860px; }
.zx-me-hello { display: flex; align-items: center; gap: 14px; margin-block: 8px 20px; }
.zx-me-hello img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--zx-shadow); background: #fff; }
.zx-me-hello h1 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.zx-me-hello span { color: var(--zx-muted); font-size: .9rem; word-break: break-all; }

.zx-me-big { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.zx-me-btn { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: start; padding: 18px; min-height: 92px; border: 0; border-radius: var(--zx-radius); background: var(--zx-card); box-shadow: var(--zx-shadow); color: var(--zx-ink); text-decoration: none; width: 100%; }
.zx-me-btn:hover { color: var(--zx-ink); transform: translateY(-2px); }
.zx-me-btn i { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: rgba(31, 143, 209, 0.12); color: var(--zx-accent); }
.zx-me-btn span { font-size: 1.2rem; font-weight: 700; }
.zx-me-btn small { color: var(--zx-muted); font-size: .88rem; }
.zx-me-btn.zx-me-add { background: var(--zx-accent); color: #fff; }
.zx-me-btn.zx-me-add i { background: rgba(255, 255, 255, 0.2); color: #fff; }
.zx-me-btn.zx-me-add small { color: rgba(255, 255, 255, 0.85); }
.zx-me-btn.zx-me-danger i { background: #fdecef; color: #d6264a; }
.zx-me-btn:disabled { opacity: .6; }
.zx-signin-note { text-align: center; color: var(--zx-muted); margin-block: 20px 0; font-size: .92rem; }
.zx-topic-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.zx-topic-tiles button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 16px 10px; border: 2px solid transparent; color: var(--zx-ink); font-weight: 700; text-align: center; }
.zx-topic-tiles button > i:not(.zx-topic-check) { font-size: 2rem; color: var(--zx-accent); }
.zx-topic-tiles button.active { border-color: var(--zx-accent); background: rgba(31, 143, 209, 0.08); }
.zx-topic-check { position: absolute; top: 8px; inset-inline-end: 8px; color: var(--zx-accent); font-size: 1.2rem; }
.zx-topic-buttons { margin-block-start: 20px; }
.zx-topic-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.zx-topic-icons button { width: 48px; height: 48px; border-radius: 12px; border: 2px solid #e6e9f0; background: #fff; color: var(--zx-ink); font-size: 1.2rem; }
.zx-topic-icons button.active { border-color: var(--zx-accent); color: var(--zx-accent); background: rgba(31, 143, 209, 0.08); }


.zx-me-title { display: flex; align-items: center; gap: 12px; margin-block: 4px 18px; }
.zx-me-title h1 { font-size: 1.4rem; font-weight: 700; margin: 0; flex: 1; }
.zx-me-back { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; box-shadow: var(--zx-shadow); color: var(--zx-ink); font-size: 1.1rem; }
[dir="rtl"] .zx-me-back i { transform: scaleX(-1); }
.zx-me-title-add { border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.zx-me-search { max-width: none; margin-block-end: 16px; }

.zx-me-tile.zx-me-off img { opacity: .45; }
.zx-me-hidden { position: absolute; bottom: 8px; inset-inline-start: 8px; background: rgba(29, 36, 51, 0.8); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 600; }
.zx-me-stock { font-size: .85rem; color: #1a7f37; font-weight: 600; }
.zx-me-stock.zx-me-out { color: #d6264a; }

.zx-me-form { padding-block-end: 90px; }
.zx-me-step { padding: 18px; margin-block-end: 14px; }
.zx-me-step h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; }
.zx-me-num { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--zx-accent); color: #fff; font-size: .95rem; }
.zx-me-label { display: block; font-weight: 600; margin: 10px 0 6px; }
.zx-me-photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin-block-end: 12px; }
.zx-me-photos:empty { display: none; }
.zx-me-photo { position: relative; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #f0f2f7; display: flex; align-items: center; justify-content: center; }
.zx-me-photo img { width: 100%; height: 100%; object-fit: cover; }
.zx-me-photo.zx-me-main { outline: 3px solid var(--zx-accent); }
.zx-me-photo-tag { position: absolute; bottom: 6px; inset-inline-start: 6px; background: var(--zx-accent); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: .72rem; font-weight: 700; }
.zx-me-photo-x { position: absolute; top: 6px; inset-inline-end: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; }
.zx-me-photo-busy i { font-size: 1.6rem; color: var(--zx-muted); }
.zx-me-photo-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zx-me-pick { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px; border: 2px dashed var(--zx-accent); border-radius: 14px; color: var(--zx-accent-dark); font-weight: 700; cursor: pointer; text-align: center; margin: 0; }
.zx-me-pick.zx-me-camera { background: var(--zx-accent); border-style: solid; color: #fff; }
.zx-me-pick input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.zx-me-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 12px; }
.zx-me-chips .zx-pill { padding: 10px 18px; font-size: 1rem; }
.zx-me-qty button { width: 56px; height: 56px; font-size: 1.2rem; }
.zx-me-qty input { width: 90px; height: 56px; border: 0; text-align: center; font-size: 1.3rem; font-weight: 700; }
.zx-me-switch { display: flex; align-items: center; gap: 10px; margin-block-start: 16px; font-weight: 600; }
.zx-me-switch input { width: 24px; height: 24px; }
.zx-me-save { position: sticky; bottom: 12px; z-index: 5; }
.zx-me-save .btn { width: 100%; border-radius: 999px; padding-block: 14px; font-size: 1.2rem; font-weight: 700; box-shadow: 0 8px 24px rgba(31, 143, 209, 0.35); }
@media (max-width: 767.98px) { .zx-me-save { bottom: calc(var(--zx-tab-h) + env(safe-area-inset-bottom) + 10px); } }

.zx-me-shopcard { display: flex; align-items: center; gap: 14px; padding: 18px; margin-block-end: 16px; }
.zx-me-shopcard img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zx-line); }
.zx-me-shopcard h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 4px; }
.zx-me-status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: .88rem; }
.zx-me-status i { font-size: .55rem; }
.zx-me-open { background: #e3f6ea; color: #1a7f37; }
.zx-me-closed { background: #fdecef; color: #d6264a; }

/* ---- Me > My shop > Delivery prices (Pages/Private/Companies/Me/MeDelivery) ---- */
.zx-me-delivery { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-block-end: 10px; }
.zx-me-delivery > i { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(31, 143, 209, 0.12); color: var(--zx-accent); font-size: 1.2rem; flex: 0 0 auto; }
.zx-me-delivery-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zx-me-delivery-text strong { font-size: 1.1rem; overflow-wrap: anywhere; }
.zx-me-delivery-text span { color: var(--zx-accent-dark); font-weight: 700; }
.zx-me-icon { width: 46px; height: 46px; border: 1px solid var(--zx-line); border-radius: 50%; background: #fff; color: var(--zx-ink); flex: 0 0 auto; }
.zx-me-icon-danger { color: #d6264a; }
.zx-me-quick { margin-block: 10px 14px; }
.zx-me-row-buttons { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.zx-me-add-delivery { margin-block-start: 16px; }
.zx-me-add-delivery h2 i { color: var(--zx-accent); }

/* ---- Me: settings list (rows like a phone's Settings app), shop name, categories, company information ---- */
.zx-me-group { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--zx-muted); margin: 26px 4px 8px; }
.zx-me-list { padding: 0; overflow: hidden; }
.zx-me-list a, .zx-me-list button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 10px 16px; border: 0; background: none; color: var(--zx-ink); font-size: 1.05rem; font-weight: 600; text-decoration: none; text-align: start; }
.zx-me-list > * + *, .zx-me-list form + * { border-top: 1px solid var(--zx-line); }
.zx-me-list form { margin: 0; border-top: 1px solid var(--zx-line); }
.zx-me-list a:hover, .zx-me-list button:hover { background: #f7f9fc; color: var(--zx-ink); }
.zx-me-list a > i:first-child, .zx-me-list button > i:first-child { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(31, 143, 209, 0.12); color: var(--zx-accent); flex: 0 0 auto; }
.zx-me-list span { flex: 1; }
.zx-me-chevron { color: #b8bfcc; font-size: .85rem; }
[dir="rtl"] .zx-me-chevron { transform: scaleX(-1); }

.zx-me-address { color: var(--zx-muted); font-size: .82rem; margin-top: 4px; word-break: break-all; }
.zx-me-next { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-block-end: 16px; background: #fff8e6; color: #7a5200; font-weight: 600; text-decoration: none; }
.zx-me-next:hover { color: #7a5200; }
.zx-me-next > i:first-child { font-size: 1.3rem; color: #e0a100; }
.zx-me-next span { flex: 1; }
.zx-me-preview { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f4f6fb; display: flex; flex-direction: column; gap: 2px; }
.zx-me-preview span { color: var(--zx-muted); font-size: .85rem; }
.zx-me-preview strong { word-break: break-all; color: var(--zx-accent-dark); }

.zx-me-catimg { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.zx-me-catpick { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin-block-end: 14px; }
.zx-me-catpick .zx-me-photo { width: 72px; }
.zx-me-catpick .zx-me-pick { grid-column: -2; }
.zx-me-logo { display: flex; align-items: center; gap: 14px; margin-block-end: 6px; }
.zx-me-logo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zx-line); background: #fff; }
.zx-me-logo .zx-me-pick { flex: 1; }
.zx-me fieldset { min-width: 0; }

/* ---- Me: users, permissions, activity log ---- */
.zx-me-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--zx-accent); color: #fff; font-weight: 700; font-size: 1.1rem; flex: 0 0 auto; }
.zx-me-delivery-text small { overflow-wrap: anywhere; }
.zx-me-role { align-self: flex-start; margin-top: 4px; border-radius: 999px; padding: 1px 10px; background: #f4f6fb; color: var(--zx-ink) !important; font-size: .8rem; font-weight: 700 !important; }
a.zx-me-icon { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.zx-me-perm { padding: 14px 16px; margin-block-end: 10px; }
.zx-me-perm strong { display: block; margin-block-end: 10px; }
.zx-me-perm-off strong { color: var(--zx-muted); }
.zx-me-perm-switches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 420px) { .zx-me-perm-switches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zx-me-switch-pill { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; margin: 0; border: 2px solid var(--zx-line); border-radius: 12px; background: #fff; font-weight: 600; cursor: pointer; }
.zx-me-switch-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.zx-me-switch-pill.on { border-color: var(--zx-accent); background: rgba(31, 143, 209, 0.1); color: var(--zx-accent-dark); }
.zx-me-switch-pill.on::before { content: "\2713"; font-weight: 800; }

.zx-me-log { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-block-end: 8px; }
.zx-me-log-badge { flex: 0 0 auto; border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; background: #e8f1fb; color: var(--zx-accent-dark); }
.zx-me-log-badge.ok { background: #e3f6ea; color: #1a7f37; }
.zx-me-log-badge.bad { background: #fdecef; color: #d6264a; }
.zx-me-log-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zx-me-log-text span { overflow-wrap: anywhere; }

/* ---- Me: plan, online payments, backup, danger zone ---- */
.zx-me .zx-wrap.zx-me-wide { max-width: 1180px; }
.zx-me-plan { padding: 18px; }
.zx-me-plan-head { display: flex; align-items: center; gap: 14px; margin-block-end: 14px; }
.zx-me-plan-head > i { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(31, 143, 209, 0.12); color: var(--zx-accent); font-size: 1.5rem; }
.zx-me-plan-head h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 4px; }
.zx-me-days { font-size: 1rem; color: var(--zx-muted); }
.zx-me-days strong { font-size: 2rem; color: var(--zx-ink); margin-inline-end: 4px; }
.zx-me-bar { height: 12px; border-radius: 999px; background: #eef1f7; overflow: hidden; margin-block: 8px 12px; }
.zx-me-bar span { display: block; height: 100%; border-radius: 999px; background: var(--zx-accent); }
.zx-me-plan-dates { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--zx-muted); font-size: .9rem; margin-block-start: 6px; }
.zx-me-btn.zx-me-warn i { background: #fff4dd; color: #b35900; }
.zx-me-btn.zx-me-danger span { color: #d6264a; }
.zx-me-list a.zx-me-list-danger, .zx-me-list a.zx-me-list-danger > i:first-child { color: #d6264a; }
.zx-me-list a.zx-me-list-danger > i:first-child { background: #fdecef; }

/* ---- Pages without the three tabs (AppTopBar): setup wizard, plan ended, Reset / Delete company ---- */
.zx-plain, .zx-plain .login-body { background: #f4f6fb; min-height: 100vh; }
.zx-plainbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding-inline: 16px; margin-block-end: 16px; background: #fff; border-block-end: 1px solid #e6e9f0; box-shadow: 0 2px 12px rgba(29, 36, 51, 0.06); }
.zx-plainbar .zx-tabbar-brand { margin: 0; }
.zx-plainbar form { margin: 0; }
.zx-plainbar-out { border: 1px solid #e6e9f0; border-radius: 999px; background: #fff; padding: 8px 16px; font-weight: 600; color: #1d2433; }
.zx-plain .login-wrapper .card { border: 0; border-radius: 14px; box-shadow: 0 6px 24px rgba(29, 36, 51, 0.08); }
.zx-plain .login-wrapper .container { max-width: 760px; }

/* ---- Me: product description editor, copy / delete row ---- */
.zx-me-editor { min-height: 200px; border-radius: 12px; }
.zx-me-editor .rz-html-editor-content { min-height: 150px; }
.zx-me-extra { margin-block: 4px 16px; }
.zx-me-extra .btn { border-radius: 999px; font-weight: 600; }

/* ---- Admin (Pages/Private/Admin/Hub): numbers, company cards, plan change ---- */
.zx-admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-block-end: 8px; }
.zx-admin-stats .zx-card { padding: 14px 16px; display: flex; flex-direction: column; }
.zx-admin-stats strong { font-size: 1.6rem; font-weight: 800; }
.zx-admin-stats span { color: var(--zx-muted); font-size: .85rem; }
.zx-admin-stats .zx-ok strong { color: #1a7f37; }
.zx-admin-stats .zx-bad strong { color: #d6264a; }
.zx-admin-stats .zx-wide { grid-column: span 2; }
.zx-admin-bulk { display: inline-flex; gap: 8px; margin-inline-start: auto; }
.zx-admin-bulk .btn { border-radius: 999px; }
.zx-admin-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (max-width: 420px) { .zx-admin-grid { grid-template-columns: 1fr; } .zx-admin-stats .zx-wide { grid-column: auto; } }
.zx-admin-company { display: flex; align-items: center; gap: 12px; padding: 14px; color: inherit; text-decoration: none; }
.zx-admin-company:hover { color: inherit; transform: translateY(-2px); }
.zx-admin-company img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--zx-line); background: #fff; flex: 0 0 auto; }
.zx-admin-company-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.zx-admin-company-text strong, .zx-admin-company-text small { overflow-wrap: anywhere; }
.zx-admin-company-text .zx-me-status { margin-inline-end: 6px; font-size: .8rem; }
.zx-admin-plan { display: grid; grid-template-columns: 1fr 150px auto; gap: 10px; align-items: center; padding-block: 10px; border-top: 1px solid var(--zx-line); }
.zx-admin-plan div { display: flex; flex-direction: column; }
@media (max-width: 520px) { .zx-admin-plan { grid-template-columns: 1fr 1fr; } .zx-admin-plan div { grid-column: 1 / -1; } }
.zx-admin-dates + .zx-admin-dates { border-top: 1px solid var(--zx-line); margin-top: 16px; padding-top: 8px; }
.zx-me-list button:disabled { opacity: .6; }
.zx-admin-old { padding-block: 8px 24px; }
.zx-admin-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(31, 143, 209, 0.12); color: var(--zx-accent); font-size: 1.4rem; flex: 0 0 auto; }

/* ---- Admin pages kept inside the new frame (Add company, Data size, system pages): the app's card look ---- */
.zx-admin-old .card { border: 0; border-radius: var(--zx-radius); box-shadow: var(--zx-shadow); margin-block-end: 16px; overflow: hidden; }
.zx-admin-old .card-header { background: #fff; border-block-end: 1px solid var(--zx-line); padding: 14px 18px; }
.zx-admin-old .card-body { padding: 18px; }
.zx-admin-old .content-page-header h5, .zx-admin-old .card-title h5 { font-size: 1.4rem; font-weight: 700; margin: 0 0 12px; }
.zx-admin-old .btn { border-radius: 999px; font-weight: 600; }
.zx-admin-old .form-control, .zx-admin-old .form-select { border-radius: 10px; min-height: 44px; }
.zx-admin-old .nav-tabs .nav-link { border-radius: 999px; border: 1px solid var(--zx-line); margin-inline-end: 6px; }
.zx-admin-old .nav-tabs .nav-link.active { background: var(--zx-accent); border-color: var(--zx-accent); color: #fff; }
.zx-admin-old .nav-tabs { border: 0; gap: 4px; margin-block-end: 12px; }
.zx-admin-old > .zx-me-back { display: inline-flex; }

/* ---- Unread badges (AppNoticeState), language buttons, notifications ---- */
.zx-tab { position: relative; }
.zx-tab-dot { position: absolute; top: 6px; inset-inline-end: 10px; width: 10px; height: 10px; border-radius: 50%; background: #e8304f; border: 2px solid #fff; }
@media (max-width: 767.98px) { .zx-tab-dot { inset-inline-end: calc(50% - 18px); } }
.zx-me-count { flex: 0 0 auto; min-width: 24px; padding: 0 7px; border-radius: 999px; background: #e8304f; color: #fff; font-size: .8rem; font-weight: 700; line-height: 22px; text-align: center; }
.zx-me-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zx-me-langs .zx-pill { padding: 12px 8px; font-size: 1rem; font-weight: 600; }
.zx-me-noti { width: 100%; border: 0; text-align: start; color: inherit; }
.zx-me-noti-new { border-inline-start: 4px solid var(--zx-accent); }
.zx-me-noti-new strong::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e8304f; margin-inline-start: 8px; vertical-align: middle; }
.zx-me-log-badge.warn { background: #fff4dd; color: #b35900; }
.zx-me-noti .zx-me-log-badge { font-size: 1rem; }

/* Plan ended (/app/inactive, /app/inactive-company) */
.zx-plan-end { max-width: 560px; padding-block: 20px 40px; }
.zx-plan-card { padding: 24px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zx-plan-card h1 { font-size: 1.4rem; font-weight: 700; margin: 0; }
.zx-plan-card p { margin: 0; }
.zx-plan-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; background: #fdecef; color: #d6264a; margin-block-end: 4px; }
.zx-plan-company { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-block-start: 8px; padding: 12px 16px; border-radius: 14px; background: #f7f9fc; width: 100%; }
.zx-plan-company strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.zx-plan-main { width: 100%; border-radius: 999px; padding-block: 14px; font-size: 1.15rem; font-weight: 700; margin-block-start: 8px; }
.zx-plan-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.zx-plan-whatsapp:hover { background: #1ebe5b; color: #fff; }
.zx-plan-phone { font-size: .9rem; }
.zx-plan-periods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zx-plan-period { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border: 2px solid transparent; color: var(--zx-ink); }
.zx-plan-period span { font-weight: 700; }
.zx-plan-period strong { font-size: .9rem; color: var(--zx-accent-dark); }
.zx-plan-period.active { border-color: var(--zx-accent); background: rgba(31, 143, 209, 0.08); }
.zx-plan-period:disabled { opacity: .6; }
.zx-plan-dates { text-align: center; font-size: .9rem; margin: 10px 0 14px; }
.zx-plan-pay { padding: 18px; }
.zx-plan-pay:empty { display: none; }
.zx-plan-pay h2 { font-size: 1.1rem; font-weight: 700; }

/* ---- Near shops first (Pages/Public/Shops/NearMe, DistanceLabel; Components/ShopLocationPicker) ---- */
.zx-near { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; margin: 0 auto 20px; max-width: 640px; }
.zx-near-icon { font-size: 1.6rem; color: #1f8fd1; margin-block-start: 2px; }
.zx-near-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.zx-near-body small { color: #6b7385; }
.zx-near-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zx-near-buttons .form-select { width: auto; max-width: 220px; }
/* On Reels: a floating card over the black screen. */
.zx-near-dark { position: fixed; top: 12px; inset-inline: 12px; z-index: 1050; max-width: 496px; margin-inline: auto; background: rgba(20, 24, 33, 0.92); color: #fff; border-radius: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.zx-near-dark .zx-near-body small { color: #c9cfdb; }
.zx-near-dark .btn-link { color: #c9cfdb; }
.zx-near-chip { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--zx-muted, #6b7385); font-size: .9rem; margin-block-end: 16px; }
.zx-near-chip .btn-link { padding: 0 4px; }
.zx-distance { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; color: #1f8fd1; white-space: nowrap; }
.zx-distance i { font-size: .75rem; }
.zx-reel-distance { display: flex; margin-block-start: 4px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.zx-near-saved { font-weight: 600; margin-block: 12px; }
.zx-location-map { height: 280px; border-radius: 12px; overflow: hidden; border: 1px solid #e6e9f0; z-index: 0; }
.zx-location-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 8px; }
