/*
Theme Name: Marketbox
Theme URI: https://example.com/
Author: Marketbox
Description: Responsive Marketbox starter theme based on the supplied homepage mockup. Includes a header search bar with a wishlist link immediately to its right, category navigation, and a multi-column footer.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: marketbox
*/
:root{--mb-blue:#087cf5;--mb-navy:#102e59;--mb-ink:#17212f;--mb-muted:#687789;--mb-line:#e5eaf0;--mb-pale:#f3f9ff;--mb-yellow:#ffc928}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--mb-ink);background:#fff}
a{text-decoration:none;color:inherit}
.mb-wrap{width:min(1240px,calc(100% - 40px));margin-inline:auto}
.mb-topbar{border-bottom:1px solid var(--mb-line);background:#f4faff}
.mb-top-inner{min-height:82px;display:flex;align-items:center;gap:20px}
.mb-brand{width:220px;flex:0 0 220px;display:flex;align-items:center}
.mb-brand img{display:block;width:100%;height:auto;max-height:66px;object-fit:contain}
.mb-header-actions{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.mb-search{height:48px;border:1px solid #dce5ee;border-radius:10px;background:#fff;display:flex;align-items:center;flex:1;overflow:hidden;min-width:0}
.mb-search input{border:0;outline:0;flex:1;padding:0 18px;font-size:15px;min-width:0;background:transparent;color:var(--mb-ink)}
.mb-search button{height:40px;width:44px;flex:0 0 44px;margin:4px;border:0;border-radius:8px;background:var(--mb-blue);color:white;font-size:23px;cursor:pointer}
.mb-wishlist{height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid #dce5ee;border-radius:10px;background:#fff;color:var(--mb-navy);font-size:13px;font-weight:700;white-space:nowrap;transition:.18s}
.mb-wishlist:hover{border-color:var(--mb-blue);color:var(--mb-blue);box-shadow:0 5px 16px #087cf510}
.mb-heart{font-size:21px;line-height:1;color:#e34b65}
.mb-header-note{font-size:12px;color:var(--mb-muted);white-space:nowrap}
.mb-nav{border-bottom:1px solid var(--mb-line);box-shadow:0 2px 8px #102e5908}
.mb-nav-inner{display:flex;align-items:center;gap:9px;min-height:60px;overflow-x:auto;padding:10px 0}
.mb-nav-label{font-size:12px;font-weight:800;color:var(--mb-navy);white-space:nowrap;margin-right:8px}
.mb-nav a{font-size:12px;padding:9px 13px;border:1px solid #e0e6ed;border-radius:22px;white-space:nowrap;background:white}
.mb-nav a:hover,.mb-nav a:focus{border-color:var(--mb-blue);color:var(--mb-blue)}
.site-main{min-height:40vh}
.mb-footer{background:#f1f8ff;border-top:1px solid #e0ebf6;margin-top:38px;padding:32px 0 18px}
.mb-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:35px}
.mb-footer-logo{width:190px;max-width:100%;height:auto;margin-bottom:10px}
.mb-footer p{font-size:12px;color:#66778b;line-height:1.6;max-width:280px;margin:8px 0}
.mb-footer h2,.mb-footer h3,.mb-footer h4{font-size:13px;margin:4px 0 14px;color:var(--mb-navy)}
.mb-footer a{display:block;font-size:12px;color:#5d6e82;margin:9px 0}
.mb-footer a:hover{color:var(--mb-blue)}
.mb-footer-links{list-style:none;margin:0;padding:0}
.mb-footer-links li{margin:0}
.mb-copyright{border-top:1px solid #dce8f4;margin-top:25px;padding-top:15px;display:flex;justify-content:space-between;gap:12px;color:#7b8998;font-size:11px}
@media(max-width:1000px){.mb-brand{width:180px;flex-basis:180px}.mb-top-inner{gap:14px}.mb-header-note{display:none}.mb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mb-wrap{width:calc(100% - 24px)}.mb-top-inner{min-height:0;flex-wrap:wrap;gap:9px;padding:10px 0}.mb-brand{width:142px;flex:0 0 142px}.mb-brand img{max-height:43px}.mb-header-actions{flex:1;gap:7px}.mb-search{height:42px}.mb-search input{font-size:12px;padding:0 10px}.mb-search button{height:34px;width:36px;flex-basis:36px;font-size:20px}.mb-wishlist{height:42px;width:42px;flex:0 0 42px;padding:0;gap:0}.mb-wishlist .mb-wishlist-label{display:none}.mb-heart{font-size:21px}.mb-nav-inner{min-height:48px}.mb-nav-label{display:none}.mb-nav a{font-size:11px;padding:8px 11px}.mb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.mb-footer-grid>div:first-child{grid-column:1/-1}.mb-copyright{flex-direction:column}}
