#d360i{max-width:1200px;margin:24px auto;color:#193b50;font:15px system-ui,sans-serif;padding:16px}#d360i *{box-sizing:border-box}#d360i header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}#d360i h1{font-size:32px;margin:4px 0}#d360i h1 span{color:#07866c}#d360i header small{font-size:11px;letter-spacing:2px;color:#668394}#d360i nav,#d360i .actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}#d360i button{border:0;background:#087d69;color:white;padding:11px 16px;border-radius:10px;font:600 14px system-ui;cursor:pointer}#d360i button:disabled{opacity:.45;cursor:default}#d360i button.active{background:#183b55}#d360i .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}#d360i article{padding:20px;border:1px solid #dce7ed;border-radius:16px;background:white;box-shadow:0 6px 20px #17384908}#d360i h2{font-size:21px;margin:8px 0}#d360i p{color:#637c8f;line-height:1.5}#d360i .product img{height:180px;width:100%;object-fit:cover;border-radius:12px}#d360i .product>button{display:block;width:100%;margin-top:14px}#d360i .badge{background:#e9f5ef;color:#12795d;padding:7px 12px;border-radius:20px;font-size:12px;white-space:nowrap}#d360i .card-heading{display:flex;justify-content:space-between;gap:8px;align-items:center}#d360i .order.received,#d360i .order.accepted{border-left:5px solid #d64f55}#d360i .order.preparing{border-left:5px solid #368cce}#d360i .order.ready{border-left:5px solid #079d6e}#d360i details{margin-top:12px}#d360i summary{cursor:pointer;font-weight:600;padding:10px 0}#d360i .line{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e4edf2;padding:12px 0}#d360i .line small{width:100%}#d360i .note{background:#fff5d9;padding:9px;border-radius:8px}#d360i .notice{padding:15px;background:#eaf3fb;border-radius:12px}#d360i label,#d360i input,#d360i select,#d360i textarea{display:block;width:100%}#d360i label{margin:12px 0;font-size:13px;font-weight:600}#d360i input,#d360i select,#d360i textarea{padding:11px;border:1px solid #cbdce5;border-radius:8px;margin-top:5px;font:15px system-ui;background:white;color:#193b50}#d360i .choice{display:flex;gap:10px;align-items:center}#d360i .choice input{width:auto}#d360i dialog{border:0;border-radius:18px;width:560px;max-width:95vw;max-height:90vh;overflow:auto;padding:24px;color:#193b50}#d360i dialog::backdrop{background:#12344799}#d360i .message,#d360i .form-error{color:#bd3747;line-height:1.5}#d360i .metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}#d360i .metrics>div{padding:18px;background:#edf6f2;border-radius:12px}#d360i .metrics strong{display:block;font-size:22px;margin-top:6px}#d360i .honeypot{display:none}.d360i-login{max-width:400px;margin:30px auto;padding:24px;font-family:system-ui}.d360i-login label,.d360i-login input{display:block;width:100%;margin:12px 0}.d360i-login input{padding:12px}.d360i-login button{padding:12px 20px;background:#087d69;color:white;border:0;border-radius:8px}@media(max-width:600px){#d360i{padding:10px}#d360i .grid{grid-template-columns:1fr}#d360i .metrics{grid-template-columns:1fr 1fr}#d360i header{align-items:flex-start}#d360i h1{font-size:26px}#d360i nav button{flex:1}#d360i dialog{padding:18px}}

/* Cartões de cardápio com imagem e altura uniformes. */
#d360i .product{display:flex;flex-direction:column;padding:16px;align-self:start;min-width:0;min-height:360px}#d360i .product-photo{height:150px;flex:0 0 150px;background:#f5f8fa;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;overflow:hidden}#d360i .product .product-photo img{height:100%;width:100%;object-fit:contain;border-radius:0;display:block}#d360i .product-photo span{font-size:42px;opacity:.5}#d360i .product>small{font-size:11px;color:#6a8496;line-height:1.4}#d360i .product h2{font-size:18px;line-height:1.3;margin:7px 0;min-height:47px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#d360i .product-description{font-size:13px;line-height:1.4;margin:0 0 10px;min-height:55px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}#d360i .product>strong{font-size:19px;margin-top:auto}#d360i .product>button{margin-top:12px}#d360i .grid:has(.product){grid-template-columns:repeat(auto-fill,minmax(230px,1fr));align-items:start}#d360i header{padding:22px;background:#163e51;color:#fff;border-radius:16px}#d360i header h1{font-weight:750;line-height:1.2}#d360i header small{color:#9bdbd0}@media(max-width:600px){#d360i .grid:has(.product){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#d360i .product{padding:10px;min-height:325px}#d360i .product-photo{height:110px;flex-basis:110px}#d360i .product h2{font-size:15px;min-height:40px}#d360i .product-description{font-size:12px;min-height:51px}#d360i .product>strong{font-size:16px}#d360i .product>button{padding:10px 6px;font-size:12px}}

#d360i>.message:empty{display:none}#d360i>.message{position:sticky;top:12px;z-index:30;background:#fff1f1;border:1px solid #edc4c9;padding:13px 16px;border-radius:12px;font-weight:600;box-shadow:0 4px 15px #183b5010}#d360i>.message[data-kind=success]{color:#086c52;background:#e6f7ee;border-color:#b8dfc9}#d360i .checkout-button{background:#153d55;box-shadow:0 3px 8px #163e5120}

#d360i .payment-status{display:inline-flex;align-items:center;align-self:center;border-radius:20px;padding:9px 13px;font-size:12px;font-weight:700;background:#fff2d9;color:#8e6310}#d360i .payment-status.paid{background:#e4f6ed;color:#087750}#d360i .order-status-button[data-status=received]{background:#426879}#d360i .order-status-button[data-status=accepted],#d360i .order-status-button[data-status=preparing]{background:#247cae}#d360i .order-status-button[data-status=ready],#d360i .order-status-button[data-status=delivered]{background:#0b886a}#d360i .order-status-button[data-status=out]{background:#7957b3}#d360i .order-status-button[data-status=canceled]{background:#b94453}#d360i [data-tracking-hint]{align-self:center;color:#986318;font-size:11px}

#d360i .order-timeline{padding:16px;border:1px solid #dce7ed;border-radius:14px;background:#fff;margin:0 0 20px}#d360i .timeline-heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}#d360i .timeline-heading small{font-size:11px;color:#6e8594}#d360i .order-timeline ol{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}#d360i .order-timeline li{display:flex;align-items:center;gap:7px;border-radius:9px;padding:10px 8px;background:#f0f4f7;color:#8092a0;min-width:0}#d360i .order-timeline li span{flex-shrink:0;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#dce5eb;font-size:11px}#d360i .order-timeline li strong{font-size:11px;line-height:1.4}#d360i .order-timeline li.done{background:#e8f6ee;color:#127253}#d360i .order-timeline li.current{background:#137c68;color:#fff;box-shadow:0 3px 9px #137c6822}#d360i .order-timeline li.current span{background:#fff;color:#137c68}@media(max-width:1000px){#d360i .order-timeline ol{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){#d360i .order-timeline ol{grid-template-columns:repeat(2,minmax(0,1fr))}#d360i .timeline-heading{flex-direction:column;gap:5px}}

/* Busca e sacola acompanham a rolagem do cardápio. */
#d360i main{overflow:visible}
#d360i .shop-toolbar{position:sticky;top:0;z-index:25;display:flex;gap:12px;align-items:center;background:#fff;padding:12px 0;margin:0 0 16px;border-bottom:1px solid #e4edf2;box-shadow:0 6px 12px #17384908}
body.admin-bar #d360i .shop-toolbar{top:32px}
#d360i .quick-search{position:relative;flex:1;min-width:0;margin:0}
#d360i .quick-search>svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;stroke:#668394;fill:none;stroke-width:2;pointer-events:none}
#d360i .quick-search input{margin:0;padding:14px 14px 14px 44px;border-radius:12px;width:100%;min-height:52px}
#d360i .shopping-bag{position:relative;flex:0 0 56px;width:56px;height:52px;padding:12px;display:flex;align-items:center;justify-content:center;border-radius:12px}
#d360i .shopping-bag svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#d360i .bag-count{position:absolute;right:3px;top:3px;background:#fff;color:#087d69;font-size:10px;line-height:18px;min-width:18px;padding:0 3px;border-radius:10px}
#d360i .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#d360i [data-order-timeline]{scroll-margin-top:100px}
#d360i .timeline-heading>strong{overflow-wrap:anywhere}
#d360i .search-empty{grid-column:1/-1;padding:18px;background:#f5f8fa;border-radius:12px}
@media(max-width:782px){body.admin-bar #d360i .shop-toolbar{top:46px}}
@media(max-width:600px){body.admin-bar #d360i .shop-toolbar{top:0}#d360i .shop-toolbar{gap:8px}#d360i .quick-search input{font-size:16px}}

/* Sacola em linha completa, sempre disponível no rodapé da tela. */
#d360i main{padding-bottom:96px}
#d360i .shop-search{margin:0 0 20px}
#d360i .bag-bar{position:fixed;left:0;right:0;bottom:0;z-index:1000;background:#fff;border-top:1px solid #dce7ed;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #17384918}
#d360i .bag-bar .shopping-bag{width:100%;max-width:1168px;margin:0 auto;min-height:56px;height:auto;display:flex;gap:14px;flex:none;padding:14px 18px;justify-content:flex-start;border-radius:12px}
#d360i .bag-label{font-size:15px;font-weight:700;text-align:left}
#d360i .bag-total{margin-left:auto;font-size:17px;white-space:nowrap}
#d360i .bag-bar svg{flex:0 0 27px}
#d360i [data-order-timeline]{scroll-margin-top:24px}
@media(max-width:600px){#d360i .bag-bar{padding-left:10px;padding-right:10px}#d360i .bag-bar .shopping-bag{gap:10px;padding:14px 12px}#d360i .bag-label{font-size:14px}#d360i .bag-total{font-size:16px}#d360i .shop-search input{font-size:16px}}

#d360i .current-status{display:block;width:100%;padding:16px;border-radius:12px;font-size:17px;font-weight:750;color:#fff}
#d360i .current-status.received{background:#476778}
#d360i .current-status.accepted{background:#246faa}
#d360i .current-status.preparing{background:#96600a}
#d360i .current-status.ready{background:#14834e}
#d360i .current-status.out{background:#7850a9}
#d360i .current-status.delivered{background:#087d69}
#d360i .current-status.canceled{background:#b63e4d}

#d360i #checkout-total{display:flex;flex-direction:column;gap:8px;padding:16px;background:#edf6f2;border-radius:12px;color:#193b50}
#d360i #checkout-total span{display:flex;justify-content:space-between;gap:12px}
#d360i #checkout-total>strong{border-top:1px solid #cbdce5;padding-top:10px;font-size:20px;color:#087d69}

#d360i .cash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
#d360i .cash-movements{display:grid;gap:12px;margin-top:14px}
#d360i .cash-movements>article>small{display:block;margin-top:6px;color:#637c8f}
#d360i .cash-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
#d360i .cash-breakdown span{font-size:12px;color:#637c8f}
#d360i .cash-breakdown strong{display:block;margin-top:4px;font-size:17px;color:#193b50}
@media(max-width:600px){#d360i .cash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#d360i .cash-breakdown{gap:6px}#d360i .cash-breakdown strong{font-size:15px}}

#d360i .cash-drawer{padding:16px;background:#edf6f2;border:1px solid #dce7ed;border-radius:14px;margin:0 0 18px}
#d360i .cash-drawer>summary{padding:4px 0;color:#193b50}
#d360i .cash-closed-total strong{margin-left:10px;font-size:22px}
#d360i .cash-open-title{display:none}
#d360i .cash-drawer[open] .cash-closed-total{display:none}
#d360i .cash-drawer[open] .cash-open-title{display:inline}
#d360i .cash-single-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}
#d360i .cash-single-row>div{min-width:0;background:#fff;border-radius:10px;padding:12px}
#d360i .cash-single-row small{display:block;font-size:12px;color:#637c8f}
#d360i .cash-single-row strong{display:block;font-size:20px;margin-top:6px;overflow-wrap:anywhere}
@media(max-width:600px){#d360i .cash-drawer{padding:10px}#d360i .cash-single-row{gap:4px}#d360i .cash-single-row>div{padding:8px 4px}#d360i .cash-single-row small{font-size:10px}#d360i .cash-single-row strong{font-size:12px}}

#d360i .visibility-settings{border:1px solid #dce7ed;border-radius:12px;padding:14px 18px;margin:20px 0;background:#f5f8fa}
#d360i .visibility-settings legend{font-weight:700;padding:0 6px}
#d360i .visibility-settings small{color:#637c8f;line-height:1.5}

#d360i .pdv-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
#d360i .pdv-heading small{color:#637c8f}
#d360i .pdv-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);gap:20px;align-items:start}
#d360i .pdv-catalog,#d360i .pdv-sale{background:#f5f8fa;border:1px solid #dce7ed;border-radius:16px;padding:18px;min-width:0}
#d360i .pdv-catalog input{font-size:18px;min-height:54px}
#d360i .pdv-results{display:grid;gap:8px;margin-top:18px;max-height:65vh;overflow:auto}
#d360i .pdv-results>button{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;color:#193b50;border:1px solid #dce7ed;text-align:left;padding:15px}
#d360i .pdv-results small{display:block;font-size:11px;color:#637c8f;margin-top:5px}
#d360i .pdv-results strong{white-space:nowrap;color:#087d69}
#d360i .pdv-lines{display:grid;gap:10px;margin-top:12px}
#d360i .pdv-lines article{padding:14px;box-shadow:none}
#d360i .pdv-lines article>small{display:block;margin-top:6px;color:#637c8f}
#d360i .pdv-line-controls{display:flex;align-items:center;gap:12px;justify-content:space-between}
#d360i .pdv-line-controls label{max-width:90px}
#d360i .pdv-line-controls button{background:#fff0f1;color:#a33644;padding:10px}
#d360i .pdv-grand-total{display:flex;justify-content:space-between;align-items:center;border-radius:12px;background:#163e51;color:white;padding:20px;margin-top:18px}
#d360i .pdv-grand-total strong{font-size:30px}
#d360i .pdv-sale .actions button{flex:1;min-height:48px}
#d360i .pdv-last-receipt{padding:14px;border:1px solid #b8dfc9;background:#e6f7ee;border-radius:12px}
@media(max-width:850px){#d360i .pdv-layout{grid-template-columns:1fr}#d360i .pdv-results{max-height:300px}}

#d360i .settings-progress{display:block;width:100%;height:12px;margin:14px 0 0;accent-color:#16a085}#d360i .settings-progress[hidden]{display:none}#d360i .settings-error:empty{display:none}#d360i .settings-error{color:#b42318}

/* Cards mobile acompanham o conteúdo, sem reservar espaço para descrição. */
@media(max-width:600px){#d360i .product{min-height:0}#d360i .product h2{min-height:0}#d360i .product-description{min-height:0;margin-bottom:8px}#d360i .product>strong{margin-top:6px}#d360i .product>button{line-height:1.35;min-height:44px}}

#d360i .product-photo-preview{margin:12px 0}#d360i .product-photo-preview img{display:block;width:100%;max-height:200px;object-fit:contain;border-radius:12px;background:#f5f8fa}#d360i .product-photo-preview img[hidden]{display:none}#d360i .product-photo-preview small{display:block;margin-top:8px;color:#637c8f}#d360i .admin-product-photo{display:block;width:100%;height:140px;object-fit:contain;border-radius:12px;background:#f5f8fa}

#d360i .header-identity{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(0,1.2fr);align-items:center;flex:1;min-width:0}#d360i .platform-brand{padding-right:20px}#d360i .platform-name{font-size:28px;font-weight:750;line-height:1.2;margin-top:5px}#d360i .platform-name span{color:#64d1b7}#d360i .store-brand{border-left:1px solid #ffffff40;padding-left:20px;display:flex;align-items:center;gap:14px;min-width:0}#d360i .store-brand img{width:76px;height:76px;object-fit:contain;background:white;border-radius:12px;padding:6px;flex-shrink:0}#d360i .store-brand h1{font-size:23px;overflow-wrap:anywhere}#d360i .header-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}#d360i .header-controls a{color:white}#d360i [data-logo-preview]{max-height:140px}
@media(max-width:600px){#d360i header{flex-wrap:wrap;padding:16px;gap:14px}#d360i .header-identity{flex-basis:100%;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}#d360i .platform-brand{padding-right:12px}#d360i .platform-name{font-size:23px}#d360i .platform-brand small{font-size:9px;letter-spacing:1px}#d360i .store-brand{padding-left:12px;gap:8px;flex-direction:column;align-items:flex-start}#d360i .store-brand img{width:64px;height:64px}#d360i .store-brand h1{font-size:17px;margin:0}#d360i .header-controls{width:100%}}

#d360i .header-identity.customer-identity{display:flex}#d360i .customer-identity .store-brand{border-left:0;padding-left:0;flex-direction:row;align-items:center}
@media(max-width:600px){#d360i .header-identity.customer-identity{flex-basis:auto}#d360i .customer-identity .store-brand{gap:12px}}
.billing-box{margin:16px 0;padding:16px;border:1px solid #bdd5ed;border-radius:14px;background:#f2f7fc}.billing-box summary{cursor:pointer;font-weight:700}.billing-box button{margin:5px}
.inline-payment-dialog{width:min(96vw,620px);max-height:90vh;padding:0;border:0;border-radius:18px;overflow:auto}.inline-payment{padding:22px;background:#fff}.inline-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.inline-heading h2{margin:0}.inline-pix{text-align:center;padding:16px}.inline-pix img{width:240px;max-width:100%;height:auto}.inline-pix textarea{width:100%;min-height:85px;word-break:break-all}.inline-pix small{display:block;margin-top:12px}.inline-status{padding:12px;border-radius:10px;background:#eef6fc}.inline-status.paid{background:#def6e9;color:#12633e}.inline-status.error{background:#fff0f0;color:#a32121}.inline-payment-dialog::backdrop{background:rgba(0,0,0,.55)}

.payment-choice-prompt{color:#d71920;font-weight:700;margin:18px 0 8px}

[data-payment-progress]{margin:16px 0;padding:14px;border-radius:12px;background:#eef8f5;color:#12633e;font-weight:600}.payment-progress-track{height:9px;margin-top:10px;overflow:hidden;border-radius:8px;background:#cce6df}.payment-progress-track i{display:block;width:35%;height:100%;border-radius:8px;background:#078574;animation:d360-payment-progress 1.4s ease-in-out infinite}[data-payment-progress].complete i{width:100%;animation:none}@keyframes d360-payment-progress{0%{transform:translateX(-100%)}100%{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.payment-progress-track i{animation:none;width:65%}}

/* Delivery360 1.4 — hierarquia visual e adaptação por tela. */
#d360i{--ink:#172b3a;--muted:#607482;--line:#dde5ec;--primary:#087f68;--blue:#2563a6;max-width:1440px;color:var(--ink);padding:24px;margin:0 auto;line-height:1.45;background:#f6f8fb;border-radius:24px;min-height:90vh}
#d360i h2,#d360i h3{color:var(--ink);letter-spacing:-.025em}#d360i p{color:var(--muted)}#d360i small{line-height:1.5}#d360i button{min-height:44px;border:1px solid var(--line);background:#fff;color:#344b5c;border-radius:10px;transition:background .15s,box-shadow .15s;padding:11px 16px;line-height:1.35}#d360i button:hover:not(:disabled){background:#edf2f7;box-shadow:0 2px 6px #172b3a12}#d360i button:focus-visible,#d360i input:focus-visible,#d360i select:focus-visible,#d360i textarea:focus-visible,#d360i summary:focus-visible{outline:3px solid #5b9cdf;outline-offset:3px}#d360i button:disabled{opacity:.5}
#d360i button[type=submit],#d360i [data-action=add],#d360i [data-action=online_pay],#d360i [data-action=pay],#d360i [data-action=pdv_pay],#d360i [data-action=billing_pay],#d360i .shopping-bag{background:var(--primary);border-color:var(--primary);color:white}#d360i button[type=submit]:hover:not(:disabled),#d360i [data-action=add]:hover,#d360i [data-action=online_pay]:hover,#d360i [data-action=pay]:hover,#d360i [data-action=pdv_pay]:hover,#d360i .shopping-bag:hover{background:#066552;color:#fff}
#d360i [data-action=status],#d360i [data-action=incoming_orders]{background:var(--blue);border-color:var(--blue);color:#fff}#d360i [data-action=status]:hover,#d360i [data-action=incoming_orders]:hover{background:#1d5089}#d360i [data-action=order_cancel],#d360i [data-action=remove],#d360i [data-action=pdv_remove],#d360i [data-action=pdv_clear]{background:#fff3f3;color:#b53643;border-color:#f1ced3}#d360i [data-action=archive]{background:#fff8e9;color:#8f6219;border-color:#eedbb6}
#d360i header{background:linear-gradient(120deg,#142f43,#234f61);border-radius:18px;padding:24px;box-shadow:0 6px 24px #172b3a12}#d360i .header-controls button{background:#ffffff12;border-color:#ffffff30;color:#fff}#d360i .header-controls a{font-size:13px;text-decoration:none;padding:10px}#d360i .header-controls .badge{background:#dff5e9;color:#12633e}#d360i nav{background:white;padding:7px;border:1px solid var(--line);border-radius:14px;gap:5px;margin:20px 0}#d360i nav button{border-color:transparent;background:transparent;color:#586d7c;padding:12px 20px}#d360i nav button.active{background:#e9f0f9;color:#1e5189;border-color:#dce7f5}#d360i nav button[data-view=pdv]{margin-left:auto}#d360i .grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));align-items:start;gap:18px}#d360i article{padding:20px;box-shadow:0 3px 10px #172b3a05;border-color:var(--line)}#d360i .order{overflow:hidden}#d360i .order .card-heading strong{font-size:17px;overflow-wrap:anywhere}#d360i .order>small{display:block;color:var(--muted);font-size:12px}#d360i .order-overview{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 10px;flex-wrap:wrap}#d360i .order-overview>strong{font-size:25px;color:var(--ink);letter-spacing:-.03em}#d360i .order .payment-status{padding:6px 10px;font-size:11px}#d360i .order details{border-top:1px solid #edf1f5;margin-top:16px}#d360i .order summary{color:#516b7c;font-size:13px}#d360i .order .actions{padding-top:14px;border-top:1px solid #edf1f5;margin-bottom:0}#d360i .order .actions [data-action=status]{flex-basis:100%;order:-1}#d360i .order.ready .badge{background:#def5e7;color:#177449}#d360i .order.received .badge{background:#fff0db;color:#946019}#d360i .order.preparing .badge{background:#e4effb;color:#205e99}#d360i .order.out{border-left:5px solid #8061b4}#d360i .order.out .badge{background:#f0eafa;color:#6c4e9a}
#d360i .incoming-orders{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eaf2fd;border:1px solid #cbdcf3;border-left:4px solid #2563a6;border-radius:12px;padding:16px 20px;margin-bottom:18px}#d360i .incoming-orders small{display:block;color:#516b7c;margin-top:4px;overflow-wrap:anywhere}#d360i [hidden]{display:none!important}#d360i .billing-box{background:white;border-color:var(--line);font-size:13px}#d360i #settings{max-width:820px;background:white;border:1px solid var(--line);padding:24px;border-radius:16px}#d360i input,#d360i select,#d360i textarea{min-height:46px;border-color:#ccd7e0;border-radius:10px}#d360i label{color:#405769;margin:16px 0}#d360i dialog{border:1px solid #e4eaf0;box-shadow:0 24px 80px #142f4330;padding:26px}#d360i dialog h2{margin-top:0}#d360i .inline-payment-dialog{padding:0;width:min(96vw,620px)}#d360i .inline-payment{padding:26px}#d360i .inline-heading{padding-bottom:14px;border-bottom:1px solid #edf1f5}#d360i [data-inline-options]{padding:6px;background:#f0f4f8;border-radius:12px}#d360i [data-inline-options] button{flex:1}#d360i [data-clear-customer]{font-size:12px;min-height:36px;padding:8px 12px;margin:10px 0}#d360i .payment-choice-prompt{color:#c52635}#d360i .pdv-sale{background:white}#d360i .pdv-catalog{background:#eef2f7}#d360i .pdv-results>button{text-align:left;background:white}#d360i.d360-panel main{padding-bottom:20px}#d360i .product{min-height:0}#d360i .product-description:empty{display:none}#d360i .product-description{min-height:0}#d360i .product h2{min-height:0}#d360i .product-photo{background:#f7f9fb}#d360i .product>strong{margin-top:8px}#d360i .product>button{margin-top:16px}#d360i .current-status{color:#fff}#d360i .shop-toolbar{background:#f6f8fb}#d360i .bag-bar .shopping-bag{max-width:1392px}
@media(min-width:1100px){#d360i .pdv-sale{position:sticky;top:24px}#d360i .grid:has(.product){grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}}
@media(max-width:850px){#d360i{padding:16px}#d360i nav button{padding:11px 14px}#d360i nav button[data-view=pdv]{margin-left:0}#d360i .header-controls{gap:6px}#d360i .pdv-layout{grid-template-columns:1fr}}
@media(max-width:600px){#d360i{padding:12px;border-radius:0;margin:0;font-size:14px}#d360i header{padding:18px;border-radius:14px}#d360i .platform-name{font-size:21px}#d360i .header-controls{justify-content:space-between}#d360i nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:6px}#d360i nav button{padding:10px 4px;font-size:12px;min-width:0}#d360i .grid{grid-template-columns:1fr;gap:12px}#d360i .grid:has(.product){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#d360i article{padding:16px}#d360i .product{padding:10px}#d360i .product>button{font-size:12px;padding:10px 4px}#d360i .order .actions button{flex:1}#d360i .incoming-orders{padding:12px;gap:10px;align-items:flex-start;flex-direction:column}#d360i .incoming-orders button{width:100%}#d360i #settings{padding:16px}#d360i dialog{padding:20px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}#d360i .inline-payment-dialog{padding:0}#d360i .inline-payment{padding:20px}#d360i input,#d360i select,#d360i textarea{font-size:16px}#d360i .cash-single-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#d360i .cash-single-row>div:first-child{grid-column:1/-1}#d360i .cash-single-row small{font-size:12px}#d360i .cash-single-row strong{font-size:20px}#d360i .pdv-grand-total{padding:16px}#d360i .timeline-heading{gap:6px}#d360i .inline-heading h2{font-size:19px}#d360i .bag-bar .shopping-bag{border-radius:10px}}

#d360i details[data-detail-key=finished]{background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px 18px;margin-top:24px}#d360i details[data-detail-key=finished]>summary{color:#516b7c;font-size:14px;padding:12px 0}#d360i .finished-orders{padding:12px 0}

#d360i .header-controls{max-width:440px;justify-content:flex-end}#d360i .header-controls .billing-box{flex-basis:100%;width:100%;margin:4px 0 0;padding:0;border:0;background:transparent;color:white;text-align:right}#d360i .header-controls .billing-box details{margin:0}#d360i .header-controls .billing-box summary{font-size:12px;color:#d4e5ef;padding:6px 0}#d360i .header-controls .billing-box p{color:#d4e5ef;text-align:left}#d360i .header-controls .billing-box details[open]{background:#ffffff12;border-radius:10px;padding:10px}#d360i .cash-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 20px}#d360i .cash-tabs button{min-height:54px;font-size:15px}#d360i .cash-tabs button.active{background:#e9f0f9;color:#1e5189;border-color:#b8cfea}#d360i .cash-tab-content{padding:24px;border:1px solid var(--line);background:#fff;border-radius:16px}#d360i .cash-total-card{display:flex;flex-direction:column;gap:10px;padding:18px;color:#087f68}#d360i .cash-total-card small{color:#607482;font-size:14px}#d360i .cash-total-card strong{font-size:42px;letter-spacing:-.04em}#d360i .cash-total-card span{font-size:13px;color:#607482}#d360i .cash-tab-content .cash-single-row>div{background:#f4f7fa}@media(max-width:600px){#d360i .header-controls{max-width:none}#d360i .header-controls .billing-box{text-align:left}#d360i .cash-tabs{gap:6px}#d360i .cash-tabs button{font-size:12px;padding:10px 4px;min-height:48px}#d360i .cash-tab-content{padding:16px}#d360i .cash-total-card{padding:10px}#d360i .cash-total-card strong{font-size:34px}}

/* Contraste reforçado nos controles. */
#d360i button{background:#e5edf5;color:#203c53;border-color:#a8bed0;box-shadow:0 1px 2px #172b3a12;font-weight:700}#d360i button:hover:not(:disabled){background:#d5e3ef;border-color:#7f9db5;color:#142f43}
#d360i nav button{background:#e5edf5;border-color:#b6c8d8;color:#29465e}#d360i nav button.active,#d360i .cash-tabs button.active{background:#194f84;border-color:#194f84;color:#fff;box-shadow:0 3px 8px #194f8425}#d360i nav button.active:hover,#d360i .cash-tabs button.active:hover{background:#123d68;color:#fff}
#d360i button[type=submit],#d360i [data-action=add],#d360i [data-action=online_pay],#d360i [data-action=pay],#d360i [data-action=pdv_pay],#d360i [data-action=billing_pay],#d360i .shopping-bag{background:#076b56;border-color:#076b56;color:#fff}
#d360i [data-action=status],#d360i [data-action=incoming_orders]{background:#205993;border-color:#205993;color:#fff}#d360i [data-action=order_cancel],#d360i [data-action=remove],#d360i [data-action=pdv_remove],#d360i [data-action=pdv_clear]{background:#ffe3e7;color:#982535;border-color:#d98694}#d360i [data-action=archive]{background:#ffedc4;color:#76500b;border-color:#d6ac54}
#d360i .header-controls button{background:#355e76;border-color:#88a4b6;color:#fff}#d360i .header-controls button:hover:not(:disabled){background:#446f89;color:#fff}#d360i .header-controls .billing-box [data-action=billing_pay]{background:#076b56;border-color:#6fbaa6;color:#fff}#d360i [data-inline-options] button{background:#dce8f4;border-color:#93b0cd;color:#204c77}#d360i .pdv-results>button{background:#fff;color:#203c53;border-color:#a8bed0}#d360i button:disabled{opacity:.5;box-shadow:none}

#d360i .pdv-workspace{background:#fff;border:2px solid #b1c4d6;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px #17384910}#d360i .pdv-workspace .pdv-layout{gap:0;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)}#d360i .pdv-workspace .pdv-catalog{border:0;border-radius:0;background:#e5edf5;padding:24px}#d360i .pdv-workspace .pdv-sale{border:0;border-left:1px solid #b1c4d6;border-radius:0;background:#fff;padding:24px;position:static}#d360i .pdv-workspace label{color:#203c53}#d360i .pdv-workspace [data-pdv-search]{border:2px solid #8caac3;background:#fff;box-shadow:0 2px 6px #17384908}#d360i #pdv-search-form>button{background:#205993;border-color:#205993;color:white;min-height:48px}#d360i .pdv-results:empty{display:none}#d360i .pdv-workspace .pdv-results>button{border:1px solid #8caac3;border-left:4px solid #205993;box-shadow:0 2px 5px #17384908}#d360i .pdv-workspace .pdv-lines article{background:#f0f5fa;border:1px solid #b1c4d6;border-left:4px solid #087f68}#d360i .pdv-workspace .pdv-sale h3{font-size:22px;margin:0 0 18px}#d360i .pdv-workspace .pdv-grand-total{background:#153e59;border:1px solid #153e59;min-height:90px}#d360i .pdv-workspace .pdv-grand-total strong{font-size:36px}#d360i .pdv-workspace [data-action=pdv_pay]{background:#076b56;color:#fff;border-color:#076b56}#d360i .pdv-workspace [data-action=pdv_clear]{background:#ffe3e7;color:#982535;border-color:#d98694}@media(max-width:850px){#d360i .pdv-workspace .pdv-layout{grid-template-columns:1fr}#d360i .pdv-workspace .pdv-sale{border-left:0;border-top:1px solid #b1c4d6}}@media(max-width:600px){#d360i .pdv-workspace{border-radius:14px}#d360i .pdv-workspace .pdv-catalog,#d360i .pdv-workspace .pdv-sale{padding:16px}#d360i .pdv-workspace .pdv-grand-total strong{font-size:30px}}

/* Busca, pagamento e total acima da lista do PDV. */
#d360i .pdv-workspace .pdv-layout{display:flex;flex-direction:column}#d360i .pdv-workspace .pdv-catalog,#d360i .pdv-workspace .pdv-sale{width:100%;padding:18px 22px}#d360i .pdv-workspace .pdv-sale{border-left:0;border-top:1px solid #b1c4d6}#d360i #pdv-search-form{display:flex;align-items:flex-end;gap:12px}#d360i #pdv-search-form label{flex:1;margin:0}#d360i #pdv-search-form>button{height:54px;white-space:nowrap}#d360i .pdv-workspace .pdv-results{max-height:220px}#d360i .pdv-payment-top{display:grid;grid-template-columns:minmax(160px,1fr) minmax(150px,.8fr) minmax(240px,1.2fr);gap:16px;align-items:center;margin-bottom:20px}#d360i .pdv-workspace .pdv-payment-top .pdv-grand-total{margin:0;min-height:80px;padding:14px 18px}#d360i .pdv-payment-top .pdv-method{margin:0}#d360i .pdv-payment-top .actions{margin:0;display:grid;grid-template-columns:1fr;gap:8px}#d360i .pdv-workspace .pdv-lines{max-height:48vh;overflow:auto;overscroll-behavior:contain;padding-right:4px;margin-top:0}#d360i .pdv-workspace .pdv-lines article{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.65fr);align-items:center;gap:4px 16px;padding:10px 14px}#d360i .pdv-lines article>strong{grid-column:1;grid-row:1}#d360i .pdv-workspace .pdv-lines article>small{grid-column:1;grid-row:2;margin:0}#d360i .pdv-lines .pdv-line-controls{grid-column:2;grid-row:1/3}#d360i .pdv-lines .pdv-line-controls label{margin:0;font-size:11px;max-width:70px}#d360i .pdv-lines .pdv-line-controls input{min-height:38px;padding:6px;margin-top:2px}#d360i .pdv-workspace .pdv-sale h3{font-size:17px;margin-bottom:12px}@media(max-width:850px){#d360i .pdv-payment-top{grid-template-columns:1fr 1fr}#d360i .pdv-payment-top .actions{grid-column:1/-1;grid-template-columns:1fr 1fr}}@media(max-width:600px){#d360i .pdv-workspace .pdv-catalog,#d360i .pdv-workspace .pdv-sale{padding:14px}#d360i #pdv-search-form{gap:6px}#d360i #pdv-search-form>button{font-size:11px;padding:8px;white-space:normal;max-width:90px}#d360i .pdv-payment-top{gap:10px}#d360i .pdv-workspace .pdv-payment-top .pdv-grand-total{flex-direction:column;align-items:flex-start;gap:4px;padding:10px;min-height:74px}#d360i .pdv-workspace .pdv-payment-top .pdv-grand-total strong{font-size:26px}#d360i .pdv-workspace .pdv-lines article{grid-template-columns:minmax(0,1fr);gap:6px;padding:12px}#d360i .pdv-lines .pdv-line-controls{grid-column:1;grid-row:3}#d360i .pdv-workspace .pdv-lines{max-height:42vh}}

/* Experiência do cliente no celular. */
#d360i .shop-categories,#d360i .shop-section-heading,#d360i .shop-welcome{display:none}
@media(max-width:600px){
 body:has(#d360i.d360-store){background:#f6f8f7}
 body:has(#d360i.d360-store) .entry-title,body:has(#d360i.d360-store) .wp-block-post-title{display:none}
 #d360i.d360-store{padding:16px;margin:0 auto;background:#f6f8f7;color:#183a31;max-width:100%;border:0;box-shadow:none}
 #d360i.d360-store main{padding-bottom:110px}
 #d360i.d360-store header{background:#fff;color:#183a31;border:1px solid #e3ebe6;border-radius:22px;padding:20px 16px;gap:12px;align-items:center;box-shadow:0 4px 18px #183a3106;margin-bottom:20px}
 #d360i.d360-store .customer-identity{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;flex:1}
 #d360i.d360-store .store-brand{border:0;padding:0;max-width:100%;min-width:0}
 #d360i.d360-store .store-brand img{max-width:180px;max-height:64px;object-fit:contain}
 #d360i.d360-store h1{color:#183a31;font-size:24px;letter-spacing:-.7px;overflow-wrap:anywhere;margin:0}
 #d360i.d360-store .shop-welcome{display:block;color:#6b8076;letter-spacing:0;font-size:12px}
 #d360i.d360-store header>.badge{background:#e7f5ec;color:#216644;padding:8px 10px;font-size:11px}
 #d360i.d360-store .shop-search{margin:0 0 14px}
 #d360i.d360-store .quick-search input{background:#fff;border:1px solid #dce6df;border-radius:16px;min-height:54px;box-shadow:0 2px 8px #183a3104;color:#183a31}
 #d360i.d360-store .shop-categories{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:0 0 8px;margin:0 0 16px;scrollbar-width:none}
 #d360i.d360-store .shop-categories button{flex-shrink:0;border:1px solid #dde7df;background:#fff;color:#536b5e;border-radius:24px;padding:12px 18px;min-height:44px;box-shadow:none}
 #d360i.d360-store .shop-categories button.active{background:#176c4b;color:white;border-color:#176c4b}
 #d360i.d360-store .shop-section-heading{display:flex;flex-direction:column;gap:3px;margin:0 0 16px}
 #d360i.d360-store .shop-section-heading h2{font-size:22px;letter-spacing:-.5px;margin:0;color:#183a31}
 #d360i.d360-store .shop-section-heading small{font-size:12px;color:#6b8076}
 #d360i.d360-store .grid[data-products]{grid-template-columns:1fr;gap:12px}
 #d360i.d360-store .product{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:5px 14px;align-items:start;padding:16px;min-height:0;border:1px solid #e3ebe6;border-radius:20px;box-shadow:0 3px 12px #183a3104}
 #d360i.d360-store .product-photo{grid-column:2;grid-row:1/5;width:100px;height:100px;min-height:0;margin:0;border-radius:16px;background:#f4f7f4}
 #d360i.d360-store .product>small{grid-column:1;grid-row:1;color:#658573;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;min-width:0;overflow-wrap:anywhere}
 #d360i.d360-store .product h2{grid-column:1;grid-row:2;min-height:0;margin:0;font-size:16px;line-height:1.35;color:#213e32;overflow-wrap:anywhere}
 #d360i.d360-store .product-description{grid-column:1;grid-row:3;margin:0;font-size:12px;line-height:1.45;color:#748479;-webkit-line-clamp:2;min-height:0}
 #d360i.d360-store .product>strong{grid-column:1;grid-row:4;margin:4px 0 0;font-size:18px;color:#176c4b;align-self:end}
 #d360i.d360-store .product>button{grid-column:1/-1;grid-row:5;background:#edf5ef;color:#176c4b;border:1px solid #d7e9dd;border-radius:12px;min-height:44px;margin:8px 0 0;font-size:13px;padding:11px}
 #d360i.d360-store .product>button:hover:not(:disabled){background:#dceee2;color:#145b3f}
 #d360i.d360-store .bag-bar{background:#ffffffed;border-color:#e3ebe6;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 22px #183a310c;backdrop-filter:blur(12px)}
 #d360i.d360-store .bag-bar .shopping-bag{background:#176c4b;color:#fff;border:0;border-radius:16px;min-height:58px;padding:14px 16px;box-shadow:0 5px 14px #176c4b22}
 #d360i.d360-store .bag-total{font-size:17px}
 #d360i.d360-store .bag-label{font-size:13px}
 #d360i.d360-store dialog{border-radius:24px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:88dvh;padding:22px;background:#fff}
 #d360i.d360-store dialog h2{font-size:22px;color:#183a31;letter-spacing:-.5px}
 #d360i.d360-store dialog input,#d360i.d360-store dialog select,#d360i.d360-store dialog textarea{border-color:#dce6df;border-radius:12px;min-height:48px;font-size:16px}
 #d360i.d360-store dialog button{min-height:44px}
 #d360i.d360-store dialog button[type=submit]{background:#176c4b;color:#fff;border-radius:14px;min-height:50px}
 #d360i.d360-store button:focus-visible,#d360i.d360-store input:focus-visible{outline:3px solid #70b997;outline-offset:3px}
 #d360i.d360-store .order-timeline{border-color:#dce6df;border-radius:20px}
 #d360i.d360-store .notice{background:#fff3dd;color:#815d25;border-radius:16px}
}

#d360i .cash-active-orders{margin-top:24px}#d360i .cash-orders-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}#d360i .cash-orders-heading h2{margin:0;font-size:21px}

/* Quatro pedidos por linha no desktop, inclusive no Caixa. */
@media(min-width:1100px){
 #d360i.d360-panel .grid:has(>.order){grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
 #d360i.d360-panel .grid>.order{min-width:0;padding:16px}
 #d360i.d360-panel .grid>.order .card-heading{flex-wrap:wrap}
 #d360i.d360-panel .grid>.order .card-heading strong{min-width:0;overflow-wrap:anywhere}
 #d360i.d360-panel .grid>.order .actions button{max-width:100%;white-space:normal}
}

#d360i .order .actions{display:grid;grid-template-columns:1fr;gap:8px}#d360i .order .actions button{width:100%;min-height:44px;margin:0}#d360i .order-save-progress{display:block;width:100%;height:7px;margin:14px 0 0;accent-color:#087f68}#d360i details[data-detail-key=cash-finished]{padding:12px 18px;border:1px solid var(--line);border-radius:14px;background:white;margin-top:20px}

/* Resumos integrados aos botoes do painel. */
#d360i nav button[data-view],#d360i .cash-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:66px;white-space:normal}
#d360i .panel-button-label{font-weight:700}
#d360i .panel-button-summary{display:block;font-size:11px;font-weight:500;line-height:1.35;letter-spacing:0;color:inherit;opacity:.9;text-align:center;overflow-wrap:anywhere}
@media(min-width:601px){#d360i nav button[data-view]{flex:1;min-width:110px;margin-left:0}}
@media(max-width:600px){#d360i nav button[data-view]{min-height:64px}#d360i .panel-button-summary{font-size:10px}#d360i .cash-tabs button{min-height:68px}}

/* Uma unica linha de atalhos, incluindo os filtros do caixa. */
#d360i.d360-panel nav{display:flex;flex-wrap:nowrap;gap:6px;overflow-x:auto;align-items:stretch}
#d360i.d360-panel nav button[data-view],#d360i.d360-panel nav button[data-action=cash_tab]{flex:1 0 0;min-width:0;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:10px 6px;min-height:66px;font-size:12px}
#d360i .cash-tab-content[hidden]{display:none}
@media(max-width:900px){#d360i.d360-panel nav button[data-view],#d360i.d360-panel nav button[data-action=cash_tab]{flex:0 0 108px}}

/* Compact customer tracking and deliberate mobile keyboard activation. */
#d360i.d360-store [data-order-timeline]:empty,#d360i.d360-store [data-tracking-hint]:empty{display:none}
#d360i.d360-store .current-order{padding:16px;border:1px solid #dce8e2;border-left:4px solid #178163;border-radius:16px;margin:0 0 16px;box-shadow:0 4px 18px #123f2910}
#d360i.d360-store .current-order .timeline-heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:12px}
#d360i.d360-store .timeline-heading>strong{font-size:16px;line-height:1.4}
#d360i.d360-store .tracking-customer{display:block;font-size:13px;font-weight:400;color:#62776c}
#d360i.d360-store .tracking-payment{font-size:11px;padding:6px 9px;border-radius:20px;background:#fff4db;color:#846018;text-align:center;flex-shrink:0}
#d360i.d360-store .tracking-payment.paid{background:#e5f5ec;color:#16764f}
#d360i.d360-store .current-order .current-status{width:100%;min-height:46px;border-radius:10px;font-size:15px;padding:12px 16px;background:#eaf3ef;color:#195d49;border:1px solid #d5e8de}
#d360i.d360-store .current-order .current-status.preparing,#d360i.d360-store .current-order .current-status.accepted{background:#e8f3fb;color:#236a98}
#d360i.d360-store .current-order .current-status.out{background:#f1edfa;color:#69489c}
#d360i.d360-store dialog input[name=qty]{font-size:20px;font-weight:700;min-height:48px}
#d360i.d360-store dialog h2{font-size:22px;line-height:1.3}

#d360i.d360-store .product .card-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px;font-size:13px;font-weight:600;grid-column:1/-1}
#d360i.d360-store .product .card-quantity input{width:82px;min-height:44px;margin:0;text-align:center;font-size:18px;font-weight:700;border:1px solid #cddfd5;border-radius:10px;padding:8px}
#d360i.d360-store .card-added{grid-column:1/-1;padding:10px 0 0;font-size:13px;color:#157452;font-weight:600}
#d360i.d360-store .card-added[hidden]{display:none}
#d360i .bag-progress{height:4px;border-radius:8px;overflow:hidden;background:#dfede5;margin-top:8px}
#d360i .bag-progress i{display:block;height:100%;background:#16855e;transform-origin:left;animation:d360-bag-added 2s linear forwards}
@keyframes d360-bag-added{from{transform:scaleX(0)}to{transform:scaleX(1)}}

#d360i input[data-card-qty],#d360i input[name=qty]{-webkit-touch-callout:none}

#d360i.d360-store .shop-sticky{position:sticky;top:0;z-index:100;background:#f5f8f6;padding:8px 0;box-shadow:0 5px 12px #163b2710}
#d360i.d360-store .shop-sticky header{margin-bottom:8px;padding:10px 14px;border-radius:14px}
#d360i.d360-store .shop-sticky .shop-search{margin:0}
#d360i.d360-store .shop-sticky .store-brand img{max-height:46px;width:auto;object-fit:contain}
#d360i.d360-store .product{transition:opacity .18s,box-shadow .18s;position:relative}
#d360i.d360-store.editing-quantity .product:not(.editing-product){opacity:.28}
#d360i.d360-store .product.editing-product{z-index:110;box-shadow:0 0 0 3px #218867,0 16px 45px #102e2933;background:#fff}
#d360i .bag-feedback{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#193c3333;padding:24px;pointer-events:none}
#d360i .bag-feedback[hidden]{display:none}
#d360i .bag-feedback-card{width:min(340px,100%);padding:26px;background:white;border-radius:18px;box-shadow:0 16px 60px #13362c40;color:#157452;text-align:center;font-size:18px;font-weight:700}
#d360i .bag-feedback .bag-progress{margin-top:18px;height:6px}
#d360i .bag-feedback .bag-progress i{animation-duration:3s}

#d360i dialog.checkout-dialog{padding:0;width:560px;max-width:calc(100vw - 20px);max-height:90dvh;border-radius:18px;overflow:auto;overscroll-behavior:contain}
#d360i .checkout-dialog form{padding:20px;display:block}
#d360i .checkout-dialog h2{font-size:23px;margin:0 0 18px;line-height:1.3}
#d360i .checkout-dialog .checkout-items{margin:0;background:#f6f9f7;border:1px solid #e2eae5;border-radius:12px;padding:0 12px}
#d360i .checkout-dialog .checkout-items summary{font-size:14px;padding:14px 0}
#d360i .checkout-dialog .line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px 0;align-items:start}
#d360i .checkout-dialog .line>strong{font-size:13px;line-height:1.45;grid-column:1;overflow-wrap:anywhere}
#d360i .checkout-dialog .line>span{font-size:13px;white-space:nowrap;grid-column:2;grid-row:1}
#d360i .checkout-dialog .line button{grid-column:1/-1;justify-self:start;background:transparent;border:0;box-shadow:none;color:#ae4551;font-size:12px;padding:4px 0;min-height:30px;margin:0}
#d360i .checkout-dialog .checkout-subtotal{display:flex;justify-content:space-between;gap:12px;font-size:15px;margin:14px 0 18px}
#d360i .checkout-dialog .checkout-section-title{font-size:16px;margin:22px 0 10px;border-top:1px solid #e4ece7;padding-top:16px}
#d360i .checkout-dialog label{font-size:13px;margin:12px 0}
#d360i .checkout-dialog input,#d360i .checkout-dialog textarea,#d360i .checkout-dialog select{font-size:16px;min-height:46px;padding:11px 12px;border-radius:10px}
#d360i .checkout-dialog .checkout-privacy{margin:0;font-size:12px;color:#748579}
#d360i .checkout-dialog .checkout-privacy summary{font-size:12px;font-weight:400;padding:6px 0}
#d360i .checkout-dialog .checkout-privacy button{font-size:12px;padding:6px 9px;margin:8px 0;min-height:32px}
#d360i .checkout-dialog form>.actions{position:sticky;bottom:-20px;background:#fff;display:flex;flex-direction:column;margin:18px -20px -20px;padding:14px 20px 18px;border-top:1px solid #e0e9e3;z-index:2;gap:8px}
#d360i .checkout-dialog form>.actions button{width:100%;min-height:46px;margin:0}
#d360i .checkout-dialog form>.actions button[data-action=cancel]{background:transparent;color:#547063;border:0;box-shadow:none;min-height:34px;font-size:13px;padding:8px}
#d360i .checkout-dialog #checkout-total{background:#f1f7f3;border-radius:12px;padding:14px;font-size:14px}
@media(max-width:600px){#d360i dialog.checkout-dialog{max-height:94dvh;width:calc(100vw - 16px);max-width:calc(100vw - 16px);margin:auto}#d360i .checkout-dialog form{padding:18px}#d360i .checkout-dialog form>.actions{bottom:-18px;margin-left:-18px;margin-right:-18px;margin-bottom:-18px;padding:12px 18px 16px}}

#d360i.d360-store .tracking-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch}
#d360i.d360-store .tracking-actions:has(.tracking-pay){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#d360i.d360-store .tracking-actions button{margin:0;width:100%;min-height:50px;border-radius:10px;padding:12px 8px;font-size:14px;line-height:1.35;display:flex;align-items:center;justify-content:center}
#d360i.d360-store .tracking-actions .tracking-pay{background:#d8881c;color:#fff;border:1px solid #c87a13;box-shadow:none}
#d360i.d360-store .tracking-actions .tracking-pay:hover{background:#bf7413}

#d360i.d360-store .tracking-actions:has(.tracking-pay){grid-template-columns:minmax(0,1fr)}

/* v1.6.21: topo completo fixo; pesquisa imediatamente antes dos produtos. */
#d360i.d360-store main{padding-bottom:16px}
#d360i.d360-store .shop-sticky{margin-bottom:14px}
#d360i.d360-store .shop-sticky .bag-bar{position:static;padding:0;margin:0 0 8px;border:0;box-shadow:none;background:transparent}
#d360i.d360-store .shop-sticky .bag-bar .shopping-bag{min-height:46px;padding:10px 14px}
#d360i.d360-store .shop-sticky .shop-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,90px),1fr));grid-auto-rows:1fr;gap:6px;overflow:visible;padding:0;margin:8px 0 0}
#d360i.d360-store .shop-sticky .shop-categories button{width:100%;min-width:0;height:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;padding:8px 6px;border-radius:12px;text-align:center}
#d360i.d360-store .shop-sticky [data-tracking-hint]:empty,#d360i.d360-store .shop-sticky [data-order-timeline]:empty{display:none}
#d360i.d360-store .shop-search{margin:0 0 14px}

/* v1.6.22: pesquisa acompanha o topo fixo. */
#d360i.d360-store .shop-sticky .shop-search{margin:10px 0 0}

/* v1.6.25: painel da equipe com hierarquia compacta e atalhos visíveis. */
#d360i.d360-panel header{padding:18px 20px;gap:18px;margin-bottom:16px}
#d360i.d360-panel .header-identity{grid-template-columns:minmax(135px,1fr) minmax(70px,.8fr)}
#d360i.d360-panel .store-brand img{width:60px;height:60px;border-radius:12px}
#d360i.d360-panel .platform-name{font-size:25px}
#d360i.d360-panel .header-controls{gap:8px}
#d360i.d360-panel .header-controls .sound-toggle{min-height:40px;padding:8px 12px;font-size:12px}
#d360i.d360-panel .header-controls>a{border:1px solid #ffffff30;border-radius:10px;min-height:40px;display:flex;align-items:center;padding:8px 12px}
#d360i.d360-panel .header-controls .billing-box summary{font-size:11px;font-weight:500;padding:8px 0;line-height:1.4}
#d360i.d360-panel nav{margin:0 0 20px;padding:6px;overflow:visible}
#d360i.d360-panel nav button[data-view]{min-height:60px;border-radius:10px}
#d360i.d360-panel nav .nav-metric{font-size:10px;line-height:1.3;white-space:normal;text-align:center}
#d360i.d360-panel .cash-orders-heading h2{font-size:20px;line-height:1.25}
#d360i.d360-panel .order{border-radius:16px;padding:16px}
#d360i.d360-panel .order .card-heading{gap:8px;align-items:center}
#d360i.d360-panel .order .card-heading strong{font-size:16px}
#d360i.d360-panel .order-overview{margin:14px 0 8px;gap:8px}
#d360i.d360-panel .order-overview>strong{font-size:25px}
#d360i.d360-panel .order .payment-status{font-size:10px;padding:6px 9px}
#d360i.d360-panel .order details{margin-top:12px}
#d360i.d360-panel .order summary{padding:12px 0;font-size:12px}
#d360i.d360-panel .order .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px;margin-top:8px}
#d360i.d360-panel .order .actions button{min-width:0;min-height:44px;margin:0;font-size:12px;line-height:1.35;padding:10px 8px;white-space:normal}
#d360i.d360-panel .order .actions [data-action=status]{grid-column:1/-1;order:-1}
#d360i.d360-panel .order .actions button:only-child{grid-column:1/-1}
@media(max-width:900px){
 #d360i.d360-panel nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #d360i.d360-panel nav button[data-view],#d360i.d360-panel nav button[data-action=cash_tab]{min-width:0;width:100%;min-height:60px;gap:4px;padding:9px 5px}
}
@media(max-width:600px){
 #d360i.d360-panel header{padding:16px;gap:14px;border-radius:16px}
 #d360i.d360-panel .header-identity{grid-template-columns:1fr auto;flex-basis:100%;gap:12px}
 #d360i.d360-panel .platform-brand{padding-right:0}
 #d360i.d360-panel .platform-brand small{font-size:8px;letter-spacing:1.2px}
 #d360i.d360-panel .platform-name{font-size:23px;margin-top:3px}
 #d360i.d360-panel .store-brand{padding-left:14px;align-items:center}
 #d360i.d360-panel .store-brand img{width:56px;height:56px}
 #d360i.d360-panel .store-brand h1{font-size:16px}
 #d360i.d360-panel .header-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;max-width:none;gap:8px;align-items:center}
 #d360i.d360-panel .header-controls .sound-toggle{justify-self:start;width:100%;font-size:11px}
 #d360i.d360-panel .header-controls>.badge{font-size:10px;padding:8px 10px;text-align:center}
 #d360i.d360-panel .header-controls>a{font-size:11px;justify-content:center}
 #d360i.d360-panel .header-controls .billing-box{grid-column:1/-1;margin:0;border-top:1px solid #ffffff20;border-radius:0;padding-top:3px}
 #d360i.d360-panel nav{margin-bottom:18px}
 #d360i.d360-panel .cash-active-orders{margin-top:18px}
 #d360i.d360-panel .cash-orders-heading{gap:8px;margin-bottom:12px}
 #d360i.d360-panel .cash-orders-heading h2{font-size:18px}
 #d360i.d360-panel .cash-orders-heading>.badge{font-size:10px;padding:7px 10px}
 #d360i.d360-panel .order>small{font-size:11px}
}

#d360i .payment-ranking{background:#fff;border:1px solid #dce4ed;border-radius:16px;padding:24px;margin-top:18px}#d360i .payment-ranking>p{color:#526478}#d360i .payment-rank-row{margin:22px 0}#d360i .payment-rank-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:10px}#d360i .payment-rank-track{height:24px;background:#eef2f7;border-radius:8px;overflow:hidden}#d360i .payment-rank-bar{height:100%;background:#1767db;border-radius:8px}#d360i .payment-rank-row:nth-child(2) .payment-rank-bar{background:#08a781}#d360i .payment-rank-row:nth-child(3) .payment-rank-bar{background:#ed9b27}
#d360i .ranking-food-button{background:#b45309;margin-left:8px;margin-top:8px}#d360i .ranking-drink-button{background:#087b61;margin-left:8px;margin-top:8px}#d360i .product-ranking.food .payment-rank-bar{background:#b45309}#d360i .product-ranking.drink .payment-rank-bar{background:#087b61}
/* Painel financeiro Delivery360 */
#d360i .cash-dashboard{background:#e8eef6;border-radius:22px;overflow:hidden;padding:0 24px 24px;color:#142b45}
#d360i .cash-hero{background:linear-gradient(120deg,#122b49,#214e79);color:#fff;margin:0 -24px;padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}
#d360i .cash-hero small{color:#7de1c7;font-size:12px;font-weight:800;letter-spacing:1.8px}#d360i .cash-hero h2{color:#fff;font-size:30px;margin:8px 0}#d360i .cash-hero p{color:#d3e1ef;margin:0;font-size:15px}#d360i .cash-badge{border:1px solid #ffffff40;background:#ffffff14;border-radius:30px;padding:10px 18px;font-weight:700;white-space:nowrap}
#d360i .cash-toolbar{background:#fff;border:1px solid #d6e0ee;border-radius:16px;padding:20px;margin-top:22px;box-shadow:0 4px 16px #122b4908}#d360i .cash-dashboard .cash-filters{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) auto auto;gap:14px;align-items:end;margin:0}#d360i .cash-dashboard .cash-filters label{margin:0;font-size:13px;font-weight:700;color:#344f6d;gap:8px}#d360i .cash-dashboard .cash-filters input{height:50px;min-height:50px;background:#f7f9fc;border:1px solid #afc1d5;color:#142b45;font:600 16px system-ui;padding:10px 12px;box-shadow:none}#d360i .cash-dashboard .cash-filters button{height:50px;min-height:50px;padding:12px 20px;line-height:1.2;font-size:15px}#d360i .cash-filter-button{background:#215fc2}#d360i .cash-manual-button{background:#122b49}
#d360i .cash-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}#d360i .cash-metric{padding:20px;border-radius:16px;border:1px solid #d6e0ee;background:#fff;border-left:5px solid #215fc2}#d360i .cash-metric small{display:block;font-size:13px;font-weight:700;color:#415c76;margin-bottom:10px}#d360i .cash-metric strong{display:block;font-size:clamp(21px,2.3vw,30px);line-height:1.3;overflow-wrap:anywhere}#d360i .cash-metric.income{border-left-color:#087b61;background:#f1fbf7}#d360i .cash-metric.income strong{color:#076349}#d360i .cash-metric.expense{border-left-color:#c83d4b;background:#fff5f5}#d360i .cash-metric.expense strong{color:#ae2335}
#d360i .cash-chart-prompt{background:#fff;padding:24px;border:1px dashed #9fb6cf;border-radius:16px;color:#415c76;line-height:1.6}#d360i .cash-flow-chart{background:#fff;border:1px solid #d6e0ee;padding:24px;border-radius:18px;box-shadow:0 6px 18px #122b4908}#d360i .cash-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}#d360i .cash-chart-heading h3{margin:0;font-size:20px;color:#142b45}#d360i .cash-chart-heading p{font-size:14px;color:#526b83;margin:8px 0 0}#d360i .cash-legend{display:flex;gap:16px;font-size:13px;font-weight:700;flex-wrap:wrap}#d360i .cash-legend span:before{content:'';display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:7px}#d360i .cash-legend .income:before{background:#087b61}#d360i .cash-legend .expense:before{background:#c83d4b}#d360i .cash-flow-days{max-height:440px;overflow:auto;padding-right:8px}#d360i .cash-flow-day{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:18px;padding:16px 0;border-top:1px solid #e6edf5}#d360i .cash-day-label{font-size:13px;color:#415c76}#d360i .cash-series-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px;align-items:center;margin:6px 0}#d360i .cash-series-row span{text-align:right;color:#344f6d;font-size:13px;font-weight:700}#d360i .cash-series-track{height:18px;background:#eef3f8;border-radius:5px;overflow:hidden}#d360i .cash-series-bar{height:100%;border-radius:5px}#d360i .cash-series-bar.income{background:#087b61}#d360i .cash-series-bar.expense{background:#c83d4b}#d360i .cash-empty{color:#526b83}
#d360i .cash-ranking-heading{margin:28px 0 16px}#d360i .cash-ranking-heading h3{margin:0;color:#142b45}#d360i .cash-ranking-heading p{margin:6px 0 0;font-size:14px;color:#526b83}#d360i .cash-ranking-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#d360i .cash-ranking-buttons button{margin:0;min-height:54px;border-radius:12px;font-size:15px;color:white;border:2px solid transparent}#d360i .cash-ranking-buttons .ranking-payment-button{background:#215fc2}#d360i .cash-ranking-buttons .ranking-food-button{background:#b45309}#d360i .cash-ranking-buttons .ranking-drink-button{background:#087b61}#d360i .cash-ranking-buttons .is-active{box-shadow:0 0 0 3px #fff,0 0 0 5px #819bb7}#d360i .cash-dashboard .payment-ranking{margin-top:22px;border-color:#d6e0ee}#d360i .cash-dashboard button:hover{filter:brightness(1.08)}#d360i .cash-dashboard button:focus-visible{outline:3px solid #142b45;outline-offset:3px}
@media(max-width:900px){#d360i .cash-dashboard .cash-filters{grid-template-columns:1fr 1fr}#d360i .cash-ranking-buttons{grid-template-columns:1fr}#d360i .cash-hero h2{font-size:25px}}
@media(max-width:600px){#d360i .cash-dashboard{padding:0 14px 18px}#d360i .cash-hero{margin:0 -14px;padding:24px 18px}#d360i .cash-badge{display:none}#d360i .cash-toolbar{padding:14px}#d360i .cash-metrics{grid-template-columns:1fr;gap:10px}#d360i .cash-metric{padding:14px 18px}#d360i .cash-metric strong{font-size:24px}#d360i .cash-flow-chart{padding:16px}#d360i .cash-chart-heading{align-items:flex-start;flex-direction:column}#d360i .cash-flow-day{grid-template-columns:1fr;gap:6px}#d360i .cash-series-row{grid-template-columns:minmax(0,1fr) 100px;gap:10px}#d360i .cash-dashboard .cash-filters button{padding:10px;font-size:13px}}
#d360i .cash-revenue-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}#d360i .cash-revenue-chart{border:1px solid #dde7ef;border-radius:14px;padding:16px;background:#fff;min-width:0}#d360i .cash-revenue-chart h3{font-size:15px;margin:0 0 8px}#d360i .cash-revenue-chart>strong{font-size:22px}#d360i .cash-revenue-chart p{font-size:11px;color:#73879a}#d360i .revenue-day{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:12px;font-size:12px}#d360i .revenue-track{grid-column:1/-1;height:9px;background:#e9eff4;border-radius:8px;overflow:hidden}#d360i .revenue-track i{display:block;height:100%;background:#1675b9;border-radius:8px}#d360i .revenue-1 i{background:#078b99}#d360i .revenue-2 i{background:#13865c}#d360i .revenue-3 i{background:#8053b1}#d360i .cash-statement-button{background:#244b68}@media(max-width:600px){#d360i .cash-revenue-charts{grid-template-columns:1fr}}
#d360i .cash-dashboard .cash-filters{grid-template-columns:repeat(2,minmax(130px,1fr)) repeat(3,auto)}#d360i .cash-dashboard .cash-filters label{display:grid}#d360i .movement-ledger{margin-top:22px;background:white;padding:18px;border-radius:14px}#d360i .movement-entry{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid #dde7ef}#d360i .movement-entry small{display:block;color:#617789;margin-top:6px}#d360i .movement-entry .income{color:#087b61}#d360i .movement-entry .expense{color:#ae2335}#d360i .cash-revenue-chart{max-height:440px;overflow:auto}@media(max-width:1100px){#d360i .cash-dashboard .cash-filters{grid-template-columns:1fr 1fr}}@media(max-width:600px){#d360i .movement-entry{flex-direction:column}#d360i .cash-dashboard .cash-filters button:last-child{grid-column:1/-1}}

/* v1.6.27: contraste dos controles financeiros */
#d360i.d360-panel .cash-dashboard button{color:#fff;background:#173b5a;border-color:#173b5a;font-weight:700;text-shadow:none;opacity:1}
#d360i.d360-panel .cash-dashboard .cash-filter-button,#d360i.d360-panel .cash-dashboard .ranking-payment-button{background:#1d4fa3;border-color:#1d4fa3}
#d360i.d360-panel .cash-dashboard .cash-statement-button{background:#244b68;border-color:#244b68}
#d360i.d360-panel .cash-dashboard .cash-manual-button{background:#122b49;border-color:#122b49}
#d360i.d360-panel .cash-dashboard .ranking-food-button{background:#92400e;border-color:#92400e}
#d360i.d360-panel .cash-dashboard .ranking-drink-button{background:#06634d;border-color:#06634d}
#d360i.d360-panel .cash-dashboard button:hover:not(:disabled),#d360i.d360-panel .cash-dashboard button:active:not(:disabled){background:#102e49;border-color:#102e49;color:#fff;filter:none}
#d360i.d360-panel .cash-dashboard button:focus-visible{outline:3px solid #1d4fa3;outline-offset:3px;color:#fff}
#d360i.d360-panel .cash-dashboard button:disabled{background:#dce4ed;border-color:#a9b8c9;color:#42556b;opacity:1;cursor:not-allowed}

.cash-shift{background:#fff;border:1px solid #cbd9e4;border-radius:14px;padding:18px;margin:18px 0}.cash-shift h3{margin-top:0}.cash-shift details{margin-top:16px}.cash-shift p{line-height:1.7}

.shift-breakdown{margin:12px 0}.shift-breakdown h4{margin:16px 0 8px}.shift-table-wrap{overflow-x:auto}.shift-breakdown table{width:100%;border-collapse:collapse;font-size:13px}.shift-breakdown th,.shift-breakdown td{padding:9px 6px;border-bottom:1px solid #d7e1e8;text-align:right;white-space:nowrap}.shift-breakdown th:first-child,.shift-breakdown td:first-child{text-align:left}.shift-breakdown th{background:#edf4f8;color:#153c50}.shift-breakdown small{display:block;line-height:1.5}

/* Fixed bottom shopping bag and clear closed-store state. */
#d360i.d360-store .bag-bar{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:1000}
#d360i.d360-store main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
#d360i.d360-store .store-closed{background:#b91c1c;color:#fff;border:1px solid #991b1b;font-weight:700}

#d360i.d360-panel .order .actions [data-action=pay]{grid-column:1/-1;min-height:44px}

#d360i .shift-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}#d360i .shift-controls>button{flex:0 0 auto;min-height:48px}#d360i .shift-controls .shift-search{flex:1;min-width:220px;margin:0}#d360i .shift-search input{width:100%;min-height:48px;margin:0}

#d360i .shift-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin-top:14px}#d360i .shift-card{padding:16px;margin:0;min-width:0}#d360i .shift-card p{margin:0 0 12px;font-size:13px}#d360i .shift-card small{color:#405769}#d360i .shift-card-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}#d360i .shift-card-totals span{font-size:12px;color:#405769}#d360i .shift-card-totals b{display:block;color:#142f43;font-size:16px}#d360i .shift-card>button{width:100%}#d360i .movement-scope{padding:0 24px;font-size:18px}#d360i .cash-filters{flex-wrap:wrap}

#d360i.d360-store .bag-bar .shopping-bag.has-items{background:#c45108;border-color:#c45108;color:#fff;box-shadow:0 5px 14px #c4510822}#d360i.d360-store .bag-bar .shopping-bag.has-items:hover{background:#a84306;border-color:#a84306;color:#fff}

#d360i .payment-store-notice{padding:14px;background:#fff4df;border:1px solid #e9c17a;border-radius:10px;color:#74410b;font-weight:600}#d360i [data-change-method]{margin:0 0 14px;background:#edf3f8;color:#173b56}#d360i .payment-method-choice{padding:14px;margin-bottom:14px;background:#f2f6fa;border:1px solid #cedbe6;border-radius:10px}#d360i .payment-method-choice button{margin:4px;min-height:44px}

#d360i .tracking-awaiting-note{margin:12px 0 0;font-size:13px;line-height:1.5;color:#74410b}#d360i .inline-payment-dialog .inline-heading h2{font-size:22px;line-height:1.25}#d360i [data-inline-pix-form]>button[type=submit]{width:100%;min-height:48px}#d360i .inline-payment-dialog [hidden]{display:none!important}

/* Clear payment hierarchy and controls with high contrast. */
#d360i .inline-payment-dialog{width:min(96vw,600px);max-height:90dvh;border-radius:18px;overflow:auto;background:#fff;color:#173b35}
#d360i .inline-payment{padding:22px}
#d360i .inline-heading{gap:14px;align-items:center;margin-bottom:16px}
#d360i .inline-payment-dialog .inline-heading h2{font-size:22px;margin:0;flex:1}
#d360i .inline-payment-dialog [data-inline-close]{background:#334155;color:#fff;border:1px solid #334155;min-height:44px}
#d360i .inline-payment-dialog [data-change-method]{width:100%;background:#174e83;color:#fff;border-color:#174e83;min-height:48px;font-weight:700}
#d360i .inline-payment-dialog [data-inline-total]{font-size:18px;font-weight:700;color:#173b35;margin:12px 0}
#d360i .inline-payment-dialog .payment-store-notice{font-size:14px;line-height:1.5;padding:12px}
#d360i .payment-choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#d360i .payment-choice-buttons button{margin:0;background:#174e83;color:white;border-color:#174e83;min-height:48px;font-weight:700}
#d360i .payment-choice-buttons [data-choose-delivery]{grid-column:1/-1;background:#a74306;border-color:#a74306}
#d360i [data-confirm-delivery]{width:100%;background:#076b56;border-color:#076b56;color:white;font-weight:700;min-height:48px}
#d360i .inline-payment-dialog button:hover:not(:disabled){filter:brightness(.9)}
#d360i .inline-payment-dialog button:focus-visible{outline:3px solid #eaa221;outline-offset:3px}
#d360i .inline-payment-dialog button:disabled{opacity:.6;cursor:wait}
#d360i [data-method-choice] p,#d360i [data-inline-status]{font-size:14px;line-height:1.5;color:#334155}
#d360i [data-delivery-choice]{border-top:1px solid #cbd5e1;margin-top:14px;padding-top:4px}
@media(max-width:600px){#d360i .inline-payment-dialog{width:calc(100vw - 20px);max-height:92dvh}#d360i .inline-payment{padding:18px}#d360i .inline-payment-dialog .inline-heading h2{font-size:20px}#d360i .inline-payment-dialog [data-inline-close]{padding:10px 14px}}

#d360i .inline-payment-dialog [data-cancel-pix],#d360i .inline-payment-dialog [data-confirm-cancel-pix]{background:#b4232b;border-color:#b4232b;color:#fff;min-height:46px;width:100%;margin-top:12px;font-weight:700}#d360i [data-cancel-pix-confirm]{padding:14px;border:1px solid #e9b9bd;border-radius:12px;background:#fff3f3;margin-top:12px}#d360i [data-keep-pix]{background:#334155;border-color:#334155;color:#fff;width:100%;margin-top:8px}

/* Entregadores: situação no pedido e consulta rápida da equipe. */
#d360i button.courier-order-status{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;margin:14px 0 0;padding:12px 14px;border:1px solid transparent;border-radius:10px;text-align:left;min-height:58px;white-space:normal;overflow-wrap:anywhere}#d360i button.courier-order-status span{font-weight:800}#d360i button.courier-order-status small{color:inherit;font-size:12px;font-weight:500}#d360i .courier-waiting{background:#ffebcb!important;color:#704000!important;border-color:#e5b45e!important}#d360i .courier-assigned{background:#d8f3e5!important;color:#095b3d!important;border-color:#93d3b0!important}#d360i nav button.courier-overview-button{background:#08745e;color:#fff;border-color:#08745e}#d360i nav button.courier-overview-button small{color:#fff}#d360i .couriers-dialog{max-width:620px;width:calc(100% - 28px)}#d360i .courier-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#f2f6f9;border:1px solid #d6e1e9;border-radius:10px;margin:10px 0}#d360i .courier-person small{display:block;margin-top:4px;color:#3f5669}#d360i .courier-help{display:block;font-size:13px;color:#40586b;margin:14px 0;line-height:1.5}#d360i .courier-order-detail{border-bottom:1px solid #d6e1e9;padding-bottom:14px;margin-bottom:18px}#d360i .courier-result{padding:14px;border:1px solid;border-radius:10px;font-weight:800;overflow-wrap:anywhere}#d360i .courier-manage-link{display:block;text-align:center;background:#08745e;color:#fff;border-radius:10px;padding:14px;text-decoration:none;font-weight:700;margin-top:18px}#d360i .couriers-dialog h3{font-size:18px;line-height:1.4}@media(max-width:600px){#d360i .courier-person{align-items:flex-start;flex-wrap:wrap}#d360i .couriers-dialog{padding:16px}#d360i .courier-manage-link{width:100%}}

#d360i.d360-panel nav button.courier-overview-button{flex:1 0 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;white-space:normal;padding:10px 6px;border-radius:10px;font-size:12px}@media(max-width:600px){#d360i.d360-panel nav button.courier-overview-button{grid-column:1/-1;width:100%;min-height:54px}#d360i .couriers-dialog .actions button{width:100%}}

/* Checkout em etapas — v1.6.55 */
#d360i dialog.checkout-dialog{width:960px;max-width:calc(100vw - 32px);max-height:92dvh;color:#193b35;background:#fff}
#d360i .checkout-dialog form{padding:28px}
#d360i .checkout-progress{display:flex;list-style:none;padding:0;margin:0 0 24px;gap:12px}
#d360i .checkout-progress li{display:flex;align-items:center;gap:8px;flex:1;font-size:13px;color:#526b61;border-bottom:3px solid #e3ebe6;padding-bottom:12px}
#d360i .checkout-progress li span{display:grid;place-items:center;background:#edf2ef;border-radius:50%;width:26px;height:26px;font-weight:700}
#d360i .checkout-progress .is-current{color:#076b4a;border-color:#098358;font-weight:700}
#d360i .checkout-progress .is-current span,#d360i .checkout-progress .is-complete span{background:#087c55;color:white}
#d360i .checkout-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;align-items:start}
#d360i .checkout-content{min-width:0;min-height:310px}
#d360i .checkout-step>small{font-size:11px;letter-spacing:1px;color:#537465;font-weight:700}
#d360i .checkout-step h3{margin:6px 0 18px;font-size:22px;color:#183e2e;outline:none}
#d360i .checkout-step[hidden],#d360i .checkout-dialog [hidden]{display:none!important}
#d360i .checkout-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
#d360i .checkout-choices button{margin:0;padding:14px 10px;min-height:58px;background:#fff;color:#274b3c;border:2px solid #d9e5de;border-radius:12px;font-size:14px;line-height:1.4;box-shadow:none;white-space:normal}
#d360i .checkout-choices button[aria-pressed=true]{background:#e9f7ef;border-color:#087c55;color:#075b3e;font-weight:700}
#d360i .checkout-choices button[aria-pressed=true]:before{content:'✓ ';font-weight:800}
#d360i .checkout-choices button:focus-visible{outline:3px solid #e48e24;outline-offset:2px}
#d360i .checkout-summary{padding:16px;background:#f5f8f6;border:1px solid #dfe8e2;border-radius:16px;min-width:0}
#d360i .checkout-dialog #checkout-total{margin:12px 0 0;background:transparent;padding:6px 0}
#d360i .checkout-review{font-size:13px;border-top:1px solid #dce7df;margin-top:16px;padding-top:12px;overflow-wrap:anywhere}
#d360i .checkout-review h4{margin:0 0 8px;font-size:15px}
#d360i .checkout-review p{margin:6px 0}
#d360i .checkout-pickup,#d360i .checkout-dialog #payment-guidance{font-size:13px;line-height:1.5;background:#f0f6f2;color:#365848;padding:12px;border-radius:10px}
#d360i .checkout-dialog form>.actions{display:grid;grid-template-columns:1fr auto minmax(180px,auto);align-items:center;bottom:-28px;margin:22px -28px -28px;padding:16px 28px;gap:10px}
#d360i .checkout-footer-total{display:flex;flex-direction:column;gap:3px}
#d360i .checkout-footer-total small{font-size:12px;color:#4e675a}
#d360i .checkout-footer-total strong{font-size:22px;color:#075e41}
#d360i .checkout-dialog .actions button[type=submit]{grid-column:3;grid-row:1;background:#087c55;color:#fff;border:0;min-height:48px}
#d360i .checkout-dialog .actions .checkout-back,#d360i .checkout-dialog .actions button[data-action=cancel]{grid-column:2;grid-row:1;background:#edf2ef;color:#244b37;padding:10px 14px;min-height:48px;font-size:13px}
@media(max-width:760px){
 #d360i dialog.checkout-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}
 #d360i .checkout-dialog form{padding:18px;min-height:100%;display:flex;flex-direction:column}
 #d360i .checkout-dialog h2{font-size:21px;margin-bottom:18px}
 #d360i .checkout-progress{gap:8px;margin-bottom:20px}
 #d360i .checkout-progress li{gap:5px;font-size:12px}
 #d360i .checkout-progress li span{width:23px;height:23px}
 #d360i .checkout-layout{display:flex;flex-direction:column;gap:16px;flex:1}
 #d360i .checkout-content,#d360i .checkout-summary{width:100%;min-height:0}
 #d360i .checkout-step h3{font-size:21px}
 #d360i .checkout-summary{padding:10px 12px;margin-bottom:8px}
 #d360i .checkout-dialog .checkout-items{padding:0;border:0;background:transparent}
 #d360i .checkout-dialog .checkout-items summary{padding:6px 0}
 #d360i .checkout-dialog #checkout-total{font-size:12px;gap:5px;margin-top:6px}
 #d360i .checkout-dialog #checkout-total>strong{font-size:16px;padding-top:6px}
 #d360i .checkout-dialog form>.actions{bottom:-18px;margin:12px -18px -18px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));grid-template-columns:auto 1fr;gap:8px}
 #d360i .checkout-footer-total{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
 #d360i .checkout-footer-total strong{font-size:20px}
 #d360i .checkout-dialog .actions button[type=submit]{grid-column:2;grid-row:2;font-size:13px;padding:12px}
 #d360i .checkout-dialog .actions .checkout-back,#d360i .checkout-dialog .actions button[data-action=cancel]{grid-column:1;grid-row:2;font-size:12px;max-width:125px}
}
#d360i .checkout-dialog .checkout-choices button:hover{background:#f1f7f3;border-color:#66957c;color:#173f2c}
#d360i .checkout-dialog .checkout-choices button[aria-pressed=true]{background:#e9f7ef;border-color:#087c55;color:#075b3e}
/* Disponíveis e pausados, sempre um abaixo do outro. */
#d360i.d360-panel nav .courier-nav-group{display:flex;flex-direction:column;gap:6px;flex:1 0 150px;min-width:0}
#d360i.d360-panel nav .courier-nav-group button{width:100%;margin:0;flex:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:54px;white-space:normal;border-radius:10px;padding:10px 8px}
#d360i.d360-panel nav button.courier-paused-button{background:#fff0d6;border:1px solid #d49b39;color:#704500;font-size:12px;font-weight:700}
#d360i.d360-panel nav button.courier-paused-button small{color:#704500;font-size:12px;font-weight:500}
@media(max-width:600px){#d360i.d360-panel nav .courier-nav-group{grid-column:1/-1;width:100%}}
/* Catalog import and pagination */
#d360i .catalog-pager{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0;flex-wrap:wrap}#d360i .catalog-pager span{font-weight:600;color:#334155}#d360i [data-import-progress]{width:100%;height:18px;accent-color:#167b55}#d360i [data-import-errors]{max-height:260px;overflow:auto}#d360i [data-import-errors] p{border-left:3px solid #dc6b26;padding:8px 12px;background:#fff6ed}#d360i [data-import-preview]{font-weight:600}#d360i [data-admin-search]{margin-bottom:20px}#d360i button:disabled{cursor:default;opacity:.5}

/* v1.6.58: keep mobile browsing space available for products. */
@media(max-width:767px){
 #d360i.d360-store .shop-sticky{position:static;padding:0;box-shadow:none;margin-bottom:12px}
 #d360i.d360-store .shop-sticky header{padding:8px 12px;margin-bottom:8px;min-height:60px;gap:8px}
 #d360i.d360-store .shop-sticky .store-brand img{max-height:36px;max-width:170px}
 #d360i.d360-store .shop-welcome{display:none}
 #d360i.d360-store .shop-sticky .shop-categories{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:6px;padding:2px 0 6px;margin:8px 0 0;scrollbar-width:thin}
 #d360i.d360-store .shop-sticky .shop-categories button{flex:0 0 auto;width:auto;height:auto;min-height:40px;white-space:nowrap;overflow-wrap:normal;padding:8px 13px;border-radius:22px;font-size:14px}
 #d360i.d360-store .shop-sticky .shop-search{margin:6px 0 0}
 #d360i.d360-store .quick-search{min-height:44px;padding:0 12px}
 #d360i.d360-store .quick-search input{height:44px;min-height:44px;padding:8px 0;font-size:16px}
 #d360i.d360-store .current-order{padding:10px 12px;margin-bottom:8px;border-radius:12px}
 #d360i.d360-store .current-order .timeline-heading{margin-bottom:6px;gap:6px}
 #d360i.d360-store .current-order .tracking-customer{display:none}
 #d360i.d360-store .current-order .current-status{min-height:36px;padding:6px 10px;font-size:14px}
 #d360i.d360-store .current-order .tracking-payment{font-size:11px;padding:5px 8px}
 #d360i.d360-store .bag-bar{padding:6px 10px calc(6px + env(safe-area-inset-bottom));backdrop-filter:none}
 #d360i.d360-store .bag-bar .shopping-bag{min-height:48px;padding:10px 12px;font-size:15px}
 #d360i.d360-store .product-source{font-size:10px;line-height:1.35;letter-spacing:0;text-transform:none;font-weight:400}
 #d360i.d360-store .product-photo img{object-fit:contain}
}

/* v1.6.59: clear search text and separate product metadata. */
#d360i.d360-store .quick-search{display:block;padding:0;min-width:0}
#d360i.d360-store .quick-search input{padding:12px 38px 12px 44px;height:auto;min-height:48px;line-height:1.4;box-sizing:border-box}
#d360i.d360-store .quick-search>svg{left:14px;z-index:1}
#d360i.d360-store .search-summary{font-size:13px;line-height:1.4;color:#375a49;margin:6px 0 12px}
#d360i.d360-store .search-summary:empty{display:none}
@media(max-width:767px){
 #d360i.d360-store .product>small.product-source{grid-column:1/-1;grid-row:7;display:block;font-size:10px;line-height:1.4;font-weight:400;text-transform:none;letter-spacing:0;margin:4px 0 0;min-width:0}
 #d360i.d360-store .product .card-quantity{grid-column:1/-1;grid-row:5}
 #d360i.d360-store .product>button{grid-row:6}
 #d360i.d360-store .product .card-added{grid-column:1/-1;grid-row:8}
}

/* v1.6.60 — vitrine mobile: pesquisa e rolagem progressiva, sem paginação. */
#d360i.d360-store .shop-load-more{min-height:42px;text-align:center;padding:12px;color:#53657a;font-size:13px}
#d360i.d360-store .product .card-quantity{display:flex;align-items:center;justify-content:space-between;gap:2px;border:1px solid #d8e0e9;border-radius:12px;padding:2px;min-width:0}
#d360i.d360-store .product .card-quantity .qty-step{background:transparent;color:#14253c;border:0;box-shadow:none;font-size:22px;font-weight:500;min-width:28px;min-height:34px;padding:0 3px;flex:0 0 auto}
#d360i.d360-store .product .card-quantity input{min-width:0;width:32px;max-width:46px;text-align:center;border:0;box-shadow:none;background:transparent;padding:2px;font-size:15px;font-weight:700}
#d360i.d360-store .product [data-action=add]{font-size:22px;min-height:42px;line-height:1.2;border-radius:10px}
@media(max-width:767px){
 #d360i.d360-store{padding:10px}
 #d360i.d360-store [data-products].grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}
 #d360i.d360-store [data-products] .product{display:flex;flex-direction:column;min-width:0;padding:8px 6px;border:1px solid #dce4ed;border-radius:14px;background:#fff;gap:5px;box-shadow:0 1px 3px #0f172a10}
 #d360i.d360-store [data-products] .product .product-photo{width:100%;height:auto;aspect-ratio:1/1;min-height:0;display:flex;align-items:center;justify-content:center;margin:0}
 #d360i.d360-store [data-products] .product .product-photo img{width:100%;height:100%;max-height:none;object-fit:contain}
 #d360i.d360-store [data-products] .product>small:not(.product-source){font-size:10px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 #d360i.d360-store [data-products] .product h2{font-size:12px;line-height:1.35;min-height:49px;max-height:49px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0}
 #d360i.d360-store [data-products] .product .product-description{display:none}
 #d360i.d360-store [data-products] .product>strong{font-size:15px;line-height:1.2;margin-top:auto}
 #d360i.d360-store [data-products] .product .card-quantity{width:100%;margin:0;grid-row:auto;grid-column:auto}
 #d360i.d360-store [data-products] .product .card-quantity .qty-step{min-width:21px;font-size:19px}
 #d360i.d360-store [data-products] .product .card-quantity input{width:24px;font-size:13px}
 #d360i.d360-store [data-products] .product>button[data-action=add]{width:100%;margin:0;grid-row:auto;min-height:40px}
 #d360i.d360-store [data-products] .product .product-source{grid-row:auto;grid-column:auto;font-size:9px;line-height:1.2;overflow-wrap:anywhere}
 #d360i.d360-store [data-products] .product .card-added{grid-row:auto;grid-column:auto}
}
@media(max-width:350px){#d360i.d360-store [data-products].grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.6.61: customer cards contain only image, name, price and purchase controls. */
#d360i.d360-store .product-credits{margin:14px 0 80px;font-size:11px;color:#64748b}
#d360i.d360-store .product-credits summary{cursor:pointer;text-decoration:underline}
#d360i.d360-store .product-credits ul{padding-left:20px;max-height:160px;overflow:auto}
#d360i.d360-store .product-credits a{color:inherit}

/* Prazo estimado opcional por pedido */
#d360i .order-eta{margin:12px 0;padding:12px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#172b4d}#d360i .order-eta-toggle{display:flex;align-items:center;gap:9px;font-weight:650;cursor:pointer}#d360i .order-eta-toggle input{width:18px;height:18px;flex-shrink:0}#d360i .order-eta-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}#d360i .order-eta-field[hidden]{display:none}#d360i .order-eta-field input{width:100px;max-width:100%;padding:9px;border:1px solid #94a3b8;border-radius:8px}#d360i .order-eta-saved,#d360i .tracking-eta{padding:10px;border-radius:9px;background:#ecfdf5;color:#065f46}#d360i .order .actions [data-action=order_whatsapp]{background:#168348;color:#fff;border-color:#168348}

/* Delivery360 1.6.63: navegação fixa da vitrine */
.d360-store main{padding-bottom:85px}
.d360-shop-footer{position:fixed;bottom:0;left:0;right:0;z-index:100;background:#fff;border-top:1px solid #dce2e8;display:flex;justify-content:space-around;align-items:stretch;padding:6px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 18px #00000012}
.d360-shop-footer button,.d360-shop-footer a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px;border:0;background:transparent;color:#273b4a;font:600 11px/1.3 system-ui;text-decoration:none;box-shadow:none}
.d360-shop-footer span{font-size:23px;line-height:1.2;color:#198b60}
.d360-shop-footer button:focus-visible,.d360-shop-footer a:focus-visible{outline:2px solid #198b60;outline-offset:-2px;border-radius:8px}
@media(min-width:900px){.d360-shop-footer{max-width:650px;left:50%;transform:translateX(-50%);border:1px solid #dce2e8;border-radius:16px 16px 0 0}}

/* v1.6.64: quatro itens na mesma linha, sem sobreposicao com a sacola */
#d360i.d360-store .d360-shop-footer{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:column;gap:3px;align-items:stretch;box-sizing:border-box;max-width:100%;width:100%;flex-wrap:nowrap!important;padding:6px 6px calc(7px + env(safe-area-inset-bottom));}
#d360i.d360-store .d360-shop-footer>button,#d360i.d360-store .d360-shop-footer>a{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box;white-space:nowrap;padding:8px 1px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:clamp(9px,2.7vw,12px)!important;line-height:1.2!important;gap:4px!important;text-align:center;}
#d360i.d360-store .d360-shop-footer>button span,#d360i.d360-store .d360-shop-footer>a span{font-size:clamp(19px,5vw,25px)!important;line-height:1.1!important;}
#d360i.d360-store .bag-bar{display:none!important;}
#d360i.d360-store main{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important;}
@media(min-width:900px){#d360i.d360-store .d360-shop-footer{max-width:650px;left:50%;transform:translateX(-50%);}}

/* 1.6.65 - checkout e sacola mobile */
#d360i.d360-store .d360-shop-footer .cart-nav-icon{position:relative;display:inline-block}
#d360i.d360-store .d360-shop-footer .cart-nav-count{position:absolute;top:-7px;right:-13px;min-width:19px;height:19px;padding:2px 4px;border-radius:99px;background:#d45c12;color:white;font:700 11px/15px system-ui;text-align:center}
#d360i.d360-store .d360-shop-footer .cart-nav-count[hidden]{display:none!important}
#d360i.d360-store .d360-shop-footer .cart-nav-total{display:block;font:700 10px/1.1 system-ui;color:#126b4e;white-space:nowrap}
#d360i.d360-store .d360-shop-footer .cart-nav-total:empty{display:none}
#d360i .store-options{margin:18px 0;padding:16px;border:1px solid #dce5e1;border-radius:14px}
#d360i .store-options legend{font-weight:750;color:#174d3c}
#d360i .store-options .choice{display:flex;gap:10px;align-items:center;padding:9px 0}
#d360i .checkout-only-option{display:block;padding:13px;border:1px solid #cce4d9;border-radius:12px;background:#f0f8f4;color:#13674b}
#d360i .checkout-dialog .checkout-review{border:1px solid #dce7e1;border-radius:14px;background:#f8fbf9;padding:12px;margin-top:12px}
#d360i .checkout-dialog .checkout-review p{overflow-wrap:anywhere;margin:8px 0}
#d360i .checkout-dialog .checkout-summary{border-radius:16px}
#d360i .checkout-dialog .actions{gap:10px;align-items:center}
#d360i .checkout-dialog .actions button{min-width:0}
@media(max-width:760px){#d360i .checkout-dialog .actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px;padding-inline:14px}#d360i .checkout-dialog .actions .checkout-footer-total{grid-column:1/-1}#d360i .checkout-dialog .actions .checkout-back,#d360i .checkout-dialog .actions [data-action=cancel]{font-size:13px;padding:12px 5px;white-space:normal}#d360i .checkout-dialog .actions button[type=submit]{font-size:15px;padding:13px 8px}}
@media(max-width:760px){#d360i .checkout-dialog .actions button[type=submit]{grid-column:2!important;grid-row:2!important;width:100%}#d360i .checkout-dialog .actions .checkout-back,#d360i .checkout-dialog .actions button[data-action=cancel]{grid-column:1!important;grid-row:2!important;width:100%;max-width:none!important}#d360i .checkout-dialog .actions .checkout-footer-total{grid-row:1!important}}

/* 1.6.67: acompanhamento no ícone Meu Pedido, sem barra duplicada na vitrine */
#d360i.d360-store .shop-track-button{position:relative}
#d360i.d360-store .shop-track-status{display:block;font-size:9px;line-height:1.15;color:#137c68;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#d360i.d360-store .d360-shop-footer{flex-wrap:nowrap}
#d360i.d360-store .d360-shop-footer>*{flex:1 1 0;min-width:0}

/* 1.6.68 - navegação mobile com contraste e separação visual */
#d360i.d360-store .d360-shop-footer{background:#fff!important;border:1px solid #d1dcd7!important;border-bottom:0!important;box-shadow:0 -6px 25px rgba(13,47,37,.18)!important;border-radius:16px 16px 0 0!important;gap:5px!important;padding:7px 8px calc(9px + env(safe-area-inset-bottom))!important;z-index:110!important}
#d360i.d360-store .d360-shop-footer>button,#d360i.d360-store .d360-shop-footer>a{border:1px solid #d5e3dc!important;border-radius:12px!important;background:#f3f8f5!important;color:#164d3a!important;min-height:62px!important;padding:6px 2px!important;font-weight:750!important;transition:background .15s ease!important}
#d360i.d360-store .d360-shop-footer>button:active,#d360i.d360-store .d360-shop-footer>a:active{background:#d7eee3!important}
#d360i.d360-store .d360-shop-footer>button span,#d360i.d360-store .d360-shop-footer>a span{color:#116b4b!important}
#d360i.d360-store .d360-shop-footer .shop-track-status{color:#164d3a!important;font-weight:700!important}
#d360i .delivery-fleet-settings{margin:16px 0;padding:16px;border:1px solid #cfded6;border-radius:14px}
#d360i .delivery-fleet-settings legend{font-weight:750;color:#175b44}
#d360i .delivery-fleet-settings>.choice{display:flex;gap:12px;align-items:flex-start;padding:12px;margin:8px 0;border:1px solid #dbe8e1;border-radius:12px;background:#f8fbf9}
#d360i .delivery-fleet-settings>.choice input{flex:none;margin-top:5px}
#d360i .delivery-fleet-settings>.choice span{display:grid;gap:4px}
#d360i .delivery-fleet-settings small{display:block;color:#4b6359}
#d360i .delivery-fleet-settings>a{display:inline-block;margin-top:10px}
@media(max-width:390px){#d360i.d360-store .d360-shop-footer{gap:3px!important;padding-left:4px!important;padding-right:4px!important}#d360i.d360-store .d360-shop-footer>button,#d360i.d360-store .d360-shop-footer>a{font-size:10px!important}}

/* v1.6.69 — rodapé grafite, alto contraste, sem verde */
#d360i.d360-store .d360-shop-footer{background:#242c38!important;border:1px solid #242c38!important;border-bottom:0!important;box-shadow:0 -6px 22px rgba(15,23,42,.26)!important;gap:6px!important;padding:8px 8px calc(9px + env(safe-area-inset-bottom))!important}
#d360i.d360-store .d360-shop-footer>button,#d360i.d360-store .d360-shop-footer>a{background:#343e4d!important;color:#fff!important;border:1px solid #566171!important;border-radius:11px!important;min-height:66px!important;font-weight:700!important;text-shadow:none!important;box-shadow:none!important}
#d360i.d360-store .d360-shop-footer>.shop-nav-home{background:#475569!important;border-color:#94a3b8!important}
#d360i.d360-store .d360-shop-footer>button:active,#d360i.d360-store .d360-shop-footer>a:active{background:#536275!important}
#d360i.d360-store .d360-shop-footer>button span,#d360i.d360-store .d360-shop-footer>a span,#d360i.d360-store .d360-shop-footer .shop-track-status,#d360i.d360-store .d360-shop-footer .cart-nav-total{color:#fff!important}
#d360i.d360-store .d360-shop-footer .shop-track-status,#d360i.d360-store .d360-shop-footer .cart-nav-total{font-weight:650!important;font-size:10px!important;line-height:1.15!important}
#d360i.d360-store .d360-shop-footer .d360-wa-icon{display:flex;align-items:center;justify-content:center;height:26px!important}
#d360i.d360-store .d360-shop-footer .d360-wa-icon svg{width:23px;height:23px;display:block;fill:#fff}
#d360i.d360-store .d360-shop-footer .cart-nav-count{background:#f59e0b!important;color:#111827!important;text-shadow:none!important}
#d360i.d360-store .d360-shop-footer>button:focus-visible,#d360i.d360-store .d360-shop-footer>a:focus-visible{outline:2px solid #f8fafc!important;outline-offset:-4px!important}
@media(max-width:390px){#d360i.d360-store .d360-shop-footer{gap:4px!important;padding-left:5px!important;padding-right:5px!important}#d360i.d360-store .d360-shop-footer>button,#d360i.d360-store .d360-shop-footer>a{font-size:10px!important}}

/* Delivery360 PDV 1.6.72: visual profissional sem alterar rotinas de venda */
#d360i .pdv-modern{background:#f4f7fb;border:1px solid #d4e0e9;border-radius:18px;overflow:hidden;box-shadow:0 12px 32px rgba(22,43,62,.10)}
#d360i .pdv-modern .pdv-topbar{background:#192f43;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px 26px;border-bottom:4px solid #26876e}
#d360i .pdv-modern .pdv-topbar h2{font-size:26px;color:#fff;margin:2px 0 3px;line-height:1.2}
#d360i .pdv-modern .pdv-topbar small{color:#c8d7e3;font-size:13px}
#d360i .pdv-modern .pdv-eyebrow{display:block;font-size:10px;letter-spacing:.12em;font-weight:800;color:#6d879b}
#d360i .pdv-modern .pdv-topbar .pdv-eyebrow{color:#9acabb}
#d360i .pdv-modern .pdv-topbar-right{display:flex;align-items:center;gap:9px;font-size:13px;color:#e4edf4;flex-wrap:wrap;justify-content:flex-end}
#d360i .pdv-modern .pdv-live-dot{width:9px;height:9px;border-radius:50%;background:#3dd6a1;box-shadow:0 0 0 4px #3dd6a122}
#d360i .pdv-modern .pdv-topbar-count{background:#ffffff1a;border:1px solid #ffffff35;border-radius:20px;padding:6px 10px}
#d360i .pdv-modern .pdv-layout{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.45fr);gap:0;align-items:stretch}
#d360i .pdv-modern .pdv-catalog{background:#f3f7fb;border:0;border-right:1px solid #d6e1e9;border-radius:0;padding:24px}
#d360i .pdv-modern .pdv-sale{background:#fff;border:0;border-radius:0;padding:24px;min-width:0}
#d360i .pdv-modern .pdv-section-title{display:flex;gap:11px;align-items:center;margin-bottom:20px}
#d360i .pdv-modern .pdv-section-title>div{display:grid;gap:3px}
#d360i .pdv-modern .pdv-section-title strong{font-size:17px;color:#203c52}
#d360i .pdv-modern .pdv-section-title small{color:#657c8c}
#d360i .pdv-modern .pdv-section-icon{display:grid;place-items:center;background:#dceaf3;color:#1b5c87;border-radius:12px;width:44px;height:44px;font-size:28px}
#d360i .pdv-modern #pdv-search-form{display:grid;grid-template-columns:1fr;gap:10px;align-items:stretch}
#d360i .pdv-modern #pdv-search-form label{font-weight:700;font-size:12px;margin:0}
#d360i .pdv-modern [data-pdv-search]{border:2px solid #aec5d5;border-radius:12px;min-height:58px;background:#fff;font-size:16px;box-shadow:0 3px 12px #203d5410}
#d360i .pdv-modern [data-pdv-search]:focus{outline:3px solid #257baf35;border-color:#2474a3}
#d360i .pdv-modern #pdv-search-form>button{border-radius:11px;background:#205c89;border:1px solid #205c89;font-weight:700;min-height:45px}
#d360i .pdv-modern .pdv-results{margin-top:16px;max-height:48vh}
#d360i .pdv-modern .pdv-results>button{border-radius:10px;border:1px solid #d0e0eb;background:#fff;box-shadow:none}
#d360i .pdv-modern .pdv-sale-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
#d360i .pdv-modern .pdv-sale-heading h3{font-size:21px;margin:2px 0 0;color:#1d3548}
#d360i .pdv-modern .pdv-item-count{font-weight:700;color:#1f5f85;background:#e8f2f9;padding:8px 12px;border-radius:20px;white-space:nowrap}
#d360i .pdv-modern .pdv-payment-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(145px,.85fr);gap:12px;background:#f1f5f8;border:1px solid #dce5ec;border-radius:14px;padding:14px;margin-bottom:20px}
#d360i .pdv-modern .pdv-payment-title{grid-column:1/-1;display:grid;gap:3px}
#d360i .pdv-modern .pdv-payment-title strong{color:#203d52;font-size:16px}
#d360i .pdv-modern .pdv-payment-top .pdv-grand-total{min-height:90px;background:#193b54;border:0;border-radius:12px;margin:0;padding:12px 16px}
#d360i .pdv-modern .pdv-payment-top .pdv-grand-total strong{font-size:34px;color:#fff}
#d360i .pdv-modern .pdv-method{margin:0;align-self:center}
#d360i .pdv-modern .pdv-method select{background:#fff;border:1px solid #b8cbd9;min-height:48px}
#d360i .pdv-modern .pdv-payment-top .actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;margin:0}
#d360i .pdv-modern .pdv-payment-top .actions button{min-height:49px;border-radius:11px;font-weight:750}
#d360i .pdv-modern .pdv-lines{max-height:52vh;overflow:auto;overscroll-behavior:contain;padding:0 4px 0 0}
#d360i .pdv-modern .pdv-lines article{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:5px 10px;align-items:center;padding:12px;margin-bottom:9px;background:#fff;border:1px solid #dce6ee;border-left:4px solid #267b96;border-radius:11px}
#d360i .pdv-modern .pdv-lines article>strong{grid-column:1;grid-row:1;color:#1b364b}
#d360i .pdv-modern .pdv-lines article>small{grid-column:1;grid-row:2;color:#667c8b}
#d360i .pdv-modern .pdv-lines .pdv-line-controls{grid-column:2;grid-row:1/3}
#d360i .pdv-modern .pdv-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:44px 14px;border:2px dashed #cbdce7;border-radius:14px;color:#536b7e;background:#f9fbfd}
#d360i .pdv-modern .pdv-empty span{font-size:44px;color:#7f9eb4}
#d360i .pdv-modern .pdv-empty strong{font-size:16px;color:#334e61}
#d360i .pdv-modern .pdv-empty small{max-width:240px}
#d360i .pdv-modern .pdv-last-receipt{border:1px solid #baded0;background:#effaf5;border-radius:12px;padding:12px;margin-top:14px}
@media(max-width:1050px){#d360i .pdv-modern .pdv-layout{grid-template-columns:1fr}#d360i .pdv-modern .pdv-catalog{border-right:0;border-bottom:1px solid #d6e1e9}#d360i .pdv-modern .pdv-results{max-height:240px}}
@media(max-width:600px){#d360i .pdv-modern .pdv-topbar{padding:16px;align-items:flex-start}#d360i .pdv-modern .pdv-topbar h2{font-size:21px}#d360i .pdv-modern .pdv-topbar-right{font-size:11px}#d360i .pdv-modern .pdv-catalog,#d360i .pdv-modern .pdv-sale{padding:14px}#d360i .pdv-modern .pdv-payment-top{grid-template-columns:1fr}#d360i .pdv-modern .pdv-payment-top .actions{grid-template-columns:1fr 1fr}#d360i .pdv-modern .pdv-payment-top .pdv-grand-total strong{font-size:29px}#d360i .pdv-modern .pdv-lines article{grid-template-columns:1fr}#d360i .pdv-modern .pdv-lines .pdv-line-controls{grid-column:1;grid-row:3}}

/* 1.6.73: Frente de caixa em tela inteira (visual; conserva fluxo do PDV) */
body.d360-pdv-active{overflow:hidden!important}
body.d360-pdv-active #wpadminbar{display:none!important}
body.d360-pdv-active #d360i.d360-pdv-root{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;margin:0!important;padding:0!important;background:#e9eef2!important;z-index:999990!important;overflow:hidden!important;border:0!important;border-radius:0!important}
body.d360-pdv-active #d360i.d360-pdv-root>main{height:100%;overflow:hidden}
body.d360-pdv-active #d360i.d360-pdv-root>main>header,body.d360-pdv-active #d360i.d360-pdv-root>main>nav{display:none!important}
body.d360-pdv-active #d360i.d360-pdv-root #content{height:100%;min-height:0;margin:0;padding:0}
body.d360-pdv-active #d360i .pdv-fullscreen{height:100%;border:0;border-radius:0;box-shadow:none;background:#f3f5f7;display:flex;flex-direction:column}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-topbar{flex:none;padding:11px 22px;background:#192b3d;border-bottom:3px solid #f59e0b}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-topbar h2{font-size:21px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-topbar small{font-size:11px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-exit{background:#36495c;color:white;border:1px solid #728395;padding:9px 13px;font-size:12px;border-radius:8px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-exit:hover{background:#53697f}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-layout{display:grid!important;grid-template-columns:minmax(220px,30fr) minmax(340px,45fr) minmax(255px,25fr)!important;flex:1;min-height:0;gap:0}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-catalog,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{height:100%;min-height:0;overflow:auto;border-radius:0;box-shadow:none}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-catalog{background:#edf2f6;border-right:1px solid #d4dfe7;padding:22px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale{background:#fff;padding:22px;border-right:1px solid #d4dfe7;display:flex;flex-direction:column}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale .pdv-lines{flex:1;max-height:none;overflow:auto}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{background:#22364a;padding:20px;color:#fff;display:flex;flex-direction:column}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top{display:flex!important;flex-direction:column;gap:18px;background:transparent;border:0;padding:0;margin:0;flex:1}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-title strong{color:#fff;font-size:20px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-title .pdv-eyebrow{color:#9db2c5}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-grand-total{background:#132739;border:1px solid #526b80;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:22px 16px;min-height:155px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-grand-total span{color:#cbd9e5;font-size:13px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-grand-total strong{font-size:clamp(28px,3.1vw,50px);line-height:1.1;white-space:nowrap}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-method{color:#eaf2f7;font-size:14px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-method select{margin-top:9px;min-height:52px;border:0;border-radius:9px;font-size:17px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions{display:flex!important;flex-direction:column;gap:10px;margin-top:auto!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions button{width:100%;min-height:57px;font-size:15px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions button:first-child{background:#078567}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions button:last-child{background:#3c5063;color:#fff;border:1px solid #627789}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-section-title{margin-bottom:12px}
body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-search]{min-height:65px;font-size:17px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-results{max-height:none}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article{display:block;padding:12px;border-left:3px solid #387e9c;border-radius:6px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-line-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:8px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-line-controls label{width:86px;margin:0}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-line-controls input{padding:6px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-last-receipt{margin-top:12px}
body.d360-pdv-active #d360i.d360-pdv-root>dialog{z-index:999999!important}
body.d360-pdv-active #d360i.d360-pdv-root .message{position:fixed;bottom:12px;left:12px;z-index:999998;max-width:50vw}
@media(max-width:1050px){body.d360-pdv-active #d360i .pdv-fullscreen .pdv-layout{grid-template-columns:minmax(180px,28fr) minmax(270px,42fr) minmax(230px,30fr)!important}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-catalog,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{padding:12px}}
@media(max-width:740px){body.d360-pdv-active{overflow:auto!important}body.d360-pdv-active #d360i.d360-pdv-root{overflow:auto!important}body.d360-pdv-active #d360i.d360-pdv-root>main{overflow:auto}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-layout{display:flex!important;flex-direction:column}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-catalog,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{height:auto;overflow:visible}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions{margin-top:15px!important}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-grand-total{min-height:100px}}

/* 1.6.74: cupom compacto, uma linha por produto */
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines{display:block;overflow:auto;min-height:0}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-list-head,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article{display:grid!important;grid-template-columns:minmax(130px,2.5fr) 62px minmax(68px,.85fr) minmax(75px,.95fr) 65px!important;align-items:center;gap:8px;padding:9px 10px;margin:0;border-radius:0;min-height:54px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-list-head{position:sticky;top:0;z-index:2;min-height:35px;background:#e8eff4;color:#536e80;font-size:11px;font-weight:800;border-bottom:1px solid #cbdce7}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article{border:0!important;border-bottom:1px solid #e1e9ef!important;background:#fff}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article:nth-child(odd){background:#f7fafc}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-product-name{min-width:0;overflow-wrap:anywhere}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-product-name strong{display:block;color:#1c3448;font-size:13px;line-height:1.25}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-product-name small{display:block;color:#617b8c;font-size:10px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-qty-compact{display:block!important;width:auto!important;margin:0!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-qty-compact input{width:58px!important;min-height:34px!important;padding:5px!important;border:1px solid #c5d6e1;border-radius:6px;font-size:13px;text-align:center}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-unit-price{color:#536c7c;font-size:12px;white-space:nowrap}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-row-total{color:#193b52;font-size:13px;white-space:nowrap}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-row-remove button{min-height:32px!important;padding:5px 7px!important;font-size:11px!important;border-radius:6px!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-qty-compact .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1050px){body.d360-pdv-active #d360i .pdv-fullscreen .pdv-list-head,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article{grid-template-columns:minmax(95px,2fr) 52px 66px 70px 58px!important;gap:5px;padding:8px 5px}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-qty-compact input{width:49px!important}}
@media(max-width:740px){body.d360-pdv-active #d360i .pdv-fullscreen .pdv-list-head,body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article{grid-template-columns:minmax(110px,2fr) 54px 70px 74px 62px!important;min-width:410px}}

/* 1.6.75: cupom na ordem correta e pagamento estável */
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>.pdv-product-name{grid-column:1!important;grid-row:1!important;display:block!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>.pdv-qty-compact{grid-column:2!important;grid-row:1!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>.pdv-unit-price{grid-column:3!important;grid-row:1!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>.pdv-row-total{grid-column:4!important;grid-row:1!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>.pdv-row-remove{grid-column:5!important;grid-row:1!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-lines article>strong{grid-column:4!important;grid-row:1!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .pdv-method{display:none!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-choices button{padding:12px 3px;border:1px solid #7890a2;border-radius:8px;background:#314a60;color:#fff;font-size:12px;font-weight:700;cursor:pointer}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-choices button.active{background:#e8f6f1;border:2px solid #19a77e;color:#075b48}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel{padding:12px;border:1px solid #557086;border-radius:10px;background:#1b3043}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel[hidden]{display:none!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel label{display:block;font-size:12px;color:#d9e7f1;font-weight:600}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel input{display:block;width:100%;margin-top:8px;padding:10px;border-radius:7px;border:1px solid #8aa3b5;background:#fff;color:#10283a;font-size:21px;font-weight:750}
body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-change-live]{margin-top:10px;font-size:20px;color:#65e4ae;font-weight:800}
body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-change-live].insufficient{color:#ffd18c}

/* 1.6.76: fixed payment actions, compact success toast */
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{overflow:hidden!important;min-height:0!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top{min-height:0;overflow-y:auto;overflow-x:hidden;gap:12px!important;padding-bottom:12px}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions{position:sticky;bottom:0;z-index:3;background:#22364a;padding:10px 0 2px;flex-shrink:0}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions button{min-height:48px!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-grand-total{min-height:115px!important;padding:14px!important}
body.d360-pdv-active #d360i.d360-pdv-root>.message{position:fixed!important;left:auto!important;right:16px!important;top:95px!important;bottom:auto!important;width:auto!important;max-width:min(380px,calc(100vw - 32px))!important;min-height:0!important;height:auto!important;padding:13px 16px!important;z-index:999999!important;border-radius:10px!important;box-shadow:0 8px 25px #122b3b33!important}
body.d360-pdv-active #d360i.d360-pdv-root>.message:empty{display:none!important}
@media(max-width:740px){body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{overflow:visible!important}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top{overflow:visible!important}}

/* 1.6.77: valores de pagamento separados e legíveis */
body.d360-pdv-active #d360i .pdv-due-fixed{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 0;margin-bottom:14px;border-bottom:1px solid #557086;color:#cbdbe7;font-size:11px;font-weight:700}
body.d360-pdv-active #d360i .pdv-due-fixed strong{font-size:21px;color:#fff;white-space:nowrap}
body.d360-pdv-active #d360i [data-pdv-cash]:focus{outline:3px solid #66cbb1;outline-offset:2px}
body.d360-pdv-active #d360i [data-pdv-change-live]{font-size:17px;line-height:1.4}

body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-due{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;background:#14283a;border-radius:9px;color:#cbdde9;font-size:11px;font-weight:750}body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-due strong{font-size:22px;color:#fff}body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-change-live]{background:#12483c;padding:12px;border-radius:9px;min-height:52px}body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-change-live].insufficient{background:#4e3925}

/* v1.6.80 - painel compacto e botoes em uma linha, sem sobrepor troco */
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions,
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale .actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%;margin:12px 0 0!important;position:static!important;inset:auto!important;transform:none!important;padding:0!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-top .actions button,
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-sale .actions button{position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;min-height:43px!important;padding:8px 5px!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important;border-radius:8px!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel{padding:10px!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-cash-panel input{margin-top:5px!important;padding:7px 9px!important;min-height:41px!important;font-size:19px!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-due-fixed{padding:5px 0 8px!important;margin-bottom:9px!important}
body.d360-pdv-active #d360i .pdv-fullscreen [data-pdv-change-live]{margin-top:8px!important;padding:10px!important;font-size:17px!important;min-height:42px!important;line-height:1.2!important}
body.d360-pdv-active #d360i .pdv-fullscreen .pdv-payment-panel{overflow-y:auto!important}

/* 1.6.86: bounded category filter for large imported catalogs. */
#d360i.d360-store .shop-category-filter{display:block;position:relative;margin:8px 0 0;max-width:360px;width:100%;z-index:12}
#d360i.d360-store .shop-category-filter details{margin:0;padding:0;border:0;background:transparent}
#d360i.d360-store .shop-category-filter summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #b6c8d8;border-radius:12px;background:#f0f5fa;color:#193b53;cursor:pointer;font-size:14px;font-weight:650}
#d360i.d360-store .shop-category-filter summary::-webkit-details-marker{display:none}
#d360i.d360-store .shop-category-filter summary:focus-visible{outline:3px solid #2f78bd;outline-offset:2px}
#d360i.d360-store [data-category-label]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
#d360i.d360-store .category-filter-chevron{margin-left:auto}
#d360i.d360-store .category-dropdown{position:absolute;top:calc(100% + 6px);left:0;width:100%;box-sizing:border-box;padding:12px;border:1px solid #b6c8d8;border-radius:12px;background:#fff;box-shadow:0 12px 32px #15364f26;z-index:30}
#d360i.d360-store .category-search-label{display:block;font-size:12px;font-weight:650;color:#486174;margin:0 0 10px}
#d360i.d360-store .category-search-label input{margin:6px 0 0;width:100%;min-height:42px;border:1px solid #b6c8d8;background:#fff;color:#193b53;font-size:16px;padding:9px 10px}
#d360i.d360-store .category-options{display:flex;flex-direction:column;gap:4px;max-height:min(260px,40dvh);overflow-y:auto;overscroll-behavior:contain}
#d360i.d360-store .category-options button{display:block;flex:none;width:100%;height:auto;min-height:40px;text-align:left;padding:9px 12px;border:1px solid transparent;border-radius:8px;background:#f4f7fa;color:#193b53;font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
#d360i.d360-store .category-options button:hover{background:#e2edf7}
#d360i.d360-store .category-options button.active{background:#194f84;color:#fff;border-color:#194f84}
#d360i.d360-store .category-dropdown [hidden]{display:none!important}
#d360i.d360-store [data-category-empty]{margin:10px 0;font-size:14px;color:#526778}
@media(max-width:600px){#d360i.d360-store .shop-category-filter{max-width:none;margin-top:6px}}

/* v1.6.88 — cabeçalho e busca permanecem visíveis no celular e desktop. */
#d360i.d360-store .shop-sticky{position:-webkit-sticky;position:sticky;top:0;z-index:150;background:#f5f8f6;padding:7px 0 9px;box-shadow:0 6px 16px #163b271a}
#d360i.d360-store .shop-sticky .shop-search{margin:7px 0 0}
#d360i.d360-store .shop-sticky .shop-search input{font-size:16px}
body.admin-bar #d360i.d360-store .shop-sticky{top:32px}
@media(max-width:782px){body.admin-bar #d360i.d360-store .shop-sticky{top:46px}}
@media(max-width:767px){
 #d360i.d360-store .shop-sticky{position:-webkit-sticky;position:sticky;top:0;margin-bottom:10px;padding:5px 0 8px}
 #d360i.d360-store .shop-sticky header{margin-bottom:5px}
 #d360i.d360-store .shop-sticky .shop-search{margin-top:5px}
 body.admin-bar #d360i.d360-store .shop-sticky{top:46px}
}
@media(max-width:600px){body.admin-bar #d360i.d360-store .shop-sticky{top:0}}


/* v1.6.89 — microfone somente na busca da vitrine do cliente. */
#d360i.d360-store .shop-search{position:relative}
#d360i.d360-store .shop-search .quick-search input{padding-right:91px}
#d360i.d360-store .shop-search .voice-search-button{position:absolute;top:5px;right:6px;display:grid;place-items:center;min-width:42px;width:42px;height:42px;min-height:42px;padding:8px;border:1px solid #bcdacf;border-radius:11px;background:#e6f5ed;color:#0a775b;box-shadow:none;z-index:2;touch-action:manipulation}
#d360i.d360-store .shop-search .voice-search-button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#d360i.d360-store .shop-search .voice-search-button:focus-visible{outline:3px solid #2d9a78;outline-offset:2px}
#d360i.d360-store .shop-search .voice-search-button.is-listening{background:#b3203a;border-color:#b3203a;color:#fff;animation:d360-mic-pulse 1.2s ease-in-out infinite}
#d360i.d360-store .shop-search .voice-search-status{display:block;font-size:12px;font-weight:600;line-height:1.4;margin:5px 6px 2px;color:#355e50}
#d360i.d360-store .shop-search .voice-search-status:empty{display:none}
@keyframes d360-mic-pulse{50%{box-shadow:0 0 0 5px rgba(179,32,58,.17)}}
@media(prefers-reduced-motion:reduce){#d360i.d360-store .shop-search .voice-search-button.is-listening{animation:none}}

/* v1.6.92 — Peso fracionado em produtos vendidos por kg */
#d360i.d360-store .product .price-by-kg{font-size:.7em;font-weight:600;color:#526979;white-space:nowrap}
#d360i.d360-store .product .weight-total{display:block;font-size:12px;font-weight:700;color:#13714b;margin-top:2px;min-height:16px}
#d360i.d360-store [data-products] .product .card-quantity input[inputmode=decimal]{width:58px;max-width:70px;min-width:49px;font-size:13px}
#d360i.d360-store [data-products] .product>button[data-action=add]{min-height:42px}

/* v1.6.94: vitrine responsiva, frações de 100 g e busca por voz somente no cabeçalho. */
#d360i.d360-store [data-products] .product{box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden}
#d360i.d360-store [data-products] .product h2{overflow-wrap:anywhere}
#d360i.d360-store [data-products] .product>button[data-action=add]{width:100%;box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;font-size:14px!important;line-height:1.25!important;padding:9px 6px!important;min-width:0;max-width:100%}
#d360i.d360-store [data-products] .product .card-quantity{width:100%;box-sizing:border-box;min-width:0}
#d360i.d360-store [data-products] .product .card-quantity input[inputmode=decimal]{flex:1 1 auto;min-width:43px;width:60px;max-width:85px}
#d360i.d360-store [data-products] .product>small.weight-total{white-space:normal;overflow:visible;text-overflow:clip;height:auto;min-height:unset;line-height:1.35;font-size:11px}
@media(max-width:767px){
 #d360i.d360-store [data-products].grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 #d360i.d360-store [data-products] .product{padding:10px 8px!important;gap:6px!important}
 #d360i.d360-store [data-products] .product h2{min-height:50px;max-height:68px;-webkit-line-clamp:4;line-height:1.3}
 #d360i.d360-store [data-products] .product>strong{font-size:16px}
 #d360i.d360-store [data-products] .product>button[data-action=add]{font-size:13px!important;min-height:40px!important}
 #d360i.d360-store [data-products] .product .card-quantity .qty-step{min-width:30px;min-height:36px}
}


/* Delivery360 1.6.98: operador configura somente a identidade visual da vitrine. */
#d360i.d360-panel .shop-appearance-settings{border:1px solid #cdded8;border-radius:16px;padding:16px;margin:18px 0;background:#f9fcfa}
#d360i.d360-panel .shop-appearance-settings legend{font-size:16px;font-weight:800;padding:0 8px;color:#183b50}
#d360i.d360-panel .shop-appearance-settings>p{font-size:13px;margin:0 0 12px}
#d360i.d360-panel .shop-appearance-settings .shop-custom-color[hidden]{display:none!important}
#d360i.d360-panel .shop-appearance-settings input[type=color]{width:86px;height:46px;padding:3px;border-radius:10px;cursor:pointer;display:block;background:#fff}
#d360i.d360-panel .shop-theme-preview{--store-primary:#176c4b;--store-hover:#12563c;--store-deep:#1c3938;--store-soft:#e9f3ed;--store-tint:#f6faf7;--store-border:#d4e6db;max-width:330px;background:var(--store-tint);border:1px solid var(--store-border);border-radius:15px;padding:12px;margin:14px 0}
#d360i.d360-panel .shop-theme-preview-head{background:var(--store-primary);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:800;border-radius:10px;padding:12px}
#d360i.d360-panel .shop-theme-preview-pill{font-size:11px;background:#fff;color:var(--store-deep);border-radius:50px;padding:5px 7px}
#d360i.d360-panel .shop-theme-preview-card{display:flex;flex-direction:column;gap:8px;padding:14px;background:#fff;border:1px solid var(--store-border);border-radius:10px;margin:10px 0}
#d360i.d360-panel .shop-theme-preview-card small{color:var(--store-primary);font-weight:800}
#d360i.d360-panel .shop-theme-preview-button{display:block;text-align:center;border-radius:9px;background:var(--store-primary);color:#fff;font-size:12px;font-weight:700;padding:10px}
#d360i.d360-panel .shop-theme-preview>small{display:block;font-size:11px;color:#546c78}
/* Não substituir cores de status (pedido, pagamento, fechado, WhatsApp ou PDV). */
#d360i.d360-store.d360-themed{background:var(--store-tint)}
#d360i.d360-store.d360-themed header{background:linear-gradient(120deg,var(--store-deep),var(--store-primary));color:#fff}
#d360i.d360-store.d360-themed h1 span,#d360i.d360-store.d360-themed .product>strong,#d360i.d360-store.d360-themed .weight-total,#d360i.d360-store.d360-themed .search-summary,#d360i.d360-store.d360-themed .bag-total{color:var(--store-primary)}
#d360i.d360-store.d360-themed .product{border-color:var(--store-border)}
#d360i.d360-store.d360-themed .product>button[data-action=add],#d360i.d360-store.d360-themed button[type=submit],#d360i.d360-store.d360-themed .bag-bar .shopping-bag:not(.has-items){background:var(--store-primary);color:#fff;border-color:var(--store-primary)}
#d360i.d360-store.d360-themed .product>button[data-action=add]:hover:not(:disabled),#d360i.d360-store.d360-themed button[type=submit]:hover:not(:disabled),#d360i.d360-store.d360-themed .bag-bar .shopping-bag:not(.has-items):hover{background:var(--store-hover);color:#fff}
#d360i.d360-store.d360-themed .shop-category-filter .category-options button.active{background:var(--store-primary);border-color:var(--store-primary);color:#fff}
#d360i.d360-store.d360-themed .shop-search .voice-search-button:not(.is-listening){background:var(--store-soft);color:var(--store-primary);border-color:var(--store-border)}
#d360i.d360-store.d360-themed .shop-sticky{background:var(--store-tint)}
#d360i.d360-store.d360-themed .shop-search input:focus-visible,#d360i.d360-store.d360-themed button:focus-visible{outline-color:var(--store-primary)}
#d360i.d360-store.d360-themed .product .card-quantity .qty-step{background:transparent;color:var(--store-deep);border:0}
#d360i.d360-store.d360-themed .card-added{color:var(--store-primary)}
@media(max-width:600px){
 #d360i.d360-store.d360-themed{background:var(--store-tint)}
 #d360i.d360-store.d360-themed header{background:#fff;color:var(--store-deep);border-color:var(--store-border)}
 #d360i.d360-store.d360-themed h1,#d360i.d360-store.d360-themed .product h2{color:var(--store-deep)}
 #d360i.d360-store.d360-themed header>.badge.store-open{background:var(--store-soft);color:var(--store-primary)}
 #d360i.d360-store.d360-themed .product>button[data-action=add]{background:var(--store-soft);border-color:var(--store-border);color:var(--store-primary)}
 #d360i.d360-store.d360-themed .product>button[data-action=add]:hover:not(:disabled){background:var(--store-border);color:var(--store-deep)}
 #d360i.d360-store.d360-themed .bag-bar .shopping-bag:not(.has-items){background:var(--store-primary)}
}


/* Delivery360 1.6.99 — fotografia integrada ao cartao, sempre sobre fundo branco.
   A regra fica restrita aos cards da vitrine; nao modifica as fotos dos cadastros no painel. */
#d360i.d360-store [data-products] .product .product-photo,
#d360i.d360-store [data-products] .product .product-photo img,
#d360i.d360-store [data-products] .product .product-photo picture,
#d360i.d360-store [data-products] .product .product-photo picture img{
 background:#fff!important;
 background-image:none!important;
 box-shadow:none;
}
#d360i.d360-store [data-products] .product .product-photo{border:0;}

/* Delivery360 1.6.99 — checkout acompanha a cor selecionada no painel do operador.
   --store-* e definido em applyStoreTheme() no elemento raiz, tanto para temas
   predefinidos quanto para a cor personalizada. Nao altera o painel nem o PDV. */
#d360i.d360-store dialog.checkout-dialog{
 --checkout-accent:var(--store-primary,#176c4b);
 --checkout-hover:var(--store-hover,#12563c);
 --checkout-soft:var(--store-soft,#e9f3ed);
 --checkout-deep:var(--store-deep,#1c3938);
 --checkout-border:var(--store-border,#d4e6db);
 accent-color:var(--checkout-accent);
}
#d360i.d360-store .checkout-dialog .checkout-progress .is-current{
 color:var(--checkout-accent);
 border-bottom-color:var(--checkout-accent);
}
#d360i.d360-store .checkout-dialog .checkout-progress .is-complete{
 border-bottom-color:var(--checkout-border);
}
#d360i.d360-store .checkout-dialog .checkout-progress .is-current span,
#d360i.d360-store .checkout-dialog .checkout-progress .is-complete span{
 background:var(--checkout-accent);
 color:#fff;
}
#d360i.d360-store .checkout-dialog .checkout-step>small,
#d360i.d360-store .checkout-dialog .checkout-step h3{
 color:var(--checkout-deep);
}
#d360i.d360-store .checkout-dialog .checkout-choices button[aria-pressed=true],
#d360i.d360-store .checkout-dialog .checkout-choices button[aria-pressed=true]:hover{
 background:var(--checkout-soft);
 color:var(--checkout-deep);
 border-color:var(--checkout-accent);
}
#d360i.d360-store .checkout-dialog .checkout-choices button:hover:not([aria-pressed=true]):not(:disabled){
 background:var(--checkout-soft);
 border-color:var(--checkout-border);
 color:var(--checkout-deep);
}
#d360i.d360-store .checkout-dialog .checkout-choices button:focus-visible,
#d360i.d360-store .checkout-dialog input:focus-visible,
#d360i.d360-store .checkout-dialog select:focus-visible,
#d360i.d360-store .checkout-dialog textarea:focus-visible,
#d360i.d360-store .checkout-dialog button:focus-visible{
 outline:2px solid var(--checkout-accent);
 outline-offset:2px;
}
#d360i.d360-store .checkout-dialog .checkout-only-option,
#d360i.d360-store .checkout-dialog .checkout-pickup,
#d360i.d360-store .checkout-dialog #payment-guidance{
 background:var(--checkout-soft);
 color:var(--checkout-deep);
 border-color:var(--checkout-border);
}
#d360i.d360-store .checkout-dialog .checkout-summary{
 border-color:var(--checkout-border);
}
#d360i.d360-store .checkout-dialog .checkout-footer-total strong,
#d360i.d360-store .checkout-dialog #checkout-total>strong{
 color:var(--checkout-accent);
}
#d360i.d360-store .checkout-dialog .actions button[type=submit]{
 background:var(--checkout-accent);
 border-color:var(--checkout-accent);
 color:white;
}
#d360i.d360-store .checkout-dialog .actions button[type=submit]:hover:not(:disabled){
 background:var(--checkout-hover);
 border-color:var(--checkout-hover);
 color:white;
}
#d360i.d360-store .checkout-dialog .actions .checkout-back,
#d360i.d360-store .checkout-dialog .actions button[data-action=cancel]{
 background:var(--checkout-soft);
 color:var(--checkout-deep);
 border-color:var(--checkout-border);
}
#d360i.d360-store .checkout-dialog .actions .checkout-back:hover:not(:disabled),
#d360i.d360-store .checkout-dialog .actions button[data-action=cancel]:hover:not(:disabled){
 background:var(--checkout-border);
}

/* v1.6.101 — mesmo botão de compra para todos os produtos (unidade ou kg). */
#d360i.d360-store [data-products] .product>button[data-action="add"]{
 display:flex!important;align-items:center;justify-content:center;gap:7px;
 white-space:nowrap!important;min-width:0;min-height:44px!important;
 text-align:center;line-height:1.2!important;
}
#d360i.d360-store [data-products] .product>button[data-action="add"] .d360-add-cart-icon{
 display:block;width:18px;height:18px;flex:0 0 18px;stroke:currentColor;
}
#d360i.d360-store [data-products] .product>button[data-action="add"] span{
 display:inline;white-space:nowrap;
}
@media(max-width:390px){
 #d360i.d360-store [data-products] .product>button[data-action="add"]{gap:5px;padding:8px 4px!important;font-size:12px!important}
 #d360i.d360-store [data-products] .product>button[data-action="add"] .d360-add-cart-icon{width:16px;height:16px;flex-basis:16px}
}


/* v1.6.104 — painel desktop e mobile seguem a identidade configurada da loja. */
/* Não altera estados dos pedidos, alertas, WhatsApp, pagamento ou PDV. */
body.d360-clean:has(#d360i.d360-panel-themed):not(.d360-pdv-active){background:var(--d360-panel-bg,#f6f9f8)}
#d360i.d360-panel-themed{--d360-panel-shadow:0 8px 26px #172b3a0d}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>header{background:linear-gradient(115deg,var(--store-deep),var(--store-primary));border-color:var(--store-border);color:#fff;box-shadow:var(--d360-panel-shadow)}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>header .platform-name span{color:#fff}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>header .header-controls .badge{background:var(--store-soft);color:var(--store-deep)}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>nav{border-color:var(--store-border);box-shadow:0 3px 15px #142a3210}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>nav button[data-view].active{background:var(--store-primary);color:#fff;border-color:var(--store-primary)}
#d360i.d360-panel-themed:not(.d360-pdv-root)>main>nav button[data-view].active:hover{background:var(--store-hover);color:#fff}
#d360i.d360-panel-themed:not(.d360-pdv-root) .cash-tabs button.active{background:var(--store-primary);border-color:var(--store-primary);color:#fff}
#d360i.d360-panel-themed:not(.d360-pdv-root) .cash-tabs button.active:hover{background:var(--store-hover);color:#fff}
#d360i.d360-panel-themed:not(.d360-pdv-root) .cash-total-card,#d360i.d360-panel-themed:not(.d360-pdv-root) .cash-total-card strong{color:var(--store-primary)}
#d360i.d360-panel-themed:not(.d360-pdv-root) .shop-appearance-settings{background:var(--store-tint);border-color:var(--store-border)}
#d360i.d360-panel-themed:not(.d360-pdv-root) .shop-appearance-settings legend{color:var(--store-deep)}
#d360i.d360-panel-themed:not(.d360-pdv-root) button[type=submit]:not(:disabled){background:var(--store-primary);color:#fff;border-color:var(--store-primary)}
#d360i.d360-panel-themed:not(.d360-pdv-root) button[type=submit]:hover:not(:disabled){background:var(--store-hover)}
#d360i.d360-panel-themed:not(.d360-pdv-root) input:focus-visible,#d360i.d360-panel-themed:not(.d360-pdv-root) select:focus-visible,#d360i.d360-panel-themed:not(.d360-pdv-root) textarea:focus-visible{outline-color:var(--store-primary)}


/* Delivery360 1.6.105 — PDV com a paleta salva em Config > Aparência da loja.
   A cor é resolvida por applyStoreTheme() no próprio #d360i, inclusive para
   cores personalizadas. Estilo exclusivo do PDV; não modifica vendas/atalhos,
   status operacionais, troco ou indicações de erro. */
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen{
 --pdv-accent:var(--store-primary,#176c4b);
 --pdv-hover:var(--store-hover,#12563c);
 --pdv-deep:var(--store-deep,#1c3938);
 --pdv-soft:var(--store-soft,#e9f3ed);
 --pdv-border:var(--store-border,#d4e6db);
 --pdv-tint:var(--store-tint,#f6faf7);
 background:var(--pdv-tint);
}
/* Faixa superior e contadores; os textos permanecem brancos sobre fundo escuro. */
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-topbar{
 background:linear-gradient(110deg,var(--pdv-deep),var(--pdv-accent));
 border-bottom:3px solid var(--pdv-accent);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-topbar .pdv-eyebrow,
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-topbar small{
 color:#f1f5f9;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-exit{
 background:rgba(255,255,255,.13);
 border-color:rgba(255,255,255,.40);
 color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-exit:hover:not(:disabled){background:rgba(255,255,255,.24);color:#fff}
/* Área de busca: clara, com destaque visual seguindo o tema. */
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-catalog{
 background:var(--pdv-tint);border-right-color:var(--pdv-border);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-section-icon{
 background:var(--pdv-soft);color:var(--pdv-deep);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen [data-pdv-search]{border-color:var(--pdv-border)}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen [data-pdv-search]:focus{
 border-color:var(--pdv-accent);outline:3px solid var(--pdv-border);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen #pdv-search-form>button{
 background:var(--pdv-accent);border-color:var(--pdv-accent);color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen #pdv-search-form>button:hover:not(:disabled){
 background:var(--pdv-hover);border-color:var(--pdv-hover);color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-results>button{border-left-color:var(--pdv-accent)}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-item-count{
 background:var(--pdv-soft);color:var(--pdv-deep);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-list-head{
 background:var(--pdv-soft);color:var(--pdv-deep);border-bottom-color:var(--pdv-border);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-lines article{
 border-bottom-color:var(--pdv-border)!important;
}
/* Painel de pagamento: tom escuro da marca; textos numéricos sempre claros. */
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-panel{
 background:linear-gradient(160deg,var(--pdv-deep),color-mix(in srgb,var(--pdv-deep) 73%,#101922));color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-title .pdv-eyebrow{
 color:#e2e8f0;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-grand-total,
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-cash-panel{
 background:color-mix(in srgb,var(--pdv-deep) 64%,#101922);
 border-color:rgba(255,255,255,.28);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-due-fixed{
 border-bottom-color:rgba(255,255,255,.25);color:#eef3f7;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-choices button{
 background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.35);color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-choices button:hover:not(.active){background:rgba(255,255,255,.22);color:#fff}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-choices button.active{
 background:var(--pdv-soft);color:var(--pdv-deep);border-color:var(--pdv-accent);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-top .actions{
 background:var(--pdv-deep);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-top .actions [data-action=pdv_pay]{
 background:var(--pdv-accent);border-color:var(--pdv-accent);color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-top .actions [data-action=pdv_pay]:hover:not(:disabled){
 background:var(--pdv-hover);border-color:var(--pdv-hover);color:#fff;
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen [data-pdv-cash]:focus{
 outline:3px solid var(--pdv-accent);outline-offset:2px;
}
/* Cores semânticas preservadas: troco positivo (verde), valor insuficiente
   (amarelo), remover/limpar venda (vermelho). */

/* Limpar venda continua uma ação secundária (neutra, não é confirmação de pagamento). */
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-top .actions [data-action=pdv_clear]{
 background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.34);
}
body.d360-pdv-active #d360i.d360-panel-themed.d360-pdv-root .pdv-fullscreen .pdv-payment-top .actions [data-action=pdv_clear]:hover:not(:disabled){background:rgba(255,255,255,.24);color:#fff}

/* Delivery360 Pizzaria 1.6.106 — apenas quando o módulo é usado. */
.d360-pizza-settings {max-width:880px;margin:0 auto 30px;padding:16px;background:var(--panel,#fff);border:1px solid #dfe5e7;border-radius:16px;color:inherit}
.d360-pizza-settings h2{margin:6px 0 12px}.d360-pizza-settings fieldset{border:1px solid #e1e7eb;border-radius:12px;padding:12px;margin:16px 0}
.d360-pizza-settings textarea{display:block;width:100%;min-height:82px;font:13px/1.5 ui-monospace,Consolas,monospace;border-radius:8px;margin-top:7px}
.d360-pizza-settings label{display:block;margin:12px 0;font-weight:600}.d360-pizza-settings label.choice{display:flex;align-items:center;gap:8px;font-weight:500}
.d360-pizza-size{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-bottom:1px solid #e6e9ee}
.d360-pizza-size select,.d360-pizza-settings select{padding:8px;max-width:100%}.d360-pizza-settings small{display:block;font-weight:400;color:#64748b}
.d360-pizza-save{margin:12px 0;padding:12px 16px}.d360-pizza-error{color:#b91c1c}
.d360-pizza-builder{display:grid;gap:12px}.d360-pizza-builder label{display:grid;gap:6px}.d360-pizza-builder fieldset{border:1px solid #e1e7eb;border-radius:12px;padding:10px}
.d360-pizza-builder fieldset label.choice{display:flex;align-items:center;gap:9px;padding:6px 0}.d360-pizza-flavors{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.d360-pizza-builder [hidden]{display:none!important}.d360-pizza-total{padding:14px;border-radius:10px;background:#e8f8f0;font-size:20px;font-weight:800;color:#146c43}
.d360-pizza-total.invalid{background:#fff1f2;color:#9f1239}
@media(max-width:650px){.d360-pizza-settings{padding:12px}.d360-pizza-flavors{grid-template-columns:1fr}}

/* Delivery360 1.6.108: vitrine exclusiva de pizzaria, mantendo a paleta da loja. */
#d360i.d360-pizzeria-store .d360-pizzeria-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin:18px 0;padding:24px 30px;border-radius:20px;color:#fff;background:linear-gradient(125deg,var(--store-deep,#793b20),var(--store-primary,#b95617));box-shadow:0 12px 28px rgba(50,42,31,.13)}
#d360i.d360-pizzeria-store .d360-pizzeria-hero span{font-size:12px;font-weight:800;letter-spacing:.1em;color:rgba(255,255,255,.87)}
#d360i.d360-pizzeria-store .d360-pizzeria-hero h1{margin:8px 0;font-size:clamp(26px,4vw,42px);line-height:1.1;color:#fff}
#d360i.d360-pizzeria-store .d360-pizzeria-hero p{margin:0 0 10px;max-width:560px;line-height:1.6;color:#fff}
#d360i.d360-pizzeria-store .d360-pizzeria-hero small{color:rgba(255,255,255,.9)}
#d360i.d360-pizzeria-store .d360-pizzeria-hero-icon{font-size:clamp(72px,10vw,132px);line-height:1;filter:drop-shadow(0 8px 7px rgba(0,0,0,.14))}
#d360i.d360-pizzeria-store .d360-pizzeria-section-title{display:flex;gap:14px;align-items:end;justify-content:space-between;margin:22px 0 15px}
#d360i.d360-pizzeria-store .d360-pizzeria-section-title small{color:var(--store-primary,#b95617);font-weight:800;letter-spacing:.06em}
#d360i.d360-pizzeria-store .d360-pizzeria-section-title h2{font-size:clamp(21px,2.7vw,29px);margin:4px 0;color:#253347}
#d360i.d360-pizzeria-store .d360-pizzeria-section-title>span{color:#64748b;font-size:13px}
#d360i.d360-pizzeria-store [data-products]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#d360i.d360-pizzeria-store .d360-pizzeria-size-card{display:grid;grid-template-columns:128px minmax(0,1fr);gap:18px;background:#fff;border:1px solid var(--store-border,#eadaca);border-radius:18px;padding:17px;box-shadow:0 7px 25px rgba(32,34,44,.045);min-width:0}
#d360i.d360-pizzeria-store .d360-pizzeria-card-art{display:flex;align-items:center;justify-content:center;background:var(--store-soft,#fff0e5);border-radius:14px;font-size:70px;min-height:148px}
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy{min-width:0;display:flex;flex-direction:column;align-items:stretch}
#d360i.d360-pizzeria-store .d360-pizzeria-tag{font-size:10px;font-weight:800;letter-spacing:.11em;color:var(--store-primary,#9b4b24)}
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy h2{font-size:23px;color:#233047;margin:5px 0}
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy p{color:#3d4754;margin:4px 0;font-size:14px}
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy small{color:#6b7789;line-height:1.45;display:block;margin-bottom:14px}
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom{margin-top:auto;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom strong{font-size:18px;color:var(--store-primary,#b95617)}
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom button{background:var(--store-primary,#b95617);border:0;border-radius:10px;color:white;padding:11px 16px;cursor:pointer;font-weight:800}
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom button:disabled{opacity:.5;cursor:not-allowed}
#d360i.d360-pizzeria-store .d360-pizzeria-empty{grid-column:1/-1;border:1px dashed #ddd;border-radius:12px;padding:24px;color:#64748b;text-align:center}
@media(max-width:850px){#d360i.d360-pizzeria-store [data-products]{grid-template-columns:1fr}}
@media(max-width:650px){#d360i.d360-pizzeria-store .d360-pizzeria-hero{padding:20px;grid-template-columns:1fr auto;gap:3px;margin:10px 0 14px}#d360i.d360-pizzeria-store .d360-pizzeria-hero-icon{font-size:54px}#d360i.d360-pizzeria-store .d360-pizzeria-hero p{font-size:13px}#d360i.d360-pizzeria-store .d360-pizzeria-section-title>span{display:none}#d360i.d360-pizzeria-store .d360-pizzeria-size-card{grid-template-columns:82px minmax(0,1fr);gap:11px;padding:12px}#d360i.d360-pizzeria-store .d360-pizzeria-card-art{min-height:116px;font-size:42px}#d360i.d360-pizzeria-store .d360-pizzeria-card-copy h2{font-size:19px}#d360i.d360-pizzeria-store .d360-pizzeria-card-copy p{font-size:12px}#d360i.d360-pizzeria-store .d360-pizzeria-card-copy small{font-size:11px;margin-bottom:8px}#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom strong{font-size:16px}#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom button{padding:9px 11px;font-size:12px}}


/* Delivery360 1.6.109 — responsividade EXCLUSIVA do modo vitrine Pizzaria.
   Não altera os seletores do catálogo/checkout de supermercado ou do PDV. */
#d360i.d360-pizzeria-store .d360-pizzeria-size-card,
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy,
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom,
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog *,
#d360i.d360-pizzeria-store dialog.checkout-dialog * {min-width:0}
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy h2,
#d360i.d360-pizzeria-store .d360-pizzeria-card-copy small{overflow-wrap:anywhere}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:100%}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder select,
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder input:not([type=checkbox]),
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder textarea{display:block;max-width:100%;width:100%}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-flavors{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:10px}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder fieldset{min-width:0}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder .choice{overflow-wrap:anywhere}
#d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-total{overflow-wrap:anywhere}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-summary,
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-content,
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-step,
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-review{min-width:0;max-width:100%;overflow-wrap:anywhere}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items .line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:start}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items .line strong{min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.45}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items .line span{min-width:0;white-space:nowrap;font-weight:800}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items .line button{grid-column:1/-1;justify-self:start;padding:8px 12px}
#d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-review p{overflow-wrap:anywhere;word-break:normal}
@media(max-width:760px){
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog,
 #d360i.d360-pizzeria-store dialog.checkout-dialog{
   position:fixed;inset:0;width:100vw;max-width:100vw;min-width:0;
   height:100dvh;max-height:100dvh;margin:0;padding:0;
   border:0;border-radius:0;overflow-x:hidden;overflow-y:auto;
   overscroll-behavior:contain;background:#fff;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form,
 #d360i.d360-pizzeria-store dialog.checkout-dialog form{
   min-height:100%;min-width:0;padding:16px 14px 0;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>h2,
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>h2{
   font-size:20px;line-height:1.25;margin:0 0 14px;overflow-wrap:anywhere;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog label,
 #d360i.d360-pizzeria-store dialog.checkout-dialog label{max-width:100%;white-space:normal}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog input,
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog select,
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog textarea,
 #d360i.d360-pizzeria-store dialog.checkout-dialog input,
 #d360i.d360-pizzeria-store dialog.checkout-dialog select,
 #d360i.d360-pizzeria-store dialog.checkout-dialog textarea{
   max-width:100%;font-size:16px;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-flavors{grid-template-columns:minmax(0,1fr)}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder fieldset{padding:10px}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder fieldset label.choice{align-items:flex-start;line-height:1.45;gap:9px}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-builder fieldset input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin-top:2px}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog .d360-pizza-total{padding:12px;margin:4px 0 12px;font-size:19px}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>.actions,
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions{
   position:sticky;bottom:0;z-index:5;
   margin:16px -14px 0;
   padding:12px 14px calc(12px + env(safe-area-inset-bottom));
   background:#fff;border-top:1px solid var(--store-border,#e4e9ef);
   box-shadow:0 -5px 20px rgba(25,40,55,.07);
   gap:8px;min-width:0;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>.actions{
   display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>.actions button{
   display:block;width:100%;min-width:0;margin:0;white-space:normal;min-height:48px;padding:10px 7px;font-size:13px;line-height:1.3;
 }
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>.actions button[type=submit]{grid-column:1;grid-row:1;background:var(--store-primary,#087d69)}
 #d360i.d360-pizzeria-store dialog.d360-pizza-dialog form>.actions button[data-action=cancel]{grid-column:2;grid-row:1;background:var(--store-soft,#edf4ef);color:var(--store-deep,#244b37)}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-progress{gap:5px;flex-wrap:nowrap;margin:0 0 14px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-progress li{
   min-width:0;flex:1;gap:4px;font-size:11px;line-height:1.2;padding-bottom:9px;
 }
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-progress li span{width:22px;height:22px;flex:0 0 22px;font-size:11px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-layout{
   display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;flex:1;
 }
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-content,
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-summary{width:100%;min-width:0;max-width:100%;padding:12px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-content{padding:0}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-step h3{font-size:20px;margin-bottom:12px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-choices button{
   width:100%;min-width:0;padding:10px 6px;min-height:52px;font-size:13px;overflow-wrap:anywhere;white-space:normal;
 }
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items{margin:0 0 4px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-items .line{padding:9px 0}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-summary{margin:0 0 10px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-footer-total{min-width:0;grid-column:1/-1;grid-row:1;display:flex;justify-content:space-between;align-items:center;gap:8px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-footer-total strong{font-size:20px;overflow-wrap:anywhere;text-align:right}
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions button{min-width:0;min-height:48px;white-space:normal;line-height:1.2;margin:0}
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions button[type=submit]{grid-column:2!important;grid-row:2!important;padding:10px 7px;font-size:13px}
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions .checkout-back,
 #d360i.d360-pizzeria-store dialog.checkout-dialog form>.actions button[data-action=cancel]{grid-column:1!important;grid-row:2!important;padding:10px 7px;font-size:12px;max-width:none!important}
}
@media(max-width:380px){
 #d360i.d360-pizzeria-store .d360-pizzeria-size-card{grid-template-columns:minmax(0,1fr)}
 #d360i.d360-pizzeria-store .d360-pizzeria-card-art{min-height:100px;font-size:50px}
 #d360i.d360-pizzeria-store .d360-pizzeria-card-bottom{display:grid;grid-template-columns:minmax(0,1fr)}
 #d360i.d360-pizzeria-store .d360-pizzeria-card-bottom button{width:100%}
 #d360i.d360-pizzeria-store dialog.checkout-dialog .checkout-progress li{font-size:10px}
}


/* Delivery360 1.6.110: Um card por sabor + foto apenas na vitrine PIZZARIA.
   NENHUMA regra geral do supermercado e do PDV e substituida. */
#d360i.d360-pizzeria-store [data-products]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card{min-width:0;display:grid;grid-template-columns:145px minmax(0,1fr);gap:15px;align-items:start;background:#fff;border:1px solid var(--store-border,#eadaca);border-radius:18px;padding:12px;box-shadow:0 6px 20px rgba(30,28,25,.06)}
#d360i.d360-pizzeria-store .d360-pizzeria-card-photo{width:100%;min-height:145px;overflow:hidden;background:#fff7ef;border-radius:12px;display:flex;justify-content:center;align-items:center;font-size:50px}
#d360i.d360-pizzeria-store .d360-pizzeria-card-photo img{display:block;width:100%;height:100%;min-height:145px;object-fit:cover;object-position:center}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy h2{font-size:20px;margin:2px 0 4px;line-height:1.2;overflow-wrap:anywhere}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy p{font-size:13px;line-height:1.38;margin:1px 0 8px}
#d360i.d360-pizzeria-store .d360-pizzeria-size-select{font-size:12px;color:#596579;display:block;min-width:0}
#d360i.d360-pizzeria-store .d360-pizzeria-size-select select{display:block;width:100%;max-width:100%;min-width:0;margin-top:4px;padding:9px 11px;line-height:1.2;background:#fff;color:#243047;border:1px solid #d7dce3;border-radius:9px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom{display:grid;grid-template-columns:1fr;gap:9px;align-items:stretch;margin-top:8px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom button{display:block;width:100%;min-height:43px;font-size:13px;white-space:normal}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom strong{font-size:19px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-image-credit{font-size:9px;color:#717886;margin-top:5px}
#d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-image-credit a{color:inherit}
@media(max-width:900px){#d360i.d360-pizzeria-store [data-products]{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){
 #d360i.d360-pizzeria-store [data-products]{grid-template-columns:minmax(0,1fr);gap:12px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card{grid-template-columns:116px minmax(0,1fr);padding:10px;gap:11px;border-radius:14px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-photo{min-height:116px;height:130px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-photo img{min-height:116px;height:130px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy h2{font-size:17px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy p{font-size:12px;margin:0 0 4px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-size-select select{font-size:12px;padding:8px 7px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom strong{font-size:17px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom button{min-height:40px}
}
@media(max-width:380px){
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card{grid-template-columns:94px minmax(0,1fr);gap:9px}
 #d360i.d360-pizzeria-store .d360-pizzeria-card-photo{min-height:100px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy h2{font-size:16px}
}

/* v1.6.111 — diagnóstico e ativação em um clique, somente aba Pizzaria */
#d360i .d360-pizza-mode-status{margin:12px 0 18px;padding:15px;border-radius:13px;background:#fff5eb;border:1px solid #eccba4;color:#4a2e1a}
#d360i .d360-pizza-mode-status strong{display:block;font-size:15px;line-height:1.35}
#d360i .d360-pizza-mode-status p{margin:8px 0 12px;font-size:13px;line-height:1.45}
#d360i .d360-pizza-mode-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
#d360i .d360-pizza-mode-actions button{border:0;border-radius:9px;padding:12px 16px;font-weight:800;background:#bb4a0b;color:#fff;cursor:pointer}
#d360i .d360-pizza-mode-actions a{color:#6d3618;font-weight:750;padding:8px;text-decoration:underline}
@media(max-width:500px){#d360i .d360-pizza-mode-actions{display:grid;grid-template-columns:minmax(0,1fr)}#d360i .d360-pizza-mode-actions button{width:100%;white-space:normal}}
/* Apenas no cardápio Pizzaria: uma pizza por linha e espaço de rolagem acima do rodapé fixo. */
@media(max-width:900px){#d360i.d360-pizzeria-store [data-products]{grid-template-columns:minmax(0,1fr)!important}}
#d360i.d360-pizzeria-store main{padding-bottom:110px}
#d360i.d360-pizzeria-store .d360-pizzeria-card-bottom button{font-size:14px;min-height:46px}


/* v1.6.112 — CARDÁPIO PIZZARIA MOBILE: foto acima das informações.
   Escopo restrito à vitrine Pizzaria; não altera cards de supermercado,
   layout do PDV ou checkout existente. */
#d360i.d360-pizzeria-store .d360-pizzeria-card-price{display:flex;flex-direction:column;gap:2px;min-width:0}
#d360i.d360-pizzeria-store .d360-pizzeria-card-price span{font-size:12px;color:var(--store-deep,#465266);font-weight:600}
#d360i.d360-pizzeria-store .d360-pizzeria-card-price strong{font-size:21px;font-weight:850;line-height:1.15;color:var(--store-primary,#a94e17)}
@media(max-width:700px){
 #d360i.d360-pizzeria-store [data-products]{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;min-width:0;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card{
  width:100%;min-width:0;max-width:100%;display:grid;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto;gap:0!important;padding:0!important;
  overflow:hidden;border-radius:17px;
  border:1px solid var(--store-border,#eadaca);
  background:#fff;box-shadow:0 5px 16px rgba(30,28,25,.08);
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-photo{
  display:block;width:100%;height:auto!important;min-height:0!important;
  max-height:none!important;aspect-ratio:16/9;margin:0;
  padding:0;border-radius:0!important;overflow:hidden;
  background:var(--store-soft,#fff7f1);
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-photo img{
  display:block;width:100%;height:100%!important;min-height:0!important;
  max-height:none!important;object-fit:cover;object-position:center;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy{
  min-width:0;padding:15px 15px 16px;display:flex;flex-direction:column;gap:6px;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy h2{
  margin:0;font-size:20px;line-height:1.24;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-copy p{
  margin:0 0 4px;font-size:13px;line-height:1.45;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-size-select{font-size:13px;margin-top:3px}
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-size-select select{
  width:100%;max-width:100%;font-size:15px;min-height:46px;padding:9px 12px;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom{
  display:grid;grid-template-columns:minmax(0,1fr)!important;gap:11px;margin-top:7px;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-card-bottom button{
  display:block;width:100%;max-width:100%;min-height:50px;
  padding:12px;font-size:15px;font-weight:800;line-height:1.25;
  white-space:normal;border-radius:11px;
 }
 #d360i.d360-pizzeria-store .d360-pizzeria-flavor-card .d360-pizzeria-image-credit{font-size:10px;line-height:1.3}
}


/* v1.6.113 — Um sabor por linha, independentemente de viewport virtual/cache
   de layouts anteriores. SOMENTE #d360i.d360-pizzeria-store; o supermercado
   e o PDV continuam com todas as regras existentes. */
#d360i.d360-pizzeria-store [data-products].grid{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 width:100%;max-width:720px;margin:0 auto;gap:18px!important;
 min-width:0;
}
#d360i.d360-pizzeria-store [data-products] > .d360-pizzeria-flavor-card{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 width:100%;max-width:100%;min-width:0;overflow:hidden;gap:0!important;
 padding:0!important;margin:0!important;border-radius:17px;
 background:#fff;border:1px solid var(--store-border,#eadaca);
 box-shadow:0 5px 17px rgba(20,30,40,.09);
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-photo{
 width:100%!important;height:auto!important;min-height:0!important;
 max-height:none!important;aspect-ratio:16 / 9;flex:0 0 auto;
 padding:0!important;margin:0!important;border-radius:0!important;
 overflow:hidden;display:block!important;background:#fff8f2;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-photo img{
 display:block;width:100%!important;height:100%!important;
 min-height:0!important;max-height:none!important;object-fit:cover!important;
 object-position:center;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-copy{
 display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px!important;min-width:0;width:100%!important;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-copy h2{
 font-size:21px;line-height:1.25;margin:0;overflow-wrap:anywhere;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-copy p{
 font-size:14px;line-height:1.45;margin:0;color:#495667;overflow-wrap:anywhere;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-size-select{display:block;margin:5px 0 0}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-size-select select{
 display:block;width:100%;min-width:0;max-width:100%;min-height:45px;font-size:15px;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-bottom{
 display:grid;grid-template-columns:minmax(0,1fr)!important;gap:12px;margin-top:5px;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-bottom button{
 width:100%!important;min-height:48px!important;font-size:15px!important;
 white-space:normal!important;line-height:1.25!important;
}
/* Espaço real ao fim da lista para o rodapé fixo não encobrir o último pedido. */
#d360i.d360-store.d360-pizzeria-store main{
 padding-bottom:calc(165px + env(safe-area-inset-bottom))!important;
 scroll-padding-bottom:calc(165px + env(safe-area-inset-bottom));
}
#d360i.d360-store.d360-pizzeria-store .d360-shop-footer{
 gap:4px!important;padding:5px 6px calc(5px + env(safe-area-inset-bottom))!important;
}
#d360i.d360-store.d360-pizzeria-store .d360-shop-footer>button,
#d360i.d360-store.d360-pizzeria-store .d360-shop-footer>a{
 min-height:55px!important;padding:4px 2px!important;gap:2px!important;
}
@media(max-width:480px){
 #d360i.d360-pizzeria-store [data-products].grid{gap:14px!important}
 #d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-copy{padding:14px!important}
 #d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-copy h2{font-size:20px}
 #d360i.d360-pizzeria-store .d360-pizzeria-hero{padding:16px!important}
}

/* v1.6.114 — exclusivo do cardápio Pizzaria. O supermercado não recebe estas regras. */
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-featured-price{
 display:flex;flex-direction:column;gap:3px;align-items:flex-start;
 border:1px solid var(--store-border,#eadaca);border-radius:13px;
 background:var(--store-soft,#fff6ed);padding:13px 15px;margin:8px 0 4px;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-featured-price>span{
 font-size:12px;font-weight:800;letter-spacing:.045em;color:var(--store-primary,#b95617);
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-featured-price>strong{
 font-size:27px;font-weight:850;line-height:1.14;color:var(--store-primary,#b95617);
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-featured-price>small{
 font-size:11px;line-height:1.35;color:#536071;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-price{
 display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;
 padding:5px 0 1px;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-price>span{
 font-size:12px;color:#526072;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-price>strong{
 font-size:17px;color:#253247;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
 gap:9px!important;width:100%;min-width:0;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions>button{
 display:flex!important;justify-content:center;align-items:center;min-width:0;
 width:100%!important;max-width:none!important;min-height:51px!important;
 padding:9px 6px!important;border-radius:11px!important;
 font-size:13px!important;line-height:1.25!important;font-weight:750!important;
 text-align:center;white-space:normal!important;overflow-wrap:break-word;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions>.d360-pizzeria-add-flavor{
 background:transparent!important;color:var(--store-primary,#b95617)!important;
 border:2px solid var(--store-primary,#b95617)!important;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions>.d360-pizzeria-add-cart{
 background:var(--store-primary,#b95617)!important;color:#fff!important;
 border:2px solid transparent!important;
}
#d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions>button:disabled{
 opacity:.55;cursor:not-allowed;
}
@media(max-width:370px){
 #d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions{gap:6px!important}
 #d360i.d360-pizzeria-store [data-products] .d360-pizzeria-card-actions>button{font-size:12px!important;min-height:56px!important}
 #d360i.d360-pizzeria-store [data-products] .d360-pizzeria-featured-price>strong{font-size:25px}
}
