.feira-app{--blue:#0738ed;--navy:#07143c;--muted:#657391;--line:#dce2ef;--pale:#eaf2ff;color:var(--navy);background:#fff;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.4;position:absolute;inset:0}.feira-app *{box-sizing:border-box}.feira-app button,.feira-app select,.feira-app input,.feira-app textarea{font:inherit}.feira-app button{cursor:pointer}.feira-app button:focus-visible,.feira-app input:focus-visible,.feira-app select:focus-visible,.feira-app textarea:focus-visible{outline-offset:3px;outline:3px solid #769aff}.feira-app svg{flex:none;width:22px;height:22px}.feira-header{left:0;right:0;top:var(--mobile-safe-area-top,48px);z-index:3;background:#fff;justify-content:space-between;align-items:center;gap:8px;height:64px;padding:0 18px;display:flex;position:absolute}.feira-brand{align-items:center;gap:9px;min-width:0;display:flex}.feira-brand strong{letter-spacing:-.6px;white-space:nowrap;font-size:19px}.brand-icon{background:var(--blue);color:#fff;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.brand-icon svg{width:23px;height:23px}.language{min-height:40px;color:var(--navy);border:1px solid #d2dbef;border-radius:12px;align-items:center;gap:4px;padding:0 8px;display:flex}.language>svg{width:17px;height:17px;color:var(--blue)}.language>svg:last-child{width:12px}.language select{appearance:none;color:inherit;cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:13px;font-weight:700}.feira-scroll{background:#fff;top:calc(var(--mobile-safe-area-top,48px) + 64px)!important;bottom:var(--keyboard-height)!important;height:auto!important;position:absolute!important}.feira-content{padding:18px 16px calc(var(--mobile-safe-area-height,34px) + 190px);min-height:100%}.title-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.title-row h1{letter-spacing:-.85px;margin:0;font-size:25px;font-weight:750;line-height:1.2}.icon-button{color:var(--muted);background:0 0;border:0;border-radius:10px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.icon-button:hover{background:var(--pale)}.progress-label{color:var(--muted);margin:1px 0 11px;font-size:16px}.feira-app progress{appearance:none;background:#dce3f0;border:0;border-radius:12px;width:100%;height:9px;display:block;overflow:hidden}.feira-app progress::-webkit-progress-bar{background:#dce3f0}.feira-app progress::-webkit-progress-value{background:var(--blue);border-radius:12px}.feira-app progress::-moz-progress-bar{background:var(--blue);border-radius:12px}.search-row{gap:9px;margin-top:20px;display:flex}.search-field{min-width:0;color:var(--muted);background:#fcfdff;border:1px solid #d0daee;border-radius:12px;flex:1;align-items:center;gap:9px;height:46px;padding:0 12px;display:flex}.search-field svg{width:20px;height:20px}.search-field input{width:100%;min-width:0;color:var(--navy);background:0 0;border:0;padding:10px 0;font-size:16px;outline:none!important}.search-field:focus-within{outline-offset:2px;outline:2px solid #769aff}.search-field button{color:var(--muted);background:0 0;border:0;padding:0;display:flex}.filter-button{width:46px;min-height:46px;color:var(--blue);background:#f4f7ff;border:1px solid #bccdff;border-radius:12px;place-items:center;display:grid}.filter-button.selected{background:var(--blue);color:#fff}.status-filters{gap:5px;margin-top:18px;display:flex}.status-filters button{color:#56627d;white-space:nowrap;background:#f0f3f9;border:0;border-radius:10px;flex:1;min-width:0;min-height:44px;padding:11px 4px;font-size:12px}.status-filters button[aria-pressed=true]{background:var(--blue);color:#fff}.status-filters span{margin-left:2px}.category-carousel{margin:16px 0 18px}.category-track{gap:8px!important}.category-chip{color:#243858;white-space:nowrap;background:#eff5ff;border:0;border-radius:24px;align-items:center;gap:6px;min-height:42px;padding:9px 13px;display:flex;font-size:13px!important}.category-chip.active{color:var(--blue);background:#dceaff}.category-chip svg{width:18px;height:18px}.product-groups{gap:17px;display:grid}.category-heading{background:#e7f0ff;border-radius:10px;align-items:center;gap:9px;min-height:44px;margin:0;padding:11px 12px;font-size:15px;line-height:1.3;display:flex}.category-heading span{flex:1}.category-heading svg{width:22px;height:22px}.category-heading small{color:#5b6d8e;font-size:13px;font-weight:400}.product-row{border-bottom:1px solid var(--line);align-items:center;gap:6px;min-height:53px;display:flex}.product-row:last-child{border:0}.product-label{cursor:pointer;flex:1;align-items:center;gap:12px;min-width:0;min-height:53px;padding:3px 4px;display:flex;position:relative}.product-label input{opacity:0;cursor:pointer;width:44px;height:44px;margin:0;position:absolute;left:0}.check-control{color:#fff;border:1.7px solid #8997b1;border-radius:50%;flex:none;justify-content:center;align-items:center;width:23px;height:23px;display:inline-flex}.product-label input:focus-visible+.check-control{outline-offset:3px;outline:3px solid #83a7ff}.product-label input:checked+.check-control,.purchased .check-control{background:var(--blue);border-color:var(--blue)}.check-control svg{stroke:currentColor;stroke-width:.5px;width:18px;height:18px}.product-name{overflow-wrap:anywhere;font-size:17px;line-height:1.35}.purchased .product-name,.archived-row.purchased>span:last-child{color:#6a7791;text-decoration:line-through}.product-row .icon-button{width:44px}.product-row .icon-button svg{width:22px}.storage-note{color:#647594;align-items:flex-start;gap:8px;margin:22px 4px 0;font-size:12px;line-height:1.5;display:flex}.storage-note svg{width:17px;height:17px}.storage-note.error{color:#b4233f}.floating-add{z-index:4;background:var(--blue);color:#fff;border:0;border-radius:28px;align-items:center;gap:8px;min-height:50px;padding:11px 19px;font-weight:600;display:flex;position:absolute;right:18px;box-shadow:0 6px 14px #0738ed25;font-size:18px!important}.floating-add svg{width:24px;height:24px}.bottom-navigation{z-index:4;border-top:1px solid var(--line);background:#fff;height:67px;display:flex;position:absolute;left:0;right:0;box-shadow:0 -7px 17px #fffd}.bottom-navigation button{color:#667491;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:3px;font-size:13px;display:flex;position:relative}.bottom-navigation button svg{width:24px;height:24px}.bottom-navigation button[aria-current=page]{color:var(--blue)}.bottom-navigation button[aria-current=page]:before{content:"";background:var(--blue);border-radius:0 0 5px 5px;width:62%;height:3px;position:absolute;top:0}.feira-toast{z-index:60;color:#fff;background:#0d2047;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;font-size:13px;display:flex;position:absolute;left:16px;right:16px;box-shadow:0 4px 16px #07143c22}.feira-toast button{color:#b9d3ff;background:0 0;border:0;padding:6px;font-size:13px;font-weight:700}.demo-label{color:#657391;margin:7px 0 -8px;font-size:11px}.empty-state{text-align:center;color:var(--muted);padding:26px 6px}.empty-state>svg{width:40px;height:40px;color:var(--blue);margin:8px auto 4px}.empty-state h2{color:var(--navy);margin:12px 0 6px;font-size:18px}.empty-state p{font-size:14px;line-height:1.6}.empty-state button{margin:16px auto 0}.primary-button,.outline-button,.danger-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:10px 14px;font-weight:600;line-height:1.4;display:flex;font-size:14px!important}.primary-button{background:var(--blue);color:#fff;border:1px solid var(--blue)}.outline-button{color:var(--blue);background:#f3f6ff;border:1px solid #b8c9ff}.danger-button{color:#c52244;background:#fff3f5;border:1px solid #f3bdc8}.full{width:100%;margin-top:13px}.two-buttons{gap:10px;margin:15px 0;display:flex}.two-buttons>*{flex:1;min-width:0}.text-button{min-height:44px;color:var(--blue);background:0 0;border:0;align-items:center;gap:7px;padding:8px 0;display:flex;font-size:14px!important}.history-intro{color:var(--muted);margin:14px 0 20px;font-size:13px;line-height:1.6}.history-record{border-bottom:1px solid var(--line);padding:18px 0}.history-record-title{align-items:center;gap:10px;display:flex}.history-record-title h2{overflow-wrap:anywhere;margin:0;font-size:17px}.history-record p,.muted{color:var(--muted);font-size:13px}.archive-title{overflow-wrap:anywhere;font-size:21px}.archived-row{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:13px 0;font-size:16px;display:flex}.sheet-overlay{background:#07143c2e}.bottom-sheet{color:var(--navy);background:#fff;border-radius:24px 24px 0 0;font-family:Arial,Helvetica,sans-serif;box-shadow:0 -5px 20px #07143c1a}.sheet-header{padding:0 20px 12px}.sheet-title{letter-spacing:-.4px;padding-right:32px;font-size:21px;line-height:1.3}.sheet-description{color:var(--muted);font-size:13px;line-height:1.6}.sheet-content{padding:0 20px 30px;overflow-y:auto}.sheet-handle{background:#cbd0dc}.sheet-close{color:var(--navy);position:absolute;top:20px;right:10px}.sheet-form{gap:14px;padding-bottom:10px;display:grid}.sheet-form label{gap:8px;font-size:14px;font-weight:600;display:grid}.sheet-form input[type=text],.sheet-form input:not([type]),.sheet-form textarea,.sheet-form select{width:100%;color:var(--navy);background:#fcfdff;border:1px solid #cbd6ed;border-radius:10px;min-height:46px;padding:12px;font-size:16px}.sheet-form textarea{resize:vertical;height:150px}.sheet-form p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.sheet-form .replace-toggle{align-items:center;gap:8px;font-size:13px;display:flex}.replace-toggle input{width:20px;height:20px;accent-color:var(--blue)}.action-buttons{margin:4px 0 0}.action-buttons button{min-height:48px;font-size:17px!important}.options-list>button,.category-options>button{width:100%;min-height:47px;color:var(--navy);text-align:left;background:#fff;border:0;border-bottom:1px solid #e5eaf5;align-items:center;gap:13px;padding:10px 0;display:flex;font-size:14px!important}.options-list>button svg{color:var(--blue)}.options-list>button.danger-text,.options-list>button.danger-text svg{color:#c52244}.category-options>button{justify-content:space-between}.category-options>button[aria-pressed=true]{color:var(--blue);font-weight:600}.feira-app button:disabled{opacity:.5;cursor:default}.bottom-sheet{--blue:#0738ed;--navy:#07143c;--muted:#657391;--line:#dce2ef;color:#07143c;font-family:Arial,Helvetica,sans-serif}.bottom-sheet button,.bottom-sheet input,.bottom-sheet textarea,.bottom-sheet select{font:inherit}.bottom-sheet svg{flex:none;width:22px;height:22px}.bottom-sheet button:focus-visible,.bottom-sheet input:focus-visible,.bottom-sheet select:focus-visible,.bottom-sheet textarea:focus-visible{outline-offset:3px;outline:3px solid #769aff}:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;color:#07143c;background:#f5f8ff;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden}button,input,textarea,select{font:inherit}.feira-app{--mobile-safe-area-height:env(safe-area-inset-bottom,0px);--keyboard-height:0px;max-width:740px;height:100dvh;margin:0 auto;--mobile-safe-area-top:env(safe-area-inset-top,0px)!important}.mobile-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;position:absolute;left:0;right:0;overflow:hidden auto}.mobile-carousel{scrollbar-width:none;touch-action:pan-x pan-y;overflow:auto hidden}.mobile-carousel::-webkit-scrollbar{display:none}.mobile-carousel-content{gap:8px;width:max-content;min-width:100%;display:flex}.feira-app .bottom-navigation{bottom:env(safe-area-inset-bottom,0px)!important}.feira-app .floating-add{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}.feira-app .feira-toast{bottom:calc(136px + env(safe-area-inset-bottom,0px))!important}.feira-app:after{content:"";height:env(safe-area-inset-bottom,0px);z-index:4;background:#fff;position:absolute;bottom:0;left:0;right:0}.sheet-overlay{z-index:20;background:#07143c45;position:fixed;inset:0}.bottom-sheet{z-index:21;width:100%;max-width:740px;max-height:85dvh;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff;border-radius:24px 24px 0 0;flex-direction:column;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 20px #07143c1a}.sheet-handle-zone{flex:none;place-items:center;height:25px;display:grid}.sheet-handle{background:#cbd0dc;border-radius:9px;width:38px;height:4px}.sheet-header{flex:none;padding:0 20px 12px}.sheet-title{letter-spacing:-.4px;margin:0;padding-right:35px;font-size:21px;line-height:1.3}.sheet-description{color:#657391;margin:6px 0 0;font-size:13px;line-height:1.6}.sheet-content{min-height:0;padding:0 20px 24px;overflow:auto}.sheet-close{position:absolute;top:16px;right:10px}.sr-only{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.bottom-sheet button:focus-visible{outline-offset:2px;outline:3px solid #769aff}.feira-app .check-control{pointer-events:none}@media (width>=700px){.feira-app{border-left:1px solid #e1e8f5;border-right:1px solid #e1e8f5}.feira-header,.feira-content{padding-left:24px;padding-right:24px}.feira-brand strong{font-size:22px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


.feira-app{--blue:#1234ef}.category-heading{background:transparent;padding:8px 0;gap:9px;font-size:17px;font-weight:700}.category-heading:after{content:"";height:1px;flex:1;background:var(--line)}.category-heading span{flex:none}.category-heading small{display:none}.category-heading svg{width:21px;height:21px;color:var(--blue)}.product-groups{gap:14px}.fnb-product{display:grid;grid-template-columns:26px minmax(0,1fr) 112px;gap:9px;align-items:start;padding:8px 0;min-height:80px}.fnb-product:last-child{border-bottom:1px solid var(--line)}.fnb-check.product-label{min-height:44px;padding:0;align-items:flex-start;padding-top:6px;min-width:26px}.fnb-check.product-label input{left:-8px;top:-2px}.fnb-product .check-control{border-radius:6px;width:23px;height:23px}.fnb-main{min-width:0}.fnb-name{background:none;border:0;padding:0;min-height:26px;text-align:left;font-weight:700;font-size:16px;color:var(--navy)}.fnb-price-line{display:flex;gap:4px;align-items:center;min-height:40px;color:var(--muted);font-size:12px}.fnb-price{width:70px;min-width:0;min-height:38px;padding:4px 6px;border:1px solid #c4cde5;border-radius:8px;color:var(--navy);background:#fff;font-size:16px!important}.fnb-unit{white-space:nowrap}.fnb-pencil.icon-button{width:26px;height:40px;min-width:26px;color:var(--blue)}.fnb-pencil.icon-button svg{width:18px;height:18px}.fnb-right{text-align:right}.fnb-stepper{height:40px;display:flex;border:1px solid #cbd3ec;border-radius:9px;overflow:hidden;background:#f5f7ff}.fnb-stepper button{width:32px;min-height:38px;padding:0;flex:none;display:grid;place-items:center;border:0;background:transparent;color:var(--blue);font-size:22px}.fnb-stepper button:disabled{opacity:.4;cursor:default}.fnb-stepper button svg{width:19px;height:19px}.fnb-qty{width:46px;min-width:0;border:0;padding:0 2px;text-align:center;font-size:16px!important;background:white;color:var(--navy)}.fnb-subtotal{margin-top:4px;font-size:16px;line-height:1.2;overflow-wrap:anywhere;font-weight:700;font-variant-numeric:tabular-nums}/* Top total is part of the list; only navigation occupies the bottom. */
.fnb-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 12px;padding:10px 12px;background:#f2f5ff;border-radius:12px}
.fnb-summary-info{display:flex;flex-direction:column;min-width:0;gap:2px}
.fnb-summary-label{font-size:12px;font-weight:600;color:var(--muted)}
.fnb-summary strong{font-size:21px;line-height:1.2;letter-spacing:-.4px;max-width:62%;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fnb-summary small{font-size:10px;color:var(--muted)}
.feira-content{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}
.feira-app .feira-toast{bottom:calc(82px + env(safe-area-inset-bottom,0px))!important}
.bottom-navigation{display:grid;grid-template-columns:1fr 72px 1fr;align-items:center}
.bottom-navigation .fnb-add-circle{justify-self:center;display:grid;place-items:center;flex:none;width:50px;height:50px;min-height:50px;padding:0;border:0;border-radius:50%;background:var(--blue);color:white;box-shadow:0 3px 8px #1234ef24}
.bottom-navigation .fnb-add-circle svg{width:25px;height:25px}
.bottom-navigation .fnb-add-circle:focus-visible{outline:3px solid #7c91ff;outline-offset:3px}
.bottom-navigation .fnb-add-circle:hover{background:#0f2bd4}
.fnb-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fnb-form-grid label{min-width:0}.fnb-form-total{display:flex;justify-content:space-between;align-items:center;padding:13px;background:#f2f5ff;border-radius:10px;font-size:15px}.fnb-form-total strong{font-size:20px}.fnb-archive-product{display:flex;flex-direction:column;gap:5px}.fnb-archive-product small{font-size:13px;color:var(--muted)}input[aria-invalid=true]{outline:2px solid #b4233f}.sheet-form input,.sheet-form select{font-size:16px!important}@media(min-width:700px){.fnb-product{grid-template-columns:28px minmax(0,1fr) 132px;gap:14px}.fnb-price{width:85px}.fnb-stepper{justify-content:space-between}}@media(max-width:359px){.fnb-product{grid-template-columns:25px minmax(0,1fr) 102px;gap:6px}.fnb-price-line{gap:2px}.fnb-price{width:70px}.fnb-stepper button{width:28px}.fnb-qty{width:44px}.fnb-pencil.icon-button{width:23px;min-width:23px}}
.fnb-category-icon{width:22px;height:22px;object-fit:contain;flex:none}.category-chip .fnb-category-icon{width:18px;height:18px}

.brand-icon .fnb-brand-cart{width:24px;height:24px;display:block;object-fit:contain}
