:root{--cart-art-paper:#fff;--cart-art-line:#eadfce}
.theme-store #drawer{background:var(--cart-art-paper)}
.theme-store #drawer .drawer-top{position:relative;display:block;min-height:0;padding:28px 8px 4px;background:var(--cart-art-paper);border-bottom:0}
.theme-store #drawer .drawer-top h3.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.theme-store #drawer .cart-title-art{display:block;width:100%;height:auto;object-fit:contain}
.theme-store #drawer .drawer-top .icon-btn{position:absolute;top:4px;right:10px;width:30px;height:30px;border:1px solid var(--cart-art-line);border-radius:8px;z-index:2}
.theme-store #drawer .drawer-ship{display:block;background:var(--cart-art-paper);padding:0 8px 6px;border-bottom:1px solid var(--cart-art-line)}
.theme-store #drawer .cart-shipping-art{display:block;width:100%;height:auto;aspect-ratio:5.7;object-fit:cover;object-position:center}
.theme-store #drawer .ci-featured{position:relative;overflow:visible;padding-top:8px;margin-top:6px}
.theme-store #drawer .ci-featured>img:first-child{padding-top:12px}
.theme-store #drawer .ci-img img.ci-photo-badge{position:absolute;top:-10px;left:-5px;width:calc(100% + 10px);max-width:none;height:auto;aspect-ratio:3.6;object-fit:cover;object-position:center;padding:0;z-index:1;border-radius:6px}
.theme-store #drawer .cart-one-step-art{display:block;width:100%;height:auto;aspect-ratio:4.1;object-fit:cover;object-position:center;margin:14px 0 4px}

/* Linha com a altura da foto; quantidade junto ao preco, sem moldura externa. */
.theme-store #drawer .ci{position:relative;height:84px;min-height:84px;grid-template-columns:84px minmax(0,1fr) 96px;gap:12px;margin:16px 0;padding:0;border:0;align-items:start}
.theme-store #drawer .ci-img,.theme-store #drawer .ci-img.ci-featured{width:84px;height:84px;padding:0;margin:0;border:0;box-shadow:none;background:transparent;border-radius:0;overflow:visible}
.theme-store #drawer .ci-img>img:first-child,.theme-store #drawer .ci-featured>img:first-child{display:block;width:84px;height:84px;object-fit:contain;padding:0;border:0;border-radius:8px;background:transparent}
.theme-store #drawer .ci>div:nth-child(2){min-width:0;padding:0}
.theme-store #drawer .ci b{font-size:14px;line-height:1.35;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.theme-store #drawer .ci-var{font-size:11px;line-height:1.3;margin:5px 0 0}
.theme-store #drawer .ci-price{font-size:22px;line-height:1.1;font-weight:800;white-space:nowrap}
.theme-store #drawer .ci-right{height:84px;min-width:0;gap:0;justify-content:space-between}
.theme-store #drawer .ci-qty{position:absolute;right:38px;bottom:0;height:32px;margin:0;gap:0;border-radius:8px}
.theme-store #drawer .ci-qty button{width:28px;height:30px}.theme-store #drawer .ci-qty span{min-width:24px;font-size:14px}
.theme-store #drawer .ci-del{width:30px;height:32px;border-radius:8px}
.theme-store #drawer .ci-img img.ci-photo-badge{top:0;left:0;width:84px;max-width:84px;height:auto;aspect-ratio:3.6;padding:0;border-radius:4px}
@media(max-width:390px){
 .theme-store #drawer .ci{height:76px;min-height:76px;grid-template-columns:76px minmax(0,1fr) 88px;gap:9px;margin:14px 0}
 .theme-store #drawer .ci-img,.theme-store #drawer .ci-img.ci-featured,.theme-store #drawer .ci-img>img:first-child,.theme-store #drawer .ci-featured>img:first-child{width:76px;height:76px}
 .theme-store #drawer .ci-right{height:76px}.theme-store #drawer .ci b{font-size:13px}.theme-store #drawer .ci-price{font-size:20px}
 .theme-store #drawer .ci-img img.ci-photo-badge{width:76px;max-width:76px}
}

:root{--cart-close-ink:#004b2d;--cart-divider:#dfd5c7;--cart-close-shadow:#0002}
/* Separacao entre produtos e banner livre, com frete ao final da lista. */
.theme-store #drawer .drawer-top{padding:0 0 4px}
.theme-store #drawer .drawer-top .icon-btn{top:0;right:0;width:32px;height:32px;border:0;border-radius:50%;background:var(--cart-art-paper);color:var(--cart-close-ink);box-shadow:0 1px 4px var(--cart-close-shadow)}
.theme-store #drawer .ci:has(+.ci)::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:1px;background:var(--cart-divider);pointer-events:none}
.theme-store #drawer .cart-shipping-bottom{margin:20px 0 4px}

:root{--cart-summary-bg:#fffaf2;--cart-summary-line:#e6dac6;--cart-summary-ink:#004b2d;--cart-summary-green:#049c29;--cart-summary-green-dark:#038221;--cart-summary-white:#fff}
/* Resumo compacto e uma acao principal clara. */
.theme-store #drawer .drawer-foot{padding:14px 20px calc(8px + env(safe-area-inset-bottom));gap:8px;background:var(--cart-summary-bg);border-top:1px solid var(--cart-summary-line);box-shadow:none}
.theme-store #drawer .drawer-sum{margin:0 0 4px;align-items:baseline;line-height:1.2;color:var(--cart-summary-ink)}
.theme-store #drawer .drawer-sum>span{font-family:'Nunito',sans-serif;font-size:16px;font-weight:800}
.theme-store #drawer .drawer-sum>b{font-size:28px;font-weight:800;letter-spacing:-.4px;white-space:nowrap}
.theme-store #drawer .drawer-foot .btn{margin:0;transition:background .15s;transform:none}
.theme-store #drawer .drawer-foot .btn-red{min-height:54px;font-size:19px;border-radius:12px;background:var(--cart-summary-green);border:1px solid var(--cart-summary-green-dark);box-shadow:inset 0 -3px 0 var(--cart-summary-green-dark);color:var(--cart-summary-white)}
.theme-store #drawer .drawer-foot .btn-red:hover{background:var(--cart-summary-green-dark)}
.theme-store #drawer .drawer-foot .btn-red svg{width:21px;height:21px}
.theme-store #drawer .drawer-foot .btn-ghost{min-height:38px;font-family:'Nunito',sans-serif;font-size:14px;font-weight:800;background:transparent;color:var(--cart-summary-ink);border:0;box-shadow:none;border-radius:6px;gap:9px}
.theme-store #drawer .drawer-foot .btn-ghost::after{content:"";width:6px;height:6px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}
@media(max-width:390px){.theme-store #drawer .drawer-foot{padding-inline:16px}}
