/* Magia Arcânica V4 — correções incrementais; mantém funções e paleta do painel. */
html body.store-v2{--magic-navy:#082954;--magic-gold:var(--magic-accent,#ffb600);background:#fff!important}
html body.store-v2 .site-header,html body.store-v2 .magic-category-nav{border-bottom:0!important;box-shadow:none!important}
html body.store-v2 .site-header:not(.magic-checkout-header)+.magic-category-nav{border-top:0!important}
html body.store-v2 .site-header .magic-search.live-search{overflow:visible!important;isolation:isolate;border-radius:13px!important}
html body.store-v2 .site-header .magic-search .magic-search-submit{right:0!important;top:0!important;width:58px!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0 10px 10px 0!important}
html body.store-v2 .site-header .magic-search .live-results{top:calc(100% - 1px)!important;border:1px solid #dbe5f3!important;border-top:0!important;border-radius:0 0 16px 16px!important;margin:0!important;box-shadow:0 18px 34px #081d3c32!important;overflow-y:auto}
html body.store-v2 .magic-hero{border-top:0!important}
html body.store-v2 .magic-hero .magic-primary-slide::after{background:linear-gradient(180deg,var(--magic-header-bg,#082954) 0%,transparent 40%)!important}
html body.store-v2 .magic-hero .hero-controls{pointer-events:none!important;position:absolute!important;inset:0!important;display:block!important;z-index:6!important;padding:0!important;transform:none!important}
html body.store-v2 .magic-hero .hero-controls>[data-prev],html body.store-v2 .magic-hero .hero-controls>[data-next]{pointer-events:auto!important;position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:43px!important;height:68px!important;border:0!important;border-radius:0 24px 24px 0!important;background:#fff!important;color:#173f7d!important;box-shadow:0 4px 16px #041b4033!important;display:grid!important;place-items:center!important;left:0!important;right:auto!important}
html body.store-v2 .magic-hero .hero-controls>[data-next]{left:auto!important;right:0!important;border-radius:24px 0 0 24px!important}
html body.store-v2 .magic-hero .hero-controls [data-dots]{pointer-events:auto;position:absolute;left:50%;bottom:14px;transform:translateX(-50%)}
html body.store-v2 .magic-benefits{border:0!important;box-shadow:none!important}
html body.store-v2 .magic-benefits .benefit-grid{gap:14px!important;padding:16px 0!important}
html body.store-v2 .magic-benefits .benefit-grid>div{border:0!important;background:#fff!important;border-radius:13px!important;padding:11px!important;gap:12px!important}
html body.store-v2 .magic-benefits .benefit-grid>div svg{height:30px!important;width:30px!important;flex-shrink:0!important;stroke-width:1.6!important}
html body.store-v2 .magic-collections{border:0!important}
html body.store-v2 .magic-product-card .product-photo{border-radius:12px!important;background:#fff!important}
html body.store-v2 .magic-product-card .product-photo img{border-radius:11px!important;background:#fff!important;object-fit:contain!important}
html body.store-v2 .magic-gallery .magic-main-photo{border-radius:16px!important;background:white!important;overflow:hidden!important}
html body.store-v2 .magic-gallery .magic-main-photo>img,html body.store-v2 .magic-gallery .magic-main-photo #product-main-image{border-radius:15px!important;object-fit:contain!important;background:#fff!important}
html body.store-v2 .magic-gallery .gallery-thumb{border-radius:12px!important;background:#fff!important;overflow:hidden!important}
html body.store-v2 .magic-purchase-box .magic-product-quantity{appearance:none;min-width:135px;max-width:190px;border:1px solid #b9cbe0;border-radius:10px;padding:12px 36px 12px 14px;background:#fff url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="%23082954" stroke-width="2" viewBox="0 0 24 24"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E') no-repeat right 12px center;color:#082954;font-weight:750;cursor:pointer}
html body.store-v2 .magic-checkout .checkout-page-title{position:relative!important}
html body.store-v2 .magic-checkout .checkout-progress{display:flex!important;max-width:none!important;min-width:0!important;gap:5px!important;justify-content:center!important;flex-wrap:nowrap!important}
html body.store-v2 .magic-checkout .checkout-progress>span:not(.progress-line){min-width:94px!important;max-width:108px!important;gap:7px!important;white-space:normal!important;text-align:center!important;font-size:11px!important;line-height:1.3!important}
html body.store-v2 .magic-checkout .checkout-progress .progress-line{width:28px!important;flex:0 0 28px!important;margin-top:-19px!important}
html body.store-v2 .magic-checkout .checkout-progress b{flex:0 0 40px!important}
html body.store-v2 .magic-checkout .checkout-summary .summary-product img{height:98px!important;width:98px!important;object-fit:cover!important;object-position:center!important;border-radius:12px!important;background:white!important}
html body.store-v2 .magic-checkout .checkout-step[hidden]{display:none!important}
html body.store-v2 .magic-checkout .checkout-mobile-submit,html body.store-v2 .magic-checkout .checkout-mobile-submit[hidden]{display:none!important}
html body.store-v2 .magic-checkout #checkout-step-payment .magic-payment-review{padding:16px;border-radius:12px;background:#f1f6fd;border:1px solid #d9e5f4;margin-top:16px}
html body.store-v2 .magic-checkout #checkout-step-payment .magic-payment-review p{display:flex;gap:9px;align-items:center;color:#0a315d}
html body.store-v2 .magic-checkout .magic-ship-picker{grid-column:1/-1;margin:14px 0 0;display:block!important;max-width:100%;padding:15px;border:1px solid #d8e4f2;border-radius:12px;background:#f8fbff}
html body.store-v2 .magic-checkout .magic-ship-picker h3{display:flex;gap:8px;align-items:center;margin:0;font-size:17px;color:#082954}
html body.store-v2 .magic-checkout .magic-ship-picker>p{margin:8px 0 13px;color:#5c7293;font-size:12px}
html body.store-v2 .magic-shipping-options,.magic-cart-page #magic-cart-quote-result{width:100%;margin-top:12px}
html body.store-v2 .magic-shipping-choice{display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid #d2e0ef;border-radius:12px;margin:9px 0!important;cursor:pointer;font-size:12px;color:#092752}
html body.store-v2 .magic-shipping-choice.chosen,html body.store-v2 .magic-shipping-choice:has(input:checked){border-color:var(--magic-accent,#ffb600)!important;background:#fffbef!important}
html body.store-v2 .magic-shipping-choice input{width:17px!important;height:17px!important;flex-shrink:0;accent-color:#0d2d5d!important}
html body.store-v2 .magic-shipping-choice>span{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
html body.store-v2 .magic-shipping-choice b{color:#082954;font-weight:700;font-size:12px}
html body.store-v2 .magic-shipping-choice small{font-size:11px;color:#647b98}
html body.store-v2 .magic-shipping-choice>strong{white-space:nowrap;font-weight:800;color:#082954}
html body.store-v2 .magic-ship-label{font-weight:750;color:#082954;margin:6px 0}
html body.store-v2 .magic-coupon-box{padding:14px 0;border-top:1px solid #ffffff55;border-bottom:1px solid #ffffff55}
html body.store-v2 .magic-coupon-box label{display:block;font-size:13px;font-weight:750;color:#fff;margin-bottom:9px}
html body.store-v2 .magic-coupon-box>div{display:flex;gap:6px;min-width:0}
html body.store-v2 .magic-coupon-box input{min-width:0;width:100%;padding:12px 10px;border-radius:9px;border:1px solid #d4e2f1;background:#fff;color:#092752;font-weight:650}
html body.store-v2 .magic-coupon-box button{white-space:nowrap;padding:10px 14px;background:var(--magic-accent,#ffb600);border:0;border-radius:9px;color:#092752;font-weight:800;cursor:pointer}
html body.store-v2 .magic-coupon-box small{display:block;font-size:11px;margin-top:8px;color:#e5f1ff}
html body.store-v2 input:focus,html body.store-v2 select:focus,html body.store-v2 textarea:focus{outline:0!important;box-shadow:none!important;border-color:#5c83b6!important}
html body.store-v2 input:focus-visible,html body.store-v2 select:focus-visible,html body.store-v2 textarea:focus-visible{outline:1px solid #5c83b6!important;outline-offset:0!important}
html body.store-v2 .magic-cart-remove button,html body.store-v2 .saved-item-actions button{color:#0d2f67!important}
html body.store-v2 .magic-related-section .magic-product-card{flex:0 0 342px!important;display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;grid-template-rows:auto!important;align-items:stretch!important;min-height:166px!important;padding:6px!important;border-radius:13px!important}
html body.store-v2 .magic-related-section .magic-product-card .product-photo{grid-column:1;grid-row:1;width:124px!important;height:150px!important;min-width:124px!important;margin:0!important;border-radius:10px!important}
html body.store-v2 .magic-related-section .magic-product-card .product-photo img{object-fit:cover!important}
html body.store-v2 .magic-related-section .magic-product-card .product-info{grid-column:2;grid-row:1;display:flex!important;flex-direction:column;justify-content:center;gap:10px;min-width:0;padding:7px 7px 7px 12px!important}
html body.store-v2 .magic-related-section .magic-product-card .product-info h3{font-size:13px!important;line-height:1.3!important;min-height:0!important;margin:0!important}
html body.store-v2 .magic-related-section .magic-product-card .magic-card-bottom{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;flex-wrap:wrap}
html body.store-v2 .magic-related-section .magic-product-card .magic-card-bottom strong{font-size:17px!important}
html body.store-v2 .magic-related-section .magic-product-card .magic-card-bottom button{font-size:11px!important;padding:7px!important;border-radius:8px!important}
html body.store-v2 .magic-related-section .release-actions button{width:36px!important;height:36px!important;border:1px solid #d9e5f2!important;border-radius:50%!important;background:#fff!important;color:#082954!important;box-shadow:none!important}
html body.store-v2 .magic-related-section h2{background:none!important;user-select:text!important}
html body.store-v2 .saved-products-grid{gap:16px!important}
html body.store-v2 .saved-item{border-radius:16px!important;overflow:hidden!important;box-shadow:0 8px 22px #031c3910!important}
html body.store-v2 .saved-item-photo{background:#fff!important;overflow:hidden!important}
html body.store-v2 .saved-item-photo img{object-fit:contain!important;background:#fff!important;border-radius:12px!important}
html body.store-v2 .saved-item-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
html body.store-v2 .saved-item-actions a,html body.store-v2 .saved-item-actions button{min-width:0!important;white-space:nowrap!important;word-break:normal!important;line-height:1.2!important;font-size:11px!important;padding:10px 6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important}
html body.store-v2 .magic-cart-page .magic-cart-quote-result{width:100%}
@media(max-width:1050px){html body.store-v2 .magic-checkout .checkout-page-title{display:block!important}html body.store-v2 .magic-checkout .checkout-progress{margin:20px 0 0!important;justify-content:flex-start!important}html body.store-v2 .magic-checkout .checkout-layout{grid-template-columns:minmax(0,1fr)!important}html body.store-v2 .magic-checkout .checkout-summary{position:static!important}}
@media(max-width:740px){html body.store-v2 .magic-hero .hero-controls>[data-prev],html body.store-v2 .magic-hero .hero-controls>[data-next]{width:30px!important;height:52px!important}html body.store-v2 .magic-checkout .checkout-progress>span:not(.progress-line){min-width:75px!important;max-width:90px!important}html body.store-v2 .magic-checkout .checkout-progress .progress-line{width:16px!important;flex-basis:16px!important}html body.store-v2 .magic-related-section .magic-product-card{flex-basis:310px!important;grid-template-columns:112px 1fr!important}html body.store-v2 .magic-related-section .magic-product-card .product-photo{width:108px!important;min-width:108px!important}html body.store-v2 .magic-benefits .benefit-grid{gap:7px!important}}
@media(prefers-reduced-motion:reduce){html body.store-v2 .magic-hero .hero-controls>button{transition:none!important}}
