/*
Theme Name: BestEmpire Marketplace
Theme URI: https://www.bestempirelimited.com/
Author: CloudMita Technologies Limited
Description: Custom marketplace theme for BestEmpire Limited architectural plans and real estate listings.
Version: 0.2.0
Text Domain: bestempire-marketplace
*/

:root {
  --be-blue: #0d47d9;
  --be-blue-dark: #082b86;
  --be-blue-light: #eaf1ff;
  --be-gold: #ffc20a;
  --be-text: #13213c;
  --be-muted: #667085;
  --be-border: #dce5f3;
  --be-white: #ffffff;
  --be-bg: #f7f9fc;
  --be-radius: 18px;
  --be-shadow: 0 14px 40px rgba(13, 71, 217, .10);
}

*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--be-text);background:var(--be-bg);line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.be-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;font-weight:700;transition:.2s ease}
.be-btn-primary{background:var(--be-blue);color:#fff}
.be-btn-primary:hover{background:var(--be-blue-dark)}
.be-btn-outline{border:1px solid var(--be-blue);color:var(--be-blue);background:#fff}
.be-btn-gold{background:var(--be-gold);color:#09152f}

.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--be-border)}
.site-header .inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font-size:1.35rem;font-weight:900;color:var(--be-blue-dark)}
.brand span{color:var(--be-gold)}
.primary-nav{display:flex;gap:22px;align-items:center;font-size:.95rem;font-weight:650}
.header-actions{display:flex;gap:10px}

.hero{padding:44px 0 28px}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:26px;align-items:stretch}
.hero-panel{background:linear-gradient(135deg,var(--be-blue-dark),var(--be-blue));color:#fff;border-radius:28px;padding:48px;box-shadow:var(--be-shadow);position:relative;overflow:hidden}
.hero-panel:after{content:"";position:absolute;inset:auto -70px -90px auto;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.08)}
.hero h1{font-size:clamp(2.3rem,5vw,4.6rem);line-height:.98;margin:0 0 18px;max-width:780px}
.hero h1 em{font-style:normal;color:#aecdff}
.hero p{max-width:660px;color:#e8efff;font-size:1.07rem}
.search-bar{margin-top:26px;background:#fff;padding:8px;border-radius:16px;display:grid;grid-template-columns:200px 1fr 120px;gap:8px}
.search-bar select,.search-bar input{border:0;background:#f6f8fc;border-radius:10px;padding:14px;font:inherit;color:#344054;outline:none}
.search-bar button{border:0;cursor:pointer}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.chip{border:1px solid rgba(255,255,255,.3);padding:7px 12px;border-radius:999px;font-size:.88rem;background:rgba(255,255,255,.07)}
.hero-card{background:#fff;border:1px solid var(--be-border);border-radius:28px;overflow:hidden;box-shadow:var(--be-shadow)}
.hero-card .photo{min-height:260px;background:linear-gradient(135deg,#dce8ff,#9cc0ff);display:grid;place-items:center;color:var(--be-blue-dark);font-weight:800;padding:32px;text-align:center}
.hero-card .content{padding:24px}
.hero-card .price{font-size:1.55rem;font-weight:900;color:var(--be-blue-dark)}

.section{padding:28px 0 16px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}
.section h2{font-size:1.7rem;margin:0}
.section-heading p{margin:0;color:var(--be-muted)}
.card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.market-card{background:#fff;border:1px solid var(--be-border);border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(16,24,40,.05)}
.market-card .thumb{aspect-ratio:4/3;background:linear-gradient(145deg,#dce8ff,#eef4ff);display:grid;place-items:center;color:var(--be-blue-dark);font-weight:800;text-align:center;padding:18px}
.market-card .body{padding:16px}
.market-card h3{font-size:1rem;margin:0 0 4px}
.market-card .meta{font-size:.85rem;color:var(--be-muted)}
.market-card .price{font-size:1.05rem;font-weight:900;margin-top:10px}
.card-actions{display:flex;gap:8px;margin-top:14px}
.card-actions .be-btn{padding:9px 12px;font-size:.86rem;flex:1}

.trust-strip{margin:34px 0;background:var(--be-blue-dark);color:#fff;border-radius:20px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.trust-item{padding:24px;border-right:1px solid rgba(255,255,255,.16)}
.trust-item:last-child{border-right:0}
.trust-item strong{display:block;margin-bottom:3px}
.trust-item span{color:#dbe6ff;font-size:.9rem}

.site-footer{margin-top:48px;background:#061d59;color:#dce7ff;padding:42px 0}
.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:28px}
.site-footer h4{color:#fff;margin-top:0}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.site-footer a{color:#dce7ff}

@media(max-width:960px){.primary-nav{display:none}.hero-grid{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(2,1fr)}.search-bar{grid-template-columns:1fr}.trust-strip{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.header-actions .be-btn-outline{display:none}.hero-panel{padding:32px 22px}.card-grid{grid-template-columns:1fr}.trust-strip,.footer-grid{grid-template-columns:1fr}.trust-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.16)}}

/* BestEmpire v0.2 marketplace additions */
.eyebrow{display:inline-block;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#ffbf00;margin-bottom:12px}.hero-panel .eyebrow{color:#ffcf38}.hero-trust{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px;font-size:.82rem;font-weight:700;color:#fff}.image-thumb{position:relative;overflow:hidden}.image-thumb img{display:block;width:100%;height:100%;object-fit:cover}.badge{display:inline-flex;align-items:center;background:#1555e8;color:#fff;padding:6px 10px;border-radius:999px;font-size:.72rem;font-weight:800}.badge-gold{background:#ffbf00;color:#12225b}.hero-card .content .badge{margin-bottom:10px}.market-paths{padding:0 0 24px}.path-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.path-grid a{display:flex;flex-direction:column;gap:4px;padding:18px;border:1px solid #dbe5fb;background:#fff;border-radius:14px;color:#0d2463;text-decoration:none}.path-grid a strong{font-size:1rem}.path-grid a span{font-size:.82rem;color:#65708c}.section-soft{background:#f7faff}.empty-state{grid-column:1/-1;padding:34px;border:1px dashed #bfd0f5;border-radius:16px;text-align:center;color:#64708b;background:#fff}.seller-cta{padding-top:22px}.seller-box{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:38px;border-radius:22px;background:linear-gradient(120deg,#062171,#0a52df);color:#fff}.seller-box h2{color:#fff;margin:5px 0 10px;max-width:730px}.seller-box p{margin:0;max-width:720px;color:#dce8ff}.seller-actions{display:flex;gap:10px;flex-shrink:0}.be-btn-outline-light{border:1px solid #fff;color:#fff;background:transparent}.archive-hero{padding:62px 0 54px;background:linear-gradient(120deg,#071e68,#0c55e5);color:#fff}.archive-hero h1{margin:4px 0 12px;color:#fff;font-size:clamp(2rem,4vw,3.5rem)}.archive-hero p{max-width:820px;color:#dce8ff;font-size:1.05rem}.archive-search{max-width:760px;margin-top:22px}.archive-search input{flex:1}.archive-grid{grid-template-columns:repeat(3,1fr)}.pagination{margin-top:34px}.pagination .nav-links{display:flex;gap:8px;justify-content:center}.pagination a,.pagination span{padding:9px 12px;border:1px solid #d6e0f2;border-radius:8px;text-decoration:none}.seo-copy{padding:50px 0;background:#f7faff}.narrow{max-width:900px}.seo-copy h2{font-size:1.7rem}.seo-copy p{color:#56627d;line-height:1.8}.single-plan{padding:46px 0}.single-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:30px}.single-image{height:min(560px,58vw);min-height:360px;border-radius:20px;background:#dce8ff;display:flex;align-items:center;justify-content:center;color:#18397d}.single-content{padding-top:24px}.single-content h1{font-size:clamp(2rem,4vw,3rem)}.plan-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.plan-facts span{padding:14px;border:1px solid #dce5f7;border-radius:12px;background:#fff;color:#59647d}.plan-facts b{display:block;color:#10245c;font-size:1.1rem}.entry-content{line-height:1.8;color:#44516d}.included{margin-top:28px;padding:22px;border-radius:15px;background:#f4f8ff}.buy-panel{position:sticky;top:28px;align-self:start;padding:24px;border:1px solid #dce5f7;border-radius:18px;background:#fff;box-shadow:0 16px 45px rgba(25,61,126,.08)}.buy-panel h2{margin:14px 0 6px}.big-price{font-size:2rem;margin:12px 0 18px}.be-full{display:block;width:100%;text-align:center;margin:8px 0}.purchase-points{list-style:none;padding:0;margin:20px 0;color:#4d5b77;line-height:2}.architect-box{border-top:1px solid #e4eaf6;padding-top:18px}.architect-box h3{margin:0 0 8px}.architect-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.architect-card{padding:20px;border:1px solid #dde6f7;border-radius:16px;background:#fff;text-align:center}.architect-card img,.profile-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}.avatar-placeholder{aspect-ratio:1/1;background:#e7efff;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#1849ad;font-weight:800}.architect-card h2{font-size:1.15rem;margin:14px 0 5px}.architect-card a{text-decoration:none}.verified{display:inline-block;color:#0b56df;font-weight:800;margin:5px 0 14px}.profile-hero{padding:54px 0;background:#f6f9ff}.profile-grid{display:grid;grid-template-columns:280px 1fr;gap:34px;align-items:center}.be-market-form{max-width:950px;margin:34px auto;padding:28px;border:1px solid #dce5f7;border-radius:18px;background:#fff}.be-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.be-market-form label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#17295e}.be-market-form input,.be-market-form textarea,.be-market-form select{width:100%;padding:13px 14px;border:1px solid #cfdaf0;border-radius:10px;font:inherit;background:#fff}.be-span-2{grid-column:1/-1}.be-form-note{color:#65718a;font-size:.9rem}.be-success,.be-error,.be-notice{max-width:950px;margin:22px auto;padding:15px 18px;border-radius:10px}.be-success{background:#e9fbef;color:#146b32}.be-error{background:#fff0f0;color:#a32121}.be-notice{background:#eef5ff;color:#194b9d}.be-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:28px 0}.be-dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.be-dashboard-stats>div{padding:22px;border:1px solid #dbe5f6;border-radius:14px;background:#fff}.be-dashboard-stats strong{display:block;font-size:1.7rem;color:#0c46bf}.be-dashboard-stats span{color:#65718a}.be-dashboard-list{margin-top:24px;overflow-x:auto}.be-dashboard-list table{width:100%;border-collapse:collapse;background:#fff}.be-dashboard-list th,.be-dashboard-list td{padding:14px;border-bottom:1px solid #e6ebf4;text-align:left}
@media(max-width:900px){.path-grid,.archive-grid,.architect-grid{grid-template-columns:repeat(2,1fr)}.single-grid{grid-template-columns:1fr}.buy-panel{position:static}.profile-grid{grid-template-columns:180px 1fr}.seller-box{flex-direction:column;align-items:flex-start}.be-dashboard-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.path-grid,.archive-grid,.architect-grid,.be-form-grid,.profile-grid{grid-template-columns:1fr}.be-span-2{grid-column:auto}.plan-facts{grid-template-columns:repeat(2,1fr)}.seller-actions{flex-direction:column;width:100%}.seller-actions .be-btn{width:100%;text-align:center}.be-dashboard-stats{grid-template-columns:1fr 1fr}.single-image{height:330px;min-height:0}}
