/*
Theme Name: Harbor Marketplace
Theme URI: https://example.com/harbor-marketplace
Author: OpenAI
Description: Responsive UAE classifieds and listings marketplace theme with category landing pages, search, filters and listing cards.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: harbor-marketplace
*/
:root{--hm-ink:#17212b;--hm-muted:#687581;--hm-line:#e5e9ed;--hm-bg:#f5f7f8;--hm-brand:#e85d3f;--hm-brand-dark:#c94830;--hm-card:#fff;--hm-radius:14px;--hm-shadow:0 8px 24px rgba(20,35,50,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--hm-bg);color:var(--hm-ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--hm-brand)}img{max-width:100%;height:auto;display:block}button,input,select{font:inherit}.hm-container{width:min(1180px,calc(100% - 36px));margin:auto}.hm-topbar{background:#17212b;color:#fff;font-size:13px}.hm-topbar .hm-container{display:flex;justify-content:space-between;gap:18px;padding:8px 0}.hm-header{background:#fff;border-bottom:1px solid var(--hm-line);position:sticky;top:0;z-index:20}.hm-header-inner{display:flex;align-items:center;gap:28px;min-height:76px}.hm-logo{font-size:25px;font-weight:850;letter-spacing:-1.2px;color:var(--hm-ink)}.hm-logo span{color:var(--hm-brand)}.hm-nav{display:flex;gap:20px;align-items:center;flex:1}.hm-nav a{font-size:14px;font-weight:650}.hm-actions{display:flex;align-items:center;gap:12px}.hm-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:12px 18px;background:var(--hm-brand);color:#fff;font-weight:750;cursor:pointer}.hm-button:hover{background:var(--hm-brand-dark);color:#fff}.hm-button-outline{background:#fff;color:var(--hm-ink);border:1px solid var(--hm-line)}.hm-hero{padding:52px 0 36px;background:linear-gradient(120deg,#fff 0%,#fff5f1 100%)}.hm-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.12;letter-spacing:-1.7px;margin:0 auto 12px;max-width:760px;text-align:center}.hm-hero p{color:var(--hm-muted);text-align:center;margin:0 auto 26px}.hm-search{max-width:850px;margin:auto;background:#fff;border:1px solid var(--hm-line);border-radius:13px;padding:8px;display:flex;gap:8px;box-shadow:var(--hm-shadow)}.hm-search input{min-width:0;flex:1;border:0;outline:0;padding:12px 14px}.hm-search select{border:0;border-left:1px solid var(--hm-line);padding:0 12px;background:#fff;color:var(--hm-muted)}.hm-section{padding:34px 0}.hm-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.hm-section h2{font-size:24px;letter-spacing:-.6px;margin:0}.hm-muted{color:var(--hm-muted)}.hm-categories{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}.hm-category{background:#fff;border:1px solid var(--hm-line);border-radius:12px;padding:18px 12px;text-align:center;font-weight:700;transition:.2s}.hm-category:hover{transform:translateY(-3px);box-shadow:var(--hm-shadow)}.hm-category .hm-icon{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;background:#fff0eb;color:var(--hm-brand);border-radius:14px;font-size:23px}.hm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.hm-card{background:var(--hm-card);border:1px solid var(--hm-line);border-radius:var(--hm-radius);overflow:hidden;box-shadow:0 2px 8px rgba(20,35,50,.025)}.hm-card-image{height:180px;background:#e9edef;position:relative;overflow:hidden}.hm-card-image img{width:100%;height:100%;object-fit:cover}.hm-placeholder{height:100%;display:grid;place-items:center;color:#a0aab2;font-size:42px}.hm-card-body{padding:14px}.hm-price{font-weight:850;font-size:19px;margin-bottom:5px}.hm-card-title{font-weight:700;line-height:1.35;margin-bottom:8px;display:block}.hm-meta{font-size:12px;color:var(--hm-muted);display:flex;gap:8px;flex-wrap:wrap}.hm-feature{display:inline-block;background:#fff0eb;color:var(--hm-brand-dark);font-size:11px;font-weight:800;padding:4px 7px;border-radius:5px;margin-bottom:8px}.hm-banner{background:#17212b;color:#fff;border-radius:18px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hm-banner h2{font-size:26px;margin:0 0 5px}.hm-banner p{margin:0;color:#c7d0d7}.hm-content-layout{display:grid;grid-template-columns:260px 1fr;gap:24px;padding:28px 0}.hm-sidebar,.hm-panel{background:#fff;border:1px solid var(--hm-line);border-radius:12px;padding:18px}.hm-sidebar h3{margin:0 0 14px}.hm-field{margin-bottom:14px}.hm-field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.hm-field input,.hm-field select{width:100%;padding:10px 11px;border:1px solid var(--hm-line);border-radius:8px;background:#fff}.hm-results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.hm-pagination{margin:26px 0}.hm-pagination .page-numbers{display:inline-block;padding:8px 12px;background:#fff;border:1px solid var(--hm-line);border-radius:7px;margin-right:5px}.hm-footer{background:#17212b;color:#d5dde2;margin-top:40px;padding:40px 0 22px}.hm-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.hm-footer h3,.hm-footer h4{color:#fff;margin-top:0}.hm-footer a{display:block;color:#c3cdd4;margin:7px 0;font-size:14px}.hm-footer-bottom{border-top:1px solid #394650;margin-top:28px;padding-top:16px;font-size:12px;color:#aab5bd}.hm-breadcrumb{font-size:13px;color:var(--hm-muted);padding:18px 0}.hm-single{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;padding-bottom:40px}.hm-single-main,.hm-contact{background:#fff;border:1px solid var(--hm-line);border-radius:14px;padding:22px}.hm-single-main h1{font-size:30px;line-height:1.2}.hm-single-photo{height:380px;background:#e9edef;border-radius:10px;overflow:hidden;margin:18px 0}.hm-single-photo img{width:100%;height:100%;object-fit:cover}.hm-contact{height:max-content;position:sticky;top:100px}.hm-contact .hm-price{font-size:28px}.hm-mobile-menu{display:none}
@media(max-width:900px){.hm-categories{grid-template-columns:repeat(3,1fr)}.hm-grid{grid-template-columns:repeat(2,1fr)}.hm-nav{gap:12px}.hm-content-layout{grid-template-columns:220px 1fr}.hm-single{grid-template-columns:1fr}.hm-contact{position:static}}
@media(max-width:640px){.hm-topbar{display:none}.hm-header-inner{min-height:64px;gap:12px}.hm-nav{display:none}.hm-mobile-menu{display:inline-flex}.hm-actions .hm-button-outline{display:none}.hm-hero{padding:38px 0 28px}.hm-search{flex-wrap:wrap}.hm-search input{flex-basis:100%}.hm-search select{flex:1;border:1px solid var(--hm-line);border-radius:7px;padding:10px}.hm-categories{grid-template-columns:repeat(2,1fr);gap:9px}.hm-category{padding:13px 8px;font-size:13px}.hm-grid{grid-template-columns:1fr 1fr;gap:10px}.hm-card-image{height:135px}.hm-card-body{padding:10px}.hm-price{font-size:16px}.hm-card-title{font-size:13px}.hm-content-layout{grid-template-columns:1fr}.hm-sidebar{order:0}.hm-results{order:1}.hm-banner{padding:22px;display:block}.hm-banner .hm-button{margin-top:15px}.hm-footer-grid{grid-template-columns:1fr}.hm-section{padding:25px 0}}
