:root{--blue:#244e68;--teal:#278fa2;--bg:#f3f7f9;--border:#dbe5e9;--ink:#173244}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:15px system-ui,Segoe UI,sans-serif;color:var(--ink)}header{background:white;border-bottom:1px solid var(--border)}.head{max-width:1180px;margin:auto;display:flex;gap:14px;align-items:center;padding:13px 20px;flex-wrap:wrap}.head img{width:62px;height:62px;object-fit:contain}.head h1{margin:0;font-size:23px}.head p{margin:4px 0;color:#57717e}.head a{margin-left:auto;color:var(--blue)}main{max-width:1180px;margin:auto;padding:22px 20px 60px}.panel{background:white;border:1px solid var(--border);border-radius:14px;padding:20px;margin:15px 0}.notice{padding:12px;border-radius:9px;background:#eaf4f6;color:#174b5a;margin:12px 0;white-space:pre-wrap}.error{background:#fff0ed;color:#9a2f23}.warn{background:#fff5de;color:#805e16}button,.btn{cursor:pointer;border:1px solid #b7cdd6;background:white;border-radius:9px;padding:10px 14px;color:var(--blue);font:inherit;font-weight:650;text-decoration:none}button.primary,.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{width:100%;padding:10px;border:1px solid #b8cbd4;border-radius:8px;background:white;font:inherit}label{display:block;font-weight:650;font-size:13px;margin-bottom:5px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wide{grid-column:1/-1}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.tabs button.selected{background:var(--blue);color:white}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{padding:12px 10px;text-align:left;border-bottom:1px solid var(--border);vertical-align:middle}th{font-size:12px;color:#647a85;text-transform:uppercase}.muted{color:#657c88;font-size:13px}.toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}h2{margin:0 0 15px}h3{margin:8px 0}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.product{background:white;border:1px solid var(--border);border-radius:13px;padding:14px}.product img{width:100%;height:155px;object-fit:contain}.product .placeholder{height:155px;display:grid;place-items:center;background:#eef3f5;color:#738895}.price{font-size:20px;color:var(--blue);font-weight:800}.old{text-decoration:line-through;color:#82919a}.pill{display:inline-block;background:#e6f3ed;color:#176246;border-radius:20px;padding:4px 8px;font-size:12px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.filters input,.filters select{max-width:340px}.dialog{border:0;border-radius:14px;max-width:740px;width:calc(100% - 24px);padding:24px;max-height:90%;overflow:auto}.dialog::backdrop{background:#0c283b9c}.statrow{display:flex;gap:12px;flex-wrap:wrap}.stat{background:#fff;border:1px solid var(--border);padding:15px;border-radius:10px;flex:1;min-width:140px}.stat strong{font-size:25px;display:block}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #70c6d5;outline-offset:2px}@media(max-width:650px){.fields{grid-template-columns:1fr}.wide{grid-column:auto}.head a{margin-left:0}.filters input,.filters select{max-width:none}main{padding:16px 12px}}

.inlinecheck{display:flex;align-items:center;gap:9px;font-weight:500}.inlinecheck input{width:auto;flex:none}.panel[hidden],form[hidden],div[hidden],section[hidden]{display:none!important}

.cart-line{display:grid;grid-template-columns:1fr 90px auto auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.cart-line input{max-width:90px}.order-card{padding:12px 0;border-bottom:1px solid var(--border)}@media(max-width:650px){.cart-line{grid-template-columns:1fr 75px}.cart-line button{justify-self:start}}

/* MED WEHNER — Página inicial premium (não altera estilos do painel admin) */
body{background:#f6f9fd;color:#10345b}header.mw-top{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 2px 12px #0c356014}.mw-top-inner{max-width:1420px;margin:auto;display:flex;align-items:center;gap:22px;padding:10px 22px}.mw-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#083a6a;flex-shrink:0}.mw-brand img{width:52px;height:48px;object-fit:contain}.mw-brand strong{display:block;font-size:21px;letter-spacing:.3px}.mw-brand small{display:block;font-size:10px;color:#385b77}.mw-top-search{display:flex;flex:1;min-width:180px;max-width:470px;margin:auto}.mw-top-search input{width:100%;border-radius:9px 0 0 9px;background:#f5f9fe}.mw-top-search button{border-radius:0 9px 9px 0;background:#073f78;color:#fff;border-color:#073f78}.mw-nav{display:flex;gap:17px;align-items:center;white-space:nowrap}.mw-nav a{color:#103d6c;text-decoration:none;font-size:12px;font-weight:650}.mw-nav .mw-account{background:#063e77;color:#fff;padding:12px;border-radius:7px}.mw-nav .mw-admin{font-size:11px;color:#6a7c8d}main{max-width:1420px;padding:12px 22px 65px}.mw-carousel{position:relative;border-radius:13px;overflow:hidden;box-shadow:0 8px 25px #0b406015;margin:2px 0 12px}.mw-slides{position:relative;min-height:355px}.mw-slide{display:none;min-height:355px;align-items:center;justify-content:space-between;padding:38px clamp(28px,6vw,85px);gap:20px}.mw-slide.is-active{display:flex}.mw-slide-intro{background:linear-gradient(105deg,#eaf5fc 0%,#f8fcff 54%,#b6dcf5 100%)}.mw-slide-offer{background:linear-gradient(105deg,#f9fcff 0%,#e8f4ff 62%,#addafa 100%)}.mw-slide-copy{position:relative;z-index:2;max-width:610px}.mw-overline{color:#0e9ab5;font-weight:800;letter-spacing:.07em}.mw-slide h2{font-size:clamp(28px,3.4vw,48px);line-height:1.08;letter-spacing:-1px;margin:10px 0 16px;color:#073665}.mw-slide h2 em{color:#16a9c2;font-style:normal}.mw-slide p{font-size:16px;color:#244867;line-height:1.5;max-width:520px}.mw-hero-perks{display:flex;gap:17px;flex-wrap:wrap;font-size:12px;color:#0a3a69;margin:24px 0}.mw-cta{display:inline-block;background:#063e77;color:#fff!important;text-decoration:none;padding:13px 22px;border-radius:9px;font-weight:750;margin-top:14px}.mw-hero-visual{width:34%;min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#0c6698}.mw-med-symbol{font-size:160px;line-height:1;color:#1995bb;filter:drop-shadow(12px 12px 10px #6a9fbd60)}.mw-hero-visual span{font-size:13px;font-weight:700}.mw-offer-photo{width:37%;max-height:290px;object-fit:contain;filter:drop-shadow(5px 14px 12px #1b557433)}.mw-offer-label{display:inline-block;background:#db2937;color:#fff;padding:7px 12px;border-radius:7px;font-size:12px;font-weight:800}.mw-arrow{position:absolute;top:45%;border:0;border-radius:50%;background:#fff;color:#063d76;width:44px;height:44px;font-size:30px;box-shadow:0 2px 10px #164e7d22}.mw-prev{left:10px}.mw-next{right:10px}.mw-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:9px}.mw-dots button{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:#b9d2e7}.mw-dots button.is-active{background:#074c83}.mw-benefits{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:12px 0 32px}.mw-benefits>div{background:#edf5fb;border-radius:9px;padding:16px 12px;display:flex;align-items:center;justify-content:center;gap:12px;color:#084477;font-size:25px}.mw-benefits span{font-size:12px;font-weight:650}.mw-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.mw-section-head h2{font-size:28px;margin:0;color:#083a69}.mw-section-head p{margin:4px 0;color:#57718a}.mw-section-head a{border:1px solid #a5c4e0;border-radius:24px;padding:10px 16px;text-decoration:none;font-size:12px;color:#0b487d;font-weight:700}.mw-promo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mw-promo-card{position:relative;background:#fff;border:1px solid #e2eaf1;border-radius:12px;padding:14px;display:flex;flex-direction:column;min-height:260px}.mw-promo-card img{width:100%;height:130px;object-fit:contain}.mw-promo-card .mw-photo-placeholder{height:130px;display:grid;place-items:center;color:#7790a2;background:#f2f6fa;border-radius:8px}.mw-promo-card h3{font-size:14px;color:#123b6a;margin:10px 0 5px}.mw-promo-card .mw-sku{font-size:11px;color:#678096}.mw-promo-card .mw-old{font-size:12px;text-decoration:line-through;color:#8293a5}.mw-promo-card .mw-price{font-size:20px;color:#d5293d;font-weight:800;margin:5px 0 10px}.mw-promo-card button{margin-top:auto;color:#0a447b;border-color:#b4c9de}.mw-promo-card .mw-discount{position:absolute;top:10px;left:10px;background:#df3042;color:white;font-size:12px;padding:5px 8px;border-radius:7px;font-weight:800}.mw-about{background:#eaf4fc;border-radius:12px;padding:20px 24px;margin-top:26px}.mw-about h2{margin:0 0 8px;color:#0a416e}.mw-about p{color:#46647c;max-width:900px}.mw-about a{color:#07548b;font-weight:700}#companyArea,#catalogo,#cartPanel,#myOrdersPanel{box-shadow:0 5px 18px #0b416010}#companyArea h2,#catalogo h2,#cartPanel h2,#myOrdersPanel h2{color:#0a3c6d}@media(max-width:1050px){.mw-top-inner{flex-wrap:wrap}.mw-top-search{order:3;max-width:none;flex-basis:100%}.mw-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mw-benefits{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){main{padding:10px 12px 40px}.mw-top-inner{padding:10px}.mw-brand strong{font-size:17px}.mw-nav{width:100%;justify-content:space-between;gap:7px}.mw-nav a{font-size:10px}.mw-slide{padding:28px 25px 45px;min-height:390px;flex-direction:column;align-items:flex-start}.mw-slide h2{font-size:30px}.mw-slide p{font-size:14px}.mw-hero-visual{display:none}.mw-offer-photo{position:absolute;bottom:32px;right:10px;width:36%;max-height:110px;opacity:.8}.mw-hero-perks{gap:7px}.mw-hero-perks span{font-size:10px}.mw-benefits{grid-template-columns:repeat(2,1fr)}.mw-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mw-promo-card{padding:9px}.mw-promo-card img,.mw-promo-card .mw-photo-placeholder{height:95px}.mw-section-head h2{font-size:22px}.mw-section-head a{font-size:10px}.mw-arrow{width:30px;height:30px;font-size:20px}.mw-slide-copy{max-width:100%}}


/* MED WEHNER — padronização visual dos anúncios do catálogo */
#cards.cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));align-items:stretch}
#cards .product{display:flex;flex-direction:column;min-width:0;height:100%;padding:16px;overflow:hidden}
#cards .product>img,#cards .product>.placeholder{display:block;width:100%;height:170px;flex:0 0 170px;object-fit:contain;object-position:center;margin-bottom:12px}
#cards .product>.placeholder{display:grid;place-items:center}
#cards .product>h3{font-size:17px;line-height:1.38;min-height:4.15em;max-height:4.15em;overflow:hidden;margin:10px 0 8px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
#cards .product>.muted{line-height:1.35}
#cards .product>.old{min-height:19px;margin-top:8px}
#cards .product>.pill{align-self:flex-start}
#cards .product>.price{margin-top:auto;padding-top:10px;min-height:42px}
#cards .product>button[data-add-cart]{width:100%;min-height:46px;margin-top:10px}
@media(max-width:650px){#cards.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#cards .product{padding:10px}#cards .product>img,#cards .product>.placeholder{height:125px;flex-basis:125px}#cards .product>h3{font-size:14px}#cards .product>button[data-add-cart]{font-size:12px;padding:10px 5px}}
@media(max-width:380px){#cards.cards{grid-template-columns:1fr}}

/* MED WEHNER — três banners com dimensões idênticas */
.mw-carousel { width:100%; }
.mw-slides { height:355px; min-height:355px; }
.mw-slide { box-sizing:border-box; width:100%; height:355px; min-height:0; max-height:355px; overflow:hidden; }
.mw-slide-third { background:linear-gradient(110deg,#eef8ff 0%,#f9fcff 52%,#b7dff4 100%); }
.mw-third-visual .mw-med-symbol { color:#0b8eb6; }
.mw-slide-copy { min-width:0; }
.mw-hero-visual,.mw-offer-photo { flex-shrink:0; }
@media(max-width:650px){
 .mw-slides {height:410px;min-height:410px;}
 .mw-slide {height:410px;max-height:410px;min-height:0;}
 .mw-slide-copy {width:100%;}
 .mw-slide h2 {font-size:clamp(25px,7vw,30px);}
 .mw-slide p {font-size:13px;}
 .mw-hero-perks {margin:14px 0;}
 .mw-cta {margin-top:9px;}
}
@media(prefers-reduced-motion:reduce){.mw-slide{transition:none}}

/* Acompanhamento visual dos pedidos — somente leitura dos status existentes */
.mw-tracking-card{padding:22px 4px 24px}.mw-track-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.mw-order-status{border-radius:20px;background:#e6f4fa;color:#07507e;padding:6px 12px;font-size:12px;font-weight:750}.mw-order-status.is-cancelled{background:#fff0ef;color:#a12c35}.mw-track-list{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:27px 0 15px;position:relative}.mw-track-list:before{content:"";position:absolute;top:19px;left:10%;right:10%;height:5px;background:#d8e2e9;border-radius:6px}.mw-track-step{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0}.mw-track-dot{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d8e2e9;color:#647b8c;font-size:17px;font-weight:800;border:4px solid white;z-index:1}.mw-track-step.is-done .mw-track-dot{background:#1599b4;color:#fff}.mw-track-step.is-current .mw-track-dot{outline:3px solid #b7eaf2}.mw-track-label{font-size:12px;line-height:1.3;font-weight:650;color:#708495;max-width:110px}.mw-track-step.is-done .mw-track-label{color:#0b4c78}.mw-track-note{background:#eef7fc;border-radius:9px;padding:12px 14px;color:#164b70;font-size:13px;margin:0}.mw-track-note.is-cancelled{background:#fff0ef;color:#a12c35}@media(max-width:600px){.mw-tracking-card{padding:16px 0}.mw-track-list{margin:20px 0 13px}.mw-track-list:before{top:15px}.mw-track-dot{width:34px;height:34px;font-size:13px;border-width:3px}.mw-track-label{font-size:10px;overflow-wrap:anywhere}}

/* Carrinho: colunas estáveis para todos os produtos */
#cartLines .cart-line{display:grid;grid-template-columns:minmax(0,1fr) 112px 110px 116px;align-items:center;column-gap:16px;row-gap:8px}
#cartLines .cart-line>div:first-child{min-width:0;overflow-wrap:anywhere}
#cartLines .cart-line>input[data-qty]{width:100%;max-width:none;min-width:0;box-sizing:border-box;justify-self:stretch}
#cartLines .cart-line>strong{width:100%;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#cartLines .cart-line>button[data-remove]{width:100%;box-sizing:border-box;white-space:nowrap}
@media(max-width:720px){#cartLines .cart-line{grid-template-columns:minmax(0,1fr) 88px 95px;column-gap:10px}#cartLines .cart-line>div:first-child{grid-column:1/-1}#cartLines .cart-line>button[data-remove]{grid-column:3}#cartLines .cart-line>strong{grid-column:2}#cartLines .cart-line>input[data-qty]{grid-column:1}}
@media(max-width:380px){#cartLines .cart-line{grid-template-columns:minmax(0,1fr) 86px 94px;gap:7px}#cartLines .cart-line>button[data-remove]{font-size:12px;padding:9px 5px}}

/* MED WEHNER: galeria de ate cinco imagens por produto */
.med-gallery-main{width:100%;height:180px;object-fit:contain;display:block;background:#fff;border-radius:8px}
.med-gallery-thumbs{display:flex;gap:5px;justify-content:center;margin:8px 0;flex-wrap:wrap}
.med-gallery-thumbs .med-thumb{padding:2px;width:40px;height:40px;border:1px solid #ccd8e3;border-radius:6px;background:#fff;cursor:pointer}
.med-gallery-thumbs .med-thumb.selected{border:2px solid #07518b}
.med-gallery-thumbs .med-thumb img{width:100%;height:100%;object-fit:contain}
.med-admin-images{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.med-admin-image{width:110px;border:1px solid #d6e1ec;border-radius:8px;padding:6px;font-size:12px;display:flex;flex-direction:column;gap:5px}
.med-admin-image img{width:100%;height:85px;object-fit:contain}
.med-admin-image input{width:auto!important}
.med-new-photo{min-height:85px;display:flex;flex-direction:column;justify-content:center;overflow-wrap:anywhere}
.med-new-photo small{display:block;color:#657687}

/* V9.5 — galeria de promoções e detalhes do produto */
.med-product-open{border:0!important;background:transparent!important;padding:0!important;color:inherit!important;text-align:left;font:inherit;cursor:pointer;margin:0!important;white-space:normal}
.med-product-open:hover{text-decoration:underline}.med-gallery-main[data-product-detail],.mw-promo-main[data-product-detail]{cursor:pointer}
.mw-promo-card .mw-promo-gallery{width:100%;margin-top:3px}.mw-promo-card .mw-promo-gallery>.mw-promo-main{height:130px;width:100%;object-fit:contain}
.mw-promo-thumbs{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin:7px 0}.mw-promo-card .mw-promo-thumbs button{margin:0;padding:2px;width:36px;height:36px;min-width:0;flex:none;border:1px solid #d0dce8;background:#fff;border-radius:5px}.mw-promo-card .mw-promo-thumbs button.selected{border:2px solid #07518b}.mw-promo-card .mw-promo-thumbs img{width:100%;height:100%;object-fit:contain}
.med-product-dialog{border:0;border-radius:15px;padding:28px;max-width:min(900px,94vw);width:900px;max-height:90vh;overflow:auto;box-shadow:0 12px 60px #001a3660;color:#10345b}.med-product-dialog::backdrop{background:#071a2cb3}.med-detail-close{position:sticky;top:0;float:right;z-index:2;border:0;background:#edf4fa;border-radius:50%;font-size:26px;width:38px;height:38px;cursor:pointer}.med-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;clear:both}.med-detail-main{width:100%;height:310px;object-fit:contain}.med-detail-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.med-detail-thumbs button{width:60px;height:60px;padding:3px;border:1px solid #c9d9e8;background:white;border-radius:8px;cursor:pointer}.med-detail-thumbs button.selected{border:2px solid #07518b}.med-detail-thumbs img{width:100%;height:100%;object-fit:contain}.med-detail-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.med-detail-layout h2{margin:0 0 10px;font-size:23px}.med-detail-layout h3{margin:20px 0 8px;font-size:17px}
@media(max-width:650px){.med-detail-layout{grid-template-columns:1fr;gap:14px}.med-detail-main{height:220px}.med-product-dialog{padding:15px}.mw-promo-card .mw-promo-gallery>.mw-promo-main{height:95px}.mw-promo-card .mw-promo-thumbs button{width:29px;height:29px}}

/* MED WEHNER V9.6: gerenciamento visual das fotos */
.med-admin-images .med-sort-photo{display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px}
.med-admin-images .med-sort-photo img{width:100%;height:100px;object-fit:contain}
.med-photo-label{font-size:12px;font-weight:700;color:#0a4678}
.med-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:auto}
.med-photo-actions button{font-size:11px;padding:6px 3px;min-height:29px;border:1px solid #b9ccdb;border-radius:5px;background:#fff;color:#153d5e;cursor:pointer}
.med-photo-actions button:disabled{opacity:.45;cursor:default}
.med-photo-actions .med-remove-photo{color:#a21d2b;border-color:#e6b4ba}

/* V9.7: pedidos finalizados recolhidos por padrão */
.mw-finished-orders{margin-top:18px;padding-top:14px;border-top:1px solid #dce5ee}
.mw-finished-orders>button{cursor:pointer;border:1px solid #b7ccdc;border-radius:9px;background:#fff;color:#073b70;font-weight:700;padding:12px 16px}
.mw-finished-orders>button:hover{background:#f0f7fc}
#finishedOrdersList{margin-top:14px}
#finishedOrdersList[hidden]{display:none!important}

/* Centralizacao precisa das setas nos botoes circulares do banner */
.mw-carousel .mw-arrow{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;cursor:pointer;}

/* V9.8 — detalhes dos itens do pedido, somente leitura */
.mw-order-details-trigger{border:0;background:transparent;padding:2px 0;color:#075087;font:inherit;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.mw-order-details-trigger:hover{color:#087b9e}.mw-order-details-trigger:focus-visible{outline:2px solid #1499b4;outline-offset:3px}.mw-order-items{margin-top:14px;padding:16px;background:#f8fbfd;border:1px solid #dce8f0;border-radius:10px}.mw-order-items h4{margin:0 0 12px;color:#103d63}.mw-order-item-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #e1eaf0}.mw-order-item-row img{width:64px;height:64px;object-fit:contain;background:white;border:1px solid #e1eaf0;border-radius:7px}.mw-order-item-row>div:nth-child(2){flex:1;min-width:0}.mw-order-item-values{text-align:right;white-space:nowrap;font-size:13px}@media(max-width:600px){.mw-order-item-row{flex-wrap:wrap}.mw-order-item-values{width:100%;text-align:left;padding-left:0}}

/* V9.8.1: alinhamento exato dos icones SVG nos botoes circulares */
.mw-carousel .mw-arrow,.med-detail-close{display:grid;place-items:center;padding:0;line-height:0;}
.mw-carousel .mw-arrow svg,.med-detail-close svg{display:block;flex:none;}

/* Icone de queima de estoque no titulo de promocoes */
.mw-flame{display:inline-block;vertical-align:-.06em;margin-right:5px;font-size:.92em}

/* V9.8.5 — quantidade antes de adicionar ao carrinho */
.mw-price-quantity{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto}
.mw-qty-control{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:650;color:#355b75;white-space:nowrap}
.mw-qty-control input{width:74px;min-width:65px;padding:7px 6px;text-align:center;border:1px solid #b8cbd4;border-radius:8px;font:inherit;background:#fff}
.mw-promo-card .mw-price-quantity{margin-top:4px;margin-bottom:9px}
.mw-promo-card .mw-price-quantity .mw-price{margin:0}
#cards .product .mw-price-quantity{margin-top:auto;padding-top:10px}
#cards .product .mw-price-quantity .price{margin:0;padding:0;min-height:0}
.med-detail-layout .mw-price-quantity{justify-content:flex-start;margin:12px 0}
.med-detail-layout .mw-price-quantity .price{margin:0}
@media(max-width:650px){.mw-price-quantity{gap:7px}.mw-qty-control input{width:60px;min-width:0}}

/* V9.8.6 - Identificacao da empresa autenticada no cabecalho */
.mw-nav .mw-account.mw-account-logged{display:flex;align-items:center;gap:7px;background:#e7f5ef;color:#07583f;border:1px solid #b8dfcf;max-width:285px;min-width:0;padding:9px 11px}.mw-account-logged .mw-account-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mw-account-logged .mw-account-check{flex:none;font-size:15px}@media(max-width:650px){.mw-nav .mw-account.mw-account-logged{max-width:190px;padding:8px}.mw-account-logged .mw-account-text{max-width:140px}}

/* V9.8.7: acesso empresarial discreto no canto superior esquerdo do cabeçalho. */
.mw-top-inner{flex-wrap:wrap}
.mw-account-entry{flex:none;display:inline-flex;align-items:center;max-width:290px;padding:8px 10px;border:1px solid #c4d9e8;border-radius:8px;background:#f2f8fc;color:#084477;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}
.mw-account-entry.mw-account-logged{background:#e7f5ef;border-color:#b8dfcf;color:#07583f;gap:6px}
.mw-account-entry .mw-account-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mw-company-panel{scroll-margin-top:95px}
@media(max-width:1050px){.mw-account-entry{order:2}.mw-top-search{order:3}}
@media(max-width:650px){.mw-account-entry{max-width:220px;font-size:11px;padding:7px}.mw-account-entry .mw-account-text{max-width:175px}}

/* V9.8.8 - acesso empresarial em modal */
.mw-account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}
.mw-account-actions .mw-account-entry{cursor:pointer;font-size:12px;font-weight:700;border:1px solid #b8d4e8;border-radius:9px;background:#eff7fd;color:#073e72;padding:11px 13px;white-space:normal;text-align:center}
.mw-account-actions .mw-register-entry{background:#0b477b;color:#fff;border-color:#0b477b}
.mw-company-overlay[hidden]{display:none!important}
.mw-company-overlay{position:fixed;inset:0;z-index:1000;background:rgba(8,29,51,.56);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.mw-company-overlay .mw-company-panel{position:relative;display:block!important;width:min(100%,690px);max-height:min(90vh,850px);overflow:auto;margin:auto;background:#fff;padding:28px 26px;border-radius:16px;box-shadow:0 20px 65px #061c3655;scroll-margin-top:0}
.mw-company-close{position:absolute;top:12px;right:14px;border:0!important;background:#eef5fa!important;color:#173e61!important;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:27px;line-height:1;padding:0;cursor:pointer}
.mw-modal-open{overflow:hidden}
@media(max-width:650px){.mw-account-actions{width:100%;justify-content:center}.mw-company-overlay .mw-company-panel{padding:22px 14px}.mw-company-panel .toolbar{padding-right:30px}}

/* V9.8.9: modal Minha conta simplificado; cadastro permanece no botão separado. */
#mwCompanyOverlay[data-mode="login"] #companyAuth .tabs,
#mwCompanyOverlay[data-mode="login"] .mw-company-panel .toolbar .pill{display:none!important}
#mwCompanyOverlay[data-mode="login"] #companyAuth #companySignupForm{display:none!important}
#mwCompanyOverlay[data-mode="login"] #companyMessage:not(.error){display:none!important}
#mwCompanyOverlay[data-mode="login"] .mw-company-panel .toolbar{padding-right:45px}
