/* Popular Business theme (original stylesheet for the OpenDir codebase). */
:root {
    --pb-yellow: #fdd935;
    --pb-yellow-dark: #e9c400;
    --pb-blue: #233e8b;
    --pb-ink: #212529;
    --pb-black: #111111;
    --pb-muted: #6b7280;
    --pb-line: #e5e7eb;
    --pb-bg: #f4f5f7;
    --pb-card: #ffffff;
    --pb-green: #16a34a;
    --pb-red: #dc2626;
    --pb-radius: 6px;
    --pb-shadow: 0 2px 10px rgba(0, 0, 0, .07);
    --bg: var(--pb-bg); --ink: var(--pb-ink); --muted: var(--pb-muted); --brand: var(--pb-blue); --card: var(--pb-card); --line: var(--pb-line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.55; color: var(--pb-ink); background: var(--pb-bg); }
a { color: var(--pb-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.25; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--pb-muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px; }

/* ---------- Buttons ---------- */
.btn, .pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: var(--pb-radius); border: 0; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none !important; background: var(--pb-black); color: #fff; transition: filter .15s; }
.btn:hover, .pb-btn:hover { filter: brightness(1.15); }
.btn.secondary { background: #eef0f4; color: var(--pb-ink); }
.btn.yellow, .pb-btn.yellow { background: var(--pb-yellow); color: var(--pb-black); }
.btn.pill { border-radius: 999px; padding: 8px 22px; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.linkbtn { background: none; border: 0; color: var(--pb-blue); cursor: pointer; padding: 0; font: inherit; }

/* ---------- Header ---------- */
.pb-header { background: #fff; box-shadow: 0 1px 0 var(--pb-line); position: sticky; top: 0; z-index: 50; }
.pb-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.pb-logo img { height: 46px; width: auto; display: block; }
.pb-nav { display: flex; gap: 18px; align-items: center; }
.pb-nav a { color: var(--pb-ink); font-weight: 700; }
.pb-header .spacer { flex: 1; }
.pb-user { display: flex; gap: 12px; align-items: center; }
.pb-user a { color: var(--pb-ink); font-weight: 700; }
.pb-search-toggle { width: 46px; height: 46px; background: var(--pb-black); color: #fff; border: 0; cursor: pointer; font-size: 17px; border-radius: 0; }
.pb-search-drop { display: none; background: var(--pb-black); padding: 14px 0; }
.pb-search-drop.open { display: block; }
.pb-search-drop form { display: flex; gap: 8px; }
.pb-search-drop input { flex: 1; }
.pb-menu-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--pb-ink); }

/* ---------- Forms ---------- */
label { display: block; font-size: 13px; margin: 12px 0 4px; color: var(--pb-muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input[type=tel], input[type=date], input[type=datetime-local], select, textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d6d9de; border-radius: 4px; font: inherit; background: #fff; color: var(--pb-ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--pb-yellow); outline-offset: 0; border-color: var(--pb-yellow-dark); }
textarea { min-height: 120px; }

/* ---------- Hero ---------- */
.pb-hero { position: relative; min-height: 470px; background: #2b2d33 center/cover no-repeat; color: #fff; overflow: hidden; }
.pb-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 28, .78), rgba(20, 22, 28, .35)); }
.pb-hero .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.2s; }
.pb-hero .slide.on { opacity: 1; }
.pb-hero .wrap { position: relative; z-index: 2; padding-top: 34px; padding-bottom: 34px; }
.pb-hero h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; margin: 0 0 22px; max-width: 760px; min-height: 2.6em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.pb-searchbox { background: var(--pb-yellow); color: var(--pb-ink); padding: 18px 16px 20px; max-width: 330px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pb-searchbox h2 { font-size: 22px; font-weight: 400; margin: 0 0 12px; }
.pb-searchbox .row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; margin-bottom: 12px; }
.pb-searchbox .row span { font-size: 14px; }
.pb-searchbox .field { display: flex; }
.pb-searchbox .field i { width: 34px; display: flex; align-items: center; justify-content: center; background: #eceef1; color: #555; border: 1px solid #d6d9de; border-right: 0; }
.pb-searchbox .field input, .pb-searchbox .field select { border-radius: 0; }
.pb-searchbox button { width: 100%; background: var(--pb-black); color: #fff; border: 0; padding: 10px; font: inherit; cursor: pointer; }

/* ---------- Yellow feature strip ---------- */
.pb-strip { background: var(--pb-yellow); padding: 20px 0; }
.pb-strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.pb-strip a { color: var(--pb-black); text-decoration: none; }
.pb-strip i { font-size: 28px; }
.pb-strip strong { display: block; font-size: 19px; font-weight: 400; margin: 6px 0 2px; }
.pb-strip span { font-size: 14px; }

/* ---------- Sections ---------- */
.pb-section { padding: 46px 0; }
.pb-section.white { background: #fff; }
.pb-title { text-align: center; margin-bottom: 26px; }
.pb-title h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; }
.pb-title h2 em { font-style: normal; color: var(--pb-yellow-dark); }
.pb-title p { margin: 0; color: #444; }

.pb-catlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; background: #fff; padding: 22px 26px; box-shadow: var(--pb-shadow); }
.pb-catlist a { display: flex; gap: 10px; align-items: center; color: var(--pb-ink); padding: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-catlist a i { width: 18px; text-align: center; color: var(--pb-ink); }
.pb-catlist .count { color: var(--pb-muted); font-size: 12px; margin-left: auto; }

.pb-bg-section { background: #333 center/cover fixed no-repeat; position: relative; }
.pb-bg-section::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.pb-bg-section > .wrap { position: relative; }
.pb-bg-section .pb-title h2, .pb-bg-section .pb-title p { color: #fff; }

.pb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.lcard { background: #fff; border-radius: var(--pb-radius); overflow: hidden; display: flex; flex-direction: column; color: var(--pb-ink); box-shadow: var(--pb-shadow); text-decoration: none !important; transition: transform .15s; }
.lcard:hover { transform: translateY(-2px); }
.lcard .thumb { aspect-ratio: 16/10; background: #e9ebef center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: #b8bcc4; font-size: 40px; }
.lcard .body { padding: 12px 14px; flex: 1; }
.lcard h3 { font-size: 16px; margin: 4px 0; text-transform: uppercase; letter-spacing: .02em; }
.lcard .addr { font-size: 13px; color: var(--pb-muted); }
.lcard .foot { display: flex; justify-content: space-around; border-top: 1px solid var(--pb-line); padding: 9px; color: #555; }

.pb-catcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.pb-catcard { background: #fff; border-radius: var(--pb-radius); box-shadow: var(--pb-shadow); text-align: center; overflow: hidden; color: var(--pb-ink); text-decoration: none !important; }
.pb-catcard .img { height: 110px; background: linear-gradient(135deg, #2c3550, #4a5578) center/cover; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); font-size: 42px; }
.pb-catcard .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--pb-yellow); margin: -22px auto 6px; display: flex; align-items: center; justify-content: center; position: relative; color: var(--pb-black); }
.pb-catcard h3 { font-size: 16px; font-weight: 400; margin: 6px 10px; }
.pb-catcard .btn { margin: 6px 0 16px; }

.pb-cta { background: var(--pb-black); color: #fff; text-align: center; padding: 50px 16px; }
.pb-cta p { font-size: 20px; max-width: 760px; margin: 0 auto 18px; }

.pb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 280px)); gap: 20px; justify-content: center; }
.pb-plan { background: #fff; border-radius: var(--pb-radius); box-shadow: var(--pb-shadow); text-align: center; overflow: hidden; }
.pb-plan header { background: var(--pb-black); color: #fff; padding: 14px; font-size: 18px; letter-spacing: .04em; }
.pb-plan .price { font-size: 34px; font-weight: 700; padding: 16px 0 4px; }
.pb-plan .term { color: var(--pb-muted); font-size: 13px; text-transform: uppercase; }
.pb-plan ul { list-style: none; padding: 0; margin: 14px 0; }
.pb-plan li { padding: 7px; border-top: 1px solid var(--pb-line); }
.pb-plan .btn { margin: 4px 0 20px; }

/* ---------- Footer ---------- */

/* ---------- Inner pages ---------- */
main.wrap { padding-top: 22px; padding-bottom: 40px; }
.card, .panel { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 20px; }
.crumbs { background: #e9ebee; padding: 9px 14px; border-radius: 4px; font-size: 13.5px; margin: 0 0 14px; color: #444; }
.crumbs a { color: #222; }
.layout-2 { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.pb-3col { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.pb-box { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; margin-bottom: 18px; }
.pb-box > h2, .pb-box > h3 { margin: 0; background: var(--pb-yellow); color: var(--pb-black); padding: 12px 16px; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; font-weight: 400; }
.pb-box > .in { padding: 14px 16px; }
.pb-mini { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--pb-line); color: var(--pb-ink); text-decoration: none !important; }
.pb-mini:first-of-type { border-top: 0; }
.pb-mini i { font-size: 26px; color: var(--pb-yellow-dark); }
.pb-mini strong { display: block; text-transform: uppercase; color: #444; font-weight: 400; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.pb-mini small { color: var(--pb-muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.pb-share { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.pb-share a { width: 38px; height: 38px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; text-decoration: none !important; }
.pb-share .email { background: #3b82f6; } .pb-share .facebook { background: #3b5998; } .pb-share .x { background: #111; }
.pb-share .linkedin { background: #0a66c2; } .pb-share .pinterest { background: #bd081c; } .pb-share .whatsapp { background: #25d366; }

/* Listing detail */
.pb-detail { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.pb-detail .logo { background: #fff; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #c4c8cf; font-size: 60px; }
.pb-detail .logo img { width: 100%; height: 100%; object-fit: contain; }
.pb-namebar { background: var(--pb-black); color: #fff; padding: 12px 16px; font-size: 18px; margin: 0; text-transform: uppercase; letter-spacing: .03em; }
.pb-info { border: 1px solid var(--pb-line); border-top: 0; background: #fff; }
.pb-info > div { padding: 10px 16px; border-top: 1px solid var(--pb-line); }
.pb-info > div:first-child { border-top: 0; }
.pb-call { background: var(--pb-yellow); color: var(--pb-black); padding: 7px 14px; border-radius: 4px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none !important; }
.pb-days { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; }
.pb-days span { font-size: 12px; padding: 2px 6px; border-radius: 3px; color: #fff; background: #17a2b8; }
.pb-days span.closed { background: #9ca3af; }
.pb-days span.today { background: var(--pb-yellow); color: var(--pb-black); font-weight: 700; }
.pb-status { font-size: 12px; padding: 2px 8px; border-radius: 3px; color: #fff; margin-left: 6px; }
.pb-status.open { background: var(--pb-green); } .pb-status.shut { background: var(--pb-red); }
.pb-hours { width: 100%; font-size: 14px; }
.pb-hours td { padding: 4px 0; border: 0; }
.pb-hours tr.today td { font-weight: 700; }
.pb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.pb-gallery figure { margin: 0; }
.pb-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; display: block; }
.pb-gallery figcaption { font-size: 12px; color: var(--pb-muted); }
.pb-map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--pb-radius); }
.pb-tags a { display: inline-block; background: #f1f2f4; color: #333; padding: 3px 10px; border-radius: 999px; font-size: 13px; margin: 0 4px 6px 0; }
.pb-social a { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; background: #f1f2f4; color: #333; margin-right: 6px; }
.pb-review { border-top: 1px solid var(--pb-line); padding: 12px 0; }
.pb-reply { margin: 8px 0 0 16px; padding: 8px 12px; background: #fffbe6; border-left: 3px solid var(--pb-yellow); font-size: 14px; }
.stars { color: #f5a623; letter-spacing: 1px; }
.pb-stars-empty { color: #cfd3da; }

/* Category / results */
.pb-cathead { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; margin-bottom: 18px; }
.pb-cathead .img { height: 150px; border-radius: var(--pb-radius); background: linear-gradient(135deg, #2c3550, #4a5578) center/cover; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 58px; }
.pb-cathead h1 { margin: 0 0 8px; text-transform: uppercase; font-weight: 400; letter-spacing: .04em; font-size: 24px; }
.pb-filter h3 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 4px; }
.pb-filter .btn.yellow { width: 100%; margin-top: 14px; }

/* Generic components (member/admin-facing front pages) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #fff3c4; color: #7a5b00; }
.badge.ok { background: #e6f6ec; color: #166534; } .badge.no { background: #fde8e8; color: #991b1b; } .badge.wait { background: #e8eefc; color: #1e3a8a; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: start; padding: 10px; border-bottom: 1px solid var(--pb-line); font-size: 14px; }
.inline { display: inline; }
.flash { padding: 11px 14px; border-radius: 4px; margin: 0 0 16px; }
.flash.success { background: #e6f6ec; color: #14532d; } .flash.error { background: #fde8e8; color: #7f1d1d; }
.pager ul { list-style: none; display: flex; gap: 6px; padding: 0; flex-wrap: wrap; }
.pager li a { padding: 6px 11px; border: 1px solid var(--pb-line); border-radius: 4px; display: block; background: #fff; color: var(--pb-ink); }
.pager li.active a { background: var(--pb-yellow); border-color: var(--pb-yellow-dark); }
.prose { line-height: 1.7; } .prose img { max-width: 100%; height: auto; }
.prose blockquote { margin: 0; padding: 8px 16px; border-inline-start: 4px solid var(--pb-yellow); background: #fffbe6; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .pb-3col { grid-template-columns: 1fr; }
    .pb-catlist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .pb-menu-toggle { display: block; }
    .pb-nav, .pb-user { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 12px; }
    .pb-header.open .pb-nav, .pb-header.open .pb-user { display: flex; }
    .pb-header .wrap { flex-wrap: wrap; }
    .pb-logo img { height: 38px; }
    .pb-searchbox { max-width: none; }
    .pb-strip .wrap { grid-template-columns: 1fr; }
    .pb-catlist { grid-template-columns: 1fr; }
    .layout-2, .pb-detail, .pb-cathead { grid-template-columns: 1fr; }
    .pb-detail .logo { max-width: 220px; }
    .pb-detail > div:last-child { order: -1; } /* name, call button and address first on phones */
    .pb-bg-section { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) { .pb-hero .slide { transition: none; } .lcard { transition: none; } }

/* Newsletter band (footer) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Promo banners (Admin → Banners) */
.pb-hero-cta { margin: 0 0 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: #fff; font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.pb-hero-cta[hidden] { display: none; }
.pb-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pb-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 150px; padding: 18px; border-radius: var(--pb-radius); background: var(--pb-blue) center/cover no-repeat; color: #fff; overflow: hidden; text-decoration: none; isolation: isolate; }
.pb-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.65)); z-index: -1; }
.pb-promo strong { font-size: 19px; }
.pb-promo span { font-size: 13.5px; opacity: .9; }
.pb-promo em { font-style: normal; font-weight: 700; color: var(--pb-yellow); font-size: 13.5px; }
a.pb-promo:hover { color: #fff; box-shadow: var(--pb-shadow); }
.pb-promo.side { min-height: 180px; margin-top: 16px; }

/* Deals, events, jobs, classifieds, properties */
.pb-market-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.pb-market-head h1 { margin: 0 0 4px; font-size: 26px; }
.pb-market-head p { margin: 0; }
.pb-market-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pb-market-tabs a { padding: 7px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--pb-line); color: var(--pb-ink); font-size: 14px; }
.pb-market-tabs a.on { background: var(--pb-black); color: #fff; border-color: var(--pb-black); }
.pb-market-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pb-market-filter input { flex: 1 1 200px; margin: 0; }
.pcard .badge { font-size: 11px; }
.pcard .fact { font-weight: 700; color: var(--pb-blue); font-size: 14px; margin-top: 4px; }
.pb-post { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.pb-post h1 { font-size: 26px; margin: 8px 0 12px; }
.pb-post-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--pb-radius); margin-bottom: 14px; }
.pb-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; font-size: 15px; }
.pb-facts dt { color: var(--pb-muted); }
.pb-facts dd { margin: 0; }
.pb-coupon { background: var(--pb-yellow); padding: 2px 8px; border-radius: 4px; font-weight: 700; letter-spacing: .05em; }
.pb-post-body { line-height: 1.7; }
@media (max-width: 860px) { .pb-post { grid-template-columns: 1fr; } }
.pb-approx { font-weight: 400; color: var(--pb-muted); font-size: .8em; white-space: nowrap; }
.pb-hero-cta span { background: rgba(0,0,0,.5); padding: 5px 10px; border-radius: 4px; }

/* Sponsored results */
.pb-sponsored { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--pb-line); }
.pb-ad { position: relative; display: flex; }
.pb-ad > .lcard { flex: 1; outline: 2px solid var(--pb-yellow); }
.pb-ad-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: var(--pb-black); color: var(--pb-yellow); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; }

/* Bookings */
.pb-step { font-size: 16px; margin: 20px 0 8px; }
.pb-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.pb-choice { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 2px solid var(--pb-line); border-radius: var(--pb-radius); color: var(--pb-ink); text-decoration: none; background: #fff; }
.pb-choice.on { border-color: var(--pb-yellow-dark); background: #fffbe6; }
.pb-choice span { font-size: 13px; }
.pb-choice small { color: var(--pb-muted); }
.pb-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-slots label { margin: 0; }
.pb-slots input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-slots span { display: inline-block; padding: 8px 12px; border: 1px solid var(--pb-line); border-radius: 4px; cursor: pointer; background: #fff; font-size: 14px; }
.pb-slots input:checked + span { background: var(--pb-black); color: var(--pb-yellow); border-color: var(--pb-black); }
.pb-slots input:focus-visible + span { outline: 2px solid var(--pb-blue); outline-offset: 2px; }
.pb-svc { display: grid; grid-template-columns: 2fr 90px 110px 90px auto auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--pb-line); }
.pb-svc input { margin: 0; }
@media (max-width: 760px) { .pb-svc { grid-template-columns: 1fr 1fr; } }

/* Shop */
.prod .thumb { aspect-ratio: 1 / 1; }
.pb-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.pb-prod-img { aspect-ratio: 1 / 1; border-radius: var(--pb-radius); background: #e9ebef center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 60px; color: #b8bcc4; }
.pb-price { font-size: 28px; font-weight: 700; }
.pb-cart-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pb-line); }
.pb-cart-line .img { width: 64px; height: 64px; border-radius: 4px; background: #e9ebef center/cover no-repeat; flex: none; }
.pb-cart-sum { display: flex; justify-content: flex-end; gap: 18px; align-items: baseline; padding-top: 10px; font-size: 14px; flex-wrap: wrap; }
.pb-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 16px; counter-reset: s; }
.pb-track li { position: relative; padding-top: 30px; text-align: center; font-size: 13px; color: var(--pb-muted); }
.pb-track li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: var(--pb-line); color: #fff; font-weight: 700; z-index: 1; }
.pb-track li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--pb-line); }
.pb-track li:first-child::after { display: none; }
.pb-track li.done { color: var(--pb-ink); }
.pb-track li.done::before { background: var(--pb-green); content: "✓"; }
.pb-track li.done::after { background: var(--pb-green); }
.pb-track span { display: block; font-size: 11px; color: var(--pb-muted); }
@media (max-width: 760px) { .pb-prod { grid-template-columns: 1fr; } }
@media print { .pb-header, .pb-footer, .no-print, .crumbs { display: none !important; } .pb-invoice { box-shadow: none; } }

/* ---- Forums ---- */
.pb-forum-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.pb-forum-cat { display: flex; gap: 14px; align-items: flex-start; color: var(--pb-ink); text-decoration: none !important; }
.pb-forum-cat > i { font-size: 22px; color: var(--pb-blue); background: #fff7d1; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; flex: none; }
.pb-forum-cat span { display: flex; flex-direction: column; gap: 2px; }
.pb-forum-cat:hover strong { text-decoration: underline; }
.pb-topics { list-style: none; padding: 0 !important; margin: 0 0 14px; }
.pb-topic { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--pb-line); align-items: center; }
.pb-topic:last-child { border-bottom: 0; }
.pb-topic-title { font-weight: 700; font-size: 16px; margin-right: 6px; }
.pb-topic-stats { display: flex; gap: 14px; color: var(--pb-muted); font-size: 13px; white-space: nowrap; }
.pb-fpost { margin-bottom: 12px; }
.pb-fpost.answer { border-left: 4px solid var(--pb-green); }
.pb-fpost-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.pb-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--pb-blue); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.pb-fpost-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--pb-line); padding-top: 8px; margin-top: 8px; }
.pb-vote { display: inline-flex; gap: 6px; align-items: center; }
.pb-vote .linkbtn { font-size: 16px; color: var(--pb-muted); }
.pb-vote .linkbtn.on { color: var(--pb-blue); }
.pb-freport summary { cursor: pointer; color: var(--pb-muted); }
.pb-freport form { display: flex; gap: 6px; align-items: end; flex-wrap: wrap; margin-top: 6px; }
.pb-fmod { margin-left: auto; display: inline-flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
    .pb-topic { flex-direction: column; align-items: flex-start; }
    .pb-fmod { margin-left: 0; }
}
.pb-bell { position: relative; }
.pb-bell-n { position: absolute; top: -7px; right: -9px; background: var(--pb-red); color: #fff; font-size: 10px; font-weight: 700; border-radius: 99px; padding: 1px 5px; line-height: 1.3; }

/* ---- Listing extras: portfolio, videos, documents, branches, franchises ---- */
.pb-extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pb-extra { margin: 0; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); overflow: hidden; background: #fff; }
.pb-extra img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pb-extra figcaption { padding: 8px 10px; font-size: 14px; }
.pb-extra form { padding: 0 10px 8px; }
.pb-extras-list { list-style: none; padding: 0; margin: 0 0 12px; }
.pb-extras-list li { padding: 7px 0; border-bottom: 1px solid var(--pb-line); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pb-extras-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; align-items: end; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--pb-line); }
.pb-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.pb-videos figure { margin: 0; }
.pb-videos figcaption { font-size: 14px; margin-top: 4px; }
.pb-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--pb-radius); overflow: hidden; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-branches { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pb-branches li { border: 1px solid var(--pb-line); border-radius: var(--pb-radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.pb-franchises { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.pb-franchise-card { display: flex; gap: 14px; align-items: flex-start; }
.pb-franchise-card h2 { font-size: 17px; margin: 0; }
.pb-franchise-card .thumb { width: 84px; height: 84px; flex: none; border-radius: var(--pb-radius); background: #f1f3f6 center / cover no-repeat; display: grid; place-items: center; color: var(--pb-muted); font-size: 26px; }
@media (max-width: 480px) { .pb-franchises { grid-template-columns: 1fr; } }
.pb-or { display: flex; align-items: center; gap: 10px; color: var(--pb-muted); font-size: 13px; margin: 16px 0 12px; }
.pb-or::before, .pb-or::after { content: ""; flex: 1; border-top: 1px solid var(--pb-line); }
.pb-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: #f8fafc; border: 1px dashed var(--pb-line); padding: 12px 16px; border-radius: var(--pb-radius); max-width: 360px; }
.pb-qr { width: 200px; height: 200px; background: #fff; padding: 8px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); }
