:root{--primary: #ea1d2c;--primary-hover: #c91825;--secondary: #3e3e3e;--text: #1a1a1a;--text-muted: #717171;--border: #ebebeb;--surface: #ffffff;--surface-muted: #f7f7f7;--success: #16a34a;--danger: #dc2626;--radius: 12px;--radius-sm: 8px;--shadow: 0 1px 3px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 24px rgba(0, 0, 0, .12);--header-h: 64px;--cart-bar-h: 72px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--surface-muted);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased}#root{min-height:100vh}.checkout-app{min-height:100vh;padding-bottom:calc(var(--cart-bar-h) + 16px)}.checkout-app--no-cart-bar{padding-bottom:24px}.checkout-header{position:sticky;top:0;z-index:50;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow)}.checkout-header__inner{max-width:720px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;gap:12px}.checkout-header__logo{width:48px;height:48px;border-radius:var(--radius-sm);object-fit:contain;background:var(--surface-muted);border:1px solid var(--border)}.checkout-header__logo--placeholder{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.25rem;color:var(--primary)}.checkout-header__info{flex:1;min-width:0}.checkout-header__title{margin:0;font-size:1.125rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.checkout-header__subtitle{margin:2px 0 0;font-size:.8125rem;color:var(--text-muted)}.checkout-header__orders-btn{position:relative;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:999px;padding:8px 12px;font-size:.75rem;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0}.checkout-header__orders-btn--alert{border-color:#f59e0b;background:#fffbeb;color:#92400e}.checkout-header__orders-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:var(--primary);color:#fff;font-size:.6875rem}.checkout-steps{max-width:720px;margin:0 auto;padding:12px 16px 0;display:flex;gap:4px}.checkout-step{flex:1;text-align:center;font-size:.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted);padding-bottom:8px;border-bottom:2px solid var(--border)}.checkout-step--active{color:var(--primary);border-bottom-color:var(--primary)}.checkout-step--done{color:var(--success);border-bottom-color:var(--success)}.checkout-main{max-width:720px;margin:0 auto;padding:16px}.checkout-alert{padding:12px 14px;border-radius:var(--radius-sm);background:#fef2f2;color:var(--danger);font-size:.875rem;margin-bottom:16px;border:1px solid #fecaca}.checkout-alert--info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.pending-order-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:12px;border-radius:var(--radius);border:1px solid #fcd34d;background:#fffbeb}.pending-order-banner__eyebrow{margin:0 0 4px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#b45309}.pending-order-banner__title{margin:0;font-size:.9375rem;font-weight:700;color:#92400e}.pending-order-banner__meta{margin:4px 0 0;font-size:.8125rem;color:#a16207}.pending-order-banner__pay-link{display:inline-block;margin-top:8px;font-size:.8125rem;font-weight:600;color:#b45309}.pending-order-banner__action{border:none;background:#f59e0b;color:#fff;border-radius:var(--radius-sm);padding:10px 12px;font-size:.75rem;font-weight:700;cursor:pointer;white-space:nowrap}.new-order-notice{display:flex;flex-direction:column;gap:4px;padding:12px 14px;margin-bottom:16px;border-radius:var(--radius-sm);border:1px dashed var(--border);background:var(--surface);font-size:.875rem;color:var(--text-muted)}.new-order-notice strong{color:var(--text)}.orders-list{display:flex;flex-direction:column;gap:12px}.order-card{border:1px solid var(--border);border-radius:var(--radius-sm);padding:14px;background:var(--surface-muted)}.order-card--active{border-color:#fcd34d;background:#fffdf5}.order-card__header{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.order-card__title{margin:0;font-size:.9375rem;font-weight:700}.order-card__date{margin:4px 0 0;font-size:.75rem;color:var(--text-muted)}.order-card__total{font-size:1rem;font-weight:700;color:var(--primary)}.order-card__badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.order-badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:.6875rem;font-weight:700;background:#e5e7eb;color:#374151}.order-badge--new,.order-badge--confirmed,.order-badge--preparing,.order-badge--out_for_delivery{background:#dbeafe;color:#1d4ed8}.order-badge--delivered{background:#dcfce7;color:#166534}.order-badge--canceled{background:#f3f4f6;color:#6b7280}.order-badge--payment-pending{background:#fef3c7;color:#92400e}.order-badge--payment-paid{background:#dcfce7;color:#166534}.order-badge--muted{background:#f3f4f6;color:#6b7280}.order-card__items{margin:0;padding-left:18px;font-size:.8125rem;color:var(--text-muted)}.order-card__items>li+li{margin-top:6px}.order-card__item-line{display:block}.order-card__options{margin:4px 0 0;padding-left:14px;list-style:none;font-size:.75rem}.order-card__options li+li{margin-top:2px}.order-card__address{margin:10px 0 0;font-size:.8125rem;color:var(--text-muted)}.order-badge--status-awaiting{background:#fef3c7;color:#92400e}.order-badge--status-accepted{background:#e0e7ff;color:#3730a3}.order-badge--status-production{background:#dbeafe;color:#1d4ed8}.order-badge--status-ready{background:#dcfce7;color:#166534}.order-badge--status-delivered{background:#f3f4f6;color:#374151}.order-badge--status-canceled{background:#fee2e2;color:#991b1b}.order-card__pay-btn{display:inline-block;margin-top:12px;text-decoration:none;text-align:center}.checkout-card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);padding:16px;margin-bottom:16px}.checkout-card__title{margin:0 0 4px;font-size:1.125rem;font-weight:700}.checkout-card__desc{margin:0 0 16px;font-size:.875rem;color:var(--text-muted)}.category-nav{display:flex;gap:8px;overflow-x:auto;padding:4px 0 16px;margin:0 -4px;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-chip{flex-shrink:0;padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:.8125rem;font-weight:600;color:var(--text);cursor:pointer;transition:all .15s ease}.category-chip:hover{border-color:var(--primary);color:var(--primary)}.category-chip--active{background:var(--primary);border-color:var(--primary);color:#fff}.category-section{margin-bottom:24px;scroll-margin-top:calc(var(--header-h) + 56px)}.category-section__title{margin:0 0 12px;font-size:1rem;font-weight:700;color:var(--text)}.product-list{display:flex;flex-direction:column;gap:12px}.product-card{display:flex;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.product-card__media{width:88px;height:88px;flex-shrink:0;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-muted)}.product-card__media img{width:100%;height:100%;object-fit:cover}.product-card__media--default{filter:grayscale(100%);opacity:.9;object-fit:cover;background:#ececec}.product-card__body{flex:1;min-width:0;display:flex;flex-direction:column}.product-card__name{margin:0;font-size:.9375rem;font-weight:600;line-height:1.3}.product-card__desc{margin:4px 0 0;font-size:.8125rem;color:var(--text-muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-card__footer{margin-top:auto;padding-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.product-card__price{font-size:.9375rem;font-weight:700;color:var(--text)}.qty-control{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;overflow:hidden;background:var(--surface)}.qty-control__btn{width:36px;height:36px;border:none;background:transparent;font-size:1.125rem;font-weight:600;color:var(--primary);cursor:pointer;display:flex;align-items:center;justify-content:center}.qty-control__btn:disabled{opacity:.35;cursor:not-allowed}.qty-control__value{min-width:28px;text-align:center;font-size:.875rem;font-weight:700}.btn-add{padding:8px 16px;border:none;border-radius:999px;background:var(--primary);color:#fff;font-size:.8125rem;font-weight:700;cursor:pointer;transition:background .15s}.btn-add:hover{background:var(--primary-hover)}.btn-primary{width:100%;padding:14px 20px;border:none;border-radius:var(--radius-sm);background:var(--primary);color:#fff;font-size:1rem;font-weight:700;cursor:pointer;transition:background .15s}.btn-primary:hover:not(:disabled){background:var(--primary-hover)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{width:100%;padding:12px 20px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-size:.9375rem;font-weight:600;cursor:pointer;margin-top:8px}.btn-secondary:hover{background:var(--surface-muted)}.btn-text-danger{border:none;background:none;color:var(--danger);font-size:.875rem;font-weight:600;cursor:pointer;padding:0}.btn-text-danger:disabled{opacity:.5;cursor:not-allowed}.cart-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.qty-control--compact{flex-shrink:0}.qty-control--compact .qty-control__btn{width:28px;height:28px;font-size:1rem}.qty-control--compact .qty-control__value{min-width:20px;font-size:.875rem}.cart-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;padding:12px 16px;background:linear-gradient(to top,var(--surface) 85%,transparent)}.cart-bar__inner{max-width:720px;margin:0 auto}.cart-bar__btn{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:none;border-radius:var(--radius-sm);background:var(--primary);color:#fff;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:var(--shadow-lg)}.cart-bar__btn:disabled{opacity:.5;cursor:not-allowed}.cart-bar__badge{background:#ffffff40;padding:4px 10px;border-radius:999px;font-size:.8125rem}.cart-line{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.cart-line:last-child{border-bottom:none}.cart-line__info{flex:1;min-width:0}.cart-line__name{font-size:.9375rem;font-weight:600}.cart-line__unit{font-size:.75rem;color:var(--text-muted)}.cart-line__total{font-size:.9375rem;font-weight:700;min-width:72px;text-align:right}.payment-methods{margin-top:16px}.payment-methods__title{margin:0 0 10px;font-size:.875rem;font-weight:600;color:var(--text)}.payment-methods__single{margin:0;font-size:.875rem;color:var(--text-muted)}.payment-methods__options{display:flex;flex-direction:column;gap:8px}.fulfillment-methods{margin-top:16px}.fulfillment-methods__title{margin:0 0 8px;font-size:.875rem;font-weight:600;color:var(--text)}.fulfillment-methods__options{display:flex;flex-direction:column;gap:8px}.fulfillment-option{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}.fulfillment-option input{margin-top:2px;accent-color:var(--primary)}.fulfillment-option--active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.fulfillment-option__label{display:block;font-size:.875rem;font-weight:600}.fulfillment-option__hint{display:block;margin-top:2px;font-size:.75rem;font-weight:400;color:var(--text-muted)}.payment-option{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}.payment-option input{accent-color:var(--primary)}.payment-option--active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.payment-option__label{font-size:.875rem;font-weight:500}.order-summary{margin-top:16px;padding-top:16px;border-top:1px dashed var(--border)}.order-summary__row{display:flex;justify-content:space-between;font-size:.875rem;color:var(--text-muted);margin-bottom:8px}.order-summary__row--total{font-size:1.125rem;font-weight:700;color:var(--text);margin-top:8px;margin-bottom:0}.skeleton{background:linear-gradient(90deg,#eee 25%,#f5f5f5,#eee 75%);background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:var(--radius-sm)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-card{height:112px;margin-bottom:12px}.empty-state{text-align:center;padding:48px 24px;color:var(--text-muted)}.empty-state__icon{font-size:2.5rem;margin-bottom:12px}.form-field{margin-bottom:1rem}.form-label{display:block;font-size:.8125rem;font-weight:600;margin-bottom:6px;color:var(--text)}.form-input{width:100%;padding:12px 14px;font-size:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-family:inherit;transition:border-color .15s}.form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent)}.form-input--error{border-color:var(--danger)}.form-error{display:block;margin-top:4px;color:var(--danger);font-size:.8125rem}.form-row{display:flex;gap:12px;flex-wrap:wrap}.form-row>*{flex:1;min-width:120px}.cep-group{display:flex;gap:8px}.cep-group .form-input{flex:1}@media (min-width: 640px){.checkout-header__inner,.checkout-steps,.checkout-main,.cart-bar__inner{max-width:800px}}.cart-line__options{display:flex;flex-direction:column;gap:2px;margin-top:4px;font-size:.75rem;color:var(--text-muted)}.product-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#00000073;display:flex;align-items:flex-end;justify-content:center;padding:0}.product-modal{width:100%;max-width:720px;max-height:90vh;background:var(--surface);border-radius:16px 16px 0 0;display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}.product-modal__header{display:flex;justify-content:space-between;gap:12px;padding:16px 16px 8px;border-bottom:1px solid var(--border)}.product-modal__title{margin:0;font-size:1.125rem;font-weight:700}.product-modal__desc{margin:4px 0 0;font-size:.875rem;color:var(--text-muted)}.product-modal__close{border:none;background:transparent;font-size:1.5rem;line-height:1;color:var(--text-muted);cursor:pointer}.product-modal__body{overflow-y:auto;padding:12px 16px 8px}.product-modal__error{margin:0 16px 8px;color:var(--danger);font-size:.875rem}.product-modal__footer{display:flex;align-items:center;gap:12px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--surface)}.product-modal__qty{display:flex;flex-direction:column;gap:4px;flex-shrink:0}.product-modal__qty-label{font-size:.6875rem;color:var(--text-muted);font-weight:500}.product-modal__confirm{flex:1}.option-group+.option-group{margin-top:16px}.option-group__header{margin-bottom:8px}.option-group__title{margin:0;font-size:.9375rem;font-weight:600}.option-group__hint{display:block;margin-top:2px;font-size:.75rem;color:var(--text-muted)}.option-group__list{display:flex;flex-direction:column;gap:8px}.option-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-sm)}.option-item__info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.option-item--selected{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,white)}.option-item__name{font-size:.875rem;font-weight:500}.option-item__price{font-size:.8125rem;color:var(--text-muted)}@media (min-width: 640px){.product-modal-overlay{align-items:center;padding:16px}.product-modal{border-radius:var(--radius);max-height:85vh}}.checkout-last-address{margin:16px 0 20px;padding:14px;border:1px solid var(--checkout-border, #e5e7eb);border-radius:12px;background:var(--checkout-surface-alt, #f9fafb)}.checkout-last-address__label{margin:0 0 6px;font-size:.85rem;font-weight:600}.checkout-last-address__preview{margin:0 0 12px;font-size:.95rem;line-height:1.4}.checkout-last-address__or{margin:10px 0 0;font-size:.82rem;color:var(--checkout-muted, #6b7280);text-align:center}
