/* V5: compatibilidade de frete, bordas e listagem compacta (após V4). */
html body.store-v2 .site-header:not(.magic-checkout-header),html body.store-v2 .magic-category-nav{border:0!important;outline:0!important;box-shadow:none!important}
html body.store-v2 .magic-category-nav{border-top:0!important}
html body.store-v2 .site-header:not(.magic-checkout-header)>.header-row,html body.store-v2 .site-header:not(.magic-checkout-header)>.container.header-row{border-bottom:0!important}
html body.store-v2 .magic-hero{border:0!important;margin-top:0!important}
html body.store-v2 .magic-checkout .magic-summary-items{max-height:355px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#89a5c4 transparent;padding-right:5px;margin:0 0 13px}
html body.store-v2 .magic-checkout .magic-summary-items .summary-product{padding:11px 0!important;gap:12px!important}
html body.store-v2 .magic-checkout .magic-summary-items .summary-product img{width:68px!important;height:68px!important;flex:0 0 68px!important;border-radius:11px!important;object-fit:cover!important}
html body.store-v2 .magic-checkout .magic-summary-items .summary-product span{gap:2px!important}
html body.store-v2 .magic-checkout .magic-summary-items .summary-product span strong{font-size:13px!important}
/* Evita regras herdadas de labels genéricas aumentarem a altura dos serviços. */
html body.store-v2 .magic-shipping-choice,html body.store-v2 .magic-checkout .checkout-fields .magic-shipping-choice,html body.store-v2 .magic-purchase-box .magic-shipping .magic-shipping-choice{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;align-items:center!important;justify-content:initial!important;gap:12px!important;min-height:66px!important;height:auto!important;padding:12px 14px!important;border-radius:13px!important;margin:9px 0!important;width:100%!important;max-width:100%!important;line-height:1.35!important;text-align:left!important;background:#fff!important;border:1px solid #d7e3f1!important;box-shadow:none!important;position:relative!important;color:#0a2d5c!important}
html body.store-v2 .magic-purchase-box .magic-shipping .magic-shipping-choice{background:#f9fbff!important}
html body.store-v2 .magic-shipping-choice.chosen,html body.store-v2 .magic-shipping-choice:has(input:checked){background:#fff9e9!important;border-color:#f8ae00!important;box-shadow:0 0 0 1px #f8ae0060!important}
html body.store-v2 .magic-shipping-choice input[type=radio]{appearance:auto!important;position:static!important;display:block!important;width:19px!important;height:19px!important;margin:0!important;padding:0!important;opacity:1!important;accent-color:#0b2d5c!important;grid-column:1!important;align-self:center!important;box-shadow:none!important}
html body.store-v2 .magic-shipping-choice>span{min-width:0!important;grid-column:2!important;display:flex!important;flex-direction:column!important;gap:2px!important;color:#092752!important}
html body.store-v2 .magic-shipping-choice>span b{font-size:13px!important;line-height:1.35!important;color:#092752!important;white-space:normal!important}
html body.store-v2 .magic-shipping-choice>span small{font-size:11px!important;line-height:1.4!important;color:#54718e!important}
html body.store-v2 .magic-shipping-choice>strong{grid-column:3!important;justify-self:end!important;align-self:center!important;color:#0b2d5c!important;font-size:14px!important;white-space:nowrap!important}
html body.store-v2 .magic-purchase-box #frenet-quote-result,html body.store-v2 .magic-purchase-box #frenet-quote-result *{color:#092752!important}
html body.store-v2 .magic-purchase-box #frenet-quote-result .magic-ship-label{color:#f4f8ff!important}
html body.store-v2 .magic-purchase-box .magic-shipping-options{width:100%;overflow:visible!important}
html body.store-v2 .magic-ship-picker{background:#f8faff!important}
html body.store-v2 .magic-checkout .magic-shipping-options{max-height:355px;overflow:auto;scrollbar-width:thin}
html body.store-v2 .magic-shipping-choice:hover{border-color:#9eb9d9!important}
/* Endereços, ações e lista de pedidos */
html body.store-v2 .magic-address-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:12px;margin:18px 0 23px}
html body.store-v2 .magic-address-card{border:1px solid #d7e4f3;border-radius:14px;padding:17px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
html body.store-v2 .magic-address-card strong{color:#092752;font-size:14px}
html body.store-v2 .magic-address-card p{font-size:12px;color:#526b8b;margin:8px 0 0}
html body.store-v2 .magic-preferred-badge{display:inline-flex;align-items:center;gap:4px;color:#0a5a4a;background:#dff7ee;border-radius:50px;padding:3px 7px;font-size:10px;margin:0 7px}
html body.store-v2 .magic-preferred-badge svg{width:13px;height:13px}
html body.store-v2 .magic-address-actions,html body.store-v2 .magic-address-form-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
html body.store-v2 .magic-default-address{display:flex!important;align-items:center;gap:10px;flex-wrap:wrap}
html body.store-v2 .magic-default-address input{width:18px;height:18px;flex:none;accent-color:#082954}
html body.store-v2 .payment-expiration{display:block;color:#62799c;font-size:11px;margin-top:5px;white-space:nowrap}
@media(max-width:680px){html body.store-v2 .magic-checkout .magic-summary-items{max-height:265px}html body.store-v2 .magic-shipping-choice,html body.store-v2 .magic-checkout .checkout-fields .magic-shipping-choice{grid-template-columns:20px minmax(0,1fr) auto!important;gap:8px!important;padding:11px 9px!important}html body.store-v2 .magic-shipping-choice>strong{font-size:12px!important}}

/* Cotação de frete abaixo dos botões da compra, sem esconder o conteúdo. */
html body.store-v2 .magic-shipping-after-cart{margin:18px 0 4px;padding:17px 0 0;border-top:1px solid #ffffff38;min-width:0}
html body.store-v2 .magic-shipping-after-cart .magic-shipping h3{color:#fff;font-size:14px;font-weight:700}
html body.store-v2 .magic-shipping-after-cart #frenet-quote-result{max-height:335px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}

/* V23 — mensagens acessíveis do CEP na área do cliente. */
#magic-address-form .magic-address-cep-status{display:block;margin-top:5px;color:#536b8b;font-size:12px;line-height:1.4;font-weight:500}
#magic-address-form .magic-address-cep-status[data-state="loading"]{color:#936b00}
#magic-address-form .magic-address-cep-status[data-state="success"]{color:#16583f}
#magic-address-form .magic-address-cep-status[data-state="error"]{color:#a13333}
