/* Carrinho inspirado na referência: superfícies claras, verde e controles compactos. */
.tpcartinfo.tp-cart-info-area{--cart-color:#078b46;--cart-ink:#101d43;--cart-muted:#627295;width:640px;max-width:100vw;height:100dvh;background:#f7f9fc;color:var(--cart-ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.tpcart,.tpcart *{box-sizing:border-box}
.tpcart .tpcart__header-mobile{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:24px 20px 20px;background:transparent;border:0}
.tpcart .df-cart-heading{flex:1;min-width:0}
.tpcart .tpcart__title{font-family:inherit;font-size:29px;letter-spacing:-.8px;font-weight:750;line-height:1.2;text-transform:none;color:var(--cart-ink);padding:0;margin:0;background:none}
.df-cart-subtitle{display:flex;align-items:center;gap:8px;margin-top:5px;color:var(--cart-color)}
#dfCartCount{font-size:15px;line-height:1.4;color:var(--cart-muted)}
.tpcart .tpcart__close{position:static;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:0;width:auto;height:auto;margin:0;font-family:inherit;text-transform:none;cursor:pointer}
.tpcart .df-cart-back{flex-shrink:0;width:38px;height:44px;padding:0;font-size:32px;color:var(--cart-ink);background:none;border:0}
.tpcart .df-cart-add{flex-shrink:0;min-height:44px;padding:7px 15px;border:1px solid #cfebde;border-radius:28px;background:#fff;box-shadow:0 2px 5px #123a2010;font-size:14px;font-weight:650;color:var(--cart-color)}
.df-cart-add>span{font-size:27px;line-height:1}
.tpcart .tpcart__product{padding:0 16px;min-height:0}
.tpcart .tpcart__product-list{padding:0 0 8px;scrollbar-width:thin;scrollbar-color:#d5dee9 transparent}
.tpcart .df-cart-card{display:grid;grid-template-columns:100px minmax(0,1fr) 178px;align-items:start;gap:16px;padding:13px;margin:0 0 8px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 4px #17223808}
.df-cart-photo{display:block;width:100px;height:100px;object-fit:contain;border:1px solid #edf0f5;border-radius:13px;background:#fff}
.df-cart-info{min-width:0;display:flex;flex-direction:column;gap:3px}
.df-cart-name{font-size:17px;font-weight:700;line-height:1.3;letter-spacing:-.4px;overflow-wrap:anywhere;color:var(--cart-ink)}
.df-cart-info>small{font-size:18px;line-height:1.4;color:var(--cart-color);font-weight:700}
.df-cart-info>small>span{font-size:15px;font-weight:450}
.df-cart-info .df-cart-details{padding:0;margin:0}
.tpcart .df-cart-details li{font-size:12px;color:var(--cart-muted);padding:2px 0;border:0;line-height:1.4}
.df-cart-details:empty{display:none}
.df-cart-note{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.4;color:var(--cart-muted);margin:2px 0}
.df-cart-controls{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:14px 10px;padding-top:2px}
.df-cart-quantity{display:flex;align-items:center;justify-content:space-between;border:1px solid #edf0f5;border-radius:16px;overflow:hidden;height:42px}
.df-cart-quantity button{flex-shrink:0;width:40px;height:40px;background:#f1f4f8;color:#61708e;font-family:inherit;font-weight:500;line-height:1;border:0;border-radius:14px;font-size:25px;cursor:pointer}
.df-cart-quantity strong{flex:1;min-width:24px;text-align:center;font-size:17px;color:var(--cart-ink)}
.df-cart-quantity button:last-child{background:#e6f5ee;color:var(--cart-color)}
.df-cart-remove{display:flex;align-items:center;justify-content:center;min-height:44px;width:30px;padding:0;border:0;background:transparent;color:#ff2929;cursor:pointer}
.df-cart-line-total{grid-column:1/-1;text-align:right;font-size:20px;color:var(--cart-color);line-height:1.5;white-space:nowrap}
.df-cart-actions{margin-top:4px}
.df-cart-actions button{display:flex;align-items:center;gap:7px;width:100%;min-height:34px;border:1px solid #dbe3ef;border-radius:8px;padding:5px 11px;background:#fff;color:#536589;font-family:inherit;font-size:13px;text-align:left;cursor:pointer}
.df-cart-edit,.df-cart-confirm,.df-cart-error{grid-column:1/-1;padding:12px;background:#f7f9fc;border-radius:12px;font-size:13px}
.df-cart-edit label{display:block;font-weight:650}
.df-cart-edit textarea{display:block;width:100%;min-height:80px;margin:8px 0;border:1px solid #dce5f1;border-radius:10px;padding:10px;font-family:inherit;font-size:14px;background:#fff;color:var(--cart-ink)}
.df-cart-edit button,.df-cart-confirm button{min-height:40px;border:1px solid #dce5f1;border-radius:8px;padding:6px 12px;margin-right:6px;background:#fff;color:var(--cart-color);font-size:13px;cursor:pointer}
.df-cart-confirm button[data-cart-action=confirmar]{color:#c6283d;border-color:#ffd8df}
.df-cart-confirm p{font-size:14px;color:var(--cart-ink);margin:0 0 10px}
.df-cart-error{color:#b42338;margin:0}
.tpcart [hidden]{display:none!important}
.tpcart button:disabled{opacity:.5;cursor:wait}
.tpcart button:focus-visible,.tpcart a:focus-visible,.tpcart textarea:focus-visible,.tpcart summary:focus-visible{outline:2px solid var(--cart-color);outline-offset:3px}
.tpcart .df-cart-more{display:flex;justify-content:flex-start;gap:16px;width:100%;min-height:72px;padding:11px 16px;color:#006454;border:1px solid #dcefe8;border-radius:16px;margin:12px 0 9px;background:#e8f6ef;text-align:left}
.df-cart-more-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:var(--cart-color);color:#fff;font-size:34px;font-weight:400}
.df-cart-more strong{display:block;font-size:16px;font-weight:650;line-height:1.4}
.df-cart-more small{display:block;margin-top:2px;color:var(--cart-muted);font-size:13px;font-weight:400;line-height:1.4}
.df-cart-chevron{margin-left:auto;font-size:32px;font-weight:400}
.df-cart-coupon{border:1px solid #e2e8f0;border-radius:15px;background:#fff;margin-bottom:10px;box-shadow:0 2px 4px #17223804}
.df-cart-coupon summary{display:flex;align-items:center;gap:15px;min-height:46px;padding:10px 20px;cursor:pointer;list-style:none;color:#3b4e75;font-size:14px;font-weight:600}
.df-cart-coupon summary::-webkit-details-marker{display:none}
.df-cart-coupon summary>i:first-child{font-size:23px;color:var(--cart-muted)}
.df-cart-coupon summary>i:last-child{margin-left:auto;transition:transform .2s}
.df-cart-coupon[open] summary>i:last-child{transform:rotate(180deg)}
.df-cart-coupon p{padding:0 20px 12px;margin:0;color:var(--cart-muted);font-size:13px;line-height:1.5}
.df-cart-summary{padding:15px 20px 12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 4px #17223806}
.df-cart-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.df-cart-summary-title{font-family:inherit;font-size:17px;font-weight:700;letter-spacing:-.4px;color:var(--cart-ink);margin:0;line-height:1.3}
.df-cart-summary-title i{color:#006454;margin-right:9px}
#dfCartSummaryCount{font-size:12px;color:var(--cart-muted);text-align:right}
.df-cart-summary-row{display:flex;justify-content:space-between;gap:12px;margin-top:4px;font-size:15px;line-height:1.5;color:var(--cart-muted)}
.df-cart-summary-row>span:last-child{color:#25385d;font-weight:550}
.df-cart-summary-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:10px;border-top:1px solid #e0e6ef;font-size:20px}
.df-cart-summary-total>strong:last-child{font-size:29px;letter-spacing:-1px;color:#087658}
.df-cart-delivery{font-size:11px;color:var(--cart-muted);margin:6px 4px 0;line-height:1.4;text-align:center}
.tpcart .tpcart__checkout{margin:0 -16px;padding:10px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -3px 14px #17223805;background:#fff;border-top:1px solid #edf0f5}
.tpcart__checkout-btn{display:grid;grid-template-columns:.85fr 1.15fr;gap:12px}
.tpcart .df-cart-continue{padding:12px 8px;border:0;border-radius:14px;background:#f1f4f9;color:#35476d;font-size:14px;font-weight:650;line-height:1.3}
.df-cart-continue>span{font-size:27px;font-weight:400}
.tpcart .carrinho-finalizar-fixo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:66px;border-radius:14px;background:var(--cart-color);color:#fff;border:0;font-family:inherit;font-weight:650;font-size:17px;padding:9px 12px;text-transform:none;line-height:1.35;text-align:center}
.df-cart-finish-label{display:flex;align-items:center;justify-content:center;gap:12px}
.df-cart-finish-label>span{font-size:25px;font-weight:400}
.carrinho-finalizar-fixo small{font-size:14px;font-weight:400;color:#e1f4e8}
.tpcart .carrinho-finalizar-fixo.is-disabled{background:#e2e8f0;color:#64748b;font-size:13px}
.tpcart .df-cart-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 20px;text-align:center;border:0;color:var(--cart-muted)}
.df-cart-empty i{font-size:38px;color:var(--cart-color)}
.df-cart-empty strong{color:var(--cart-ink);font-size:20px}
@media(max-width:540px){
 .tpcart .tpcart__header-mobile{padding:18px 10px 16px;gap:7px}
 .tpcart .tpcart__title{font-size:23px}
 #dfCartCount{font-size:12px}
 .df-cart-subtitle{gap:5px}
 .tpcart .df-cart-back{width:27px;font-size:29px}
 .tpcart .df-cart-add{font-size:11px;padding:6px 10px;gap:5px;min-height:36px}
 .tpcart .tpcart__product{padding:0 10px}
 .tpcart .df-cart-card{grid-template-columns:68px minmax(0,1fr) 118px;gap:9px;padding:10px;border-radius:13px}
 .df-cart-photo{width:68px;height:80px;border-radius:10px}
 .df-cart-name{font-size:13px;letter-spacing:-.2px}
 .df-cart-info>small{font-size:15px}.df-cart-info>small>span{font-size:12px}
 .df-cart-controls{grid-template-columns:minmax(0,1fr) 25px;gap:12px 4px;padding:0}
 .df-cart-quantity{height:34px;border-radius:12px}.df-cart-quantity button{width:28px;height:32px;border-radius:11px;font-size:21px}.df-cart-quantity strong{font-size:14px;min-width:22px}
 .df-cart-remove{width:25px;min-height:34px}.df-cart-remove svg{width:18px}
 .df-cart-line-total{font-size:16px}
 .df-cart-actions button{font-size:11px;min-height:30px;padding:4px 6px;gap:5px}
 .tpcart .df-cart-more{padding:10px;gap:10px;min-height:64px;border-radius:13px}.df-cart-more-icon{width:36px;height:36px;font-size:29px}.df-cart-more strong{font-size:14px}.df-cart-more small{font-size:11px}
 .df-cart-coupon summary{font-size:12px;padding:8px 13px;gap:10px;min-height:43px}
 .df-cart-summary{padding:13px}.df-cart-summary-heading{gap:6px}.df-cart-summary-title{font-size:15px}.df-cart-summary-title i{margin-right:5px}#dfCartSummaryCount{font-size:10px}.df-cart-summary-row{font-size:13px}.df-cart-summary-total{font-size:18px}.df-cart-summary-total>strong:last-child{font-size:26px}
 .tpcart .tpcart__checkout{margin:0 -10px;padding:9px 10px calc(10px + env(safe-area-inset-bottom))}.tpcart__checkout-btn{gap:8px}
 .tpcart .df-cart-continue{font-size:11px;gap:6px}.tpcart .carrinho-finalizar-fixo{font-size:14px;min-height:59px;padding:8px}.df-cart-finish-label{gap:8px}.carrinho-finalizar-fixo small{font-size:12px}
}
@media(max-width:360px){.tpcart .df-cart-card{grid-template-columns:56px minmax(0,1fr) 102px;gap:7px;padding:8px}.df-cart-photo{width:56px;height:70px}.df-cart-name{font-size:12px}.df-cart-quantity button{width:24px}.tpcart .df-cart-add{font-size:10px;padding:5px 7px}.tpcart .tpcart__title{font-size:21px}#dfCartCount{font-size:10px}.df-cart-line-total{font-size:14px}.df-cart-actions button{font-size:10px}.df-cart-summary-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){.df-cart-coupon summary>i:last-child{transition:none}}
/* Alturas compactas e ícones independentes das regras globais do tema. */
.df-cart-actions button{line-height:1.3}
.df-cart-actions button i{font-size:14px;line-height:1}
@media(max-width:540px){
 .tpcart .df-cart-card{padding:9px;gap:9px}
 .df-cart-photo{height:72px}
 .df-cart-actions{margin-top:2px}
 .df-cart-actions button{min-height:27px}
 .df-cart-info{gap:2px}
 .df-cart-controls{gap:10px 4px}
}
