/* Tema-modelo (vermelho, carvão e dourado). ferramentas/tema.mjs recolore este arquivo com as cores de cada cliente. */
:root{--orange:#d91519;--orange-light:#fff5e6}
.customer .product-image img.photo-fallback{object-fit:contain;padding:12px;background:#241b17}.photo-preview img.photo-fallback{background:#241b17}
.brand-logo{width:54px;height:54px;object-fit:cover;border-radius:50%;border:2px solid #ffb744;box-shadow:0 3px 12px #160e0025;flex-shrink:0}
.customer{--bg:#fff7e9;--paper:#fff9f0;--ink:#271b17;--muted:#786356;--line:#ede1cd;--orange:#d91519;--orange-light:#fff1db;background:radial-gradient(ellipse at 95% 0,#ffbf5940,transparent 40%),#fff7e9;color:var(--ink)}
.customer .header{background:#201b18;color:#fff5e5;border-bottom:1px solid #ffaf2f45;max-width:none;padding-inline:max(36px,calc((100vw - 1148px)/2));}
.customer .brand>span>small{color:#ffc66c}.customer .header .text-button,.customer .header .button{background:#ffffff12;border-color:#ffffff24;color:#fff2dd}.customer .header .owner-link{color:#ffcd7e}
.welcome p{color:#80624c}.welcome h1>span{color:#d91519}.welcome-status{background:#e6f0dc;border-color:#d0e2ba;color:#36632b}
.customer .hero{background:#271d0d;box-shadow:0 15px 28px -15px #64430d70;border:1px solid #ffd38d60}.customer .hero-image>img{filter:saturate(1.2) brightness(1.06)}
.customer .hero-image:after{background:linear-gradient(90deg,#180808ed,#34240a65 55%,transparent),linear-gradient(0deg,#38070865,transparent 70%)}
.customer .hero h2{font-weight:850}.customer .hero h2 em{color:#ffb237}.hero-label{color:#ffdaa0;border-color:#ffc05b55;background:#34230865}.customer .hero .button{background:#e31d21;color:#ffffff;border-color:#ff585b;box-shadow:0 6px 20px #87080b55}.customer .hero .button>svg{background:#ffffff22;color:white}
.customer .service-bar{background:#fff9f0;border-color:#efdfc6}.customer .service-icon{background:#ffedd1;color:#bd7d16}.customer .segmented{background:#f2e6d4;border-color:#f8ecd9}.customer .segmented button.active{background:#d91519;color:white;box-shadow:0 3px 9px #ae151820}
.customer .search,.customer .filter-button{background:#fff9f0;border-color:#ead8bc}.customer .category-tabs button.active{background:#d91519;color:white;border-color:#d91519}.customer .section-heading .eyebrow{color:#a27122}.section-spark{background:#ffdaa0;color:#bc1215}
.customer .product-card{background:#fff9f0;border:1px solid #efe0c9;box-shadow:0 6px 18px #6d480e09}.customer .product-image img{filter:saturate(1.12)}.customer .product-badge{background:#ffb949;color:#4b320b;border-color:#ffd694;font-weight:750}.customer .add-circle{background:#d91519;color:#ffffff;border-color:#ff6568}.customer .product-bottom strong{color:#b91316}.customer .product-content p{color:#7c685a}
.customer .bottom-brand{background:#241b17;color:#fff2de;border-color:#544122}.customer .bottom-brand p{color:#ffc66c}.customer .bottom-brand .brand-logo{width:72px;height:72px}.customer .cart-aside{background:#fff9f0;border-color:#ede1cd}
.customer .mobile-nav{background:#271d19ed;border:1px solid #88652d;box-shadow:0 9px 28px #48310c33}.customer .mobile-nav:before{background:linear-gradient(120deg,#fff1,transparent)}.customer .mobile-nav button{color:#d1bdab}.customer .mobile-nav button.active{background:#e12125;color:white;box-shadow:inset 0 1px 0 #ff696c}.customer .mobile-nav b{background:#ffb94a;color:#342308}.customer .floating-checkout{background:linear-gradient(110deg,#ed262a,#bc1014);border-color:#ff7477;box-shadow:0 8px 25px #b2161938}
.customer dialog{background:#fff9f0}.customer .modal-action{background:#fff8eeed}.customer .button:not(.secondary):not(.whatsapp-button){background-color:#d91519}.customer .option-group{border-color:#ebdcc5}.customer input:checked{accent-color:#d91519}
.photo-editor{padding:17px;background:#faf5ed;border:1px solid #eadfce;border-radius:20px;margin:18px 0}.photo-preview{background:#eee5d7;border-radius:14px;overflow:hidden;margin:10px 0 14px}.photo-preview img{display:block;width:100%;height:210px;object-fit:contain}.photo-editor .actions{flex-wrap:wrap}.photo-editor .button{flex:1;white-space:nowrap}.photo-editor input[hidden]{display:none}.photo-editor p{line-height:1.6}.field small{font-size:11px;font-weight:400;color:#80736b;line-height:1.6}
.admin-body .sidebar .brand{font-size:18px}.admin-body .sidebar .brand-logo{width:44px;height:44px}.admin-body .button:not(.secondary){background:#d91519;color:#ffffff}.admin-body .sidebar nav button.active{color:#b91417;background:#ffe5e6}
body:has(.phone-slot){background:radial-gradient(ellipse at 80% 30%,#80561355,transparent 55%),#1c1714;color:#fff3df}.preview-logo{width:48px;height:48px;object-fit:cover;border-radius:50%;border:1px solid #ffb53e}.version{color:#dcb980}.intro .eyebrow{color:#ffb744}.intro h1 em{color:#ffb744}.intro>p,.feature{color:#c6ac94}.feature i{background:#3f2c20;border-color:#765b2f;color:#ffb744}.open{background:#d91519;color:#ffffff;border-color:#f7474b}.device-options{background:#30231c;border-color:#61442d}.device-options button{color:#d7c3a3}.device-options button.active{background:#ffc05c;color:#322107}.hint{color:#b79a82!important}.device-caption,body:has(.phone-slot)>footer{color:#b79a82}.status{background:#201b18;color:#fff3df}.home{background:linear-gradient(transparent,#201b1844)}.home:after{background:#ffcb78}.screen,iframe{background:#fff7e9}
@media(max-width:600px){.customer .header{height:81px;padding:0 20px}.customer .brand{font-size:18px;letter-spacing:-.6px}.customer .brand-logo{width:45px;height:45px}.customer .header nav>.text-button,.customer .header .button{background:#ffffff12;border-color:#ffffff24;color:#fff3df}.welcome h1{font-size:29px}.customer .hero-copy{padding:22px}.customer .hero h2{font-size:39px}.customer .hero{min-height:266px}.customer .service-bar small{color:#86705e}.customer .hero-image:after{background:linear-gradient(90deg,#1c1407d9,#3a280a50 65%,transparent),linear-gradient(0deg,#24180666,transparent 75%)}.customer .product-image{height:160px}.customer .product-badge{font-size:7px}.customer .product-content p{font-size:11px}.customer .bottom-brand .brand-logo{width:58px;height:58px}}
@media(prefers-reduced-transparency:reduce){.customer .mobile-nav{background:#271d19}.customer .modal-action{background:#fff8ee}}
/* Small feedback at the point of interaction; no interstitial effects. */
.customer .category-tabs{gap:7px;row-gap:9px}
.customer .category-tabs button{font-size:12px;font-weight:650;min-height:44px;padding:10px 14px;color:#63432f;background:#fff3e1;border:1px solid #e5d1b0;transition:background .18s,color .18s,transform .15s,box-shadow .18s}
.customer .category-tabs button.active{color:#ffffff;background:#cc171b;border-color:#cc171b;box-shadow:0 3px 9px #af151825}
.customer .category-tabs button:active{transform:scale(.96)}
.customer .category-tabs button:focus-visible{outline:3px solid #9c6b1c;outline-offset:3px}
.customer .option{border-radius:12px;padding-inline:10px;transition:background .18s,box-shadow .18s}
.customer .option:has(input:checked){background:#fff0d8;box-shadow:inset 3px 0 #d91519;color:#594017}
.customer .quantity button:active,.customer .cart-quantity button:active{transform:scale(.9)}
.customer .product-card.just-added{border-color:#4a8962;box-shadow:0 0 0 2px #4a896218}
.customer .product-card.just-added .product-badge{background:#e6f4e9;color:#24623b;border-color:#bbdec5;font-size:10px}
.customer .product-card.just-added .add-circle{background:#307047;color:white;border-color:#78b38b}
.customer .cart-feedback{animation:cart-nudge .35s ease-out}
.customer .cart-feedback b,.customer .cart-feedback .basket-quantity{background:#ffc871;color:#481011}
@keyframes cart-nudge{0%,100%{transform:scale(1)}45%{transform:scale(1.035)}}
@media(hover:hover){.customer .category-tabs button:not(.active):hover{background:#ffe5bc;border-color:#cea35e}.customer .product-card:hover .product-image img{transform:scale(1.045)}.customer .option:hover{background:#fff5e6}}
@media(prefers-reduced-motion:reduce){.customer .cart-feedback{animation:none}.customer .category-tabs button,.customer .option{transition:none}}
.admin-body .kanban{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:18px;overflow-x:auto;padding:4px 2px 18px;align-items:stretch}
.admin-body .kanban-column{--stage-color:#c5282b;padding:14px;background:#f7f4ef;border:1px solid #d5cec4;border-top:4px solid var(--stage-color);border-radius:18px;min-height:290px}
.admin-body .kanban-column[data-stage=confirmed]{--stage-color:#a97014}.admin-body .kanban-column[data-stage=ready]{--stage-color:#328052}.admin-body .kanban-column[data-stage=out]{--stage-color:#426bac}
.admin-body .kanban-column>h3{font-size:13px;color:#33271d;padding:3px 2px 15px;margin-bottom:14px;border-bottom:1px solid #d9d1c6;gap:7px}.admin-body .kanban-column>h3 .stage-dot{background:var(--stage-color)}.admin-body .kanban-column>h3>span:last-child{background:#ffffff;color:#40352a;border:1px solid #d6cbbb;border-radius:7px;min-width:24px;text-align:center;padding:3px 5px}
.admin-body .order-card{display:block;width:100%;text-align:left;background:#ffffff;border:1.5px solid #cbbba8;border-left:4px solid var(--stage-color);border-radius:13px;padding:16px;margin-bottom:15px;box-shadow:0 3px 8px #4d3c200b;transition:border-color .15s,box-shadow .15s}
.admin-body .order-card>div:last-child{border-top:1px solid #e3dace;margin-top:14px;padding-top:12px;gap:8px}.admin-body .order-card h4{font-size:15px;color:#31261d;margin:12px 0 8px}.admin-body .order-card p{font-size:12px;line-height:1.7;color:#625344}.admin-body .order-card strong{font-size:13px}.admin-body .order-card small{font-size:10px}.admin-body .order-card .tiny{font-size:10px}.admin-body .order-card:focus-visible{outline:3px solid var(--stage-color);outline-offset:3px}.admin-body .kanban-empty{color:#746759;border:1px dashed #cfc3b3;border-radius:12px;padding:25px 12px;font-size:12px}
@media(hover:hover){.admin-body .order-card:hover{border-color:var(--stage-color);box-shadow:0 5px 14px #4d3c2017}}
@media(max-width:600px){.admin-body .kanban{grid-template-columns:repeat(3,minmax(250px,80vw));gap:12px;scroll-snap-type:x proximity}.admin-body .kanban-column{scroll-snap-align:start}}
.catalog-included{display:block;color:#a97014;font-size:12px;font-weight:650;margin:6px 0 10px;line-height:1.45}
.product-image img{object-position:center}

.customer .detail-photo{background:#241f1b}.customer .detail-photo img{object-fit:contain;object-position:center}


.customer .product-image.beverage-photo{background:#242424}.customer .product-image.beverage-photo img{object-fit:contain;filter:none}
.customer .hot-section{margin:26px 0 38px}
.customer .hot-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}
.customer .hot-heading h2{font-size:clamp(21px,3vw,28px);margin:5px 0 0}
.customer .hot-heading-icon{color:#dd161a;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffe6bd}
.customer .hot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.customer .hot-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;padding:3px;border:0;border-radius:22px;text-align:left;background:#e89817;color:#2d211a;cursor:pointer;box-shadow:0 3px 14px #e79c242a;transition:transform .2s}
.customer .hot-card:before,.customer .hot-card:after{content:'';position:absolute;z-index:-1;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 15% 100%,#ffdca3 0,transparent 35%),radial-gradient(ellipse at 80% 0%,#ffaf30 0,transparent 42%),repeating-conic-gradient(from 20deg,#c90c10 0deg,#ffa516 40deg,#ffc569 65deg,#e80b10 110deg);background-size:160% 160%;animation:garagem-border-fire 2.4s ease-in-out infinite alternate}
.customer .hot-card:after{inset:-3px;filter:blur(7px);opacity:.5;z-index:-2;animation-delay:-1.2s}
.customer .hot-card:nth-child(2):before{animation-delay:-.8s}.customer .hot-card:nth-child(3):before{animation-delay:-1.6s}
.customer .hot-card:hover{transform:translateY(-3px)}.customer .hot-card:active{transform:scale(.98)}
.customer .hot-photo{position:relative;display:block;aspect-ratio:1.65;background:#27211c;overflow:hidden;border-radius:19px 19px 0 0;width:100%}
.customer .hot-photo img{width:100%;height:100%;object-fit:cover;display:block}
.customer .hot-label{position:absolute;left:10px;top:10px;background:#291d0be6;color:#ffdca3;padding:5px 9px;border-radius:20px;font-size:11px;font-weight:700}
.customer .hot-copy{display:flex;flex:1;flex-direction:column;justify-content:space-between;gap:13px;width:100%;background:#fff8ed;padding:15px;border-radius:0 0 19px 19px}
.customer .hot-copy>strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.customer .hot-price{display:flex;align-items:center;justify-content:space-between;gap:3px;color:#c4161a;font-size:16px;font-weight:800}
.customer .hot-plus{display:grid;place-items:center;background:#c91a1e;color:white;width:29px;height:29px;border-radius:50%;font-size:21px}
@keyframes garagem-border-fire{0%{background-position:0% 100%;filter:saturate(1)}50%{background-position:70% 30%;filter:saturate(1.35)}100%{background-position:100% 0%;filter:saturate(1.05)}}
@media(max-width:600px){.customer .hot-grid{gap:9px}.customer .hot-section{margin:22px 0 30px}.customer .hot-card{border-radius:16px;padding:2px}.customer .hot-photo{aspect-ratio:1;border-radius:14px 14px 0 0}.customer .hot-copy{padding:9px 7px;border-radius:0 0 14px 14px;gap:10px}.customer .hot-copy>strong{font-size:12px}.customer .hot-price{font-size:12px}.customer .hot-plus{width:22px;height:22px;font-size:17px}.customer .hot-label{font-size:9px;padding:4px 5px;top:6px;left:5px}.customer .hot-heading .eyebrow{font-size:9px}}
.customer .hot-card:before,.customer .hot-card:after{animation-name:garagem-border-fire!important;animation-duration:2.4s!important;animation-iteration-count:infinite!important;animation-direction:alternate!important;animation-timing-function:ease-in-out!important}
/* Optional dark concept, enabled only by ?theme=dark. */
.customer.dark-preview{color-scheme:dark;--bg:#171311;--paper:#29211d;--ink:#fff5e5;--muted:#bca99a;--line:#4a3830;--orange:#f3363a;--orange-light:#421d1e;background:radial-gradient(ellipse at 95% 0,#80591c30,transparent 44%),#171311;color:var(--ink)}
.customer.dark-preview .welcome p,.customer.dark-preview .service-bar small,.customer.dark-preview .product-content p{color:#c3ad9c}
.customer.dark-preview .welcome h1>span{color:#ff464a}
.customer.dark-preview .service-bar,.customer.dark-preview .search,.customer.dark-preview .filter-button,.customer.dark-preview .cart-aside,.customer.dark-preview .product-card{background:#28211d;border-color:#4a3830;box-shadow:0 8px 26px #0002}
.customer.dark-preview .service-icon,.customer.dark-preview .section-spark,.customer.dark-preview .hot-heading-icon{background:#41331d;color:#ffc66b}
.customer.dark-preview .segmented{background:#191411;border-color:#4a3830}.customer.dark-preview .segmented button{color:#d6c4b5}.customer.dark-preview .segmented button.active{color:white;background:#d92024}
.customer.dark-preview .category-tabs button{background:#2e241e;color:#e5d1b1;border-color:#5a4030}.customer.dark-preview .category-tabs button.active{background:#d92024;color:white;border-color:#f33b3f}
.customer.dark-preview .eyebrow,.customer.dark-preview .section-heading .eyebrow{color:#ffc972}
.customer.dark-preview .hot-copy{background:#2b211a;color:#fff5e6}.customer.dark-preview .hot-price,.customer.dark-preview .product-bottom strong{color:#ffc86f}
.customer.dark-preview .hot-card{color:#fff5e5}.customer.dark-preview .product-card h3{color:#fff5e5}.customer.dark-preview .catalog-included{color:#d7b989}
.customer.dark-preview dialog{background:#28211d;color:#fff5e5;border-color:#503a2c}.customer.dark-preview .modal-action{background:#211a17;border-color:#503a2c}
.customer.dark-preview input,.customer.dark-preview select,.customer.dark-preview textarea{background:#1c1714;color:#fff4e2;border-color:#594234}.customer.dark-preview input::placeholder,.customer.dark-preview textarea::placeholder{color:#a99382}
.customer.dark-preview .search input{background:transparent}.customer.dark-preview .option-group{border-color:#594234}.customer.dark-preview .option:has(input:checked){background:#493021;color:#ffdfad}
.customer.dark-preview .quantity,.customer.dark-preview .cart-quantity button,.customer.dark-preview .button.secondary,.customer.dark-preview .close{background:#3a2c24;color:#ffeac9;border-color:#674b36}
.customer.dark-preview .cart-mode,.customer.dark-preview .cart-tip,.customer.dark-preview .info-note,.customer.dark-preview .checkout-summary,.customer.dark-preview .diet-panel{background:#35271f;color:#e7d3b4;border-color:#594234}
.customer.dark-preview .bottom-brand{background:#211914;border-color:#543a29}.customer.dark-preview footer{color:#bfa88f}
.customer.dark-preview .welcome-status{background:#253021;color:#b7dea1;border-color:#40573a}.customer.dark-preview .welcome-status.closed{background:#40241f;color:#ffdea8;border-color:#6c3e31}
.customer .menu-photo-notice{margin:-14px 0 26px;color:var(--muted);font-size:12px;line-height:1.5;text-align:center}
/* Approved dark theme: remaining customer sheets and controls. */
:root:has(body.customer.dark-preview){background:#171311;color-scheme:dark}
.customer.dark-preview .option-group,.customer.dark-preview .order-link{background:#2c231e;color:#fff5e5;border-color:#503b2e}
.customer.dark-preview .option-group legend small,.customer.dark-preview .cart-title>span{background:#403024;color:#efcc93}
.customer.dark-preview .field input,.customer.dark-preview .field select,.customer.dark-preview .field textarea{background:#1c1714;color:#fff4e2;border-color:#594234}
.customer.dark-preview .status-banner,.customer.dark-preview .whatsapp-notice{background:#34281c;color:#efd1a0;border-color:#634e2c}
.customer.dark-preview .empty-cart>span,.customer.dark-preview .success-icon{background:#3a291e;color:#ffc66b;border-color:#604a27}
.customer.dark-preview .timeline li>span{background:#4c3d33}.customer.dark-preview .timeline li.done>span{background:#e63539}
.customer.dark-preview .mobile-nav button:active{background:#473024}
body:has(.phone-slot) .screen,body:has(.phone-slot) iframe{background:#171311;color-scheme:dark}

/* Street and compact house number remain side by side on phones. */
.customer .delivery-address-row{display:grid;grid-template-columns:minmax(0,1fr) 88px;gap:12px;align-items:start}.customer .delivery-address-row .field{min-width:0}.customer .delivery-address-row input{width:100%;min-width:0}
