@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=PT+Serif:wght@400;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --paper: #ffffff;
  --paper-deep: #f4f7fb;
  --ink: #1c2733;
  --ink-soft: #64707d;
  --rule: #e5e9f0;
  --red: #d0203a;
  --red-soft: rgba(208,32,58,0.08);
  --green: #16a34a;
  --green-soft: rgba(22,163,74,0.08);
  --pastel-blue: #dff3fb;
  --pastel-blue-deep: #b9e6f5;
  --pastel-pink: #fde3e6;
  --pastel-pink-deep: #fbc7cd;
  --pastel-yellow: #fdf1d6;
  --pastel-yellow-deep: #fadfa2;
}

*{box-sizing:border-box; margin:0; padding:0;}
body{background:var(--paper); color:var(--ink); font-family:'PT Serif',serif;}
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px 60px;}

/* MASTHEAD */
.masthead{background:var(--paper);}
.edition-line{display:flex; justify-content:space-between; padding:14px 28px 10px; max-width:1180px; margin:0 auto; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.04em; color:var(--ink-soft); flex-wrap:wrap; gap:6px;}
.nameplate-row{text-align:center; padding:6px 0 4px;}
.nameplate-link{display:inline-block;}
.nameplate-logo{height:88px; width:auto; max-width:100%; display:block; margin:0 auto;}
.tagline-row{display:flex; justify-content:space-between; align-items:center; padding:8px 0 16px; max-width:1180px; margin:0 auto; flex-wrap:wrap; gap:10px;}
.tagline{font-style:italic; color:var(--ink-soft); font-size:14px;}
.tagline-sub{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--red); text-transform:uppercase; letter-spacing:0.03em; font-weight:700;}
.list-cta{background:var(--red); color:#fff; padding:11px 22px; font-weight:700; font-size:12.5px; text-decoration:none; letter-spacing:0.02em; font-family:'IBM Plex Mono',monospace; border-radius:999px; box-shadow:0 4px 14px rgba(208,32,58,0.28);}

/* ===================== Capsule nav pills (magicHomes-style) ===================== */
.nav-pill{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:700;
  color:var(--ink-soft); text-decoration:none !important;
  padding:8px 16px; border-radius:999px; border:1.5px solid var(--rule);
  background:#fff; transition:all 0.15s ease; white-space:nowrap;
}
.nav-pill:hover{background:var(--paper-deep); border-color:var(--ink-soft); color:var(--ink);}
.nav-pill.nav-pill-accent{border-color:var(--red); color:var(--red);}
.nav-pill.nav-pill-accent:hover{background:var(--red-soft);}
.rule-thick{height:4px; background:var(--rule);}
.rule-thin{height:1px; background:var(--rule); margin-top:3px; opacity:0.5;}

.brand{display:none;} /* legacy class no longer used */

/* HERO / LEAD STORY */
.hero{max-width:800px; margin:34px auto 20px; text-align:center;}
.hero-eyebrow{font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:0.08em; color:var(--red); margin-bottom:14px; text-transform:uppercase;}
.hero h1{font-family:'Playfair Display',serif; font-size:44px; line-height:1.15; font-weight:800;}
.hero h1 span{color:var(--red); font-style:italic;}
.hero-sub{margin-top:16px; color:var(--ink-soft); font-size:16px; line-height:1.65; max-width:620px; margin-left:auto; margin-right:auto;}

/* AD CAROUSEL — highlighted sponsored strip */
.ad-section{margin:30px 0 10px; border-top:3px double var(--rule); border-bottom:3px double var(--rule); padding:16px 0;}
.ad-section-label{text-align:center; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; color:var(--red); margin-bottom:14px; font-weight:600;}
.ad-carousel{display:flex; gap:16px; overflow-x:auto; scroll-behavior:smooth; padding-bottom:6px; scrollbar-width:thin;}
.ad-carousel::-webkit-scrollbar{height:5px;}
.ad-carousel::-webkit-scrollbar-thumb{background:var(--ink-soft); }
.ad-card{flex:0 0 220px; background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:12px; box-shadow:0 3px 12px rgba(28,26,23,0.08); text-decoration:none; color:var(--ink); display:flex; flex-direction:column; overflow:hidden;}
.ad-img{width:100%; height:120px; background:var(--paper-deep); overflow:hidden;}
.ad-img img{width:100%; height:100%; object-fit:cover;}
.ad-info{padding:10px 12px;}
.ad-name{font-family:'Playfair Display',serif; font-weight:800; font-size:14.5px; line-height:1.25;}
.ad-address{font-size:11px; color:var(--ink-soft); margin-top:5px;}
.ad-contact{font-size:11.5px; color:var(--red); margin-top:3px; font-weight:700; font-family:'IBM Plex Mono',monospace;}

/* SEARCH — styled like a classifieds lookup box */
.search-bar{background:#fff; border:1px solid rgba(28,26,23,0.1); border-radius:14px; box-shadow:0 4px 16px rgba(28,26,23,0.08); padding:20px; display:flex; gap:12px; margin:26px 0 18px; flex-wrap:wrap;}
.search-bar input, .search-bar select{background:var(--paper); border:1px solid var(--ink-soft); border-radius:8px; color:var(--ink); padding:12px 14px; font-size:14px; font-family:'PT Serif',serif;}
.search-bar input{flex:1; min-width:180px;}
.search-bar select{min-width:160px;}
.search-btn{background:var(--red); color:var(--paper); border:none; border-radius:999px; padding:12px 26px; font-weight:700; font-size:13px; letter-spacing:0.04em; cursor:pointer; font-family:'IBM Plex Mono',monospace; text-transform:uppercase; box-shadow:0 3px 10px rgba(208,32,58,0.25);}

/* SECTION TABS (category chips) */
.chips{display:flex; gap:0; flex-wrap:wrap; margin-bottom:6px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);}
.chip{color:var(--ink-soft); padding:11px 18px; font-size:12px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; text-decoration:none; border-right:1px solid var(--rule); font-family:'IBM Plex Mono',monospace;}
.chip.active{background:var(--ink); color:var(--paper);}

.area-head{display:flex; justify-content:space-between; align-items:baseline; margin:26px 0 18px; flex-wrap:wrap; gap:8px; border-bottom:2px solid var(--rule); padding-bottom:10px;}
.area-head h2{font-family:'Playfair Display',serif; font-size:26px; font-style:italic;}
.area-head span{color:var(--ink-soft); font-size:12.5px; font-family:'IBM Plex Mono',monospace;}

/* SHOP GRID — front-page clipping style */
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:50px;}
.card{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:14px; box-shadow:0 2px 8px rgba(28,26,23,0.06); padding:22px; display:flex; flex-direction:column; gap:10px; text-decoration:none; color:var(--ink); transition:transform 0.15s ease, box-shadow 0.15s ease;}
.card:hover{transform:translateY(-3px); box-shadow:0 10px 22px rgba(28,26,23,0.1);}
.card > .btn-call{flex:none; width:100%;}
.call-whatsapp-row{display:flex; gap:8px; margin-top:10px;}
.call-whatsapp-row .btn-call{flex:1; padding:11px 8px; font-size:13px;}
.btn-whatsapp-fill{flex:1; background:var(--green); color:#fff; border:none; border-radius:10px; padding:11px 8px; font-weight:800; font-size:13px; cursor:pointer; font-family:'PT Serif',serif;}
.card-img{width:100%; height:130px; background:var(--paper-deep); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:34px; overflow:hidden; filter:grayscale(0.15);}
.card-img img{width:100%; height:100%; object-fit:cover;}
.card-top{display:flex; justify-content:space-between; align-items:flex-start; gap:8px;}
.shop-name{font-family:'Playfair Display',serif; font-weight:800; font-size:19px; line-height:1.25;}
.shop-cat{color:var(--ink-soft); font-size:11px; margin-top:4px; text-transform:uppercase; letter-spacing:0.05em; font-family:'IBM Plex Mono',monospace;}
.status{display:inline-flex; align-items:center; gap:5px; font-size:10.5px; font-weight:700; padding:4px 9px; white-space:nowrap; letter-spacing:0.03em; font-family:'IBM Plex Mono',monospace; text-transform:uppercase;}
.status.open{background:var(--green-soft); color:var(--green); border:1px solid var(--green);}
.status.closed{background:var(--red-soft); color:var(--red); border:1px solid var(--red);}
.pulse{width:6px; height:6px; border-radius:50%; background:currentColor; animation:pulse 1.8s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.3;}}
.offer{border-top:1px dashed var(--ink-soft); border-bottom:1px dashed var(--ink-soft); color:var(--red); font-size:13px; font-style:italic; padding:8px 0;}
.stats-row{display:flex; gap:16px; font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--ink-soft); border-top:1px solid var(--rule); padding-top:10px;}
.stats-row b{color:var(--ink); font-size:14px; display:block; font-family:'Playfair Display',serif;}
.card-actions{display:flex; gap:8px; margin-top:2px; flex-wrap:wrap;}
.act-btn{flex:1; text-align:center; padding:9px 0; font-size:11.5px; font-weight:700; border:1.5px solid var(--ink); border-radius:8px; color:var(--ink); background:transparent; cursor:pointer; font-family:'IBM Plex Mono',monospace; letter-spacing:0.02em; text-transform:uppercase; transition:transform 0.1s ease;}
.act-btn:hover{transform:translateY(-1px);}
.act-btn.like{border-color:var(--red); color:var(--red);}
.act-btn.visit{background:var(--ink); color:var(--paper);}
.act-btn.done{opacity:0.45; cursor:not-allowed;}
.gmaps-link{color:var(--ink); font-size:11.5px; font-weight:700; text-decoration:underline; margin-top:2px; font-family:'IBM Plex Mono',monospace;}

/* FORM PAGES — classified-ad submission style */
.form-card{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:16px; box-shadow:0 6px 20px rgba(28,26,23,0.08); padding:32px; max-width:540px; margin:30px auto;}
.form-card h2{font-family:'Playfair Display',serif; font-size:26px; margin-bottom:8px;}
.form-card p.sub{color:var(--ink-soft); font-size:13.5px; margin-bottom:22px; font-style:italic;}
.form-group{margin-bottom:16px;}
.form-group label{display:block; font-size:11.5px; color:var(--ink-soft); margin-bottom:6px; text-transform:uppercase; letter-spacing:0.04em; font-family:'IBM Plex Mono',monospace;}
.form-group input, .form-group select, .form-group textarea{width:100%; background:var(--paper); border:1px solid var(--ink-soft); color:var(--ink); padding:11px 13px; font-size:14px; font-family:'PT Serif',serif;}
.form-btn{width:100%; background:var(--red); color:var(--paper); border:none; border-radius:999px; padding:14px 0; font-weight:700; font-size:13px; cursor:pointer; margin-top:6px; font-family:'IBM Plex Mono',monospace; letter-spacing:0.04em; text-transform:uppercase; box-shadow:0 4px 14px rgba(208,32,58,0.25); transition:transform 0.1s ease;}
.form-btn:hover{transform:translateY(-1px);}
.msg{padding:11px 14px; font-size:13.5px; margin-bottom:14px; border:1px solid;}
.msg.success{background:var(--green-soft); color:var(--green); border-color:var(--green);}
.msg.error{background:var(--red-soft); color:var(--red); border-color:var(--red);}

/* BUSINESS DETAIL PAGE — JustDial-style layout */
.breadcrumb{font-size:12.5px; color:var(--ink-soft); margin:18px 0 6px; font-family:'IBM Plex Mono',monospace;}
.breadcrumb a{color:var(--ink-soft); text-decoration:none;}
.breadcrumb a:hover{text-decoration:underline;}
.breadcrumb span{color:var(--ink); font-weight:700;}

.biz-header{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:16px; box-shadow:0 4px 16px rgba(28,26,23,0.06); padding:26px 28px; margin:14px 0 0;}
.biz-header-top{display:flex; align-items:center; gap:12px; flex-wrap:wrap;}
.biz-title{font-family:'Playfair Display',serif; font-size:28px; font-weight:800; margin:0;}
.biz-tags{display:flex; gap:8px; flex-wrap:wrap; margin-left:auto;}
.tag-pill{background:var(--paper-deep); color:var(--ink-soft); font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:0.02em; padding:6px 12px; border-radius:20px;}

.biz-meta-row{display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:12px; font-size:13.5px; color:var(--ink-soft);}
.rating-badge{background:var(--green); color:#fff; font-weight:800; font-size:13.5px; padding:4px 10px; border-radius:8px;}
.rating-count-text{color:var(--ink-soft); font-size:13px;}
.meta-dot{color:var(--ink-soft);}
.meta-open{color:var(--green); font-weight:700;}
.meta-closed{color:var(--red); font-weight:700;}

.biz-action-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; align-items:center;}
.btn-call{background:var(--green); color:#fff; border:none; border-radius:10px; padding:13px 22px; font-weight:800; font-size:14.5px; cursor:pointer; box-shadow:0 4px 14px rgba(45,122,79,0.28); font-family:'PT Serif',serif;}
.btn-whatsapp{background:#fff; color:var(--green); border:1.5px solid var(--green); border-radius:10px; padding:12px 20px; font-weight:700; font-size:13.5px; cursor:pointer; font-family:'PT Serif',serif;}
.btn-icon{width:44px; height:44px; border-radius:50%; border:1px solid var(--ink-soft); display:flex; align-items:center; justify-content:center; text-decoration:none; color:var(--ink); font-size:16px;}

.tab-nav{display:flex; gap:28px; border-bottom:1.5px solid var(--rule); margin:26px 0 0; overflow-x:auto;}
.tab-link{padding:12px 2px; font-family:'IBM Plex Mono',monospace; font-size:12.5px; text-transform:uppercase; letter-spacing:0.03em; color:var(--ink-soft); cursor:pointer; white-space:nowrap; border-bottom:2.5px solid transparent;}
.tab-link.active{color:var(--red); border-bottom-color:var(--red); font-weight:700;}

.biz-layout{display:grid; grid-template-columns:1fr 320px; gap:26px; margin-top:24px; align-items:start;}
.panel-heading{font-family:'Playfair Display',serif; font-size:17px; font-weight:800; margin-bottom:6px;}
.biz-sidebar{position:sticky; top:20px;}
.contact-card{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:16px; box-shadow:0 4px 16px rgba(28,26,23,0.06); padding:22px;}

.reviews{margin-top:10px;}
.photo-gallery-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr)); gap:12px;}
.review-item{border-bottom:1px dashed var(--ink-soft); padding:16px 0;}
.review-item .rname{font-weight:700; font-size:13.5px; font-family:'IBM Plex Mono',monospace;}
.review-item .rdate{color:var(--ink-soft); font-size:11px; margin-left:8px; font-family:'IBM Plex Mono',monospace;}
.review-item p{margin-top:6px; font-size:15px; color:var(--ink); font-style:italic;}

@media (max-width:860px){
  .biz-layout{grid-template-columns:1fr;}
  .biz-sidebar{position:static;}
  .biz-tags{margin-left:0;}
  .grid{grid-template-columns:1fr;}
  .nameplate-logo{height:60px;}
  .hero h1{font-size:30px;}
}

@media (max-width:640px){
  .biz-header{padding:18px 16px;}
  .biz-title{font-size:22px;}
  .biz-action-row{flex-wrap:wrap;}
  .btn-call, .btn-whatsapp{flex:1 1 140px; text-align:center; padding:12px 10px; font-size:13px;}
}

/* MOBILE MASTHEAD COMPRESSION — tighten logo/tagline/quick-action spacing so
   the search bar is visible on the first screen without scrolling. */
@media (max-width:640px){
  .edition-line{padding:8px 16px 4px; font-size:9.5px; gap:3px;}
  .nameplate-row{padding:2px 0;}
  .nameplate-logo{height:44px;}
  .tagline-row{padding:2px 0 4px !important; gap:2px;}
  .tagline{font-size:11.5px; line-height:1.3;}
  .tagline-sub{font-size:9px; line-height:1.3;}
  .search-bar{padding:14px; margin:10px 0 12px; gap:8px;}
  .search-bar input, .search-bar select{padding:10px 12px; font-size:13px;}
  .wrap{padding:0 16px 40px;}
}

/* MOBILE QUICK ACTIONS — fills the empty masthead gap on phones with 3
   buttons (List Business / Contact / Share), since the desktop top-nav
   links are hidden there and the bottom tab bar sits far below the fold. */
.mobile-quick-actions{display:none;}
@media (max-width:640px){
  .mobile-quick-actions{
    display:flex; gap:6px; margin:8px 0 2px; flex-wrap:wrap;
  }
  .mqa-btn{
    flex:1 1 auto; text-align:center; padding:9px 8px; border-radius:999px;
    font-family:'IBM Plex Mono',monospace; font-size:9.5px; font-weight:700;
    text-transform:uppercase; letter-spacing:0.01em; text-decoration:none;
    border:1.5px solid var(--rule); color:var(--ink); white-space:nowrap; background:#fff;
  }
  .mqa-primary{background:var(--red); color:#fff; border-color:var(--red);}
  .mqa-whatsapp{background:#25d366; color:#fff; border-color:#25d366;}
}

/* MOBILE BOTTOM NAV — sticky app-style tab bar, JustDial-like */
.mobile-bottom-nav{display:none;}
@media (max-width:640px){
  .top-nav-actions{display:none !important;}
  .desktop-nav-row{display:none !important;}
}
@media (max-width:640px){
  body{padding-bottom:66px;}
  .mobile-bottom-nav{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:500;
    background:#fff; border-top:1px solid rgba(28,26,23,0.1);
    box-shadow:0 -4px 14px rgba(28,26,23,0.08);
  }
  .mnav-item{flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; padding:9px 4px 8px; text-decoration:none; color:var(--ink-soft);}
  .mnav-icon{font-size:19px;}
  .mnav-label{font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:0.01em;}
  .mnav-item.active{color:var(--red);}
  .mnav-item-cta .mnav-icon{background:var(--red); color:#fff; width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; margin-top:-14px; box-shadow:0 3px 8px rgba(208,32,58,0.35);}
  .mnav-item-cta.active .mnav-icon{background:var(--red);}
  .mnav-item-cta.active{color:var(--ink-soft);}
}

/* FOOTER + small admin button */
.site-footer{border-top:1px solid var(--rule); margin-top:20px; padding:22px 0;}
.footer-wrap{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;}
.footer-copy{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-soft);}
.admin-btn{background:var(--ink); color:var(--paper); font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; padding:7px 16px; text-decoration:none; border-radius:8px; opacity:0.75;}
.admin-btn:hover{opacity:1;}

/* CATEGORY TILE GRID — JustDial-style browse-by-category, elevated cards */
.cat-tile-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(130px,1fr)); gap:14px; margin-bottom:10px;}
.cat-tile{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:14px; box-shadow:0 2px 6px rgba(28,26,23,0.06); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:20px 10px; text-decoration:none; color:var(--ink); text-align:center; transition:transform 0.15s ease, box-shadow 0.15s ease;}
.cat-tile:hover{transform:translateY(-3px); box-shadow:0 8px 18px rgba(28,26,23,0.12);}
.cat-tile.active{border-color:var(--red); box-shadow:0 0 0 2px var(--red);}
.cat-tile-icon{font-size:26px; width:56px; height:56px; border-radius:50%; background:var(--pastel-blue); display:flex; align-items:center; justify-content:center;}
.cat-tile:nth-child(3n+2) .cat-tile-icon{background:var(--pastel-pink);}
.cat-tile:nth-child(3n+3) .cat-tile-icon{background:var(--pastel-yellow);}
.cat-tile.active .cat-tile-icon{background:var(--red); }
.cat-tile.active{border-color:var(--red);}
.cat-tile-name{font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:0.02em; line-height:1.3; color:var(--ink-soft);}

/* MOBILE — compact 4-per-row app-style grid, like JustDial's category screen */
@media (max-width:640px){
  .cat-tile-grid{grid-template-columns:repeat(4,1fr); gap:10px;}
  .cat-tile{padding:12px 4px; border-radius:12px; gap:6px;}
  .cat-tile-icon{width:42px; height:42px; font-size:19px;}
  .cat-tile-name{font-size:9px;}
}
@media (min-width:641px) and (max-width:860px){
  .cat-tile-grid{grid-template-columns:repeat(5,1fr);}
  .cat-tile-icon{width:48px; height:48px; font-size:22px;}
}

/* PROMO / PRICING BANNER on homepage */
.promo-banner{background:linear-gradient(135deg, var(--pastel-yellow) 0%, var(--pastel-yellow-deep) 100%); color:var(--ink); padding:26px 30px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin:30px 0; border-radius:16px; box-shadow:0 6px 20px rgba(28,26,23,0.06);}
.promo-banner-title{font-family:'Playfair Display',serif; font-size:20px; font-weight:800; color:var(--ink);}
.promo-banner-sub{font-size:13px; color:var(--ink-soft); margin-top:5px;}
.promo-banner a.form-btn{background:var(--red); border-color:var(--red); border-radius:999px; color:#fff;}
.promo-banner a[href="pricing.php"]{color:var(--ink) !important;}

/* STAR RATINGS (read-only display) */
.stars{color:var(--red); font-size:14px; letter-spacing:1px;}
.rating-count{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-soft);}

/* STAR PICKER (review submission widget) */
.star-picker{display:flex; gap:4px; font-size:28px; color:var(--paper-deep); cursor:pointer;}
.star-picker .star-pick{transition:color 0.1s;}
.star-picker .star-pick.selected{color:var(--red);}

/* VERIFIED BADGE (paid plans) */
.verified-badge{display:inline-flex; align-items:center; gap:4px; background:var(--green); color:var(--paper); font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:700; letter-spacing:0.03em; padding:4px 10px; border-radius:20px; text-transform:uppercase;}
.verified-badge.small{padding:3px 8px; font-size:9.5px;}

/* FEATURED CARD highlight for paid/priority listings */
.featured-card{position:relative; box-shadow:0 2px 8px rgba(28,26,23,0.06), inset 0 0 0 2px var(--red);}

/* PLAN PICKER (listing form + upgrade page) */
.plan-picker{margin-top:4px;}
.plan-options{display:grid; grid-template-columns:repeat(3,1fr); gap:10px;}
.plan-opt{display:flex; flex-direction:column; gap:4px; border:1.5px solid var(--ink-soft); border-radius:12px; padding:14px 12px; cursor:pointer; text-align:center; transition:box-shadow 0.15s ease;}
.plan-opt input{position:absolute; opacity:0; pointer-events:none;}
.plan-opt:has(input:checked), .plan-opt.active{border-color:var(--red); background:var(--red-soft); box-shadow:0 4px 14px rgba(208,32,58,0.15);}
.plan-opt-title{font-family:'Playfair Display',serif; font-weight:800; font-size:14px;}
.plan-opt-sub{font-size:11px; color:var(--ink-soft);}
.plan-note{font-size:12px; color:var(--ink-soft); font-style:italic; margin-top:10px;}
@media (max-width:860px){ .plan-options{grid-template-columns:1fr;} }

/* PLAN STATUS BOX (manage / edit pages) */
.plan-status-box{display:flex; gap:14px; flex-wrap:wrap; align-items:center; background:var(--paper-deep); border-radius:12px; padding:12px 16px; margin-bottom:20px; font-size:13px;}
.plan-status-box.small{padding:8px 10px; font-size:11.5px; margin:8px 0 0;}
.expired-text{color:var(--red); font-weight:700;}

/* PRICING PAGE cards */
.pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:30px 0;}
.price-card{background:#fff; border:1px solid rgba(28,26,23,0.08); border-radius:16px; box-shadow:0 4px 16px rgba(28,26,23,0.07); padding:28px 24px; position:relative; display:flex; flex-direction:column; overflow:hidden;}
.price-card.featured{border-color:var(--red); box-shadow:0 10px 28px rgba(208,32,58,0.18); transform:translateY(-6px);}
.price-ribbon{position:absolute; top:14px; right:-32px; background:var(--red); color:var(--paper); font-family:'IBM Plex Mono',monospace; font-size:10px; font-weight:700; letter-spacing:0.04em; padding:5px 40px; transform:rotate(45deg);}
@media (max-width:860px){ .pricing-grid{grid-template-columns:1fr;} .price-card.featured{transform:none;} }
.price-name{font-family:'IBM Plex Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft);}
.price-amount{font-family:'Playfair Display',serif; font-size:38px; font-weight:800; margin-top:6px;}
.price-period{font-size:12.5px; color:var(--ink-soft); margin-bottom:16px;}
.price-features{list-style:none; margin-bottom:20px; flex:1;}
.price-features li{font-size:13.5px; padding:6px 0; border-bottom:1px dashed var(--ink-soft);}

/* LEAD CAPTURE POPUP — "Login for a seamless experience" */
.lead-popup-overlay{position:fixed; inset:0; background:rgba(28,26,23,0.55); display:flex; align-items:center; justify-content:center; z-index:9999; opacity:0; pointer-events:none; transition:opacity 0.25s ease;}
.lead-popup-overlay.show{opacity:1; pointer-events:auto;}
.lead-popup-card{background:#fff; border-radius:20px; box-shadow:0 20px 50px rgba(0,0,0,0.25); padding:30px 26px; max-width:380px; width:90%; text-align:center; position:relative; transform:translateY(20px); transition:transform 0.25s ease;}
.lead-popup-overlay.show .lead-popup-card{transform:translateY(0);}
.lead-popup-close{position:absolute; top:14px; right:16px; background:none; border:none; font-size:16px; color:var(--ink-soft); cursor:pointer; line-height:1;}
.lead-popup-icon{font-size:36px; margin-bottom:8px;}
.lead-popup-title{font-family:'Playfair Display',serif; font-size:20px; font-weight:800; margin-bottom:8px;}
.lead-popup-sub{font-size:13px; color:var(--ink-soft); line-height:1.5; margin-bottom:18px;}
.lead-popup-card .form-group{margin-bottom:12px; text-align:left;}
.lead-popup-card input{width:100%; background:var(--paper); border:1px solid var(--ink-soft); border-radius:8px; color:var(--ink); padding:12px 14px; font-size:14px; font-family:'PT Serif',serif;}
.lead-popup-skip{margin-top:14px; font-size:12px; color:var(--ink-soft); text-decoration:underline; cursor:pointer;}

@media (max-width:640px){
  .lead-popup-overlay{align-items:flex-end;}
  .lead-popup-card{max-width:100%; width:100%; border-radius:20px 20px 0 0; padding-bottom:26px;}
}

/* INSTANT PROMO POPUP — "Connect Locally" branded homepage popup */
.promo-popup-overlay{position:fixed; inset:0; background:rgba(28,26,23,0.6); display:flex; align-items:center; justify-content:center; z-index:9998; opacity:0; pointer-events:none; transition:opacity 0.3s ease; padding:16px;}
.promo-popup-overlay.show{opacity:1; pointer-events:auto;}
.promo-popup-card{
  background:linear-gradient(135deg, var(--red) 0%, #5c130d 100%);
  border-radius:20px; box-shadow:0 24px 60px rgba(0,0,0,0.35);
  max-width:640px; width:100%; padding:38px 34px;
  display:flex; align-items:center; gap:28px; position:relative;
  transform:translateY(24px) scale(0.97); transition:transform 0.3s ease;
}
.promo-popup-overlay.show .promo-popup-card{transform:translateY(0) scale(1);}
.promo-popup-close{position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,0.15); border:none; color:#fff; font-size:15px; cursor:pointer;}
.promo-popup-text{flex:1.3; min-width:0;}
.promo-popup-logo{height:38px; margin-bottom:14px; border-radius:8px;}
.promo-popup-headline{font-family:'Playfair Display',serif; color:#fff; font-size:24px; font-weight:800; line-height:1.25; margin-bottom:12px;}
.promo-popup-sub{color:rgba(255,255,255,0.85); font-size:13.5px; line-height:1.6; margin-bottom:20px;}
.promo-popup-btn-row{display:flex; gap:10px; flex-wrap:wrap;}
.promo-popup-cta{display:inline-flex; align-items:center; gap:8px; background:var(--paper); color:var(--ink); font-weight:800; font-size:14px; padding:13px 22px; border-radius:10px; text-decoration:none; box-shadow:0 6px 16px rgba(0,0,0,0.25); border:none; cursor:pointer; font-family:'PT Serif',serif;}
.promo-popup-cta span{background:var(--ink); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:11px; padding:3px 8px; border-radius:5px;}
.promo-popup-cta-alt{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.6); box-shadow:none; font-size:13.5px; padding:12px 18px;}

.promo-popup-art{flex:1; position:relative; height:180px; display:flex; align-items:center; justify-content:center; min-width:140px;}
.ppa-ring{position:absolute; width:150px; height:150px; border:2px dashed rgba(255,255,255,0.3); border-radius:50%;}
.ppa-center{width:84px; height:84px; border-radius:50%; background:rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; font-size:36px; z-index:1;}
.ppa-badge{position:absolute; width:44px; height:44px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; font-size:19px; box-shadow:0 6px 14px rgba(0,0,0,0.2); z-index:2;}
.ppa-badge-1{top:-6px; left:6px;}
.ppa-badge-2{top:-6px; right:6px; color:var(--green);}
.ppa-badge-3{bottom:-6px; right:6px; color:var(--red);}
.ppa-badge-4{bottom:-6px; left:6px; color:var(--green); font-weight:800;}

@media (max-width:640px){
  .promo-popup-card{flex-direction:column; padding:30px 24px; gap:18px;}
  .promo-popup-headline{font-size:20px;}
  .promo-popup-art{height:150px; order:-1;}
  .ppa-ring{width:120px; height:120px;}
  .ppa-center{width:66px; height:66px; font-size:28px;}
  .ppa-badge{width:38px; height:38px; font-size:16px;}
}

/* ===================== BuyPunePlots additions ===================== */
.wa-fab{position:fixed; right:18px; bottom:86px; z-index:9999; width:58px; height:58px; border-radius:50%; background:#25d366; color:#fff; display:flex; align-items:center; justify-content:center; font-size:28px; text-decoration:none; box-shadow:0 6px 18px rgba(0,0,0,0.25);}
.wa-ring{position:absolute; inset:-6px; border-radius:50%; border:2px solid #25d366; animation:waPulse 1.8s ease-out infinite;}
@keyframes waPulse{0%{transform:scale(0.9); opacity:0.8;} 100%{transform:scale(1.6); opacity:0;}}
.wa-bubble{position:fixed; right:18px; bottom:150px; z-index:9998; background:#fff; border:1.5px solid var(--rule); border-radius:12px; padding:12px 16px; max-width:230px; font-family:'PT Serif',serif; font-size:13px; box-shadow:0 8px 20px rgba(0,0,0,0.18); display:none;}
.wa-bubble.show{display:block; animation:waFadeIn 0.35s ease;}
@keyframes waFadeIn{from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);}}
.wa-bubble-close{position:absolute; top:4px; right:8px; cursor:pointer; font-size:13px; color:var(--ink-soft);}
.match-panel{border:1.5px dashed var(--green); background:var(--green-soft); padding:14px 16px; margin-top:10px; border-radius:8px;}
.match-panel h4{font-family:'Playfair Display',serif; font-size:14px; margin-bottom:8px;}
.match-row{display:flex; justify-content:space-between; font-size:12.5px; padding:6px 0; border-bottom:1px dashed var(--rule);}
.badge-pending{background:#c98a12; color:#fff; font-size:10.5px; padding:3px 9px; border-radius:20px; font-family:'IBM Plex Mono',monospace; font-weight:700;}
.badge-approved{background:var(--green); color:#fff; font-size:10.5px; padding:3px 9px; border-radius:20px; font-family:'IBM Plex Mono',monospace; font-weight:700;}
.badge-paid{background:var(--red); color:#fff; font-size:10.5px; padding:3px 9px; border-radius:20px; font-family:'IBM Plex Mono',monospace; font-weight:700;}
.role-switch{display:flex; gap:14px; margin-bottom:22px; flex-wrap:wrap;}
.role-switch a{flex:1; min-width:220px; text-align:center; padding:20px 16px; border:none; text-decoration:none; color:var(--ink); font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:700; border-radius:16px; transition:transform 0.15s ease;}
.role-switch a:hover{transform:translateY(-2px);}
.role-switch a:nth-child(1){background:var(--pastel-blue);}
.role-switch a:nth-child(1):hover{background:var(--pastel-blue-deep);}
.role-switch a:nth-child(2){background:var(--pastel-pink);}
.role-switch a:nth-child(2):hover{background:var(--pastel-pink-deep);}
.legal-body h2{font-family:'Playfair Display',serif; font-size:19px; margin:22px 0 8px;}
.legal-body p, .legal-body li{font-size:13.5px; color:var(--ink-soft); line-height:1.8; margin-bottom:6px;}
footer.site-footer .footer-links a{color:var(--ink-soft); text-decoration:underline; font-size:11.5px; margin:0 6px;}

/* ===================== Admin panel ===================== */
.admin-nav{display:flex; flex-wrap:wrap; gap:6px; padding:14px 0; border-bottom:2px solid var(--rule); margin-bottom:22px;}
.admin-nav a{font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:700; padding:8px 12px; border:1.5px solid var(--rule); text-decoration:none; color:var(--ink); border-radius:6px;}
.admin-nav a.active, .admin-nav a:hover{background:var(--ink); color:var(--paper);}
.admin-stats-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:26px;}
.admin-stat-card{border:1.5px solid var(--rule); padding:16px; text-align:center; border-radius:8px; background:var(--paper-deep);}
.admin-stat-num{font-family:'Playfair Display',serif; font-size:30px; font-weight:900;}
.admin-stat-label{font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--ink-soft); margin-top:4px; text-transform:uppercase;}
.admin-table{width:100%; border-collapse:collapse; margin-bottom:30px; font-size:13px;}
.admin-table th{text-align:left; font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; padding:10px 8px; border-bottom:2px solid var(--rule); color:var(--ink-soft);}
.admin-table td{padding:10px 8px; border-bottom:1px solid var(--paper-deep); vertical-align:middle;}
.admin-table tr:hover{background:var(--paper-deep);}
.admin-actions a, .admin-actions button{font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:700; padding:5px 10px; border:1.5px solid var(--rule); border-radius:5px; text-decoration:none; color:var(--ink); background:none; cursor:pointer; margin-right:4px; display:inline-block; margin-bottom:4px;}
.admin-actions a.approve, .admin-actions button.approve{border-color:var(--green); color:var(--green);}
.admin-actions a.reject, .admin-actions button.reject, .admin-actions a.delete, .admin-actions button.delete{border-color:var(--red); color:var(--red);}
.admin-section-title{font-family:'Playfair Display',serif; font-size:20px; font-weight:800; margin:26px 0 12px;}
.admin-filter-bar{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px;}
.admin-filter-bar input, .admin-filter-bar select{padding:8px 10px; border:1.5px solid var(--rule); border-radius:6px; font-family:'PT Serif',serif; font-size:13px;}
.expired-text{color:var(--red);}
.plan-status-box.small{display:flex; gap:10px; flex-wrap:wrap; font-size:11.5px; align-items:center;}
.verified-badge.small{font-size:10px; padding:2px 7px;}
.stats-row{font-size:11.5px; color:var(--ink-soft); font-family:'IBM Plex Mono',monospace;}
.plan-opt.active{background:var(--ink); color:var(--paper);}
.plan-opt.active .plan-opt-sub{color:#ddd;}
.tab-panel{padding-top:6px;}
