/* Mandrake Grifes V16 — experiência consolidada e seletores específicos */
:root{--v16-blue:#0b63f6;--v16-blue-dark:#0849bd;--v16-ink:#101828;--v16-muted:#667085;--v16-border:#d9e4f7;--v16-surface:#fff;--v16-soft:#f6f9fe;--v16-success:#087a55;--v16-success-bg:#edf9f3;--v16-danger:#c92a2a;--v16-shadow:0 14px 38px rgba(16,24,40,.08)}
html{scroll-padding-top:72px}body{background:#f8fbff!important;color:var(--v16-ink)!important}
/* header + primeiro bloco: remove espaço artificial sem afetar drawers */
.mg-main{padding-top:10px!important}.mg-main>.mg-home-entry-shell:first-child{margin-top:0!important;padding-top:0!important}
.minha-conta-main,.favoritos-page .page-shell{margin-top:0!important;padding-top:18px!important}
@media(max-width:768px){.mg-main{padding-top:4px!important}.minha-conta-main,.favoritos-page .page-shell{padding-top:8px!important}.mg-home-entry-hero{margin-top:0!important}}
/* HOME / DESTAQUES: grid real, fotos completas e cards editoriais */
.mg-products-panel{overflow:visible!important;background:#fff!important;border:1px solid var(--v16-border)!important;box-shadow:var(--v16-shadow)!important}
.mg-products-panel>div:first-child{margin-bottom:22px!important}
#produtosCarrossel{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
#produtosCarrossel>.produto-card{width:auto!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;border:1px solid var(--v16-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 24px rgba(16,24,40,.06)!important;overflow:hidden!important}
#produtosCarrossel>.produto-card>div.relative{height:270px!important;min-height:270px!important;background:#eef3f9!important;overflow:hidden!important}
#produtosCarrossel>.produto-card .produto-img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:center!important;display:block!important}
#produtosCarrossel>.produto-card>div.p-4,#produtosCarrossel>.produto-card>div.p-5{padding:15px!important;display:flex!important;flex:1!important;flex-direction:column!important}
#produtosCarrossel .produto-nome{font-size:15px!important;line-height:1.25!important;min-height:38px!important;margin:0 0 9px!important;border:0!important;padding:0!important;background:none!important;color:var(--v16-ink)!important}
#produtosCarrossel .produto-price-box{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0 0 10px!important}
#produtosCarrossel .produto-price-box>div:first-child{gap:6px!important;margin-bottom:6px!important}
#produtosCarrossel .produto-price-box span.rounded-full{background:var(--v16-success-bg)!important;color:var(--v16-success)!important;border:1px solid #b9ead4!important;box-shadow:none!important;font-size:9px!important;padding:4px 7px!important}
#produtosCarrossel .produto-price-box span.rounded-full:nth-child(2){display:none!important}
#produtosCarrossel .produto-price-box .text-3xl,#produtosCarrossel .produto-price-box .text-2xl{font-size:24px!important;color:var(--v16-ink)!important}
#produtosCarrossel .produto-price-box p:last-child{display:none!important}
#produtosCarrossel .flex.items-center.gap-2.mb-4{margin-bottom:12px!important}
#produtosCarrossel .opcoes{gap:6px!important}
#produtosCarrossel .flex.gap-3{margin-top:auto!important;gap:8px!important}
#produtosCarrossel .flex.gap-3>a,#produtosCarrossel .flex.gap-3>button{min-height:42px!important;border-radius:11px!important;padding:8px 6px!important;font-size:12px!important;font-weight:800!important}
#produtosCarrossel .flex.gap-3>a{background:#fff!important;color:var(--v16-blue)!important;border:1px solid #b7cff9!important}
#produtosCarrossel .flex.gap-3>button{background:var(--v16-blue)!important;color:#fff!important;border:1px solid var(--v16-blue)!important}
#prevBtn,#nextBtn{display:none!important}
@media(max-width:1100px){#produtosCarrossel{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:720px){.mg-products-panel{padding:14px!important;border-radius:18px!important}#produtosCarrossel{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#produtosCarrossel>.produto-card>div.relative{height:190px!important;min-height:190px!important}#produtosCarrossel>.produto-card>div.p-4,#produtosCarrossel>.produto-card>div.p-5{padding:10px!important}#produtosCarrossel .produto-nome{font-size:13px!important;min-height:33px!important}#produtosCarrossel .produto-price-box .text-3xl,#produtosCarrossel .produto-price-box .text-2xl{font-size:19px!important}#produtosCarrossel .flex.gap-3{display:grid!important;grid-template-columns:1fr 1fr!important}#produtosCarrossel .flex.gap-3>a,#produtosCarrossel .flex.gap-3>button{font-size:10px!important;min-height:38px!important}.mg-products-heading{font-size:26px!important}}
@media(max-width:370px){#produtosCarrossel>.produto-card>div.relative{height:165px!important}#produtosCarrossel .flex.gap-3{grid-template-columns:1fr!important}}
/* FAVORITOS: topo sem vazio, preço limpo e ações contidas */
.favoritos-page .page-shell{max-width:1240px!important}
.favoritos-page .hero-panel{margin-top:0!important;padding:22px!important;border-radius:20px!important}
.favoritos-page .content-panel{margin-top:14px!important;padding:18px!important}
#favoritosGrid{gap:14px!important}
#favoritosGrid .produto-card{border:1px solid var(--v16-border)!important;border-radius:17px!important;box-shadow:0 8px 24px rgba(16,24,40,.06)!important;overflow:hidden!important}
#favoritosGrid .produto-image{aspect-ratio:4/5!important;height:auto!important;background:#eef3f9!important}
#favoritosGrid .produto-image img{width:100%!important;height:100%!important;object-fit:cover!important}
#favoritosGrid .produto-info{padding:13px!important}
#favoritosGrid .price-box.discount{padding:10px!important;background:var(--v16-success-bg)!important;border:1px solid #b9ead4!important;border-radius:12px!important}
#favoritosGrid .discount-row{gap:5px!important}
#favoritosGrid .discount-badge{background:#fff!important;color:var(--v16-success)!important;border:1px solid #b9ead4!important}
#favoritosGrid .coupon-badge{display:none!important}
#favoritosGrid .price-to{color:var(--v16-ink)!important;font-size:21px!important}.favoritos-page #favoritosGrid .economy{color:var(--v16-success)!important}
#favoritosGrid .produto-desc{display:none!important}
#favoritosGrid .btn-group{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
#favoritosGrid .btn-remover{grid-column:1/-1!important;background:#fff5f5!important;color:var(--v16-danger)!important;border:1px solid #fecaca!important}
@media(max-width:720px){.favoritos-page .hero-panel{padding:16px!important}.favoritos-page .hero-content{gap:12px!important}.favoritos-page .hero-actions{width:100%!important;display:grid!important;grid-template-columns:90px 1fr!important}.favoritos-page .content-panel{padding:12px!important}.favoritos-page .toolbar{gap:10px!important}.favoritos-page .search-box{width:100%!important}#favoritosGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#favoritosGrid .produto-info{padding:9px!important}#favoritosGrid .produto-info h3{font-size:13px!important}#favoritosGrid .produto-meta{grid-template-columns:1fr!important}#favoritosGrid .btn-group{grid-template-columns:1fr!important}#favoritosGrid .btn-remover{grid-column:auto!important;font-size:10px!important}}
/* MINHA CONTA: dashboard e atalhos como componentes, não texto corrido */
.minha-conta-main{max-width:1180px!important}
.mg-account-title-wrap-clean{gap:14px!important;margin-bottom:14px!important}
.mg-dashboard-grid{gap:12px!important}.mg-dashboard-card{min-height:105px!important;border:1px solid var(--v16-border)!important;box-shadow:0 8px 24px rgba(16,24,40,.05)!important}
.mg-v31-account-hub{padding:14px!important;border:1px solid var(--v16-border)!important;border-radius:18px!important;background:#fff!important}
.mg-v31-account-hub .mg-client-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.mg-v31-account-hub .mg-client-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:9px 8px!important;border:1px solid var(--v16-border)!important;border-radius:11px!important;background:var(--v16-soft)!important;color:#344054!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important;white-space:normal!important;text-align:center!important}
.mg-v31-account-hub .mg-client-btn.primary{background:var(--v16-blue)!important;color:#fff!important;border-color:var(--v16-blue)!important}.mg-v31-account-hub .mg-client-btn.whats{color:#087a55!important;background:#edf9f3!important;border-color:#b9ead4!important}
.mg-client-clean-card{border:1px solid var(--v16-border)!important;border-radius:20px!important;box-shadow:var(--v16-shadow)!important;padding:18px!important}
.mg-profile-info-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}.mg-info-tile{border:1px solid #e4eaf4!important;border-radius:12px!important;background:#fff!important;padding:12px!important}
@media(max-width:720px){.minha-conta-main{padding:8px 9px 88px!important}.mg-account-title-wrap-clean{align-items:stretch!important}.mg-account-shop-btn{width:100%!important;justify-content:center!important}.mg-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.mg-dashboard-card{min-height:92px!important;padding:11px!important}.mg-v31-account-hub .mg-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-v31-account-hub>p{font-size:12px!important;line-height:1.45!important}.mg-section-toolbar{align-items:stretch!important}.mg-section-toolbar .mg-clean-btn{width:100%!important}.mg-client-clean-head{align-items:flex-start!important}.mg-profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.mg-info-tile{padding:10px!important}.mg-info-label{font-size:9px!important}.mg-info-value{font-size:12px!important}}
@media(max-width:380px){.mg-profile-info-grid{grid-template-columns:1fr!important}}
/* Carrinho: promoção discreta */
.mg-cart-page [class*="desconto"],.mg-cart-page [class*="discount"]{background:var(--v16-success-bg)!important;color:#05603f!important;border:1px solid #b9ead4!important;box-shadow:none!important}.mg-cart-page [class*="desconto"] *,.mg-cart-page [class*="discount"] *{color:inherit!important}
/* menu nunca deve aparecer aberto sem classe explícita */
.mg-inicio-menu-overlay:not(.is-open),.mg-menu-overlay:not(.is-open),[data-menu-overlay]:not(.is-open){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
