/* SW Film Premium v1.6.3. Estilo inspirado na BARRA FLUTUANTE
   de referência: identidade e navegação originais SW Film preservadas. */

/* Barra branca arredondada sobre o banner, também usada nas páginas da loja. */
.swfp-site.swfp-v163 .swfp-header {
  z-index: 120 !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  background: transparent !important;
}
.swfp-site.swfp-v163.swfp-home-v161 .swfp-header {
  position: absolute !important;
  top: 0 !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  background: transparent !important;
}
.swfp-site.swfp-v163:not(.swfp-home-v161) .swfp-header {
  position: sticky !important;
  top: 0 !important;
  background: #eff2f4 !important;
  padding-bottom: 14px !important;
}
.swfp-site.swfp-v163 .swfp-header-inner {
  box-sizing: border-box !important;
  position: relative !important;
  width: min(1420px, calc(100% - 72px)) !important;
  max-width: 1420px !important;
  height: 90px !important;
  min-height: 90px !important;
  margin: 16px auto 0 !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(12px, 1.4vw, 23px) !important;
  border-radius: 22px !important;
  border: 1px solid rgba(222, 226, 229, .88) !important;
  background: #f9f8f6 !important;
  box-shadow: 0 18px 45px rgba(1, 12, 24, .28) !important;
  overflow: visible !important;
}
.swfp-site.swfp-v163 .swfp-header .swfp-logo {
  min-width: 0 !important;
  flex: 0 0 auto !important;
}
.swfp-site.swfp-v163 .swfp-header .swfp-official-logo {
  display: block !important;
  width: 215px !important;
  max-width: 215px !important;
  max-height: 75px !important;
  object-fit: contain !important;
}
.swfp-site.swfp-v163 .swfp-nav {
  margin-left: auto !important;
  gap: clamp(14px, 1.5vw, 23px) !important;
}
.swfp-site.swfp-v163.swfp-home-v161 .swfp-nav > a,
.swfp-site.swfp-v163.swfp-home-v161 .swfp-products-menu > summary,
.swfp-site.swfp-v163 .swfp-nav > a,
.swfp-site.swfp-v163 .swfp-products-menu > summary {
  color: #17212e !important;
  -webkit-text-fill-color: #17212e !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .015em !important;
}
.swfp-site.swfp-v163 .swfp-nav > a::after,
.swfp-site.swfp-v163 .swfp-products-menu > summary::after {
  background: var(--sw-red) !important;
}
.swfp-site.swfp-v163.swfp-home-v161 .swfp-store-actions > a,
.swfp-site.swfp-v163 .swfp-store-actions > a {
  color: #1f3245 !important;
  -webkit-text-fill-color: #1f3245 !important;
  background: #fff !important;
  border-color: #dce2e8 !important;
  box-shadow: none !important;
}
.swfp-site.swfp-v163 .swfp-header-cta {
  min-height: 46px !important;
  padding: 0 22px !important;
  background: #101318 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.swfp-site.swfp-v163 .swfp-header-cta:hover {
  background: #282d34 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.swfp-site.swfp-v163 .swfp-products-dropdown {
  top: calc(100% + 14px) !important;
}

/* Texto do hero sem os botões de ação e sem os pequenos chips. */
.swfp-site.swfp-v163.swfp-home-v161 .swfp-hero-v2 h1 {
  max-width: 730px !important;
  font-weight: 950 !important;
  letter-spacing: -.047em !important;
  text-wrap: balance;
}
.swfp-site.swfp-v163.swfp-home-v161 .swfp-hero-v2-grid {
  padding-top: 162px !important;
}
.swfp-site.swfp-v163.swfp-home-v161 .swfp-hero-v2 .swfp-hero-copy > p {
  max-width: 580px !important;
  margin-bottom: 0 !important;
}

/* Seis categorias: três por linha no desktop, duas no tablet e uma no celular. */
.swfp-site.swfp-v163 .swfp-category-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}
.swfp-site.swfp-v163 .swfp-category-card-v160 {
  height: 100% !important;
}
.swfp-site.swfp-v163 .swfp-category-card-image {
  height: 225px !important;
}
.swfp-site.swfp-v163 .swfp-category-car .swfp-category-card-image img {
  object-position: center 56% !important;
}
.swfp-site.swfp-v163 .swfp-category-decor .swfp-category-card-image img {
  object-position: center 50% !important;
}
.swfp-site.swfp-v163 .swfp-category-ppf .swfp-category-card-image img {
  object-position: center 55% !important;
}
.swfp-site.swfp-v163 .swfp-category-card-body {
  min-height: 170px !important;
}

/* Cabeçalhos e descrições na mesma coluna, centralizados. */
.swfp-site.swfp-v163.swfp-home-v161 .swfp-simulators .swfp-section-head,
.swfp-site.swfp-v163.swfp-home-v161 .swfp-solutions-v160 .swfp-section-head {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 13px !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.swfp-site.swfp-v163 .swfp-simulators .swfp-section-head > div,
.swfp-site.swfp-v163 .swfp-solutions-v160 .swfp-section-head > div {
  width: 100%;
  max-width: 980px;
  text-align: center !important;
}
.swfp-site.swfp-v163 .swfp-simulators .swfp-section-head .swfp-kicker,
.swfp-site.swfp-v163 .swfp-solutions-v160 .swfp-section-head .swfp-kicker {
  justify-content: center !important;
}
.swfp-site.swfp-v163 .swfp-simulators .swfp-section-head h2,
.swfp-site.swfp-v163 .swfp-solutions-v160 .swfp-section-head h2 {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  text-wrap: balance;
}
.swfp-site.swfp-v163 .swfp-simulators .swfp-section-head p,
.swfp-site.swfp-v163 .swfp-solutions-v160 .swfp-section-head p {
  max-width: 670px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

@media (min-width: 901px) {
  /* A chamada para atendimento faz parte da barra no desktop. */
  .swfp-site.swfp-v163 .swfp-header-cta {
    display: inline-flex !important;
    flex: 0 0 auto !important;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .swfp-site.swfp-v163 .swfp-header-inner {
    width: calc(100% - 40px) !important;
    padding: 0 18px !important;
    gap: 12px !important;
  }
  .swfp-site.swfp-v163 .swfp-header .swfp-official-logo {
    width: 185px !important;
    max-width: 185px !important;
  }
  .swfp-site.swfp-v163 .swfp-nav {
    gap: 14px !important;
  }
}
@media (max-width: 900px) {
  .swfp-site.swfp-v163 .swfp-header-inner {
    width: calc(100% - 28px) !important;
    height: 77px !important;
    min-height: 77px !important;
    margin-top: 12px !important;
    padding: 0 17px !important;
    border-radius: 18px !important;
    gap: 10px !important;
  }
  .swfp-site.swfp-v163 .swfp-header .swfp-official-logo {
    width: 175px !important;
    max-width: 175px !important;
    max-height: 61px !important;
  }
  .swfp-site.swfp-v163.swfp-home-v161 .swfp-menu-btn,
  .swfp-site.swfp-v163 .swfp-menu-btn {
    display: grid !important;
    color: #142b40 !important;
    -webkit-text-fill-color: #142b40 !important;
    place-items: center !important;
    font-size: 24px !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    margin-left: auto !important;
  }
  .swfp-site.swfp-v163 .swfp-nav {
    position: absolute !important;
    inset: auto 0 auto 0 !important;
    top: calc(100% + 9px) !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    max-height: calc(100dvh - 115px) !important;
    overflow-y: auto !important;
    background: #fff !important;
    border: 1px solid #dfe5eb !important;
    border-radius: 17px !important;
    box-shadow: 0 23px 52px rgba(6, 29, 55, .25) !important;
    padding: 12px !important;
    z-index: 130 !important;
  }
  .swfp-site.swfp-v163 .swfp-nav:not(.is-open) { display: none !important; }
  .swfp-site.swfp-v163 .swfp-nav.is-open { display: block !important; }
  .swfp-site.swfp-v163 .swfp-category-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .swfp-site.swfp-v163 .swfp-category-card-image { height: 205px !important; }
}
@media (max-width: 700px) {
  .swfp-site.swfp-v163 .swfp-header-inner {
    width: calc(100% - 22px) !important;
    height: 70px !important;
    min-height: 70px !important;
    padding: 0 12px !important;
    border-radius: 16px !important;
    gap: 8px !important;
  }
  .swfp-site.swfp-v163 .swfp-header .swfp-logo { max-width: 142px !important; }
  .swfp-site.swfp-v163 .swfp-header .swfp-official-logo {
    width: 142px !important;
    max-width: 142px !important;
    max-height: 58px !important;
  }
  .swfp-site.swfp-v163 .swfp-menu-btn {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }
  .swfp-site.swfp-v163 .swfp-store-actions {
    gap: 4px !important;
  }
  .swfp-site.swfp-v163 .swfp-store-actions > a {
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    flex: 0 0 35px !important;
  }
  .swfp-site.swfp-v163.swfp-home-v161 .swfp-hero-v2-grid {
    padding-top: 265px !important;
  }
  .swfp-site.swfp-v163 .swfp-category-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .swfp-site.swfp-v163 .swfp-category-card-image { height: 218px !important; }
  .swfp-site.swfp-v163 .swfp-category-card-body { min-height: 0 !important; }
  .swfp-site.swfp-v163 .swfp-simulators .swfp-section-head h2,
  .swfp-site.swfp-v163 .swfp-solutions-v160 .swfp-section-head h2 {
    font-size: clamp(30px, 8vw, 43px) !important;
    line-height: 1.12 !important;
  }
}
@media (max-width: 370px) {
  .swfp-site.swfp-v163 .swfp-header .swfp-logo { max-width: 125px !important; }
  .swfp-site.swfp-v163 .swfp-header .swfp-official-logo { width: 125px !important; max-width: 125px !important; }
  .swfp-site.swfp-v163 .swfp-header-inner { gap: 5px !important; padding: 0 8px !important; }
  .swfp-site.swfp-v163 .swfp-store-actions > a { width: 32px !important; min-width: 32px !important; max-width: 32px !important; height: 32px !important; min-height: 32px !important; max-height: 32px !important; flex: 0 0 32px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .swfp-site.swfp-v163 .swfp-category-card-v160,
  .swfp-site.swfp-v163 .swfp-category-card-image img { transition: none !important; }
}
