/* Home: o cabeçalho pertence visualmente ao banner; a faixa continua nativa. */
body.template-home .head-main.wim-hero-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1040;
  margin-bottom: calc(-1 * var(--wim-header-height, 0px)) !important;
  background: linear-gradient(180deg, rgba(9, 20, 38, .56), rgba(9, 20, 38, 0)) !important;
  box-shadow: none !important;
}
body.template-home [data-store="home-banner-news"] {
  padding: 0 !important;
  background: #373b40;
}
/* O fundo da categoria acompanha o fundo normal da loja. */
body.template-home [data-store="home-banner-categories"] {
  background: #f2f1ed !important;
}
body.template-home .section-adbar.wim-below-hero,
body.template-home .section-adbar.wim-below-hero .swiper-slide {
  background: #373b40 !important;
  color: #fff !important;
}
body.template-home .section-adbar.wim-below-hero { position: relative; z-index: 2; }
/* O box do Swiper e centrado; a fonte precisa de ajuste optico de 2px. */
body.template-home .section-adbar.wim-below-hero .swiper-slide {
  position: relative;
  top: -2px;
}
@media (min-width: 768px) {
  body.template-home .head-main.wim-hero-header .js-head-logo-row {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }
  body.template-home .head-main.wim-hero-header .logo-img {
    height: 64px !important;
    width: auto !important;
  }
  body.template-home .head-main.wim-hero-header .js-nav-desktop-list {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
  body.template-home [data-store="home-banner-news"] .js-textbanner-image-container {
    overflow: hidden !important;
  }
  body.template-home [data-store="home-banner-news"] .js-textbanner-image {
    width: 100% !important;
    max-width: none !important;
    height: 48vw !important;
    object-fit: fill !important;
    object-position: center center !important;
  }
}
@media (max-width: 767px) {
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero .js-textbanner-image-container {
    display: block !important;
    overflow: hidden !important;
  }
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero .js-textbanner-image-container::before,
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero .js-textbanner-image-container::after {
    content: "";
    display: block;
    height: 67vw;
    max-height: 280px;
    background-image: var(--wim-banner-image);
    background-repeat: no-repeat;
    background-size: 200% auto;
  }
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero .js-textbanner-image-container::before {
    background-position: 50% center;
  }
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero .js-textbanner-image-container::after {
    background-color: #101a2d;
    background-position: calc(100% - 78px) center;
  }
  body.template-home [data-store="home-banner-news"] .wim-mobile-hero img {
    display: none !important;
  }
}
body.template-home .head-main.wim-hero-header .logo-img { filter: brightness(0) invert(1); }
body.template-home .head-main.wim-hero-header .nav-list-link,
body.template-home .head-main.wim-hero-header .btn-utility,
body.template-home .head-main.wim-hero-header .utilities-icon {
  color: #fff !important;
  fill: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}
@media (hover: hover) and (pointer: fine) {
  body.template-home .head-main.wim-hero-header:hover { background: #f2f1ed !important; }
  body.template-home .head-main.wim-hero-header:hover .logo-img { filter: none; }
  body.template-home .head-main.wim-hero-header:hover .nav-list-link,
  body.template-home .head-main.wim-hero-header:hover .btn-utility,
  body.template-home .head-main.wim-hero-header:hover .utilities-icon {
    color: #6a6060 !important;
    fill: #6a6060 !important;
    text-shadow: none;
  }
}
body.template-home .head-main.wim-hero-header:focus-within,
body.template-home .head-main.wim-hero-header.wim-header-scrolled { background: #f2f1ed !important; }
body.template-home .head-main.wim-hero-header:focus-within .logo-img,
body.template-home .head-main.wim-hero-header.wim-header-scrolled .logo-img { filter: none; }
body.template-home .head-main.wim-hero-header:focus-within .nav-list-link,
body.template-home .head-main.wim-hero-header:focus-within .btn-utility,
body.template-home .head-main.wim-hero-header:focus-within .utilities-icon,
body.template-home .head-main.wim-hero-header.wim-header-scrolled .nav-list-link,
body.template-home .head-main.wim-hero-header.wim-header-scrolled .btn-utility,
body.template-home .head-main.wim-hero-header.wim-header-scrolled .utilities-icon {
  color: #6a6060 !important;
  fill: #6a6060 !important;
  text-shadow: none;
}

/* A resposta indica que o texto inteiro abre o atendimento por WhatsApp. */
#wim-product-help[data-wim-refined="true"] {
  text-decoration: none !important;
  font-weight: 700 !important;
}
#wim-product-help[data-wim-refined="true"] strong { font-weight: 700; }
#wim-product-help[data-wim-refined="true"] span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
