/* V343 - Product Card: imagem maior dentro do 1:1 e zoom hover mais forte. Usa somente dados reais do produto. */
:root{
  --mb-pc-navy:#071B4D;
  --mb-pc-gold:#F5A900;
  --mb-pc-line:#e7ecf5;
  --mb-pc-soft:#f7f9fc;
  --mb-pc-text:#071B4D;
  --mb-pc-muted:#697386;
  --mb-pc-green:#16a34a;
  --mb-pc-shadow:0 14px 36px rgba(7,27,77,.08);
}
.mb-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.mb-product-card{position:relative;background:#fff;border:1px solid var(--mb-pc-line);border-radius:20px;box-shadow:var(--mb-pc-shadow);padding:12px;display:flex;flex-direction:column;gap:8px;min-width:0;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.mb-product-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(7,27,77,.13);border-color:#d7deeb}
.mb-product-card__badges{min-height:24px;display:flex;flex-wrap:nowrap;gap:5px;align-items:center;overflow:hidden;white-space:nowrap}
.mb-product-card__badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:999px;padding:0 7px;height:20px;font-size:9px;line-height:20px;font-weight:900;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;flex:0 1 auto;min-width:0;vertical-align:middle}
.mb-product-card__badge i{font-size:9px;line-height:1;flex:0 0 auto;display:inline-flex;align-items:center}
.mb-product-card__badge--kit{background:#071B4D;color:#fff}
.mb-product-card__badge--eco{background:#e8f8ee;color:#0f7a35;border:1px solid #bce9ca}
.mb-product-card__badge--new{background:#fff7df;color:#8b5e00;border:1px solid #ffe2a0}
.mb-product-card__badge--promo{background:#fff0f0;color:#b42318;border:1px solid #ffd1d1}
.mb-product-card__badge--more{background:#eef2f7;color:#071B4D;border:1px solid #dbe3ef;min-width:24px}
.mb-product-card__media{position:relative;display:block;width:100%;aspect-ratio:1/1;background:#fff;border:1px solid #eef2f7;border-radius:16px;overflow:hidden;text-decoration:none}
.mb-product-card__img{width:100%;height:100%;object-fit:contain;display:block;padding:0;transform:scale(1.12);transform-origin:center center;transition:transform .32s ease,opacity .18s ease}
.mb-product-card:hover .mb-product-card__img{transform:scale(1.24)}
.mb-product-card__nav{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:999px;border:1px solid rgba(255,255,255,.78);background:rgba(255,255,255,.62);color:var(--mb-pc-navy);display:flex;align-items:center;justify-content:center;font-size:12px;opacity:1;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;z-index:3;box-shadow:0 6px 18px rgba(7,27,77,.12);backdrop-filter:blur(2px)}
.mb-product-card__nav:hover{background:var(--mb-pc-gold);color:var(--mb-pc-navy);border-color:var(--mb-pc-gold);box-shadow:0 8px 20px rgba(245,169,0,.28)}.mb-product-card__nav:focus{outline:none}.mb-product-card__nav:focus-visible{outline:2px solid rgba(7,27,77,.25);outline-offset:2px}.mb-product-card__nav:active{transform:translateY(-50%) scale(.96);background:rgba(255,255,255,.62);border-color:rgba(255,255,255,.78)}
.mb-product-card__nav--prev{left:9px}.mb-product-card__nav--next{right:9px}
.mb-product-card__dots{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);display:flex;gap:5px;z-index:3}
.mb-product-card__dot{width:6px;height:6px;border-radius:999px;background:rgba(7,27,77,.25)}
.mb-product-card__dot.active{background:var(--mb-pc-gold)}
.mb-product-card__placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#98a2b3;background:#fafbfe;font-weight:800;font-size:12px;text-align:center}.mb-product-card__placeholder i{font-size:34px;color:#d1d8e6}
.mb-product-card__code{font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:.02em}.mb-product-card__code span{color:var(--mb-pc-gold);font-weight:500}.mb-product-card__code strong{color:#697386;font-weight:500}
.mb-product-card__name{margin:0 0 -3px;min-height:38px;font-size:16px;line-height:1.24;font-weight:900;color:var(--mb-pc-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mb-product-card__name a{color:inherit;text-decoration:none}.mb-product-card__name a:hover{color:#0a2a78}
.mb-product-card__min{font-size:13px;color:var(--mb-pc-muted);display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-product-card__min i{color:var(--mb-pc-gold);font-size:13px;flex:0 0 auto}.mb-product-card__min span{font-weight:500;color:#697386}.mb-product-card__min strong{font-weight:900;color:#697386}
.mb-product-card__price{display:flex;flex-direction:column;gap:3px;margin-top:auto}.mb-product-card__price small{font-size:12px;color:var(--mb-pc-muted);font-weight:500;letter-spacing:.01em;text-transform:none}.mb-product-card__price strong{font-size:22px;line-height:1.05;font-weight:950;color:var(--mb-pc-navy);white-space:nowrap}.mb-product-card__price span{font-size:12px;color:var(--mb-pc-muted);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mb-product-card__price span em{font-style:normal;font-weight:500;color:#697386}.mb-product-card__price span b{font-weight:900;color:#697386}
.mb-product-card__actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px}.mb-product-card__btn{height:38px;border-radius:12px;border:1px solid transparent;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.02em;display:flex;align-items:center;justify-content:center;gap:8px;transition:transform .16s ease,filter .16s ease,background .16s ease}.mb-product-card__btn:active{transform:translateY(1px)}.mb-product-card__btn--buy{background:var(--mb-pc-gold);color:#071B4D}.mb-product-card__btn--quote{background:var(--mb-pc-navy);color:#fff}.mb-product-card__btn--whatsapp{background:#19a64a;color:#fff}.mb-product-card__btn:hover{filter:brightness(.96)}
.mb-product-card__empty{grid-column:1/-1;background:#fff;border:1px dashed #cfd8e6;border-radius:18px;padding:28px;text-align:center;color:#64748b;font-weight:800}.mb-product-card__empty strong{display:block;color:#071B4D;font-size:18px;margin-bottom:6px}
.mb-product-card-test-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 22px}.mb-product-card-test-head h1{margin:0;color:#071B4D;font-size:26px;font-weight:950}.mb-product-card-test-head p{margin:6px 0 0;color:#64748b;line-height:1.5}.mb-product-card-test-pill{display:inline-flex;align-items:center;gap:8px;background:#fff8df;border:1px solid #ffe2a0;color:#765000;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:950;white-space:nowrap}
@media (max-width:1100px){.mb-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:720px){.mb-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mb-product-card{border-radius:16px;padding:9px;gap:7px}.mb-product-card__badges{min-height:20px;gap:3px}.mb-product-card__badge{font-size:9px;height:20px;line-height:20px;padding:0 7px;gap:3px}.mb-product-card__badge i{font-size:7.5px}.mb-product-card__img{padding:0;transform:scale(1.10)}.mb-product-card:hover .mb-product-card__img{transform:scale(1.20)} .mb-product-card__name{font-size:16px;min-height:34px;line-height:1.22;margin-bottom:-4px}.mb-product-card__code{font-size:12px}.mb-product-card__min{font-size:12px}.mb-product-card__min i{font-size:12px}.mb-product-card__price small{font-size:12px}.mb-product-card__price strong{font-size:22px}.mb-product-card__price span{font-size:12px}.mb-product-card__btn{height:38px;font-size:12px;border-radius:12px}.mb-product-card__nav{width:27px;height:27px;font-size:11px}.mb-product-card-test-head{display:block}.mb-product-card-test-pill{margin-top:12px}}
@media (max-width:380px){.mb-product-grid{grid-template-columns:1fr}}
/* V347 - Setas mais próximas da borda do card */
.mb-product-card__nav--prev{left:3px}
.mb-product-card__nav--next{right:3px}
@media (max-width:720px){.mb-product-card__nav--prev{left:2px}.mb-product-card__nav--next{right:2px}}

/* V349 - Ajustes finais: selos premium compactos e setas menores no canto */
.mb-product-card__badges{min-height:21px;gap:4px;align-items:center;overflow:hidden}
.mb-product-card__badge{height:18px;line-height:18px;font-size:8px;padding:0 5px;gap:3px;font-weight:950;box-shadow:0 4px 10px rgba(7,27,77,.06)}
.mb-product-card__badge i{font-size:8px}
.mb-product-card__badge--new{letter-spacing:.015em}
.mb-product-card__badge--more{min-width:22px;padding:0 6px}
.mb-product-card__nav{width:26px;height:26px;font-size:10px}
.mb-product-card__nav--prev{left:2px}
.mb-product-card__nav--next{right:2px}
@media (max-width:720px){.mb-product-card__badges{min-height:18px}.mb-product-card__badge{height:16px;line-height:16px;font-size:7px;padding:0 4px}.mb-product-card__badge i{font-size:7px}.mb-product-card__nav{width:22px;height:22px;font-size:9px}.mb-product-card__nav--prev{left:1px}.mb-product-card__nav--next{right:1px}}

/* V350 - Selos sobrepostos na imagem: remove faixa reservada e elimina espaço vazio */
.mb-product-card__media .mb-product-card__badges{
  position:absolute;
  left:8px;
  top:8px;
  z-index:4;
  min-height:0;
  max-width:calc(100% - 16px);
  display:flex;
  flex-wrap:nowrap;
  gap:4px;
  align-items:center;
  overflow:hidden;
  pointer-events:none;
}
.mb-product-card__media .mb-product-card__badge{
  height:18px;
  line-height:18px;
  font-size:8px;
  padding:0 6px;
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 7px 18px rgba(7,27,77,.14);
  backdrop-filter:blur(4px);
}
.mb-product-card__media .mb-product-card__badge--kit{background:rgba(7,27,77,.92);color:#fff}
.mb-product-card__media .mb-product-card__badge--eco{background:rgba(232,248,238,.94);color:#0f7a35;border-color:rgba(188,233,202,.85)}
.mb-product-card__media .mb-product-card__badge--new{background:rgba(255,247,223,.94);color:#8b5e00;border-color:rgba(255,226,160,.9)}
.mb-product-card__media .mb-product-card__badge--promo{background:rgba(255,240,240,.94);color:#b42318;border-color:rgba(255,209,209,.9)}
.mb-product-card__media .mb-product-card__badge--more{background:rgba(238,242,247,.94);color:#071B4D;border-color:rgba(219,227,239,.9)}
@media (max-width:720px){
  .mb-product-card__media .mb-product-card__badges{left:6px;top:6px;max-width:calc(100% - 12px);gap:3px}
  .mb-product-card__media .mb-product-card__badge{height:16px;line-height:16px;font-size:7px;padding:0 4px}
}

/* V351 - Selos sobrepostos no meio da borda superior da imagem, sem reservar espaço */
.mb-product-card > .mb-product-card__badges{
  position:absolute;
  left:20px;
  top:3px;
  z-index:6;
  min-height:0;
  max-width:calc(100% - 40px);
  display:flex;
  flex-wrap:nowrap;
  gap:4px;
  align-items:center;
  overflow:hidden;
  white-space:nowrap;
  pointer-events:none;
}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge{
  height:18px;
  line-height:18px;
  font-size:8px;
  padding:0 6px;
  border:1px solid rgba(255,255,255,.68);
  box-shadow:0 7px 18px rgba(7,27,77,.16);
  backdrop-filter:blur(4px);
}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge--kit{background:rgba(7,27,77,.93);color:#fff}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge--eco{background:rgba(232,248,238,.95);color:#0f7a35;border-color:rgba(188,233,202,.88)}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge--new{background:rgba(255,247,223,.95);color:#8b5e00;border-color:rgba(255,226,160,.92)}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge--promo{background:rgba(255,240,240,.95);color:#b42318;border-color:rgba(255,209,209,.92)}
.mb-product-card > .mb-product-card__badges .mb-product-card__badge--more{background:rgba(238,242,247,.95);color:#071B4D;border-color:rgba(219,227,239,.92)}
.mb-product-card__media .mb-product-card__badges{display:none!important}
@media (max-width:720px){
  .mb-product-card > .mb-product-card__badges{left:15px;top:1px;max-width:calc(100% - 30px);gap:3px}
  .mb-product-card > .mb-product-card__badges .mb-product-card__badge{height:16px;line-height:16px;font-size:7px;padding:0 4px}
}
/* V464 - Product Card Global com Compra + Orçamento usando Selection Store Global */
.mb-product-card__actions{grid-template-columns:1fr!important;gap:8px!important}.mb-product-card__btn{min-height:42px}.mb-product-card__btn--buy{background:var(--mb-pc-gold)!important;color:#071B4D!important}.mb-product-card__btn--quote{background:#18A84A!important;color:#fff!important;border-color:#18A84A!important}.mb-product-card__btn--quote:hover{background:#128C3E!important}.mb-product-card__btn--quote span{display:inline-flex;align-items:center;gap:5px}.mb-product-card__btn--quote .fa-whatsapp,.mb-product-card__btn--quote .fa-envelope{color:#fff!important}


/* V466 - Product Card CTAs empilhados e orçamento verde */
.mb-product-card__actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.mb-product-card__btn{width:100%!important;min-height:42px!important}.mb-product-card__btn--buy{background:var(--mb-pc-gold)!important;color:#071B4D!important}.mb-product-card__btn--quote{background:#18A84A!important;color:#fff!important;border-color:#18A84A!important}.mb-product-card__btn--quote:hover{background:#128C3E!important}.mb-product-card__btn--quote span{display:inline-flex!important;align-items:center!important;gap:5px!important}.mb-product-card__btn--quote .fa-whatsapp,.mb-product-card__btn--quote .fa-envelope{color:#fff!important}

/* V554.2 - Product Card mobile: selos em 4 slots fixos, sem esticar quando houver menos selos */
@media (max-width:760px){
  .mb-product-card > .mb-product-card__badges{
    left:10px !important;
    right:10px !important;
    top:5px !important;
    width:auto !important;
    max-width:none !important;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    grid-auto-flow:row !important;
    grid-auto-columns:unset !important;
    gap:4px !important;
    overflow:hidden !important;
    justify-content:flex-start !important;
  }
  .mb-product-card > .mb-product-card__badges .mb-product-card__badge{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:22px !important;
    line-height:22px !important;
    padding:0 4px !important;
    font-size:8.4px !important;
    gap:3px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    flex:0 0 auto !important;
  }
  .mb-product-card > .mb-product-card__badges .mb-product-card__badge i{
    font-size:8.8px !important;
  }
}
