/* ============================================================
   DL SIMPLE MODE — 2026-07 (v2 — with REAL business.html selectors)
   ------------------------------------------------------------
   Global CSS that soft-hides features across all pages during
   the "radically simple directory" pivot.

   REVERSIBILITY: To restore any feature, comment out the
   relevant block below and push. Data + backend intact.
============================================================ */

/* ===== BUSINESS DETAIL PAGE (business.html) — reviews, ratings, USP ===== */
#reviewsAnchor,
#reviewsList,
#reviewToggleBtn,
#reviewFormWrap,
#addReviewBtn,
#writeReviewForm,
#reviewFormModal,
.reviews-list,
.review,
.review-card,
.review--hidden,
#ratingBreakdown,
.biz-rating-row,
.biz-rating,
#bizRating,
.biz-usp,
#uspBox,
#mmtStatStrip,
.sh-tile.rating,
.prem-meta-chip.prem-rating,
.prem-rating,
[data-hide-in-strict],
.rating-badge,
.rating-pill,
.star-rating,
.rating-stars {
  display: none !important;
}

/* Header rating pill in banner ("5.0 · 12 reviews") */
.biz-hero-rating,
.hero-rating-pill,
[data-pill="rating"] {
  display: none !important;
}

/* Photo gallery — keep MAIN photo, hide thumbnail row */
#galleryThumbs,
.gallery-thumbs,
.gallery-thumbnails {
  display: none !important;
}

/* Individual thumbnails beyond first (fallback if #galleryThumbs missing) */
#galleryThumbs > *:nth-child(n+2),
.gallery-thumbs > *:nth-child(n+2) {
  display: none !important;
}

/* Full photo gallery viewer / lightbox trigger */
.gallery-viewer,
#photoLightbox,
.photo-count-badge,
.view-all-photos {
  display: none !important;
}

/* ===== HOMEPAGE (index.html) — reviews ticker, top rankings, deals ===== */
#featuredReviews,
.featured-reviews,
#realCustomerVoices,
#voiceOfCustomers,
[data-section="voice-of-customers"],
#topRankings,
.top-10-section,
.top-rankings,
[data-section="top-rankings"],
#mostLovedSection,
.medal-badge,
.rank-position,
#dealsSection,
.deals-section,
[data-section="deals"],
#todaysOffers,
.today-offers-section,
.deal-card,
#featuredShopWeek,
.featured-shop-week,
[data-section="featured-week"],
#spotlightShop,

/* Homepage — "What's New / Just landed on DukanList" feature updates grid */
#whats-new,

/* Homepage — "Real Customer Voices / 5-star reviews" testimonials */
#custTest,

/* Homepage — "Spotlight of the Week / Spotlight on a local legend" */
#fsotw {
  display: none !important;
}

/* ===== DISCOVER FEED (public) ===== */
a[href*="/discover"],
a[href="/discover.html"],
#discoverNavLink,
.nav-discover,
.discover-card,
#discoverPill {
  display: none !important;
}

/* ===== OWNER PANEL (panel/dashboard.html) — analytics, poster tools ===== */
#profileViewsKpi,
#callsKpi,
#whatsappKpi,
.owner-analytics-widget,
[data-owner-feature="analytics"],
#trustScoreCard,
#profileCompletenessCard,
#reviewsWidget,
.reviews-widget,
#ownerReviewsPanel,
[data-owner-feature="reviews"],
[data-owner-feature="poster"],
[data-owner-feature="qr"],
[data-owner-feature="deals"] {
  display: none !important;
}

/* Panel nav links to hidden pages */
nav a[href*="/panel/poster"],
nav a[href*="/panel/qr"],
nav a[href*="/panel/digital-card"],
nav a[href*="/panel/get-reviews"],
nav a[href*="/panel/deals"],
nav a[href*="/panel/analytics"],
nav a[href*="/panel/reviews"],
nav a[href*="/panel/services"],
nav a[href*="/panel/favorites"] {
  display: none !important;
}

/* Quick Actions grid cards (dashboard.html) — hide killed feature tiles */
.qa[href*="/panel/analytics"],
.qa[href*="/panel/deals"],
.qa[href*="/panel/get-reviews"],
.qa[href*="/panel/reviews"],
.qa[href*="/panel/qr"],
.qa[href*="/panel/poster"],
.qa[href*="/panel/digital-card"],
.qa[href*="/panel/services"],
.qa[href*="/panel/favorites"],
.qa[href*="/panel/recommendations"],
/* Sidebar Quick Actions widget tiles */
.qa-tile[href*="/panel/analytics"],
.qa-tile[href*="/panel/deals"],
.qa-tile[href*="/panel/get-reviews"],
.qa-tile[href*="/panel/reviews"],
.qa-tile[href*="/panel/qr"],
.qa-tile[href*="/panel/poster"],
.qa-tile[href*="/panel/digital-card"],
.qa-tile[href*="/panel/services"],
.qa-tile[href*="/panel/favorites"],
.qa-tile[href*="/panel/recommendations"] {
  display: none !important;
}

/* Hide USP display card on dashboard (USP is no longer public) */
.card:has(#uspDisp) {
  display: none !important;
}

/* ============================================================
   MORE DASHBOARD CLEANUP (2026-07 v4 — owner request)
   Remove: Verified banner, KPI stats grid, Share my stats,
   Recent Activity feed, WhatsApp Status Poster, Your Ranking,
   Your Activity 24h, mini pulse
============================================================ */

/* Verified Shop Blue Tick banner (dynamically rendered green box) */
.verified-shop-banner,
#verifiedShopBanner,
[data-widget="verified-shop"] {
  display: none !important;
}

/* KPI stats grid (Profile Views, Calls+WA, Rating, Trust Score) */
.dash-grid {
  display: none !important;
}
.dash-grid .kpi,
.kpi.rating,
.trust-score-card {
  display: none !important;
}

/* "Share my stats" button */
#shareStatsBtn,
.share-stats-btn,
button[onclick*="shareStats"],
a[onclick*="shareStats"] {
  display: none !important;
}

/* WhatsApp Status Poster sidebar widget */
.side-widget:has(> .side-widget-title span[data-i18n-en="WhatsApp Status Poster"]),
.side-widget:has(a[href*="/panel/poster-studio"]) {
  display: none !important;
}

/* Your Ranking widget */
#rankWidget,
.side-widget:has(> .side-widget-title span[data-i18n-en="Your Ranking"]) {
  display: none !important;
}

/* Your Activity (24h) widget — with streak/customers contacted/rating */
.side-widget:has(> .side-widget-title span[data-i18n-en="Your Activity (24h)"]),
.side-widget:has(#dashActivityFeed) {
  display: none !important;
}

/* Recent Activity widget (both variants — sidebar + main area) */
#dashActivityFeed,
.recent-activity-widget,
.card:has(> h3:contains("Recent Activity")),
.card:has(#dashActivityFeed) {
  display: none !important;
}

/* Mini pulse widget */
.mini-pulse {
  display: none !important;
}

/* Fallback for browsers without :has() — hide by specific containers */
.side-widget[style*="border-color:#16A34A"], /* WhatsApp poster green widget */
.side-widget[style*="border-color:#9333EA"]  /* Your Ranking purple widget */
{
  display: none !important;
}

/* ============================================================
   MORE DASHBOARD REMOVALS (2026-07 v5 — owner request)
============================================================ */

/* Recent Activity notification widget (bell + card list) */
#notifWidget {
  display: none !important;
}

/* AAJ KA SCORE hero — dark card with "LIVE" pulse and today's stats */
#aajScoreHero,
.aaj-score-hero {
  display: none !important;
}

/* Today's Quick Wins - HIGHEST PAYOFF (actionable boxes at bottom) */
#smartTipsCard {
  display: none !important;
}

/* Extra safety — any card with the pulse-live style dark background */
[class*="live-pulse"],
.live-pulse-container {
  display: none !important;
}

/* ============================================================
   MORE DASHBOARD REMOVALS (2026-07 v6 — owner request)
============================================================ */

/* Verified Shop — Blue Tick Earned banner (green box) */
#verificationCta {
  display: none !important;
}

/* Level up your trust tier widget (yellow gradient card, Silver→Gold roadmap) */
#tierRoadmapHost,
.tier-roadmap {
  display: none !important;
}

/* Suggested Next Actions card (Reply to reviews / Post deal) */
#smartActionsCard,
#smartActionsList,
.smart-actions-card {
  display: none !important;
}

/* Profile Completeness widget (67% Good + Boost Your Score list) */
#completenessWidget,
.completeness-widget,
.profile-completeness-card {
  display: none !important;
}

/* Add These to Boost Your Score — hide even if rendered separately */
[class*="boost-score"],
[class*="score-boost"] {
  display: none !important;
}

/* ============================================================
   FINAL DASHBOARD CLEANUP (2026-07 v7)
   Dashboard is now redirected to profile.html by dl-simple-mode.js.
   These are belt-and-suspenders hides in case redirect fails to fire.
============================================================ */

/* Customer WhatsApp message widget (green box with Copy text / Open WhatsApp) */
#customerMsgCard,
.customer-msg-card,
#customerWhatsappCard,
.customer-whatsapp-message-widget,
.card:has(> .card-title:has(span:contains("Your customer-WhatsApp message"))),
.card:has(#custMsgTextarea),
.card:has(> * > button:contains("Open in WhatsApp")),
[data-widget="customer-whatsapp"] {
  display: none !important;
}

/* Notifications enabled pill (floating chip) */
#notifEnabledPill,
.notifications-enabled-pill,
.notif-pill,
[class*="notif-enabled"] {
  display: none !important;
}

/* Share my stats floating button */
#shareStatsBtn,
#shareStatsFab,
.share-stats-fab,
[onclick*="shareMyStats"],
[onclick*="openShareStats"] {
  display: none !important;
}

/* If dashboard renders at all (redirect fails), hide everything except welcome banner */
body[data-dl-simple-mode="true"] .dash-main-v2 > .card:not(#dlSimpleWelcome ~ *):not(:first-of-type),
body[data-dl-simple-mode="true"] .dash-side-v2 {
  /* Extra safety — most content already hidden by individual rules above */
}

/* Hide qa-section-title if section becomes empty after tile hiding */
.qa-section-title { /* keeps headers like "Manage" — decision retained */ }

/* ============================================================
   Report block relocation (business.html)
   JS moves #shopReportBlock to bottom of main content.
   During move, keep it visible but with muted styling.
   dl-simple-mode.js styles it with dashed border + reduced opacity.
============================================================ */
#shopReportBlock {
  /* Ensure it's visible even in prof-strict — override any [data-hide-in-strict] */
  display: block !important;
}
#shopReportBlock .srb-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
#shopReportBlock .srb-text {
  color: #64748B;
  font-size: .82rem;
}
#shopReportBlock .srb-link {
  color: #DC2626;
  text-decoration: none;
  font-weight: 700;
  font-size: .82rem;
}
#shopReportBlock .srb-link:hover {
  text-decoration: underline;
}

/* ===== APPLY prof-strict CLASS via JS (built-in mode that hides everything) ===== */
/* Instead of relying on CSS alone, add prof-strict body class on business.html.
   This activates page's own hide rules which are more comprehensive.
   See: apply-simple-mode.js
*/

/* ============================================================
   BUSINESS DETAIL PAGE — Additional card-pill sections to hide
   (added 2026-07 per owner request — declutter drive)
============================================================ */

/* 1. Business Hours */
/* hoursCard un-hidden — user wants Business Hours on profile edit */

/* 2. Before you visit / call — Visit Guide card */
.visit-guide-card {
  display: none !important;
}

/* 3. Public Q&A */
#qaCard,
#qaList,
#qaEmpty,
#askQuestionModal {
  display: none !important;
}

/* 4. Frequently Asked Questions (FAQ accordion) */
#faqsCard,
#faqList,
.faq-acc {
  display: none !important;
}

/* 5. Profile Highlights (contains Payment Accepted + Special Features rows) */
.shop-highlights {
  display: none !important;
}

/* ===== EXPLICITLY KEEP Share this business card ==========================
   .rc-card.share has data-hide-in-strict="1" which our JS hides via
   prof-strict. Override that specifically to keep Share button visible.
=========================================================================== */
body.prof-strict .rc-card.share,
.rc-card.share[data-hide-in-strict] {
  display: block !important;
}

/* Also keep Owner Register card visible (encourages new signups) */
body.prof-strict .rc-card.owner {
  display: block !important;
}

/* ============================================================
   ADDITIONAL HIDES (2026-07 v3 — owner request)
   - Open/Close status pill and badge
   - Verified badge (Admin Verified + GOLD tier)
   - All rating chips (header + Profile Highlights leftover)
============================================================ */

/* Open/Close status — header pill AND body badge */
.prem-meta-chip.prem-open,
#premOpenChip,
.open-status,
#openStatus,
[data-open-status],
.open-close-pill,
.hours-status-pill {
  display: none !important;
}

/* Verified badge — header pill + full badge + admin verified card */
.prem-meta-chip.prem-verified,
#premVerifiedChip,
#adminVerified,
.admin-verified-badge,
.verified-badge,
[data-badge="verified"] {
  display: none !important;
}

/* Any GOLD/SILVER/BRONZE tier badge / trust tier displays */
.gold-tier-badge,
.silver-tier-badge,
.bronze-tier-badge,
.tier-badge,
.prof-tier-badge,
[data-tier="gold"],
[data-tier="silver"],
[data-tier="bronze"],
.trust-tier-display,
/* "Why Shop" highlights row — has all verified/rating/year/area pills */
.why-shop-row,
.why-shop-row .wts-pill,
.wts-pill.verified,
.wts-pill.rating,
.wts-pill.year,
#mmtHighlights,
/* Standalone Verified · TIER green rectangle badge */
.verified-tier-inline,
.biz-verified-tier {
  display: none !important;
}

/* ============================================================
   LAYOUT FIX — Collapse 2-column grid to 1-column
   Gallery has been hidden, but grid still reserves 440px left column
   creating empty white space. Force single-column layout.
============================================================ */
@media (min-width: 760px) {
  .biz-top {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .sec-content {
    grid-template-columns: 1fr !important;
    max-width: 800px;
  }

  /* Sidebar right column also becomes inline instead of floating */
  .biz-side {
    max-width: 100%;
  }
}

/* Rating chip — header (already hidden but reinforced) */
.prem-meta-chip.prem-rating,
#premRatingChip,
.rating-chip,
.overall-rating-badge {
  display: none !important;
}

/* ============================================================
   OWNER PANEL SIMPLIFICATION (2026-07)
   Cleanup panel pages to keep only essential editable fields.
   Applies to: dashboard.html, profile.html, photos.html.
============================================================ */

/* Hide owner panel sidebar links to killed features */
.panel-nav a[href*="/panel/reviews"],
.panel-nav a[href*="/panel/get-reviews"],
.panel-nav a[href*="/panel/analytics"],
.panel-nav a[href*="/panel/deals"],
.panel-nav a[href*="/panel/qr-code"],
.panel-nav a[href*="/panel/qr-poster"],
.panel-nav a[href*="/panel/poster-quick"],
.panel-nav a[href*="/panel/poster-studio"],
.panel-nav a[href*="/panel/digital-card"],
.panel-nav a[href*="/panel/favorites"],
.panel-nav a[href*="/panel/recommendations"] {
  display: none !important;
}

/* Also hide top-nav or menu items pointing to these */
nav a[href="/panel/reviews.html"],
nav a[href="/panel/get-reviews.html"],
nav a[href="/panel/analytics.html"],
nav a[href="/panel/deals.html"],
nav a[href="/panel/qr-code.html"],
nav a[href="/panel/qr-poster.html"],
nav a[href="/panel/poster-quick.html"],
nav a[href="/panel/poster-studio.html"],
nav a[href="/panel/digital-card.html"],
nav a[href="/panel/favorites.html"],
nav a[href="/panel/recommendations.html"] {
  display: none !important;
}

/* Hide profile.html clutter — keep only basic edit form */
#trustTierUpgrade,
#loyaltyRewards,
#profileStrengthMeter,
#profilePremiumUpsell,
#gstBadge,
#certificateBadges,
.pro-tier-selector,
.premium-features-list,
.trust-score-widget-panel,
#analyticsPanel,
#reviewsPanel {
  display: none !important;
}

/* Hide any owner-panel gamification remnants */
.owner-streak-widget,
.owner-badge-widget,
.owner-level-display,
.owner-achievement,
.leaderboard-position {
  display: none !important;
}

/* ============================================================
   OWNER PROFILE FORM CLEANUP (panel/profile.html)
   Hide entire cards that contain fields no longer shown publicly.
   Uses :has() selector — modern browsers only (Chrome 105+, Safari 15.4+,
   Firefox 121+). Fallback: individual form-group hides below.
============================================================ */

/* Hide USP card (English + Hindi USP) */
.card:has(> * #usp),
.card:has(> * #uspHi),
.card:has(> .form-group #usp) {
  display: none !important;
}

/* Hide About Us card (business story) */
.card:has(> * #aboutText),
.card:has(> .form-group #aboutText) {
  display: none !important;
}

/* Hide FAQs card */
.card:has(#faqList),
.card:has(#faqCounter) {
  display: none !important;
}

/* Hide Business Hours card */
/* .card:has(#hoursList) — un-hidden for owner edit */

/* Hide Get More Reviews card (WhatsApp review request) */
.card:has(#askCC),
.card:has(#askWhatsappNum) {
  display: none !important;
}

/* Hide Social Media card — use ACTUAL IDs (with Url suffix as in profile.html) */
.card:has(#websiteUrl),
.card:has(#facebookUrl),
.card:has(#instagramUrl),
.card:has(#youtubeUrl),
.card:has(#xTwitterUrl),
.card:has(#linkedinUrl) {
  display: none !important;
}

/* ===== FALLBACK — hide individual fields if :has() not supported ===== */
/* Also hides form-groups within kept cards (Trust Signals card keeps
   establishedYear but drops paymentMethods + specialFeatures groups) */

/* Trust Signals card — keep only Established Year form-row */
.form-group:has(> #paymentMethods),
.form-group:has(> #specialFeatures),
.form-group:has(> #usp),
.form-group:has(> #uspHi),
.form-group:has(> #aboutText),
.form-group:has(> #website),
.form-group:has(> #facebook),
.form-group:has(> #instagram),
.form-group:has(> #youtube),
.form-group:has(> #twitterX),
.form-group:has(> #linkedin) {
  display: none !important;
}

/* Direct field hides (fallback for browsers without :has support) */
/* Note: #hoursList removed — Business Hours is REQUIRED for owner profile edit */
#usp, #uspHi, #simpleUspPicker,
#aboutText,
#paymentMethods, #specialFeatures,
#faqList, #faqCounter,
#askCC, #askWhatsappNum, #askMessage,
#website, #facebook, #instagram, #youtube, #twitterX, #linkedin,
/* Social Media URL fields (real IDs on profile.html have "Url" suffix) */
#websiteUrl, #facebookUrl, #instagramUrl, #youtubeUrl, #xTwitterUrl, #linkedinUrl {
  display: none !important;
}

/* Also hide labels + card sub-descriptions for hidden fields */
label:has(+ #usp),
label:has(+ #uspHi),
label:has(+ #aboutText),
label:has(+ #paymentMethods),
label:has(+ #specialFeatures) {
  display: none !important;
}

/* Hide "Browse Templates" template buttons for hidden fields */
.tpl-btn[onclick*="'usp'"],
.tpl-btn[onclick*="'about'"],
.tpl-btn[onclick*="'faq'"] {
  display: none !important;
}

/* Hide FAQ counter, custom FAQ button */
.faq-counter,
[onclick*="addCustomFaq"] {
  display: none !important;
}

/* ============================================================
   PHOTOS PAGE CLEANUP (panel/photos.html)
   Limit to 1 photo upload (main shop photo only).
============================================================ */

/* Hide extra photo slots beyond first */
.photo-upload-slot:nth-child(n+2),
.photo-slot:nth-child(n+2),
#photoSlot2, #photoSlot3, #photoSlot4, #photoSlot5,
#uploadPhoto2, #uploadPhoto3, #uploadPhoto4, #uploadPhoto5 {
  display: none !important;
}

/* Hide "add more photos" prompts */
.add-more-photos,
#addMorePhotosBtn,
.multi-photo-hint {
  display: none !important;
}

/* ========================================================================= */

/* ========================================================================= */
/* NEW HIDES (2026-07 v8): welcome popup + Top 5 leaderboard + LIVE ticker   */
/* ========================================================================= */

/* 1. Owner login welcome modal (dashboard.html — belt-and-suspenders in
      case dashboard→profile redirect hasn't kicked in yet on stale cache) */
#welcomeModalDL,
.welcome-modal-dl,
[id^="welcomeModal"],
.first-time-welcome {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Top 5 of the Month leaderboard on homepage */
#top10Section,
#top10Grid,
.top-10-section,
.monthly-top-5 {
  display: none !important;
}

/* 3. LIVE activity ticker (bottom strip: "5-star review for Bombay Fashion") */
#actTicker,
#actMsg,
.act-ticker,
.live-activity-ticker,
[id^="actTicker"] {
  display: none !important;
  visibility: hidden !important;
}

/* 4. Any lingering "5-star review" style social-proof strips */
.social-proof-strip,
.review-ticker,
.live-review-strip {
  display: none !important;
}

/* ========================================================================= */
/* GOLDEN PAGES PIVOT (2026-07 v9): Photos completely removed from UI       */
/* ========================================================================= */

/* 1. business.html — hide entire photo gallery column (hero + thumbs) */
.gallery,
#galleryMain,
#galleryThumbs,
.biz-top .gallery {
  display: none !important;
}

/* 1a. Ensure biz-top stays 1-column even at desktop widths (gallery gone) */
@media (min-width:760px) {
  .biz-top {
    grid-template-columns: 1fr !important;
    max-width: 820px !important;
    margin: 0 auto !important;
  }
}

/* 2. browse.html / search.html / index.html — hide photo thumbnail column
      on listing cards, collapse card grid to text-only */
.biz-card .biz-photo,
.biz-card .biz-thumb,
.biz-card img.biz-hero,
.card-photo,
.listing-thumb {
  display: none !important;
}
.biz-card {
  grid-template-columns: 1fr !important;
  display: block !important;
}
.biz-card .biz-info {
  padding: 14px 16px 16px !important;
}

/* 3. Owner panel — hide "Photos" nav link + Quick Action tile + prompts */
nav a[href*="/panel/photos"],
.nav-links a[href*="/panel/photos"],
a.qa[href*="/panel/photos"],
a.qa-tile[href*="/panel/photos"],
.qa[href*="/panel/photos"],
.qa-tile[href*="/panel/photos"],
a[href*="/panel/photos.html#upload"] {
  display: none !important;
}

/* 4. Any dashboard card/CTA prompting "Add photos" */
.add-photos-card,
.upload-photos-card,
#addPhotosCta,
#photoUploadPrompt,
[data-widget="add-photos"] {
  display: none !important;
}

/* 5. profile.html — Instagram field (optional social, no longer needed) */
.form-group:has(label:has-text("Instagram")),
label[for="instagram"],
input[name="instagram"],
input#instagram {
  /* Do NOT hide — Instagram is text-only, keep it as optional field */
}

/* ========================================================================= */
/* CRITICAL FIX (2026-07 v10): Real selectors for WhatsApp template widget  */
/* ========================================================================= */

/* The widget is dynamically injected with ID #waTemplateCard containing
   a .wat-card div. My earlier hide targeted wrong ID. */
#waTemplateCard,
.wat-card,
.wat-head,
.wat-title,
.wat-sub,
.wat-box,
.wat-actions,
.wat-btn,
.wat-toast,
#watBox,
#watCopyBtn,
#watShareBtn {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* Also hide the completeness pill row (✓ Mobile ✓ Address ✓ Photo ✓ Visited) */
.completeness-pills,
.dl-completeness-pills,
.compl-pills,
[class*="completeness-pill"] {
  display: none !important;
}

/* ========================================================================= */
/* v11: Hide Trusted Partners feature entirely                              */
/* ========================================================================= */

/* 1. business.html — Trusted Partners card on shop page */
#recsAnchor,
#recsList,
#recsByLine,
.trusted-partners-card,
.card-pill:has(> h3:has(span[data-i18n-en="Trusted Partners"])) {
  display: none !important;
}

/* 2. Owner panel — Trusted Partners nav link + Quick Action tile */
nav a[href*="/panel/recommendations"],
.nav-links a[href*="/panel/recommendations"],
a.qa[href*="/panel/recommendations"],
a.qa-tile[href*="/panel/recommendations"],
.qa[href*="/panel/recommendations"],
.qa-tile[href*="/panel/recommendations"] {
  display: none !important;
}

/* 3. Homepage — Trusted Partners Network card (inside .wn-card) */
.wn-card:has(h3:has(span[data-i18n-en="Trusted Partners Network"])),
.wn-card:has(.wn-badge:has-text("PARTNERS")) {
  display: none !important;
}

/* 4. Recommended By badge on public listing (green trust card) */
.recommended-by-card,
#recommendedByCard,
.rec-by-badge {
  display: none !important;
}

/* ========================================================================= */
/* v12: HOMEPAGE + DEALS grid — hide inline-styled photo columns            */
/* ========================================================================= */

/* 1. #featuredGrid — homepage listing cards <article> (inline-styled).
      Photo container is direct child <div style="position:relative"> containing img
      or fallback div with aspect-ratio. Content column has "padding" in style. */
#featuredGrid article > div:has(> img),
#featuredGrid article > div:has(> div[style*="aspect-ratio"]),
#featuredGrid article img[width="400"],
#featuredGrid article [style*="aspect-ratio:16/10"],
#featuredGrid article [style*="aspect-ratio: 16/10"] {
  display: none !important;
}

/* 2. #dealsGrid — deals cards also have photo tops */
#dealsGrid a > div:has(> img),
#dealsGrid a img[height="120"],
#dealsGrid [style*="height:120px"] {
  display: none !important;
}

/* 3. Any remaining <img> inside cards site-wide (fallback safety net) */
.wn-card img,
.wn-card [style*="aspect-ratio"],
article > div > img[width="400"][height="250"] {
  display: none !important;
}

/* 4. Top-10 grid photos (in case that section ever re-appears) */
#top10Grid a > div:has(> img),
#top10Grid img,
#top10Grid [style*="aspect-ratio"] {
  display: none !important;
}

/* 5. Featured of the week card photo (in case it re-appears) */
.fsotw-photo,
#fsotwCard img {
  display: none !important;
}

/* ========================================================================= */
/* v13: NUKE reviews/ratings from EVERY card + search filters                */
/* ========================================================================= */

/* 1. Homepage cards — hide any span containing rating stars or "No reviews yet"
      (fallback in case Golden render is delayed) */
#featuredGrid article span[style*="color:var(--muted)"],
#featuredGrid article .rating,
#featuredGrid [class*="rating"] {
  display: none !important;
}

/* 2. Search + browse cards — hide rating spans */
.biz-card .rating,
.biz-card .rating-chip,
.biz-card .biz-rating,
.biz-card [class*="rating"],
.biz-card .ribbon.top,
.biz-card .featured-ribbon.top-rated {
  display: none !important;
}

/* 3. Search page — hide "⭐ 4.0+" filter chip + rating sort filter modal rows */
.filter-chip[data-i18n-en*="4.0"],
.filter-chip:has(span[data-i18n-en*="4.0+"]),
.chip:has(span[data-i18n-en*="4.0+"]),
button[onclick*="Rating"],
.ss-row:has(input[name="ssRating"]),
label.ss-row:has(.ss-icon) {
  display: none !important;
}

/* 4. Universal: any element with a class containing "rating" or "review"
      inside listing containers (defense in depth) */
#featuredGrid [class*="review"],
#dealsGrid [class*="review"],
.biz-grid [class*="review"],
.biz-card [class*="review"] {
  display: none !important;
}

/* v15: Hide "Add photos to stand out" owner banner + Compare checkbox */
.owner-photo-cta,
#ownerPhotoCta,
[class*="add-photos-cta"],
[class*="add-photo-banner"],
.owner-cta-banner:has(.owner-cta-title:has-text("Add photos")),
.biz-card .biz-usp:empty {
  display: none !important;
}

/* Hide Compare checkbox on cards (adds clutter) */
.biz-card .compare-checkbox,
.biz-card label:has(input[type="checkbox"][class*="compare"]),
.biz-meta label:has-text("Compare") {
  display: none !important;
}

/* ========================================================================= */
/* v16: Kill "No reviews yet" + Compare checkbox + owner CTA banner         */
/* ========================================================================= */

/* 1. "No reviews yet" text on search/browse cards
      (span in .biz-meta with inline style color:var(--muted)) */
.biz-meta > span[style*="color:var(--muted)"],
.biz-meta > span[style*="color: var(--muted)"],
.biz-meta > span:not([class]) {
  display: none !important;
}

/* 2. Compare checkbox (adds clutter on Golden Pages layout) */
.cmp-pick,
label.cmp-pick,
.compare-checkbox,
[data-cmp-label-id],
input[data-cmp-id],
.cmp-bar,
#cmpBar {
  display: none !important;
}

/* 3. "Are you an owner? Add photos to stand out" banner */
.owner-cta,
#ownerCTA,
[class*="owner-cta"] {
  display: none !important;
}

/* 4. Also nuke rating in .biz-meta on cards */
.biz-meta .rating,
.biz-meta span.rating {
  display: none !important;
}

/* ========================================================================= */
/* v17: GOLDEN PAGES PIVOT — Homepage = Golden Pages of Dabwali             */
/* ========================================================================= */

/* 1. Hide separate Golden Pages nav card (main homepage IS golden pages now) */
#gpHeroCard,
.gp-hero-card,
a[href="/golden-pages.html"],
a[href*="/golden-pages"] {
  display: none !important;
}

/* 2. Hide Professional Listing badges/chips (uniform look for all listings) */
.prof-tier-badge,
.pro-badge,
.professional-listing-badge,
[class*="prof-listing"],
.biz-card .biz-cat:has-text("Professional Listing"),
.biz-card [style*="🛡️"],
.biz-card .ribbon:has-text("PROFESSIONAL"),
.biz-card .ribbon:has-text("REGULATED"),
span:has(> span[data-i18n-en="Professional Listing"]),
.biz-card [class*="pro-strict"],
.biz-card.prof {
  border-color: transparent !important; /* Neutralize blue border */
}
/* Hide the actual pro badge chip everywhere */
[data-i18n-en="Professional Listing"],
.biz-card [style*="Professional"],
.biz-card [style*="REGULATED"] {
  display: none !important;
}

/* 3. GOOGLE FEEL — hide extra homepage sections that add clutter */
/* Hide "What do you need today?" categories section head */
#categories .section-head,
/* Hide trust strip section (Mobile OTP, Pincode match etc badges) */
.trust-strip-section,
.trust-strip,
/* Hide "How it works — 4 Simple Steps" */
.how,
section.how,
/* Hide "Are you a business owner?" giant CTA */
.cta-strip,
section.cta-strip,
/* Hide "Popular searches in your area" */
section[class*="popular-searches"],
/* Hide trending searches strip (heavy) */
#trendingSearches,
/* Hide browse by area section */
#browseByArea,
/* Hide "Live pulse" widget */
.pulse-widget,
/* Hide "how do this works" strip (HDTW) */
.hdtw-strip,
/* Hide hero register CTA strip */
.hero-register-strip,
/* Hide hero stats (Active Listings / Categories / Cities Live / Forever Free) */
.hero-search-first .hero-stats,
/* Hide the "Unclaimed businesses waiting for owner" section */
#unclaimedSection,
/* Hide "Cities covered" footer strip */
footer .cities-covered,
/* Hide "Popular searches" footer link section */
footer .popular-searches {
  display: none !important;
}

/* 4. Simplify header nav — hide non-essential links */
.nav-links a[href="/pro"],
.nav-links a[href="/pucho-bhai.html"],
.nav-links a[href="/pucho-bhai"],
.nav-links a[href="/discover.html"] {
  display: none !important;
}

/* 5. Section-head on Featured Listings — simplify text */
#featured .section-head p,
#featured .section-head .eyebrow {
  display: none !important;
}
/* Change #featured heading text to something simpler via CSS content trick */
#featured .section-head h2 {
  font-size: 1.4rem !important;
  color: #64748B !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

/* 6. Reduce section padding to Google-feel spacing */
#featured {
  padding: 20px 0 40px !important;
}

/* ========================================================================= */
/* v18: GOOGLE-FEEL — Dabwali only + tighter hero                           */
/* ========================================================================= */

/* 1. HERO: reduce padding, tighter Google-feel spacing */
.hero-search-first,
.hero.hero-search-first {
  padding: 20px 20px 30px !important;
  min-height: auto !important;
}
.hero-inner {
  max-width: 640px !important;
}

/* 2. Hero badge — muted, small */
.hero-badge {
  margin-bottom: 12px !important;
  padding: 4px 10px !important;
  font-size: .68rem !important;
  background: #F8FAFC !important;
  color: #64748B !important;
  border-color: #E2E8F0 !important;
}

/* 3. h1 hero-tag — Google-style clean, less dominant */
.hero-tag {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  margin-bottom: 6px !important;
}
.hero-sub {
  font-size: .88rem !important;
  color: #64748B !important;
  margin-bottom: 20px !important;
  max-width: 480px !important;
}

/* 4. Hide the city dropdown showing all cities — filter to Dabwali only */
.hsc-row-city option:not([value=""]):not([value="mandi-dabwali"]):not([value="dabwali"]),
select#citySelect option:not([value=""]):not([value*="dabwali"]) {
  display: none !important;
}

/* 5. Hide extra hero decorations */
.hero-search-first::before,
.hero::before,
.hero::after {
  display: none !important;
}

/* 6. Remove hero gradient background — plain white like Google */
.hero.hero-search-first {
  background: #fff !important;
}

/* 7. Reduce top gap on the whole page */
main,
body > section:first-of-type {
  padding-top: 0 !important;
}

/* 8. Nav topbar — hide DL logo/text (Google-minimal), keep only lang + register */
.topbar {
  padding: 8px 12px !important;
  background: #fff !important;
  color: #0F172A !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid #E5E7EB !important;
}
.topbar .brand,
.topbar .brand em,
.topbar .brand span {
  color: #0F2952 !important;
}
.topbar .nav-links a {
  color: #64748B !important;
}
.topbar .lang-toggle {
  background: #F1F5F9 !important;
  border-color: #E2E8F0 !important;
}
.topbar .lang-toggle button {
  color: #475569 !important;
}
.topbar .lang-toggle button.active {
  background: #FF6B1A !important;
  color: #fff !important;
}
.topbar .nav-cta {
  background: #FF6B1A !important;
  color: #fff !important;
}

/* 9. Hide DukanList Android App LIVE banner (already dismissable, but nuke) */
#appLaunchBanner {
  display: none !important;
}

/* 10. Hide "How does this work" (HDTW) 3-step strip if visible */
.hdtw-strip,
.hero-search-first .hdtw-strip {
  display: none !important;
}

/* 11. City selector — show only 'Mandi Dabwali' as visible option label */
.hsc-row-city .hsc-ico + select {
  pointer-events: none;
}

/* ========================================================================= */
/* v19: Dabwali-only cleanup — hide trust strips, city mentions, pro pill   */
/* ========================================================================= */

/* 1. Trust badges strip: Mobile OTP / Pincode Match / Real Photos / etc */
.trust,
div.trust,
section.trust {
  display: none !important;
}

/* 2. "Popular searches in your area" entire section (contains Sirsa/Bathinda links) */
section:has(h3:has(span[data-i18n-en*="Popular searches"])),
section:has(.footer-links-row),
/* Just the cities-covered div inside popular searches */
div:has(> span[data-i18n-en="Cities covered:"]) {
  display: none !important;
}

/* 3. Footer h4 "Made for Bharat. Started in Mandi Dabwali." */
footer .ftop h4,
footer h4 {
  display: none !important;
}

/* 4. Footer "For Doctors / CAs / Professionals" link */
footer a[href="/pro"],
footer a[href="/pro"] + .dot,
.footer-links-row a[href="/pro"],
.footer-links-row a[href="/pro"] + .dot {
  display: none !important;
}

/* 5. Hero pills: "For Doctors / CA" + "Pucho Bhai" (already hidden but reinforce) */
.mini-pill.mp-pro,
.mini-pill.mp-pucho,
a.mini-pill[href="/pro"],
a.mini-pill[href="/puchobhai"] {
  display: none !important;
}

/* 6. Footer copy paragraph (long about-the-platform block) */
footer .ftop p:has(span[data-i18n-en*="Pan-India"]),
footer .ftop > p {
  display: none !important;
}

/* 7. About the platform section */
footer > section,
footer section {
  display: none !important;
}

/* 8. Simplify remaining footer to bare minimum */
footer {
  padding: 16px 20px !important;
  background: #F8FAFC !important;
  color: #64748B !important;
  border-top: 1px solid #E5E7EB !important;
}
footer .copy {
  color: #64748B !important;
  font-size: .78rem !important;
  border-top: 0 !important;
  padding-top: 0 !important;
}
footer .links {
  padding: 0 !important;
  margin-bottom: 6px !important;
}
footer .links a {
  color: #FF6B1A !important;
}

/* ========================================================================= */
/* v20: Register page — hide Professional Information Required panel        */
/* ========================================================================= */
#professionalPanel,
.professional-info-box,
.prof-panel,
[id^="professionalPanel"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ========================================================================= */
/* v22: Deep city cleanup — hide 📍 location chip on business page +        */
/*      city dropdown "other cities" options                                 */
/* ========================================================================= */

/* 1. Hide 📍 area/city chip on business.html (redundant — all Dabwali) */
#premAreaChip,
#premCityChip,
.prem-meta-chip.prem-area,
.prem-meta-chip.prem-city,
.prem-meta-chip.prem-location {
  display: none !important;
}

/* 2. Hide the address "📍 Map" pill on business.html (just show address text) */
.pmb-dir,
#pmbDir {
  display: none !important;
}

/* 3. Hide "Location on map" button */
#mapEmbedBtn,
button:has(> span[data-i18n-en="Location on map"]) {
  display: none !important;
}

/* 4. Golden Pages small hero badge showing city list */
.gp-hero-title,
.hero-badge:has(span[data-i18n-en*="Bharat's Local"]),
.hero-badge:has(span[data-i18n-en*="Sirsa"]),
.hero-badge:has(span[data-i18n-en*="Bathinda"]) {
  /* keep .gp-hero-title alone; only hide badges with city lists */
}

/* 5. Sub-city dropdowns / city chip strips */
.city-chip-strip,
.other-cities-list,
[data-city-strip] {
  display: none !important;
}

/* 6. Register form: ensure Dabwali is default (visual cue) */
select#cityId option[value*="dabwali"],
select#citySelect option[value*="dabwali"] {
  font-weight: 700 !important;
}

/* v23: Golden Pages page removed — hide any lingering links to /golden-pages* */
a[href="/golden-pages.html"],
a[href^="/golden-pages"],
a[href*="/golden-pages"] {
  display: none !important;
}

/* ========================================================================= */
/* v24: Mobile fix — Golden render cards overflow protection                */
/* ========================================================================= */

/* 1. Force homepage grid to single column on mobile + reduce min-width */
@media (max-width: 640px) {
  #featuredGrid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  #featuredGrid article {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 12px 14px !important;
  }
  #featuredGrid article > div,
  #featuredGrid article > * {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  /* Category pill: allow wrap on tiny screens */
  #featuredGrid article span[style*="letter-spacing:.02em"] {
    white-space: normal !important;
    line-height: 1.3 !important;
  }
  /* Business name/address text — ensure wrap */
  #featuredGrid article div[style*="font-family:'Manrope'"],
  #featuredGrid article div[style*="line-height:1.4"] {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  /* Action buttons — allow wrap if needed */
  #featuredGrid article div[style*="border-top:1px dashed"] {
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  #featuredGrid article div[style*="border-top:1px dashed"] > a {
    min-width: 0 !important;
    flex-basis: calc(50% - 22px) !important;
  }
}

/* 2. Also ensure body doesn't scroll horizontally at all */
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
html {
  overflow-x: hidden !important;
}

/* 3. Any horizontal-flex row inside cards — allow wrap */
@media (max-width: 480px) {
  #featuredGrid article {
    font-size: .92rem !important;
  }
  #featuredGrid article [style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
  }
}

/* ========================================================================= */
/* v25: Trusted Partners + Rating stars on business.html — hide all         */
/* ========================================================================= */

/* 1. Trusted Partners section — all known containers + fallback text hide */
#recsAnchor,
#recsList,
#recsByLine,
#trustedPartners,
.trusted-partners,
.trusted-partners-card,
.recs-card,
.recs-list,
[class*="trusted-partner"],
[id*="trustedPartner"],
[id*="TrustedPartner"] {
  display: none !important;
}

/* 2. Card containing recsList (parent hide) */
.card-pill:has(#recsAnchor),
.card-pill:has(#recsList),
.card:has(#recsList),
.card:has(.trusted-partners) {
  display: none !important;
}

/* 3. Any ⭐ rating badge inside recommendation cards or elsewhere on business page */
.recommendation-item .rating,
.rec-card .rating,
.rec-item [class*="rating"],
.trusted-partners [class*="rating"] {
  display: none !important;
}

/* 4. Belt-and-suspenders — hide any h2/h3 whose text starts with "🤝 Trusted Partners" */
h2:has(> span[data-i18n-en="Trusted Partners"]),
h3:has(> span[data-i18n-en="Trusted Partners"]),
.card-pill h3 span[data-i18n-en="Trusted Partners"] {
  /* Handled by parent hide above but reinforce */
}

/* ========================================================================= */
/* v26: Recently viewed widget — hide photo/rating/verified                  */
/* ========================================================================= */

/* 1. Photo thumbnail — hide (Golden Pages no-photo mode) */
.rv-thumb,
.rv-clickable > .rv-thumb {
  display: none !important;
}

/* 2. Collapse the grid layout since photo is gone (was 72px + 1fr) */
.rv-clickable {
  grid-template-columns: 1fr !important;
}
.rv-row {
  grid-template-columns: 1fr auto !important;
}

/* 3. Rating star (⭐ 5.0) — hide */
.rv-rate,
.rv-line2 .rv-rate {
  display: none !important;
}

/* 4. Verified badge (✓ Verified) — hide */
.rv-verify,
.rv-line2 .rv-verify {
  display: none !important;
}

/* 5. Also hide the ' · ' separator dots left over when rate/verify gone */
.rv-line2 > span:empty,
.rv-line2 > span[style*="separator"] {
  display: none !important;
}

/* ========================================================================= */
/* v27: business.html hero box tighter + hide verified/phone/rating chips   */
/* ========================================================================= */

/* 1. Shrink hero height (was 340px too empty without photo) */
.prem-hero {
  min-height: 160px !important;
  margin-bottom: 16px !important;
}
.prem-hero-content {
  height: auto !important;
  min-height: 160px !important;
  padding: 20px 24px 22px !important;
}

/* 2. Bigger business name so it fills the box nicely */
.prem-hero-name {
  font-size: clamp(1.9rem, 5vw, 3.2rem) !important;
  line-height: 1.05 !important;
  margin-top: 4px !important;
}

/* 3. Reduce the darkening overlay (was 90-100% dark, ugly without photo) */
.prem-hero-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(120,53,15,.30) 100%) !important;
}

/* 4. Hide the top chips row: Verified · Phone Verified · 5.0 (10 reviews) */
.biz-trust-row,
.biz-badges-row,
.biz-hero-badges,
[class*="verified-chip"],
[class*="reviews-chip"],
.prem-meta-chip.prem-verified,
.prem-meta-chip.prem-rating,
.prem-meta-chip.prem-phone-verified {
  display: none !important;
}

/* 5. Hide any element with (X reviews) style text pattern via specific classes */
.rating-summary,
.biz-rating-summary,
#bizRatingHeader,
.hero-rating-chip {
  display: none !important;
}

/* 6. Reduce hero border-radius + shadow for cleaner Google feel */
.prem-hero {
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(120,53,15,.10) !important;
}

/* 7. On mobile — even tighter */
@media (max-width: 640px) {
  .prem-hero {
    min-height: 130px !important;
    margin-bottom: 12px !important;
  }
  .prem-hero-content {
    min-height: 130px !important;
    padding: 16px 18px 18px !important;
  }
  .prem-hero-name {
    font-size: 1.6rem !important;
  }
}

/* ========================================================================= */
/* v28: business.html trust strip + content layout tightening               */
/* ========================================================================= */

/* 1. HIDE the top pill row: Verified · Phone Verified · 5.0 (10 reviews) */
#detailTrustStrip,
.dt-pill,
.dt-pill.verified,
.dt-pill.rating-clickable,
.detail-trust-strip {
  display: none !important;
}

/* 2. Also hide the biz-rating-row (contains hidden rating internally) */
.biz-rating-row {
  display: none !important;
}

/* 3. Full-width content column on mobile — remove excess left/right padding */
@media (max-width: 760px) {
  .biz-top,
  .biz-top .biz-info,
  .biz-top .biz-content {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
  .sec-content {
    padding: 0 10px !important;
    max-width: 100% !important;
    margin: 12px auto !important;
  }
  .biz-hero-wrap {
    padding: 0 10px !important;
    max-width: 100% !important;
  }
  /* Cards inside — tighter padding on mobile */
  .card-pill,
  .biz-info > div,
  .addr-box {
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
  }
}

/* 4. Desktop — center content nicely with reasonable max-width */
@media (min-width: 761px) {
  .biz-top {
    max-width: 720px !important;
    margin: 0 auto !important;
  }
  .sec-content {
    max-width: 720px !important;
  }
}

/* ========================================================================= */
/* v29: Hide Professional Mode banner on owner dashboard/business page      */
/* ========================================================================= */
#proModeBanner,
.pro-mode-banner,
[class*="pro-mode"] {
  display: none !important;
}

/* Also hide the "DukanList ab bilkul simple ho gayi hai" welcome banner on dashboard
   (redundant — dashboard already redirects to profile) */
.dashboard-welcome-banner,
[data-i18n-en*="DukanList ab bilkul simple"] {
  display: none !important;
}

/* v29b: RE-SHOW #hoursCard on profile edit (user wants Business Hours back) */
body.editing #hoursCard,
#hoursCard.editable,
.panel-profile #hoursCard,
/* Fallback — always show on /panel/profile.html */
body[data-page="profile"] #hoursCard {
  display: block !important;
  visibility: visible !important;
}

/* ========================================================================= */
/* v30: Cleanup — Popular searches, Regulatory notice, biz-photo placeholder */
/* ========================================================================= */

/* 1. HIDE the entire "Popular searches in your area" SEO strip on homepage */
section:has(> div > h3 > span[data-i18n-en*="Popular searches"]),
section:has(> div > h3 > span[data-i18n-en*="Cities covered"]) {
  display: none !important;
}
/* Fallback via direct child structure — hide any section with the exact H3 text */
section:has(h3 span[data-i18n-en="Popular searches in your area"]) {
  display: none !important;
}

/* 2. Hide Regulatory & Compliance Notice on business.html (AMFI/SEBI disclaimer)
      WARNING: MFD listings are legally required to show AMFI disclaimer per SEBI.
      Hiding this is at the owner's own risk. */
.prof-disclaimer,
[class*="prof-disclaimer"],
[class*="regulatory-notice"],
[class*="compliance-notice"] {
  display: none !important;
}

/* 3. Hide "REGULATED SERVICE" + "Practicing since" cyan box on MFD profile */
.prof-badge-box,
.prof-service-badge,
[class*="regulated-service"],
div:has(> b[style*="color:#0EA5E9"]:has-text("REGULATED SERVICE")) {
  display: none !important;
}

/* 4. Hide photo placeholder .biz-photo on search/local pages */
.biz-card .biz-photo,
.biz-card .biz-photo .ph-fb,
.biz-card .biz-photo .ph-label,
.biz-photo {
  display: none !important;
}

/* 5. Collapse card layout since photo gone */
.biz-card {
  display: block !important;
}
.biz-card .biz-info {
  padding: 12px 14px !important;
}

/* 6. Hide "Professional Listing" label text on search cards */
.biz-card [style*="Professional Listing"],
.biz-card > div:has-text("Professional Listing"),
[data-i18n-en="Professional Listing"] {
  display: none !important;
}
/* Also hide the icon-only badge variant */
.biz-card [style*="color:#0EA5E9"][style*="font-size:.7"],
.biz-cat[style*="professional"] {
  display: none !important;
}

/* ========================================================================= */
/* v31: FORCE Business Hours visible + kill Social Media card completely   */
/* ========================================================================= */

/* Business Hours — force visible everywhere */
#hoursList,
.card:has(#hoursList),
.card:has(> .card-title:has(span[data-i18n-en="Business Hours"])) {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
}
.hours-row {
  display: grid !important;
  visibility: visible !important;
}

/* Social Media / Website — ENTIRE card hidden (real ID = *Url suffix) */
.card:has(#websiteUrl),
.card:has(#facebookUrl),
.card:has(#instagramUrl),
.card:has(#youtubeUrl),
.card:has(#xTwitterUrl),
.card:has(#linkedinUrl),
/* Also via card-title text pattern */
.card:has(.card-title span[data-i18n-en*="Social Media"]) {
  display: none !important;
}

/* ========================================================================= */
/* v32: STRONGER Popular searches hide + fallback selectors                 */
/* ========================================================================= */

/* Direct span attribute — hide + collapse parent (works even without :has) */
h3 span[data-i18n-en="Popular searches in your area"],
h3 span[data-i18n-en*="Popular searches"] {
  display: none !important;
}

/* Multiple parent selectors for maximum coverage */
section:has(h3 span[data-i18n-en*="Popular searches"]),
section[style*="border-top:1px solid #E2E8F0"]:has(h3),
main > section:has(> div h3 span[data-i18n-en*="Popular"]),
body > section:has(h3 span[data-i18n-en*="Popular"]),
/* Also target by unique inner content — a[href^="/local/sirsa"] etc */
section:has(a[href^="/local/sirsa"]),
section:has(a[href^="/local/bathinda"]),
section:has(a[href^="/local/mansa"]),
section:has(a[href^="/local/muktsar"]) {
  display: none !important;
}

/* ========================================================================= */
/* v33: Hide Similar businesses photos + tighten card spacing               */
/* ========================================================================= */

/* 1. Similar Businesses section — hide photo thumbnails */
.sim-photo,
.sim-card .sim-photo {
  display: none !important;
}
/* Also collapse card height since photo gone */
.sim-card {
  min-height: auto !important;
}
.sim-card .sim-info {
  padding: 12px 14px !important;
}

/* 2. Recently viewed section — additional safety (was already hidden but reinforce) */
#similarShopsSection img,
.sim-card img {
  display: none !important;
}

/* 3. Tighten /local/* and golden render article spacing (was too spread) */
#featuredGrid article,
main.grid > article {
  gap: 4px !important;
  padding: 10px 14px !important;
}
#featuredGrid article > div,
main.grid > article > div {
  margin: 0 !important;
  padding: 0 !important;
}
#featuredGrid article > div[style*="border-top:1px dashed"],
main.grid > article > div[style*="border-top:1px dashed"] {
  padding-top: 8px !important;
  margin-top: 6px !important;
}

/* v34: Similar businesses — ensure no rating text pattern shows */
.sim-meta span[style*="⭐"],
.sim-meta [class*="rating"] {
  display: none !important;
}

/* ========================================================================= */
/* v35: Tighten search/local .biz-card layout — kill excessive vertical gap */
/* ========================================================================= */

/* Root card — tighter padding */
.biz-card {
  padding: 0 !important;
  gap: 0 !important;
}

/* Info wrapper — tight vertical stack */
.biz-card .biz-info {
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

/* Every child inside biz-info — kill default margins */
.biz-card .biz-info > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* Category chip — small top margin */
.biz-card .biz-cat {
  margin-bottom: 4px !important;
  font-size: .78rem !important;
}

/* Business name — clean bold */
.biz-card .biz-name {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 4px !important;
}

/* Hide empty .biz-usp — was reserving vertical space */
.biz-card .biz-usp:empty,
.biz-card .biz-usp:not(:empty):empty {
  display: none !important;
}
/* Also target USP with only whitespace */
.biz-card .biz-usp {
  min-height: 0 !important;
}

/* My injected owner/phone/address — tight vertical gap */
.biz-card .dl-owner,
.biz-card .dl-phone,
.biz-card .dl-biz-addr {
  margin: 2px 0 !important;
  padding: 0 !important;
}

/* Meta row — small top gap */
.biz-card .biz-meta {
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px dashed #E2E8F0 !important;
  gap: 8px !important;
}

/* Actions row — tight */
.biz-card .biz-actions,
.biz-card > div[style*="cta"] {
  margin-top: 6px !important;
  gap: 6px !important;
}

/* ========================================================================= */
/* v38: Hide review prompt popup (business.html)                            */
/* ========================================================================= */
#reviewPromptOverlay,
#reviewPromptCard,
.rp-overlay,
.rp-overlay.show,
.rp-card {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Also nuke the review-boost JS API just in case */

/* ========================================================================= */
/* v40: Stronger dashboard welcome banner hide                              */
/* ========================================================================= */

/* Any element containing the welcome banner text — target via :has */
div:has(> span[data-i18n-en*="DukanList ab bilkul simple"]),
.dashboard-welcome,
#dashWelcomeBanner,
[class*="welcome-banner"]:has(span[data-i18n-en*="DukanList"]),
/* Structural: dashboard welcome banner sits in an orange-gradient div */
div[style*="linear-gradient"][style*="FFF7ED"]:has(span[data-i18n-en*="simple ho gayi"]) {
  display: none !important;
}
