/* MAGH Dropshipping CMS - scoped portal styles */
.magh-app{--blue:#0756C9;--navy:#071D49;--bright:#1684F5;--pale:#EEF6FF;--cyan:#7DEAFF;--ink:#172B4D;--muted:#71819b;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}
.magh-app *{box-sizing:border-box}.magh-app button,.magh-app input,.magh-app select,.magh-app textarea{font:inherit}.magh-auth-wrap{min-height:620px;display:grid;place-items:center;padding:32px 14px;background:radial-gradient(circle at 15% 15%,#d8edff,transparent 34%),linear-gradient(135deg,#f7fbff,#edf4ff)}
.magh-auth-card{width:min(100%,460px);background:#fff;border:1px solid #e4edf8;border-radius:22px;padding:34px;box-shadow:0 20px 60px #163c7018}.magh-brand-mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--blue),var(--bright));color:#fff;display:grid;place-items:center;font-weight:900;font-size:25px;box-shadow:0 8px 18px #0756c933}.magh-brand-mark.small{width:36px;height:36px;font-size:18px;border-radius:11px}.magh-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--bright);margin-top:18px}.magh-auth-card h1{font-size:27px;color:var(--navy);margin:5px 0}.magh-muted,.magh-auth-card p{color:var(--muted)}.magh-tabs{display:flex;background:#f1f6fc;padding:4px;border-radius:11px;margin:25px 0 20px}.magh-tab{flex:1;border:0;background:transparent;padding:10px;border-radius:8px;color:#71819b;cursor:pointer;font-weight:700}.magh-tab.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px #0b397010}.magh-panel{display:none}.magh-panel.active{display:block}.magh-form label,.magh-inline-form label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px;color:#344866}.magh-form input,.magh-form select,.magh-inline-form input,.magh-inline-form select,.magh-inline-form textarea,.magh-search input{width:100%;border:1px solid #dce6f2;background:#fff;border-radius:9px;padding:11px 12px;min-height:42px;color:var(--ink);outline:none}.magh-form input:focus,.magh-inline-form input:focus,.magh-inline-form textarea:focus{border-color:var(--bright);box-shadow:0 0 0 3px #1684f51c}.magh-check{display:flex!important;align-items:center;gap:8px;font-weight:500!important}.magh-check input{width:auto;min-height:0}.magh-check a,.magh-forgot{color:var(--blue)}.magh-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(110deg,var(--blue),var(--bright));border:0;border-radius:9px;color:#fff!important;text-decoration:none;padding:12px 18px;font-weight:750;cursor:pointer;box-shadow:0 7px 16px #0756c926}.magh-form>.magh-btn{width:100%;margin-top:18px}.magh-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}.magh-btn.mag h-small,.magh-small{padding:8px 12px;font-size:12px}.magh-xs{padding:6px 9px;font-size:11px}.magh-forgot{display:block;text-align:center;margin-top:15px;text-decoration:none;font-size:12px}.magh-auth-foot{text-align:center;color:#9aa8bb;font-size:11px;margin-top:25px}.magh-notice{padding:10px 12px;border-radius:9px;background:#eaf7ef;color:#187342;margin:12px 0}.magh-notice.magh-info{background:#eef6ff;color:#0756c9}.magh-notice.magh-error{background:#fff0f0;color:#b42318}
.magh-layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:740px;background:#f6f9fd;border:1px solid #e6edf5;border-radius:16px;overflow:hidden}.magh-sidebar{background:var(--navy);color:#fff;padding:24px 16px;display:flex;flex-direction:column;min-height:740px}.magh-side-brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.5px;padding:2px 8px 28px}.magh-side-brand small{display:block;font-size:8px;letter-spacing:2px;color:#9eb8e3}.magh-sidebar nav{display:grid;gap:6px}.magh-sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;text-decoration:none;color:#b8c9e5;font-weight:600;font-size:13px}.magh-sidebar nav a i{width:22px;height:22px;border-radius:7px;background:#ffffff12;display:grid;place-items:center;font-style:normal;font-size:11px}.magh-sidebar nav a.active,.magh-sidebar nav a:hover{background:#ffffff16;color:#fff}.magh-sidebar nav a.active i{background:var(--bright)}.magh-side-bottom{margin-top:auto;padding:16px 4px 0;border-top:1px solid #ffffff20;display:flex;align-items:center;gap:9px}.magh-avatar{width:34px;height:34px;border-radius:50%;background:#1684f5;display:grid;place-items:center;font-weight:800}.magh-side-bottom strong,.magh-side-bottom small{display:block}.magh-side-bottom strong{font-size:11px}.magh-side-bottom small{font-size:10px;color:#9eb8e3}.magh-logout{margin-left:auto;color:#fff;text-decoration:none}.magh-main{padding:26px;min-width:0}.magh-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.magh-topbar .magh-eyebrow{margin:0 0 4px}.magh-topbar h1{font-size:25px;line-height:1.2;margin:0;color:var(--navy)}.magh-topbar p{margin:5px 0 0;color:var(--muted);font-size:12px}.magh-top-user{font-size:12px;font-weight:700;background:#fff;border:1px solid #e6edf5;border-radius:30px;padding:9px 14px}.magh-menu-toggle{display:none}
.magh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:27px}.magh-stat{background:#fff;border:1px solid #e7edf5;border-radius:13px;padding:17px;box-shadow:0 5px 18px #163c7008}.magh-stat span,.magh-stat small{display:block;color:var(--muted);font-size:11px}.magh-stat strong{display:block;color:var(--navy);font-size:23px;margin:7px 0 3px}.magh-section-head,.magh-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:25px 0 15px}.magh-section-head h2,.magh-toolbar h2,.magh-panel-card h2{font-size:17px;color:var(--navy);margin:0}.magh-section-head p,.magh-toolbar p,.magh-panel-card>p{font-size:11px;color:var(--muted);margin:3px 0}.magh-text-link{color:var(--blue);font-weight:700;text-decoration:none;font-size:12px}.magh-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.magh-product-card,.magh-panel-card{background:#fff;border:1px solid #e5edf6;border-radius:13px;overflow:hidden;box-shadow:0 5px 18px #163c7008}.magh-product-card>img,.magh-product-placeholder{width:100%;height:155px;object-fit:cover;background:#edf5ff}.magh-product-placeholder{display:grid;place-items:center;color:#a8c9f5;font-size:24px;font-weight:900;letter-spacing:4px}.magh-product-body{padding:14px}.magh-category{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--bright);font-weight:800}.magh-product-body h3{font-size:14px;margin:5px 0 1px;color:var(--navy)}.magh-product-body>small{font-size:10px;color:var(--muted)}.magh-price-row{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #edf1f6;margin-top:12px;padding-top:10px}.magh-price-row small,.magh-price-row strong{display:block}.magh-price-row small{font-size:9px;color:var(--muted)}.magh-price-row strong{font-size:12px;color:var(--navy)}.magh-profit{background:#effaf5;border-radius:7px;padding:8px;margin-top:10px;font-size:10px;color:#28744d;display:flex;justify-content:space-between}.magh-profit strong{font-size:11px}.magh-order-details{margin-top:12px;border-top:1px solid #edf1f6;padding-top:10px}.magh-order-details summary{cursor:pointer;color:var(--blue);font-size:11px;font-weight:800}.magh-order-details .magh-inline-form{padding-top:8px}.magh-order-details textarea{min-height:60px}.magh-order-details label{margin-top:8px}
.magh-panel-card{padding:19px;margin:0 0 16px}.magh-table-wrap{width:100%;overflow-x:auto;margin-top:12px}.magh-table{border-collapse:collapse;width:100%;min-width:600px;text-align:left}.magh-table th{background:#f6f9fd;color:#75849b;font-size:10px;text-transform:uppercase;letter-spacing:.6px;padding:11px}.magh-table td{padding:12px 11px;border-bottom:1px solid #edf1f6;font-size:11px;vertical-align:middle}.magh-table td small{display:block;color:var(--muted);font-size:10px}.magh-badge{display:inline-block;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:800;background:#eef3fa;color:#52647e}.magh-badge.published,.magh-badge.delivered,.magh-badge.active{background:#e8f8ef;color:#21834d}.magh-badge.pending,.magh-badge.processing{background:#fff5df;color:#a66b00}.magh-badge.rejected,.magh-badge.cancelled{background:#ffeded;color:#bd3e3e}.magh-toolbar{margin-top:0}.magh-search{display:flex;gap:7px;width:min(100%,350px)}.magh-search input{min-width:0}.magh-empty{padding:40px;text-align:center;background:#fff;border:1px dashed #cbd8e8;border-radius:12px;color:var(--muted)}.magh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-bottom:12px}.magh-form-grid .wide{grid-column:1/-1}.magh-inline-form textarea{min-height:80px}.magh-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:22px}.magh-action-grid a{padding:22px;background:#fff;border:1px solid #e5edf6;border-radius:12px;text-decoration:none;color:var(--blue);font-weight:800}.magh-profile-list p{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f6;padding:10px 0;margin:0}.magh-profile-list span{color:var(--muted)}.magh-profile-list strong{color:var(--navy)}
@media(max-width:1050px){.magh-products{grid-template-columns:repeat(2,minmax(0,1fr))}.magh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.magh-main{padding:20px}}
@media(max-width:700px){.magh-layout{display:block;border-radius:10px;overflow:visible}.magh-sidebar{display:none;position:absolute;z-index:50;left:10px;right:10px;top:10px;min-height:0;border-radius:13px;box-shadow:0 15px 40px #071d4966}.magh-layout.magh-nav-open .magh-sidebar{display:flex}.magh-sidebar nav{grid-template-columns:1fr 1fr}.magh-side-bottom{margin-top:20px}.magh-main{padding:16px 12px}.magh-topbar{justify-content:flex-start;gap:12px}.magh-menu-toggle{display:block;border:1px solid #dfe8f3;background:#fff;border-radius:8px;padding:8px 10px;color:var(--blue)}.magh-top-user{display:none}.magh-topbar h1{font-size:20px}.magh-stats{gap:8px}.magh-stat{padding:12px}.magh-stat strong{font-size:18px}.magh-products{grid-template-columns:1fr}.magh-product-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.magh-product-card>img,.magh-product-placeholder{height:100%;min-height:170px}.magh-product-body{padding:11px}.magh-section-head,.magh-toolbar{align-items:flex-start;flex-direction:column}.magh-search{width:100%}.magh-form-grid{grid-template-columns:1fr}.magh-form-grid .wide{grid-column:auto}.magh-action-grid{grid-template-columns:1fr}.magh-auth-card{padding:24px 20px}.magh-auth-wrap{min-height:0;padding:20px 8px}}

/* MAGH public catalogue shortcode [magh_shop] */
.magh-shop-app{max-width:1240px;margin:0 auto;padding:18px 0 34px;overflow:hidden}
.magh-shop-hero{padding:54px 24px;text-align:center;border-radius:24px;background:linear-gradient(135deg,#e5f2ff,#f0eaff);margin-bottom:28px}
.magh-shop-eyebrow{font-size:11px;letter-spacing:2px;font-weight:850;color:#3979e8}
.magh-shop-hero h1{font-size:clamp(30px,5vw,52px);line-height:1.12;color:#2469d7;margin:16px 0 12px}
.magh-shop-hero p{max-width:720px;margin:0 auto;color:#687791;font-size:15px;line-height:1.8}
.magh-shop-filters{display:grid;grid-template-columns:minmax(220px,1fr) minmax(190px,.65fr) auto auto;align-items:end;gap:12px;padding:18px;background:#fff;border:1px solid #e5edf6;border-radius:16px;margin:0 0 18px;box-shadow:0 5px 18px #163c7008}
.magh-shop-filters label{display:block;min-width:0}.magh-shop-filters label span{display:block;font-size:11px;font-weight:750;color:#344866;margin:0 0 6px}.magh-shop-filters input,.magh-shop-filters select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dce6f2;border-radius:9px;background:#fff;color:#172b4d}.magh-shop-reset{font-size:12px;color:#0756c9;text-decoration:none;padding:12px 4px;white-space:nowrap}.magh-shop-result-count{font-size:12px;color:#71819b;margin:0 0 12px}.magh-shop-products{grid-template-columns:repeat(3,minmax(0,1fr))}.magh-shop-stock{display:flex;align-items:center;gap:6px;font-size:11px;color:#28744d;margin-top:10px}.magh-stock-dot{width:7px;height:7px;border-radius:50%;background:#20a464;display:inline-block}.magh-shop-details{margin-top:11px;border-top:1px solid #edf1f6;padding-top:10px}.magh-shop-details summary{cursor:pointer;color:#0756c9;font-size:11px;font-weight:800}.magh-shop-detail-content{padding:5px 0;color:#52647e;font-size:11px;line-height:1.65;overflow-wrap:anywhere}.magh-shop-detail-content p{margin:6px 0}.magh-shop-login{display:inline-block;margin-top:12px;color:#0756c9;font-size:11px;font-weight:800;text-decoration:none}.magh-shop-join{margin-top:35px;padding:34px 20px;text-align:center;border-radius:20px;background:linear-gradient(120deg,#246fe0,#7954dc);color:#fff}.magh-shop-join h2{color:#fff;margin:0 0 8px}.magh-shop-join p{color:#fff;margin:0 0 15px}.magh-shop-join .magh-btn{background:#fff;color:#2868d5!important;box-shadow:none}.magh-shop-empty{margin:20px 0}
@media(max-width:850px){.magh-shop-filters{grid-template-columns:1fr 1fr}.magh-shop-filters .magh-btn{width:100%}.magh-shop-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.magh-shop-app{padding:8px 0 24px}.magh-shop-hero{padding:38px 16px;border-radius:16px}.magh-shop-filters{grid-template-columns:1fr;padding:14px}.magh-shop-filters .magh-btn{width:100%}.magh-shop-products{grid-template-columns:1fr}.magh-shop-product{display:grid;grid-template-columns:112px minmax(0,1fr)}.magh-shop-product>img,.magh-shop-product>.magh-product-placeholder{height:100%;min-height:190px}.magh-shop-product .magh-product-body{padding:11px}.magh-shop-join{padding:28px 16px}}

/* MAGH v1.2.0 category and inventory controls */
.magh-portal-product-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:12px;background:#fff;border:1px solid #e5edf6;border-radius:12px}
.magh-portal-product-filters input,.magh-portal-product-filters select{min-height:40px;border:1px solid #dce6f2;border-radius:8px;padding:8px 11px;min-width:190px;max-width:100%;background:#fff;color:#172b4d}
.magh-shop-stock.is-out-stock{color:#b42318;background:#fff0f0}
.magh-shop-stock.is-out-stock .magh-stock-dot{background:#d92d20}
.magh-shop-stock.is-in-stock{color:#28744d}
.magh-shop-stock.is-in-stock .magh-stock-dot{background:#20a464}
.magh-inline-form input[type=file]{padding:8px;background:#f8fbff}
@media(max-width:600px){.magh-portal-product-filters{display:grid;grid-template-columns:1fr}.magh-portal-product-filters input,.magh-portal-product-filters select{width:100%;min-width:0}}


/* MAGH v1.2.1 — consistent square product photography in public shop */
.magh-shop-products .magh-shop-product{display:flex;flex-direction:column;min-width:0;height:100%}
.magh-shop-products .magh-shop-product>img,
.magh-shop-products .magh-shop-product>.magh-product-placeholder{display:block;width:100%;height:auto;aspect-ratio:1/1;min-height:0;max-height:none;object-fit:contain;object-position:center;background:#f5f7fb;box-sizing:border-box}
.magh-shop-products .magh-shop-product>.magh-product-placeholder{display:grid;place-items:center;color:#8aa6cc;font-size:22px;font-weight:900;letter-spacing:3px}
.magh-shop-products .magh-shop-product .magh-product-body{flex:1;min-width:0}
@media(max-width:600px){.magh-shop-products .magh-shop-product{display:flex;flex-direction:column}.magh-shop-products .magh-shop-product>img,.magh-shop-products .magh-shop-product>.magh-product-placeholder{width:100%;height:auto;aspect-ratio:1/1;min-height:0;max-height:none}.magh-shop-products .magh-shop-product .magh-product-body{padding:14px}}


/* MAGH v1.2.2 — live product showcase for the homepage shortcode [magh_home_products] */
.magh-home-products-section{width:100%;padding:68px 18px;background:#f5f9ff;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}
.magh-home-products-inner{max-width:1200px;margin:0 auto}
.magh-home-products-heading{text-align:center;max-width:720px;margin:0 auto 32px}
.magh-home-products-heading>span{display:inline-block;padding:7px 12px;border-radius:30px;background:#e5f1ff;color:#0756c9;font-size:10px;font-weight:900;letter-spacing:1.5px}
.magh-home-products-heading h2{margin:14px 0 9px;color:#071d49;font-size:clamp(26px,4vw,36px);line-height:1.2}
.magh-home-products-heading p{margin:0;color:#687b96;font-size:14px;line-height:1.7}
.magh-home-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.magh-home-product-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e4edf8;border-radius:14px;box-shadow:0 5px 20px rgba(15,50,90,.06);transition:transform .2s,box-shadow .2s}
.magh-home-product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(15,50,90,.12)}
.magh-home-product-image{display:block;width:100%;aspect-ratio:1/1;background:#f3f6fa;overflow:hidden}
.magh-home-product-image img{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#f3f6fa}
.magh-home-product-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;color:#8aa6cc;font-weight:900;letter-spacing:3px}
.magh-home-product-info{padding:14px}
.magh-home-product-category{display:block;color:#0756c9;font-size:9px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;min-height:13px}
.magh-home-product-info h3{margin:7px 0 12px;color:#071d49;font-size:14px;line-height:1.45;min-height:40px}
.magh-home-product-prices{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #edf1f6;padding-top:10px}
.magh-home-product-prices small{display:block;color:#8190a5;font-size:9px;margin-bottom:4px}
.magh-home-product-prices strong{display:block;color:#071d49;font-size:13px}
.magh-home-product-stock{margin-top:10px;font-size:10px;font-weight:800}
.magh-home-product-stock.available{color:#21834d}.magh-home-product-stock.unavailable{color:#b42318}
.magh-home-products-action{text-align:center;margin-top:28px}
.magh-home-products-action a{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;border-radius:9px;background:#0756c9;color:#fff!important;text-decoration:none;font-size:13px;font-weight:800}
.magh-home-products-action a:hover{background:#071d49;color:#fff!important}
.magh-home-products-empty{text-align:center;padding:30px;background:#fff;border:1px dashed #cbd8e8;border-radius:12px;color:#687b96}
@media(max-width:900px){.magh-home-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.magh-home-products-section{padding:48px 14px}.magh-home-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.magh-home-product-info{padding:10px}.magh-home-product-info h3{font-size:12px;min-height:50px}.magh-home-product-prices strong{font-size:11px}}
@media(max-width:360px){.magh-home-products-grid{grid-template-columns:1fr}}

/* Order detail and fulfilment controls */
.magh-order-details{margin-top:7px;font-size:12px}
.magh-order-details summary{cursor:pointer;color:#0756c9;font-weight:700;list-style:none}
.magh-order-details summary::-webkit-details-marker{display:none}
.magh-order-detail-panel{min-width:260px;max-width:520px;margin-top:10px;padding:14px;border:1px solid #e5eaf2;border-radius:12px;background:#f8faff;white-space:normal}
.magh-order-detail-panel p{margin:7px 0;line-height:1.6}
.magh-order-detail-panel h4{margin:12px 0 6px;font-size:13px}
.magh-order-items>div{padding:8px 0;border-bottom:1px solid #e5eaf2}
.magh-order-items>div span{display:block;margin-top:3px;color:#64748b}
.magh-order-actions{min-width:170px}
.magh-order-actions form{display:flex;flex-direction:column;gap:6px;margin:0 0 8px}
.magh-order-actions label{font-size:11px;font-weight:700}
.magh-order-actions input,.magh-order-actions select{max-width:180px;min-width:130px}

/* MAGH v1.2.8 — cleaner blue WordPress admin navigation */
.magh-admin-wrap{max-width:1500px}.magh-admin-title{color:#071d49!important;font-weight:800!important;letter-spacing:-.4px}.magh-admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px;padding:8px;background:#eef5ff;border:1px solid #dceaff;border-radius:12px}.magh-admin-tabs a{display:inline-flex;align-items:center;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:700;color:#315277;background:#fff;border:1px solid #e1eaf6}.magh-admin-tabs a:hover,.magh-admin-tabs a.active{background:#0756c9;color:#fff;border-color:#0756c9;box-shadow:0 5px 14px #0756c926}.magh-admin-wrap .widefat{border:1px solid #dce7f5;border-radius:10px;overflow:hidden}.magh-admin-wrap .widefat thead th{background:#edf5ff;color:#173b70;font-weight:800}.magh-admin-wrap .widefat td{vertical-align:middle;padding:12px 10px}.magh-admin-wrap .button-primary{background:#0756c9;border-color:#0756c9}.magh-admin-wrap .button-primary:hover{background:#0647a8;border-color:#0647a8}


/* MAGH v1.2.9 — organized front-end administrator workspace */
.magh-admin-front{max-width:1440px;margin:24px auto;padding:clamp(12px,2vw,26px);font-family:Arial,Helvetica,sans-serif;color:#18345b;background:#f5f8fe;border:1px solid #e1eaf7;border-radius:20px;box-sizing:border-box}
.magh-admin-front *{box-sizing:border-box}.magh-admin-front-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:25px 28px;background:linear-gradient(120deg,#071d49,#0756c9);border-radius:15px;color:#fff}.magh-admin-front-head span{font-size:10px;letter-spacing:2px;font-weight:900;color:#9edfff}.magh-admin-front-head h1{color:#fff;font-size:clamp(25px,4vw,36px);margin:8px 0}.magh-admin-front-head p{color:#d8eaff;margin:0;font-size:13px}.magh-admin-front-head .magh-btn{white-space:nowrap;background:#fff;color:#0756c9!important}.magh-admin-front-nav{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0;padding:8px;background:#e8f1ff;border:1px solid #d9e7fb;border-radius:12px}.magh-admin-front-nav a{padding:10px 14px;border-radius:8px;background:#fff;border:1px solid #dce7f5;color:#315277;text-decoration:none;font-size:12px;font-weight:800}.magh-admin-front-nav a.active,.magh-admin-front-nav a:hover{background:#0756c9;color:#fff;border-color:#0756c9}.magh-admin-front-content{background:#fff;border:1px solid #e3ebf6;border-radius:14px;padding:clamp(14px,2vw,24px);min-width:0}.magh-admin-front-content h2{color:#071d49;font-size:20px;margin:10px 0 16px}.magh-admin-front-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 28px}.magh-admin-front-stats article{padding:18px;border:1px solid #dce8f8;border-radius:12px;background:linear-gradient(145deg,#fff,#f3f8ff);min-width:0}.magh-admin-front-stats span{display:block;color:#6b7f9b;font-size:12px;font-weight:700}.magh-admin-front-stats strong{display:block;color:#0756c9;font-size:27px;margin-top:8px;overflow-wrap:anywhere}.magh-admin-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 25px}.magh-admin-quick a{padding:15px;border:1px solid #dce8f8;border-radius:10px;background:#f7faff;color:#0756c9;text-decoration:none;font-size:13px;font-weight:800}.magh-admin-quick a:hover{background:#eaf3ff;border-color:#9dc4f5}.magh-admin-table-wrap{width:100%;overflow:auto;border:1px solid #e2eaf5;border-radius:10px;margin:12px 0 20px}.magh-admin-table{width:100%;border-collapse:collapse;min-width:760px;font-size:12px}.magh-admin-table th{background:#edf5ff;color:#173b70;text-align:left;font-weight:900}.magh-admin-table th,.magh-admin-table td{padding:12px 11px;border-bottom:1px solid #edf1f6;vertical-align:middle}.magh-admin-table tr:last-child td{border-bottom:0}.magh-admin-table details summary{color:#0756c9;cursor:pointer;font-weight:800}.magh-admin-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.magh-admin-section-title p,.magh-admin-help{color:#667994;font-size:13px;line-height:1.75}.magh-admin-help{padding:18px;background:#f2f7ff;border:1px solid #dce9fb;border-radius:12px;margin:18px 0}.magh-admin-help h3{color:#071d49;margin:0 0 8px}.magh-admin-inline-action{display:inline-block;margin:0 4px 0 0}.magh-admin-link-button,.magh-admin-link{display:inline-block;border:0;background:none;color:#0756c9;text-decoration:underline;font-weight:800;cursor:pointer;padding:4px;font-size:12px}.magh-admin-front-foot{text-align:center;color:#8291a8;font-size:11px;padding:16px 0 2px}
@media(max-width:760px){.magh-admin-front-head{align-items:flex-start;flex-direction:column;padding:20px}.magh-admin-front-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.magh-admin-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.magh-admin-front-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.magh-admin-front-nav a{text-align:center}}
@media(max-width:420px){.magh-admin-front-stats,.magh-admin-quick{grid-template-columns:1fr}.magh-admin-front-content{padding:12px}}


/* MAGH v1.3.0 — required private KYC uploads */
.magh-kyc-upload{margin:16px 0;padding:16px;border:1px solid #d7e6fa;background:#f4f8ff;border-radius:12px}.magh-kyc-upload strong{display:block;color:#071d49;font-size:14px;margin-bottom:6px}.magh-kyc-upload p{font-size:12px;line-height:1.6;color:#60738e}.magh-kyc-upload label{display:block;font-weight:700;margin:12px 0 6px}.magh-kyc-upload input[type=file]{display:block;width:100%;padding:10px;background:#fff;border:1px solid #d8e2f0;border-radius:8px}

/* MAGH 1.4 customer storefront, cart and checkout */
.magh-shop-header{display:flex;align-items:center;justify-content:flex-end;gap:22px;padding:10px 16px}
.magh-shop-header a{display:inline-flex;align-items:center;gap:7px;color:#071d49;text-decoration:none;font-weight:750;font-size:14px}
.magh-shop-header b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#0756c9;color:#fff;font-size:10px}
.magh-customer-actions{display:flex;gap:8px;margin-top:12px}
.magh-customer-actions button{border:0;border-radius:8px;padding:9px 12px;background:#0756c9;color:#fff;font-weight:750;cursor:pointer}
.magh-customer-actions .magh-add-wishlist{background:#f0f5fc;color:#0756c9;font-size:18px}
.magh-checkout-wrap{max-width:850px;margin:24px auto;padding:24px;background:#fff;border:1px solid #e5edf6;border-radius:16px}
.magh-checkout-wrap h2,.magh-checkout-wrap h3{color:#071d49}
.magh-cart-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f6}
.magh-cart-row button{border:0;background:#fff0f0;color:#b42318;padding:6px 9px;border-radius:6px}
.magh-cart-total{text-align:right;font-weight:800}
.magh-customer-checkout label{display:block;margin:12px 0 6px;font-weight:700;font-size:13px}
.magh-customer-checkout input:not([type=checkbox]):not([type=radio]):not([type=file]),.magh-customer-checkout textarea{box-sizing:border-box;width:100%;padding:11px;border:1px solid #dce6f2;border-radius:8px}
.magh-customer-checkout textarea{min-height:80px}
.magh-bank-details{padding:14px;margin:12px 0;background:#f4f8ff;border:1px solid #dce6f2;border-radius:10px}
@media(max-width:600px){.magh-shop-header{justify-content:center;gap:12px;flex-wrap:wrap}.magh-shop-header a{font-size:12px}.magh-checkout-wrap{padding:16px;margin:10px}}

/* MAGH customer shopping header, persistent mini-cart and wishlist dropdowns */
.magh-shop-header{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 14px;position:relative;z-index:50}
.magh-shop-header .magh-header-icon,.magh-shop-header .magh-header-trigger{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;color:#10264b;text-decoration:none;font:600 13px/1.2 inherit;cursor:pointer;box-shadow:0 3px 12px rgba(16,38,75,.045);transition:.18s ease}
.magh-shop-header .magh-header-icon:hover,.magh-shop-header .magh-header-trigger:hover,.magh-shop-header .magh-header-dropdown.is-open .magh-header-trigger{border-color:#b9cbea;background:#f7faff}
.magh-shop-header .magh-icon-symbol{font-size:20px;line-height:1}
.magh-shop-header b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#0756c9;color:#fff;font-size:10px;font-weight:800}
.magh-header-dropdown{position:relative}
.magh-dropdown-panel{display:none;position:absolute;right:0;top:calc(100% + 10px);width:min(350px,calc(100vw - 28px));max-height: min(65vh,460px);overflow:auto;padding:16px;background:#fff;border:1px solid #e7edf5;border-radius:16px;box-shadow:0 18px 50px rgba(12,35,70,.16);color:#10264b;z-index:9999}
.magh-header-dropdown.is-open .magh-dropdown-panel{display:block}
.magh-dropdown-panel>strong{display:block;font-size:15px;margin:0 0 10px;color:#10264b}
.magh-mini-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f6}
.magh-mini-name{min-width:0;flex:1;font-size:13px;font-weight:650;overflow-wrap:anywhere}
.magh-mini-name small{display:block;margin-top:4px;color:#718096;font-size:11px;font-weight:500}
.magh-mini-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}
.magh-mini-actions button{width:27px;height:27px;border:1px solid #e5eaf1;border-radius:8px;background:#f8faff;color:#18345d;font-size:16px;line-height:1;cursor:pointer}
.magh-mini-actions button:last-child{color:#b42318}
.magh-dropdown-checkout{display:flex;justify-content:center;margin-top:13px;padding:11px 14px;border-radius:10px;background:#0756c9;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:750}
.magh-empty-state{margin:8px 0;color:#778397;font-size:13px;line-height:1.55}
.magh-customer-actions .magh-add-wishlist.is-saved{background:#fff0f3;color:#d12c59}
.magh-checkout-wrap .magh-cart-lines{margin:14px 0 24px;padding:12px 16px;border:1px solid #e9eef5;border-radius:13px;background:#fbfcfe}
.magh-checkout-wrap .magh-mini-row{gap:14px}
.magh-order-success{padding:12px;border-radius:10px;background:#effaf3;color:#167443;font-weight:700}
@media(max-width:600px){.magh-shop-header{justify-content:center;gap:7px;padding:8px 5px}.magh-shop-header .magh-header-icon,.magh-shop-header .magh-header-trigger{gap:5px;padding:8px 9px;min-height:40px;font-size:12px}.magh-shop-header .magh-icon-symbol{font-size:18px}.magh-dropdown-panel{right:-8px;width:min(330px,calc(100vw - 20px));padding:13px}.magh-mini-name{font-size:12px}}

/* MAGH v1.4.3: consistent two-line product titles and single product details */
.magh-home-product-info h3,.magh-shop-product .magh-product-body h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;min-height:2.8em;max-height:2.8em;overflow-wrap:anywhere}
.magh-home-product-info h3 a,.magh-shop-product .magh-product-body h3 a{color:inherit;text-decoration:none}
.magh-shop-product-image-link{display:block;width:100%;overflow:hidden;text-decoration:none}
.magh-shop-product-image-link>img,.magh-shop-product-image-link>.magh-product-placeholder{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#f5f7fb}
.magh-single-product-wrap{max-width:1180px;margin:0 auto;padding:22px 16px 50px}
.magh-single-back{display:inline-block;margin:0 0 18px;color:#0756c9;text-decoration:none;font-size:13px;font-weight:800}
.magh-single-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;background:#fff;border:1px solid #e4edf7;border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(15,50,90,.06)}
.magh-single-product-media{min-width:0;background:#f5f7fb;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;min-height:360px}
.magh-single-product-media img{display:block;width:100%;height:100%;max-height:560px;aspect-ratio:1/1;object-fit:contain}
.magh-single-product-info{align-self:center;min-width:0}
.magh-single-product-info h1{margin:10px 0 8px;color:#071d49;font-size:clamp(24px,3vw,36px);line-height:1.2;overflow-wrap:anywhere}
.magh-single-sku{font-size:12px;color:#71819b}
.magh-single-price{font-size:28px;font-weight:900;color:#0756c9;margin:18px 0 8px}
.magh-single-stock{font-size:13px;color:#21834d;font-weight:800}
.magh-single-description{margin-top:24px;padding:24px;background:#fff;border:1px solid #e4edf7;border-radius:16px;color:#52647e;line-height:1.8;overflow-wrap:anywhere}
.magh-single-description h2{margin:0 0 14px;color:#071d49;font-size:20px}
.magh-single-description p{margin:0 0 12px}
@media(max-width:700px){.magh-single-product{grid-template-columns:1fr;gap:20px;padding:14px}.magh-single-product-media{min-height:0}.magh-single-product-info h1{font-size:25px}.magh-single-description{padding:17px}.magh-home-product-info h3{min-height:2.8em}}


/* MAGH v1.4.4: product gallery/video and compact auto-opening mini cart */
.magh-single-product-media{display:block;min-width:0;padding:12px}
.magh-single-product-media>.magh-single-main-image{display:block;width:100%;height:auto;max-height:470px;aspect-ratio:1/1;object-fit:contain;border-radius:10px}
.magh-product-gallery{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.magh-product-gallery a{display:block;width:68px;height:68px;border:1px solid #e2e9f2;border-radius:9px;overflow:hidden;background:#fff}
.magh-product-gallery img{display:block;width:100%;height:100%;object-fit:cover}
.magh-product-video{width:100%;margin-top:14px;overflow:hidden;border-radius:12px;background:#101828;aspect-ratio:16/9}
.magh-product-video iframe,.magh-product-video video{display:block;width:100%;height:100%;border:0;object-fit:contain}
.magh-dropdown-panel.magh-cart-dropdown{width:min(285px,calc(100vw - 24px));max-height:min(48vh,320px);padding:11px 13px;border-radius:13px}
.magh-cart-dropdown .magh-mini-row{gap:7px;padding:7px 0}
.magh-cart-dropdown .magh-mini-name{font-size:12px;line-height:1.3}
.magh-cart-dropdown .magh-mini-name small{font-size:10px;margin-top:2px}
.magh-cart-dropdown .magh-mini-actions{gap:3px}
.magh-cart-dropdown .magh-mini-actions button{width:24px;height:24px;font-size:14px}
.magh-cart-dropdown .magh-cart-total{font-size:12px;margin:8px 0;font-weight:800}
.magh-cart-dropdown .magh-dropdown-checkout{margin-top:8px;padding:9px 10px;font-size:12px}

/* MAGH v1.4.5: full wishlist page */
.magh-wishlist-page{max-width:1180px;margin:0 auto;padding:24px 16px 50px;color:#10264b}
.magh-wishlist-heading h2{margin:0 0 6px;font-size:26px;font-weight:850}
.magh-wishlist-heading p{margin:0 0 20px;color:#718096;font-size:14px}
.magh-wishlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.magh-wishlist-card{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid #e5ebf3;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(16,38,75,.05)}
.magh-wishlist-product-link{color:#10264b;text-decoration:none;font-size:15px;line-height:1.4}
.magh-wishlist-price{font-size:17px;font-weight:850;color:#0756c9}
.magh-wishlist-card-actions{display:flex;gap:8px;margin-top:auto}
.magh-wishlist-card-actions button{flex:1;padding:9px 10px;border:1px solid #dce5f0;border-radius:9px;background:#f7faff;color:#18345d;font-size:12px;font-weight:750;cursor:pointer}
.magh-wishlist-card-actions button:first-child{background:#0756c9;border-color:#0756c9;color:#fff}


/* MAGH v1.4.7 — customer notifications page */
.magh-notifications{max-width:900px;margin:30px auto;padding:clamp(16px,3vw,30px);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b4d;background:#fff;border:1px solid #e3ebf6;border-radius:18px;box-shadow:0 10px 35px rgba(15,50,90,.06);box-sizing:border-box}
.magh-notifications *{box-sizing:border-box}.magh-notifications-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid #eaf0f7}.magh-notifications-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.6px;color:#1684f5}.magh-notifications-head h2{margin:5px 0;color:#071d49;font-size:clamp(24px,4vw,32px);line-height:1.2}.magh-notifications-head p{margin:0;color:#71819b;font-size:13px;line-height:1.6}.magh-notifications-count{padding:7px 11px;border-radius:20px;background:#eef5ff;color:#0756c9;font-size:11px;font-weight:800;white-space:nowrap}.magh-notifications-mark-form{text-align:right;margin:14px 0}.magh-notifications-mark-form button,.magh-notifications-login{border:0;background:#0756c9;color:#fff!important;padding:9px 14px;border-radius:8px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.magh-notifications-list{display:grid;gap:10px;margin-top:12px}.magh-notification-card{display:flex;gap:13px;padding:16px;border:1px solid #e6edf6;border-radius:12px;background:#fff}.magh-notification-card.is-unread{background:#f5f9ff;border-color:#cfe1fb}.magh-notification-dot{flex:0 0 9px;width:9px;height:9px;margin-top:7px;border-radius:50%;background:#1684f5}.magh-notification-card.is-read .magh-notification-dot{background:#cbd5e1}.magh-notification-content{min-width:0;flex:1}.magh-notification-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.magh-notification-title-row h3{margin:0;color:#102b52;font-size:14px;font-weight:800}.magh-notification-new{padding:3px 6px;border-radius:4px;background:#e5f1ff;color:#0756c9;font-size:9px;font-weight:900;letter-spacing:.5px}.magh-notification-content p{margin:7px 0;color:#52647e;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.magh-notification-content time{display:block;margin-top:8px;color:#8a98ac;font-size:11px}.magh-notifications-empty{text-align:center;padding:45px 15px}.magh-notifications-empty>span{font-size:30px}.magh-notifications-empty h3{margin:12px 0 5px;color:#102b52;font-size:18px}.magh-notifications-empty p{margin:0;color:#71819b;font-size:13px}.magh-notifications-login{display:inline-block;margin-top:14px}
@media(max-width:520px){.magh-notifications{margin:14px auto;border-radius:12px}.magh-notification-card{padding:12px;gap:10px}.magh-notifications-mark-form{text-align:left}}

/* Customer checkout account action buttons */
.magh-customer-auth .magh-customer-login-btn{background:#0756c9!important;color:#fff!important;border:1px solid #0756c9!important;box-shadow:0 7px 16px #0756c933!important}
.magh-customer-auth .magh-customer-register-btn{background:#16804b!important;color:#fff!important;border:1px solid #16804b!important;box-shadow:0 7px 16px #16804b33!important}
.magh-customer-auth .magh-customer-login-btn:hover{background:#0646a5!important}
.magh-customer-auth .magh-customer-register-btn:hover{background:#11683d!important}


/* Checkout customer account buttons: Astra/Elementor theme override protection */
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button.magh-customer-login-btn,
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth button.magh-customer-login-btn,
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button[type="submit"].magh-customer-login-btn {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    background-color:#0756c9!important;background-image:none!important;color:#ffffff!important;
    border:2px solid #0756c9!important;border-radius:9px!important;padding:12px 22px!important;
    font-weight:800!important;line-height:1.3!important;text-decoration:none!important;
    opacity:1!important;visibility:visible!important;box-shadow:0 7px 16px rgba(7,86,201,.20)!important;
}
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button.magh-customer-register-btn,
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth button.magh-customer-register-btn,
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button[type="submit"].magh-customer-register-btn {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    background-color:#16804b!important;background-image:none!important;color:#ffffff!important;
    border:2px solid #16804b!important;border-radius:9px!important;padding:12px 22px!important;
    font-weight:800!important;line-height:1.3!important;text-decoration:none!important;
    opacity:1!important;visibility:visible!important;box-shadow:0 7px 16px rgba(22,128,75,.20)!important;
}
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button.magh-customer-login-btn:hover {
    background-color:#0646a5!important;border-color:#0646a5!important;color:#fff!important;
}
body .magh-checkout-wrap .magh-auth-card.magh-customer-auth form button.magh-customer-register-btn:hover {
    background-color:#11683d!important;border-color:#11683d!important;color:#fff!important;
}
