/* Mulya Farm Bogor - mobile-first storefront */
:root{--mfb-blue:#0878df;--mfb-blue-dark:#0754ad;--mfb-pale:#eaf6ff;--mfb-ink:#172b4d;--mfb-muted:#68788c;--mfb-border:#e7edf4;--mfb-yellow:#ffcf36}
.mfb-app{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mfb-ink);max-width:1120px;margin:0 auto;padding:0 0 90px;background:#f7fbff}
.mfb-app *{box-sizing:border-box}
.mfb-hero{background:linear-gradient(145deg,#0878df,#0759b5);color:white;padding:28px 22px 24px;border-radius:0 0 28px 28px;position:relative;overflow:hidden}
.mfb-hero:after{content:"";position:absolute;width:260px;height:260px;right:-95px;top:40px;border-radius:50%;background:rgba(255,255,255,.08)}
.mfb-hero-top{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:1}
.mfb-eyebrow{font-size:11px;letter-spacing:.08em;font-weight:800;opacity:.8}
.mfb-hero h1{font-size:25px;line-height:1.2;color:inherit;margin:10px 0 7px;font-weight:800}
.mfb-hero p{font-size:13px;line-height:1.6;max-width:290px;margin:0;color:rgba(255,255,255,.88)}
.mfb-hero-icon{font-size:56px;background:rgba(255,255,255,.14);border-radius:24px;padding:10px}
.mfb-balance-card{background:#fff;color:var(--mfb-ink);border-radius:20px;padding:17px 18px;margin:23px 0 -43px;position:relative;z-index:2;box-shadow:0 8px 25px #064b9420;display:flex;flex-direction:column;gap:7px}
.mfb-balance-card span{font-size:12px;color:var(--mfb-muted)}
.mfb-balance-card strong{font-size:23px;font-weight:850}
.mfb-balance-card a{font-size:12px;color:var(--mfb-blue);font-weight:700;text-decoration:none}
.mfb-section{padding:26px 16px 0}
.mfb-section:first-of-type{padding-top:62px}
.mfb-section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.mfb-section-heading h2,.mfb-section h2{font-size:17px;margin:0;font-weight:800;color:var(--mfb-ink)}
.mfb-section-heading a{font-size:12px;color:var(--mfb-blue);font-weight:700;text-decoration:none;white-space:nowrap}
.mfb-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mfb-category{background:#fff;box-shadow:0 4px 14px #0b42750b;border:1px solid #edf2f7;border-radius:16px;padding:16px 7px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:104px;text-decoration:none;color:var(--mfb-ink);text-align:center}
.mfb-category span{font-size:27px;line-height:1}
.mfb-category b{font-size:11px;line-height:1.3;font-weight:700}
.mfb-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mfb-product-card{background:#fff;border:1px solid #edf1f6;border-radius:17px;overflow:hidden;box-shadow:0 4px 15px #183e6410;min-width:0}
.mfb-product-thumb{display:block;background:#e7f5ff;aspect-ratio:1.12;overflow:hidden}
.mfb-product-image{width:100%;height:100%;object-fit:cover;display:block}
.mfb-product-info{padding:11px;display:flex;flex-direction:column;gap:7px}
.mfb-product-type{font-size:10px;color:var(--mfb-muted)}
.mfb-product-name{font-size:13px;line-height:1.35;font-weight:800;color:var(--mfb-ink);text-decoration:none}
.mfb-product-price{font-size:14px;color:#122b54;line-height:1.3}
.mfb-product-price del{font-size:11px;color:#8c98a8}.mfb-product-price ins{text-decoration:none}
.mfb-button{border:0;background:var(--mfb-blue);color:#fff!important;text-decoration:none!important;border-radius:12px;display:inline-flex;justify-content:center;align-items:center;min-height:43px;padding:11px 16px;font-size:13px;font-weight:800;cursor:pointer}
.mfb-button:hover{background:var(--mfb-blue-dark);color:#fff}
.mfb-button-small{font-size:11px;min-height:35px;padding:8px 10px;border-radius:10px;margin-top:2px}
.mfb-empty,.mfb-notice{background:#fff;border:1px solid var(--mfb-border);padding:17px;border-radius:15px;font-size:13px;line-height:1.6}
.mfb-page-title{font-size:24px;font-weight:850;margin:0 0 16px}
.mfb-search input{width:100%;border:1px solid var(--mfb-border);background:#fff;border-radius:25px;padding:13px 16px;margin-bottom:15px;font-size:14px}
.mfb-article-grid{display:grid;grid-template-columns:1fr;gap:12px}
.mfb-article-card{border-radius:16px;background:#fff;border:1px solid var(--mfb-border);overflow:hidden}
.mfb-article-card>a{display:flex;gap:12px;text-decoration:none;color:inherit}
.mfb-article-card img,.mfb-article-placeholder{width:105px;height:110px;object-fit:cover;flex-shrink:0;background:#e7f5ff}
.mfb-article-placeholder{display:grid;place-items:center;font-size:30px}
.mfb-article-copy{padding:11px 10px 10px 0;min-width:0}
.mfb-article-copy span{font-size:10px;color:var(--mfb-muted)}
.mfb-article-copy h3{font-size:14px;line-height:1.35;margin:5px 0;font-weight:800}
.mfb-article-copy p{font-size:12px;line-height:1.4;color:var(--mfb-muted);margin:0}
.mfb-bottom-nav{position:fixed;z-index:9999;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,720px);display:flex;justify-content:space-around;align-items:center;padding:9px 6px calc(9px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border:1px solid #e7edf4;border-bottom:0;border-radius:17px 17px 0 0;box-shadow:0 -5px 25px #143e6810}
.mfb-bottom-nav a{display:flex;align-items:center;flex-direction:column;gap:3px;min-width:52px;text-decoration:none;color:#8290a0}
.mfb-bottom-nav a span{font-size:20px;line-height:1.2}.mfb-bottom-nav a small{font-size:10px;font-weight:700}.mfb-bottom-nav a.is-active{color:var(--mfb-blue)}
.mfb-savings{max-width:900px;margin:0 auto;display:grid;gap:16px}
.mfb-savings-card{background:linear-gradient(135deg,#0878df,#0755b2);border-radius:20px;padding:22px;color:#fff;display:flex;flex-direction:column;gap:9px}
.mfb-savings-card strong{font-size:28px;font-weight:850}.mfb-savings-card p{margin:0;font-size:12px;color:#e5f3ff}
.mfb-panel{background:#fff;border:1px solid var(--mfb-border);border-radius:18px;padding:18px}
.mfb-panel h3{font-size:17px;margin:0 0 10px}.mfb-panel p{font-size:13px;line-height:1.6;color:var(--mfb-muted)}
.mfb-bank-detail{padding:14px;background:#f1f8ff;border-radius:12px;line-height:1.8;font-size:13px;margin:12px 0}
.mfb-deposit-form{display:grid;gap:9px}.mfb-deposit-form label{font-size:12px;font-weight:750}.mfb-deposit-form input[type=number],.mfb-deposit-form input[type=file]{width:100%;padding:11px;border:1px solid var(--mfb-border);border-radius:10px;background:#fff}
.mfb-table-wrap{overflow-x:auto}.mfb-table{width:100%;border-collapse:collapse;font-size:12px}.mfb-table th,.mfb-table td{text-align:left;padding:10px;border-bottom:1px solid var(--mfb-border);white-space:nowrap}.mfb-status{padding:4px 8px;border-radius:20px;font-size:10px;font-weight:800;background:#eef1f5}.mfb-status-approved{background:#e1f8e9;color:#176b38}.mfb-status-pending{background:#fff3d1;color:#875b00}.mfb-status-rejected{background:#ffe6e6;color:#a12626}
.mfb-cow-payment-hint,.mfb-savings-checkout{background:#eff7ff;border:1px solid #d7eaff;border-radius:12px;padding:13px;margin:12px 0;font-size:13px;line-height:1.6}
.mfb-savings-checkout label{font-weight:800}.mfb-savings-checkout p{margin:6px 0 0;color:var(--mfb-muted);font-size:12px}
@media(min-width:640px){.mfb-app{padding-bottom:30px}.mfb-hero{padding:38px 34px;border-radius:0 0 30px 30px}.mfb-hero h1{font-size:31px}.mfb-balance-card{max-width:470px}.mfb-section{padding-left:28px;padding-right:28px}.mfb-category-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.mfb-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mfb-article-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mfb-article-card>a{display:block}.mfb-article-card img,.mfb-article-placeholder{width:100%;height:150px}.mfb-article-copy{padding:12px}.mfb-bottom-nav{display:none}}

/* Elementor homepage section support */
.mfb-section-wrap{max-width:1120px;margin:0 auto;background:transparent;padding-bottom:0}
.mfb-elementor-section{padding-top:22px;padding-bottom:0}
.mfb-elementor-hero{margin:0;border-radius:22px}
.mfb-register-cta{padding:16px;background:#f1f8ff;border:1px solid #d7eaff;border-radius:16px;text-align:center}
.mfb-register-cta p{font-size:12px;color:var(--mfb-muted);margin:10px 0 0}
body.woocommerce-account .woocommerce form.login,body.woocommerce-account .woocommerce form.register{border:1px solid var(--mfb-border);border-radius:16px;padding:22px}
body.woocommerce-account .woocommerce h2{font-size:22px;font-weight:800}
@media(max-width:639px){.mfb-elementor-hero{border-radius:0 0 24px 24px}.mfb-elementor-section{padding-left:14px;padding-right:14px}}
