/*
Theme Name: Catereroo
Theme URI: https://catereroo.com
Author: Catereroo Team
Author URI: https://catereroo.com
Description: Catereroo is India's most powerful catering business directory theme for WordPress. Built for catering aggregators, it brings together verified caterers, genuine reviews, and smart search — all in one beautifully designed platform. Features include city & area-level search, wedding/corporate/birthday/tiffin categories, star ratings, multi-quote enquiries, budget estimator, photo galleries, and a full Customizer to edit every word without touching code. The ultimate catering directory solution — built exclusively for the catering industry.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: catereroo
Tags: directory, listing, catering, food, business, wedding, booking
*/

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
button{cursor:pointer;font-family:inherit}

/* ── TOKENS ── */
:root{
  --primary:#d4500a;
  --primary-dark:#a83c06;
  --primary-light:#fff4ef;
  --accent:#f07c2e;
  --gold:#e8a020;
  --text:#1c1917;
  --muted:#6b7280;
  --border:#e5e7eb;
  --surface:#f9fafb;
  --white:#fff;
  --success:#059669;
  --radius:10px;
  --shadow:0 2px 12px rgba(0,0,0,.08);
  --shadow-hover:0 8px 28px rgba(0,0,0,.14);
  --max-w:1200px;
}

body{
  font-family:'Nunito',sans-serif;
  background:#f5f0eb;
  color:var(--text);
  font-size:15px;
  line-height:1.65;
}

/* ── TOP BAR ── */
.cf-topbar{background:var(--primary);color:rgba(255,255,255,.9);font-size:12.5px;padding:6px 0;text-align:center}
.cf-topbar a{color:#ffd6c0}
.cf-topbar span{margin:0 14px}

/* ── HEADER ── */
.cf-header{background:#fff;border-bottom:2px solid var(--border);position:sticky;top:0;z-index:200;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.cf-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.cf-header-inner{max-width:var(--max-w);margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:16px}
.cf-logo{font-family:'Sora',sans-serif;font-size:22px;font-weight:800;color:var(--primary);flex-shrink:0;white-space:nowrap}
.cf-logo span{color:var(--text)}

.cf-search-bar{flex:1;display:flex;border:2px solid var(--primary);border-radius:50px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(212,80,10,.1)}
.cf-search-bar input{border:none;outline:none;padding:10px 18px;font-size:14px;font-family:'Nunito',sans-serif;flex:1;min-width:0;color:var(--text)}
.cf-search-sep{width:1px;background:var(--border);margin:8px 0}
.cf-search-bar .cf-loc-input{width:140px;border:none;outline:none;padding:10px 14px;font-size:13px;font-family:'Nunito',sans-serif;color:var(--muted)}
.cf-search-btn{background:var(--primary);color:#fff;border:none;padding:10px 20px;font-size:14px;font-weight:700;font-family:'Nunito',sans-serif;display:flex;align-items:center;gap:6px;transition:background .2s;flex-shrink:0}
.cf-search-btn:hover{background:var(--primary-dark)}

.cf-header-links{display:flex;gap:6px;flex-shrink:0}
.cf-header-links a,.cf-header-links button{font-size:13px;font-weight:700;font-family:'Nunito',sans-serif;padding:7px 14px;border-radius:50px;border:1.5px solid var(--border);background:#fff;color:var(--text);transition:all .2s;white-space:nowrap}
.cf-header-links a:hover,.cf-header-links button:hover{border-color:var(--primary);color:var(--primary)}
.cf-header-links .btn-list{background:var(--primary);color:#fff;border-color:var(--primary)}
.cf-header-links .btn-list:hover{background:var(--primary-dark);color:#fff}

/* ── NAV TABS ── */
.cf-nav{background:#fff;border-bottom:1px solid var(--border)}
.cf-nav-inner{max-width:var(--max-w);margin:0 auto;padding:0 20px;display:flex;overflow-x:auto;scrollbar-width:none}
.cf-nav-inner::-webkit-scrollbar{display:none}
.cf-nav-tab{padding:11px 16px;font-size:13px;font-weight:700;color:var(--muted);white-space:nowrap;border-bottom:3px solid transparent;transition:all .2s;display:flex;align-items:center;gap:5px}
.cf-nav-tab:hover,.cf-nav-tab.active{color:var(--primary)}
.cf-nav-tab.active{border-bottom-color:var(--primary)}

/* ── HERO ── */
.cf-hero{background:linear-gradient(135deg,#2d1200 0%,#7a2e00 45%,#2d1200 100%);padding:48px 20px 56px;text-align:center;position:relative;overflow:hidden}
.cf-hero::before{content:'';position:absolute;inset:-60px;background:radial-gradient(ellipse at 25% 60%,rgba(212,80,10,.2) 0%,transparent 55%),radial-gradient(ellipse at 75% 30%,rgba(232,160,32,.12) 0%,transparent 50%);pointer-events:none}
.cf-hero-tag{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:rgba(255,255,255,.9);font-size:12px;font-weight:700;padding:4px 14px;border-radius:50px;margin-bottom:14px;position:relative}
.cf-hero h1{font-family:'Sora',sans-serif;font-size:38px;font-weight:800;color:#fff;margin-bottom:10px;position:relative;line-height:1.2}
.cf-hero h1 em{color:var(--accent);font-style:normal}
.cf-hero p{color:rgba(255,255,255,.6);font-size:15px;margin-bottom:28px;position:relative}

.cf-hero-search{max-width:720px;margin:0 auto;display:flex;border-radius:60px;overflow:hidden;box-shadow:0 8px 36px rgba(0,0,0,.35);position:relative}
.cf-hero-search input{flex:1;border:none;outline:none;padding:15px 22px;font-size:14px;font-family:'Nunito',sans-serif;color:var(--text)}
.cf-hero-search .hs-sep{width:1px;background:var(--border);margin:12px 0}
.cf-hero-search .hs-loc{width:160px;border:none;outline:none;padding:15px 16px;font-size:13px;font-family:'Nunito',sans-serif;color:var(--muted)}
.cf-hero-search .hs-btn{background:var(--primary);color:#fff;border:none;padding:15px 26px;font-size:14px;font-weight:800;font-family:'Nunito',sans-serif;display:flex;align-items:center;gap:8px;transition:background .2s}
.cf-hero-search .hs-btn:hover{background:var(--primary-dark)}

.cf-hero-pills{margin-top:18px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;position:relative}
.cf-hero-pill{background:rgba(255,255,255,.12);color:rgba(255,255,255,.85);border:1px solid rgba(255,255,255,.2);border-radius:50px;padding:5px 14px;font-size:12px;font-weight:700;transition:all .2s}
.cf-hero-pill:hover{background:var(--primary);border-color:var(--primary);color:#fff}

/* ── STATS ── */
.cf-stats{background:#fff;border-bottom:1px solid var(--border)}
.cf-stats-inner{max-width:var(--max-w);margin:0 auto;padding:16px 20px;display:grid;grid-template-columns:repeat(4,1fr);text-align:center}
.cf-stat{padding:0 16px;border-right:1px solid var(--border)}
.cf-stat:last-child{border-right:none}
.cf-stat-num{font-family:'Sora',sans-serif;font-size:22px;font-weight:700;color:var(--primary)}
.cf-stat-label{font-size:11.5px;color:var(--muted);font-weight:600;margin-top:2px}

/* ── MAIN 2-COL ── */
.cf-main{max-width:var(--max-w);margin:24px auto;padding:0 20px;display:grid;grid-template-columns:1fr 300px;gap:22px;align-items:start}

/* ── SECTION TITLE ── */
.cf-section-title{font-family:'Sora',sans-serif;font-size:18px;font-weight:700;color:var(--text);margin-bottom:14px;display:flex;align-items:center;justify-content:space-between}
.cf-section-title a{font-size:13px;color:var(--primary);font-family:'Nunito',sans-serif;font-weight:700}

/* ── CATEGORY GRID ── */
.cf-cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:24px}
.cf-cat-card{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:16px 10px;text-align:center;cursor:pointer;transition:all .22s;display:block}
.cf-cat-card:hover{border-color:var(--primary);box-shadow:var(--shadow-hover);transform:translateY(-3px)}
.cf-cat-icon{font-size:28px;margin-bottom:7px;display:block}
.cf-cat-name{font-size:11.5px;font-weight:800;color:var(--text);line-height:1.3}
.cf-cat-count{font-size:10.5px;color:var(--muted);margin-top:2px}

/* ── FILTER CHIPS ── */
.cf-filter-bar{display:flex;gap:8px;align-items:center;margin-bottom:16px;flex-wrap:wrap}
.cf-filter-label{font-size:13px;font-weight:700;color:var(--muted)}
.cf-chip{border:1.5px solid var(--border);background:#fff;border-radius:50px;padding:6px 13px;font-size:12.5px;font-weight:700;font-family:'Nunito',sans-serif;color:var(--text);cursor:pointer;transition:all .18s;display:flex;align-items:center;gap:5px}
.cf-chip:hover,.cf-chip.active{border-color:var(--primary);background:var(--primary-light);color:var(--primary)}

/* ── LISTING CARD ── */
.cf-listing{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px;display:flex;gap:12px;transition:all .22s;cursor:pointer;position:relative;align-items:flex-start}
.cf-listing:hover{box-shadow:var(--shadow-hover);border-color:#d1d5db;transform:translateY(-1px)}
.cf-listing.featured{border-color:var(--gold);background:linear-gradient(to right,#fffdf5,#fff)}
.cf-featured-badge{position:absolute;top:-1px;right:14px;background:var(--gold);color:#7a4f00;font-size:10px;font-weight:800;padding:3px 10px;border-radius:0 0 8px 8px;text-transform:uppercase;letter-spacing:.5px}
.cf-listing-logo{width:60px;height:60px;border-radius:10px;border:1px solid var(--border);flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900;background:var(--primary-light);color:var(--primary);font-family:'Sora',sans-serif;overflow:hidden}
.cf-listing-logo img{width:100%;height:100%;object-fit:cover}
.cf-listing-body{flex:1;min-width:0}
.cf-listing-name{font-family:'Sora',sans-serif;font-size:14px;font-weight:700;color:var(--text);margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;max-height:2.7em}
.cf-listing-name:hover{color:var(--primary)}
.cf-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:5px}
.cf-rating{background:var(--success);color:#fff;font-size:12px;font-weight:800;padding:2px 8px;border-radius:6px;display:flex;align-items:center;gap:3px}
.cf-reviews{font-size:12px;color:var(--muted)}
.cf-badge-years{font-size:11px;color:#065f46;background:#d1fae5;padding:2px 8px;border-radius:50px;font-weight:700}
.cf-badge-verified{font-size:11px;color:#1d4ed8;background:#dbeafe;padding:2px 8px;border-radius:50px;font-weight:700}
.cf-listing-cats{font-size:12px;color:var(--muted);margin-bottom:5px;font-weight:600}
.cf-listing-addr{font-size:12.5px;color:var(--muted);margin-bottom:5px;display:flex;align-items:center;gap:4px}
.cf-listing-hours{font-size:12px;font-weight:700}
.cf-listing-hours.open{color:var(--success)}
.cf-listing-hours.closed{color:#ef4444}
.cf-listing-tags{margin-top:7px;display:flex;gap:5px;flex-wrap:wrap}
.cf-tag{font-size:11px;padding:3px 9px;border-radius:50px;font-weight:700}
.cf-tag-green{background:#f0fdf4;color:#166534}
.cf-tag-blue{background:#eff6ff;color:#1e40af}
.cf-tag-amber{background:#fffbeb;color:#92400e}
.cf-tag-purple{background:#fdf4ff;color:#7e22ce}
.cf-tag-rose{background:#fff1f2;color:#9f1239}

.cf-listing-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end;flex-shrink:0;min-width:96px}
.btn-call{background:var(--primary);color:#fff;border:none;border-radius:8px;padding:9px 14px;width:100%;font-size:13px;font-weight:800;font-family:'Nunito',sans-serif;display:flex;align-items:center;justify-content:center;gap:5px;transition:all .18s}
.btn-call:hover{background:var(--primary-dark)}
.btn-wp{background:#25d366;color:#fff;border:none;border-radius:8px;padding:8px 14px;width:100%;font-size:12px;font-weight:700;font-family:'Nunito',sans-serif;display:flex;align-items:center;justify-content:center;gap:5px;transition:all .18s}
.btn-wp:hover{background:#1da851}
.btn-save{background:#fff;color:var(--muted);border:1.5px solid var(--border);border-radius:8px;padding:7px 14px;width:100%;font-size:12px;font-weight:700;font-family:'Nunito',sans-serif;display:flex;align-items:center;justify-content:center;gap:4px;transition:all .18s}
.btn-save:hover{border-color:var(--primary);color:var(--primary)}
.btn-save.saved{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}

/* ── LOAD MORE ── */
.cf-load-more-wrap{text-align:center;margin:18px 0 28px}
.btn-load-more{background:#fff;border:2px solid var(--primary);color:var(--primary);border-radius:50px;padding:11px 32px;font-size:14px;font-weight:800;font-family:'Nunito',sans-serif;transition:all .2s}
.btn-load-more:hover{background:var(--primary);color:#fff}

/* ── SIDEBAR ── */
.cf-sidebar{display:flex;flex-direction:column;gap:16px}
.cf-sb-card{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.cf-sb-head{background:var(--primary);color:#fff;padding:11px 16px;font-weight:800;font-size:13.5px;font-family:'Sora',sans-serif}
.cf-sb-body{padding:14px 16px}

.cf-city-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}
.cf-city-btn{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:7px 6px;text-align:center;font-size:12px;font-weight:700;color:var(--text);cursor:pointer;transition:all .18s;display:block}
.cf-city-btn:hover,.cf-city-btn.active{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}

.cf-pop-tags{display:flex;flex-wrap:wrap;gap:6px}
.cf-pop-tag{border:1px solid var(--border);border-radius:50px;padding:4px 11px;font-size:12px;font-weight:700;color:var(--text);cursor:pointer;background:var(--surface);transition:all .18s;display:block}
.cf-pop-tag:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}

.cf-promo{background:linear-gradient(135deg,#7a2e00,#2d1200);border-radius:var(--radius);padding:20px;text-align:center;color:#fff}
.cf-promo h3{font-family:'Sora',sans-serif;font-size:15px;margin-bottom:7px}
.cf-promo p{font-size:12px;color:rgba(255,255,255,.65);margin-bottom:13px;line-height:1.5}
.btn-promo{background:var(--primary);color:#fff;border:none;border-radius:8px;padding:9px 18px;font-size:13px;font-weight:800;font-family:'Nunito',sans-serif;transition:all .2s;display:inline-block}
.btn-promo:hover{background:var(--accent);color:#fff}

.cf-estimator label{font-size:12.5px;font-weight:700;color:var(--text);display:block;margin-bottom:4px}
.cf-estimator select,.cf-estimator input[type="number"]{width:100%;border:1.5px solid var(--border);border-radius:8px;padding:8px 12px;font-size:13px;font-family:'Nunito',sans-serif;color:var(--text);outline:none;margin-bottom:10px;transition:border .18s;background:#fff}
.cf-estimator select:focus,.cf-estimator input:focus{border-color:var(--primary)}
.cf-estimate-result{background:var(--primary-light);border:1.5px solid #f5b8a0;border-radius:8px;padding:11px;text-align:center;font-size:13px;font-weight:700;color:var(--primary);display:none}
.cf-estimate-result span{font-size:20px;font-family:'Sora',sans-serif;display:block}
.btn-estimate{width:100%;background:var(--primary);color:#fff;border:none;border-radius:8px;padding:10px;font-size:14px;font-weight:800;font-family:'Nunito',sans-serif;transition:all .18s}
.btn-estimate:hover{background:var(--primary-dark)}

/* ── PAGE HEAD ── */
.cf-page-head{background:#fff;border-bottom:1px solid var(--border);padding:18px 20px;text-align:center}
.cf-page-head h1{font-family:'Sora',sans-serif;font-size:24px;font-weight:800}
.cf-page-head p{color:var(--muted);font-size:14px;margin-top:4px}

/* ── MODAL ── */
.cf-modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:999;align-items:center;justify-content:center}
.cf-modal-overlay.open{display:flex}
.cf-modal{background:#fff;border-radius:14px;padding:28px;max-width:440px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.cf-modal h3{font-family:'Sora',sans-serif;font-size:19px;font-weight:700;margin-bottom:6px}
.cf-modal p{font-size:13px;color:var(--muted);margin-bottom:18px}
.cf-modal input,.cf-modal select,.cf-modal textarea{width:100%;border:1.5px solid var(--border);border-radius:8px;padding:10px 14px;font-size:14px;font-family:'Nunito',sans-serif;outline:none;margin-bottom:10px;transition:border .18s;background:#fff;color:var(--text)}
.cf-modal input:focus,.cf-modal select:focus,.cf-modal textarea:focus{border-color:var(--primary)}
.cf-modal-actions{display:flex;gap:10px;margin-top:4px}
.btn-modal-ok{flex:1;background:var(--primary);color:#fff;border:none;border-radius:8px;padding:11px;font-size:14px;font-weight:800;font-family:'Nunito',sans-serif;transition:all .18s}
.btn-modal-ok:hover{background:var(--primary-dark)}
.btn-modal-cancel{background:var(--surface);color:var(--muted);border:1.5px solid var(--border);border-radius:8px;padding:11px 16px;font-size:14px;font-weight:700;font-family:'Nunito',sans-serif;transition:all .18s}

/* ── TOAST ── */
.cf-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(80px);background:#1c0a00;color:#fff;padding:11px 22px;border-radius:50px;font-size:13.5px;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.25);z-index:9999;transition:transform .35s cubic-bezier(.34,1.56,.64,1);pointer-events:none}
.cf-toast.show{transform:translateX(-50%) translateY(0)}

/* ── REVIEW SYSTEM ── */
.cf-review-form-wrap{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:16px}
.cf-star-picker .cf-star{font-size:36px;cursor:pointer;transition:transform .15s,color .1s;color:#e5e7eb;user-select:none;line-height:1}
.cf-aspect-tag.active{border-color:var(--primary)!important;background:var(--primary-light)!important;color:var(--primary)!important}
.cf-review-card{transition:box-shadow .22s,transform .22s}
.cf-review-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}

/* ── SINGLE CATERER ── */
.cf-single-hero{background:linear-gradient(135deg,#7a2e00,#2d1200);padding:36px 20px;color:#fff}
.cf-single-inner{max-width:var(--max-w);margin:0 auto;display:flex;gap:22px;align-items:flex-start}
.cf-single-logo{width:100px;height:100px;border-radius:12px;background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:900;font-family:'Sora',sans-serif;flex-shrink:0;overflow:hidden}
.cf-single-logo img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.cf-single-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.cf-single-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}

/* ── PAGINATION ── */
.cf-pagination{display:flex;justify-content:center;gap:7px;margin:20px 0}
.cf-page-btn{min-width:36px;height:36px;border-radius:8px;border:1.5px solid var(--border);background:#fff;font-size:13px;font-weight:700;font-family:'Nunito',sans-serif;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .18s;color:var(--text);padding:0 10px}
.cf-page-btn:hover,.cf-page-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}

/* ── FOOTER ── */
.cf-footer{background:#1c0a00;color:rgba(255,255,255,.65);margin-top:40px}
.cf-footer-top{max-width:var(--max-w);margin:0 auto;padding:40px 20px 28px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}
.cf-footer-brand .cf-logo{font-size:20px;margin-bottom:10px;display:block;color:var(--accent)}
.cf-footer-brand .cf-logo span{color:rgba(255,255,255,.7)}
.cf-footer-brand p{font-size:13px;line-height:1.7;color:rgba(255,255,255,.5)}
.cf-footer-col h4{color:#fff;font-size:13.5px;font-weight:800;margin-bottom:12px}
.cf-footer-col a{display:block;color:rgba(255,255,255,.5);font-size:13px;margin-bottom:7px;transition:color .18s}
.cf-footer-col a:hover{color:var(--accent)}
.cf-footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding:14px 20px;max-width:var(--max-w);margin:0 auto;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:rgba(255,255,255,.3)}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .cf-main{grid-template-columns:1fr}
  .cf-sidebar{display:none}
  .cf-cat-grid{grid-template-columns:repeat(4,1fr)}
  .cf-footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .cf-cat-grid{grid-template-columns:repeat(3,1fr)}
  .cf-hero h1{font-size:24px}
  .cf-stats-inner{grid-template-columns:repeat(2,1fr)}
  .cf-footer-top{grid-template-columns:1fr}
  .cf-header-links{display:none}
  .cf-listing-actions{min-width:90px}
}

/* ── ANIMATIONS ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.cf-listing{animation:fadeUp .4s ease both}
.cf-listing:nth-child(1){animation-delay:.05s}
.cf-listing:nth-child(2){animation-delay:.1s}
.cf-listing:nth-child(3){animation-delay:.15s}
.cf-listing:nth-child(4){animation-delay:.2s}
.cf-listing:nth-child(5){animation-delay:.25s}
.cf-listing:nth-child(6){animation-delay:.3s}

/* ═══════════════════════════════════════
   HOMEPAGE BOTTOM TEXT SECTION
═══════════════════════════════════════ */
.cf-bottom-text {
    background: #fff;
    border-top: 1px solid var(--border);
    margin-top: 0;
    padding: 48px 0 40px;
}
.cf-bottom-text-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* WordPress page content block */
.cf-page-content {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.cf-page-content h2 { font-family: 'Sora',sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.cf-page-content h3 { font-family: 'Sora',sans-serif; font-size: 17px; font-weight: 700; margin: 20px 0 8px; }
.cf-page-content p  { margin-bottom: 14px; color: var(--muted); }
.cf-page-content ul { padding-left: 20px; margin-bottom: 14px; }
.cf-page-content li { margin-bottom: 6px; color: var(--muted); }
.cf-page-content a  { color: var(--primary); }

/* About / SEO block */
.cf-about-block {
    border-top: 2px solid var(--primary);
    padding-top: 28px;
}
.cf-about-block h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}
.cf-about-block > p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 860px;
    margin-bottom: 28px;
}
.cf-about-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.cf-about-cols h3 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.cf-about-cols ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.cf-about-cols li {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    padding-left: 4px;
}
.cf-about-cols li strong { color: var(--text); }
.cf-about-cols a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    transition: color .18s;
}
.cf-about-cols a:hover { color: var(--primary-dark); }

/* Cities block */
.cf-cities-block {
    border-top: 1px solid var(--border);
    padding-top: 28px;
}
.cf-cities-block h3 {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.cf-cities-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.cf-city-link {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .2s;
}
.cf-city-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.cf-city-link-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.cf-city-link:hover .cf-city-link-name { color: var(--primary); }
.cf-city-link-count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}
.cf-city-link:hover .cf-city-link-count { color: var(--primary); }

/* Responsive */
@media(max-width: 768px) {
    .cf-about-cols  { grid-template-columns: 1fr; }
    .cf-cities-links{ grid-template-columns: repeat(2,1fr); }
    .cf-bottom-text { padding: 32px 0 28px; }
    .cf-page-content{ padding: 20px; }
}
@media(max-width: 480px) {
    .cf-cities-links{ grid-template-columns: 1fr 1fr; }
    .cf-about-block h2 { font-size: 18px; }
}

/* ═══════════════════════════════════
   SEARCH AUTOCOMPLETE DROPDOWN
═══════════════════════════════════ */
.cf-autocomplete-wrap { position: relative; flex: 1; min-width: 0; }

.cf-autocomplete-drop {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: -2px;
    right: -2px;
    background: #fff;
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    max-height: 360px;
    overflow-y: auto;
}
.cf-autocomplete-drop.open { display: block; }

.cf-ac-group-label {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 10px 16px 4px;
}
.cf-ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.cf-ac-item:hover, .cf-ac-item.active {
    background: var(--primary-light);
    border-left-color: var(--primary);
}
.cf-ac-icon { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.cf-ac-text { flex: 1; min-width: 0; }
.cf-ac-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cf-ac-label mark {
    background: none;
    color: var(--primary);
    font-weight: 800;
}
.cf-ac-sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cf-ac-type {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.cf-ac-type.caterer  { background: #eff6ff; color: #1d4ed8; }
.cf-ac-type.category { background: #f0fdf4; color: #166534; }
.cf-ac-type.location { background: #fff4ef; color: var(--primary); }

.cf-ac-divider { height: 1px; background: var(--border); margin: 4px 0; }

.cf-ac-footer {
    padding: 10px 16px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cf-ac-footer span { color: var(--primary); font-weight: 700; cursor: pointer; }

/* Hero search autocomplete — slightly bigger */
.cf-hero-search .cf-autocomplete-drop {
    top: calc(100% + 8px);
    border-radius: 14px;
}

/* ═══════════════════════════════════════
   HERO BACKGROUND IMAGE
═══════════════════════════════════════ */
.cf-hero { position: relative; }
.cf-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}
.cf-hero > *:not(.cf-hero-img-overlay) { position: relative; z-index: 1; }

/* ═══════════════════════════════════════
   CATERER PHOTO GALLERY
═══════════════════════════════════════ */
.cf-gallery-section {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 18px;
}
.cf-gallery-heading {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.cf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.cf-gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--surface);
}
.cf-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}
.cf-gallery-thumb:hover img { transform: scale(1.05); }
.cf-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .22s;
    font-size: 26px;
}
.cf-gallery-thumb:hover .cf-gallery-overlay { opacity: 1; }

/* ── LIGHTBOX ── */
.cf-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.cf-lightbox.open { display: flex; }

.cf-lb-inner {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    cursor: default;
    text-align: center;
}
.cf-lb-inner img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
#cf-lb-caption {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    margin-top: 10px;
    font-weight: 600;
}
.cf-lb-close {
    position: fixed;
    top: 20px; right: 24px;
    background: rgba(255,255,255,.15);
    border: none;
    color: white;
    font-size: 22px;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    z-index: 10000;
}
.cf-lb-close:hover { background: rgba(255,255,255,.3); }
.cf-lb-prev, .cf-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: none;
    color: white;
    font-size: 36px;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    z-index: 10000;
    line-height: 1;
}
.cf-lb-prev { left: 16px; }
.cf-lb-next { right: 16px; }
.cf-lb-prev:hover, .cf-lb-next:hover { background: rgba(255,255,255,.3); }

/* ── LISTING CARD LOGO (when featured image set) ── */
.cf-listing-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

/* ── SINGLE CATERER HERO LOGO ── */
.cf-single-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive gallery */
@media (max-width: 640px) {
    .cf-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .cf-gallery-thumb:first-child { grid-column: span 2; }
    .cf-lb-prev { left: 8px; }
    .cf-lb-next { right: 8px; }
}

/* ═══════════════════════════════════════
   HEADER — POPULAR SEARCHES ROW
═══════════════════════════════════════ */
.cf-header-popular {
    background: #fdf8f5;
    border-top: 1px solid var(--border);
    padding: 7px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
}
.cf-header-popular-label {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
    white-space: nowrap;
}
.cf-header-popular-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px 11px;
    white-space: nowrap;
    transition: all .18s;
    text-decoration: none;
}
.cf-header-popular-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ═══════════════════════════════════════
   NAV — MORE DROPDOWN
═══════════════════════════════════════ */
.cf-nav-more {
    position: relative;
    display: flex;
    align-items: stretch;
}
.cf-nav-more-btn {
    background: none;
    border: none;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    padding: 11px 14px;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all .2s;
}
.cf-nav-more-btn:hover,
.cf-nav-more-btn.open {
    color: var(--primary);
}
.cf-nav-more-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    min-width: 200px;
    z-index: 300;
    overflow: hidden;
    padding: 6px 0;
}
.cf-nav-more-drop.open { display: block; }
.cf-nav-more-item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: background .15s;
}
.cf-nav-more-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Hide popular row on very small screens */
@media (max-width: 640px) {
    .cf-header-popular { display: none; }
    .cf-nav-more-drop { left: auto; right: 0; }
}

/* ═══════════════════════════════════════
   HEADER SEARCH WRAP + POPULAR SERVICES
═══════════════════════════════════════ */
.cf-header-search-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* Popular services row — below search bar */
.cf-header-services {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 2px;
}
.cf-hs-label {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cf-hs-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 3px 11px;
    white-space: nowrap;
    transition: all .18s;
    text-decoration: none;
    display: inline-block;
}
.cf-hs-tag:hover, .cf-hs-tag.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}





/* ── Popular services — tighter, inside search area ── */
.cf-header-services {
    padding: 0 4px;
    margin-top: -2px;
}
.cf-hs-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .4px;
}
.cf-hs-tag {
    font-size: 11.5px;
    padding: 2px 10px;
    border-radius: 50px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: white;
    font-weight: 700;
    transition: all .18s;
    text-decoration: none;
}
.cf-hs-tag:hover, .cf-hs-tag.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ═══════════════════════════════════════
   HERO — POPULAR SERVICES (below search)
═══════════════════════════════════════ */
.cf-hero-popular {
    margin-top: 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.cf-hero-popular-label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.cf-hero-popular-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.cf-hero-popular-tag {
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.5);
    color: #ffffff;
    border-radius: 50px;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .22s;
    display: flex;
    align-items: center;
    gap: 7px;
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.cf-hero-popular-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,80,10,.5);
}



/* ═══════════════════════════════════════
   LOCATION AUTOCOMPLETE DROPDOWN
═══════════════════════════════════════ */
.cf-loc-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.cf-loc-drop {
    /* position handled by JS (fixed, body-level) */
    min-width: 260px;
    background: white;
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
    animation: cfDropIn .2s cubic-bezier(.34,1.2,.64,1);
}
@keyframes cfDropIn {
    from { opacity:0; transform:translateY(-8px) scale(.98); }
    to   { opacity:1; transform:translateY(0)    scale(1); }
}
.cf-loc-group {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 10px 14px 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.cf-loc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .12s;
    border-left: 3px solid transparent;
}
.cf-loc-item:hover, .cf-loc-item.active {
    background: var(--primary-light);
    border-left-color: var(--primary);
}
.cf-loc-icon { font-size: 16px; flex-shrink: 0; width: 22px; text-align: center; }
.cf-loc-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cf-loc-sub  { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.cf-loc-group {
    font-size: 10.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .7px;
    padding: 8px 14px 3px;
}
.cf-loc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background .15s;
    border-left: 3px solid transparent;
}
.cf-loc-item:hover, .cf-loc-item.active {
    background: var(--primary-light);
    border-left-color: var(--primary);
}
.cf-loc-icon { font-size: 15px; flex-shrink: 0; }
.cf-loc-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.cf-loc-sub  { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ═══════════════════════════════════════
   FLOATING MULTI-QUOTE BAR
═══════════════════════════════════════ */
.cf-quote-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(135deg, #1c0a00, #7a2e00);
    z-index: 8888;
    box-shadow: 0 -4px 24px rgba(0,0,0,.3);
    border-top: 2px solid var(--primary);
    animation: cfSlideUp .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes cfSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
.cf-quote-bar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cf-quote-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cf-quote-count-badge {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: cfPulse .5s ease;
}
@keyframes cfPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.cf-quote-bar-right {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cf-quote-btn-clear {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.75);
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all .18s;
}
.cf-quote-btn-clear:hover { background: rgba(255,255,255,.2); }
.cf-quote-btn-send {
    background: var(--primary);
    border: none;
    color: white;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all .18s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cf-quote-btn-send:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Top 10 page medal styles */
.cf-top10-page .rank-1 { border-color: var(--gold); }

/* ═══════════════════════════════════════
   CITY INPUT — datalist styling
═══════════════════════════════════════ */

/* Give the city input a map pin icon feel */
.cf-loc-input,
.hs-loc {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4500a' stroke-width='2.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
    padding-left: 32px !important;
}

/* Native datalist drop width fix for WebKit */
input[list]::-webkit-calendar-picker-indicator { opacity: 0; }





/* ═══════════════════════════════════════
   CITY DROPDOWN — positioned via JS fixed
═══════════════════════════════════════ */
.cf-city-drop {
    display: none;
    position: fixed;
    z-index: 999999;
    min-width: 260px;
    max-height: 340px;
    overflow-y: auto;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
.cf-city-drop.cf-open { display: block; }
.cf-city-drop-group {
    padding: 8px 14px 4px;
    font-size: 10.5px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
}
.cf-city-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background .1s;
}
.cf-city-drop-item:hover { background: var(--primary-light); border-left-color: var(--primary); }
.cf-city-drop-icon { font-size: 16px; flex-shrink: 0; }
.cf-city-drop-item-name { font-size: 14px; font-weight: 700; color: var(--text); }
.cf-city-drop-item-sub  { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
input.cf-city-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23d4500a' stroke-width='2.5'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 10px center;
    padding-left: 30px !important;
}

/* ═══════════════════════════════════════
   JQUERY UI AUTOCOMPLETE — themed
═══════════════════════════════════════ */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid var(--primary) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.18) !important;
    background: #fff !important;
    padding: 6px 0 !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 14px !important;
    z-index: 999999 !important;
}
.ui-menu-item-wrapper {
    padding: 9px 16px !important;
    border-left: 3px solid transparent !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ui-menu-item-wrapper.ui-state-active {
    background: var(--primary-light) !important;
    border-left-color: var(--primary) !important;
    color: var(--primary) !important;
    margin: 0 !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
}
.ui-helper-hidden-accessible { display: none; }

/* ═══════════════════════════════════════════════
   CATERER DASHBOARD
═══════════════════════════════════════════════ */
.cfd-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 120px);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 24px 20px;
    gap: 24px;
}
/* Sidebar */
.cfd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cfd-profile-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.cfd-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-family: 'Sora', sans-serif;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    overflow: hidden;
    border: 3px solid var(--primary);
}
.cfd-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cfd-name { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.cfd-premium-badge {
    background: linear-gradient(135deg,#ffd700,#f59e0b);
    color: #7a4f00; font-size: 11px; font-weight: 800;
    padding: 4px 12px; border-radius: 50px;
    display: inline-block; margin-bottom: 12px;
}
.cfd-free-badge {
    background: var(--surface); color: var(--muted);
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    display: inline-block; margin-bottom: 12px;
}
.cfd-view-btn {
    display: block; padding: 8px 16px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 8px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background .18s;
}
.cfd-view-btn:hover { background: var(--primary); color: white; }

/* Sidebar nav */
.cfd-nav { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cfd-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text); text-decoration: none;
    font-size: 14px; font-weight: 700;
    transition: all .15s;
}
.cfd-nav-item:last-child { border-bottom: none; }
.cfd-nav-item:hover { background: var(--primary-light); color: var(--primary); }
.cfd-nav-item.active { background: var(--primary-light); color: var(--primary); border-left: 3px solid var(--primary); }
.cfd-nav-icon { font-size: 18px; }
.cfd-nav-label { flex: 1; }
.cfd-nav-badge {
    background: var(--primary); color: white;
    font-size: 11px; font-weight: 800;
    padding: 2px 7px; border-radius: 50px; min-width: 20px; text-align: center;
}
.cfd-logout {
    display: block; text-align: center; padding: 10px;
    background: white; border: 1.5px solid var(--border);
    border-radius: var(--radius); color: #ef4444;
    font-size: 13px; font-weight: 700; text-decoration: none;
    transition: all .15s;
}
.cfd-logout:hover { background: #fef2f2; border-color: #ef4444; }

/* Main content */
.cfd-main { min-width: 0; }
.cfd-section-title {
    font-family: 'Sora', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--text); margin-bottom: 18px;
}
.cfd-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.cfd-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 15px; font-weight: 700;
    margin-bottom: 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.cfd-notice {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 700; font-size: 14px;
}
.cfd-notice.success { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }

/* Stats grid */
.cfd-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.cfd-stat-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    transition: box-shadow .18s;
}
.cfd-stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.cfd-stat-icon { font-size: 24px; margin-bottom: 8px; }
.cfd-stat-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; color: var(--primary); }
.cfd-stat-label { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 4px; }

/* Info rows */
.cfd-info-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.cfd-info-row span { color: var(--muted); }

/* Table */
.cfd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cfd-table th {
    background: var(--surface); padding: 10px 14px;
    text-align: left; font-size: 11.5px; font-weight: 800;
    color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
    border-bottom: 1.5px solid var(--border);
}
.cfd-table td {
    padding: 12px 14px; border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.cfd-table tr:hover td { background: var(--surface); }

/* Form */
.cfd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cfd-field { display: flex; flex-direction: column; gap: 6px; }
.cfd-field label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.cfd-field input, .cfd-field textarea, .cfd-field select {
    border: 1.5px solid var(--border);
    border-radius: 8px; padding: 10px 14px;
    font-size: 14px; font-family: 'Nunito', sans-serif;
    outline: none; transition: border-color .18s;
    width: 100%;
}
.cfd-field input:focus, .cfd-field textarea:focus { border-color: var(--primary); }
.cfd-field textarea { resize: vertical; }
.cfd-save-btn {
    background: var(--primary); color: white;
    border: none; border-radius: 8px;
    padding: 12px 28px; font-size: 14px; font-weight: 800;
    font-family: 'Nunito', sans-serif; cursor: pointer;
    transition: background .18s;
}
.cfd-save-btn:hover { background: #a83c06; }

/* Empty state */
.cfd-empty {
    text-align: center; padding: 60px 20px;
    background: white; border: 1.5px solid var(--border);
    border-radius: var(--radius);
}
.cfd-empty h3 { font-family: 'Sora', sans-serif; font-size: 18px; margin-bottom: 8px; }
.cfd-empty p { color: var(--muted); font-size: 14px; }

/* Mobile */
@media (max-width: 768px) {
    .cfd-wrap { grid-template-columns: 1fr; }
    .cfd-stats-grid { grid-template-columns: repeat(2,1fr); }
    .cfd-form-grid { grid-template-columns: 1fr; }
    .cfd-field[style*="span 2"] { grid-column: span 1 !important; }
}


/* ── Fix WordPress block editor global width constraints ── */
.wp-site-blocks,
.entry-content,
.wp-block-group,
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ── Footer full width — break out of any container ── */
html, body {
    max-width: 100% !important;
    overflow-x: hidden;
}
.cf-footer {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

/* ── Remove default WP body padding ── */
body.wp-block-template-part,
body {
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Footer grid responsive ── */
@media (max-width: 768px) {
    .cf-footer-top {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
}
@media (max-width: 480px) {
    .cf-footer-top {
        grid-template-columns: 1fr !important;
    }
}