/* =========================================================================
   MapShop - style.css
   Identidade visual alinhada ao site institucional MapCloud
   (../assets/css/style.css): paleta verde-oliva, tipografia Inter.
   O verde-lima (--ms-accent) fica reservado aos elementos de comercio:
   preco, botao de compra e selo de promocao.
   ========================================================================= */

:root {
  /* Paleta espelhada dos tokens --mc-* do site institucional */
  --ms-primary-dark: #092719;
  --ms-primary: #174a31;
  --ms-primary-light: #568a45;
  --ms-accent: #cce88a;       /* verde-lima: acento de comercio */
  --ms-accent-strong: #b7da68;
  --ms-accent-soft: #f0f7df;  /* tint do lima, para superficies claras */
  --ms-ink: #0b1c13;
  --ms-dark: #07160e;
  --ms-gradient: linear-gradient(120deg, var(--ms-primary-dark) 0%, var(--ms-primary) 56%, var(--ms-primary-light) 100%);
  --ms-gradient-soft: linear-gradient(135deg, rgba(204,232,138,.38) 0%, rgba(255,255,255,.96) 72%);
  --ms-bg: #f1f5f0;
  --ms-surface-alt: #f7f9f6;
  --ms-card-bg: #ffffff;
  --ms-text: #0d1712;
  --ms-body: #3c493f;
  --ms-text-muted: #707d73;
  --ms-border: #dde5dc;
  --ms-focus-ring: rgba(23,74,49,.16);
  --ms-radius-sm: 10px;
  --ms-radius-md: 16px;
  --ms-radius-lg: 22px;
  --ms-shadow-sm: 0 3px 12px rgba(9,39,25,.07);
  --ms-shadow-md: 0 12px 32px rgba(9,39,25,.11);
  --ms-shadow-lg: 0 22px 52px rgba(9,39,25,.16);
  --ms-transition: all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--ms-bg);
  color: var(--ms-body);
  -webkit-font-smoothing: antialiased;
}

.ms-home-body {
  background: #e7f0e5;
}
.ms-home-body .ms-main {
  padding-top: 1.35rem; padding-bottom: 3rem;
  background:
    linear-gradient(
      180deg,
      #174a31 0%,
      #286743 22%,
      #73a866 48%,
      #c8dfb8 72%,
      #e7f0e5 100%
    );
}

a { text-decoration: none; transition: var(--ms-transition); }

.text-gradient {
  background: var(--ms-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------- Botoes ---------------------------- */
.btn-ms-primary {
  background: var(--ms-gradient);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: var(--ms-radius-sm);
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
}
.btn-ms-primary:hover { transform: translateY(-2px); box-shadow: var(--ms-shadow-md); color: #fff; }

.btn-ms-outline {
  background: #fff;
  border: 1.5px solid var(--ms-primary);
  color: var(--ms-primary);
  font-weight: 600;
  padding: .6rem 1.4rem;
  border-radius: var(--ms-radius-sm);
  transition: var(--ms-transition);
}
.btn-ms-outline:hover { background: var(--ms-primary); color: #fff; }

/* Acento de comercio: usado apenas em CTA de compra
   (adicionar ao carrinho, finalizar compra, confirmar pedido) */
.btn-ms-comprar {
  background: linear-gradient(135deg, #d7eea2 0%, var(--ms-accent) 48%, var(--ms-accent-strong) 100%);
  border: none;
  color: var(--ms-ink);
  font-weight: 700;
  padding: .65rem 1.5rem;
  border-radius: var(--ms-radius-sm);
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
}
.btn-ms-comprar:hover { background: var(--ms-accent-strong); color: var(--ms-ink); transform: translateY(-2px); box-shadow: var(--ms-shadow-md); }

/* ---------------------------- Topbar / Navbar ---------------------------- */
.ms-topbar {
  border-bottom: 1px solid rgba(204,232,138,.16);
  background: linear-gradient(90deg, #0b3020 0%, #174a31 58%, #285f40 100%);
  color: rgba(255,255,255,.82); font-size: .72rem;
}
.ms-topbar-inner {
  min-height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.ms-topbar-info { display: flex; align-items: center; gap: 0; }
.ms-topbar-item {
  min-height: 20px; padding: 0 .8rem; display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.82); font-size: .68rem; font-weight: 600;
}
.ms-topbar-item:first-child { padding-left: 0; }
.ms-topbar-item + .ms-topbar-item { border-left: 1px solid rgba(255,255,255,.16); }
.ms-topbar-item i { color: var(--ms-accent); font-size: .76rem; }
a.ms-topbar-item:hover { color: #fff; }
.ms-topbar-site {
  min-height: 24px; padding: 0 .55rem; display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: 7px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.86); font-size: .66rem; font-weight: 700;
}
.ms-topbar-site i { color: var(--ms-accent); font-size: .64rem; }
.ms-topbar-site:hover {
  border-color: rgba(204,232,138,.38); background: rgba(255,255,255,.1); color: #fff;
}

.ms-navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23,74,49,.08);
  box-shadow: 0 4px 18px rgba(9,39,25,.07);
  padding: .55rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.ms-brand {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-right: 1rem;
}
.ms-brand-logo {
  display: block; width: 40px; height: 40px; flex: 0 0 40px;
  object-fit: contain;
}
.ms-brand-wordmark {
  display: inline-flex; align-items: baseline; color: var(--ms-primary-dark);
  font-size: 1.15rem; font-weight: 800; line-height: 1; white-space: nowrap;
}
.ms-brand-wordmark strong {
  color: var(--ms-primary-light); font: inherit;
}
.ms-brand:hover .ms-brand-wordmark strong { color: #496f3b; }
.ms-brand-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ms-gradient);
  color: #fff; border-radius: 10px;
  font-size: 1.1rem;
}

.ms-nav-links .nav-link {
  font-weight: 500;
  color: var(--ms-text);
  padding: .45rem .8rem !important;
  border-radius: 8px;
}
.ms-nav-links .nav-link:hover { background: var(--ms-bg); color: var(--ms-primary); }

.ms-dropdown { border: none; border-radius: var(--ms-radius-md); box-shadow: var(--ms-shadow-lg); padding: .5rem; }
.ms-dropdown .dropdown-item { border-radius: 8px; padding: .5rem .8rem; }
.ms-dropdown .dropdown-item:hover { background: var(--ms-bg); color: var(--ms-primary); }

.ms-search { margin: 0 1rem; flex: 1; max-width: 420px; }
.ms-search-box { width: 100%; position: relative; }
.ms-search-box .form-control {
  border-radius: 999px;
  padding: .55rem 3rem .55rem 1.2rem;
  border: 1.5px solid var(--ms-border);
  background: var(--ms-surface-alt);
}
.ms-search-box .form-control:focus { border-color: var(--ms-primary-light); box-shadow: 0 0 0 3px var(--ms-focus-ring); background: #fff; }
.ms-search-box .btn {
  position: absolute; right: 4px; top: 4px; bottom: 4px;
  border-radius: 999px; background: var(--ms-gradient); color: #fff; border: none; padding: 0 1rem;
}
.ms-autocomplete {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border-radius: var(--ms-radius-md); box-shadow: var(--ms-shadow-lg);
  z-index: 1050; display: none; overflow: hidden; max-height: 420px; overflow-y: auto;
}
.ms-autocomplete.show { display: block; }
.ms-autocomplete-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .9rem; color: var(--ms-text); }
.ms-autocomplete-item:hover { background: var(--ms-bg); }
.ms-autocomplete-item img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }

.ms-nav-actions .nav-link { color: var(--ms-text); font-size: 1.15rem; padding: .4rem .7rem !important; position: relative; }
.ms-cart-link { position: relative; }
.ms-cart-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--ms-accent); color: var(--ms-ink);
  font-size: .65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
/* ---------------------------- Hero / Banner ---------------------------- */
.ms-banner-carousel {
  aspect-ratio: 3 / 1; overflow: hidden; border-radius: 8px;
  background: var(--ms-primary-dark); box-shadow: var(--ms-shadow-lg);
}
.ms-banner-carousel .carousel-inner,
.ms-banner-carousel .carousel-item { height: 100%; }
.ms-banner-carousel .carousel-item > a { display: block; height: 100%; }
.ms-banner-carousel .carousel-item img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.ms-home-hero { margin-top: 0 !important; }
.ms-home-benefit-wrap { margin-top: 1rem; }
@media (min-width: 1200px) {
  .ms-home-hero,
  .ms-home-benefit-wrap { max-width: 1080px; }
}
.ms-free-shipping-card {
  min-height: 68px; padding: .8rem 1rem; display: flex; align-items: center; gap: .85rem;
  border: 1px solid rgba(204,232,138,.35); border-radius: var(--ms-radius-sm);
  background: var(--ms-gradient); color: #fff; box-shadow: var(--ms-shadow-md);
}
.ms-free-shipping-icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); color: var(--ms-accent); font-size: 1.05rem;
}
.ms-free-shipping-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ms-free-shipping-card strong { color: #fff; font-size: .92rem; }
.ms-free-shipping-card small { color: rgba(255,255,255,.74); font-size: .76rem; }
.ms-free-shipping-arrow { margin-left: auto; color: var(--ms-accent); font-size: .72rem; }
.ms-home-body .ms-free-shipping-card {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(7,35,22,.18);
  color: var(--ms-primary);
  backdrop-filter: blur(10px);
}
.ms-home-body .ms-free-shipping-icon {
  background: var(--ms-primary); color: var(--ms-accent);
}
.ms-home-body .ms-free-shipping-card strong { color: var(--ms-primary-dark); }
.ms-home-body .ms-free-shipping-card small { color: var(--ms-text-muted); }
.ms-home-body .ms-free-shipping-arrow { color: var(--ms-primary-light); }

/* ---------------------------- Secoes ---------------------------- */
.ms-section { padding: 3.5rem 0; }
.ms-section-title {
  font-weight: 800; font-size: 1.8rem; margin-bottom: .25rem;
  color: var(--ms-ink); letter-spacing: 0; text-align: center;
}
.ms-section-title i { color: var(--ms-primary-light); font-size: .75em; }
.ms-section-subtitle { color: var(--ms-text-muted); margin-bottom: 2rem; text-align: center; }
.ms-home-products .ms-section-title { margin-bottom: 0; }
.ms-home-products .ms-product-grid { margin-top: 1.75rem; }
.ms-home-body .ms-home-products .ms-section-title {
  color: #fff; text-shadow: 0 2px 12px rgba(7,35,22,.24);
}
.ms-home-body .ms-home-products .ms-section-title::after {
  content: ''; display: block; width: 42px; height: 3px; margin: .65rem auto 0;
  border-radius: 99px; background: var(--ms-accent);
}
.ms-product-rail, .ms-product-grid { justify-content: flex-start; }
.ms-product-rail.is-centered { justify-content: center; }
.ms-category-rail { justify-content: center; }
.ms-product-rail > [class*="col"],
.ms-product-grid > [class*="col"] { display: flex; }

/* ---------------------- Esteira de produtos em destaque ---------------------- */
.ms-featured-viewport { position: relative; }
.ms-featured-rail {
  flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto;
  scroll-behavior: smooth; scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain; scrollbar-width: none;
}
.ms-featured-rail::-webkit-scrollbar { display: none; }
.ms-featured-rail > [class*="col"] {
  flex: 0 0 25%; width: 25%; scroll-snap-align: start;
}
.ms-featured-control {
  position: absolute; top: 50%; z-index: 4; width: 42px; height: 42px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(18,57,35,.14); border-radius: 50%;
  background: rgba(255,255,255,.96); color: var(--ms-primary);
  box-shadow: var(--ms-shadow-md); transform: translateY(-50%);
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ms-featured-control:hover {
  background: var(--ms-primary); color: #fff; box-shadow: var(--ms-shadow-lg);
}
.ms-featured-control.is-prev { left: -12px; }
.ms-featured-control.is-next { right: -12px; }

/* ---------------------------- Cards de produto ---------------------------- */
.ms-card-produto {
  position: relative; isolation: isolate; width: 100%; max-width: 320px; height: 100%; margin-inline: auto; overflow: hidden;
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.98);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7,35,22,.12), 0 1px 2px rgba(7,35,22,.08);
  border: 1px solid rgba(255,255,255,.72);
  transition: var(--ms-transition);
}
.ms-card-produto:hover {
  transform: translateY(-5px); border-color: rgba(204,232,138,.9);
  box-shadow: 0 18px 40px rgba(7,35,22,.2), 0 2px 6px rgba(7,35,22,.08);
}
.ms-card-produto .ms-img-wrap {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  margin: .5rem .5rem 0; width: calc(100% - 1rem); padding: 0;
  background: linear-gradient(145deg, #f8faf7 0%, #edf3eb 100%);
  border: 1px solid rgba(23,74,49,.08); border-radius: 7px;
}
.ms-card-produto .ms-img-wrap img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  border-radius: 6px; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.ms-card-produto .ms-img-wrap img.is-placeholder {
  padding: 1rem; object-fit: contain; background: transparent;
}
.ms-card-produto:hover .ms-img-wrap img { transform: scale(1.035); }
.ms-card-produto .ms-body {
  min-width: 0; flex: 1; padding: .95rem; display: flex; flex-direction: column;
  align-items: stretch; text-align: center;
}
.ms-card-produto .ms-body > a { display: block; min-height: 2.7em; }
.ms-card-produto .ms-nome {
  height: 2.7em; font-weight: 650; font-size: .9rem; line-height: 1.35; color: var(--ms-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-align: center;
}
.ms-card-rating {
  height: 1.25rem; min-height: 1.25rem; margin-top: .45rem; display: flex; align-items: center;
  justify-content: center; gap: .3rem; color: var(--ms-text-muted); font-size: .68rem;
}
.ms-card-rating i { color: #d69c20; }
.ms-card-price {
  min-height: 4.2rem; margin-top: .35rem; display: flex; flex-direction: column;
  justify-content: flex-start; text-align: center;
}
.ms-card-produto .ms-preco-antigo {
  min-height: 1rem; color: var(--ms-text-muted); font-size: .7rem; text-decoration: line-through;
}
.ms-card-produto .ms-preco-antigo.is-placeholder { text-decoration: none; }
.ms-card-produto .ms-preco-atual {
  color: var(--ms-primary-dark); font-size: 1.16rem; font-weight: 800; line-height: 1.2;
  white-space: nowrap;
}
.ms-card-installment {
  min-height: 1.1rem; margin-top: .2rem; overflow: hidden;
  color: var(--ms-text-muted); font-size: .66rem; white-space: nowrap; text-overflow: ellipsis;
}
.ms-card-produto .btn-add-carrinho {
  height: 42px; margin-top: auto; padding: .55rem .45rem;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  overflow: hidden; border-radius: 7px; font-size: .78rem; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(86,138,69,.18);
}
.ms-card-produto.is-unavailable .ms-img-wrap img { opacity: .55; filter: grayscale(.35); }
.ms-card-produto.is-unavailable .btn-add-carrinho { background: var(--ms-border); color: var(--ms-text-muted); box-shadow: none; }
.ms-badge-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .66rem; font-weight: 800; padding: .32rem .58rem; border-radius: 6px; color: #fff;
  box-shadow: 0 4px 10px rgba(7,35,22,.16);
}
.ms-badge-novo { background: var(--ms-primary-light); }
.ms-badge-promo { background: var(--ms-accent); color: var(--ms-ink); }
.ms-badge-destaque { background: var(--ms-primary); }
.ms-btn-favorito {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1px solid rgba(23,74,49,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--ms-text-muted); box-shadow: 0 5px 14px rgba(7,35,22,.13);
  backdrop-filter: blur(8px);
}
.ms-btn-favorito:hover { color: var(--ms-primary); }
.ms-rating { color: #f5a623; font-size: .8rem; } /* dourado: convencao de avaliacao, mantido de proposito */

/* ---------------------------- Cabecalhos de catalogo ---------------------------- */
.ms-catalog-header { margin: .5rem auto 1.5rem; text-align: center; }
.ms-catalog-header h1 { margin: 0; color: var(--ms-ink); font-size: 1.55rem; font-weight: 800; }
.ms-catalog-header p { margin: .35rem 0 0; color: var(--ms-text-muted); font-size: .8rem; }
/* ---------------------------- Filtros do catalogo ---------------------------- */
.ms-catalog-layout { align-items: flex-start; }
.ms-catalog-filter {
  position: sticky; top: 96px; padding: 0;
  border: 1px solid var(--ms-border); border-radius: 8px;
  background: #fff; box-shadow: var(--ms-shadow-sm);
}
.ms-filter-heading {
  min-height: 52px; padding: .45rem .75rem; display: flex; align-items: center;
  justify-content: space-between; gap: .65rem;
}
.ms-filter-toggle {
  min-width: 0; flex: 1; min-height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  border: 0; background: transparent; color: var(--ms-ink); text-align: left;
}
.ms-filter-toggle > span { min-width: 0; display: flex; align-items: center; gap: .5rem; }
.ms-filter-toggle > span > i { color: var(--ms-primary-light); font-size: .85rem; }
.ms-filter-toggle strong { font-size: .9rem; font-weight: 800; }
.ms-filter-count {
  min-width: 19px; height: 19px; padding: 0 .3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ms-primary); color: #fff;
  font-size: .58rem; font-weight: 800;
}
.ms-filter-chevron {
  flex: 0 0 auto; color: var(--ms-text-muted); font-size: .68rem;
  transition: transform .25s ease;
}
.ms-filter-heading a { color: var(--ms-primary-light); font-size: .7rem; font-weight: 700; }
.ms-filter-heading a:hover { color: var(--ms-primary); }
.ms-filter-content { padding: 0 1rem 1rem; }
.ms-catalog-filter.is-collapsible .ms-filter-content {
  max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0;
  opacity: 0; pointer-events: none;
  transition: max-height .35s ease, opacity .2s ease, padding .35s ease;
}
.ms-catalog-filter.is-collapsible.is-open .ms-filter-heading { border-bottom: 1px solid var(--ms-border); }
.ms-catalog-filter.is-collapsible.is-open .ms-filter-content {
  max-height: 720px; padding-bottom: 1rem; opacity: 1; pointer-events: auto;
}
.ms-catalog-filter.is-open .ms-filter-chevron { transform: rotate(180deg); }
.ms-filter-group {
  min-width: 0; margin: 0; padding: .95rem 0;
  border: 0; border-bottom: 1px solid var(--ms-border);
}
.ms-filter-group > legend,
.ms-filter-group > label {
  float: none; width: auto; margin: 0 0 .7rem; padding: 0;
  color: var(--ms-text); font-size: .75rem; font-weight: 800;
}
.ms-filter-category-rail {
  display: flex; gap: .65rem; overflow-x: auto; padding: 2px 1px .35rem;
  overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none;
}
.ms-filter-category-rail::-webkit-scrollbar { display: none; }
.ms-filter-category {
  position: relative; flex: 0 0 62px; width: 62px; margin: 0;
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; scroll-snap-align: start;
}
.ms-filter-category input {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}
.ms-filter-category-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #fff; border-radius: 50%; background: var(--ms-gradient-soft);
  color: var(--ms-primary); box-shadow: 0 3px 10px rgba(13,23,18,.1);
  transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ms-filter-category-name {
  width: 100%; margin-top: .4rem; overflow: hidden; color: var(--ms-text-muted);
  font-size: .62rem; font-weight: 650; line-height: 1.15; text-align: center;
  white-space: nowrap; text-overflow: ellipsis;
}
.ms-filter-category input:checked + .ms-filter-category-icon {
  background: var(--ms-gradient); color: #fff;
  box-shadow: 0 5px 14px rgba(9,39,25,.22); transform: translateY(-1px);
}
.ms-filter-category input:checked ~ .ms-filter-category-name { color: var(--ms-primary); font-weight: 800; }
.ms-filter-category input:focus-visible + .ms-filter-category-icon {
  outline: 3px solid var(--ms-focus-ring); outline-offset: 2px;
}
.ms-filter-select { position: relative; }
.ms-filter-select > i {
  position: absolute; left: .8rem; top: 50%; z-index: 2;
  color: var(--ms-primary-light); font-size: .72rem; transform: translateY(-50%);
}
.ms-filter-select .form-select {
  min-height: 44px; padding: .55rem 2.1rem .55rem 2.15rem;
  border-radius: 8px; background-color: var(--ms-surface-alt); font-size: .78rem;
}
.ms-price-values {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem;
  color: var(--ms-text-muted); font-size: .65rem;
}
.ms-price-values output {
  color: var(--ms-primary); font-size: .72rem; font-weight: 800;
}
.ms-price-range { position: relative; height: 34px; margin-top: .35rem; }
.ms-price-range::before,
.ms-price-range-fill {
  position: absolute; top: 50%; left: 0; right: 0; height: 4px;
  border-radius: 99px; transform: translateY(-50%);
}
.ms-price-range::before { content: ""; background: var(--ms-border); }
.ms-price-range-fill { background: var(--ms-gradient); }
.ms-price-range input[type="range"] {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 34px; margin: 0;
  appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none;
}
.ms-price-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.ms-price-range input[type="range"]::-webkit-slider-thumb {
  width: 20px; height: 20px; margin-top: -8px;
  appearance: none; -webkit-appearance: none; border: 3px solid #fff; border-radius: 50%;
  background: var(--ms-primary); box-shadow: 0 2px 8px rgba(9,39,25,.28);
  cursor: grab; pointer-events: auto;
}
.ms-price-range input[type="range"]::-moz-range-track { height: 4px; background: transparent; }
.ms-price-range input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%;
  background: var(--ms-primary); box-shadow: 0 2px 8px rgba(9,39,25,.28);
  cursor: grab; pointer-events: auto;
}
.ms-price-range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--ms-focus-ring); outline-offset: 2px; }
.ms-filter-submit {
  width: 100%; min-height: 44px; margin-top: 1rem;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 8px; font-size: .78rem; font-weight: 800;
}

/* ---------------------------- Categorias ---------------------------- */
.ms-cat-card {
  background: #fff; border-radius: var(--ms-radius-md); box-shadow: var(--ms-shadow-sm);
  padding: 1.5rem 1rem; text-align: center; height: 100%;
  border: 1px solid var(--ms-border); transition: var(--ms-transition);
}
.ms-cat-card:hover { border-color: rgba(86,138,69,.3); box-shadow: var(--ms-shadow-md); transform: translateY(-4px); }
.ms-cat-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  border-radius: 16px; background: var(--ms-gradient-soft); color: var(--ms-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  overflow: hidden;
}
/* Icone enviado pelo admin: cabe na moldura sem distorcer nem vazar */
.ms-cat-icon img { width: 68%; height: 68%; object-fit: contain; }
.ms-cat-card span { font-weight: 600; color: var(--ms-text); }

/* ---------------------------- Rodape ---------------------------- */
.ms-footer {
  background: var(--ms-dark); color: rgba(255,255,255,.72); margin-top: 4rem;
  border-top: 3px solid var(--ms-accent-strong);
}
.ms-newsletter {
  padding: 1.2rem 0 1rem; border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(100deg, #0b2b1c 0%, #123d29 58%, #1f5638 100%);
  color: #fff;
}
.ms-newsletter-heading { display: flex; align-items: center; gap: .75rem; }
.ms-newsletter-icon {
  flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; border: 1px solid rgba(204,232,138,.24);
  border-radius: 8px; background: rgba(255,255,255,.07); color: var(--ms-accent);
}
.ms-newsletter h3 { margin: 0; color: #fff; font-size: .92rem; font-weight: 750; }
.ms-newsletter-copy { margin-top: .18rem; color: rgba(255,255,255,.6); font-size: .68rem; }
.ms-newsletter-form { position: relative; width: 100%; max-width: 520px; margin-left: auto; }
.ms-newsletter-field {
  min-height: 44px; padding: 3px; display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: 8px;
  background: rgba(255,255,255,.07); transition: border-color .2s ease, background .2s ease;
}
.ms-newsletter-field:focus-within {
  border-color: rgba(204,232,138,.55); background: rgba(255,255,255,.1);
}
.ms-newsletter-field > i { justify-self: center; color: rgba(255,255,255,.58); font-size: .76rem; }
.ms-newsletter .form-control {
  min-width: 0; min-height: 36px; padding: .35rem .4rem; border: 0;
  border-radius: 0; background: transparent; color: #fff; font-size: .76rem; box-shadow: none;
}
.ms-newsletter .form-control::placeholder { color: rgba(255,255,255,.48); }
.ms-newsletter-submit {
  min-width: 96px; height: 36px; padding: 0 .85rem; display: inline-flex;
  align-items: center; justify-content: center; gap: .45rem; border: 0;
  border-radius: 6px; background: var(--ms-accent); color: var(--ms-primary-dark);
  font-size: .72rem; font-weight: 800; transition: background .2s ease, transform .2s ease;
}
.ms-newsletter-submit:hover { background: #daf29f; transform: translateY(-1px); }
.ms-newsletter-submit:disabled { opacity: .72; transform: none; cursor: wait; }
.ms-newsletter-submit i { font-size: .62rem; }
.ms-newsletter-status {
  display: block; min-height: .85rem; margin-top: .25rem;
  color: var(--ms-accent); font-size: .6rem; text-align: right;
}
.ms-footer-brand-lockup {
  width: fit-content; margin-bottom: .85rem; display: inline-flex;
  align-items: center; gap: .55rem; color: #fff; font-size: 1rem; font-weight: 800;
}
.ms-footer-brand-lockup:hover { color: #fff; }
.ms-footer-brand-lockup strong { color: var(--ms-accent); }
.ms-footer-logo {
  display: block; width: 42px; height: 42px; margin: 0; padding: 4px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: #fff;
  object-fit: contain;
}
.ms-footer-description {
  max-width: 290px; margin: 0 0 .85rem; color: rgba(255,255,255,.68);
  font-size: .78rem; line-height: 1.6;
}
.ms-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.ms-footer-links { list-style: none; padding: 0; margin: 0; }
.ms-footer-links li { margin-bottom: .6rem; color: rgba(255,255,255,.72); font-size: .9rem; }
.ms-footer-links li > i,
.ms-footer-links a > i {
  width: 18px; margin-right: .35rem; color: rgba(204,232,138,.72); text-align: center;
}
.ms-footer-links a { color: rgba(255,255,255,.72); }
.ms-footer-links a:hover { color: var(--ms-accent); }
.ms-footer-toggle {
  width: 100%; min-height: 44px; padding: 0; border: 0; background: transparent;
  color: #fff; display: flex; align-items: center; justify-content: space-between;
  font-size: .9rem; font-weight: 700; text-align: left;
}
.ms-footer-toggle i { font-size: .72rem; transition: transform .2s ease; }
.ms-footer-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.ms-social { display: flex; gap: .6rem; margin-top: 1rem; }
.ms-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.ms-social a:hover { background: var(--ms-primary-light); }
.ms-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .82rem; }
.ms-payment-icons { display: flex; gap: .8rem; font-size: 1.3rem; }

/* ---------------------------- Cookies / Whatsapp float ---------------------------- */
.ms-cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1080;
  background: #fff; box-shadow: 0 -6px 20px rgba(13,23,18,.08);
  padding: 1rem 0; transform: translateY(100%); transition: transform .4s ease;
}
.ms-cookie-consent.show { transform: translateY(0); }

.ms-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1070;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: var(--ms-shadow-lg); animation: msPulse 2.4s infinite;
} /* #25d366 e a cor oficial do WhatsApp, mantida de proposito */
.ms-cart-float {
  position: fixed; right: 24px; bottom: 92px;   /* logo acima do botao do WhatsApp */
  z-index: 1072; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ms-primary); color: #fff; font-size: 1.25rem;
  border: 2px solid rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(13,23,18,.24);
  transition: transform .2s ease, background-color .2s ease, bottom .3s ease;
}
.ms-cart-float:hover, .ms-cart-float:focus-visible {
  color: #fff; background: var(--ms-primary-light); transform: translateY(-2px);
}
.ms-cart-float-badge {
  position: absolute; top: -3px; right: -2px; min-width: 22px; height: 22px;
  padding: 0 5px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--ms-accent);
  color: var(--ms-ink); border: 2px solid #fff; font-size: .68rem; font-weight: 800;
}
.ms-cart-float-badge.is-empty { display: none; }
.ms-cart-float.is-updated { animation: msCartUpdated .42s ease; }
@keyframes msCartUpdated {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.12); }
}
.ms-cart-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1092; background: rgba(8,18,12,.5);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.ms-cart-drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1095;
  max-height: min(82dvh, 720px); display: flex; flex-direction: column;
  background: #fff; border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 55px rgba(8,18,12,.24);
  opacity: 0; visibility: hidden; transform: translateY(100%);
  transition: transform .28s ease, opacity .2s ease, visibility .28s ease;
}
.ms-cart-drawer-open { overflow: hidden; }
.ms-cart-drawer-open .ms-cart-drawer-backdrop { opacity: 1; visibility: visible; }
.ms-cart-drawer-open .ms-cart-drawer { opacity: 1; visibility: visible; transform: translateY(0); }
.ms-cart-drawer-open .ms-whatsapp-float,
.ms-cart-drawer-open .ms-cart-float { opacity: 0; pointer-events: none; }
.ms-cart-drawer-header {
  min-height: 72px; padding: 1rem 1rem .8rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--ms-border); background: var(--ms-gradient-soft);
}
.ms-cart-drawer-eyebrow {
  display: block; color: var(--ms-text-muted); font-size: .7rem;
  font-weight: 700; text-transform: uppercase;
}
.ms-cart-drawer-header h2 { margin: .1rem 0 0; color: var(--ms-text); font-size: 1.2rem; font-weight: 800; }
.ms-cart-drawer-header h2 span {
  display: inline-flex; min-width: 22px; height: 22px; margin-left: .25rem;
  align-items: center; justify-content: center; border-radius: 999px;
  background: var(--ms-accent-soft); color: var(--ms-primary); font-size: .72rem;
}
.ms-cart-drawer-close {
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ms-surface-alt); color: var(--ms-text);
}
.ms-cart-drawer-items { min-height: 150px; padding: .25rem 1rem; overflow-y: auto; overscroll-behavior: contain; }
.ms-cart-drawer-item {
  display: grid; grid-template-columns: 76px minmax(0,1fr); gap: .75rem;
  padding: .85rem 0; border-bottom: 1px solid var(--ms-border);
}
.ms-cart-drawer-image {
  width: 76px; height: 76px; padding: .25rem; overflow: hidden;
  border: 1px solid var(--ms-border); border-radius: 8px; background: #fff;
}
.ms-cart-drawer-image img { width: 100%; height: 100%; object-fit: contain; }
.ms-cart-drawer-item-body { min-width: 0; display: flex; flex-direction: column; }
.ms-cart-drawer-name {
  overflow: hidden; color: var(--ms-text); font-size: .84rem; font-weight: 700;
  white-space: nowrap; text-overflow: ellipsis;
}
.ms-cart-drawer-unit { margin-top: .15rem; color: var(--ms-text-muted); font-size: .7rem; }
.ms-cart-drawer-item-actions { margin-top: auto; display: flex; align-items: center; gap: .65rem; }
.ms-cart-drawer-item-actions > strong { margin-left: auto; color: var(--ms-primary); font-size: .82rem; }
.ms-cart-drawer-qty {
  height: 32px; display: inline-flex; align-items: center;
  border: 1px solid var(--ms-border); border-radius: 8px; background: var(--ms-surface-alt);
}
.ms-cart-drawer-qty button {
  width: 30px; height: 30px; padding: 0; border: 0; background: transparent;
  color: var(--ms-text); font-size: .65rem;
}
.ms-cart-drawer-qty button:disabled { opacity: .35; }
.ms-cart-drawer-qty span { min-width: 24px; color: var(--ms-text); font-size: .76rem; font-weight: 700; text-align: center; }
.ms-cart-drawer-remove {
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #b33a3a;
}
.ms-cart-drawer-item.is-loading { opacity: .55; pointer-events: none; }
.ms-cart-drawer-empty {
  min-height: 210px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .45rem; color: var(--ms-text-muted); text-align: center;
}
.ms-cart-drawer-empty i { color: var(--ms-primary); font-size: 2rem; }
.ms-cart-drawer-empty strong { color: var(--ms-text); font-size: .95rem; }
.ms-cart-drawer-empty span { font-size: .78rem; }
.ms-cart-drawer-error {
  margin: .65rem 1rem 0; padding: .6rem .75rem; border-radius: 8px;
  background: #fff0f0; color: #9d2929; font-size: .78rem;
}
.ms-cart-drawer-footer {
  padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ms-border); background: #fff;
}
.ms-cart-drawer-subtotal { margin-bottom: .7rem; display: flex; align-items: baseline; justify-content: space-between; }
.ms-cart-drawer-subtotal span { color: var(--ms-text-muted); font-size: .82rem; }
.ms-cart-drawer-subtotal strong { color: var(--ms-text); font-size: 1.15rem; }
.ms-cart-drawer-footer .btn { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .5rem; }

/* ---------------------------- Cabecalho mobile fixo ---------------------------- */
.ms-mobile-header {
  position: sticky; top: 0; z-index: 1088; min-height: 62px; padding: 8px 10px;
  display: flex; align-items: center; gap: 7px; background: var(--ms-gradient);
  border-bottom: 1px solid rgba(204,232,138,.28); box-shadow: 0 5px 20px rgba(9,39,25,.22);
  backdrop-filter: blur(12px);
}
.ms-mobile-header-logo {
  flex: 0 0 42px; width: 42px; height: 42px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: #fff;
}
.ms-mobile-header-logo img { width: 100%; height: 100%; object-fit: cover; }
.ms-mobile-header-search { flex: 1 1 auto; min-width: 0; }
.ms-mobile-header-search .form-control {
  width: 100%; min-height: 42px; padding: .55rem .7rem .55rem 2.15rem;
  border: 1px solid var(--ms-border); border-radius: 999px;
  background: var(--ms-surface-alt); font-size: .8rem;
}
.ms-mobile-header-search .form-control:focus { background: #fff; }
.ms-mobile-search-icon {
  position: absolute; left: .8rem; top: 50%; z-index: 2;
  color: var(--ms-text-muted); font-size: .78rem; transform: translateY(-50%);
}
.ms-mobile-header-search .ms-autocomplete {
  position: fixed; top: 58px; left: 8px; right: 8px; max-height: 55vh;
  border: 1px solid var(--ms-border); border-radius: 0 0 12px 12px;
}
.ms-mobile-header-action {
  position: relative; flex: 0 0 42px; width: 42px; height: 42px; padding: 0;
  border: 0; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; background: rgba(255,255,255,.12); color: #fff;
  font-size: 1rem;
}
.ms-mobile-action-chevron { margin-left: 3px; font-size: .55rem; transition: transform .2s ease; }
.ms-mobile-menu-open .ms-mobile-action-chevron { transform: rotate(180deg); }
.ms-mobile-menu-open #mobileNavLauncher { background: var(--ms-accent); color: var(--ms-primary-dark); }
.ms-mobile-header-cart {
  background: linear-gradient(135deg, var(--ms-accent) 0%, var(--ms-accent-strong) 100%);
  color: var(--ms-primary-dark);
}
.ms-mobile-header-cart .ms-cart-float-badge { top: -5px; right: -4px; }
.ms-mobile-nav-backdrop {
  position: fixed; inset: 62px 0 0; z-index: 1082; background: rgba(8,18,12,.38);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.ms-mobile-nav-panel {
  position: fixed; top: 68px; right: 10px; z-index: 1085; width: min(290px, calc(100vw - 20px));
  max-height: calc(100dvh - 82px); padding: .85rem; overflow-y: auto;
  background: #fff; border: 1px solid rgba(18,57,35,.08);
  border-radius: 12px; box-shadow: 0 18px 45px rgba(8,18,12,.2);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transform-origin: top right;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.ms-mobile-nav-panel::before {
  content: ''; position: absolute; top: -6px; right: 66px; width: 12px; height: 12px;
  background: #fff; border-top: 1px solid rgba(18,57,35,.08);
  border-left: 1px solid rgba(18,57,35,.08); transform: rotate(45deg);
}
.ms-mobile-menu-open { overflow: hidden; }
.ms-mobile-menu-open .ms-mobile-nav-backdrop { opacity: 1; visibility: visible; }
.ms-mobile-menu-open .ms-mobile-nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.ms-mobile-nav-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding: .15rem .2rem .65rem; border-bottom: 1px solid var(--ms-border);
}
.ms-mobile-nav-close {
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ms-surface-alt); color: var(--ms-text); font-size: .85rem;
}
.ms-mobile-nav-list { padding-top: .35rem; }
.ms-mobile-nav-list a {
  min-height: 44px; padding: .65rem .55rem; display: flex; align-items: center; gap: .75rem;
  border-radius: 8px; color: var(--ms-text); font-size: .82rem; font-weight: 600;
}
.ms-mobile-nav-list a:hover { background: var(--ms-surface-alt); color: var(--ms-primary); }
.ms-mobile-nav-list a i { width: 20px; color: var(--ms-primary); text-align: center; }
.ms-mobile-nav-list .ms-mobile-account-link {
  margin: .35rem 0 .45rem; background: var(--ms-gradient-soft); color: var(--ms-primary);
}
.ms-mobile-nav-list .ms-mobile-account-link i:last-child { width: auto; margin-left: auto; font-size: .65rem; }
@keyframes msPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------------------------- Pagina de produto ---------------------------- */
.ms-produto-galeria-principal {
  border-radius: var(--ms-radius-md); overflow: hidden; box-shadow: var(--ms-shadow-sm);
  aspect-ratio: 1/1; background: #fff; cursor: zoom-in; border: 1px solid var(--ms-border);
}
.ms-produto-galeria-principal img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.ms-produto-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.ms-produto-thumbs img {
  width: 70px; height: 70px; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--ms-border); transition: var(--ms-transition);
}
.ms-produto-thumbs img.active, .ms-produto-thumbs img:hover { border-color: var(--ms-primary); }
.ms-preco-box {
  background: var(--ms-gradient-soft); border: 1px solid rgba(86,138,69,.14);
  border-radius: var(--ms-radius-md); padding: 1.5rem;
}
.ms-parcelas { color: var(--ms-text-muted); font-size: .9rem; }
.ms-qtd-selector { display: flex; align-items: center; border: 1.5px solid var(--ms-border); border-radius: var(--ms-radius-sm); width: fit-content; }
.ms-qtd-selector button { border: none; background: none; width: 38px; height: 38px; font-weight: 700; }
.ms-qtd-selector input { width: 50px; text-align: center; border: none; background: none; font-weight: 600; }
.ms-product-details-row { justify-content: center; }
.ms-product-details {
  overflow: hidden; border: 1px solid rgba(23,74,49,.11); border-radius: 8px;
  background: #fff; box-shadow: 0 10px 28px rgba(9,39,25,.08);
}
.ms-product-tabs {
  padding: .45rem .55rem; display: flex; gap: .3rem;
  border: 0; border-bottom: 1px solid var(--ms-border); background: #f4f7f3;
}
.ms-product-tabs .nav-item { margin: 0; }
.ms-product-tabs .nav-link {
  min-height: 42px; padding: .55rem .8rem; display: inline-flex; align-items: center;
  justify-content: center; gap: .45rem; border: 0 !important; border-radius: 6px;
  color: var(--ms-text-muted); font-size: .78rem; font-weight: 700;
}
.ms-product-tabs .nav-link i { color: #879388; font-size: .76rem; }
.ms-product-tabs .nav-link:hover { background: rgba(255,255,255,.72); color: var(--ms-primary); }
.ms-product-tabs .nav-link.active {
  background: #fff; color: var(--ms-primary-dark);
  box-shadow: 0 3px 10px rgba(9,39,25,.09);
}
.ms-product-tabs .nav-link.active i { color: var(--ms-primary-light); }
.ms-tab-count {
  min-width: 20px; height: 20px; padding: 0 .3rem; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: var(--ms-border); color: var(--ms-text-muted); font-size: .6rem; font-weight: 800;
}
.ms-product-tabs .nav-link.active .ms-tab-count { background: var(--ms-accent-soft); color: var(--ms-primary); }
.ms-product-tab-content {
  min-height: 138px; padding: 1.55rem 1.45rem; color: var(--ms-body);
}
.ms-product-copy { max-width: 900px; font-size: .86rem; line-height: 1.72; }
.ms-product-copy > :last-child { margin-bottom: 0; }
.ms-product-empty-copy { margin: 0; color: var(--ms-text-muted); }
.ms-spec-list { margin: 0; }
.ms-spec-list > div {
  min-height: 48px; padding: .7rem 0; display: grid;
  grid-template-columns: minmax(150px, .6fr) minmax(0, 1.4fr); align-items: center;
  gap: 1rem; border-bottom: 1px solid var(--ms-border);
}
.ms-spec-list > div:first-child { padding-top: 0; }
.ms-spec-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.ms-spec-list dt {
  display: flex; align-items: center; gap: .55rem; color: var(--ms-text);
  font-size: .76rem; font-weight: 750;
}
.ms-spec-list dt i { width: 18px; color: var(--ms-primary-light); text-align: center; }
.ms-spec-list dd { margin: 0; color: var(--ms-text-muted); font-size: .78rem; }
.ms-review-empty {
  min-height: 150px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
}
.ms-review-empty > span {
  width: 42px; height: 42px; margin-bottom: .65rem; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: var(--ms-accent-soft); color: var(--ms-primary);
}
.ms-review-empty strong { color: var(--ms-text); font-size: .84rem; }
.ms-review-empty p {
  max-width: 410px; margin: .35rem 0 0; color: var(--ms-text-muted);
  font-size: .7rem; line-height: 1.5;
}
.ms-review-item { padding: 1rem 0; border-bottom: 1px solid var(--ms-border); }
.ms-review-item:first-of-type { padding-top: 0; }
.ms-review-item header { display: flex; align-items: center; gap: .65rem; }
.ms-review-avatar {
  width: 36px; height: 36px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 50%; background: var(--ms-surface-alt);
  color: var(--ms-primary); border: 1px solid var(--ms-border);
}
.ms-review-item header > span:last-child { display: flex; flex-direction: column; gap: .18rem; }
.ms-review-item header strong { color: var(--ms-text); font-size: .76rem; }
.ms-review-item h3 { margin: .7rem 0 .25rem; color: var(--ms-text); font-size: .8rem; font-weight: 750; }
.ms-review-item p { margin: 0; color: var(--ms-body); font-size: .75rem; line-height: 1.55; }
.ms-review-form { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--ms-border); }
.ms-review-form > h3 { margin: 0 0 1rem; color: var(--ms-text); font-size: .9rem; font-weight: 800; }

/* ---------------------------- Carrinho / Checkout ---------------------------- */
.ms-card-resumo {
  background: #fff; border: 1px solid rgba(23,74,49,.1);
  border-top: 3px solid var(--ms-primary-light); border-radius: var(--ms-radius-md);
  box-shadow: var(--ms-shadow-sm); padding: 1.5rem; position: sticky; top: 100px;
}
.ms-cart-item { background: #fff; border-radius: var(--ms-radius-md); box-shadow: var(--ms-shadow-sm); padding: 1rem; margin-bottom: 1rem; }
.ms-cart-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; }

.ms-checkout-step {
  display: flex; align-items: center; gap: .6rem; color: var(--ms-text-muted); font-weight: 600;
}
.ms-checkout-step.active { color: var(--ms-primary); }
.ms-checkout-step .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ms-border);
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.ms-checkout-step.active .num { background: var(--ms-gradient); color: #fff; }

/* ---------------------------- Formularios ---------------------------- */
.ms-auth-body {
  min-height: 100vh; background: #edf2ed; color: var(--ms-body);
}
.ms-auth-header {
  height: 72px; display: flex; align-items: center;
  border-bottom: 1px solid rgba(23,74,49,.1); background: rgba(255,255,255,.96);
}
.ms-auth-header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.ms-auth-brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ms-primary-dark); font-size: 1.15rem; font-weight: 800;
}
.ms-auth-brand:hover { color: var(--ms-primary); }
.ms-auth-brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }
.ms-auth-brand strong { color: var(--ms-primary-light); }
.ms-auth-back {
  min-height: 40px; padding: .55rem .8rem; display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--ms-border); border-radius: 8px; background: #fff;
  color: var(--ms-text); font-size: .78rem; font-weight: 700;
}
.ms-auth-back:hover { border-color: var(--ms-primary-light); color: var(--ms-primary); }
.ms-auth-flash { max-width: 940px; margin-top: 1rem; }
.ms-auth-page {
  min-height: calc(100vh - 72px); padding: 2rem 0 3rem;
  background: linear-gradient(180deg, rgba(204,232,138,.13) 0%, rgba(237,242,237,0) 340px);
}
.ms-auth-layout {
  max-width: 940px; min-height: 590px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(400px, 1.12fr);
  overflow: hidden; border: 1px solid rgba(23,74,49,.12); border-radius: 8px;
  background: #fff; box-shadow: 0 24px 64px rgba(9,39,25,.14);
}
.ms-auth-layout > *,
.ms-auth-panel,
.ms-register-form,
.ms-register-step,
.ms-login-input { min-width: 0; }
.ms-auth-showcase {
  padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ms-gradient); color: #fff;
}
.ms-auth-eyebrow {
  display: inline-block; margin-bottom: .8rem; color: var(--ms-accent);
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
}
.ms-auth-showcase h2 {
  max-width: 330px; margin: 0; color: #fff; font-size: 2rem;
  font-weight: 800; line-height: 1.14;
}
.ms-auth-showcase p {
  max-width: 340px; margin: 1rem 0 0; color: rgba(255,255,255,.76);
  font-size: .84rem; line-height: 1.65;
}
.ms-auth-benefits {
  margin: 2rem 0; padding: 0; display: grid; gap: .9rem; list-style: none;
}
.ms-auth-benefits li { display: flex; align-items: center; gap: .75rem; font-size: .8rem; font-weight: 600; }
.ms-auth-benefits i {
  flex: 0 0 36px; width: 36px; height: 36px; display: inline-flex;
  align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; background: rgba(255,255,255,.1); color: var(--ms-accent);
}
.ms-auth-trust {
  padding-top: 1rem; display: flex; align-items: center; gap: .55rem;
  border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7);
  font-size: .7rem; font-weight: 600;
}
.ms-auth-trust i { color: var(--ms-accent); }
.ms-auth-panel {
  padding: 3rem; display: flex; flex-direction: column; justify-content: center; background: #fff;
}
.ms-auth-card {
  background: #fff; border-radius: 8px; box-shadow: var(--ms-shadow-md);
  padding: 2.5rem; max-width: 480px; margin: 3rem auto;
}
.ms-login-heading { margin-bottom: 1.5rem; text-align: left; }
.ms-login-heading > span {
  display: block; margin-bottom: .3rem; color: var(--ms-primary-light);
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
}
.ms-login-heading h1 { margin: 0; color: var(--ms-ink); font-size: 1.65rem; font-weight: 800; }
.ms-login-heading p { margin: .5rem 0 0; color: var(--ms-text-muted); font-size: .82rem; line-height: 1.55; }
.ms-login-error {
  margin-bottom: 1rem; padding: .75rem .85rem; display: flex; align-items: center; gap: .6rem;
  border: 1px solid rgba(179,58,58,.16); border-radius: 8px;
  background: #fff2f2; color: #922f2f; font-size: .8rem; font-weight: 600;
}
.ms-login-form { display: flex; flex-direction: column; gap: 1rem; }
.ms-login-field label { margin: 0; color: var(--ms-text); font-size: .78rem; font-weight: 700; }
.ms-login-label-row { margin-bottom: .4rem; display: flex; align-items: center; justify-content: space-between; }
.ms-login-label-row a { color: var(--ms-primary); font-size: .72rem; font-weight: 600; }
.ms-login-field > label { display: block; margin-bottom: .4rem; }
.ms-login-input { position: relative; }
.ms-login-input > i {
  position: absolute; left: .9rem; top: 50%; z-index: 2;
  color: var(--ms-text-muted); font-size: .85rem; transform: translateY(-50%);
}
.ms-login-input .form-control {
  min-height: 48px; padding: .65rem 3rem .65rem 2.55rem;
  border: 1px solid var(--ms-border); border-radius: 8px;
  background: var(--ms-surface-alt); font-size: .85rem;
}
.ms-login-input .form-control:focus { background: #fff; }
.ms-login-field label small { margin-left: .25rem; color: var(--ms-text-muted); font-size: .65rem; font-weight: 500; }
.ms-password-toggle {
  position: absolute; top: 4px; right: 4px; bottom: 4px; width: 40px;
  border: 0; border-radius: 7px; background: transparent; color: var(--ms-text-muted);
}
.ms-password-toggle:hover, .ms-password-toggle:focus-visible { background: var(--ms-accent-soft); color: var(--ms-primary); }
.ms-login-submit {
  min-height: 50px; width: 100%; margin-top: .15rem;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 8px; font-size: .9rem;
}
.ms-login-divider { position: relative; height: 20px; text-align: center; }
.ms-login-divider::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--ms-border);
}
.ms-login-divider span {
  position: relative; padding: 0 .7rem; background: #fff;
  color: var(--ms-text-muted); font-size: .7rem;
}
.ms-login-create {
  min-height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: .85rem;
}
.ms-login-account {
  min-height: 62px; padding: .65rem .75rem; display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--ms-border); border-radius: 8px; background: var(--ms-surface-alt);
}
.ms-login-account-icon {
  flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: var(--ms-accent-soft); color: var(--ms-primary);
}
.ms-login-account > span:nth-child(2) { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.ms-login-account small { color: var(--ms-text-muted); font-size: .64rem; }
.ms-login-account strong {
  overflow: hidden; color: var(--ms-text); font-size: .76rem;
  white-space: nowrap; text-overflow: ellipsis;
}
.ms-login-account a { color: var(--ms-primary); font-size: .7rem; font-weight: 700; }
.ms-login-security {
  margin-top: 1.25rem; padding-top: 1rem; display: flex; align-items: center;
  justify-content: center; gap: .45rem; border-top: 1px solid var(--ms-border);
  color: var(--ms-text-muted); font-size: .7rem;
}
.ms-login-security i { color: var(--ms-primary-light); }

.ms-register-layout { min-height: 650px; }
.ms-register-panel { justify-content: flex-start; padding-block: 2.4rem; }
.ms-register-progress {
  position: relative; margin: 0 0 1.5rem; display: flex; justify-content: space-between;
}
.ms-register-progress-line {
  position: absolute; top: 15px; left: 16.666%; right: 16.666%; height: 2px;
  overflow: hidden; background: var(--ms-border);
}
.ms-register-progress-line span {
  display: block; width: 0; height: 100%; background: var(--ms-primary-light);
  transition: width .3s ease;
}
.ms-register-marker {
  position: relative; z-index: 1; width: 33.333%; display: flex;
  align-items: center; flex-direction: column; gap: .35rem;
  color: var(--ms-text-muted); font-size: .64rem; font-weight: 600;
}
.ms-register-marker > span {
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--ms-border); border-radius: 50%; background: #fff;
  color: var(--ms-text-muted); font-size: .72rem; font-weight: 800;
}
.ms-register-marker.is-active { color: var(--ms-primary); }
.ms-register-marker.is-active > span {
  border-color: var(--ms-primary); background: var(--ms-primary); color: #fff;
  box-shadow: 0 0 0 4px var(--ms-focus-ring);
}
.ms-register-marker.is-complete > span {
  border-color: var(--ms-primary-light); background: var(--ms-accent-soft); color: var(--ms-primary);
}
.ms-register-form { min-height: 300px; }
.ms-register-step {
  min-width: 0; margin: 0; padding: 0; border: 0;
}
.ms-register-step[hidden] { display: none !important; }
.ms-register-step legend { margin-bottom: 1.15rem; }
.ms-register-step legend strong {
  display: block; color: var(--ms-ink); font-size: .92rem; font-weight: 800;
}
.ms-register-step legend span {
  display: block; margin-top: .3rem; color: var(--ms-text-muted); font-size: .7rem; line-height: 1.45;
}
.ms-register-step .ms-login-field + .ms-login-field { margin-top: .9rem; }
.ms-register-actions {
  margin-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.ms-register-actions.is-end { justify-content: flex-end; }
.ms-register-actions .btn {
  min-height: 46px; min-width: 126px; display: inline-flex;
  align-items: center; justify-content: center; gap: .5rem; font-size: .8rem;
}
.ms-register-terms {
  margin-top: 1rem; padding: .75rem; display: flex; align-items: flex-start; gap: .65rem;
  border: 1px solid var(--ms-border); border-radius: 8px; background: var(--ms-surface-alt);
  color: var(--ms-text-muted); font-size: .68rem; line-height: 1.5; cursor: pointer;
}
.ms-register-terms .form-check-input { flex: 0 0 auto; margin: .1rem 0 0; }
.ms-register-terms a { color: var(--ms-primary); font-weight: 700; }
.ms-register-submit { min-width: 150px !important; }
.ms-register-login {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ms-border);
  color: var(--ms-text-muted); font-size: .72rem; text-align: center;
}
.ms-register-login a { color: var(--ms-primary); font-weight: 700; }
.form-control, .form-select {
  border-radius: var(--ms-radius-sm); border: 1.5px solid var(--ms-border); padding: .65rem 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--ms-primary-light); box-shadow: 0 0 0 3px var(--ms-focus-ring); }

/* ---------------------------- Fale conosco ---------------------------- */
.ms-contact-page {
  min-height: 640px; padding: 2.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(204,232,138,.13) 0%, var(--ms-bg) 260px);
}
.ms-contact-heading { max-width: 680px; margin: 0 auto 1.75rem; text-align: center; }
.ms-contact-heading > span,
.ms-contact-form-heading > div > span,
.ms-contact-sidebar-eyebrow {
  color: var(--ms-primary-light); font-size: .7rem; font-weight: 800;
  text-transform: uppercase;
}
.ms-contact-heading h1 {
  margin: .4rem 0 .5rem; color: var(--ms-ink);
  font-size: 2rem; font-weight: 800; line-height: 1.18;
}
.ms-contact-heading p {
  max-width: 600px; margin: 0 auto; color: var(--ms-text-muted);
  font-size: .88rem; line-height: 1.6;
}
.ms-contact-form-panel {
  position: relative; padding: 1.6rem; overflow: hidden;
  border: 1px solid rgba(23,74,49,.12); border-radius: 8px;
  background: #fff; box-shadow: var(--ms-shadow-md);
}
.ms-contact-form-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ms-gradient);
}
.ms-contact-form-heading {
  margin-bottom: 1.25rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.ms-contact-form-heading h2 {
  margin: .25rem 0 0; color: var(--ms-ink); font-size: 1.2rem; font-weight: 800;
}
.ms-contact-form-heading > i {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ms-accent-soft);
  color: var(--ms-primary); font-size: .95rem;
}
.ms-contact-alert {
  margin-bottom: 1.15rem; padding: .8rem .9rem; display: flex;
  align-items: flex-start; gap: .65rem; border: 1px solid; border-radius: 8px;
}
.ms-contact-alert > i { margin-top: .15rem; flex: 0 0 auto; }
.ms-contact-alert div { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.ms-contact-alert strong { color: inherit; font-size: .78rem; }
.ms-contact-alert span { font-size: .7rem; line-height: 1.45; }
.ms-contact-alert.is-success { border-color: #bddab7; background: #f1f9ef; color: #25633b; }
.ms-contact-alert.is-warning { border-color: #ead6a9; background: #fff9eb; color: #795b16; }
.ms-contact-alert.is-error { border-color: #edc5c3; background: #fff4f3; color: #8c302c; }
.ms-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.ms-contact-field { min-width: 0; }
.ms-contact-field label,
.ms-contact-label-row label {
  display: block; margin-bottom: .4rem; color: var(--ms-text);
  font-size: .73rem; font-weight: 750;
}
.ms-contact-field label small { color: var(--ms-text-muted); font-size: .61rem; font-weight: 500; }
.ms-contact-label-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ms-contact-label-row > span { color: var(--ms-text-muted); font-size: .62rem; }
.ms-contact-input { position: relative; }
.ms-contact-input > i {
  position: absolute; top: 15px; left: .9rem; z-index: 2;
  color: #7a887f; font-size: .78rem; pointer-events: none;
}
.ms-contact-input .form-control,
.ms-contact-input .form-select {
  width: 100%; min-height: 46px; padding: .65rem 1rem .65rem 2.45rem;
  border: 1.5px solid #dce4dd; border-radius: 8px;
  background-color: #f9fbf9; color: var(--ms-text); font-size: .8rem;
}
.ms-contact-input .form-select { padding-right: 2.4rem; }
.ms-contact-input textarea.form-control {
  min-height: 142px; padding-top: .8rem; line-height: 1.55; resize: vertical;
}
.ms-contact-input.is-textarea > i { top: .95rem; }
.ms-contact-input .form-control:focus,
.ms-contact-input .form-select:focus { border-color: var(--ms-primary-light); background-color: #fff; }
.ms-contact-input .form-control::placeholder { color: #98a29b; }
.ms-contact-input .invalid-feedback { font-size: .65rem; }
.ms-contact-order[hidden] { display: none; }
.ms-contact-consent { margin-top: -.15rem; }
.ms-contact-consent .form-check-input {
  border-color: #bbc7bc; box-shadow: none;
}
.ms-contact-consent .form-check-input:checked {
  border-color: var(--ms-primary); background-color: var(--ms-primary);
}
.ms-contact-consent .form-check-label {
  color: var(--ms-text-muted); font-size: .68rem; line-height: 1.45;
}
.ms-contact-consent a { color: var(--ms-primary); font-weight: 700; }
.ms-contact-consent .invalid-feedback { font-size: .65rem; }
.ms-contact-submit {
  width: 100%; min-height: 49px; display: flex; align-items: center;
  justify-content: center; gap: .6rem; border-radius: 8px; font-size: .84rem;
}
.ms-contact-submit:disabled { opacity: .72; cursor: wait; transform: none; }
.ms-contact-honeypot {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.ms-contact-sidebar {
  position: sticky; top: 100px; padding: 1.65rem; overflow: hidden; border-radius: 8px;
  background: var(--ms-gradient); color: #fff; box-shadow: var(--ms-shadow-md);
}
.ms-contact-sidebar-eyebrow { color: var(--ms-accent); }
.ms-contact-sidebar h2 {
  max-width: 340px; margin: .35rem 0 .55rem; color: #fff;
  font-size: 1.35rem; font-weight: 800; line-height: 1.25;
}
.ms-contact-sidebar > p {
  margin: 0 0 1.25rem; color: rgba(255,255,255,.72);
  font-size: .76rem; line-height: 1.55;
}
.ms-contact-methods { border-top: 1px solid rgba(255,255,255,.14); }
.ms-contact-methods > a {
  min-width: 0; min-height: 68px; padding: .7rem 0;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center; gap: .7rem; border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.ms-contact-methods > a:hover { color: var(--ms-accent); }
.ms-contact-method-icon {
  width: 40px; height: 40px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,.11); color: var(--ms-accent);
}
.ms-contact-methods > a > span:nth-child(2) {
  min-width: 0; display: flex; flex-direction: column; gap: .12rem;
}
.ms-contact-methods small,
.ms-contact-location small {
  color: rgba(255,255,255,.6); font-size: .61rem; font-weight: 600;
}
.ms-contact-methods strong {
  overflow: hidden; color: inherit; font-size: .74rem;
  font-weight: 700; white-space: nowrap; text-overflow: ellipsis;
}
.ms-contact-methods > a > i { justify-self: end; font-size: .62rem; }
.ms-contact-location {
  margin-top: 1rem; display: grid; grid-template-columns: 22px minmax(0, 1fr);
  align-items: start; gap: .55rem; color: var(--ms-accent);
}
.ms-contact-location > i { margin-top: .2rem; }
.ms-contact-location > span { display: flex; flex-direction: column; gap: .15rem; }
.ms-contact-location strong { color: #fff; font-size: .7rem; line-height: 1.45; }
.ms-contact-security {
  margin-top: 1.25rem; padding-top: 1rem; display: flex; align-items: flex-start;
  gap: .55rem; border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.64); font-size: .65rem; line-height: 1.45;
}
.ms-contact-security i { margin-top: .12rem; color: var(--ms-accent); }

/* ---------------------------- Minha conta ---------------------------- */
.ms-account-sidebar { background: #fff; border-radius: var(--ms-radius-md); box-shadow: var(--ms-shadow-sm); padding: 1rem; }
.ms-account-sidebar a { display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: var(--ms-radius-sm); color: var(--ms-text); font-weight: 500; }
.ms-account-sidebar a.active, .ms-account-sidebar a:hover { background: var(--ms-bg); color: var(--ms-primary); }

/* ---------------------------- Utilidades ---------------------------- */
.ms-skeleton { background: linear-gradient(90deg, var(--ms-border) 25%, var(--ms-surface-alt) 50%, var(--ms-border) 75%); background-size: 200% 100%; animation: skeleton 1.4s infinite; border-radius: var(--ms-radius-sm); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

img { max-width: 100%; }
[data-lazy] { opacity: 0; transition: opacity .4s ease; }
[data-lazy].loaded { opacity: 1; }

/* ---------------------- Entrada de elementos no scroll ---------------------- */
.ms-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity .58s ease var(--ms-reveal-delay, 0ms),
    transform .58s cubic-bezier(.22, 1, .36, 1) var(--ms-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.ms-reveal[data-ms-reveal="item"] {
  transform: translate3d(0, 14px, 0) scale(.985);
}
.ms-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (max-width: 991px) {
  .ms-header { display: none; }
  .ms-topbar { padding: .35rem 0; }
  .ms-topbar-links { font-size: .75rem; }
  .ms-navbar { padding: .6rem 0 .75rem; }
  .ms-navbar > .container { flex-wrap: wrap; }
  .ms-brand { font-size: 1.25rem; }
  .ms-brand-logo { width: 46px; height: 46px; }
  .ms-brand-icon { width: 34px; height: 34px; }
  .navbar-toggler {
    width: 42px; height: 42px; padding: 0; border: 0;
    color: var(--ms-text); box-shadow: none !important;
  }
  .ms-search { margin: .65rem 0 0; max-width: 100%; }
  .ms-search-box .form-control { min-height: 46px; background: #fff; }
  .ms-search-box .btn { min-width: 44px; }
  #msNavbar { width: 100%; order: 3; }
  #msNavbar .ms-nav-links { padding-top: .65rem; }
  #msNavbar .ms-nav-links .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--ms-border); border-radius: 0; }
  #msNavbar .ms-nav-actions { display: none; }
  .ms-card-resumo { position: static; }
  .ms-featured-rail > [class*="col"] { flex-basis: 33.333%; width: 33.333%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .ms-brand { gap: .4rem; margin-right: .55rem; }
  .ms-brand-logo { width: 40px; height: 40px; flex-basis: 40px; }
  .ms-brand-wordmark { font-size: 1.05rem; }
  .ms-nav-links .nav-link { padding-inline: .55rem !important; font-size: .78rem; }
  .ms-search { min-width: 130px; margin-inline: .5rem; }
  .ms-search-box .form-control { padding-left: .8rem; font-size: .76rem; }
  .ms-nav-actions .nav-link { padding-inline: .45rem !important; }
}

/* Notebooks: preserva o banner completo sem empurrar o catalogo para
   fora da primeira dobra. A altura da janela e' mais relevante que a
   largura nesses dispositivos por causa das barras do navegador. */
@media (min-width: 992px) and (max-height: 900px) {
  .ms-topbar-inner { min-height: 24px; }
  .ms-topbar-item { min-height: 18px; font-size: .63rem; }
  .ms-topbar-site { min-height: 20px; font-size: .61rem; }

  .ms-navbar { padding: .35rem 0; }
  .ms-brand-logo { width: 34px; height: 34px; flex-basis: 34px; }
  .ms-brand-wordmark { font-size: 1.05rem; }
  .ms-nav-links .nav-link { padding-block: .35rem !important; }
  .ms-search-box .form-control { padding-block: .43rem; }

  .ms-home-body .ms-main {
    padding-top: .7rem;
    padding-bottom: 2.25rem;
  }
  .ms-home-hero,
  .ms-home-benefit-wrap {
    max-width: 920px;
  }
  .ms-home-benefit-wrap { margin-top: .65rem; }
  .ms-free-shipping-card {
    min-height: 54px;
    padding: .5rem .8rem;
    gap: .65rem;
  }
  .ms-free-shipping-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }
  .ms-free-shipping-card strong { font-size: .82rem; }
  .ms-free-shipping-card small { font-size: .68rem; }

  .ms-home-products { padding-top: 1.4rem; }
  .ms-home-products .ms-section-title { font-size: 1.45rem; }
  .ms-home-products .ms-product-grid { margin-top: 1rem; }
}

@media (min-width: 992px) and (max-height: 700px) {
  .ms-home-hero,
  .ms-home-benefit-wrap {
    max-width: 840px;
  }
  .ms-home-body .ms-main { padding-top: .55rem; }
  .ms-home-benefit-wrap { margin-top: .5rem; }
  .ms-free-shipping-card { min-height: 50px; }
  .ms-home-products { padding-top: 1.1rem; }
}

@media (max-width: 767px) {
  body { font-size: .94rem; }
  .container { --bs-gutter-x: 1.25rem; }
  .ms-main { overflow: hidden; }
  .ms-home-body .ms-main { padding-top: .65rem; }
  .ms-section { padding: 1.35rem 0; margin: 0; }
  .ms-section-title { font-size: 1.05rem; margin-bottom: .15rem; }
  .ms-section-subtitle { font-size: .76rem; margin-bottom: .8rem; }
  .ms-home-products .ms-section-title { margin-bottom: 0; }
  .ms-home-products .ms-product-grid { margin-top: 1rem; }

  .ms-home-hero { margin-top: 0 !important; }
  .ms-banner-carousel { border-radius: 8px; }
  .ms-banner-carousel .carousel-item img {
    width: 100%; height: 100%; min-height: 0; border-radius: 0;
    object-fit: contain; box-shadow: none;
  }
  .ms-banner-carousel .carousel-indicators { margin-bottom: .35rem; }
  .ms-banner-carousel .carousel-indicators button { width: 16px; height: 3px; border: 0; border-radius: 99px; }
  .ms-home-benefit-wrap { margin-top: .65rem; }
  .ms-free-shipping-card { min-height: 54px; padding: .5rem .7rem; gap: .65rem; }
  .ms-free-shipping-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: .9rem; }
  .ms-free-shipping-card strong { font-size: .8rem; }
  .ms-free-shipping-card small { font-size: .67rem; }
  .ms-home-categories { padding-bottom: .75rem; }
  .ms-category-rail, .ms-featured-rail {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: .35rem;
  }
  .ms-category-rail { justify-content: safe center; }
  .ms-product-rail:not(.ms-featured-rail) {
    flex-wrap: wrap; overflow: visible; padding-bottom: 0;
    justify-content: flex-start; scroll-snap-type: none;
  }
  .ms-category-rail::-webkit-scrollbar, .ms-featured-rail::-webkit-scrollbar { display: none; }
  .ms-category-rail > [class*="col"] {
    flex: 0 0 78px; width: 78px; scroll-snap-align: start;
  }
  .ms-cat-card {
    padding: 0; border: 0; border-radius: 0; background: transparent;
    box-shadow: none; text-align: center;
  }
  .ms-cat-card:hover { box-shadow: none; transform: none; }
  .ms-cat-icon {
    width: 58px; height: 58px; margin: 0 auto .45rem;
    border: 2px solid #fff; border-radius: 50%; background: var(--ms-gradient-soft);
    box-shadow: 0 3px 10px rgba(13,23,18,.1); font-size: 1.05rem;
  }
  .ms-cat-card span {
    display: block; overflow: hidden; color: var(--ms-text); font-size: .68rem;
    line-height: 1.15; white-space: nowrap; text-overflow: ellipsis;
  }
  .ms-featured-rail > [class*="col"] {
    flex: 0 0 46%; width: 46%; scroll-snap-align: start;
  }
  .ms-featured-rail.is-centered > [class*="col"] {
    flex-basis: 48%; width: 48%;
  }
  .ms-featured-control { display: none; }

  .ms-card-produto { max-width: 230px; border-radius: 8px; }
  .ms-card-produto:hover { transform: none; }
  .ms-card-produto .ms-img-wrap { padding: 0; }
  .ms-card-produto .ms-img-wrap img { object-fit: cover; border-radius: 7px; }
  .ms-card-produto .ms-img-wrap img.is-placeholder { padding: .75rem; object-fit: contain; }
  .ms-card-produto .ms-body { padding: .75rem; }
  .ms-card-produto .ms-body > a { min-height: 2.6em; }
  .ms-card-produto .ms-nome { height: 2.6em; font-size: .76rem; line-height: 1.3; }
  .ms-card-rating { margin-top: .35rem; font-size: .61rem; }
  .ms-card-produto .ms-preco-atual { font-size: 1rem; }
  .ms-card-produto .ms-preco-antigo { font-size: .72rem; min-height: 1.05rem; }
  .ms-card-installment { font-size: .58rem; }
  .ms-rating { font-size: .68rem; white-space: nowrap; }
  .ms-badge-tag { top: 7px; left: 7px; font-size: .64rem; }
  .ms-btn-favorito { width: 34px; height: 34px; top: 6px; right: 6px; }
  .ms-card-produto .btn-add-carrinho { min-height: 42px; padding: .5rem .25rem; font-size: .78rem; }

  .ms-catalog-header { margin: .35rem auto 1rem; }
  .ms-catalog-header h1 { font-size: 1.25rem; }
  .ms-catalog-layout { --bs-gutter-y: 1rem; }
  .ms-catalog-filter { position: static; }
  .ms-filter-heading { min-height: 50px; padding: .35rem .7rem; }
  .ms-filter-content { padding-inline: .9rem; }
  .ms-filter-group { padding: .8rem 0; }
  .ms-filter-category { flex-basis: 58px; width: 58px; }
  .ms-filter-category-icon { width: 46px; height: 46px; }

  .ms-produto-galeria-principal { border-radius: var(--ms-radius-sm); }
  .ms-produto-thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; }
  .ms-produto-thumbs img { flex: 0 0 58px; width: 58px; height: 58px; }
  .ms-preco-box { padding: 1rem; border-radius: var(--ms-radius-sm); }
  .ms-product-details-row { margin-top: 2rem !important; }
  .ms-product-tabs {
    flex-wrap: nowrap; overflow-x: auto; padding: .4rem;
    scrollbar-width: none; overscroll-behavior-inline: contain;
  }
  .ms-product-tabs::-webkit-scrollbar { display: none; }
  .ms-product-tabs .nav-item { flex: 0 0 auto; }
  .ms-product-tabs .nav-link { min-height: 40px; padding: .5rem .65rem; font-size: .7rem; white-space: nowrap; }
  .ms-product-tab-content { min-height: 120px; padding: 1rem; }
  .ms-product-copy { font-size: .78rem; line-height: 1.65; }
  .ms-spec-list > div {
    min-height: 0; padding: .7rem 0; grid-template-columns: 1fr; gap: .25rem;
  }
  .ms-spec-list dd { padding-left: 1.55rem; font-size: .72rem; }
  .ms-review-empty { min-height: 130px; }
  .ms-review-empty p { font-size: .66rem; }

  .ms-cart-item { align-items: flex-start !important; flex-wrap: wrap; padding: .85rem; gap: .75rem !important; }
  .ms-cart-item img { width: 72px; height: 72px; object-fit: contain; }
  .ms-cart-item .flex-grow-1 { min-width: calc(100% - 88px); }
  .ms-cart-item .flex-grow-1 + .fw-bold { margin-left: 88px; margin-top: -.5rem; }
  .ms-cart-item .d-flex.align-items-center { gap: .25rem !important; flex-wrap: wrap; }
  .ms-cart-item .btn-link { padding: .35rem .45rem; font-size: .75rem; }
  .ms-card-resumo { padding: 1rem; border-radius: var(--ms-radius-sm); }

  .ms-checkout-step { font-size: .72rem; gap: .3rem; flex-direction: column; text-align: center; }
  .ms-checkout-step .num { width: 26px; height: 26px; }

  .ms-auth-header { height: 62px; }
  .ms-auth-brand { gap: .5rem; font-size: .95rem; }
  .ms-auth-brand img { width: 36px; height: 36px; }
  .ms-auth-back { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .ms-auth-back span { display: none; }
  .ms-auth-flash { margin-top: .65rem; }
  .ms-auth-flash .alert { padding: .7rem 2.5rem .7rem .8rem; font-size: .72rem; }
  .ms-auth-page { min-height: calc(100vh - 62px); padding: .75rem 0 1.5rem; }
  .ms-auth-page > .container { width: 100%; max-width: 100%; }
  .ms-auth-layout {
    width: 100%; max-width: 100%; min-height: 0; grid-template-columns: minmax(0, 1fr); border-radius: 8px;
    box-shadow: 0 12px 32px rgba(9,39,25,.1);
  }
  .ms-auth-showcase { min-height: 84px; padding: 1rem 1.15rem; justify-content: center; }
  .ms-auth-showcase .ms-auth-eyebrow { margin-bottom: .3rem; font-size: .58rem; }
  .ms-auth-showcase h2 { max-width: none; font-size: 1.05rem; line-height: 1.25; }
  .ms-auth-showcase p,
  .ms-auth-benefits,
  .ms-auth-trust { display: none; }
  .ms-auth-panel { padding: 1.35rem 1.1rem; }
  .ms-auth-card { margin: 1.5rem auto; padding: 1.25rem; border-radius: 8px; }
  .ms-login-heading { margin-bottom: 1.1rem; text-align: center; }
  .ms-login-heading h1 { font-size: 1.3rem; }
  .ms-login-heading p { font-size: .75rem; }
  .ms-login-form { gap: .85rem; }
  .ms-register-layout { min-height: 0; }
  .ms-register-panel { padding-block: 1.25rem; }
  .ms-register-progress { margin-bottom: 1.2rem; }
  .ms-register-marker small { font-size: .58rem; }
  .ms-register-step legend { margin-bottom: .9rem; }
  .ms-register-actions { margin-top: 1rem; gap: .5rem; }
  .ms-register-actions .btn { min-width: 0; flex: 1; padding-inline: .65rem; }
  .ms-register-actions.is-end .btn { flex: 0 1 55%; }
  .ms-register-submit { min-width: 0 !important; }
  .ms-register-login { margin-top: 1rem; }
  .ms-contact-page { min-height: 0; padding: 1rem 0 1.75rem; }
  .ms-contact-heading { margin-bottom: 1rem; padding: 0 .35rem; }
  .ms-contact-heading h1 { margin-top: .3rem; font-size: 1.4rem; }
  .ms-contact-heading p { font-size: .76rem; line-height: 1.5; }
  .ms-contact-form-panel { padding: 1.15rem; }
  .ms-contact-form-heading { margin-bottom: 1rem; }
  .ms-contact-form-heading h2 { font-size: 1.05rem; }
  .ms-contact-form-heading > i { width: 36px; height: 36px; flex-basis: 36px; }
  .ms-contact-form { gap: .85rem; }
  .ms-contact-input .form-control,
  .ms-contact-input .form-select { min-height: 45px; font-size: .78rem; }
  .ms-contact-sidebar { position: static; padding: 1.2rem; }
  .ms-contact-sidebar h2 { font-size: 1.15rem; }
  .ms-contact-sidebar > p { margin-bottom: 1rem; font-size: .72rem; }
  .ms-contact-methods > a { min-height: 62px; }
  .ms-contact-submit { min-height: 48px; }
  .ms-newsletter { padding: 1rem 0 .8rem; }
  .ms-newsletter-heading { gap: .65rem; }
  .ms-newsletter-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .ms-newsletter h3 { font-size: .82rem; }
  .ms-newsletter-copy { display: block; font-size: .62rem; }
  .ms-newsletter-form { max-width: none; margin: 0; }
  .ms-newsletter-field { min-height: 42px; }
  .ms-newsletter-submit { min-width: 42px; width: 42px; padding: 0; }
  .ms-newsletter-submit > span { display: none; }
  .ms-newsletter-status { min-height: .75rem; font-size: .58rem; }
  .ms-footer { margin-top: 2.5rem; }
  .ms-footer .container.py-5 { padding-top: 1.35rem !important; padding-bottom: 1.15rem !important; }
  .ms-footer .row.g-4 { --bs-gutter-y: .35rem; }
  .ms-footer-brand-lockup { margin-bottom: .6rem; }
  .ms-footer-logo { width: 40px; height: 40px; padding: 4px; }
  .ms-footer-description {
    max-width: 320px; margin-bottom: .65rem; color: rgba(255,255,255,.72);
    font-size: .74rem; line-height: 1.5;
  }
  .ms-social { margin-top: .65rem; margin-bottom: .45rem; }
  .ms-social a { width: 34px; height: 34px; }
  .ms-footer-nav-group { border-top: 1px solid rgba(255,255,255,.1); }
  .ms-footer-nav-group .ms-footer-links {
    max-height: 0; overflow: hidden; opacity: 0; margin: 0;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
  }
  .ms-footer-nav-group.is-open .ms-footer-links {
    max-height: 260px; opacity: 1; padding: .1rem 0 .65rem;
  }
  .ms-footer-links li { margin-bottom: .45rem; font-size: .8rem; }
  .ms-footer-bottom { padding: .85rem 0; }
  .ms-footer-bottom .container { align-items: flex-start !important; }
  .ms-cookie-consent { padding: .75rem 0; }
  .ms-cookie-consent .container { align-items: stretch !important; }
  .ms-cookie-consent .btn { width: 100%; }
  .ms-whatsapp-float {
    width: 58px; height: 58px; right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom)); font-size: 1.45rem;
    animation: none;
  }
  .ms-cookie-open .ms-whatsapp-float { bottom: calc(158px + env(safe-area-inset-bottom)); }
  /* Carrinho flutuante no mobile: acima do WhatsApp (que fica 58px + base) */
  .ms-cart-float {
    right: 16px; bottom: calc(84px + env(safe-area-inset-bottom));
    width: 54px; height: 54px;
  }
  .ms-cookie-open .ms-cart-float { bottom: calc(224px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .ms-cart-float, .ms-whatsapp-float, .ms-mobile-header-action,
  .ms-mobile-nav-panel, .ms-mobile-nav-backdrop, .ms-cart-drawer,
  .ms-cart-drawer-backdrop { animation: none !important; transition: none; }
  .ms-reveal {
    opacity: 1 !important; transform: none !important;
    transition: none !important;
  }
  .ms-featured-rail { scroll-behavior: auto; }
}

@media (max-width: 374px) {
  .ms-brand { font-size: 1.1rem; gap: .35rem; }
  .ms-brand-logo { width: 42px; height: 42px; }
  .ms-brand-icon { width: 32px; height: 32px; }
  .ms-mobile-header { padding-inline: 7px; gap: 4px; }
  .ms-mobile-header-logo, .ms-mobile-header-action { flex-basis: 38px; width: 38px; height: 38px; }
  .ms-mobile-header-search .form-control { padding-left: 1.9rem; font-size: .74rem; }
  .ms-mobile-search-icon { left: .65rem; }
  .ms-mobile-nav-panel { left: 8px; right: 8px; width: auto; padding: .85rem; }
  .ms-featured-rail > [class*="col"] { flex-basis: 48%; width: 48%; }
  .ms-card-produto .btn-add-carrinho i { display: none; }
}

/* ============================================================
   Banner de DESKTOP (arte larga e baixa, largura total)
   So ativa quando o admin envia a arte de desktop
   (classe .ms-hero-desktop). Mobile permanece intacto.
   Resolucao padrao do banner desktop: 1920 x 480 px (4:1).
   ============================================================ */
@media (min-width: 992px) {
  .ms-home-hero.ms-hero-desktop.container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
  }
  .ms-hero-desktop .ms-banner-carousel {
    aspect-ratio: 1920 / 340;   /* casa com a arte (~5,65:1), sem corte */
    border-radius: 0;
    box-shadow: none;
  }
  .ms-hero-desktop .ms-banner-carousel .carousel-item img {
    object-fit: cover;
  }
  /* Banner colado no header: remove o respiro (gradiente) do topo do main */
  .ms-has-desktop-banner .ms-main { padding-top: 0; }

  /* Sem o card de frete no desktop, os produtos sobem o maximo: aparecem
     "de primeira" na tela (above the fold), como nos grandes e-commerces. */
  .ms-has-desktop-banner .ms-home-products { padding-top: .55rem; }
  .ms-has-desktop-banner .ms-home-products .ms-section-title { font-size: 1.5rem; margin-bottom: .15rem; }
  .ms-has-desktop-banner .ms-home-products .ms-product-grid { margin-top: .85rem; }

  /* Card de frete: mais fino e colado logo abaixo do banner */
  .ms-hero-desktop + .ms-home-benefit-wrap { margin-top: .6rem; }
  .ms-has-desktop-banner .ms-free-shipping-card { min-height: 44px; padding: .4rem .9rem; }
  .ms-has-desktop-banner .ms-free-shipping-icon {
    flex-basis: 34px; width: 34px; height: 34px; font-size: .88rem;
  }
  .ms-has-desktop-banner .ms-free-shipping-card strong { font-size: .84rem; }
  .ms-has-desktop-banner .ms-free-shipping-card small { font-size: .72rem; }
}
