/*
Theme Name: Market Child
Template: listinghive
Text Domain: market-child
Version: 0.1.0
Description: Local multi-category marketplace
License: GPL-2.0-or-later
*/
:root{--market-ink:#123b40;--market-accent:#e87528;--market-bg:#f5f7f8}
body{background:var(--market-bg);color:#213638}
.site-header .header-navbar{background:#fff;border-bottom:1px solid #e3e8e8}
.header-logo__name{font-weight:900;color:var(--market-ink);letter-spacing:-.02em}
.hp-listing--view-block,.hp-listing-category--view-block,.hp-vendor--view-block{background:#fff;border:1px solid #e2e8e8;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #123b4008}
.hp-listing--view-block:hover{border-color:#b5c9c8}
.market-hero{background:var(--market-ink);color:white;padding:46px 36px;border-radius:16px;margin:24px 0 32px}
.market-hero h1{font-size:clamp(28px,4vw,48px);color:white;margin:0 0 12px;font-weight:900}
.market-hero p{color:#e1eeee;font-size:18px;margin:0 0 24px}
.market-search{display:flex;gap:10px;background:white;padding:8px;border-radius:10px;flex-wrap:wrap}
.market-search input{flex:1;min-width:180px;border:0!important;color:#123b40;background:white!important}
.market-search button,.market-cta{background:var(--market-accent)!important;color:white!important;border:0;border-radius:8px;padding:12px 24px;font-weight:700;text-decoration:none}
.market-section{margin:32px 0}.market-section h2{font-size:26px;font-weight:800;color:var(--market-ink)}
.market-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.market-cat{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:white;border:1px solid #e2e8e8;border-radius:10px;padding:22px 10px;color:var(--market-ink);text-decoration:none;font-weight:700}
.market-cat i{font-size:25px;color:var(--market-accent)}.market-cat:hover{border-color:var(--market-accent)}
.market-empty{background:#fff;border:1px dashed #b5c9c8;padding:28px;border-radius:10px}
body,button,input,select,textarea,h1,h2,h3,h4,.hp-field,.header-logo__name{font-family:'Cairo',Tahoma,sans-serif!important}
body{font-size:16px;font-weight:600;line-height:1.7}
.market-hero h1{font-size:clamp(30px,4vw,56px);font-weight:900}
.market-section h2{font-size:clamp(24px,3vw,34px);font-weight:900}
.market-cats{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.market-cat{min-height:154px;padding:20px 10px;text-align:center;font-size:16px;font-weight:800;line-height:1.45;transition:transform .15s,border-color .15s}
.market-cat i{font-size:42px;display:grid;place-items:center;width:66px;height:66px;border-radius:16px;background:#fff0e5;color:#a9470a}
.market-cat:hover{transform:translateY(-3px)}
.market-cat:focus-visible{outline:3px solid #123b40;outline-offset:3px}
.market-hero .hp-form__button{background:#b84b0b!important;color:white!important;min-height:48px;font-weight:800}
.market-hero .hp-field--search{min-height:48px;color:#123b40;background:#fff}
.hp-listing__title{font-weight:800;font-size:clamp(17px,2vw,22px)}
@media(max-width:1100px){.market-cats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:800px){.market-cats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.market-hero{padding:24px 16px}.market-cats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-cat{min-height:130px;font-size:15px}.market-cat i{font-size:34px;width:56px;height:56px}.market-hero .hp-form__button{width:100%}.market-hero .hp-form__fields,.market-hero .hp-form__footer{width:100%;min-width:0}}
/* Refined category icon palette and scale */
.market-cat i{font-size:27px;width:44px;height:44px;border-radius:10px;background:#eef3f2;color:#52716e}
.market-cat{min-height:130px;padding:16px 10px;gap:8px}
.market-cat:hover{border-color:#91aaa5}
@media(max-width:600px){.market-cat{min-height:108px;padding:12px 8px}.market-cat i{font-size:23px;width:38px;height:38px;border-radius:9px}}
@media(prefers-reduced-motion:reduce){.market-cat{transition:none}.market-cat:hover{transform:none}}
