:root{--accent: #9333ea;--stone-50: #fafaf9;--stone-100: #f5f5f4;--stone-200: #e7e5e4;--stone-300: #d6d3d1;--stone-400: #a8a29e;--stone-500: #78716c;--stone-600: #57534e;--stone-700: #44403c;--stone-800: #292524;--stone-900: #1c1917;--green-600: #16a34a;--red-600: #dc2626}*{box-sizing:border-box}body{margin:0;background:var(--stone-50);color:var(--stone-900)}body:has(.app.theme-vitrine){background:#0f0f10}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit;font-size:1rem}.app{--accent-dark: color-mix(in srgb, var(--accent) 80%, black);--accent-tint: color-mix(in srgb, var(--accent) 10%, white);--purple-50: var(--accent-tint);--purple-600: var(--accent);--purple-700: var(--accent-dark);max-width:640px;margin:0 auto;min-height:100vh;background:var(--page-bg);color:var(--text-primary);display:flex;flex-direction:column;font-family:var(--font-body)}.app.theme-vitrine{--page-bg: #0f0f10;--surface-bg: #1b1b1c;--surface-border: #2c2c2d;--text-primary: #f2ede7;--text-secondary: #c9c5bf;--text-muted: #8f8b86;--font-display: "Bricolage Grotesque", system-ui, sans-serif;--font-body: "IBM Plex Sans", system-ui, sans-serif;--card-radius: 18px;--chip-radius: 999px}.app.theme-grade{--page-bg: #ffffff;--surface-bg: #f5f5f5;--surface-border: #ececec;--text-primary: #12141a;--text-secondary: #4a4f58;--text-muted: #8a8f98;--font-display: "Space Grotesk", system-ui, sans-serif;--font-body: "Work Sans", system-ui, sans-serif;--card-radius: 14px;--chip-radius: 8px}.app h1,.app h2,.app h3{font-family:var(--font-display)}.floating-cart-bar{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center}.floating-cart-bar-inner{max-width:640px;width:100%;padding:16px}@media (min-width: 860px){.app.theme-vitrine{max-width:1100px}.theme-vitrine .header,.theme-vitrine .search-bar,.theme-vitrine .category-nav,.theme-vitrine .content{padding-left:40px;padding-right:40px}.theme-vitrine .content{padding-top:8px;padding-bottom:100px}.theme-vitrine .product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}.theme-vitrine .product-photo,.theme-vitrine .product-photo-placeholder{height:210px}.theme-vitrine .floating-cart-bar-inner{max-width:1100px;padding-left:40px;padding-right:40px}.theme-vitrine .overlay{align-items:center}.theme-vitrine .sheet{max-width:560px;max-height:82vh;border-radius:20px}.theme-vitrine .product-card{transition:transform .15s ease,border-color .15s ease}.theme-vitrine .product-card:hover:not(:disabled){transform:translateY(-3px);border-color:var(--accent)}.theme-vitrine .category-chip{cursor:pointer;transition:border-color .15s ease}.theme-vitrine .category-chip:not(.active):hover{border-color:var(--text-muted)}}@media (min-width: 1400px){.app.theme-vitrine,.theme-vitrine .floating-cart-bar-inner{max-width:1400px}}.header{position:sticky;top:0;z-index:10;background:var(--page-bg);border-bottom:1px solid var(--surface-border);padding:16px 20px;display:flex;align-items:center;justify-content:space-between}.header h1{font-size:1.15rem;font-weight:700;margin:0;color:var(--text-primary)}.header-logo{height:32px;max-width:160px;object-fit:contain}.header-actions{display:flex;align-items:center;gap:12px}.account-bar{display:flex;align-items:center;gap:6px;font-size:.85rem;color:var(--text-secondary)}button.account-bar{background:none;border:none;color:var(--purple-700);font-weight:600;cursor:pointer;padding:0}.account-bar button{background:none;border:none;color:var(--purple-700);font-weight:600;cursor:pointer;padding:0;font-size:inherit}.closed-banner{background:var(--accent);color:#fff;text-align:center;padding:8px 16px;font-size:.85rem}.cart-button{position:relative;background:var(--purple-600);color:#fff;border:none;border-radius:999px;padding:10px 16px;font-weight:600;font-size:.9rem;display:flex;align-items:center;gap:6px}.cart-badge{background:#fff;color:var(--purple-700);border-radius:999px;min-width:20px;height:20px;font-size:.75rem;display:flex;align-items:center;justify-content:center;padding:0 5px}.content{flex:1;padding:16px 20px 100px}.state-message{text-align:center;padding:60px 20px;color:var(--text-muted)}.product-grid{display:flex;flex-direction:column;gap:14px}.theme-grade .product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{position:relative;display:flex;flex-direction:column;text-align:left;background:var(--surface-bg);border:1px solid var(--surface-border);border-radius:var(--card-radius);overflow:hidden;width:100%;padding:0}.product-card:disabled{opacity:.5;cursor:not-allowed}.product-photo,.product-photo-placeholder{width:100%;height:168px;object-fit:cover;background:var(--surface-border);flex-shrink:0}.theme-grade .product-photo,.theme-grade .product-photo-placeholder{height:100px}.product-recommended-tag{position:absolute;top:10px;left:10px;background:var(--accent);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;padding:3px 9px;border-radius:999px}.search-bar{position:sticky;top:57px;z-index:9;background:var(--page-bg);padding:12px 20px;border-bottom:1px solid var(--surface-border)}.search-bar input{width:100%;border:1px solid var(--surface-border);border-radius:10px;padding:10px 14px;font-size:.95rem;background:var(--surface-bg);color:var(--text-primary)}.search-bar input::placeholder{color:var(--text-muted)}.search-bar input:focus{outline:none;border-color:var(--accent)}.category-nav{position:sticky;top:113px;z-index:9;background:var(--page-bg);display:flex;gap:8px;padding:10px 20px;overflow-x:auto;border-bottom:1px solid var(--surface-border);scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-chip{flex-shrink:0;background:var(--surface-bg);color:var(--text-secondary);border:1px solid var(--surface-border);border-radius:var(--chip-radius);padding:8px 16px;font-size:.85rem;font-weight:600;white-space:nowrap}.category-chip.active{background:var(--accent);color:#fff;border-color:var(--accent)}.category-section{scroll-margin-top:165px}.category-heading{font-family:var(--font-display);font-weight:700;font-size:1.05rem;margin:24px 0 4px;color:var(--text-primary)}section:first-child .category-heading{margin-top:4px}.product-info{flex:1;min-width:0;padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}.product-info h3{margin:0;font-family:var(--font-display);font-weight:700;font-size:.98rem;color:var(--text-primary)}.product-description{margin:0;font-size:.8rem;color:var(--text-muted);line-height:1.4}.product-price{font-family:var(--font-display);font-weight:700;color:var(--accent);font-size:.95rem;margin-top:2px}.product-tags{display:flex;flex-wrap:wrap;gap:4px;margin:2px 0 0}.product-tag{font-size:.66rem;font-weight:600;letter-spacing:.02em;color:var(--text-muted);background:var(--surface-bg);border:1px solid var(--surface-border);border-radius:999px;padding:2px 8px}.product-unavailable-tag{font-size:.75rem;font-weight:400;color:var(--text-muted);margin-left:8px}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c191766;display:flex;align-items:flex-end;justify-content:center;z-index:100}.sheet{background:var(--page-bg);color:var(--text-primary);width:100%;max-width:640px;max-height:88vh;overflow-y:auto;border-radius:20px 20px 0 0;padding:20px}.sheet-header h2{color:var(--text-primary)}.sheet-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.sheet-header h2{margin:0;font-size:1.1rem}.close-button{background:none;border:none;font-size:1.4rem;color:var(--text-muted);line-height:1;padding:4px}.option-group{margin:18px 0}.option-group-title{font-weight:600;font-size:.9rem;display:flex;justify-content:space-between;margin-bottom:8px;color:var(--text-primary)}.option-group-hint{font-weight:400;color:var(--text-muted);font-size:.8rem}.option-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--surface-border)}.option-row label{display:flex;align-items:center;gap:10px;flex:1;font-size:.92rem;color:var(--text-primary)}.option-row .price{color:var(--text-muted);font-size:.85rem}.qty-stepper{display:flex;align-items:center;gap:12px;margin:16px 0}.qty-stepper button{width:32px;height:32px;border-radius:999px;border:1px solid var(--surface-border);background:var(--surface-bg);color:var(--text-primary);font-size:1.1rem}textarea.notes{width:100%;border:1px solid var(--surface-border);border-radius:10px;padding:10px;resize:none;margin-top:8px;background:var(--surface-bg);color:var(--text-primary)}.primary-button{width:100%;background:var(--accent);color:#fff;border:none;border-radius:12px;padding:14px;font-weight:600;font-size:1rem;margin-top:12px}.primary-button:disabled{opacity:.5;cursor:not-allowed}.secondary-button{width:100%;background:var(--surface-bg);color:var(--text-primary);border:1px solid var(--surface-border);border-radius:12px;padding:12px;font-weight:600;font-size:.95rem}.cart-line{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--surface-border)}.cart-line-details p{margin:0;font-size:.92rem;color:var(--text-primary)}.cart-line-details .options{color:var(--text-muted);font-size:.8rem;margin-top:2px}.cart-line-price{font-weight:600;white-space:nowrap;color:var(--text-primary)}.remove-line{background:none;border:none;color:var(--red-600);font-size:.8rem;padding:0;margin-top:4px}.cart-total{display:flex;justify-content:space-between;font-weight:700;font-size:1.05rem;padding:16px 0;margin-top:8px;border-top:2px solid var(--surface-border);color:var(--text-primary)}.field{margin-bottom:14px}.field label{display:block;font-size:.85rem;font-weight:600;color:var(--text-secondary);margin-bottom:6px}.field input,.field select{width:100%;border:1px solid var(--surface-border);border-radius:10px;padding:11px 12px;font-size:.95rem;background:var(--surface-bg);color:var(--text-primary)}.field-row{display:flex;gap:10px}.field-row .field{flex:1}.choice-group{display:flex;gap:10px;margin-bottom:16px}.choice-card{flex:1;border:2px solid var(--surface-border);border-radius:12px;padding:12px;text-align:center;background:var(--surface-bg);font-weight:600;font-size:.9rem;color:var(--text-secondary)}.choice-card.selected{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-dark)}.saved-address-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.saved-address-card{display:flex;align-items:center;justify-content:space-between;gap:8px;border:2px solid var(--surface-border);border-radius:12px;padding:10px 14px;background:var(--surface-bg)}.saved-address-card.selected{border-color:var(--accent);background:var(--accent-tint)}.saved-address-card>button:first-child{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:none;border:none;text-align:left;padding:0;font-size:.85rem;color:var(--text-secondary)}.saved-address-card.new{justify-content:center;font-weight:600;color:var(--accent-dark);cursor:pointer}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-secondary);margin-bottom:16px}.checkbox-row input{width:auto}.error-banner{background:#fef2f2;color:var(--red-600);border-radius:10px;padding:12px;font-size:.88rem;margin-bottom:14px}.section-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin:20px 0 10px}.confirmation{text-align:center;padding:40px 20px;color:var(--text-primary)}.confirmation .icon{font-size:3rem}.confirmation h2{margin:12px 0 6px}.confirmation p{color:var(--text-muted);margin:4px 0}.pix-box{background:var(--surface-bg);border:1px solid var(--surface-border);border-radius:14px;padding:20px;margin:20px 0}.pix-box img{width:200px;height:200px;margin:0 auto 14px;display:block}.pix-copy{word-break:break-all;background:var(--page-bg);border:1px solid var(--surface-border);border-radius:10px;padding:10px;font-size:.75rem;font-family:monospace;color:var(--text-secondary);margin-bottom:10px}.status-pill{display:inline-block;padding:6px 14px;border-radius:999px;font-size:.85rem;font-weight:600;background:var(--surface-border);color:var(--text-secondary)}.status-pill.ok{background:#dcfce7;color:var(--green-600)}.status-pill.pending{background:#fef9c3;color:#a16207}.order-history-list{display:flex;flex-direction:column;gap:10px;overflow-y:auto}.order-history-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--surface-border);border-radius:12px;padding:12px 14px;background:var(--surface-bg);text-align:left;width:100%}.order-history-item-top{display:flex;justify-content:space-between;width:100%;font-size:.9rem}.order-history-item .status-pill{padding:3px 10px;font-size:.75rem}
