/* Sabz 0.5 — mobile first */
:root{--surface:#fff;--ink:#163a2d;--muted:#708379;--line:#e4ece7;--radius:22px;--accent:#176d4d;--soft:#edf6ef;--shadow:0 8px 32px #153a2310}
*{box-sizing:border-box}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,input,select{min-height:44px}input,select,textarea{font-size:16px}button{position:relative;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #a4d2b1;outline-offset:3px}[hidden]{display:none!important}
.shop-shell{max-width:900px;background:#f7faf6;min-height:100dvh}.shop-header{padding:18px 18px 14px;border:0;background:#f7faf6;gap:12px}.brand-mark,.gate-logo{background:#176d4d;border-radius:17px;color:white}.brand strong{font-size:17px}.brand small{font-size:11px}.shop-header #customer-name{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.shop-shell main{padding:8px 16px 120px}.section-heading h1{font-size:24px}.section-heading h2{font-size:19px}.eyebrow{letter-spacing:0;color:#718777}.panel,.order-card,.saved-card{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius);background:var(--surface);padding:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card{border:1px solid var(--line);border-radius:21px;box-shadow:none;overflow:hidden;min-width:0}.product-image{height:150px;object-fit:cover}.product-art{min-height:140px;padding:16px;background:linear-gradient(140deg,#eaf3df,#d5e6ce);text-align:center}.product-art strong{font-size:19px}.product-body{padding:12px;gap:7px}.product-body h3{font-size:15px;line-height:1.7;min-height:26px}.product-body .primary{padding:8px;font-size:12px;width:100%;min-height:42px}.product-body .text-button{font-size:11px;padding:2px 0}.product-body .price{font-size:14px}.product-body small{font-size:10px}.product-body select{font-size:12px;padding:6px;min-height:38px}.search{border-radius:17px;background:white}.chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:8px}.chips button{white-space:nowrap;flex-shrink:0;border-radius:14px}.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:900px;width:100%;padding:10px 8px calc(9px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:#ffffffee;backdrop-filter:blur(20px);box-shadow:0 -4px 28px #22482c12;border:1px solid #e5eee7;z-index:20}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;gap:5px;padding:5px 2px;border-radius:13px;min-height:54px}.bottom-nav .active{background:var(--soft);color:var(--accent)}.bottom-nav .counter{position:absolute;top:0;left:10px;min-width:17px;font-size:9px}.bottom-nav svg{width:21px;height:21px}.shop-footer{padding:20px 18px 100px;font-size:11px}
.home-hero{position:relative;border-radius:28px;padding:28px 24px;background:linear-gradient(125deg,#e7f3e3,#d0e3ca);overflow:hidden;color:var(--ink);margin:14px 0 20px}.home-hero h1{font-size:32px;line-height:1.6;position:relative;z-index:1}.home-hero p{max-width:68%;font-size:13px;line-height:1.9}.home-hero .primary{display:inline-flex;gap:8px;align-items:center;border-radius:14px}.hero-leaf{position:absolute;left:-14px;bottom:30px;font-size:140px;transform:rotate(-17deg);opacity:.7}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 26px}.quick-grid button{border:1px solid var(--line);background:white;border-radius:20px;padding:15px 5px;display:flex;flex-direction:column;align-items:center;gap:12px;font-size:11px;box-shadow:var(--shadow)}.quick-grid svg{color:var(--accent);width:26px;height:26px}.featured-strip{display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;margin-bottom:25px;padding-bottom:10px}.featured-item{min-width:150px;max-width:150px;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;padding:0 0 12px;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start}.featured-item img,.featured-art{height:120px;width:100%;object-fit:cover;background:#eaf2e2}.featured-art{display:grid;place-items:center}.featured-art svg{width:42px;height:42px;color:#8ba67f}.featured-item strong{font-size:13px}.featured-item>span{font-size:12px}.banner-slider{display:flex;overflow:auto;scroll-snap-type:x mandatory;gap:12px;scrollbar-width:none}.banner-slider:empty{display:none}.banner-slider>a,.banner-slider>div{flex:0 0 100%;scroll-snap-align:start;border-radius:22px;overflow:hidden}.banner-slider img{width:100%;height:auto;display:block}.banner-list{display:block}.form-modal,.date-dialog{border:0;border-radius:26px;padding:22px;box-shadow:0 20px 100px #14322340;max-height:90dvh;overflow:auto;width:min(640px,calc(100% - 24px));color:var(--ink)}dialog::backdrop{background:#102e2580;backdrop-filter:blur(5px)}.form-modal h2{font-size:20px;padding-left:52px}.modal-close{float:left;font-size:12px;min-height:38px;border-radius:14px}.form-modal .fields{clear:both}.checkout-sheet{width:min(760px,calc(100% - 16px))}.checkout-grid{display:block}.checkout-grid>.summary{margin-top:22px;border-radius:20px;background:#f6f9f5}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fields label{min-width:0}.fields textarea{width:100%;border-radius:14px}.fields input,.fields select{width:100%;min-width:0;border-radius:13px}.choice{display:flex;align-items:center;gap:10px;min-height:50px}.choice input[type=radio],.choice input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0}.choice span small{display:block}.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.slot-choice{border-radius:16px}.cart-line{padding:14px;border-radius:19px;background:white;flex-wrap:wrap;border:1px solid var(--line);margin-bottom:10px}.cart-line>div:first-child{max-width:65%;font-size:13px}.qty button{border-radius:12px}.balance-line{background:#fff3d7;border-radius:14px;padding:12px;font-size:12px}.order-number{font-size:14px;direction:ltr;overflow-wrap:anywhere}.order-card header{gap:10px}.order-card header .eyebrow{font-size:10px}.order-card .badges{gap:6px}.badge{font-size:10px;border-radius:9px}.actions{gap:8px;flex-wrap:wrap}.actions button{font-size:12px}.saved-card{margin:10px 0;padding:15px}.saved-card p{font-size:12px;line-height:1.8}.operation-card{border-radius:17px}.operation-card small{display:block;color:var(--muted);margin-top:8px}.return-lines{border:1px solid var(--line);border-radius:15px}.toast{bottom:100px;border-radius:16px;max-width:calc(100% - 32px)}
.bale-gate{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at 20% 0,#dcebd4,transparent 50%),#f5f9f3;padding:24px}.gate-card{width:min(420px,100%);padding:36px 26px;border-radius:32px;background:#fff;box-shadow:var(--shadow);text-align:center}.gate-logo{width:64px;height:64px;display:grid;place-items:center;font-size:32px;margin:0 auto 25px}.gate-card h1{font-size:23px;line-height:1.8}.gate-card p{font-size:14px;color:var(--muted);line-height:2}.gate-card a{display:block;margin-top:16px}.orbit-loader{width:40px;height:40px;border:3px solid #dcebdd;border-top-color:#1a7651;border-radius:50%;animation:spin .85s linear infinite;margin:20px auto}.is-loading{pointer-events:none;opacity:.8}.is-loading::after{content:'';display:inline-block;width:16px;height:16px;border:2px solid currentColor;border-left-color:transparent;border-radius:50%;animation:spin .8s linear infinite;vertical-align:middle;margin-right:8px}#network-progress{position:fixed;z-index:1000;top:0;right:0;width:100%;height:3px;background:linear-gradient(90deg,transparent,#41a570,transparent);animation:progress 1.2s ease-in-out infinite}.empty{min-height:110px;display:grid;place-items:center;padding:28px;border-radius:20px;background:linear-gradient(110deg,#edf2ea 20%,#f9fbf8 35%,#edf2ea 50%);background-size:200% 100%;animation:shimmer 1.8s infinite}.admin-main{min-width:0}.sidebar{border-radius:0 24px 24px 0}.admin-header h1{font-size:25px}.admin-body .panel{margin-bottom:18px}.admin-body .table-wrap{border-radius:15px}.admin-body td,.admin-body th{font-size:12px;padding:12px}.admin-body .order-card{margin-bottom:14px}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-grid label{font-size:12px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes progress{from{transform:translateX(75%)}to{transform:translateX(-75%)}}@keyframes shimmer{to{background-position:-200% 0}}
@media(max-width:600px){.form-modal{position:fixed;margin:0;top:auto;bottom:0;left:0;width:100%;max-width:100%;max-height:92dvh;border-radius:27px 27px 0 0;padding:21px 18px calc(22px + env(safe-area-inset-bottom))}.form-modal::before{content:'';display:block;height:4px;width:36px;background:#d6e1d8;border-radius:4px;margin:-7px auto 15px}.fields.two{grid-template-columns:minmax(0,1fr)}.fields .full{grid-column:auto}.admin-body .sidebar{padding:14px;border-radius:0}.admin-body .admin-main{padding:16px 12px}.admin-header{align-items:center}.admin-header h1{font-size:20px}.admin-header button{font-size:11px}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid{gap:6px}.quick-grid button{font-size:10px}.shop-header{padding:15px 16px}.checkout-sheet .summary{padding:16px}.product-body .primary svg{width:14px;height:14px}}
@media(min-width:720px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-shell main{padding:20px 32px 120px}.home-hero{padding:35px}.home-hero h1{font-size:40px}.home-hero p{max-width:60%}.hero-leaf{font-size:190px;left:50px}.checkout-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.checkout-grid>.summary{margin:0}.product-image{height:200px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

body[data-flow-busy] button:not(.modal-close):not([data-confirm-yes]):not([data-confirm-no]){pointer-events:none}body[data-flow-busy] #network-progress{display:block}

.hero-leaf svg{width:140px;height:140px;color:#729b64;stroke-width:.6}@media(min-width:720px){.hero-leaf svg{width:190px;height:190px}}
