/* ================================================================
   FastObra Theme — OpenCart 3.x
   Framework: Bootstrap 3.x (responsivo)
   Fonte: Roboto
   ================================================================ */

/* BASE */
* { box-sizing: border-box; }
body {
  font-family: 'Outfit', sans-serif;
  background: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}
a { color: #003d7a; text-decoration: none; }
a:hover, a:focus { color: #001f3f; text-decoration: none; }
img { max-width: 100%; }

/* ── HEADER ────────────────────────────────────────────────────── */
.fo-header {
  background: #fff;
  border-bottom: 2px solid #f0f0f0;
  padding: 10px 0;
}
.fo-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.fo-logo-col { display: flex; align-items: center; }
.fo-logo img { max-height: 50px; }
.fo-logo-text { font-size: 22px; font-weight: 900; color: #003d7a; }

/* Search */
.fo-search-col { padding: 0 10px; }
.fo-search .input-group { border: 2px solid #003d7a; border-radius: 4px; overflow: hidden; }
.fo-search-input {
  border: none;
  box-shadow: none;
  height: 38px;
  font-size: 13px;
}
.fo-search-btn {
  background: #003d7a;
  color: #fff;
  border: none;
  height: 38px;
  width: 44px;
  font-size: 15px;
}
.fo-search-btn:hover, .fo-search-btn:focus { background: #001f3f; }

/* Contact + WhatsApp */
.fo-contact-col {display: flex;gap: 10px;align-items: center;padding: 0 60px;}
.fo-contact-link, .fo-whatsapp-link {
  display: flex; align-items: center; gap: 6px; font-size: 11px;
  color: #333; border: 1px solid #ddd; border-radius: 4px;
  padding: 4px 8px; white-space: nowrap;
}
.fo-contact-link i, .fo-whatsapp-link i { font-size: 20px; color: #003d7a; }
.fo-contact-label { display: block; font-size: 9px; color: #888; }
.fo-contact-title { display: block; font-size: 10px; font-weight: 700; color: #003d7a; }

/* Entrar + Carrinho */
.fo-actions-col { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.fo-account-dropdown { position: relative; }
.fo-account-link {
  display: flex; align-items: center; gap: 4px; font-size: 12px;
  color: #333; border: 1px solid #ddd; border-radius: 4px; padding: 6px 10px;
  background: #fff; cursor: pointer;
}
.fo-account-link i { font-size: 18px; color: #003d7a; }
.fo-account-link:hover { background: #f9f9f9; }
.fo-account-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 320px !important;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  display: none;
  z-index: 1000;
}
.fo-account-panel.active { display: block; }
.fo-auth-tabs {
  display: flex;
  border-bottom: 2px solid #e5e5e5;
}
.fo-auth-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.fo-auth-tab.active {
  color: #003d7a;
  border-bottom: 2px solid #003d7a;
  margin-bottom: -2px;
}
.fo-auth-content { padding: 16px; }
.fo-auth-form { display: none; }
.fo-auth-form.active { display: block; }
.fo-auth-form .form-group { margin-bottom: 12px; }
.fo-auth-form label {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}
.fo-auth-form .form-control {
  height: 36px;
  font-size: 13px;
  border-radius: 4px;
}
.fo-auth-link {
  text-align: center;
  font-size: 11px;
  color: #666;
  margin: 10px 0 0;
}
.fo-auth-link a { color: #003d7a; }
.fo-cart-widget { position: relative; }
.fo-cart-btn {
  background: #003d7a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 18px;
  position: relative;
}
.fo-cart-btn:hover, .fo-cart-btn:focus, .open > .fo-cart-btn {
  background: #001f3f !important;
  color: #fff !important;
}
.fo-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ff6600;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fo-cart-dropdown { min-width: 320px; padding: 10px; border-radius: 4px; }
.fo-cart-thumb { width: 50px; height: 50px; object-fit: cover; }
.fo-btn-checkout { background: #28a745; color: #fff; border-color: #28a745; }
.fo-btn-checkout:hover { background: #218838; color: #fff; }

/* ── NAVEGAÇÃO ─────────────────────────────────────────────────── */
.fo-nav {
  background: #fff;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  min-height: 0;
  border-bottom: 1px solid #e5e5e5;
}
.fo-nav .container { position: relative; }
.fo-nav .navbar-header { display: none; }
.fo-menu { margin: 0; padding: 0; list-style: none; display: flex; }
.fo-menu > li { position: relative; }
.fo-menu > li > a {
  display: block;
  padding: 14px 18px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}
.fo-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #003d7a;
  transition: width 0.3s ease, left 0.3s ease;
}
.fo-menu > li > a:hover::after,
.fo-menu > li.open > a::after,
.fo-menu > li.active > a::after {
  width: 100%;
  left: 0;
}
.fo-menu > li > a:hover,
.fo-menu > li.open > a,
.fo-menu > li.active > a {
  color: #003d7a;
  background: transparent;
}
.fo-menu .dropdown-menu {
  border-radius: 0;
  border: none;
  border-top: 2px solid #003d7a;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.fo-menu .dropdown-menu > li > a {
  padding: 8px 16px;
  font-size: 13px;
  color: #333;
}
.fo-menu .dropdown-menu > li > a:hover { background: #f0f0f0; color: #003d7a; }
.fo-menu-mobile { display: none; }

/* ── PAGE GENERAL ──────────────────────────────────────────────── */
.fo-page { padding: 20px 0 40px; background: #fff; }
.fo-page-title {
  font-size: 24px;
  font-weight: 900;
  color: #003d7a;
  margin: 0 0 16px;
  border-bottom: 3px solid #003d7a;
  padding-bottom: 8px;
}
.fo-section-title {
  font-size: 20px;
  font-weight: 900;
  color: #003d7a;
  margin: 0 0 16px;
  border-bottom: 2px solid #003d7a;
  padding-bottom: 6px;
}
.fo-breadcrumb { background: transparent; padding: 8px 0; margin-bottom: 12px; font-size: 12px; }
.fo-breadcrumb a { color: #003d7a; }
.fo-breadcrumb a:hover { color: #001f3f; text-decoration: underline; }

/* ── BANNERS HOME (blocos HTML) ───────────────────────────────── */
.fo-banner-home { margin-bottom: 0; }
.fo-banner-home img { width: 100%; display: block; }

.fo-trust-strip { background: #f8f8f8; border-top: 2px solid #ff6600; border-bottom: 2px solid #ff6600; padding: 16px 0; }
.fo-trust-row { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; }
.fo-trust-item { display: flex; align-items: center; gap: 10px; padding: 8px; }
.fo-trust-item i { font-size: 28px; color: #003d7a; }
.fo-trust-item strong { display: block; font-size: 12px; font-weight: 700; color: #003d7a; text-transform: uppercase; }
.fo-trust-item span { display: block; font-size: 11px; color: #666; }

/* ── PRODUCT CARDS ─────────────────────────────────────────────── */
.fo-products-section { padding: 30px 0; }
.fo-products-row { margin: 0 -8px; }
.fo-products-row::after {
  content: "";
  display: table;
  clear: both;
}
.fo-products-row > [class*="col-"] { 
  float: left; 
  box-sizing: border-box; 
}
.fo-product-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow .2s;
}
.fo-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.fo-product-img-wrap {
  position: relative;
  background: #f9f9f9;
  aspect-ratio: 1;
  overflow: hidden;
}
.fo-product-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.fo-badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #d9534f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
}
.fo-badge-pix {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #28a745;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 3px;
}
.fo-product-body { padding: 12px; text-align: center; }
.fo-product-brand { font-size: 11px; color: #003d7a; font-weight: 700; margin: 0 0 4px; text-transform: uppercase; }
.fo-product-name { font-size: 13px; font-weight: 500; margin: 0 0 8px; line-height: 1.3; min-height: 60px; }
.fo-product-name a { color: #333; }
.fo-product-name a:hover { color: #003d7a; }
.fo-product-price-old { font-size: 12px; color: #999; text-decoration: line-through; margin: 0; }
.fo-product-price { font-size: 22px; font-weight: 900; color: #003d7a; margin: 4px 0; }
.fo-pix-discount { font-size: 11px; color: #28a745; font-weight: 700; margin: 4px 0; }
.fo-installments { font-size: 11px; color: #666; margin: 0 0 10px; }
.fo-btn-comprar {
  background: #003d7a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  text-transform: uppercase;
}
.fo-btn-comprar:hover, .fo-btn-comprar:focus, .fo-btn-comprar:active {
  background: #001f3f !important;
  color: #fff !important;
}

/* ── CATEGORY PAGE ─────────────────────────────────────────────── */
.fo-toolbar { padding: 12px 0; margin-bottom: 16px; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.fo-subcats { margin-bottom: 20px; }
.fo-subcat-link {
  display: block;
  padding: 8px 12px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}
.fo-subcat-link:hover { background: #003d7a; color: #fff; }
.fo-pagination { margin-top: 20px; }

/* ── PRODUCT PAGE ──────────────────────────────────────────────── */
.fo-product-main { margin-bottom: 30px; }

/* Gallery */
.fo-gallery { position: relative; }
.fo-badge-discount-large {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d9534f;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 10;
}
.fo-badge-pix-large {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 10;
}
.fo-gallery-main {
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  background: #f9f9f9;
  margin-bottom: 10px;
}
.fo-gallery-main img { width: 100%; }
.fo-img-zoom {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.fo-img-zoom:hover .fo-zoom-icon {
  opacity: 1;
}
.fo-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 61, 122, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.fo-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}
.fo-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: fo-zoom-in 0.3s;
}
.fo-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.fo-modal-close:hover { color: #ccc; }
@keyframes fo-zoom-in {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.fo-thumbs { display: flex; align-items: center; gap: 6px; position: relative; }
.fo-thumb-prev, .fo-thumb-next {
  background: #003d7a;
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
}
.fo-thumb-prev:hover, .fo-thumb-next:hover { background: #001f3f; }
.fo-thumbs-wrap { display: flex; gap: 6px; overflow-x: auto; flex: 1; }
.fo-thumb {
  display: block;
  width: 70px;
  height: 70px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.fo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fo-thumb.active, .fo-thumb:hover { border-color: #003d7a; }

/* Product info */
.fo-product-info { padding: 0 0 0 10px; }
.fo-product-title { font-size: 22px; font-weight: 900; color: #003d7a; margin: 0 0 12px; line-height: 1.3; }
.fo-product-meta { margin-bottom: 12px; }
.fo-ref { font-size: 12px; color: #888; margin: 0 0 4px; }
.fo-brand { font-size: 14px; color: #003d7a; font-weight: 700; margin: 0 0 6px; }
.fo-rating { display: flex; align-items: center; gap: 6px; color: #f5a623; font-size: 14px; }
.fo-review-link { font-size: 12px; color: #003d7a; margin-left: 4px; }

/* Price Box */
.fo-price-box {
  background: #f6f6f6;
  border: 2px solid #003d7a;
  border-radius: 6px;
  padding: 16px;
  margin: 0 0 16px;
  text-align: center;
}

.fo-price-box{
  position:relative;
  overflow:hidden;
  animation:priceBoxPulse 2.8s ease-in-out infinite;
  transition:transform .25s ease, box-shadow .25s ease;
}

.fo-price-box:hover{
  transform:translateY(-2px);
}

/* brilho suave passando no box */
.fo-price-box:before{
  content:"";
  position:absolute;
  top:0;
  left:-75%;
  width:45%;
  height:100%;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.20) 50%,
    rgba(255,255,255,0) 100%
  );
  transform:skewX(-18deg);
  animation:priceShine 3.8s ease-in-out infinite;
  pointer-events:none;
  z-index:2;
}

/* aura sutil de conversão */
.fo-price-box:after{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(255,153,0,.22);
  box-shadow:
    0 0 0 0 rgba(255,166,0,.10),
    0 10px 28px rgba(255,102,0,.06);
  pointer-events:none;
  z-index:1;
  animation:priceAura 2.8s ease-in-out infinite;
}

/* preço */
.fo-price-box .price,
.fo-price-box .fo-price,
.fo-price-box .special,
.fo-price-box .price-new{
  position:relative;
  z-index:3;
  animation:priceTextPop 2.8s ease-in-out infinite;
}

/* selo/topo da oferta */
.fo-price-box img,
.fo-price-box .offer-seal,
.fo-price-box .pix-seal{
  position:relative;
  z-index:3;
  transform-origin:center;
  animation:sealFloat 2.2s ease-in-out infinite;
}

@keyframes priceBoxPulse{
  0%,100%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.01);
  }
}

@keyframes priceAura{
  0%,100%{
    box-shadow:
      0 0 0 0 rgba(255,166,0,.08),
      0 10px 28px rgba(255,102,0,.05);
  }
  50%{
    box-shadow:
      0 0 0 4px rgba(255,166,0,.10),
      0 14px 34px rgba(255,102,0,.10);
  }
}

@keyframes priceShine{
  0%{
    left:-75%;
  }
  55%{
    left:130%;
  }
  100%{
    left:130%;
  }
}

@keyframes priceTextPop{
  0%,100%{
    transform:scale(1);
    filter:brightness(1);
  }
  50%{
    transform:scale(1.035);
    filter:brightness(1.06);
  }
}

@keyframes sealFloat{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-2px);
  }
}

.fo-price-was { font-size: 14px; color: #999; text-decoration: line-through; margin: 0 0 4px; }
.fo-price-main { font-size: 32px; font-weight: 900; color: #003d7a; margin: 0 0 8px; }
.fo-pix-price { font-size: 13px; color: #28a745; font-weight: 700; margin: 0 0 6px; }
.fo-installments-product { font-size: 12px; color: #666; margin: 0; }

/* Options */
.fo-options { margin-bottom: 16px; }

/* Qty + Add to Cart */
.fo-qty-section { margin-bottom: 16px; }
.fo-qty-section label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 6px; }
.fo-qty-group {
  display: inline-flex;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}
.fo-qty-minus, .fo-qty-plus {
  background: #f0f0f0;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  color: #333;
}
.fo-qty-minus:hover, .fo-qty-plus:hover { background: #e0e0e0; }
.fo-qty-input {
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 50px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.fo-btn-add-to-cart {
  background: #003d7a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 900;
  font-size: 14px;
  padding: 14px 24px;
  width: 100%;
  text-transform: uppercase;
}
.fo-btn-add-to-cart:hover, .fo-btn-add-to-cart:focus, .fo-btn-add-to-cart:active {
  background: #001f3f !important;
  color: #fff !important;
}
.fo-minimum { margin-top: 6px; font-size: 11px; color: #888; }

/* Tabs */
.fo-tabs-section { margin-bottom: 30px; }
.fo-tabs { border-bottom: 3px solid #003d7a; }
.fo-tabs > li > a {
  font-size: 14px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 12px 20px;
}
.fo-tabs > li.active > a,
.fo-tabs > li.active > a:hover,
.fo-tabs > li.active > a:focus {
  color: #003d7a;
  background: #fff;
  border: none;
  border-bottom: 3px solid #003d7a;
  margin-bottom: -3px;
}
.fo-tabs > li > a:hover { color: #003d7a; background: #f9f9f9; }
.fo-tab-content {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: none;
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.fo-specs-table { font-size: 13px; }
.fo-spec-label { font-weight: 700; color: #003d7a; width: 35%; background: #f6f6f6; }

/* Blocos Horizontais (imagem 04.jpg) */
.fo-horizontal-blocks { margin-bottom: 30px; }
.fo-hblock {
  background: #f6f6f6;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
}
.fo-hblock h3 { font-size: 16px; font-weight: 900; color: #003d7a; margin: 0 0 10px; text-transform: uppercase; }
.fo-hblock p { font-size: 13px; color: #555; margin: 0; }

/* Related */
.fo-related { margin-bottom: 30px; }

/* ── CART ──────────────────────────────────────────────────────── */
.fo-cart-table thead th { background: #003d7a; color: #fff; font-size: 13px; }
.fo-cart-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.fo-order-summary {
  background: #f6f6f6;
  border: 2px solid #003d7a;
  border-radius: 6px;
  padding: 20px;
}
.fo-order-summary h3 { font-size: 16px; font-weight: 900; color: #003d7a; margin: 0 0 12px; }
.fo-total-row td { font-size: 18px; font-weight: 900; color: #003d7a; padding-top: 10px; }

/* ── CHECKOUT ──────────────────────────────────────────────────── */
.fo-checkout-step { background: #fff; border: 1px solid #e5e5e5; border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.fo-step-head {
  background: #003d7a;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fo-step-num {
  width: 24px;
  height: 24px;
  background: #fff;
  color: #003d7a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.fo-step-body { padding: 16px; }

/* ── CONTACT ───────────────────────────────────────────────────── */
.fo-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f6f6f6;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 12px;
}
.fo-contact-card i { font-size: 20px; color: #003d7a; width: 24px; text-align: center; }
.fo-contact-card h4 { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.fo-contact-card p { font-size: 12px; color: #555; margin: 0; }

/* ── INFO PAGE ─────────────────────────────────────────────────── */
.fo-info-content { background: #fff; padding: 20px; border: 1px solid #e5e5e5; border-radius: 4px; }

/* ── FOOTER ────────────────────────────────────────────────────── */
.fo-footer { background: #1a1a1a; color: #aaa; }
.fo-footer-main { padding: 40px 0 30px; }
.fo-footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.fo-footer-list { padding: 0; }
.fo-footer-list li { margin-bottom: 8px; font-size: 12px; color: #aaa; }
.fo-footer-list a { color: #aaa; }
.fo-footer-list a:hover { color: #fff; }
.fo-payment-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fo-payment-icons img { width: 40px; height: 25px; object-fit: contain; background: #f0f0f0; border-radius: 3px; padding: 2px; }
.fo-certificates { display: flex; gap: 8px; margin-bottom: 20px; }
.fo-certificates img { height: 30px; }
.fo-atendimento-footer { margin-bottom: 20px; }
.fo-atendimento-footer h4 { margin-bottom: 8px; }
.fo-atendimento-footer p { font-size: 11px; color: #aaa; line-height: 1.6; margin: 0; }
.fo-social-footer { display: flex; gap: 10px; }
.fo-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ff6600;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
}
.fo-social-icon:hover { background: #e55500; color: #fff; }
.fo-footer-bottom { background: #111; padding: 16px 0; text-align: center; }
.fo-footer-bottom p { font-size: 11px; color: #666; margin: 0; }

/* ── RESPONSIVO ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .fo-trust-strip { display: none; }
}
@media (max-width: 768px) {
  /* Header responsivo */
  .fo-header-row { flex-direction: column; gap: 10px; }
  .fo-logo-col, .fo-search-col, .fo-actions-col { width: 100%; }
  .fo-contact-col { display: none; }
  .fo-search-col { order: 3; }
  .fo-actions-col { justify-content: space-between; }
  
  /* Account panel mobile */
  .fo-account-panel {
    right: 1rem;
    left: 1rem;
    width: auto;
  }

  /* Nav mobile */
  .fo-nav .navbar-header { display: block; }
  .fo-menu-mobile {
    display: block;
    background: #003d7a;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }
  .fo-menu { flex-direction: column; }
  .fo-menu > li { border-top: 1px solid #e5e5e5; }
  .fo-menu > li > a::after { display: none; }

  /* Product page */
  .fo-product-info { padding: 16px 0 0; }
  .fo-price-main { font-size: 26px; }

  /* Tabs mobile */
  .fo-tabs > li > a { padding: 10px 12px; font-size: 12px; }

  /* Gallery thumbs */
  .fo-thumb-prev, .fo-thumb-next { display: none; }
}
@media (max-width: 480px) {
  .fo-product-card .fo-product-body { padding: 10px; }
  .fo-product-price { font-size: 18px; }
  .fo-badge-discount, .fo-badge-pix { font-size: 9px; padding: 2px 5px; }
}

/* =========================================================
   COMPATIBILIDADE OPENCart SEARCH / CATEGORY / LISTAGEM
   Mantém o visual do tema modificado nos cards nativos
   ========================================================= */

.product-layout {
  margin-bottom: 18px;
}

.product-thumb {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow .2s, transform .2s;
}

.product-thumb:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.product-thumb .image {
  position: relative;
  background: #f9f9f9;
  text-align: center;
  padding: 12px;
}

.product-thumb .image a {
  display: block;
}

.product-thumb .image img {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

/* LISTA */
@media (min-width: 768px) {
  .product-list .product-thumb .image {
    float: left;
    width: 250px;
    padding: 14px;
  }
}

/* GRADE */
.product-grid .product-thumb .image {
  float: none;
}

/* CAPTION */
.product-thumb .caption {
  padding: 12px;
  min-height: 205px;
}

.product-list .product-thumb .caption {
  margin-left: 250px;
  min-height: 0;
}

.product-thumb h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.product-thumb h4 a {
  color: #333;
}

.product-thumb h4 a:hover {
  color: #003d7a;
}

.product-thumb .caption p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* PREÇOS no estilo do tema */
.product-thumb .price {
  font-size: 22px;
  font-weight: 900;
  color: #003d7a;
  margin: 4px 0;
}

.product-thumb .price-new {
  font-size: 22px;
  font-weight: 900;
  color: #003d7a;
}

.product-thumb .price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
  display: inline-block;
}

.product-thumb .price-tax {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #666;
}

/* RATING */
.product-thumb .rating {
  padding-bottom: 8px;
}

.product-thumb .rating .fa,
.product-thumb .rating .fa-stack {
  color: #f5a623;
}

/* BOTÕES no visual do tema */
.product-thumb .button-group {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  overflow: hidden;
}

.product-list .product-thumb .button-group {
  border-left: 1px solid #e5e5e5;
}

.product-thumb .button-group button {
  border: none;
  background: #f6f6f6;
  color: #333;
  font-weight: 700;
  text-align: center;
  min-height: 44px;
  transition: all .2s ease;
  float: none;
  line-height: normal;
  padding: 10px 8px;
}

.product-thumb .button-group button:first-child {
  width: 60%;
  background: #ff6600;
  color: #fff;
  text-transform: uppercase;
}

.product-thumb .button-group button:first-child:hover {
  background: #e55500;
  color: #fff;
}

.product-thumb .button-group button + button {
  width: 20%;
  border-left: 1px solid #e5e5e5;
}

.product-thumb .button-group button:not(:first-child):hover {
  background: #ececec;
  color: #003d7a;
}

/* AJUSTE DE GRID */
@media (min-width: 1200px) {
  #content .col-lg-2:nth-child(6n+1),
  #content .col-lg-3:nth-child(4n+1),
  #content .col-lg-4:nth-child(3n+1),
  #content .col-lg-6:nth-child(2n+1) {
    clear: left;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #content .col-md-2:nth-child(6n+1),
  #content .col-md-3:nth-child(4n+1),
  #content .col-md-4:nth-child(3n+1),
  #content .col-md-6:nth-child(2n+1) {
    clear: left;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #content .col-sm-2:nth-child(6n+1),
  #content .col-sm-3:nth-child(4n+1),
  #content .col-sm-4:nth-child(3n+1),
  #content .col-sm-6:nth-child(2n+1) {
    clear: left;
  }
}

/* RESPONSIVO */
@media (max-width: 1200px) {
  .product-thumb .caption {
    min-height: 220px;
  }

  .product-thumb .button-group button,
  .product-thumb .button-group button + button {
    width: 33.3333%;
  }
}

@media (max-width: 767px) {
  .product-list .product-thumb .image {
    float: none;
    width: 100%;
    padding: 12px;
  }

  .product-list .product-thumb .caption {
    margin-left: 0;
    min-height: 0;
    padding: 12px;
  }

  .product-grid .product-thumb .caption,
  .product-thumb .caption {
    min-height: 0;
  }

  .product-list .product-thumb .button-group {
    border-left: none;
  }

  .product-thumb .button-group button,
  .product-thumb .button-group button + button,
  .product-thumb .button-group button:first-child {
    width: 33.3333%;
  }
}

.ajax-search-results{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:9999;
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 8px 25px rgba(0,0,0,.12);
  display:none;
}

.ajax-search-list{
  list-style:none;
  margin:0;
  padding:0;
}

.ajax-search-item a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  text-decoration:none;
}

.ajax-search-item a:hover{
  background:#f6f6f6;
}

.ajax-search-thumb{
  width:50px;
}

.ajax-search-thumb img{
  max-width:100%;
}

.ajax-search-name{
  display:block;
  font-size:13px;
}

.ajax-search-price{
  font-size:12px;
  font-weight:bold;
}

.fo-contact-col {
  position: relative;
}

.fo-contact-dropdown {
  position: relative;
  display: inline-block;
}

.fo-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1f1f1f;
  position: relative;
  padding: 8px 20px;
}

.fo-contact-link i {
  font-size: 34px;
  line-height: 1;
}

.fo-contact-label,
.fo-contact-title {
  display: block;
  line-height: 1.1;
}

.fo-contact-label {
  font-size: 15px;
  font-weight: 400;
}

.fo-contact-title {
  font-size: 15px;
  font-weight: 700;
}

.fo-contact-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 9999;
}

.fo-contact-box {
  background: #f6f6f6;
  border: 1px solid #e7e7e7;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  padding: 26px 28px;
  text-align: left;
}

.fo-contact-box h4 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
  color: #0047a8;
  text-transform: uppercase;
}

.fo-contact-box h4 + p,
.fo-contact-box p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #222;
}

.fo-contact-box p:last-child {
  margin-bottom: 0;
}

.fo-contact-box a {
  color: #222;
  text-decoration: none;
}

.fo-contact-box a:hover {
  color: #0047a8;
  text-decoration: none;
}

.fo-contact-dropdown:hover .fo-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fo-contact-dropdown:hover .fo-contact-link:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 4px;
  background: #e11616;
}

.fo-contact-box:before {
  content: "";
  position: absolute;
  top: -8px;
  left: 28px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #f6f6f6;
}

.fo-contact-menu .fo-contact-box {
  position: relative;
}

.fo-payment-texts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fo-payment-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fo-payment-line i {
  min-width: 18px;
  text-align: center;
}

.fo-footer-list li,
.fo-payment-line span {
font-size:14px;
}

.fo-frete-clean{
margin-top:16px;
padding:16px;
border:1px solid #e6e6e6;
border-radius:10px;
background:#fff;
max-width:380px;
margin-bottom: 15px;
}

.fo-frete-title{
display:flex;
align-items:center;
gap:8px;
font-weight:600;
font-size:14px;
color:#333;
margin-bottom:6px;
}

.fo-frete-title i{
color:#333;
font-size:16px;
}

.fo-frete-desc{
font-size:13px;
color:#666;
margin-bottom:12px;
}

.fo-frete-form{
display:flex;
gap:8px;
}

.fo-frete-input{
flex:1;
height:40px;
border:1px solid #dcdcdc;
border-radius:6px;
padding:0 10px;
font-size:14px;
}

.fo-frete-btn{
height:40px;
padding:0 14px;
border:none;
background:#1f5fae;
color:#fff;
border-radius:6px;
font-weight:600;
font-size:13px;
cursor:pointer;
}

.fo-frete-btn:hover{
background:#184f90;
}

.fo-frete-result{
margin-top:12px;
font-size:13px;
}

.fo-product-meta{
display:flex;
flex-wrap:wrap;
gap:8px;
margin:10px 0 14px;
font-size:13px;
}

.fo-meta-tag{
display:inline-flex;
align-items:center;
padding:4px 10px;
background:#f5f5f5;
border-radius:6px;
color:#444;
}

.fo-meta-tag strong{
margin-right:4px;
font-weight:600;
color:#333;
}

.fo-meta-tag a{
color:#1f5fae;
text-decoration:none;
}

.fo-meta-tag a:hover{
text-decoration:underline;
}

.fo-meta-stock{
background:#e8f5e9;
color:#2e7d32;
font-weight:600;
}

#button-cart {
  position: relative;
  overflow: hidden;
}

#button-cart.is-loading {
  pointer-events: none;
  opacity: 0.95;
}

#button-cart.is-loading .btn-text {
  position: relative;
  z-index: 2;
}

#button-cart.is-loading::after {
  content: "";
  position: absolute;
  left: -35%;
  top: 0;
  width: 30%;
  height: 100%;
  background: rgba(255,255,255,0.22);
  transform: skewX(-20deg);
  animation: foBtnLoading 0.9s linear infinite;
}

@keyframes foBtnLoading {
  from { left: -35%; }
  to   { left: 120%; }
}

/* ================================================================
   MEGALOJA 2026 — refresh visual inspirado na paleta da marca
   Mantém estrutura/Twig original e apenas moderniza o visual.
   ================================================================ */
:root {
  --ml-primary: #e11616;
  --ml-primary-dark: #b90f10;
  --ml-primary-soft: #fff1f1;
  --ml-accent: #ffbf00;
  --ml-accent-dark: #ff9800;
  --ml-accent-soft: #fff8e8;
  --ml-ink: #3c2a1f;
  --ml-muted: #7b6b63;
  --ml-line: #f1dfd5;
  --ml-surface: #ffffff;
  --ml-surface-alt: #fffaf6;
  --ml-shadow: 0 14px 34px rgba(189, 37, 16, 0.12);
  --ml-radius-sm: 12px;
  --ml-radius-md: 18px;
  --ml-radius-lg: 24px;
}

body.theme-megaloja {
  background: linear-gradient(180deg, #fffaf6 0%, #ffffff 240px);
  color: var(--ml-ink);
}

body.theme-megaloja a,
body.theme-megaloja .fo-breadcrumb a,
body.theme-megaloja .fo-auth-link a,
body.theme-megaloja .fo-meta-tag a,
body.theme-megaloja .product-thumb h4 a:hover,
body.theme-megaloja .fo-product-name a:hover {
  color: var(--ml-primary);
}

body.theme-megaloja .container {
  position: relative;
}

body.theme-megaloja .fo-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(225,22,22,.10);
  box-shadow: 0 8px 30px rgba(64, 24, 10, 0.05);
  padding: 14px 0;
  backdrop-filter: blur(10px);
}

body.theme-megaloja .fo-header:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ml-primary) 0%, #ff4d12 48%, var(--ml-accent) 100%);
}

body.theme-megaloja .fo-logo img {
  max-height: 62px;
}

body.theme-megaloja .fo-search .input-group {
  border: 1px solid #ffd9c8;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.10);
}

body.theme-megaloja .fo-search-input {
  height: 48px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ml-ink);
}

body.theme-megaloja .fo-search-input::placeholder {
  color: #b69687;
}

body.theme-megaloja .fo-search-btn {
  height: 48px;
  width: 54px;
  border-radius: 999px;
  margin: 4px;
  background: linear-gradient(135deg, var(--ml-primary) 0%, #ff4b12 100%);
  box-shadow: 0 8px 16px rgba(225,22,22,.25);
}

body.theme-megaloja .fo-search-btn:hover,
body.theme-megaloja .fo-search-btn:focus {
  background: linear-gradient(135deg, var(--ml-primary-dark) 0%, var(--ml-primary) 100%);
}

body.theme-megaloja .fo-contact-link,
body.theme-megaloja .fo-account-link {
  border: 1px solid #ffe0d0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(227, 22, 22, 0.06);
}

body.theme-megaloja .fo-contact-link i,
body.theme-megaloja .fo-account-link i,
body.theme-megaloja .fo-contact-title,
body.theme-megaloja .fo-auth-tab.active,
body.theme-megaloja .fo-page-title,
body.theme-megaloja .fo-section-title,
body.theme-megaloja .fo-product-title,
body.theme-megaloja .fo-brand,
body.theme-megaloja .fo-product-brand,
body.theme-megaloja .fo-spec-label,
body.theme-megaloja .fo-order-summary h3,
body.theme-megaloja .fo-total-row td,
body.theme-megaloja .fo-contact-card i,
body.theme-megaloja .fo-contact-box h4 {
  color: var(--ml-primary);
}

body.theme-megaloja .fo-account-panel,
body.theme-megaloja .fo-contact-box,
body.theme-megaloja .fo-info-content,
body.theme-megaloja .fo-checkout-step,
body.theme-megaloja .fo-tab-content,
body.theme-megaloja .fo-gallery-main,
body.theme-megaloja .fo-price-box,
body.theme-megaloja .fo-frete-clean,
body.theme-megaloja .fo-order-summary,
body.theme-megaloja .fo-subcat-link,
body.theme-megaloja .fo-hblock,
body.theme-megaloja .product-thumb,
body.theme-megaloja .fo-product-card,
body.theme-megaloja .fo-cart-dropdown {
  border-radius: var(--ml-radius-md);
  border-color: var(--ml-line);
  box-shadow: var(--ml-shadow);
}

body.theme-megaloja .fo-auth-tab.active {
  border-bottom-color: var(--ml-primary);
}

body.theme-megaloja .fo-nav {
  background: linear-gradient(90deg, #fff4ef 0%, #fff9ec 100%);
  border-bottom: 1px solid #ffd8c7;
}

body.theme-megaloja .fo-menu > li > a {
  color: #6d4031;
  font-weight: 700;
  letter-spacing: .2px;
}

body.theme-megaloja .fo-menu > li > a::after,
body.theme-megaloja .fo-tabs,
body.theme-megaloja .fo-tabs > li.active > a,
body.theme-megaloja .fo-tabs > li.active > a:hover,
body.theme-megaloja .fo-tabs > li.active > a:focus,
body.theme-megaloja .fo-page-title,
body.theme-megaloja .fo-section-title {
  border-color: var(--ml-primary);
}

body.theme-megaloja .fo-menu > li > a::after {
  background: linear-gradient(90deg, var(--ml-primary) 0%, var(--ml-accent-dark) 100%);
  height: 3px;
  border-radius: 999px;
}

body.theme-megaloja .fo-menu > li > a:hover,
body.theme-megaloja .fo-menu > li.open > a,
body.theme-megaloja .fo-menu > li.active > a,
body.theme-megaloja .fo-tabs > li > a:hover {
  color: var(--ml-primary);
}

body.theme-megaloja .fo-menu .dropdown-menu {
  border-top: 3px solid var(--ml-primary);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 28px rgba(70, 26, 16, 0.14);
}

body.theme-megaloja .fo-trust-strip {
  background: linear-gradient(90deg, #fff7ec 0%, #fff2f0 100%);
  border-top: 1px solid #ffd6a8;
  border-bottom: 1px solid #ffd6a8;
  padding: 18px 0;
}

body.theme-megaloja .fo-trust-item {
  background: rgba(255,255,255,.72);
  border: 1px solid #ffe4c2;
  border-radius: 18px;
  min-height: 84px;
  padding: 14px 16px;
  box-shadow: 0 12px 26px rgba(255, 166, 0, 0.08);
}

body.theme-megaloja .fo-trust-item i {
  color: var(--ml-accent-dark);
}

body.theme-megaloja .fo-trust-item strong {
  color: var(--ml-primary);
  font-size: 12px;
}

body.theme-megaloja .fo-trust-item span {
  color: #775d4b;
}

body.theme-megaloja .fo-product-card,
body.theme-megaloja .product-thumb {
  overflow: hidden;
  border: 1px solid #f7ded2;
  background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

body.theme-megaloja .fo-product-card:hover,
body.theme-megaloja .product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(208, 72, 0, 0.15);
}

body.theme-megaloja .fo-product-img-wrap,
body.theme-megaloja .product-thumb .image,
body.theme-megaloja .fo-gallery-main {
  background: radial-gradient(circle at top, #fffef9 0%, #fff6ef 68%, #fff2e7 100%);
}

body.theme-megaloja .fo-badge-discount,
body.theme-megaloja .fo-badge-discount-large {
  background: linear-gradient(135deg, var(--ml-primary) 0%, #ff5d1f 100%);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(225,22,22,.25);
}

body.theme-megaloja .fo-badge-pix,
body.theme-megaloja .fo-badge-pix-large {
  background: linear-gradient(135deg, var(--ml-accent) 0%, var(--ml-accent-dark) 100%);
  color: #7a3f00;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(255, 191, 0, 0.25);
}

body.theme-megaloja .fo-product-name a,
body.theme-megaloja .product-thumb h4 a {
  color: var(--ml-ink);
}

body.theme-megaloja .fo-product-price,
body.theme-megaloja .fo-price-main,
body.theme-megaloja .product-thumb .price,
body.theme-megaloja .product-thumb .price-new {
  color: var(--ml-primary);
}

body.theme-megaloja .fo-product-price,
body.theme-megaloja .product-thumb .price,
body.theme-megaloja .product-thumb .price-new {
  font-size: 28px;
}

body.theme-megaloja .fo-pix-discount,
body.theme-megaloja .fo-pix-price {
  color: #a66300;
}

body.theme-megaloja .fo-btn-comprar,
body.theme-megaloja .fo-btn-add-to-cart,
body.theme-megaloja .product-thumb .button-group button:first-child,
body.theme-megaloja .fo-frete-btn,
body.theme-megaloja .fo-btn-checkout {
  background: linear-gradient(135deg, var(--ml-primary) 0%, #ff5315 100%);
  border: none;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 24px rgba(225,22,22,.22);
}

body.theme-megaloja .fo-btn-comprar:hover,
body.theme-megaloja .fo-btn-comprar:focus,
body.theme-megaloja .fo-btn-comprar:active,
body.theme-megaloja .fo-btn-add-to-cart:hover,
body.theme-megaloja .fo-btn-add-to-cart:focus,
body.theme-megaloja .fo-btn-add-to-cart:active,
body.theme-megaloja .product-thumb .button-group button:first-child:hover,
body.theme-megaloja .fo-frete-btn:hover,
body.theme-megaloja .fo-btn-checkout:hover {
  background: linear-gradient(135deg, var(--ml-primary-dark) 0%, var(--ml-primary) 100%) !important;
  color: #fff !important;
}

body.theme-megaloja .product-thumb .button-group {
  background: #fff8f2;
  border-top-color: #f1dfd5;
}

body.theme-megaloja .product-thumb .button-group button:not(:first-child) {
  background: #fff;
  color: #8e5e48;
}

body.theme-megaloja .product-thumb .button-group button:not(:first-child):hover {
  background: #fff1ec;
  color: var(--ml-primary);
}

body.theme-megaloja .fo-price-box {
  background: linear-gradient(135deg, #fff8eb 0%, #fff2f0 100%);
  border: 1px solid #ffd7b8;
  padding: 20px;
}

body.theme-megaloja .fo-meta-tag {
  background: #fff6f0;
  border: 1px solid #ffe1d4;
  border-radius: 999px;
  color: #7f5f52;
}

body.theme-megaloja .fo-meta-stock {
  background: #fff5d6;
  color: #9a6500;
  border-color: #ffe3a5;
}

body.theme-megaloja .fo-frete-clean {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
  max-width: 430px;
}

body.theme-megaloja .fo-frete-title,
body.theme-megaloja .fo-frete-title i {
  color: var(--ml-primary);
}

body.theme-megaloja .fo-frete-input,
body.theme-megaloja .fo-auth-form .form-control,
body.theme-megaloja .fo-qty-group,
body.theme-megaloja .fo-thumb,
body.theme-megaloja .fo-subcat-link,
body.theme-megaloja .fo-contact-card,
body.theme-megaloja .fo-checkout-step,
body.theme-megaloja .fo-cart-table .table,
body.theme-megaloja .table-bordered,
body.theme-megaloja .form-control {
  border-color: #f2d7cb;
  border-radius: 14px;
}

body.theme-megaloja .fo-thumb.active,
body.theme-megaloja .fo-thumb:hover {
  border-color: var(--ml-primary);
}

body.theme-megaloja .fo-thumb-prev,
body.theme-megaloja .fo-thumb-next,
body.theme-megaloja .fo-cart-btn,
body.theme-megaloja .fo-menu-mobile,
body.theme-megaloja .fo-step-head {
  background: linear-gradient(135deg, #d81818 0%, #ff5f14 100%);
  color: #fff;
}

body.theme-megaloja .fo-cart-count {
  background: linear-gradient(135deg, var(--ml-accent) 0%, var(--ml-accent-dark) 100%);
  color: #7a3f00;
  width: 22px;
  height: 22px;
  top: -7px;
  right: -7px;
}

body.theme-megaloja .fo-qty-group {
  overflow: hidden;
  border-width: 1px;
}

body.theme-megaloja .fo-qty-minus,
body.theme-megaloja .fo-qty-plus {
  background: #fff8f1;
  color: var(--ml-primary);
}

body.theme-megaloja .fo-qty-input {
  background: #fff;
  color: var(--ml-ink);
}

body.theme-megaloja .fo-tab-content,
body.theme-megaloja .fo-info-content {
  background: linear-gradient(180deg, #fff 0%, #fffbf9 100%);
}

body.theme-megaloja .fo-contact-card,
body.theme-megaloja .fo-hblock,
body.theme-megaloja .fo-subcat-link,
body.theme-megaloja .fo-order-summary,
body.theme-megaloja .fo-info-content,
body.theme-megaloja .fo-checkout-step {
  background: linear-gradient(180deg, #fff 0%, #fff8f3 100%);
}

body.theme-megaloja .fo-subcat-link:hover {
  background: linear-gradient(135deg, var(--ml-primary) 0%, #ff5316 100%);
  color: #fff;
}

body.theme-megaloja .fo-cart-table thead th {
  background: linear-gradient(135deg, #d81818 0%, #ff6418 100%);
}

body.theme-megaloja .fo-footer {
  background: linear-gradient(180deg, #742111 0%, #4d130a 100%);
  color: #ffe8d6;
}

body.theme-megaloja .fo-footer-main {
  padding: 46px 0 34px;
}

body.theme-megaloja .fo-footer h4 {
  color: #ffd15d;
}

body.theme-megaloja .fo-footer-list li,
body.theme-megaloja .fo-payment-line span,
body.theme-megaloja .fo-atendimento-footer p,
body.theme-megaloja .fo-footer-list a {
  color: #ffe8d6;
}

body.theme-megaloja .fo-footer-list a:hover {
  color: #fff7a5;
}

body.theme-megaloja .fo-footer-bottom {
  background: rgba(0,0,0,.16);
}

body.theme-megaloja .fo-footer-bottom p {
  color: #fff3d0;
}

body.theme-megaloja .fo-payment-line i,
body.theme-megaloja .fo-social-icon {
  color: #7a3f00;
  background: linear-gradient(135deg, #ffd43b 0%, #ffb300 100%);
}

body.theme-megaloja .ajax-search-results {
  border-radius: 20px;
  border-color: #ffdccc;
  box-shadow: 0 20px 34px rgba(85, 30, 10, .12);
  overflow: hidden;
}

body.theme-megaloja .ajax-search-item a:hover {
  background: #fff5ef;
}

body.theme-megaloja .pagination > .active > span,
body.theme-megaloja .pagination > .active > a,
body.theme-megaloja .pagination > .active > span:hover,
body.theme-megaloja .pagination > .active > a:hover,
body.theme-megaloja .pagination > .active > span:focus,
body.theme-megaloja .pagination > .active > a:focus {
  background-color: var(--ml-primary);
  border-color: var(--ml-primary);
}

body.theme-megaloja .btn-default,
body.theme-megaloja .btn-primary,
body.theme-megaloja .btn-danger,
body.theme-megaloja .btn-warning,
body.theme-megaloja .btn-info,
body.theme-megaloja .btn-success {
  border-radius: 999px;
}

@media (max-width: 991px) {
  body.theme-megaloja .fo-trust-strip {
    display: block;
  }

  body.theme-megaloja .fo-trust-row > [class*="col-"] {
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  body.theme-megaloja .fo-header {
    padding: 12px 0 14px;
  }

  body.theme-megaloja .fo-header-row {
    gap: 12px;
  }

  body.theme-megaloja .fo-logo-col,
  body.theme-megaloja .fo-actions-col,
  body.theme-megaloja .fo-search-col {
    text-align: center;
  }

  body.theme-megaloja .fo-actions-col {
    justify-content: center;
    gap: 12px;
  }

  body.theme-megaloja .fo-account-link {
    padding: 8px 14px;
  }

  body.theme-megaloja .fo-menu-mobile {
    border-radius: 16px;
    margin: 10px 0;
    text-align: center;
  }

  body.theme-megaloja .fo-menu {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(78, 24, 10, .10);
    margin-bottom: 12px;
  }

  body.theme-megaloja .fo-menu > li {
    border-top-color: #f5dfd6;
  }

  body.theme-megaloja .fo-trust-item {
    min-height: auto;
  }

  body.theme-megaloja .fo-product-title {
    font-size: 24px;
  }

  body.theme-megaloja .fo-price-main {
    font-size: 30px;
  }

  body.theme-megaloja .fo-frete-clean {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body.theme-megaloja .fo-search-input,
  body.theme-megaloja .fo-search-btn {
    height: 44px;
  }

  body.theme-megaloja .fo-product-price,
  body.theme-megaloja .product-thumb .price,
  body.theme-megaloja .product-thumb .price-new,
  body.theme-megaloja .fo-price-main {
    font-size: 24px;
  }

  body.theme-megaloja .fo-frete-form {
    flex-direction: column;
  }

  body.theme-megaloja .fo-frete-btn,
  body.theme-megaloja .fo-btn-add-to-cart,
  body.theme-megaloja .fo-btn-comprar {
    width: 100%;
  }

  body.theme-megaloja .fo-tabs > li {
    float: none;
    width: 100%;
  }

  body.theme-megaloja .fo-tabs > li > a {
    border-bottom: 1px solid #f3ddd2;
  }
}

/* ================================================================
   MEGALOJA PRO — refinamento visual mais sóbrio
   Menos saturação, hovers mais elegantes e dropdowns corrigidos.
   ================================================================ */
:root {
  --mlp-primary: #c62828;
  --mlp-primary-dark: #a91f1f;
  --mlp-accent: #d9a441;
  --mlp-ink: #1f2328;
  --mlp-text: #333840;
  --mlp-muted: #6f7782;
  --mlp-line: #e7e9ee;
  --mlp-surface: #ffffff;
  --mlp-surface-2: #f7f8fa;
  --mlp-hover: #f3f5f8;
  --mlp-shadow-sm: 0 6px 18px rgba(17, 24, 39, 0.06);
  --mlp-shadow-md: 0 14px 34px rgba(17, 24, 39, 0.10);
  --mlp-radius-xs: 4px;
  --mlp-radius-sm: 6px;
  --mlp-radius-md: 8px;
  --mlp-radius-lg: 10px;
}

body.theme-megaloja {
  background: #f5f6f8;
  color: var(--mlp-text);
}

body.theme-megaloja a {
  color: var(--mlp-primary);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.theme-megaloja a:hover,
body.theme-megaloja a:focus {
  color: var(--mlp-primary-dark);
}

body.theme-megaloja .fo-header {
  position: relative;
  z-index: 1200;
  background: #fff;
  border-bottom: 1px solid var(--mlp-line);
  box-shadow: 0 2px 12px rgba(17,24,39,.04);
  padding: 12px 0;
  backdrop-filter: none;
}

body.theme-megaloja .fo-header:before {
  height: 3px;
  background: linear-gradient(90deg, var(--mlp-primary) 0%, #e14b2d 55%, var(--mlp-accent) 100%);
}

body.theme-megaloja .fo-logo img {
  max-height: 58px;
}

body.theme-megaloja .fo-search .input-group {
  border: 1px solid #d9dde3;
  border-radius: var(--mlp-radius-md);
  background: #fff;
  box-shadow: none;
}

body.theme-megaloja .fo-search-input {
  height: 44px;
  padding-left: 14px;
  font-size: 14px;
  color: var(--mlp-ink);
}

body.theme-megaloja .fo-search-input::placeholder {
  color: #8b93a0;
}

body.theme-megaloja .fo-search-btn {
  height: 44px;
  width: 46px;
  margin: 0;
  border-radius: 0;
  background: var(--mlp-primary);
  box-shadow: none;
}

body.theme-megaloja .fo-search-btn:hover,
body.theme-megaloja .fo-search-btn:focus {
  background: var(--mlp-primary-dark);
}

body.theme-megaloja .fo-contact-link,
body.theme-megaloja .fo-account-link {
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius-sm);
  background: #fff;
  box-shadow: none;
}

body.theme-megaloja .fo-contact-link:hover,
body.theme-megaloja .fo-account-link:hover {
  border-color: #d3d8e0;
  background: var(--mlp-surface-2);
}

body.theme-megaloja .fo-contact-link i,
body.theme-megaloja .fo-account-link i,
body.theme-megaloja .fo-contact-title,
body.theme-megaloja .fo-auth-tab.active,
body.theme-megaloja .fo-page-title,
body.theme-megaloja .fo-section-title,
body.theme-megaloja .fo-product-title,
body.theme-megaloja .fo-brand,
body.theme-megaloja .fo-product-brand,
body.theme-megaloja .fo-spec-label,
body.theme-megaloja .fo-contact-box h4 {
  color: var(--mlp-ink);
}

body.theme-megaloja .fo-contact-label {
  color: var(--mlp-muted);
}

body.theme-megaloja .fo-account-panel,
body.theme-megaloja .fo-contact-box,
body.theme-megaloja .fo-info-content,
body.theme-megaloja .fo-checkout-step,
body.theme-megaloja .fo-tab-content,
body.theme-megaloja .fo-gallery-main,
body.theme-megaloja .fo-price-box,
body.theme-megaloja .fo-frete-clean,
body.theme-megaloja .fo-order-summary,
body.theme-megaloja .fo-subcat-link,
body.theme-megaloja .fo-hblock,
body.theme-megaloja .product-thumb,
body.theme-megaloja .fo-product-card,
body.theme-megaloja .fo-cart-dropdown,
body.theme-megaloja .ajax-search-results {
  background: #fff;
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius-md);
  box-shadow: var(--mlp-shadow-sm);
}

body.theme-megaloja .fo-account-panel,
body.theme-megaloja .fo-contact-menu,
body.theme-megaloja .fo-cart-widget .dropdown-menu,
body.theme-megaloja .fo-menu .dropdown-menu {
  z-index: 1300;
}

body.theme-megaloja .fo-nav {
  position: relative;
  z-index: 1100;
  background: #fff;
  border-bottom: 1px solid var(--mlp-line);
}

body.theme-megaloja .fo-menu {
  display: flex;
  align-items: stretch;
}

body.theme-megaloja .fo-menu > li {
  position: relative;
}

body.theme-megaloja .fo-menu > li > a {
  color: var(--mlp-text);
  font-weight: 600;
  letter-spacing: 0;
  padding: 15px 16px;
}

body.theme-megaloja .fo-menu > li > a::after {
  height: 2px;
  border-radius: 0;
  background: var(--mlp-primary);
}

body.theme-megaloja .fo-menu > li > a:hover,
body.theme-megaloja .fo-menu > li.open > a,
body.theme-megaloja .fo-menu > li.active > a {
  color: var(--mlp-primary);
  background: transparent;
}

body.theme-megaloja .fo-menu > li > .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 230px;
  margin-top: 0;
  padding: 8px 0;
  border: 1px solid var(--mlp-line);
  border-top: 2px solid var(--mlp-primary);
  border-radius: 0 0 var(--mlp-radius-md) var(--mlp-radius-md);
  box-shadow: var(--mlp-shadow-md);
  background: #fff;
}

body.theme-megaloja .fo-menu .dropdown-menu > li > a {
  padding: 10px 16px;
  color: var(--mlp-text);
}

body.theme-megaloja .fo-menu .dropdown-menu > li > a:hover,
body.theme-megaloja .fo-menu .dropdown-menu > li > a:focus {
  background: var(--mlp-hover);
  color: var(--mlp-primary);
}

body.theme-megaloja .fo-trust-strip {
  background: #fff;
  border-top: 1px solid var(--mlp-line);
  border-bottom: 1px solid var(--mlp-line);
  padding: 16px 0;
}

body.theme-megaloja .fo-trust-item {
  background: #fff;
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius-md);
  min-height: 78px;
  padding: 14px;
  box-shadow: none;
}

body.theme-megaloja .fo-trust-item i {
  color: var(--mlp-primary);
}

body.theme-megaloja .fo-trust-item strong {
  color: var(--mlp-ink);
}

body.theme-megaloja .fo-trust-item span {
  color: var(--mlp-muted);
}

body.theme-megaloja .fo-product-card,
body.theme-megaloja .product-thumb,
body.theme-megaloja .fo-contact-card,
body.theme-megaloja .fo-subcat-link,
body.theme-megaloja .fo-checkout-step,
body.theme-megaloja .fo-info-content,
body.theme-megaloja .fo-tab-content {
  background: #fff;
}

body.theme-megaloja .fo-product-card:hover,
body.theme-megaloja .product-thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--mlp-shadow-md);
}

body.theme-megaloja .fo-product-img-wrap,
body.theme-megaloja .product-thumb .image,
body.theme-megaloja .fo-gallery-main,
body.theme-megaloja .fo-price-box,
body.theme-megaloja .fo-frete-clean {
  background: #fff;
}

body.theme-megaloja .fo-badge-discount,
body.theme-megaloja .fo-badge-discount-large {
  background: var(--mlp-primary);
  border-radius: var(--mlp-radius-sm);
  box-shadow: none;
}

body.theme-megaloja .fo-badge-pix,
body.theme-megaloja .fo-badge-pix-large {
  background: #fff5df;
  color: #8b650f;
  border: 1px solid #efd28e;
  border-radius: var(--mlp-radius-sm);
  box-shadow: none;
}

body.theme-megaloja .fo-product-name a,
body.theme-megaloja .product-thumb h4 a {
  color: var(--mlp-ink);
}

body.theme-megaloja .fo-product-price,
body.theme-megaloja .fo-price-main,
body.theme-megaloja .product-thumb .price,
body.theme-megaloja .product-thumb .price-new {
  color: var(--mlp-primary);
}

body.theme-megaloja .fo-pix-discount,
body.theme-megaloja .fo-pix-price {
  color: #8b650f;
}

body.theme-megaloja .fo-btn-comprar,
body.theme-megaloja .fo-btn-add-to-cart,
body.theme-megaloja .product-thumb .button-group button:first-child,
body.theme-megaloja .fo-frete-btn,
body.theme-megaloja .fo-btn-checkout,
body.theme-megaloja #button-cart {
  background: var(--mlp-primary);
  border: 1px solid var(--mlp-primary);
  border-radius: var(--mlp-radius-sm);
  color: #fff;
  box-shadow: none;
}

body.theme-megaloja .fo-btn-comprar:hover,
body.theme-megaloja .fo-btn-comprar:focus,
body.theme-megaloja .fo-btn-comprar:active,
body.theme-megaloja .fo-btn-add-to-cart:hover,
body.theme-megaloja .fo-btn-add-to-cart:focus,
body.theme-megaloja .fo-btn-add-to-cart:active,
body.theme-megaloja .product-thumb .button-group button:first-child:hover,
body.theme-megaloja .product-thumb .button-group button:first-child:focus,
body.theme-megaloja .fo-frete-btn:hover,
body.theme-megaloja .fo-frete-btn:focus,
body.theme-megaloja .fo-btn-checkout:hover,
body.theme-megaloja .fo-btn-checkout:focus,
body.theme-megaloja #button-cart:hover,
body.theme-megaloja #button-cart:focus {
  background: var(--mlp-primary-dark) !important;
  border-color: var(--mlp-primary-dark) !important;
  color: #fff !important;
}

body.theme-megaloja .btn-default,
body.theme-megaloja .product-thumb .button-group button:not(:first-child),
body.theme-megaloja .fo-qty-minus,
body.theme-megaloja .fo-qty-plus {
  background: #fff;
  color: var(--mlp-text);
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius-sm);
}

body.theme-megaloja .btn-default:hover,
body.theme-megaloja .product-thumb .button-group button:not(:first-child):hover,
body.theme-megaloja .fo-qty-minus:hover,
body.theme-megaloja .fo-qty-plus:hover {
  background: var(--mlp-hover);
  color: var(--mlp-primary);
  border-color: #d5dae2;
}

body.theme-megaloja .fo-product-card .button-group,
body.theme-megaloja .product-thumb .button-group {
  background: #fff;
  border-top: 1px solid var(--mlp-line);
}

body.theme-megaloja .fo-meta-tag,
body.theme-megaloja .fo-meta-stock {
  background: #f8f9fb;
  border: 1px solid var(--mlp-line);
  border-radius: var(--mlp-radius-sm);
  color: var(--mlp-text);
}

body.theme-megaloja .fo-meta-stock {
  color: #276749;
  border-color: #cfe5d8;
  background: #f3fbf6;
}

body.theme-megaloja .fo-frete-title,
body.theme-megaloja .fo-frete-title i {
  color: var(--mlp-ink);
}

body.theme-megaloja .fo-frete-input,
body.theme-megaloja .fo-auth-form .form-control,
body.theme-megaloja .fo-qty-group,
body.theme-megaloja .fo-thumb,
body.theme-megaloja .fo-contact-card,
body.theme-megaloja .fo-cart-table .table,
body.theme-megaloja .table-bordered,
body.theme-megaloja .form-control {
  border-color: #d9dde3;
  border-radius: var(--mlp-radius-sm);
}

body.theme-megaloja .fo-thumb.active,
body.theme-megaloja .fo-thumb:hover {
  border-color: var(--mlp-primary);
}

body.theme-megaloja .fo-thumb-prev,
body.theme-megaloja .fo-thumb-next,
body.theme-megaloja .fo-cart-btn,
body.theme-megaloja .fo-menu-mobile,
body.theme-megaloja .fo-step-head,
body.theme-megaloja .fo-cart-table thead th {
  background: var(--mlp-ink);
  color: #fff;
}

body.theme-megaloja .fo-cart-btn:hover,
body.theme-megaloja .fo-menu-mobile:hover {
  background: #14181d;
}

body.theme-megaloja .fo-cart-count {
  background: var(--mlp-accent);
  color: #442b00;
  width: 20px;
  height: 20px;
  top: -6px;
  right: -6px;
}

body.theme-megaloja .fo-subcat-link:hover {
  background: var(--mlp-hover);
  color: var(--mlp-primary);
}

body.theme-megaloja .fo-footer {
  background: #171a1f;
  color: #c2c7d0;
}

body.theme-megaloja .fo-footer h4 {
  color: #fff;
}

body.theme-megaloja .fo-footer-list li,
body.theme-megaloja .fo-payment-line span,
body.theme-megaloja .fo-atendimento-footer p,
body.theme-megaloja .fo-footer-list a {
  color: #c2c7d0;
}

body.theme-megaloja .fo-footer-list a:hover {
  color: #fff;
}

body.theme-megaloja .fo-footer-bottom {
  background: #111418;
}

body.theme-megaloja .fo-footer-bottom p {
  color: #9aa3af;
}

body.theme-megaloja .fo-payment-line i,
body.theme-megaloja .fo-social-icon {
  color: #fff;
  background: var(--mlp-primary);
}

body.theme-megaloja .pagination > .active > span,
body.theme-megaloja .pagination > .active > a,
body.theme-megaloja .pagination > .active > span:hover,
body.theme-megaloja .pagination > .active > a:hover,
body.theme-megaloja .pagination > .active > span:focus,
body.theme-megaloja .pagination > .active > a:focus {
  background-color: var(--mlp-primary);
  border-color: var(--mlp-primary);
}

body.theme-megaloja .btn-default,
body.theme-megaloja .btn-primary,
body.theme-megaloja .btn-danger,
body.theme-megaloja .btn-warning,
body.theme-megaloja .btn-info,
body.theme-megaloja .btn-success {
  border-radius: var(--mlp-radius-sm);
}

@media (min-width: 768px) {
  body.theme-megaloja .navbar-nav > li > .dropdown-menu {
    display: none;
  }

  body.theme-megaloja .navbar-nav > li.open > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  body.theme-megaloja .fo-header {
    padding: 12px 0;
  }

  body.theme-megaloja .fo-menu-mobile {
    border-radius: var(--mlp-radius-sm);
    margin: 10px 0;
    text-align: center;
  }

  body.theme-megaloja .fo-menu {
    display: block;
    background: #fff;
    border: 1px solid var(--mlp-line);
    border-radius: var(--mlp-radius-md);
    overflow: hidden;
    box-shadow: var(--mlp-shadow-sm);
    margin-bottom: 12px;
  }

  body.theme-megaloja .fo-menu > li {
    border-top: 1px solid var(--mlp-line);
  }

  body.theme-megaloja .fo-menu > li:first-child {
    border-top: 0;
  }

  body.theme-megaloja .fo-menu > li > .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    border-radius: 0;
  }
}


/* ================================================================
   MEGALOJA V3 PRO REFINEMENT
   ================================================================ */
:root {
  --ml-accent: #cf2e2e;
  --ml-accent-strong: #b71f24;
  --ml-accent-soft: #fdf3f2;
  --ml-gold: #d9a11d;
  --ml-gold-soft: #fff8e8;
  --ml-ink: #24303d;
  --ml-muted: #6f7b88;
  --ml-line: #e5e8ec;
  --ml-bg: #f7f8fa;
  --ml-white: #ffffff;
  --ml-shadow: 0 10px 28px rgba(21, 31, 44, .08);
  --ml-shadow-soft: 0 6px 18px rgba(21, 31, 44, .06);
}
body.theme-megaloja {
  background: var(--ml-bg);
  color: var(--ml-ink);
}
a { color: var(--ml-accent); }
a:hover, a:focus { color: var(--ml-accent-strong); }
.fo-page, .product-layout, .information-contact, .account-login, .checkout-cart { background: transparent; }

/* Header */
.fo-header {
  background: var(--ml-white);
  border-bottom: 1px solid var(--ml-line);
  padding: 14px 0 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  position: relative;
  z-index: 30;
}
.fo-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ml-accent) 0%, #e45c1d 52%, var(--ml-gold) 100%);
}
.fo-header-row { align-items: center; }
.fo-logo img { max-height: 58px; }
.fo-search-col { padding: 0 14px; }
.fo-search .input-group {
  border: 1px solid #d7dde5;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.fo-search .input-group:focus-within {
  border-color: #c8ced7;
  box-shadow: 0 0 0 3px rgba(207,46,46,.08);
}
.fo-search-input {
  height: 46px;
  font-size: 14px;
  padding-left: 14px;
  color: var(--ml-ink);
}
.fo-search-input::placeholder { color: #98a2ad; }
.fo-search-btn {
  background: var(--ml-accent);
  width: 52px;
  height: 46px;
  border-left: 1px solid rgba(255,255,255,.08);
  transition: background .18s ease, transform .18s ease;
}
.fo-search-btn:hover, .fo-search-btn:focus { background: var(--ml-accent-strong); transform: none; }
.fo-contact-col { padding: 0 20px 0 0; justify-content: center; }
.fo-contact-dropdown, .fo-account-dropdown, .fo-cart-widget { position: relative; }
.fo-contact-link, .fo-account-link, .fo-cart-btn {
  min-height: 44px;
  border: 1px solid var(--ml-line);
  border-radius: 4px;
  background: #fff;
  color: var(--ml-ink);
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.fo-contact-link:hover, .fo-account-link:hover, .fo-cart-btn:hover, .fo-contact-link:focus, .fo-account-link:focus, .fo-cart-btn:focus, .open > .fo-cart-btn {
  background: #fff;
  border-color: #cfd5dc;
  box-shadow: var(--ml-shadow-soft);
  color: var(--ml-ink) !important;
}
.fo-contact-link {
  gap: 10px;
  padding: 7px 14px;
}
.fo-contact-link i {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ml-accent-soft);
  color: var(--ml-accent);
  font-size: 15px;
}
.fo-contact-label { font-size: 10px; color: var(--ml-muted); text-transform: uppercase; letter-spacing: .04em; }
.fo-contact-title { font-size: 15px; color: var(--ml-ink); font-weight: 700; line-height: 1.1; }
.fo-actions-col { gap: 8px; }
.fo-account-link {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
}
.fo-account-link i { color: var(--ml-accent); font-size: 17px; }
.fo-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  min-width: 58px;
}
.fo-cart-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ml-accent-soft);
  color: var(--ml-accent);
  font-size: 14px;
}
.fo-cart-count {
  position: static;
  background: transparent;
  color: var(--ml-ink);
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  line-height: 1.2;
  max-width: 94px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fo-account-panel, .fo-contact-menu, .fo-cart-dropdown {
  border: 1px solid var(--ml-line);
  border-radius: 4px;
  box-shadow: var(--ml-shadow);
  overflow: hidden;
  z-index: 9999;
}
.fo-contact-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 280px;
  background: #fff;
}
.fo-contact-dropdown:hover .fo-contact-menu { display: block; }
.fo-contact-box { padding: 18px; }
.fo-contact-box h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ml-accent); margin: 0 0 10px; }
.fo-contact-box p { color: var(--ml-muted); font-size: 13px; line-height: 1.55; margin: 0 0 8px; }
.fo-contact-box a { color: var(--ml-ink); font-weight: 600; }
.fo-auth-tabs { background: #fbfbfc; border-bottom: 1px solid var(--ml-line); }
.fo-auth-tab { font-weight: 700; }
.fo-auth-tab.active { color: var(--ml-accent); border-bottom-color: var(--ml-accent); }
.fo-auth-form .form-control { border-radius: 4px; border-color: #d8dde3; height: 40px; }
.fo-auth-form .form-control:focus { border-color: #c6ccd4; box-shadow: 0 0 0 3px rgba(207,46,46,.08); }
.fo-auth-link a { color: var(--ml-accent); }

/* Menu */
.fo-nav {
  background: #fff;
  border-bottom: 1px solid var(--ml-line);
  position: relative;
  z-index: 25;
}
.fo-nav .container, .navbar-collapse, .fo-menu, .fo-menu > li { overflow: visible !important; }
.fo-menu { gap: 2px; }
.fo-menu > li > a {
  color: #2f3a45;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 15px 16px;
}
.fo-menu > li > a::after { height: 2px; background: var(--ml-accent); }
.fo-menu > li > a:hover,
.fo-menu > li.open > a,
.fo-menu > li.active > a { color: var(--ml-accent); background: #fff; }
.fo-menu-departments > a {
  background: #faf7f1;
  color: var(--ml-ink) !important;
  border-right: 1px solid var(--ml-line);
}
.fo-menu-departments > a i { color: var(--ml-accent); margin-right: 6px; }
.fo-menu .dropdown-menu {
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px 0;
  margin-top: 0;
  border: 1px solid var(--ml-line);
  border-top: 2px solid var(--ml-accent);
  box-shadow: var(--ml-shadow);
  z-index: 9999;
}
.fo-menu .dropdown-menu > li > a {
  padding: 10px 16px;
  color: #394553;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.fo-menu .dropdown-menu > li > a:hover { background: #fcf5f4; color: var(--ml-accent); padding-left: 20px; }

/* Hero/trust/product */
.common-home .fo-banner-home, .common-home .swiper-viewport, .common-home .owl-carousel {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--ml-shadow-soft);
  background: #fff;
}
.fo-trust-strip {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: 18px 0 6px;
}
.fo-trust-item {
  background: #fff;
  border: 1px solid var(--ml-line);
  border-radius: 4px;
  padding: 14px 16px;
  min-height: 82px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(20,30,40,.03);
}
.fo-trust-item i { color: var(--ml-accent); font-size: 23px; }
.fo-trust-item strong { color: var(--ml-ink); font-size: 12px; }
.fo-trust-item span { color: var(--ml-muted); font-size: 12px; }
.fo-page-title, .fo-section-title, .fo-product-title, .fo-brand, .fo-product-brand, .fo-breadcrumb a, .fo-review-link, .fo-auth-link a { color: var(--ml-accent); }
.fo-page-title, .fo-section-title { border-bottom-color: #eadfcb; }
.fo-product-card, .fo-gallery-main, .fo-price-box, .fo-subcat-link, .fo-cart-dropdown { border-radius: 4px; }
.fo-product-card { border-color: var(--ml-line); box-shadow: 0 2px 8px rgba(25,36,47,.03); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.fo-product-card:hover { transform: translateY(-2px); box-shadow: var(--ml-shadow-soft); border-color: #d8dde3; }
.fo-product-name a { color: var(--ml-ink); }
.fo-product-name a:hover { color: var(--ml-accent); }
.fo-product-price, .fo-price-main { color: var(--ml-accent-strong); }
.fo-btn-comprar, .fo-btn-checkout {
  background: var(--ml-accent);
  border-color: var(--ml-accent);
  border-radius: 4px;
  letter-spacing: .02em;
}
.fo-btn-comprar:hover, .fo-btn-comprar:focus, .fo-btn-comprar:active, .fo-btn-checkout:hover {
  background: var(--ml-accent-strong) !important;
  border-color: var(--ml-accent-strong) !important;
}
.fo-subcat-link { background: #fff; color: #36414c; border-color: var(--ml-line); }
.fo-subcat-link:hover { background: #fcf5f4; color: var(--ml-accent); border-color: #ebd2d2; }
.fo-badge-discount, .fo-badge-discount-large { background: var(--ml-accent); border-radius: 3px; }
.fo-badge-pix, .fo-badge-pix-large { background: #2f8a57; border-radius: 3px; }
.fo-price-box { background: #fff; border: 1px solid #eadfcb; box-shadow: 0 2px 12px rgba(24,30,38,.04); }
.fo-thumb.active, .fo-thumb:hover { border-color: var(--ml-accent); }
.fo-thumb-prev, .fo-thumb-next, .fo-zoom-icon { background: rgba(36,48,61,.9); }

/* Footer */
.fo-footer { background: #232b34; color: #c2cad3; }
.fo-footer h4, .fo-footer a:hover, .fo-social-footer a:hover { color: #fff; }
.fo-footer-list li, .fo-atendimento-footer p, .fo-footer-list a { color: #c2cad3; }
.fo-social-footer a { background: rgba(255,255,255,.08); }
.fo-social-footer a:hover { background: var(--ml-accent); }
.fo-footer-bottom { background: #1c232b; }
.fo-footer-bottom p { color: #93a0ad; }

/* Ajax search */
.ajax-search-results {
  border: 1px solid var(--ml-line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--ml-shadow);
}
.ajax-search-item a:hover { background: #fcf5f4; }
.ajax-search-name { color: var(--ml-ink); }
.ajax-search-price, .ajax-search-price .price-new { color: var(--ml-accent-strong); }

/* Mobile */
@media (max-width: 767px) {
  .fo-header { padding: 10px 0 12px; }
  .fo-logo-col { justify-content: center; margin-bottom: 10px; }
  .fo-logo img { max-height: 54px; }
  .fo-search-col { order: 3; width: 100%; padding: 8px 15px 0; }
  .fo-actions-col { justify-content: center; margin-top: 8px; }
  .fo-contact-col { display: none !important; }
  .fo-account-link span, .fo-cart-count { font-size: 11px; max-width: 70px; }
  .fo-menu-mobile {
    display: block;
    padding: 14px 15px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ml-ink);
    background: #faf7f1;
    border-top: 1px solid var(--ml-line);
  }
  .fo-menu > li > a { padding: 13px 15px; }
  .fo-menu > li { border-top: 1px solid var(--ml-line); }
  .fo-menu .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--ml-line);
    width: 100%;
  }
}


/* === megaloja v3.1 refinements === */

body.theme-megaloja .fo-contact-col,
body.theme-megaloja .fo-account-col,
body.theme-megaloja .fo-cart-col { display:flex; align-items:center; justify-content:center; }
body.theme-megaloja .fo-contact-link,
body.theme-megaloja .fo-account-link,
body.theme-megaloja .fo-cart-btn {
  width:100%;
  min-height:48px;
  padding:10px 16px;
  justify-content:flex-start;
}
body.theme-megaloja .fo-account-link,
body.theme-megaloja .fo-cart-btn { min-width:100%; }
body.theme-megaloja .fo-account-link span,
body.theme-megaloja .fo-cart-text-wrap { display:flex; flex-direction:column; line-height:1.1; }
body.theme-megaloja .fo-cart-text-wrap { min-width:0; }
body.theme-megaloja .fo-cart-label {
  font-size:10px;
  color:var(--ml-muted);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:700;
}
body.theme-megaloja .fo-cart-count {
  max-width:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:15px;
  font-weight:700;
  color:var(--ml-ink);
}
body.theme-megaloja .fo-cart-btn .fo-cart-icon,
body.theme-megaloja .fo-account-link i,
body.theme-megaloja .fo-contact-link i {
  flex:0 0 32px;
}
body.theme-megaloja .fo-actions-col { gap:0; }
body.theme-megaloja .fo-nav .navbar-header .fo-menu-mobile { text-transform:none; }
body.theme-megaloja .fo-menu-home > a i { margin-right:10px !important; }
body.theme-megaloja .fo-menu-home > a span { display:inline-block; }
body.theme-megaloja .fo-menu-home > a,
body.theme-megaloja .fo-menu > li > a { display:flex; align-items:center; }
body.theme-megaloja .fo-menu .dropdown-menu { margin-top:0; }
body.theme-megaloja .fo-badge-pix,
body.theme-megaloja .fo-badge-pix-large {
  background:#fff4db !important;
  color:#8d5a00 !important;
  border:1px solid #f0d796;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
body.theme-megaloja .fo-badge-pix i,
body.theme-megaloja .fo-badge-pix-large i { color:var(--ml-accent) !important; }
body.theme-megaloja .fo-tabs > li > a,
body.theme-megaloja .fo-tabs > li.active > a,
body.theme-megaloja .fo-tabs > li.active > a:hover,
body.theme-megaloja .fo-tabs > li.active > a:focus,
body.theme-megaloja .fo-tabs > li > a:hover,
body.theme-megaloja .fo-section-title,
body.theme-megaloja .fo-page-title,
body.theme-megaloja .fo-product-title,
body.theme-megaloja .fo-breadcrumb a,
body.theme-megaloja .fo-review-link,
body.theme-megaloja .fo-spec-label,
body.theme-megaloja .fo-brand,
body.theme-megaloja .fo-product-brand,
body.theme-megaloja .fo-auth-link a {
  color:var(--ml-accent-strong) !important;
}
body.theme-megaloja .fo-tabs { border-bottom-color:var(--ml-accent) !important; }
body.theme-megaloja .fo-tabs > li.active > a,
body.theme-megaloja .fo-tabs > li.active > a:hover,
body.theme-megaloja .fo-tabs > li.active > a:focus {
  border-bottom-color:var(--ml-accent) !important;
}
body.theme-megaloja .fo-tabs > li > a:hover { background:#fdf6f4 !important; }
body.theme-megaloja .fo-product-main > .fo-product-gallery-col { width:58.33333333%; }
body.theme-megaloja .fo-product-main > .fo-product-info-col { width:41.66666667%; }
body.theme-megaloja .fo-product-info { padding-left:0 !important; }
body.theme-megaloja .fo-gallery-main { min-height:540px; display:flex; align-items:center; justify-content:center; }
body.theme-megaloja .fo-gallery-main img { max-height:500px; width:auto; margin:0 auto; }
body.theme-megaloja .fo-price-box,
body.theme-megaloja .fo-frete-clean,
body.theme-megaloja .fo-btn-add-to-cart { width:100%; }
body.theme-megaloja .fo-product-info-col .fo-price-box { margin-bottom:18px; }
@media (max-width: 991px) {
  body.theme-megaloja .fo-contact-link,
  body.theme-megaloja .fo-account-link,
  body.theme-megaloja .fo-cart-btn { min-height:46px; padding:10px 12px; }
  body.theme-megaloja .fo-cart-label { font-size:9px; }
  body.theme-megaloja .fo-cart-count { font-size:13px; }
}
@media (max-width: 767px) {
  body.theme-megaloja .fo-cart-col,
  body.theme-megaloja .fo-account-col { display:flex; }
  body.theme-megaloja .fo-account-link,
  body.theme-megaloja .fo-cart-btn { justify-content:center; }
  body.theme-megaloja .fo-cart-text-wrap,
  body.theme-megaloja .fo-account-link span { align-items:center; }
  body.theme-megaloja .fo-product-main > .fo-product-gallery-col,
  body.theme-megaloja .fo-product-main > .fo-product-info-col { width:100%; }
  body.theme-megaloja .fo-gallery-main { min-height:auto; }
  body.theme-megaloja .fo-gallery-main img { max-height:380px; }
}


/* === megaloja v3.2 checkout/header/product refinements === */
body.theme-megaloja .fo-contact-link,
body.theme-megaloja .fo-account-link,
body.theme-megaloja .fo-cart-btn {
  background:#fff !important;
  border:1px solid #d9dee5 !important;
  color:var(--ml-ink) !important;
  box-shadow:none;
}
body.theme-megaloja .fo-contact-link:hover,
body.theme-megaloja .fo-account-link:hover,
body.theme-megaloja .fo-cart-btn:hover,
body.theme-megaloja .fo-contact-link:focus,
body.theme-megaloja .fo-account-link:focus,
body.theme-megaloja .fo-cart-btn:focus,
body.theme-megaloja .open > .fo-cart-btn {
  background:#fff9f3 !important;
  border-color:#e1c899 !important;
  color:var(--ml-ink) !important;
}
body.theme-megaloja .fo-cart-btn {
  display:flex;
  align-items:center;
  gap:12px;
}
body.theme-megaloja .fo-cart-btn .fo-cart-text-wrap {
  flex:1 1 auto;
  min-width:0;
  align-items:flex-start;
}
body.theme-megaloja .fo-cart-label {
  font-size:11px;
  color:#6f7a86 !important;
}
body.theme-megaloja .fo-cart-count {
  position:static !important;
  width:auto !important;
  height:auto !important;
  border-radius:0 !important;
  background:transparent !important;
  color:var(--ml-ink) !important;
  display:block !important;
  font-size:12px !important;
  line-height:1.25 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  padding:0 !important;
  margin:0 !important;
  max-width:none !important;
}
body.theme-megaloja .fo-cart-caret {
  flex:0 0 auto;
  color:#7b8794;
  font-size:18px;
}
body.theme-megaloja .fo-payment-line span,
body.theme-megaloja #tab-pagamento span,
body.theme-megaloja #tab-pagamento strong {
  color:#394553 !important;
}
body.theme-megaloja .fo-product-info-col .fo-price-box,
body.theme-megaloja .fo-product-info-col .fo-frete-clean {
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box;
}
body.theme-megaloja .fo-buy-row {
  display:flex;
  align-items:flex-end;
  gap:14px;
  width:100%;
}
body.theme-megaloja .fo-buy-row .fo-qty-section {
  flex:0 0 150px;
  margin-bottom:0;
}
body.theme-megaloja .fo-buy-row .fo-btn-add-to-cart {
  flex:1 1 auto;
  width:auto !important;
  margin:0;
}
body.theme-megaloja .fo-btn-add-to-cart {
  min-height:54px;
  border-radius:4px !important;
  background:#2f9e44 !important;
  border:1px solid #237535 !important;
  border-bottom:4px solid #1d612b !important;
  color:#fff !important;
  font-weight:800;
  letter-spacing:.02em;
  box-shadow:0 6px 14px rgba(47,158,68,.16);
  transition:transform .06s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
body.theme-megaloja .fo-btn-add-to-cart:hover,
body.theme-megaloja .fo-btn-add-to-cart:focus {
  background:#2a8f3d !important;
  border-color:#206a30 !important;
  border-bottom-color:#195226 !important;
  color:#fff !important;
  transform:translateY(-1px);
}
body.theme-megaloja .fo-btn-add-to-cart:active,
body.theme-megaloja .fo-btn-add-to-cart.is-loading {
  transform:translateY(2px) !important;
  border-bottom-width:2px !important;
  box-shadow:0 2px 6px rgba(47,158,68,.14) !important;
}
body.theme-megaloja .fo-btn-add-to-cart.is-loading,
body.theme-megaloja .fo-btn-add-to-cart[disabled] {
  pointer-events:none;
  opacity:1;
}
body.theme-megaloja .fo-btn-add-to-cart.is-loading .btn-text:before {
  content:'\f110';
  font-family:'FontAwesome';
  display:inline-block;
  margin-right:8px;
  animation:fa-spin 1s infinite linear;
}
@media (max-width: 767px) {
  body.theme-megaloja .fo-buy-row {
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  body.theme-megaloja .fo-buy-row .fo-qty-section {
    flex:1 1 auto;
    width:100%;
  }
  body.theme-megaloja .fo-buy-row .fo-btn-add-to-cart {
    width:100% !important;
  }
  body.theme-megaloja .fo-cart-btn {
    min-height:48px;
  }
  body.theme-megaloja .fo-cart-count {
    font-size:11px !important;
  }
}

/* PADRÃO ÚNICO PARA HEADER ACTIONS */
.fo-contact-link,
.fo-account-link,
.fo-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  height: 44px;           /* 👈 altura padrão */
  padding: 0 14px;        /* largura interna */
  
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;

  line-height: 1;
}

/* garante que o carrinho não fique "menor" */
.fo-cart-btn {
  min-width: 140px; /* ajuste fino se quiser */
}


/* GRID MAIS ESTÁVEL PARA OS CARDS */
.fo-products-row {
  display: flex;
  flex-wrap: wrap;
}

.fo-products-row > [class*="col-"] {
  display: flex;
}

/* CARD */
.fo-product-card,
.product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* ÁREA DA IMAGEM FIXA E CORPO FLEXÍVEL */
.fo-product-img-wrap,
.product-thumb .image {
  flex-shrink: 0;
}

/* CORPO DO CARD */
.fo-product-body,
.product-thumb .caption {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* NOME DO PRODUTO COM ALTURA CONTROLADA */
.fo-product-name,
.product-thumb h4 {
  line-height: 1.35;
  min-height: 56px;
  margin-bottom: 8px;
}

/* EMPURRA PREÇO/BOTÃO PARA BAIXO */
.fo-product-price-old,
.fo-product-price,
.fo-pix-discount,
.fo-installments,
.product-thumb .price,
.product-thumb .price-tax,
.product-thumb .button-group,
.fo-btn-comprar {
  margin-top: auto;
}

/* =========================================================
   OVERRIDE FINAL — APENAS MOBILE SMARTPHONE
   Não mexe no desktop
   ========================================================= */
@media (max-width: 768px) {

  /* volta o header para grid/bootstrap no mobile */
  body.theme-megaloja .fo-header-row {
    display: block !important;
  }

  body.theme-megaloja .fo-header-row > [class*="col-"] {
    float: left !important;
  }

  /* logo em cima */
  body.theme-megaloja .fo-logo-col {
    width: 100% !important;
    text-align: center !important;
    clear: both !important;
    margin-bottom: 12px !important;
  }

  /* conta e carrinho lado a lado */
  body.theme-megaloja .fo-account-col,
  body.theme-megaloja .fo-cart-col {
    width: 50% !important;
    min-height: 1px !important;
    margin: 0 !important;
  }

  body.theme-megaloja .fo-account-col {
    clear: both !important;
    text-align: left !important;
  }

  body.theme-megaloja .fo-cart-col {
    text-align: right !important;
  }

  /* neutraliza as tentativas anteriores de flex só no mobile */
  body.theme-megaloja .fo-actions-col {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    justify-content: initial !important;
    align-items: initial !important;
    gap: 0 !important;
    text-align: inherit !important;
  }

  body.theme-megaloja .fo-account-dropdown,
  body.theme-megaloja .fo-cart-widget,
  body.theme-megaloja .fo-cart-col #cart,
  body.theme-megaloja .fo-cart-col .btn-group {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  body.theme-megaloja .fo-account-link,
  body.theme-megaloja .fo-cart-btn,
  body.theme-megaloja .fo-cart-col #cart > button,
  body.theme-megaloja .fo-cart-col #cart .dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 14px !important;
    margin: 0 !important;
  }

  /* busca abaixo */
  body.theme-megaloja .fo-search-col {
    clear: both !important;
    width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 420px) {
  body.theme-megaloja .fo-account-link,
  body.theme-megaloja .fo-cart-btn,
  body.theme-megaloja .fo-cart-col #cart > button,
  body.theme-megaloja .fo-cart-col #cart .dropdown-toggle {
    font-size: 12px !important;
    padding: 0 10px !important;
  }
}

/* =========================================================
   CEP MOBILE — INPUT EM LINHA PRÓPRIA E LARGURA TOTAL
   ========================================================= */
@media (max-width: 768px) {
  body.theme-megaloja .fo-frete-form {
    display: block !important;
    width: 100% !important;
  }

  body.theme-megaloja .fo-frete-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 10px 0 !important;
  }

  body.theme-megaloja .fo-frete-btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   FOOTER — CORREÇÃO DE CONTRASTE MOBILE
   ========================================================= */
body.theme-megaloja footer,
body.theme-megaloja .fo-footer {
  background: #0f1720 !important; /* fundo mais consistente */
}

body.theme-megaloja footer *,
body.theme-megaloja .fo-footer * {
  color: #e5e7eb !important; /* texto claro */
}

/* títulos */
body.theme-megaloja footer h1,
body.theme-megaloja footer h2,
body.theme-megaloja footer h3,
body.theme-megaloja footer h4,
body.theme-megaloja .fo-footer h1,
body.theme-megaloja .fo-footer h2,
body.theme-megaloja .fo-footer h3,
body.theme-megaloja .fo-footer h4 {
  color: #ffffff !important;
  font-weight: 600;
}

/* links */
body.theme-megaloja footer a,
body.theme-megaloja .fo-footer a {
  color: #cbd5e1 !important;
}

body.theme-megaloja footer a:hover,
body.theme-megaloja .fo-footer a:hover {
  color: #ffffff !important;
}

/* destaques tipo PIX / pagamento */
body.theme-megaloja footer .highlight,
body.theme-megaloja .fo-footer .highlight {
  color: #22c55e !important; /* verde destaque */
}

/* rodapé inferior (CNPJ etc) */
body.theme-megaloja footer .copyright,
body.theme-megaloja footer .fo-footer-bottom,
body.theme-megaloja .fo-footer-bottom {
  color: #94a3b8 !important;
  font-size: 12px;
  text-align: center;
}

/* =========================================================
   RODAPÉ — PAGAMENTOS LEGÍVEIS
   ========================================================= */
body.theme-megaloja .fo-footer .fo-payment-line,
body.theme-megaloja .fo-footer .fo-payment-line * {
  color: #f3f4f6 !important;
}

body.theme-megaloja .fo-footer .fo-payment-line i,
body.theme-megaloja .fo-footer .fo-payment-line .fa,
body.theme-megaloja .fo-footer .fo-payment-line svg {
  color: #ff5a3c !important;
  fill: #ff5a3c !important;
}

body.theme-megaloja .fo-footer .fo-payment-line strong,
body.theme-megaloja .fo-footer .fo-payment-line b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.theme-megaloja .fo-footer .fo-payment-texts,
body.theme-megaloja .fo-footer .fo-payment-texts span,
body.theme-megaloja .fo-footer .fo-payment-texts small,
body.theme-megaloja .fo-footer .fo-payment-texts a {
  color: #f3f4f6 !important;
}