/* GjejKrejt.com — marketplace components (category pages, search, cards, booking).
   Built on the design tokens defined in portal.css (--accent, --border, --r, --shadow-*). */

/* ── navigation bar ──────────────────────────────────────── */
.pnav { background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(15,23,42,.06); }
.pnav.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(15,23,42,.08); }
.pnav-links { align-items: center; gap: 2px; margin: 0 0 0 24px; padding: 0; }
.pnav-links > li { display: flex; }
/* links and the Categories button share one look; the active page gets an underline */
.pnav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px; line-height: 1.25; font-size: .9rem; font-weight: 600; color: #475569; text-decoration: none; transition: color .15s, background .15s; }
.pnav-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.pnav-link:hover { background: #f1f5f9; color: var(--text); }
.pnav-link.active { background: none; color: var(--accent); }
.pnav-link.active::after, .pnav-link:hover::after { transform: scaleX(1); }
.pnav-link:hover:not(.active)::after { background: #cbd5e1; }
.pnav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pnav-cat { position: static; }
.pnav-cat-btn { background: none; border: 0; cursor: pointer; font-family: inherit; }
.pnav-caret { font-size: .7rem; transition: transform .2s; }
.pnav-cat-btn[aria-expanded="true"] { background: var(--accent-l); color: var(--accent); }
.pnav-cat-btn[aria-expanded="true"]::after { transform: scaleX(0); }
.pnav-cat-btn[aria-expanded="true"] .pnav-caret { transform: rotate(180deg); }

.pnav-right { gap: 10px; }
/* language: a small segmented switch */
.lang-switch { display: inline-flex; padding: 3px; background: #f1f5f9; border: 1px solid var(--border); border-radius: 999px; }
.lang-opt { padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: color .15s, background .15s; }
.lang-opt:hover { color: var(--text); }
.lang-opt.on { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(15,23,42,.14); }
.lang-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* "list your business": outlined; "browse all": filled */
.pnav-biz { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--text); font-size: .85rem; font-weight: 700; white-space: nowrap; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.pnav-biz .bi { color: var(--accent); }
.pnav-biz:hover { border-color: var(--accent); background: var(--accent-l); color: var(--accent); }
.pnav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 10px; white-space: nowrap;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%); box-shadow: 0 4px 14px rgba(37,99,235,.28); }
.pnav-cta:hover { background: linear-gradient(135deg, var(--accent-d) 0%, #1e40af 100%); }
.pnav-biz:focus-visible, .pnav-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* smaller laptops: the business button keeps only its icon (the name stays for screen readers) */
@media (max-width: 1199.98px) {
    .pnav-links { margin-left: 12px; }
    .pnav-link { padding: 9px 10px; }
    .pnav-link::after { left: 10px; right: 10px; }
    .pnav-right .pnav-biz { padding: 8px 10px; }
    .pnav-right .pnav-biz span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.hamburger { width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--border) !important; border-radius: 11px; background: #fff !important; }
.hamburger[aria-expanded="true"] { background: var(--accent-l) !important; border-color: rgba(37,99,235,.3) !important; }
.hamburger span { width: 18px; }

/* ── categories dropdown ─────────────────────────────────── */
/* The menu is positioned against the fixed, full-width .pnav (not the button), so it is
   centred on the screen and can never hang off the left/right edge; tall lists scroll. */
@keyframes catMenuIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cat-menu.open { animation: catMenuIn .18s ease-out; }
.cat-menu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 1050;
    background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px rgba(15,23,42,.18);
    padding: 10px; width: min(560px, 94vw);
    max-height: calc(100vh - var(--nav-h) - 24px); max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
.cat-menu.cat-menu-split { width: min(900px, 94vw); }
.cat-menu.open { display: grid; grid-template-columns: 1fr; gap: 6px; }
.cat-menu.cat-menu-split.open { grid-template-columns: 1fr 1fr; }
.cat-menu-panel { padding: 14px 12px; border-radius: 12px; min-width: 0; }
/* rentals: whole groups flow into two balanced columns, a group is never split */
.cat-menu-rent { columns: 2; column-gap: 12px; }
.cat-menu-rent .cat-menu-col { break-inside: avoid; margin-bottom: 14px; }
.cat-menu-rent .cat-menu-col:last-child { margin-bottom: 0; }
/* services: one tinted panel, links in two columns */
.cat-menu-svc { background: #f8fafc; }
.cat-menu-svc .cat-menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.cat-menu-col { display: flex; flex-direction: column; min-width: 0; }
.cat-menu-list { display: flex; flex-direction: column; gap: 2px; }
.cat-menu-head { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 8px; }
.cat-menu-list a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; color: var(--text); font-size: .875rem; font-weight: 600; text-decoration: none; min-width: 0; }
.cat-menu-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-menu-list a .bi { flex: 0 0 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--accent-l); color: var(--accent); font-size: .9rem; }
.cat-menu-svc .cat-menu-list a .bi { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.cat-menu-list a:hover, .cat-menu-list a:focus-visible { background: var(--accent-l); color: var(--accent); outline: none; }
.cat-menu-list a:hover .bi, .cat-menu-list a:focus-visible .bi { background: var(--accent); color: #fff; }
.cat-menu-all { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.cat-menu-all:hover, .cat-menu-all:focus-visible { background: var(--accent-l); color: var(--accent); outline: none; }
.cat-menu-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 8px 4px 0; }
.cat-menu-biz { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.cat-menu-biz .bi { color: var(--accent); }
.cat-menu-biz:hover, .cat-menu-biz:focus-visible { background: #f1f5f9; color: var(--text); outline: none; }

/* ── phone menu ──────────────────────────────────────────── */
.mobile-nav { padding: 14px 16px calc(24px + env(safe-area-inset-bottom)); }
.mnav-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex-shrink: 0; }
.mobile-nav .mnav-row { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--border); border-radius: 12px; font-size: .8rem; font-weight: 700; text-align: center; color: var(--text); }
.mobile-nav .mnav-row .bi { font-size: 1.25rem; color: var(--accent); }
.mobile-nav .mnav-row.active { background: var(--accent-l); border-color: rgba(37,99,235,.3); color: var(--accent); }
.mobile-nav .mobile-nav-head { padding: 18px 2px 8px; }
.mnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; flex-shrink: 0; }
.mobile-nav .mnav-tile { display: flex; align-items: center; gap: 10px; padding: 9px 10px; min-width: 0; border-radius: 12px; background: #f8fafc; border: 1px solid #eef2f7; font-size: .85rem; font-weight: 600; color: var(--text); }
.mobile-nav .mnav-tile .bi { flex: 0 0 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #fff; color: var(--accent); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.mobile-nav .mnav-tile span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; overflow-wrap: anywhere; }
.mobile-nav .mnav-tile:hover, .mobile-nav .mnav-tile:active { background: var(--accent-l); border-color: rgba(37,99,235,.25); color: var(--accent); }
.mnav-actions { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); flex-shrink: 0; }
.mobile-nav .mnav-actions a { padding: 12px 14px; font-size: .9rem !important; }
.mobile-nav .mnav-actions .pnav-cta, .mobile-nav .mnav-actions .pnav-cta:hover { color: #fff; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-d) 100%); }
.mobile-nav .mnav-actions .pnav-biz:hover { background: var(--accent-l); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
    .cat-menu.open { animation: none; }
    .pnav-link::after, .pnav-caret { transition: none; }
}

/* ── shared page scaffolding ─────────────────────────────── */
.mk-page { padding: calc(var(--nav-h) + 26px) 0 64px; background: var(--bg); min-height: 70vh; }
.mk-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: var(--muted); margin-bottom: 14px; padding: 0; list-style: none; }
.mk-crumbs li + li::before { content: "›"; margin-right: 6px; color: #94a3b8; }
.mk-crumbs a { color: var(--accent); text-decoration: none; }
.mk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mk-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin: 0; display: flex; align-items: center; gap: 12px; }
.mk-title .bi { color: var(--accent); }
.mk-sub { color: var(--muted); margin: 6px 0 0; max-width: 720px; }
.mk-alert { border-radius: 12px; padding: 12px 16px; font-size: .875rem; margin-bottom: 16px; }
.mk-alert-warn { background: #fef3c7; color: #92400e; }
.mk-alert-ok { background: #dcfce7; color: #166534; }
.mk-alert-err { background: #fee2e2; color: #991b1b; }

/* ── filter panel (sidebar on desktop, off-canvas on mobile) ── */
.mk-filters { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px; position: sticky; top: calc(var(--nav-h) + 16px); }
.mk-filters h3 { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 8px; }
.mk-filters h3:first-of-type { margin-top: 0; }
.mk-filters .form-control, .mk-filters .form-select { font-size: .875rem; }
.mk-filter-actions { display: flex; gap: 8px; margin-top: 18px; }
.mk-filter-actions .btn-apply { flex: 1; }
.mk-filter-toggle { display: none; }
.mk-filter-close { display: none; }
@media (max-width: 991.98px) {
    .mk-filter-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: .875rem; }
    .mk-filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 92vw); z-index: 1060; border-radius: 0; overflow-y: auto;
        transform: translateX(-105%); transition: transform .22s ease; top: 0; padding-top: 18px; }
    .mk-filters.open { transform: none; box-shadow: var(--shadow-xl); }
    .mk-filter-close { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
    .mk-filter-close button { border: 0; background: none; font-size: 1.4rem; line-height: 1; }
    .mk-scrim { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1055; display: none; }
    .mk-scrim.open { display: block; }
}

/* ── results toolbar, chips, pagination, empty state ──────── */
.mk-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mk-count { font-size: .9rem; color: var(--muted); }
.mk-count strong { color: var(--text); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mk-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-l); color: var(--accent); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.mk-chip:hover { background: #dbeafe; }
.mk-empty { background: #fff; border: 1px dashed var(--border); border-radius: var(--r); padding: 56px 24px; text-align: center; }
.mk-empty .bi { font-size: 3rem; color: #cbd5e1; display: block; margin-bottom: 12px; }
.mk-empty h2 { font-size: 1.15rem; font-weight: 800; }
.mk-empty p { color: var(--muted); max-width: 420px; margin: 0 auto 14px; }

/* ── listing / service cards ──────────────────────────────── */
.mk-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: box-shadow .18s, transform .18s; }
.mk-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.mk-card-img { position: relative; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; display: block; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mk-card-img .mk-noimg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; gap: 6px; font-size: .78rem; }
.mk-card-img .mk-noimg .bi { font-size: 2.4rem; }
.mk-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.mk-badge { background: rgba(255,255,255,.95); color: var(--text); font-size: .7rem; font-weight: 800; padding: 4px 8px; border-radius: 999px; box-shadow: var(--shadow); }
.mk-badge-ok { background: #dcfce7; color: #166534; }
.mk-badge-warn { background: #fef3c7; color: #92400e; }
.mk-badge-accent { background: var(--accent); color: #fff; }
.mk-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mk-card-biz { font-size: .74rem; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mk-card-title { font-size: 1rem; font-weight: 800; color: var(--text); text-decoration: none; line-height: 1.3; }
.mk-card-title:hover { color: var(--accent); }
.mk-card-desc { font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.mk-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-spec { display: inline-flex; align-items: center; gap: 5px; background: #f1f5f9; color: #334155; border-radius: 8px; padding: 3px 8px; font-size: .74rem; font-weight: 600; }
.mk-spec .bi { color: var(--muted); }
.mk-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.mk-price { display: flex; flex-direction: column; line-height: 1.1; }
.mk-price .from { font-size: .68rem; color: var(--muted); font-weight: 600; }
.mk-price .amount { font-size: 1.25rem; font-weight: 900; color: var(--text); }
.mk-price .per { font-size: .74rem; color: var(--muted); font-weight: 600; }
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 8px 14px; font-size: .82rem; font-weight: 800; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; cursor: pointer; }
.mk-btn-primary { background: var(--accent); color: #fff; }
.mk-btn-primary:hover { background: #1d4ed8; color: #fff; }
.mk-btn-ghost { background: #fff; color: var(--accent); border-color: #bfdbfe; }
.mk-btn-ghost:hover { background: var(--accent-l); }
.mk-btn:focus-visible, .mk-card-title:focus-visible, .cat-card:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* ── home: hero search ────────────────────────────────────── */
.mk-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%); color: #fff; padding: calc(var(--nav-h) + 48px) 0 56px; position: relative; overflow: hidden; }
.mk-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; line-height: 1.1; margin: 0 0 12px; max-width: 820px; }
.mk-hero p.lead { color: #cbd5e1; font-size: 1.05rem; max-width: 640px; margin-bottom: 26px; }
.mk-search { background: #fff; color: var(--text); border-radius: 18px; box-shadow: var(--shadow-xl); padding: 14px; }
.mk-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--border); scrollbar-width: thin; }
.mk-tab { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--border); background: #fff; color: var(--text); border-radius: 999px; padding: 7px 13px; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.mk-tab .bi { color: var(--accent); }
.mk-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.mk-tab[aria-selected="true"] .bi { color: #fff; }
.mk-search-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; }
.mk-search-fields label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; display: block; }
.mk-search-fields .mk-field[hidden] { display: none; }
.mk-search-btn { height: 44px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; padding: 0 22px; }
.mk-hero-stats { display: flex; gap: 28px; margin-top: 22px; color: #cbd5e1; font-size: .85rem; flex-wrap: wrap; }
.mk-hero-stats strong { color: #fff; font-size: 1.2rem; display: block; }

/* ── home: category cards ─────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s, border-color .15s; }
.cat-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-md); color: var(--text); }
.cat-card .cat-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-l); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.cat-card .cat-name { font-weight: 800; }
.cat-card .cat-desc { font-size: .78rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .cat-count { font-size: .74rem; font-weight: 700; color: var(--accent); margin-top: auto; }
.mk-section { padding: 52px 0; }
.mk-section-alt { background: #fff; }
.mk-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.mk-section-head h2 { font-size: 1.45rem; font-weight: 900; margin: 0; }
.mk-section-head a { font-weight: 700; color: var(--accent); text-decoration: none; font-size: .9rem; }

/* ── details / booking ────────────────────────────────────── */
.mk-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 22px; margin-bottom: 18px; }
.mk-panel h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.mk-mode { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.mk-mode-instant { background: #dcfce7; color: #166534; }
.mk-mode-request { background: #e0e7ff; color: #3730a3; }
.mk-mode-inquiry { background: #f1f5f9; color: #334155; }
.mk-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .86rem; }
.mk-rules li { display: flex; gap: 8px; }
.mk-rules .bi { color: var(--accent); }
.mk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.mk-slot input { position: absolute; opacity: 0; pointer-events: none; }
.mk-slot span { display: block; text-align: center; padding: 9px 4px; border-radius: 10px; border: 1.5px solid var(--border); font-weight: 700; font-size: .85rem; cursor: pointer; background: #fff; }
.mk-slot input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.mk-slot input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.mk-contact-actions { display: grid; gap: 8px; }
.mk-contact-actions a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 700; }
.mk-contact-actions a .bi { color: var(--accent); font-size: 1.1rem; }
.mk-contact-actions a:hover { border-color: #bfdbfe; background: var(--accent-l); }

/* ── business profile category tabs ───────────────────────── */
.mk-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.mk-pill { border: 1.5px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--text); background: #fff; display: inline-flex; gap: 6px; align-items: center; }
.mk-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.mk-pill .n { font-size: .72rem; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
    .mk-card, .mk-filters { transition: none; }
    .mk-card:hover { transform: none; }
}

/* ── phones: the top bar keeps only logo, language and menu button
   ("register business" and "browse all" move into the mobile menu) ── */
@media (max-width: 767.98px) {
    .pnav-right > .pnav-biz, .pnav-right > .pnav-cta { display: none; }
    .mk-hero { padding-top: calc(var(--nav-h) + 28px); }
    .mk-hero h1 { font-size: 1.75rem; }
    .mk-search-fields { grid-template-columns: 1fr 1fr; }
    .mk-search-fields .mk-field:last-child { grid-column: 1 / -1; }
    .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-card { padding: 14px; }
    .cat-card .cat-desc { display: none; }
}

/* ── companies list: card details ────────────────────────── */
.oc-banner { overflow: visible; }          /* the logo hangs over the edge; the card itself clips the corners */
.oc-logo { z-index: 1; }
.oc-tagline { font-size: .78rem; color: var(--muted); margin-bottom: 10px; font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.oc-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.oc-cat { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--accent-l); color: var(--accent); font-size: .72rem; font-weight: 700; line-height: 1.4; }
.oc-cat-more { background: #f1f5f9; color: var(--muted); }
.oc-meta { flex-wrap: wrap; row-gap: 4px; }

/* ══════════════════════════════════════════════════════════════════════
   Marketplace redesign (2026-10): home, cards, companies, footer.
   One accent (brand blue), neutral surfaces, 14–18px radii, soft shadows.
   ══════════════════════════════════════════════════════════════════════ */
:root { --ink: #0f172a; --surface: #f6f8fb; --line: #e5e9f0; }
body { background: #fff; }

/* ── home: hero ───────────────────────────────────────────── */
.hm-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + 56px) 0 48px;
    background: radial-gradient(900px 420px at 85% -10%, rgba(59,130,246,.35), transparent 60%), radial-gradient(700px 360px at -10% 110%, rgba(99,102,241,.25), transparent 60%), #0b1220; }
.hm-hero-copy { max-width: 760px; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #bfdbfe; font-size: .78rem; font-weight: 600; margin-bottom: 18px; }
.hm-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 14px; }
.hm-lead { color: #cbd5e1; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; margin: 0 0 28px; max-width: 620px; }

/* search card: what → where → only the fields that category uses */
.hm-search { background: #fff; color: var(--text); border-radius: 20px; padding: 14px; box-shadow: 0 24px 60px rgba(2,6,23,.35); max-width: 1080px; }
.hm-search-grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.hm-field { flex: 1 1 160px; min-width: 0; }
.hm-field-what { flex: 2 1 240px; }
.hm-field-sm { flex: 0 1 120px; }
.hm-field-btn { flex: 0 0 auto; }
.hm-field[hidden] { display: none; }
.hm-field-half { flex: 1 1 150px; }
.hm-field-q { flex: 2 1 260px; }
.hm-field-md { flex: 0 1 200px; }
.hm-field.is-in { animation: hmFieldIn .2s ease-out; }
@keyframes hmFieldIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hm-field label { display: block; margin: 0 0 5px 4px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-field .form-control, .hm-field .form-select { height: 48px; border: 1px solid var(--line); border-radius: 12px; background-color: #f8fafc; font-size: .92rem; color: var(--text); }
.hm-field .form-control:focus, .hm-field .form-select:focus { background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.hm-select { position: relative; }
.hm-select > .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--accent); pointer-events: none; font-size: 1rem; z-index: 1; }
.hm-select .form-select { padding-left: 40px; font-weight: 600; }
.hm-search-btn { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 26px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 8px 20px rgba(37,99,235,.35); cursor: pointer; transition: box-shadow .15s, transform .15s; }
.hm-search-btn:hover { box-shadow: 0 10px 26px rgba(37,99,235,.45); }
.hm-search-btn:active { transform: translateY(1px); }
.hm-search-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.hm-search-hint { margin: 10px 4px 0; font-size: .8rem; color: var(--muted); }
.hm-search-hint.is-error { color: #b91c1c; font-weight: 700; }
.hm-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; list-style: none; padding: 0; margin: 28px 0 0; }
.hm-stats li { display: flex; align-items: baseline; gap: 8px; color: #94a3b8; font-size: .88rem; }
.hm-stats strong { color: #fff; font-size: 1.35rem; font-weight: 800; }

/* ── home: sections ───────────────────────────────────────── */
.hm-section { padding: 72px 0; }
.hm-section-alt { background: var(--surface); }
.hm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hm-head h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 900; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.hm-head p { margin: 6px 0 0; color: var(--muted); }
.hm-head-center { justify-content: center; text-align: center; }
.hm-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--accent); text-decoration: none; }
.hm-more:hover { gap: 9px; color: #1d4ed8; }

/* categories, grouped */
.hm-groups { display: flex; flex-direction: column; gap: 34px; }
.hm-group-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #64748b; }
.hm-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hm-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.hm-cat { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hm-cat:hover { border-color: #bfdbfe; box-shadow: 0 12px 28px rgba(15,23,42,.08); transform: translateY(-2px); color: var(--text); }
.hm-cat:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.hm-cat-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-l); color: var(--accent); font-size: 1.35rem; transition: background .15s, color .15s; }
.hm-cat:hover .hm-cat-ico { background: var(--accent); color: #fff; }
.hm-group-service .hm-cat-ico { background: #f3e8ff; color: #7e22ce; }
.hm-group-service .hm-cat:hover .hm-cat-ico { background: #7e22ce; color: #fff; }
.hm-group-property .hm-cat-ico { background: #dcfce7; color: #15803d; }
.hm-group-property .hm-cat:hover .hm-cat-ico { background: #15803d; color: #fff; }
.hm-group-unit .hm-cat-ico { background: #ffedd5; color: #c2410c; }
.hm-group-unit .hm-cat:hover .hm-cat-ico { background: #c2410c; color: #fff; }
.hm-cat-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.hm-cat-name { font-weight: 800; font-size: 1rem; color: var(--ink); }
.hm-cat-desc { font-size: .8rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-cat-count { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--accent); }
.hm-cat-count.is-empty { color: #64748b; }
.hm-cat-count .bi { transition: transform .15s; }
.hm-cat:hover .hm-cat-count .bi { transform: translateX(3px); }

/* how it works */
.hm-how { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-how-col { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.hm-how-biz { background: linear-gradient(180deg, #f8fbff, #fff); border-color: #dbeafe; }
.hm-how-col h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 800; margin: 0 0 18px; }
.hm-how-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-l); color: var(--accent); font-size: 1.15rem; }
.hm-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 16px; width: 100%; }
.hm-steps li { counter-increment: step; position: relative; padding-left: 46px; display: flex; flex-direction: column; gap: 2px; }
.hm-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; }
.hm-how-biz .hm-steps li::before { background: var(--accent); }
.hm-steps strong { font-size: .95rem; color: var(--ink); }
.hm-steps span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
.hm-how-col .mk-btn { margin-top: auto; }

/* business registration */
.hm-cta { padding: 0 0 80px; }
.hm-cta-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 44px; border-radius: 24px; color: #fff;
    background: radial-gradient(600px 300px at 100% 0%, rgba(59,130,246,.45), transparent 60%), linear-gradient(135deg, #0b1220, #172554); box-shadow: 0 30px 60px rgba(15,23,42,.18); }
.hm-cta-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.02em; margin: 0 0 10px; }
.hm-cta-copy p { color: #cbd5e1; margin: 0 0 18px; max-width: 560px; }
.hm-cta-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hm-cta-list li { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-size: .92rem; }
.hm-cta-list .bi { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #93c5fd; }
.hm-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 340px; justify-self: end; width: 100%; }
.hm-cta-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 22px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hm-cta-primary:hover { color: var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: translateY(-1px); }

/* ── listing and service cards ────────────────────────────── */
.mk-card { border-color: var(--line); border-radius: 16px; }
.mk-card:hover { box-shadow: 0 16px 34px rgba(15,23,42,.1); }
.mk-card-img { aspect-ratio: 4 / 3 !important; }
.mk-card-img img { transition: transform .35s ease; }
.mk-card:hover .mk-card-img img { transform: scale(1.03); }
.mk-card-biz { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.mk-card-biz > * { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mk-card-biz > :first-child { flex-shrink: 0; max-width: 60%; font-weight: 700; color: #475569; }
.mk-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card-foot { flex-wrap: nowrap; }
.mk-card-foot .mk-btn { flex-shrink: 0; }
@media (max-width: 380px) { .mk-card-foot { flex-wrap: wrap; } .mk-card-foot .mk-btn { width: 100%; } }

/* ── companies: grid, cards, filters ──────────────────────── */
.oc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.oc-card { display: flex; flex-direction: column; height: 100%; border-color: var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.oc-card:hover { color: var(--text); }
.oc-banner { height: 96px; }
.oc-logo { width: 56px; height: 56px; bottom: -24px; border-radius: 14px; }
.oc-body { display: flex; flex-direction: column; flex: 1; padding: 34px 18px 18px; }
.oc-name { font-size: 1.02rem; }
.oc-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.oc-meta { margin-bottom: 0; }
.btn-oc { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.dir-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px; margin-bottom: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.dir-field { flex: 1 1 180px; min-width: 0; }
.dir-grow { flex: 2 1 260px; }
.dir-field label { display: block; margin: 0 0 5px 2px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dir-field .form-control, .dir-field .form-select { height: 44px; border-radius: 11px; border-color: var(--line); font-size: .9rem; }
.dir-input-ico { position: relative; }
.dir-input-ico .bi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.dir-input-ico .form-control { padding-left: 38px; }
.dir-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.dir-actions .mk-btn { height: 44px; padding: 0 16px; }

/* category page filter buttons: stacked so they never squeeze */
.mk-filter-actions { flex-direction: column; }
.mk-filter-actions .btn-apply, .mk-filter-actions .mk-btn { width: 100%; height: 44px; }

/* ── header extras ────────────────────────────────────────── */

/* ── footer ───────────────────────────────────────────────── */
.pfooter { background: #0b1220; padding: 64px 0 28px; }
.pfooter-grid { grid-template-columns: 1.6fr 1.4fr 1fr 1.2fr; gap: 40px; }
.pfooter-brand { display: inline-flex; padding: 8px 14px; background: #fff; border-radius: 12px; margin-bottom: 16px; }
.pfooter-brand img { height: 30px; width: auto; display: block; }
.pfooter-desc { max-width: 360px; }
.pfooter-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .86rem; }
.pfooter-contact li { display: flex; align-items: center; gap: 10px; }
.pfooter-contact .bi { color: #60a5fa; }
.pfooter-contact a { color: #cbd5e1; }
.pfooter-contact a:hover { color: #fff; }
.pfooter-cats { columns: 2; column-gap: 20px; }
.pfooter-cats .pfooter-link { break-inside: avoid; }
.pfooter-biz { font-size: .85rem; line-height: 1.7; margin: 0 0 14px; }
.pfooter-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 11px; background: var(--accent); color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; margin-bottom: 12px; }
.pfooter-btn:hover { background: #1d4ed8; color: #fff; }
.pfooter-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; text-align: left; }
.pfooter-legal { display: flex; gap: 18px; }
.pfooter-legal a { color: #94a3b8; font-size: .8rem; }
.pfooter-legal a:hover { color: #fff; }

/* ── responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hm-how { grid-template-columns: 1fr; }
    .hm-cta-card { grid-template-columns: 1fr; padding: 32px; }
    .hm-cta-actions { justify-self: stretch; max-width: none; }
    .pfooter-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767.98px) {
    .hm-hero { padding: calc(var(--nav-h) + 32px) 0 36px; }
    .hm-search { padding: 12px; border-radius: 16px; }
    .hm-field, .hm-field-what { flex: 1 1 100%; }
    .hm-field-sm { flex: 1 1 calc(50% - 5px); }
    .hm-field-half { flex: 1 1 calc(50% - 5px); }
    .hm-field-btn { flex: 1 1 100%; }
    .hm-search-btn { width: 100%; }
    .hm-stats { gap: 8px 22px; }
    .hm-stats strong { font-size: 1.15rem; }
    .hm-section { padding: 48px 0; }
    .hm-cat-grid { grid-template-columns: 1fr; gap: 10px; }
    .hm-cat { padding: 14px; }
    .hm-how-col { padding: 22px; }
    .hm-cta { padding-bottom: 48px; }
    .hm-cta-card { padding: 26px 20px; border-radius: 20px; }
    .dir-field, .dir-grow { flex: 1 1 100%; }
    .dir-actions { flex: 1 1 100%; }
    .dir-actions .mk-btn { flex: 1; }
}
@media (max-width: 575.98px) {
    .pfooter-grid { grid-template-columns: 1fr; }
    .pfooter-bottom { flex-direction: column; align-items: flex-start; }
    .oc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
    .hm-field-half { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-cat, .mk-card-img img, .hm-search-btn, .hm-cta-primary { transition: none; }
    .hm-field.is-in { animation: none; }
    .hm-cat:hover, .mk-card:hover .mk-card-img img { transform: none; }
}

/* home on phones: offers, services and businesses swipe sideways; categories in two compact columns */
.hm-hero h1, .hm-head h2, .hm-cta-copy h2 { text-wrap: balance; }
.hm-hero-copy { max-width: 900px; }
@media (max-width: 575.98px) {
    .hm-rail { display: flex !important; flex-wrap: nowrap; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
        margin: 0 -12px !important; padding: 2px 12px 14px; scrollbar-width: none; --bs-gutter-x: 0; --bs-gutter-y: 0; }
    .hm-rail::-webkit-scrollbar { display: none; }
    .hm-rail > * { flex: 0 0 82% !important; width: 82% !important; max-width: 340px; scroll-snap-align: start; padding: 0 !important; margin: 0 !important; }
    .hm-cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hm-cat { flex-direction: column; gap: 10px; padding: 14px; }
    .hm-cat-ico { flex: 0 0 auto; width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
    .hm-cat-desc { display: none; }
    .hm-cat-name { font-size: .92rem; }
    .hm-cat-count { margin-top: 2px; font-size: .74rem; }
    .hm-groups { gap: 26px; }
}

/* listing page specifications: two per row on phones and tablets */
@media (max-width: 991.98px) { .spec-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; } }
@media (max-width: 340px) { .spec-grid { grid-template-columns: 1fr !important; } }

/* ══ Locations, nearby search and reservations (2026-10) ═══════════════ */

/* near me */
.near-box { display: flex; flex-direction: column; gap: 10px; }
.near-btn, .hm-near { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 1.5px solid #bfdbfe; border-radius: 11px; background: var(--accent-l); color: var(--accent); font-weight: 700; font-size: .86rem; cursor: pointer; transition: background .15s, border-color .15s; }
.near-btn:hover, .hm-near:hover { background: #dbeafe; border-color: var(--accent); }
.near-btn:disabled, .hm-near:disabled { opacity: .6; cursor: wait; }
.near-btn:focus-visible, .hm-near:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.near-btn[hidden], .hm-near[hidden] { display: none; }
.near-on { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 11px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: .84rem; font-weight: 700; }
.near-on span { display: inline-flex; align-items: center; gap: 7px; }
.near-on a { color: #065f46; display: inline-flex; padding: 2px 4px; border-radius: 6px; }
.near-on a:hover { background: #d1fae5; }
.near-msg { margin: 0; font-size: .8rem; color: var(--muted); min-height: 0; }
.near-msg:empty { display: none; }
.near-msg.is-error { color: #b91c1c; font-weight: 600; }
.near-fields { display: grid; gap: 10px; }
.near-fields label { display: block; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.dir-near { flex: 1 1 100%; }
.dir-near .dir-label { display: block; margin: 0 0 6px 2px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dir-near .near-box { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.dir-near .near-btn, .dir-near .near-on { height: 44px; }
.dir-near .near-fields { grid-template-columns: repeat(2, minmax(160px, 220px)); }
.dir-near .near-fields .form-select, .dir-near .near-fields .form-control { height: 44px; border-radius: 11px; }
.dir-near .near-msg { flex: 1 1 100%; }
.hm-search-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.hm-search-foot .hm-search-hint { margin: 0; }
.hm-near { padding: 7px 12px; font-size: .82rem; }
.hm-near-msg { flex: 1 1 100%; }

/* distance on cards */
.mk-dist { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(15,23,42,.82); color: #fff; font-size: .72rem; font-weight: 700; backdrop-filter: blur(4px); }
.oc-dist { color: #047857; font-weight: 700; }

/* business location on the business page and listing page */
.biz-map-wrap { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.biz-map-head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.biz-map-head .bi { color: var(--accent); }
.biz-map { height: 200px; border-radius: 12px; overflow: hidden; z-index: 0; }
.biz-directions { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.biz-directions:hover { text-decoration: underline; }

/* booking form */
.res-places { margin-bottom: 14px; }
.res-place-fixed { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; }
.res-legend { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: .75rem; color: var(--muted); }
.res-legend-x { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 22px; border-radius: 6px; background: #fee2e2; color: #dc2626; font-size: .7rem; font-weight: 700; text-decoration: line-through; }
.flatpickr-day.booked-day { text-decoration: line-through; }
#priceCalc { color: var(--text) !important; background: #f8fafc !important; border: 1px solid var(--border); padding: 12px 14px !important; }
.res-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: .86rem; }
.res-row-total { margin-top: 6px; padding-top: 8px; border-top: 1px dashed #cbd5e1; font-size: .95rem; }
.res-row-total strong { color: var(--accent); }
.res-deposit { margin-top: 8px; font-size: .78rem; color: #475569; }

/* customer reservation page */
.rs-wrap { max-width: 1040px; }
.rs-success { display: flex; gap: 16px; align-items: center; padding: 18px 20px; margin-bottom: 22px; border-radius: 16px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.rs-success h1 { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; color: #065f46; }
.rs-success p { margin: 0; color: #047857; }
.rs-success-ico { flex: 0 0 48px; height: 48px; border-radius: 50%; background: #10b981; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.rs-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.rs-ref { font-size: .82rem; color: var(--muted); }
.rs-ref strong { color: var(--text); font-size: 1rem; }
.rs-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; letter-spacing: -.02em; margin: 2px 0 0; }
.rs-status { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .88rem; }
.rs-status-pending { background: #fef9c3; color: #854d0e; }
.rs-status-confirmed { background: #dcfce7; color: #166534; }
.rs-status-rejected, .rs-status-cancelled { background: #fee2e2; color: #991b1b; }
.rs-status-completed { background: #e0e7ff; color: #3730a3; }
.rs-status-text { margin: 10px 0 20px; color: #475569; }
.rs-card { background: #fff; border: 1px solid var(--line, var(--border)); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.rs-card-title { font-size: 1rem; font-weight: 800; margin: 0 0 12px; }
.rs-item { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; color: var(--text); text-decoration: none; }
.rs-item strong { display: block; font-size: 1rem; }
.rs-item small { color: var(--muted); }
.rs-thumb { flex: 0 0 88px; height: 66px; border-radius: 10px; overflow: hidden; background: #f1f5f9; display: inline-flex; align-items: center; justify-content: center; color: #94a3b8; }
.rs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rs-dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rs-dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font-size: .9rem; }
.rs-dl dt { color: var(--muted); font-weight: 600; }
.rs-dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rs-notes { white-space: pre-line; font-weight: 400 !important; }
.rs-price .rs-total { padding-top: 10px; border-top: 1px dashed #cbd5e1; }
.rs-price .rs-total dd { color: var(--accent); font-size: 1.1rem; }
.rs-small { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.rs-place { display: flex; gap: 8px; color: #475569; font-size: .9rem; }
.rs-place .bi { color: var(--accent); }
.rs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rs-biz-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .86rem; color: var(--accent); text-decoration: none; }
.rs-keep { text-align: center; }
@media (max-width: 575.98px) {
    .rs-dl > div { grid-template-columns: 1fr; gap: 2px; }
    .rs-success { align-items: flex-start; }
    .dir-near .near-fields { grid-template-columns: 1fr 1fr; flex: 1 1 100%; }
    .dir-near .near-btn { flex: 1 1 100%; }
}

/* cookie consent banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #0f172a; color: #e2e8f0; box-shadow: 0 -8px 30px rgba(2,6,23,.3); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.cookie-text { margin: 0; font-size: .86rem; line-height: 1.5; flex: 1 1 420px; }
.cookie-text a { color: #93c5fd; margin-left: 4px; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn { padding: 9px 16px; border-radius: 10px; font-size: .84rem; font-weight: 700; cursor: pointer; white-space: nowrap; border: 1.5px solid transparent; }
.cookie-btn-primary { background: #2563eb; color: #fff; }
.cookie-btn-primary:hover { background: #1d4ed8; }
.cookie-btn-ghost { background: transparent; color: #e2e8f0; border-color: #475569; }
.cookie-btn-ghost:hover { border-color: #cbd5e1; }
.cookie-btn:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
@media (max-width: 575.98px) { .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }
.pfooter-legal { flex-wrap: wrap; }
