/*
Theme Name: Classifieds Pro
Theme URI: https://example.com/classifieds-pro
Author: OpenAI
Description: Independent modern WordPress classifieds marketplace theme with AJAX filters, front-end submissions, seller dashboard, expiration engine, featured listing hooks, and OpenStreetMap integration.
Version: 1.8.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: classifieds-pro
License: GNU General Public License v2 or later
*/
:root{--cf-primary:#2563eb;--cf-primary-hover:#1d4ed8;--cf-secondary:#0f172a;--cf-accent:#f59e0b;--cf-success:#16a34a;--cf-danger:#dc2626;--cf-bg:#f8fafc;--cf-surface:#fff;--cf-muted:#64748b;--cf-border:#e2e8f0;--cf-radius:14px;--cf-shadow:0 10px 30px rgba(15,23,42,.08);--cf-container:1320px}
*{box-sizing:border-box}body{margin:0;background:var(--cf-bg);color:var(--cf-secondary);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.6}a{color:var(--cf-primary);text-decoration:none}img{max-width:100%;height:auto;display:block}.cf-container{width:min(calc(100% - 32px),var(--cf-container));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--cf-border);position:sticky;top:0;z-index:100}.cf-header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px}.site-title{margin:0;font-size:22px}.site-title a{color:var(--cf-secondary)}.custom-logo{max-height:48px;width:auto}.main-navigation ul{display:flex;list-style:none;gap:20px;margin:0;padding:0}.cf-header-actions{display:flex;gap:10px;align-items:center}.cf-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border-radius:10px;border:1px solid var(--cf-primary);background:var(--cf-primary);color:#fff;font-weight:700;cursor:pointer}.cf-button:hover{background:var(--cf-primary-hover);color:#fff}.cf-button--secondary{background:#fff;color:var(--cf-secondary);border-color:var(--cf-border)}.cf-section{padding:30px 0}.cf-card{background:#fff;border:1px solid var(--cf-border);border-radius:var(--cf-radius);box-shadow:0 1px 2px rgba(0,0,0,.03)}.cf-search-shell{padding:18px;margin-bottom:22px}.cf-search-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr auto;gap:10px}.cf-input,.cf-select,.cf-textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.cf-textarea{min-height:130px}.cf-content-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.cf-filter-sidebar{padding:18px;position:sticky;top:90px}.cf-filter-group{margin-bottom:16px}.cf-filter-group label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}.cf-listing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cf-ad-card{overflow:hidden;background:#fff;border:1px solid var(--cf-border);border-radius:var(--cf-radius);position:relative}.cf-ad-card__image{aspect-ratio:4/3;background:#eef2f7;overflow:hidden}.cf-ad-card__image img{width:100%;height:100%;object-fit:cover}.cf-ad-card__body{padding:15px}.cf-ad-card__title{font-size:17px;margin:0 0 8px}.cf-ad-card__title a{color:var(--cf-secondary)}.cf-ad-card__price{font-size:22px;font-weight:800;margin-bottom:8px}.cf-ad-card__meta{color:var(--cf-muted);font-size:13px;display:flex;flex-wrap:wrap;gap:8px}.cf-badge{position:absolute;top:10px;left:10px;background:var(--cf-accent);color:#111827;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.cf-pagination{margin-top:24px}.cf-single-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:24px}.cf-gallery-main{background:#eef2f7;border-radius:var(--cf-radius);overflow:hidden}.cf-gallery-main img{width:100%;max-height:620px;object-fit:contain}.cf-gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px}.cf-gallery-thumbs button{padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:none}.cf-gallery-thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover}.cf-seller-card{padding:20px;position:sticky;top:90px}.cf-price{font-size:32px;font-weight:800;margin:0 0 6px}.cf-map{min-height:360px;border-radius:var(--cf-radius);overflow:hidden;background:#e5e7eb}.cf-form-group{margin-bottom:15px}.cf-form-group label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}.cf-notice{padding:12px 14px;border-radius:10px;margin-bottom:14px}.cf-notice--success{background:#ecfdf5;color:#166534}.cf-notice--error{background:#fef2f2;color:#991b1b}.cf-dashboard{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px}.cf-dashboard-nav{padding:12px}.cf-dashboard-nav a{display:block;padding:10px 12px;border-radius:8px;color:var(--cf-secondary)}.cf-dashboard-nav a:hover{background:#eff6ff;color:var(--cf-primary)}.cf-dashboard-table{width:100%;border-collapse:collapse;background:#fff}.cf-dashboard-table th,.cf-dashboard-table td{text-align:left;padding:12px;border-bottom:1px solid var(--cf-border);vertical-align:middle}.cf-dropzone{padding:26px;border:2px dashed #cbd5e1;border-radius:12px;text-align:center;background:#fff}.site-footer{margin-top:40px;background:#0f172a;color:#cbd5e1;padding:32px 0}.site-footer a{color:#fff}.cf-modal{position:fixed;inset:0;background:rgba(15,23,42,.6);display:none;align-items:center;justify-content:center;padding:20px;z-index:999}.cf-modal.is-open{display:flex}.cf-modal__dialog{width:min(560px,100%);background:#fff;border-radius:16px;padding:20px;position:relative}.cf-modal__close{position:absolute;right:12px;top:10px;border:0;background:none;font-size:25px}.cf-loading{opacity:.55;pointer-events:none}.cf-empty{padding:28px;text-align:center;background:#fff;border:1px dashed var(--cf-border);border-radius:var(--cf-radius)}
@media(max-width:1000px){.cf-content-layout,.cf-single-grid,.cf-dashboard{grid-template-columns:1fr}.cf-filter-sidebar,.cf-seller-card{position:static}.cf-search-grid{grid-template-columns:1fr 1fr}.cf-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.main-navigation{display:none}}
@media(max-width:600px){.cf-container{width:min(calc(100% - 20px),var(--cf-container))}.cf-search-grid{grid-template-columns:1fr}.cf-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cf-ad-card__body{padding:11px}.cf-ad-card__price{font-size:18px}.cf-gallery-thumbs{grid-template-columns:repeat(4,1fr)}.cf-header-actions .cf-button--secondary{display:none}}


/* ==========================================================================\n   v1.3.0 Marketplace Header\n   ========================================================================== */
.cf-market-header{background:#fff;border-bottom:0;position:sticky;top:0;z-index:999;box-shadow:0 1px 0 rgba(15,23,42,.08)}
.cf-market-main{background:#fff}
.cf-market-main__inner{min-height:78px;display:grid;grid-template-columns:auto minmax(380px,1fr) auto;align-items:center;gap:18px;padding-top:10px;padding-bottom:10px}
.cf-market-branding{min-width:120px;display:flex;align-items:center}
.cf-market-branding .custom-logo-link{display:inline-flex;align-items:center}
.cf-market-branding .custom-logo{max-width:155px;max-height:50px;width:auto;height:auto}
.cf-brand-text{font-size:24px;font-weight:900;letter-spacing:-.04em;color:var(--cf-primary)}
.cf-header-search{display:grid;grid-template-columns:minmax(180px,260px) minmax(220px,1fr);gap:9px;min-width:0}
.cf-header-location{min-height:50px;border:1px solid #d7dde6;border-radius:14px;background:#fff;display:flex;align-items:center;padding:0 12px;gap:8px;min-width:0;transition:border-color .18s ease,box-shadow .18s ease}
.cf-header-location:focus-within,.cf-header-keyword:focus-within{border-color:var(--cf-primary);box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.cf-header-location svg{width:21px;height:21px;fill:var(--cf-primary);flex:0 0 auto}
.cf-header-location select{width:100%;height:46px;border:0;background:transparent;color:#111827;font-weight:600;outline:0;min-width:0;cursor:pointer}
.cf-header-keyword{min-height:50px;display:grid;grid-template-columns:minmax(0,1fr) 54px;border:1px solid #d7dde6;border-radius:14px;overflow:hidden;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.cf-header-keyword input{border:0;outline:0;padding:0 16px;font-size:15px;min-width:0;background:transparent;color:#0f172a}
.cf-header-keyword input::placeholder{color:#8993a4}
.cf-header-search-btn{border:0;background:var(--cf-primary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .18s ease}
.cf-header-search-btn:hover{background:var(--cf-primary-hover)}
.cf-header-search-btn svg{width:25px;height:25px;fill:#fff}
.cf-market-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}
.cf-market-action{min-width:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#0f172a;font-size:11px;font-weight:700;line-height:1.2;padding:4px 5px;border-radius:9px}
.cf-market-action:hover{color:var(--cf-primary);background:#f8fafc}
.cf-market-action svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.cf-account-link svg{fill:none}
.cf-sell-button{height:48px;min-width:104px;padding:0 17px;border-radius:24px;background:#fff;color:#0f172a;font-weight:900;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:5px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#facc15 0 33%,#22c1c3 33% 66%,#2563eb 66%) border-box;box-shadow:0 2px 8px rgba(15,23,42,.12)}
.cf-sell-button:hover{color:var(--cf-primary);transform:translateY(-1px)}
.cf-sell-plus{font-size:25px;font-weight:500;line-height:1}
.cf-category-bar{border-top:1px solid #eef1f5;border-bottom:1px solid #e8edf3;background:#fff}
.cf-category-bar__inner{display:flex;align-items:center;min-height:50px;gap:14px;min-width:0}
.cf-all-categories{height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 15px;border-radius:19px;background:var(--cf-primary);color:#fff;font-size:13px;font-weight:800;flex:0 0 auto}
.cf-all-categories:hover{background:var(--cf-primary-hover);color:#fff}
.cf-all-categories svg{width:20px;height:20px;fill:currentColor}
.cf-category-scroll{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:none;min-width:0;padding:6px 0}
.cf-category-scroll::-webkit-scrollbar{display:none}
.cf-category-scroll a{display:inline-flex;align-items:center;min-height:34px;padding:6px 13px;border:1px solid #dfe4ea;border-radius:18px;background:#fff;color:#283342;font-size:13px;white-space:nowrap;transition:border-color .18s ease,color .18s ease,background .18s ease}
.cf-category-scroll a:hover{border-color:#9db4ef;background:#f6f9ff;color:var(--cf-primary)}
.admin-bar .cf-market-header{top:32px}

@media(max-width:1100px){
 .cf-market-main__inner{grid-template-columns:auto minmax(300px,1fr) auto;gap:10px}
 .cf-header-search{grid-template-columns:180px minmax(180px,1fr)}
 .cf-market-action span{display:none}.cf-market-action{min-width:38px}
 .cf-sell-button{min-width:92px;padding:0 13px}
}
@media(max-width:782px){
 .admin-bar .cf-market-header{top:46px}
 .cf-market-header{position:sticky}
 .cf-market-main__inner{grid-template-columns:auto 1fr auto;grid-template-areas:'brand spacer actions' 'search search search';gap:8px 10px;padding-top:8px;padding-bottom:8px}
 .cf-market-branding{grid-area:brand;min-width:0}.cf-market-branding .custom-logo{max-width:120px;max-height:40px}
 .cf-market-actions{grid-area:actions;justify-self:end}.cf-header-search{grid-area:search;grid-template-columns:150px minmax(0,1fr);width:100%}
 .cf-header-location,.cf-header-keyword{min-height:44px;border-radius:12px}.cf-header-location select{height:40px}.cf-header-search-btn{width:48px}.cf-header-keyword{grid-template-columns:minmax(0,1fr) 48px}
 .cf-category-bar__inner{gap:8px}.cf-all-categories{height:34px;padding:0 11px;font-size:0}.cf-all-categories svg{width:21px;height:21px}.cf-category-scroll a{font-size:12px;min-height:32px;padding:5px 11px}
}
@media(max-width:520px){
 .cf-container{width:min(calc(100% - 18px),var(--cf-container))}
 .cf-market-main__inner{grid-template-columns:auto 1fr auto}
 .cf-market-branding .custom-logo{max-width:96px}.cf-brand-text{font-size:20px}
 .cf-header-search{grid-template-columns:115px minmax(0,1fr);gap:6px}
 .cf-header-location{padding:0 7px;gap:4px}.cf-header-location svg{width:18px;height:18px}.cf-header-location select{font-size:12px}
 .cf-header-keyword input{padding:0 10px;font-size:13px}.cf-header-search-btn svg{width:21px;height:21px}
 .cf-wishlist-link{display:none}.cf-sell-button{height:42px;min-width:76px;padding:0 10px;border-width:4px;font-size:12px}.cf-sell-plus{font-size:20px}
 .cf-category-bar__inner{min-height:44px}
}

/* ==========================================================================
   v1.4.0 Marketplace Homepage
   ========================================================================== */
.cf-home{padding-bottom:6px;background:linear-gradient(180deg,#fff 0,#f8fafc 520px)}
.cf-home-category-section{padding:30px 0 18px}
.cf-home-section{padding:30px 0}
.cf-home-section+.cf-home-section{border-top:1px solid #eef2f6}
.cf-home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}
.cf-home-section-head h1,.cf-home-section-head h2{margin:2px 0 0;color:#111827;font-size:26px;line-height:1.18;letter-spacing:-.025em}
.cf-home-section-head h1{font-size:28px}
.cf-home-eyebrow{display:block;color:var(--cf-primary);font-size:11px;line-height:1.2;font-weight:900;text-transform:uppercase;letter-spacing:.11em}
.cf-home-view-link{flex:0 0 auto;color:#334155;font-size:13px;font-weight:800;white-space:nowrap}
.cf-home-view-link span{margin-left:3px;color:var(--cf-primary);font-size:17px}
.cf-home-view-link:hover{color:var(--cf-primary)}

.cf-home-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.cf-home-category-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:18px 10px 14px;border:1px solid #e5eaf0;border-radius:16px;background:#fff;color:#172033;box-shadow:0 2px 8px rgba(15,23,42,.035);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.cf-home-category-card:hover{transform:translateY(-3px);border-color:#bbcaf2;box-shadow:0 10px 22px rgba(37,99,235,.08);color:var(--cf-primary)}
.cf-home-category-icon{width:62px;height:62px;border-radius:18px;background:#f2f6ff;display:grid;place-items:center;margin-bottom:11px;color:var(--cf-primary)}
.cf-home-category-icon svg{width:34px;height:34px;fill:currentColor}
.cf-home-category-name{font-size:14px;font-weight:800;line-height:1.3;min-height:36px;display:flex;align-items:center;justify-content:center}
.cf-home-category-count{margin-top:4px;color:#8a96a8;font-size:11px;font-weight:600}

.cf-home-listing-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.cf-home-listing-grid .cf-ad-card{border-radius:13px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cf-home-listing-grid .cf-ad-card:hover{transform:translateY(-2px);border-color:#cfd9e9;box-shadow:0 10px 24px rgba(15,23,42,.08)}
.cf-home-listing-grid .cf-ad-card__body{padding:12px}
.cf-home-listing-grid .cf-ad-card__title{font-size:14px;line-height:1.35;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.cf-home-listing-grid .cf-ad-card__price{font-size:18px;line-height:1.25;margin-bottom:7px}
.cf-home-listing-grid .cf-ad-card__meta{font-size:11px;gap:4px;line-height:1.4}
.cf-home-featured-section{background:#fffaf0;border-top:1px solid #f5e8c7!important;border-bottom:1px solid #f5e8c7}
.cf-home-featured-section .cf-ad-card{border-color:#f0deb2}

.cf-home-location-section{background:#fff}
.cf-home-location-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.cf-home-location-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:46px;padding:9px 12px;border:1px solid #e5eaf0;border-radius:11px;background:#fff;color:#2a3546;font-size:12px;font-weight:700}
.cf-home-location-link:hover{border-color:#b8c9f4;background:#f8faff;color:var(--cf-primary)}
.cf-home-location-pin{font-size:9px;color:var(--cf-primary)}
.cf-home-location-link small{font-size:10px;color:#94a3b8;font-weight:700}

.cf-home-category-listing-section{background:#fff}
.cf-home-category-section-title{display:flex;align-items:center;gap:10px}
.cf-home-category-section-title h2{margin:0}
.cf-home-mini-icon{width:36px;height:36px;border-radius:10px;background:#eef4ff;color:var(--cf-primary);display:grid;place-items:center}
.cf-home-mini-icon svg{width:20px;height:20px;fill:currentColor}

.cf-home-empty{padding:24px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff;color:#64748b;text-align:center}
.cf-home-empty--launch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;text-align:left;border-style:solid;border-color:#dce4ef;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.cf-home-empty--launch strong{display:block;color:#1e293b;font-size:16px}
.cf-home-empty--launch p{margin:3px 0 0;font-size:13px}
.cf-home-empty-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#eff6ff;color:var(--cf-primary);font-size:28px;font-weight:400}

.cf-home-cta-section{padding:34px 0;background:#fff}
.cf-home-sell-cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:28px 32px;border-radius:20px;background:linear-gradient(115deg,#eef4ff,#fff 55%,#fff9e9);border:1px solid #dfe8f7;overflow:hidden;position:relative}
.cf-home-sell-cta:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:90px;top:-120px;background:rgba(250,204,21,.11);pointer-events:none}
.cf-home-sell-cta__icon{width:72px;height:72px;border-radius:20px;background:#fff;color:var(--cf-primary);display:grid;place-items:center;box-shadow:0 8px 28px rgba(37,99,235,.10)}
.cf-home-sell-cta__icon svg{width:38px;height:38px;fill:currentColor}
.cf-home-sell-cta__copy h2{margin:3px 0 4px;font-size:27px;letter-spacing:-.03em}
.cf-home-sell-cta__copy p{margin:0;color:#64748b;font-size:14px}
.cf-home-cta-button{min-height:50px;padding:0 20px;border-radius:25px;background:var(--cf-primary);color:#fff;font-size:14px;font-weight:900;display:inline-flex;align-items:center;gap:7px;position:relative;z-index:1;box-shadow:0 8px 18px rgba(37,99,235,.2)}
.cf-home-cta-button:hover{background:var(--cf-primary-hover);color:#fff}
.cf-home-cta-button span{font-size:23px;font-weight:400}

.cf-home-stats-section{padding:0 0 30px;background:#fff}
.cf-home-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e5eaf0;border-radius:16px;background:#fff;overflow:hidden}
.cf-home-stat{padding:18px 20px;text-align:center;border-right:1px solid #e5eaf0}
.cf-home-stat:last-child{border-right:0}
.cf-home-stat strong{display:block;color:#172033;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.cf-home-stat span{display:block;margin-top:3px;color:#7b8798;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}

@media(max-width:1200px){
 .cf-home-category-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
 .cf-home-listing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .cf-home-location-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:850px){
 .cf-home-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .cf-home-listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cf-home-location-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cf-home-sell-cta{grid-template-columns:auto 1fr}.cf-home-cta-button{grid-column:1/-1;justify-self:start;margin-left:94px}
}
@media(max-width:600px){
 .cf-home-category-section{padding:22px 0 12px}.cf-home-section{padding:23px 0}
 .cf-home-section-head{align-items:center;margin-bottom:14px}.cf-home-section-head h1,.cf-home-section-head h2{font-size:20px}.cf-home-section-head h1{font-size:22px}.cf-home-view-link{font-size:12px}
 .cf-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cf-home-category-card{padding:14px 8px 11px;border-radius:13px}.cf-home-category-icon{width:52px;height:52px;border-radius:15px}.cf-home-category-icon svg{width:29px;height:29px}.cf-home-category-name{font-size:13px;min-height:34px}
 .cf-home-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cf-home-listing-grid .cf-ad-card__body{padding:9px}.cf-home-listing-grid .cf-ad-card__title{font-size:12px;min-height:33px}.cf-home-listing-grid .cf-ad-card__price{font-size:16px}.cf-home-listing-grid .cf-ad-card__meta{font-size:10px}
 .cf-home-location-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.cf-home-location-link{padding:8px 9px;font-size:11px}
 .cf-home-empty--launch{grid-template-columns:auto 1fr}.cf-home-empty--launch .cf-button{grid-column:1/-1;justify-self:start;margin-left:62px}
 .cf-home-sell-cta{grid-template-columns:1fr;text-align:center;padding:24px 18px;gap:12px}.cf-home-sell-cta__icon{margin:auto}.cf-home-sell-cta__copy h2{font-size:22px}.cf-home-cta-button{grid-column:auto;justify-self:center;margin-left:0}
 .cf-home-stats-grid{grid-template-columns:repeat(2,1fr)}.cf-home-stat{border-bottom:1px solid #e5eaf0}.cf-home-stat:nth-child(2){border-right:0}.cf-home-stat:nth-child(3),.cf-home-stat:nth-child(4){border-bottom:0}.cf-home-stat strong{font-size:20px}
}


/* ==========================================================================
   v1.5.0 Front-End Account & Dashboard
   ========================================================================== */
.cf-account-page{min-height:calc(100vh - 180px);display:flex;align-items:center;background:linear-gradient(135deg,#f7faff 0,#fff 56%,#fffaf0 100%)}
.cf-auth-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,520px);gap:58px;align-items:center;max-width:1120px;margin:20px auto}
.cf-auth-intro h1{font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:8px 0 15px;max-width:650px}.cf-auth-intro p{font-size:16px;color:#64748b;max-width:590px}.cf-auth-intro ul{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:10px}.cf-auth-intro li{position:relative;padding-left:28px;font-weight:700;color:#334155}.cf-auth-intro li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:#dcfce7;color:#15803d;display:grid;place-items:center;font-size:12px}
.cf-auth-card{padding:8px 26px 26px;border-radius:20px;box-shadow:0 18px 50px rgba(15,23,42,.10)}
.cf-auth-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--cf-border);margin:0 -8px 22px}.cf-auth-tabs button{border:0;background:transparent;padding:17px 8px 14px;color:#64748b;font-weight:800;cursor:pointer;border-bottom:3px solid transparent}.cf-auth-tabs button.is-active{color:var(--cf-primary);border-bottom-color:var(--cf-primary)}
.cf-auth-panel{display:none}.cf-auth-panel.is-active{display:block}.cf-form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cf-auth-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-2px 0 16px;font-size:13px}.cf-check{display:flex;align-items:center;gap:7px}.cf-account-response:empty{display:none}.cf-account-response{margin-top:13px}
.cf-account-dashboard{background:#f7f8fb;min-height:calc(100vh - 160px)}.cf-dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.cf-dashboard-head h1{margin:4px 0 0;font-size:30px;letter-spacing:-.03em}.cf-dashboard--account{grid-template-columns:250px minmax(0,1fr)}
.cf-dashboard-user{display:grid;grid-template-columns:54px minmax(0,1fr);gap:10px;align-items:center;padding:8px 8px 15px;margin-bottom:5px;border-bottom:1px solid var(--cf-border)}.cf-dashboard-avatar img{border-radius:50%}.cf-dashboard-user strong,.cf-dashboard-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cf-dashboard-user small{font-size:11px;color:#94a3b8;margin-top:2px}.cf-dashboard-nav a.is-active{background:#eff6ff;color:var(--cf-primary);font-weight:800}
.cf-account-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.cf-account-stat{padding:20px;text-align:center;color:#64748b}.cf-account-stat strong{display:block;color:#172033;font-size:30px;line-height:1}.cf-account-stat span{display:block;margin-top:7px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.cf-dashboard-panel{padding:20px}.cf-dashboard-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.cf-dashboard-panel-head h1,.cf-dashboard-panel-head h2{margin:0}.cf-dashboard-list{display:grid}.cf-dashboard-ad{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--cf-border)}.cf-dashboard-ad:last-child{border-bottom:0}.cf-dashboard-ad__thumb{width:58px;height:48px;border-radius:8px;overflow:hidden;background:#eef2f7}.cf-dashboard-ad__thumb img{width:100%;height:100%;object-fit:cover}.cf-dashboard-ad__copy strong,.cf-dashboard-ad__copy small{display:block}.cf-dashboard-ad__copy small{font-size:11px;color:#94a3b8;margin-top:2px}.cf-dashboard-ad__price{font-weight:800;white-space:nowrap}.cf-dashboard-table-wrap{overflow:auto}.cf-dashboard-actions{display:flex;gap:6px;flex-wrap:wrap}.cf-dashboard-actions .cf-button{min-height:34px;padding:6px 9px;font-size:11px}.cf-muted{color:#7b8798;font-size:13px}.cf-submit-card{padding:24px;max-width:900px;margin:auto}.cf-submit-grid{grid-template-columns:repeat(3,1fr)}
.cf-badge--active{background:#dcfce7;color:#166534;position:static}.cf-badge--pending{background:#fff7ed;color:#9a3412;position:static}.cf-badge--sold,.cf-badge--expired{background:#f1f5f9;color:#475569;position:static}
@media(max-width:900px){.cf-auth-shell{grid-template-columns:1fr;gap:25px;max-width:620px}.cf-auth-intro{text-align:center}.cf-auth-intro h1{font-size:34px;margin-left:auto;margin-right:auto}.cf-auth-intro p{margin-left:auto;margin-right:auto}.cf-auth-intro ul{display:none}.cf-dashboard--account{grid-template-columns:1fr}.cf-dashboard-nav{display:flex;overflow-x:auto;align-items:center;gap:4px}.cf-dashboard-user{display:none}.cf-dashboard-nav a{white-space:nowrap}.cf-account-stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cf-account-page{align-items:flex-start}.cf-auth-shell{margin:0}.cf-auth-intro h1{font-size:27px}.cf-auth-intro p{font-size:14px}.cf-auth-card{padding:6px 16px 20px}.cf-form-two{grid-template-columns:1fr}.cf-auth-row{align-items:flex-start}.cf-dashboard-head{align-items:center}.cf-dashboard-head h1{font-size:23px}.cf-dashboard-head .cf-button{font-size:12px;padding:8px 10px}.cf-account-stat{padding:15px 8px}.cf-account-stat strong{font-size:24px}.cf-dashboard-panel{padding:14px}.cf-dashboard-ad{grid-template-columns:48px minmax(0,1fr)}.cf-dashboard-ad__thumb{width:48px;height:42px}.cf-dashboard-ad__price{grid-column:2}.cf-submit-grid{grid-template-columns:1fr}.cf-dashboard-table{min-width:760px}}

/* v1.6.0 Admin-managed marketplace footer */
.cf-market-footer{margin-top:48px;background:#0b1728;color:#b8c4d4;padding:0;border-top:4px solid var(--cf-primary)}
.cf-footer-main{display:grid;grid-template-columns:minmax(230px,1.25fr) minmax(0,3fr);gap:52px;padding:46px 0 38px}
.cf-footer-brand{min-width:0}.cf-footer-logo{margin-bottom:18px}.cf-market-footer .custom-logo{max-height:52px;width:auto}.cf-footer-site-name{font-size:24px;font-weight:800;color:#fff}.cf-footer-tagline{max-width:380px;margin:0 0 18px;color:#aab8c9;font-size:14px;line-height:1.7}
.cf-footer-contact{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.cf-footer-contact a{color:#dce5ef;font-size:14px}.cf-footer-contact a:hover{color:#fff}
.cf-footer-social{display:flex;flex-wrap:wrap;gap:8px}.cf-footer-social a{display:inline-flex;align-items:center;min-height:32px;padding:5px 9px;border:1px solid rgba(255,255,255,.13);border-radius:7px;color:#cbd5e1;font-size:12px}.cf-footer-social a:hover{background:rgba(255,255,255,.08);color:#fff}
.cf-footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}.cf-footer-column h3{margin:0 0 15px;color:#fff;font-size:15px;font-weight:800}.cf-footer-column ul,.cf-footer-column .menu{list-style:none;margin:0;padding:0}.cf-footer-column li{margin:0 0 9px}.cf-footer-column a{color:#aebdce;font-size:13px}.cf-footer-column a:hover{color:#fff;text-decoration:underline}
.cf-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0 22px;border-top:1px solid rgba(255,255,255,.1);font-size:12px;color:#8798ab}.cf-footer-bottom-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:18px}.cf-footer-bottom-links a{color:#9fb0c2}.cf-footer-bottom-links a:hover{color:#fff}
@media(max-width:1100px){.cf-footer-main{grid-template-columns:1fr;gap:32px}.cf-footer-columns{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.cf-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.cf-footer-bottom{align-items:flex-start;flex-direction:column}.cf-footer-bottom-links{justify-content:flex-start}}
@media(max-width:520px){.cf-footer-main{padding:34px 0 28px}.cf-footer-columns{grid-template-columns:1fr 1fr;gap:26px 18px}.cf-footer-column h3{font-size:14px}.cf-footer-column a{font-size:12px}.cf-footer-tagline{font-size:13px}}

/* ========================================================================== 
   v1.6.1 Mobile archive search/filter controls + strict 2-column ads
   ========================================================================== */
.cf-mobile-archive-tools,.cf-mobile-panel{display:none}
.cf-filter-apply-mobile{display:none}
.cf-results-summary p{margin:0 0 12px}
.cf-archive-results{min-width:0}

@media(max-width:767px){
 body.cf-classified-archive{overflow-x:hidden}
 .cf-archive-section{padding-top:12px}
 .cf-archive-section>.cf-container{width:min(calc(100% - 16px),var(--cf-container))}

 /* The large desktop controls no longer occupy the first mobile screen. */
 [data-cf-desktop-search]{display:none}
 .cf-archive-layout{display:block}
 [data-cf-desktop-filter]{display:none}

 .cf-mobile-archive-tools{
   display:grid;grid-template-columns:1fr 1fr;align-items:center;
   border:1px solid var(--cf-border);background:#fff;border-radius:12px;
   overflow:hidden;margin:0 0 12px;box-shadow:0 1px 2px rgba(15,23,42,.04)
 }
 .cf-mobile-tool-button{
   min-height:44px;border:0;background:#fff;color:#172033;padding:8px 13px;
   display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;cursor:pointer
 }
 .cf-mobile-tool-button:first-child{justify-content:flex-start;border-right:1px solid var(--cf-border)}
 .cf-mobile-tool-button:last-child{justify-content:flex-end}
 .cf-mobile-tool-button:active,.cf-mobile-tool-button[aria-expanded="true"]{background:#f5f8ff;color:var(--cf-primary)}
 .cf-mobile-tool-icon{display:inline-grid;place-items:center;line-height:0}

 .cf-mobile-panel{
   position:fixed;inset:0;z-index:10000;background:rgba(15,23,42,.42);
   padding:72px 10px 10px;align-items:flex-start;justify-content:center
 }
 .cf-mobile-panel.is-open{display:flex}
 .cf-mobile-panel__head{
   position:absolute;top:0;left:0;right:0;height:58px;background:#fff;
   border-bottom:1px solid var(--cf-border);display:flex;align-items:center;
   justify-content:space-between;padding:0 16px;font-size:16px
 }
 .cf-mobile-panel__close{
   width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;
   color:#172033;font-size:28px;line-height:34px;cursor:pointer
 }
 .cf-mobile-panel__body{
   width:min(100%,520px);max-height:calc(100vh - 92px);overflow:auto;background:#fff;
   border-radius:14px;padding:14px;box-shadow:0 18px 50px rgba(15,23,42,.18)
 }
 .cf-mobile-panel__body .cf-search-shell{display:block!important;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
 .cf-mobile-panel__body .cf-search-grid{display:grid;grid-template-columns:1fr;gap:10px}
 .cf-mobile-panel__body .cf-filter-sidebar{display:block!important;position:static;padding:0;border:0;box-shadow:none;background:transparent}
 .cf-mobile-panel__body .cf-filter-sidebar h3{display:none}
 .cf-mobile-panel__body .cf-filter-apply-mobile{display:flex;width:100%;margin-top:10px}
 body.cf-mobile-panel-open{overflow:hidden}

 .cf-results-summary{display:flex;align-items:center;min-height:28px}
 .cf-results-summary p{font-size:12px;color:#64748b;margin:0 0 8px}

 /* Strict 2 x N cards, tuned for narrow mobile screens. */
 .cf-archive-listing-grid{
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:8px!important;width:100%
 }
 .cf-archive-listing-grid .cf-ad-card{min-width:0;border-radius:11px}
 .cf-archive-listing-grid .cf-ad-card__image{aspect-ratio:1/0.82}
 .cf-archive-listing-grid .cf-ad-card__body{padding:9px 8px 10px}
 .cf-archive-listing-grid .cf-ad-card__title{
   margin:0 0 5px;font-size:12px;line-height:1.3;min-height:31px;
   display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
 }
 .cf-archive-listing-grid .cf-ad-card__price{font-size:16px;line-height:1.2;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .cf-archive-listing-grid .cf-ad-card__meta{
   font-size:9px;line-height:1.35;gap:2px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
 }
 .cf-archive-listing-grid .cf-badge{top:6px;left:6px;padding:3px 6px;font-size:9px}
 .cf-archive-listing-grid .cf-empty{grid-column:1/-1}
 .cf-pagination{margin-top:16px}
}

@media(max-width:360px){
 .cf-archive-section>.cf-container{width:min(calc(100% - 12px),var(--cf-container))}
 .cf-archive-listing-grid{gap:6px!important}
 .cf-archive-listing-grid .cf-ad-card__body{padding:8px 6px}
 .cf-archive-listing-grid .cf-ad-card__price{font-size:15px}
}


/* ==========================================================================
   v1.7.0 Premium Listing Cards & Single Ad Experience
   ========================================================================== */
.cf-premium-archive{padding:28px 0 46px;background:#f7f9fc;min-height:62vh}
.cf-archive-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}
.cf-archive-head h1{margin:2px 0 0;font-size:30px;line-height:1.15;letter-spacing:-.03em}
.cf-archive-eyebrow{display:block;color:var(--cf-primary);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.cf-archive-description{max-width:760px;margin-top:7px;color:#64748b;font-size:13px;line-height:1.55}
.cf-archive-count{min-width:92px;padding:10px 14px;border:1px solid #e3e8ef;border-radius:12px;background:#fff;text-align:center}
.cf-archive-count strong{display:block;color:#111827;font-size:20px;line-height:1.1}
.cf-archive-count span{display:block;margin-top:2px;color:#8290a3;font-size:11px;font-weight:700}

.cf-archive-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.cf-archive-search-wrap{min-width:0;flex:1}
.cf-premium-search-form{display:grid;grid-template-columns:minmax(210px,1.6fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(135px,.7fr) minmax(145px,.75fr) auto;gap:8px;padding:10px;border:1px solid #e1e7ef;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.cf-premium-search-keyword{display:flex;align-items:center;gap:8px;min-width:0;padding:0 12px;border:1px solid #d6dee9;border-radius:10px;background:#fff}
.cf-premium-search-keyword svg,.cf-premium-search-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cf-premium-search-keyword svg{flex:0 0 auto;color:#718096}
.cf-premium-search-keyword input{width:100%;height:42px;border:0;outline:0;background:transparent;color:#111827;font-size:13px}
.cf-premium-search-form .cf-select{min-height:44px;padding:8px 10px;font-size:12px}
.cf-premium-search-submit{min-width:96px;border-radius:10px}
.cf-premium-search-submit span{display:inline}
.cf-archive-price-filter{flex:0 0 auto}
.cf-price-filter-fields{display:flex;align-items:flex-end;gap:7px;padding:9px;border:1px solid #e1e7ef;border-radius:14px;background:#fff}
.cf-price-filter-fields label{display:block}
.cf-price-filter-fields label span{display:block;margin:0 0 4px 2px;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.cf-price-filter-fields .cf-input{width:92px;min-height:38px;padding:7px 9px;font-size:12px}
.cf-price-filter-fields .cf-button{min-height:38px;padding:8px 12px;font-size:12px}
.cf-archive-results--full{width:100%}
.cf-archive-listing-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cf-premium-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;border:1px dashed #cfd8e5;border-radius:16px;background:#fff;color:#718096}
.cf-premium-empty strong{color:#334155;font-size:16px}
.cf-premium-empty span{margin-top:4px;font-size:13px}

.cf-premium-card{position:relative;overflow:hidden;border:1px solid #e2e8f0;border-radius:15px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cf-premium-card:hover{transform:translateY(-3px);border-color:#cbd8ee;box-shadow:0 12px 28px rgba(15,23,42,.09)}
.cf-premium-card__image{display:block;position:relative;aspect-ratio:4/3;overflow:hidden;background:#eef2f6}
.cf-premium-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.cf-premium-card:hover .cf-premium-card__image img{transform:scale(1.025)}
.cf-card-no-image{position:absolute;inset:0;display:grid;place-items:center;color:#94a3b8;font-size:12px}
.cf-card-badge{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:900;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.cf-card-badge--featured{position:absolute;top:10px;left:10px;z-index:2;background:#fff3c4;color:#8a5b00;box-shadow:0 2px 6px rgba(15,23,42,.12)}
.cf-card-badge--sold{background:#fee2e2;color:#991b1b}
.cf-card-sold{position:absolute;inset:auto 10px 10px 10px;padding:8px;border-radius:8px;background:rgba(15,23,42,.86);color:#fff;text-align:center;font-size:12px;font-weight:900;text-transform:uppercase}
.cf-card-save{position:absolute;top:10px;right:10px;z-index:3;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.96);color:#334155;box-shadow:0 2px 8px rgba(15,23,42,.13)}
.cf-card-save:hover{color:#e11d48;background:#fff}
.cf-card-save svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.cf-premium-card__body{padding:13px 14px 12px}
.cf-premium-card__price{margin-bottom:4px;color:#0f172a;font-size:20px;font-weight:900;line-height:1.2;letter-spacing:-.02em}
.cf-premium-card__title{margin:0 0 8px;font-size:14px;line-height:1.35;font-weight:750;min-height:38px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cf-premium-card__title a{color:#1f2937}
.cf-premium-card__title a:hover{color:var(--cf-primary)}
.cf-premium-card__location{display:flex;align-items:center;gap:5px;min-width:0;color:#64748b;font-size:11px;line-height:1.35}
.cf-premium-card__location svg{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8}
.cf-premium-card__location span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-premium-card__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding-top:9px;border-top:1px solid #edf1f5;color:#8a96a8;font-size:10px}
.cf-premium-card__footer span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-premium-card__footer time{flex:0 0 auto}

.cf-single-premium{padding:18px 0 48px;background:#f7f9fc}
.cf-breadcrumbs{display:flex;align-items:center;gap:7px;margin:2px 0 14px;color:#8a96a8;font-size:12px}
.cf-breadcrumbs a{color:#64748b}
.cf-breadcrumbs a:hover{color:var(--cf-primary)}
.cf-single-titlebar{display:flex;justify-content:space-between;gap:20px;margin-bottom:18px}
.cf-single-titlebar h1{margin:5px 0 7px;font-size:32px;line-height:1.15;letter-spacing:-.035em}
.cf-single-badges{display:flex;gap:6px}
.cf-single-submeta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;color:#6b7788;font-size:12px}
.cf-single-submeta span{display:inline-flex;align-items:center;gap:5px}
.cf-single-submeta svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}

.cf-single-main-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.78fr);gap:20px;align-items:start}
.cf-single-main-column{min-width:0}
.cf-premium-gallery{overflow:hidden;border:1px solid #e1e7ef;border-radius:17px;background:#fff}
.cf-gallery-stage{position:relative;height:540px;display:grid;place-items:center;overflow:hidden;background:#eef2f6}
.cf-main-gallery-image{width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.cf-gallery-empty{color:#94a3b8}
.cf-gallery-expand{position:absolute;right:14px;bottom:14px;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(15,23,42,.08);border-radius:10px;background:rgba(255,255,255,.94);color:#172033;box-shadow:0 4px 14px rgba(15,23,42,.12);cursor:pointer}
.cf-gallery-expand svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.cf-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:12px;background:#fff;border-top:1px solid #edf1f5}
.cf-gallery-thumbs .cf-thumb{flex:0 0 76px;width:76px;height:62px;padding:3px;border:2px solid transparent;border-radius:9px;background:#f1f5f9;overflow:hidden;cursor:pointer}
.cf-gallery-thumbs .cf-thumb.is-active{border-color:var(--cf-primary)}
.cf-gallery-thumbs .cf-thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}

.cf-single-side{position:sticky;top:118px}
.admin-bar .cf-single-side{top:150px}
.cf-seller-card--premium{padding:22px;border:1px solid #dfe6ef;border-radius:17px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.055)}
.cf-single-price{color:#0f172a;font-size:31px;font-weight:950;line-height:1.15;letter-spacing:-.035em}
.cf-price-note{margin-top:4px;color:#64748b;font-size:12px;font-weight:600}
.cf-seller-divider{height:1px;margin:18px 0;background:#e8edf3}
.cf-seller-heading{margin-bottom:12px;color:#334155;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.cf-seller-profile{display:flex;align-items:center;gap:12px}
.cf-seller-avatar img{display:block;width:56px;height:56px;border-radius:50%;object-fit:cover}
.cf-seller-profile strong{display:block;color:#172033;font-size:15px}
.cf-seller-profile span{display:block;margin-top:2px;color:#7c8797;font-size:11px}
.cf-seller-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
.cf-seller-actions .cf-button{min-height:42px;padding:9px 11px;font-size:12px}
.cf-seller-actions .cf-button--block{grid-column:1/-1}
.cf-safety-note{margin:14px 0 0;padding:11px;border-radius:10px;background:#f8fafc;color:#6b7788;font-size:10px;line-height:1.5}

.cf-single-section{margin-top:18px;padding:22px;border:1px solid #e1e7ef;border-radius:17px;background:#fff}
.cf-single-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.cf-single-section-head h2{margin:0;font-size:20px;letter-spacing:-.02em}
.cf-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e7ecf2;border-radius:12px;overflow:hidden}
.cf-detail-grid>div{padding:14px 16px;border-right:1px solid #e7ecf2;border-bottom:1px solid #e7ecf2}
.cf-detail-grid>div:nth-child(2n){border-right:0}
.cf-detail-grid>div:nth-last-child(-n+2){border-bottom:0}
.cf-detail-grid span{display:block;margin-bottom:3px;color:#8894a5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.cf-detail-grid strong{display:block;color:#283445;font-size:13px;line-height:1.45}
.cf-listing-description{max-width:820px;color:#344054;font-size:15px;line-height:1.75}
.cf-listing-description p{margin:0 0 16px}
.cf-listing-description p:last-child{margin-bottom:0}
.cf-description-heading{margin:22px 0 10px;color:#172033;font-size:17px}
.cf-description-list{list-style:none;padding:0;margin:8px 0 18px}
.cf-description-list li{position:relative;padding-left:22px;margin:7px 0}
.cf-description-list li:before{content:"✓";position:absolute;left:0;top:0;color:#16a34a;font-weight:900}
.cf-map-address{margin:-5px 0 14px;color:#64748b;font-size:13px}
.cf-location-card .cf-map{min-height:320px}
.cf-similar-section{margin-top:34px}
.cf-similar-head{margin-bottom:15px}
.cf-similar-head h2{margin:2px 0 0;font-size:24px}
.cf-similar-head a{font-size:12px;font-weight:800}
.cf-similar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}

.cf-lightbox{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;padding:30px;background:rgba(3,7,18,.94)}
.cf-lightbox.is-open{display:flex}
.cf-lightbox img{max-width:94vw;max-height:92vh;object-fit:contain}
.cf-lightbox-close{position:absolute;top:20px;right:24px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:32px;line-height:1;cursor:pointer}
.cf-mobile-contact-bar{display:none}

@media(max-width:1180px){
 .cf-premium-search-form{grid-template-columns:minmax(190px,1.5fr) repeat(3,minmax(125px,.7fr)) minmax(130px,.7fr) auto}
 .cf-archive-price-filter{display:none}
 .cf-archive-listing-grid,.cf-similar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cf-gallery-stage{height:480px}
}
@media(max-width:900px){
 .cf-single-main-grid{grid-template-columns:1fr}
 .cf-single-side{position:static}
 .cf-gallery-stage{height:500px}
 .cf-seller-card--premium{max-width:none}
}
@media(max-width:767px){
 .cf-premium-archive{padding:16px 0 34px}
 .cf-archive-head{align-items:flex-start;margin-bottom:12px}
 .cf-archive-head h1{font-size:23px}
 .cf-archive-description{display:none}
 .cf-archive-count{padding:7px 10px;min-width:72px}
 .cf-archive-count strong{font-size:17px}
 .cf-archive-toolbar{margin-bottom:12px}
 .cf-archive-search-wrap,.cf-archive-price-filter{display:block}
 .cf-premium-search-form{display:grid;grid-template-columns:1fr;gap:9px;padding:0;border:0;box-shadow:none}
 .cf-premium-search-keyword{min-height:44px}
 .cf-premium-search-form .cf-select{width:100%;min-height:44px}
 .cf-premium-search-submit{width:100%}
 .cf-price-filter-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0;border:0}
 .cf-price-filter-fields .cf-input{width:100%}
 .cf-price-filter-fields .cf-button{grid-column:1/-1;width:100%}
 .cf-archive-listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cf-premium-card{border-radius:11px}
 .cf-premium-card__body{padding:9px 9px 8px}
 .cf-premium-card__price{font-size:16px}
 .cf-premium-card__title{font-size:12px;min-height:33px;margin-bottom:6px}
 .cf-premium-card__location{font-size:9.5px}
 .cf-premium-card__footer{font-size:8.5px;margin-top:7px;padding-top:7px}
 .cf-card-save{width:29px;height:29px;top:7px;right:7px}
 .cf-card-save svg{width:16px;height:16px}
 .cf-card-badge--featured{top:7px;left:7px;font-size:8px;min-height:21px;padding:3px 6px}

 .cf-single-premium{padding:10px 0 76px}
 .cf-breadcrumbs{overflow-x:auto;white-space:nowrap;margin-bottom:10px}
 .cf-single-titlebar h1{font-size:24px}
 .cf-single-submeta{font-size:10.5px}
 .cf-gallery-stage{height:390px}
 .cf-gallery-thumbs .cf-thumb{flex-basis:64px;width:64px;height:54px}
 .cf-single-section{padding:16px;margin-top:12px;border-radius:13px}
 .cf-single-section-head{margin-bottom:12px}
 .cf-single-section-head h2{font-size:18px}
 .cf-detail-grid{grid-template-columns:1fr}
 .cf-detail-grid>div,.cf-detail-grid>div:nth-child(2n),.cf-detail-grid>div:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e7ecf2}
 .cf-detail-grid>div:last-child{border-bottom:0}
 .cf-listing-description{font-size:14px;line-height:1.7}
 .cf-seller-card--premium{padding:17px}
 .cf-single-price{font-size:27px}
 .cf-similar-section{margin-top:25px}
 .cf-similar-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cf-mobile-contact-bar{position:fixed;left:0;right:0;bottom:0;z-index:9998;display:grid;grid-template-columns:repeat(3,1fr);gap:1px;padding:8px max(9px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left));background:#fff;border-top:1px solid #dfe6ef;box-shadow:0 -8px 22px rgba(15,23,42,.09)}
 .cf-mobile-contact-bar button{min-height:44px;border:1px solid #d9e1eb;border-radius:9px;background:#fff;color:#1f2937;font-size:11px;font-weight:850}
 .cf-mobile-contact-bar button:last-child{background:var(--cf-primary);border-color:var(--cf-primary);color:#fff}
}
@media(max-width:480px){
 .cf-gallery-stage{height:340px}
 .cf-single-titlebar h1{font-size:22px}
 .cf-seller-actions{grid-template-columns:1fr 1fr}
}

/* v1.7.3 – Front-end Page Title Visibility */
.cf-page-content{padding:24px}
.cf-page-content > :first-child{margin-top:0}
.cf-page-content > :last-child{margin-bottom:0}
@media(max-width:600px){.cf-page-content{padding:16px}}


/* v1.7.4 – Featured Listing Admin Controls */
.cf-admin-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.cf-admin-featured-box{margin:18px 0;padding:18px;border:1px solid #f4d77e;border-radius:10px;background:#fffaf0}
.cf-admin-featured-box h3{margin:0 0 12px}
.cf-admin-featured-toggle{display:block;font-size:14px}
.cf-admin-featured-date{margin-top:12px}
.cf-admin-featured-date input[type=date]{min-width:190px}
@media(max-width:782px){.cf-admin-meta-grid{grid-template-columns:1fr}}


/* ==========================================================================
   v1.7.6 Related Listings, Categories & Location Discovery
   ========================================================================== */
.cf-discovery-zone,
.cf-single-discovery{
  margin-top:34px;
}
.cf-discovery-section{
  margin-top:22px;
  padding:22px;
  border:1px solid #e1e7ef;
  border-radius:17px;
  background:#fff;
}
.cf-discovery-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:14px;
}
.cf-discovery-head h2{
  margin:2px 0 0;
  color:#172033;
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.02em;
}
.cf-discovery-head>a{
  flex:0 0 auto;
  font-size:12px;
  font-weight:800;
}
.cf-discovery-chip-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
}
.cf-discovery-chip{
  min-width:0;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border:1px solid #dfe6ef;
  border-radius:11px;
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:750;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.cf-discovery-chip:hover{
  transform:translateY(-1px);
  border-color:#b8caf5;
  background:#f8faff;
  color:var(--cf-primary);
}
.cf-discovery-chip span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.cf-discovery-chip small{
  flex:0 0 auto;
  min-width:25px;
  padding:2px 6px;
  border-radius:999px;
  background:#eef4ff;
  color:var(--cf-primary);
  text-align:center;
  font-size:9px;
  font-weight:900;
}
.cf-discovery-chip--soft{
  background:#f8fafc;
}
.cf-discovery-chip--location:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:50%;
  background:#2563eb;
}
.cf-discovery-chip--location span{
  margin-right:auto;
}
.cf-discovery-listings{
  padding-bottom:24px;
}
.cf-discovery-listing-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.cf-single-discovery{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
}
.cf-single-discovery+.cf-similar-section{
  margin-top:24px;
}

@media(max-width:1100px){
  .cf-discovery-chip-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .cf-discovery-listing-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:767px){
  .cf-discovery-zone,
  .cf-single-discovery{
    margin-top:22px;
  }
  .cf-discovery-section{
    margin-top:12px;
    padding:15px;
    border-radius:13px;
  }
  .cf-discovery-head{
    margin-bottom:11px;
  }
  .cf-discovery-head h2{
    font-size:17px;
  }
  .cf-discovery-chip-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .cf-discovery-chip{
    min-height:43px;
    padding:8px 9px;
    font-size:10.5px;
  }
  .cf-discovery-listing-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
}
