/* MOONZON V104 — reference-led visual refinement; keeps existing IDs, links and JS hooks intact. */
:root{--m-cream:#fff8eb;--m-gold:#d7a52e;--m-plum:#590b60;--m-green:#07563e;--m-mint:#a9e9cb;--m-navy:#102b52;--m-line:#ead9b8;--m-shadow:0 7px 22px rgba(45,29,12,.09)}
html{scroll-behavior:smooth}button,a,[role=button]{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--m-gold)!important;outline-offset:3px!important}img{max-width:100%}
/* Homepage: warm marketplace shell, gold controls and plum portal cards. */
body.portal-customer{background:linear-gradient(180deg,#fffaf1 0%,#fffdf8 46%,#f7eddb 100%)!important;color:#2c2031!important}
body.portal-customer .mz-topline{background:#f6e8c9!important;color:#513719!important;border-bottom:1px solid #e5d0a2!important}
body.portal-customer .mz-header{background:linear-gradient(100deg,#fffdf8,#f5e7cd)!important;border-bottom:1px solid #dfc895!important;box-shadow:0 5px 20px #4a2d1014!important}
body.portal-customer .mz-brand h1{color:var(--m-plum)!important;font-weight:950!important;letter-spacing:1px!important}body.portal-customer .mz-brand p{color:#674d35!important}
body.portal-customer .mz-search input{background:#fff!important;border:1.5px solid #d9b66c!important;border-radius:12px 0 0 12px!important}body.portal-customer .mz-search button,body.portal-customer .mz-quick button{background:linear-gradient(135deg,#e8c56f,#b98520)!important;color:#32153c!important;border:1px solid #c99b3c!important}
body.portal-customer .mz-categories{background:#fffaf0!important;border-bottom:1px solid #e8d7b4!important;color:#302039!important;gap:clamp(10px,1.7vw,24px)!important}
body.portal-customer .mz-shop .shop-hero{border:1px solid #e1bf70!important;border-radius:20px!important;background:linear-gradient(110deg,#f6e2b7,#fff8e8 53%,#d7b16a)!important;box-shadow:var(--m-shadow)!important;min-height:270px!important}
body.portal-customer .mz-shop .shop-hero h2{color:#541044!important;font-weight:950!important}body.portal-customer .mz-shop .shop-hero p{color:#59452c!important}
body.portal-customer .mz-portal-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.portal-customer .mz-portal-customer{background:linear-gradient(120deg,#650b68,#3e0a50)!important;color:#fff!important;border:1px solid #7c337f!important}
body.portal-customer .mz-portal-seller{background:linear-gradient(120deg,#08764e,#06432f)!important;color:#fff!important;border:1px solid #29956d!important}
body.portal-customer .mz-portal-admin{background:linear-gradient(120deg,#173f78,#0c2448)!important;color:#fff!important;border:1px solid #315b91!important}
body.portal-customer .mz-portal-card strong,body.portal-customer .mz-portal-card small{color:#fff!important}body.portal-customer .mz-portal-card b{background:linear-gradient(120deg,#ffe6a0,#d7a52e)!important;color:#2c1735!important;border-radius:999px!important}
body.portal-customer .category-tile{background:linear-gradient(145deg,#fffefa,#fff1d4)!important;border:1px solid #ead6a8!important;border-radius:16px!important;box-shadow:0 4px 12px #553b1610!important;color:#3b2142!important}
body.portal-customer .deal-card{border:1px solid #e7d3a7!important;border-radius:16px!important;box-shadow:var(--m-shadow)!important}body.portal-customer .mz-shop .product-card{border:1px solid #eadfc9!important;border-radius:16px!important;box-shadow:0 5px 16px #553b1610!important}body.portal-customer .mz-shop .product-card button{background:linear-gradient(120deg,#6d126e,#42094e)!important;color:#fff!important;border-radius:10px!important}
body.portal-customer .service-strip{background:#fffaf0!important;border:1px solid #e7d4aa!important;border-radius:16px!important;box-shadow:var(--m-shadow)!important}
/* Customer account: purple sidebar, cream/gold cards, clear account hierarchy. */
body.customer-theme{background:linear-gradient(135deg,#fff8eb,#f8f0df)!important;color:#2d2034!important}body.customer-theme .top{background:linear-gradient(100deg,#fffdf8,#f2e3c4)!important;border-bottom:1px solid #e4cf9f!important;color:#3c2441!important}
body.customer-theme .brand{color:#5a0d62!important}body.customer-theme .brand small{color:#72583a!important}body.customer-theme .topnav a{color:#4a2b50!important}
body.customer-theme .layout>aside{background:linear-gradient(180deg,#5b0c63,#390743)!important;border:0!important;color:#fff!important;box-shadow:0 10px 28px #4a0c541e!important;border-radius:20px!important}
body.customer-theme .profile{background:linear-gradient(120deg,#7a1b78,#4b0a57)!important;border:1px solid #9d55a0!important}body.customer-theme .side a{color:#fff!important;border-radius:11px!important}body.customer-theme .side a:hover,body.customer-theme .side a.active{background:linear-gradient(120deg,#ffe7a1,#d5a43b)!important;color:#35133e!important}
body.customer-theme .hero{background:linear-gradient(110deg,#fff0c9,#fffaf0 60%,#e6c477)!important;border:1px solid #dfbd70!important;color:#3c2441!important}body.customer-theme .hero h1,body.customer-theme .sectionhead h2{color:#590b60!important}
body.customer-theme .metric,body.customer-theme .quick,body.customer-theme .module,body.customer-theme .dashboard-panel{background:#fffdf8!important;border:1px solid #ead8b1!important;box-shadow:var(--m-shadow)!important;border-radius:16px!important}body.customer-theme .metric strong,body.customer-theme .module i{color:#590b60!important}body.customer-theme .quick{color:#590b60!important}body.customer-theme .quick:hover,body.customer-theme .module:hover{border-color:#c99b3c!important}
body.customer-theme .login,body.customer-theme .action-link{background:linear-gradient(120deg,#f7dc8d,#c4932f)!important;color:#35133e!important}
/* Seller: dark green navigation with mint actions and cream workspace. */
body.seller-theme{background:linear-gradient(135deg,#f5fbf6,#eaf5ee)!important;color:#163b2e!important}body.seller-theme .top{background:linear-gradient(100deg,#fffefa,#e5f5e9)!important;border-bottom:1px solid #c6e0cf!important;color:#164432!important}
body.seller-theme .brand{color:#07563e!important}body.seller-theme .brand small,body.seller-theme .topnav a{color:#35644f!important}
body.seller-theme .layout>aside{background:linear-gradient(180deg,#064c38,#063324)!important;border:0!important;color:#fff!important;box-shadow:0 10px 28px #063c2b20!important;border-radius:20px!important}
body.seller-theme .profile{background:linear-gradient(120deg,#0a7651,#06432f)!important;border:1px solid #32946d!important}body.seller-theme .side a{color:#fff!important;border-radius:11px!important}body.seller-theme .side a:hover,body.seller-theme .side a.active{background:linear-gradient(120deg,#baf2d7,#6fc99c)!important;color:#073d2d!important}
body.seller-theme .hero{background:linear-gradient(110deg,#e0f5e7,#fbfff9 58%,#b9e5ca)!important;border:1px solid #a9d7b9!important;color:#143c2d!important}body.seller-theme .hero h1,body.seller-theme .sectionhead h2{color:#07563e!important}
body.seller-theme .metric,body.seller-theme .quick,body.seller-theme .module,body.seller-theme .dashboard-panel{background:#fcfffc!important;border:1px solid #c9e3d1!important;box-shadow:var(--m-shadow)!important;border-radius:16px!important}body.seller-theme .metric strong,body.seller-theme .module i{color:#07563e!important}body.seller-theme .quick{background:linear-gradient(120deg,#c7f4dd,#8ddbb6)!important;color:#06432f!important}body.seller-theme .quick:hover,body.seller-theme .module:hover{border-color:#4ba77a!important}
body.seller-theme .login,body.seller-theme .action-link{background:linear-gradient(120deg,#b9f0d4,#68c493)!important;color:#073d2d!important}
/* Admin: navy control-room shell, gold highlights, restrained data panels. */
body.admin-theme{background:linear-gradient(135deg,#f8f5ed,#f0f3f8)!important;color:#172b49!important}body.admin-theme .top{background:linear-gradient(100deg,#fffdf8,#e9edf5)!important;border-bottom:1px solid #d4dceb!important;color:#142e52!important}
body.admin-theme .brand{color:#122f59!important}body.admin-theme .brand small,body.admin-theme .topnav a{color:#40536e!important}
body.admin-theme .layout>aside{background:linear-gradient(180deg,#132f59,#091d3c)!important;border:0!important;color:#fff!important;box-shadow:0 10px 28px #0c25451f!important;border-radius:20px!important}
body.admin-theme .profile{background:linear-gradient(120deg,#214b7f,#10284d)!important;border:1px solid #41648d!important}body.admin-theme .side a{color:#fff!important;border-radius:11px!important}body.admin-theme .side a:hover,body.admin-theme .side a.active{background:linear-gradient(120deg,#ffe39a,#d4a334)!important;color:#1c2c47!important}
body.admin-theme .hero{background:linear-gradient(110deg,#102b52,#1e4776 65%,#d0a23c)!important;border:1px solid #c49a3c!important;color:#fff!important}body.admin-theme .hero h1,body.admin-theme .sectionhead h2{color:#17365f!important}body.admin-theme .hero h1{color:#fff!important}
body.admin-theme .metric,body.admin-theme .quick,body.admin-theme .module,body.admin-theme .dashboard-panel{background:#fffefa!important;border:1px solid #e4d5ad!important;box-shadow:var(--m-shadow)!important;border-radius:15px!important}body.admin-theme .metric strong,body.admin-theme .module i{color:#17365f!important}body.admin-theme .quick{background:linear-gradient(120deg,#fff0c5,#e5bd61)!important;color:#172e4d!important}body.admin-theme .quick:hover,body.admin-theme .module:hover{border-color:#c49a3c!important}
body.admin-theme .login,body.admin-theme .action-link{background:linear-gradient(120deg,#ffe39a,#d2a039)!important;color:#172e4d!important}
/* Responsive safeguards across all four portals. */
@media(max-width:900px){body.portal-customer .mz-portal-cards{grid-template-columns:1fr!important}body.customer-theme .layout,body.seller-theme .layout,body.admin-theme .layout{grid-template-columns:minmax(0,1fr)!important}body.customer-theme .layout>aside,body.seller-theme .layout>aside,body.admin-theme .layout>aside{position:static!important;max-height:none!important}}
@media(max-width:600px){body.portal-customer .mz-header{grid-template-columns:1fr!important}body.portal-customer .mz-search{width:100%!important}body.portal-customer .mz-categories{gap:12px!important}body.customer-theme .top,body.seller-theme .top,body.admin-theme .top{gap:10px!important}body.customer-theme .side,body.seller-theme .side,body.admin-theme .side{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.customer-theme .metrics,body.seller-theme .metrics,body.admin-theme .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.customer-theme .quickgrid,body.seller-theme .quickgrid,body.admin-theme .quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
