.hgfm{max-width:640px;margin:0 auto;padding:12px;font-size:17px;line-height:1.4}
.hgfm *{box-sizing:border-box}
.hgfm h2{margin:.4em 0}
.hgfm-nav{display:flex;gap:8px;margin-bottom:12px}
.hgfm-nav a,.hgfm-btn{display:inline-block;background:#2e7d32;color:#fff!important;border:0;border-radius:10px;padding:12px 16px;text-decoration:none;font-size:17px;cursor:pointer;min-height:48px}
.hgfm-form label{display:block;margin:12px 0 4px;font-weight:600}
.hgfm-form input,.hgfm-form select,.hgfm-form textarea{width:100%;padding:12px;font-size:17px;border:1px solid #bbb;border-radius:10px;min-height:48px}
.hgfm-form button{background:#2e7d32;color:#fff;border:0;border-radius:10px;padding:12px 16px;font-size:17px;min-height:48px;margin-top:12px}
.hgfm-row{display:flex;gap:8px}.hgfm-row input{flex:1}.hgfm-row button{margin-top:0}
.hgfm-card{display:block;border:1px solid #ddd;border-radius:12px;padding:12px;margin:8px 0;color:inherit;text-decoration:none;background:#fff}
.hgfm-sel{border-color:#2e7d32;box-shadow:0 0 0 2px #2e7d3233}
.hgfm-note{padding:10px 12px;border-radius:10px;margin-bottom:10px}
.hgfm-ok{background:#e8f5e9}.hgfm-err{background:#ffebee}
.hgfm-hint{color:#666;font-size:15px}
.hgfm details{margin:10px 0}.hgfm summary{cursor:pointer;font-weight:600;padding:10px 0}
.hgfm-void{opacity:.55;text-decoration:line-through}.hgfm-void strong,.hgfm-void small{text-decoration:none}
.hgfm-item{border-top:1px dashed #ccc;margin-top:10px;padding-top:4px}
.hgfm-prodnote{font-size:15px;background:#fff8e1;border-radius:8px;margin-top:6px}.hgfm-prodnote:not(:empty){padding:8px}
.hgfm-stock{border-collapse:collapse;width:100%}.hgfm-stock td,.hgfm-stock th{padding:4px 6px;border-bottom:1px solid #eee}.hgfm-stock td:last-child{text-align:right}
.hgfm-doc{background:#fff;padding:12px}
@media print{.hgfm-nav,.hgfm-noprint,.hgfm-note{display:none!important}.hgfm{max-width:none}}
.hgfm-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.hgfm-report{font-size:14px;min-width:520px}.hgfm-report th{text-align:left;white-space:nowrap}
@media print{.hgfm-scroll{overflow:visible}.hgfm-report{font-size:11px;min-width:0}}
.hgfm-report-page{max-width:none}
.hgfm-nav{flex-wrap:wrap}.hgfm-nav a{padding:10px 12px;min-height:44px}
.hgfm-wide{max-width:1100px}
.hgfm-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:10px 0}
.hgfm-kpi{background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:2px}.hgfm-kpi strong{font-size:22px}.hgfm-kpi small{color:#666}
.hgfm-alert{border-left:5px solid #f9a825}
.hgfm-actions{display:flex;flex-wrap:wrap;gap:8px}
.hgfm-chart{display:flex;gap:10px;align-items:flex-end;height:150px}.hgfm-mcol{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end}
.hgfm-bars{display:flex;gap:3px;align-items:flex-end;height:120px;width:100%;justify-content:center}.hgfm-bar{width:40%;max-width:26px;min-height:2px;border-radius:4px 4px 0 0}
.hgfm-bar.rev,.hgfm-key.rev{background:#2e7d32}.hgfm-bar.cost,.hgfm-key.cost{background:#ef6c00}.hgfm-key{display:inline-block;width:10px;height:10px;border-radius:2px}
.hgfm .nav-tab-wrapper{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.hgfm .nav-tab{padding:10px 14px;border-radius:10px;background:#eee;text-decoration:none;color:#222}.hgfm .nav-tab-active{background:#2e7d32;color:#fff}
.hgfm .widefat{width:100%;border-collapse:collapse;display:block;overflow-x:auto}.hgfm .widefat td,.hgfm .widefat th{padding:8px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}
.hgfm .form-table{width:100%}.hgfm .form-table th{text-align:left;padding:8px;vertical-align:top}.hgfm .form-table td{padding:8px}
.hgfm .button,.hgfm .button-primary{display:inline-block;background:#e8e8e8;color:#222;border:0;border-radius:10px;padding:10px 14px;font-size:16px;cursor:pointer}.hgfm .button-primary{background:#2e7d32;color:#fff}
.hgfm .wrap input,.hgfm .wrap select,.hgfm .wrap textarea{max-width:100%;padding:8px;font-size:16px;border:1px solid #bbb;border-radius:8px}
.hgfm .description{color:#666;font-size:14px}
.hgfm-dashboard-title,.hgfm-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hgfm-dashboard-title h2{font-size:30px;margin:0}
.hgfm-eyebrow{font-size:12px;letter-spacing:.12em;color:#527c54;font-weight:700;margin:0 0 4px}
.hgfm-status{display:inline-block;padding:3px 9px;border-radius:999px;background:#edf2ed;color:#365b38;font-size:12px;font-weight:700;white-space:nowrap}
.hgfm-status-almost_ready{background:#fff3d4;color:#795800}
.hgfm-status-ready{background:#ffe5d9;color:#9a3e16}
.hgfm-status-transplanted{background:#dcefe1;color:#216b34}
.hgfm-batch-group{margin:18px 0;padding:12px;border-radius:14px;background:#f5f8f5}
.hgfm-batch-group h4{margin:0 0 6px}
.hgfm-crop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:12px 0 20px}
.hgfm-crop-card{background:#f5f8f5;border:1px solid #e1e9e1;border-radius:12px;padding:12px}
.hgfm-crop-card h3{margin:0 0 8px}
.hgfm-crop-card h3 small{font-size:12px;color:#667}
.hgfm-crop-card ul{margin:0;padding-left:20px}
.hgfm-transplant-kpis .hgfm-kpi{border-top:3px solid #5b8f5d}
.hgfm-transplant-row{position:relative}
.hgfm-transplant-row .hgfm-status{float:right}
.hgfm-calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0}
.hgfm-calendar-heading h2{margin:0;text-align:center}
.hgfm-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.hgfm-calendar-weekday{padding:8px 4px;text-align:center;font-weight:700;background:#edf2ed;border-radius:6px}
.hgfm-calendar-day{min-height:110px;padding:6px;border:1px solid #e1e7e1;border-radius:8px;background:#fff;overflow-wrap:anywhere}
.hgfm-calendar-empty{background:#f7f8f7}
.hgfm-calendar-event{margin-top:5px;padding:5px;border-radius:6px;background:#e8f5e9;font-size:12px}
@media(max-width:600px){.hgfm-calendar{gap:2px}.hgfm-calendar-day{min-height:76px;padding:3px;font-size:12px}.hgfm-calendar-event{font-size:10px}.hgfm-calendar-weekday{font-size:12px}}
.hgfm-storefront{max-width:1180px!important;padding:clamp(16px,3vw,34px)!important;margin:24px auto!important;background:#f7f8f3;border-radius:22px;color:#21352a}
.hgfm-storefront-hero{position:relative;padding:clamp(26px,5vw,58px);margin-bottom:26px;border-radius:18px;background:linear-gradient(120deg,#183c2b,#397348);color:#fff;overflow:hidden}
.hgfm-storefront-hero:after{content:"";position:absolute;width:250px;height:250px;right:-70px;bottom:-130px;border:35px solid #ffffff18;border-radius:50%}
.hgfm-storefront-hero>span,.hgfm-product-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em}
.hgfm-storefront-hero>span{color:#d1e8c5}
.hgfm-storefront-hero h2{margin:8px 0;font-size:clamp(28px,5vw,46px);line-height:1.1;color:#fff}
.hgfm-storefront-hero p{margin:0;color:#e5eee5;max-width:570px}
.hgfm-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}
.hgfm-product-card{overflow:hidden;background:#fff;border:1px solid #e6e9e1;border-radius:16px;box-shadow:0 6px 20px #1635220d;transition:transform .18s ease,box-shadow .18s ease}
.hgfm-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #16352218}
.hgfm-product-image{display:block;width:100%;height:220px;object-fit:cover;background:#e8eee4}
.hgfm-product-image-empty{display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e7efdf,#d3e2ce);color:#476c4e;font-size:13px;font-weight:800;letter-spacing:.16em}
.hgfm-product-content{padding:18px}
.hgfm-product-eyebrow{color:#4b8154}
.hgfm-product-content h3{margin:6px 0 10px;font-size:21px;line-height:1.25;color:#253b2d}
.hgfm-product-content p{margin:7px 0;color:#58665c}
.hgfm-product-availability strong{color:#2e7d32}
.hgfm-product-price{font-size:20px!important;font-weight:800;color:#243b2c!important}
.hgfm-product-price small{font-size:13px;font-weight:500;color:#647267}
.hgfm-order-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.hgfm-order-actions .hgfm-btn{flex:1 1 145px;text-align:center;padding:11px 12px;font-size:14px;min-height:44px}
.hgfm-order-actions details{flex:1 1 145px;margin:0}
.hgfm-order-actions details>summary{list-style:none;border-radius:10px;padding:12px;text-align:center;background:#edf3ea;color:#315b39;font-size:14px;font-weight:700;cursor:pointer}
.hgfm-order-actions details>summary::-webkit-details-marker{display:none}
.hgfm-order-actions details[open]{flex-basis:100%}
.hgfm-whatsapp-btn{background:#168a50!important}
.hgfm-whatsapp-btn:hover{background:#116e40!important}
@media(max-width:600px){.hgfm-storefront{margin:12px auto!important;border-radius:14px}.hgfm-product-image{height:190px}.hgfm-product-grid{gap:12px}}
