/*============================================================================
  VIVAD — identidade visual (etapa 1)
  Estilo próprio da VIVAD por cima do tema Recife. As cores e as fontes continuam
  vindo do personalizador (variáveis --main-*, --accent-color, --heading-font...),
  então podem ser trocadas pelo painel sem mexer neste arquivo.
==============================================================================*/

/* // Títulos */

h1, .h1, h2, .h2, h3, .h3 {
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* // Botões: caixa alta espaçada, como na prévia */

.btn-primary,
.btn-secondary,
.btn-default {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.btn-primary:hover,
.btn-primary:focus {
  opacity: 0.88;
}
.btn-big {
  padding: 16px 20px;
}

/*============================================================================
  Cartão de produto: preço "de" riscado acima, preço atual em destaque,
  selo de desconto, Pix em verde e parcelas
==============================================================================*/

.item-name {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--main-foreground);
  opacity: 1 !important;
}

/* o preço se ajusta à largura do cartão (2 a 5 produtos por linha) */
.item-description {
  container-type: inline-size;
}
.item-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--font-base);
}
.item-price-container > .d-block {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0 !important;
}
.item-price-container .price-compare {
  order: -1;
  margin-bottom: 2px;
  font-size: 12.5px;
}
.item-price {
  font-size: clamp(14px, 12cqi, 20px);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* selo de desconto ao lado do preço (ex.: -18%) */
.item-price-container .label {
  padding: 3px 7px;
  background: var(--accent-color);
  color: var(--main-background);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 14px;
  white-space: nowrap;
}

/* preço no Pix (desconto por meio de pagamento) */
.vivad-pix {
  margin-top: 4px !important;
  color: var(--accent-color);
  font-size: 13px;
}
.vivad-pix .font-small {
  font-size: 13px;
}

.item-installments {
  margin-top: 2px !important;
  font-size: 12px;
  opacity: 0.7;
}

/* selos sobre a foto (frete grátis, sem estoque) */
.labels-absolute {
  top: 12px;
  left: 12px;
}
.labels-absolute .label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* botão de compra rápida no cartão */
.item-actions .btn {
  font-size: 11px;
}

@media (max-width: 767px) {
  .item-name {
    font-size: 14px;
  }
}

/*============================================================================
  Cabeçalho (etapa 2): busca aberta, logo centralizado e faixa de categorias.
  O layout vem do personalizador (logo centralizado + buscador grande);
  aqui fica só o acabamento visual.
==============================================================================*/

.head-logo-row {
  padding: 12px 0;
}

/* campo de busca fino, como na prévia */
.head-main .search-input,
.js-big-search-mobile .search-input {
  height: 42px;
  padding-left: 14px;
  border: 1px solid var(--header-foreground-opacity-20);
  border-radius: 0;
  background-color: var(--main-background);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}
.head-main .search-input:hover,
.head-main .search-input:focus {
  border: 1px solid var(--header-foreground-opacity-50);
}

/* faixa de categorias (menu principal abaixo do logo) */
.head-main .head-nav {
  border-top: 1px solid var(--header-foreground-opacity-10);
}
.head-main .head-nav .nav-desktop-list {
  padding: 12px 0;
}
.head-main .head-nav .nav-desktop-list > .nav-item {
  padding: 0 clamp(10px, 1.4vw, 20px);
}
.head-main .head-nav .nav-desktop-list > .nav-item > .nav-item-container > .nav-list-link,
.head-main .head-nav .nav-desktop-list > .nav-item > .nav-list-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.head-main .head-nav .nav-desktop-list > .nav-item > .nav-item-container > .nav-list-link:hover,
.head-main .head-nav .nav-desktop-list > .nav-item > .nav-list-link:hover,
.head-main .head-nav .nav-list-link.selected {
  border-bottom-color: currentColor;
}

/*============================================================================
  Página de produto (etapa 3): bloco de preço, benefícios e ajuda
==============================================================================*/

/* preço "de" riscado acima, preço atual grande com o selo ao lado, Pix em destaque */
#single-product .js-price-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
}
#single-product .js-price-container > * {
  flex-basis: 100%;
}
#single-product .js-price-container > .d-inline-block,
#single-product .js-price-container > .js-labels-group,
#single-product .js-price-container > [class*="label"],
#single-product .js-price-container > .tooltip-container {
  flex-basis: auto;
}
#single-product .js-price-container > .d-block:has(.price-compare) {
  order: -1;
}
#single-product .js-price-container .price-compare {
  margin-top: 0 !important;
  font-family: var(--body-font);
  font-size: 15px;
}
#single-product .js-price-display {
  font-family: var(--body-font);
  font-size: 34px !important; /* vence a classe font-huge do tema */
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
#single-product .js-price-container .label {
  padding: 4px 8px;
  background: var(--accent-color);
  color: var(--main-background);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
#single-product .js-price-container .text-accent {
  font-size: 20px !important; /* preço no Pix; vence a classe font-big do tema */
  font-family: var(--body-font) !important;
  font-weight: 600 !important;
}
@media (max-width: 767px) {
  #single-product .js-price-display {
    font-size: 30px !important;
  }
}

/* benefícios em ícones e ajuda pelo WhatsApp (snipplets/product/vivad-perks.tpl) */
.vivad-perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 0 0 24px;
  padding: 18px 0;
  list-style: none;
  border-top: 1px solid var(--main-foreground-opacity-10);
  border-bottom: 1px solid var(--main-foreground-opacity-10);
}
.vivad-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}
.vivad-perks svg {
  flex: none;
  width: 22px;
  height: 22px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 1.3;
}
.vivad-perks small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}
.vivad-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid var(--main-foreground-opacity-10);
}
.vivad-help b {
  display: block;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 500;
}
.vivad-help small {
  font-size: 13px;
  opacity: 0.7;
}
.vivad-help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.vivad-help a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/*============================================================================
  Página inicial (etapa 4)
==============================================================================*/

/* banner principal: foto de ambiente com o texto do slide por cima (título, descrição e botão vêm do painel) */
.section-slider-home .slider-slide {
  position: relative;
}
.section-slider-home .slider-image {
  height: min(52vh, 500px);
  min-height: 380px;
  object-position: center 45%;
}
.section-slider-home .slider-slide:has(.swiper-text)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 15, 13, 0.62) 0%, rgba(15, 15, 13, 0.25) 55%, rgba(15, 15, 13, 0.05) 100%);
}
.section-slider-home .swiper-text {
  z-index: 9;
  width: 100%;
  max-width: 760px;
  padding: 0 clamp(20px, 5vw, 80px) clamp(40px, 9vh, 96px);
}
.section-slider-home .swiper-text p {
  margin-bottom: 18px !important;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.85;
}
.section-slider-home .swiper-text .h1-huge {
  max-width: 12ch;
  margin-bottom: 30px !important;
  font-family: var(--heading-font);
  font-size: clamp(44px, 6.4vw, 92px) !important;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.section-slider-home .swiper-text .btn-default {
  padding: 16px 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: transparent !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.section-slider-home .swiper-text .btn-default:hover {
  background: #fff !important;
  color: var(--main-foreground) !important;
}
@media (max-width: 767px) {
  .section-slider-home .slider-image {
    height: 50vh;
    min-height: 360px;
  }
  .section-slider-home .slider-slide:has(.swiper-text)::after {
    background: linear-gradient(180deg, rgba(15, 15, 13, 0.05) 20%, rgba(15, 15, 13, 0.72) 100%);
  }
  .section-slider-home .swiper-text .h1-huge {
    font-size: 40px !important;
    margin-bottom: 22px !important;
  }
}

/* coleções: fotos verticais grandes com o nome por cima (no lugar das bolinhas) */
.section-home .section-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  margin-bottom: 32px !important;
}
.section-categories-home .home-category {
  position: relative;
  width: clamp(170px, 14.6vw, 220px); /* as 5 coleções cabem lado a lado no computador */
}
.section-categories-home .home-category-image {
  height: auto;
  aspect-ratio: 3 / 4;
  background: var(--main-foreground-opacity-05);
}
.section-categories-home .home-category-image img {
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.section-categories-home .js-home-category:hover .home-category-image img {
  transform: translate(-50%, -50%) scale(1.045);
}
.section-categories-home .home-category-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(15, 15, 13, 0) 50%, rgba(15, 15, 13, 0.7));
}
.section-categories-home .home-category-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  padding: 18px 18px 20px;
  background: none;
  color: #fff;
  text-align: left;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}
/* nomes longos (Painéis Ripados, Mármore Flexível) quebram linha em vez de cortar com reticências */
.section-categories-home .home-category-name {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}
.section-categories-home .home-category-name::after {
  content: " →";
  font-family: var(--body-font);
  font-size: 15px;
}
@media (max-width: 767px) {
  .section-categories-home .home-category {
    width: 66vw;
  }
  .section-categories-home .home-category-name {
    font-size: 21px;
  }
}

/* barra de anúncio no topo */
.section-adbar {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
/* barra passando: um ponto separando as mensagens, como na prévia */
.adbar-animated .adbar-message::after {
  content: "·";
  margin-left: 1.5rem;
  opacity: 0.5;
}

/* ===== Etapa 4b: seções extras da home (snipplets/home/vivad-home.tpl) ===== */
/* a seta do carrossel de categorias passava da borda e criava rolagem horizontal */
.section-categories-home {
  overflow-x: clip;
}
.vivad-line,
.vivad-calc,
.vivad-consult,
.vivad-faq {
  padding: clamp(56px, 7vw, 96px) 0;
  margin: 0;
}
.vivad-line-alt,
.vivad-consult {
  background: #f3f0ea;
}
.vivad-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.vivad-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.6;
}
.vivad-title {
  margin: 14px 0 0;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.05;
}
.vivad-lead {
  max-width: 44ch;
  margin: 0;
  opacity: 0.75;
}
.vivad-link {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.vivad-muted {
  opacity: 0.65;
  font-size: 14px;
  margin: 12px 0 0;
}
.vivad-btn {
  display: inline-block;
  width: auto;
  padding: 16px 28px;
}

/* vitrines */
.vivad-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  min-height: 200px;
}
.vivad-rail::-webkit-scrollbar {
  display: none;
}
.vivad-rail > .js-item-product {
  scroll-snap-align: start;
  min-width: 0;
  max-width: none;
  padding: 0;
}
@media (max-width: 767px) {
  .vivad-rail {
    grid-auto-columns: 44%;
    gap: 14px;
  }
}

/* calculadora */
.vivad-tabs {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(26, 26, 24, 0.15);
  margin-bottom: clamp(24px, 4vw, 44px);
}
.vivad-tabs button {
  flex: none;
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
  cursor: pointer;
}
.vivad-tabs button.on {
  opacity: 1;
  border-color: currentColor;
}
.vivad-pc {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.vivad-pc > * {
  min-width: 0;
}
.vivad-how {
  background: #f3f0ea;
  padding: 24px 26px;
}
.vivad-how b {
  display: block;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}
.vivad-how ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.75;
  font-size: 14.5px;
}
.vivad-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}
.vivad-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.vivad-form input,
.vivad-form select {
  width: 100%;
  height: 46px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  outline: none;
}
.vivad-form .chk {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.vivad-form .chk input {
  width: 16px;
  height: 16px;
}
.vivad-res {
  margin-top: 30px;
}
.vivad-res-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-res-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-res-list b {
  font-family: var(--heading-font);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  min-width: 2ch;
}
.vivad-warn {
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 13.5px;
  color: #8a5a14;
  background: #f6ecd9;
}
.vivad-res-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .vivad-pc {
    grid-template-columns: minmax(0, 1fr);
  }
  .vivad-pc .vivad-how {
    order: 2;
  }
}

/* consultoria */
.vivad-consult-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
}
.vivad-consult-grid > * {
  min-width: 0;
}
.vivad-consult .vivad-lead {
  margin: 18px 0 26px;
}
.vivad-steps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  counter-reset: vivad;
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-steps li {
  counter-increment: vivad;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 10px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-steps li::before {
  content: "0" counter(vivad);
  grid-row: 1 / span 2;
  font-family: var(--heading-font);
  font-size: 22px;
  color: var(--accent-color);
  line-height: 1.2;
}
.vivad-steps b {
  font-weight: 500;
}
.vivad-steps span {
  opacity: 0.65;
  font-size: 14.5px;
}
.vivad-chat {
  width: min(380px, 100%);
  justify-self: center;
  background: #efe9df;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(30, 30, 25, 0.14);
}
.vivad-chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--accent-color);
  color: #fff;
}
.vivad-chat-top > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  font-family: var(--heading-font);
  font-size: 18px;
}
.vivad-chat-top b {
  display: block;
  font-weight: 500;
  font-size: 14.5px;
}
.vivad-chat-top small {
  font-size: 12px;
  opacity: 0.75;
}
.vivad-chat-msgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px 22px;
  font-size: 14px;
  line-height: 1.45;
}
.vivad-chat-msgs p {
  max-width: 85%;
  margin: 0;
  padding: 9px 12px;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  color: #1a1a18;
}
.vivad-chat-msgs p.me {
  align-self: flex-end;
  background: #dcebd3;
  border-radius: 14px 4px 14px 14px;
}
@media (max-width: 767px) {
  .vivad-consult-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* avaliações reais (BK Reviews) na home */
.vivad-reviews {
  padding: clamp(56px, 7vw, 96px) 0;
  margin: 0;
}
.vivad-rv-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.vivad-rv-wrap > * {
  min-width: 0;
}
.vivad-rv-sum {
  padding: 30px 28px;
  border: 1px solid rgba(26, 26, 24, 0.12);
}
.vivad-rv-avg {
  display: block;
  font-family: var(--heading-font);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}
.vivad-rv-stars {
  color: #b8965a;
  letter-spacing: 0.12em;
  font-size: 15px;
}
.vivad-rv-sum small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.65;
}
.vivad-rv-dist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
}
.vivad-rv-dist li {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  gap: 10px;
  align-items: center;
}
.vivad-rv-dist i {
  position: relative;
  height: 4px;
  background: rgba(26, 26, 24, 0.1);
}
.vivad-rv-dist i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: #b8965a;
}
.vivad-rv-dist em {
  font-style: normal;
  text-align: right;
  opacity: 0.65;
}
.vivad-rv-btn {
  display: block;
  width: 100%;
  margin-top: 22px;
  text-align: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.vivad-rv-note {
  margin: 10px 0 0;
  font-size: 12px;
  text-align: center;
  opacity: 0.6;
}
.vivad-rv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vivad-rv-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(26, 26, 24, 0.12);
}
.vivad-rv-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vivad-rv-av {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f0ea;
  font-size: 13px;
  font-weight: 500;
}
.vivad-rv-card header b {
  font-weight: 500;
}
.vivad-rv-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.vivad-rv-photos {
  display: flex;
  gap: 6px;
}
.vivad-rv-photos img {
  width: 84px;
  height: 84px;
  object-fit: cover;
}
.vivad-rv-prod {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px;
  background: #f3f0ea;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
}
.vivad-rv-prod img {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: cover;
}
@media (max-width: 991px) {
  .vivad-rv-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .vivad-rv-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .vivad-rv-cards::-webkit-scrollbar {
    display: none;
  }
  .vivad-rv-card {
    scroll-snap-align: start;
  }
}

/* perguntas frequentes */
.vivad-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(30px, 7vw, 110px);
}
.vivad-faq-grid > * {
  min-width: 0;
}
.vivad-faq .vivad-lead {
  margin-top: 20px;
  max-width: 34ch;
}
.vivad-faq .vivad-lead a {
  border-bottom: 1px solid currentColor;
}
.vivad-faq details {
  border-bottom: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-faq details:first-of-type {
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 500;
}
.vivad-faq summary::-webkit-details-marker {
  display: none;
}
.vivad-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.3s;
}
.vivad-faq details[open] summary::after {
  transform: rotate(45deg);
}
.vivad-faq details p {
  max-width: 62ch;
  margin: 0 0 24px;
  opacity: 0.8;
}
@media (max-width: 767px) {
  .vivad-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vivad-faq summary {
    font-size: 19px;
  }
}

/* rodapé */
.js-footer .newsletter-footer {
  background: #1a1a18;
  color: #fbfaf7;
}
.js-footer .newsletter-footer .h2 {
  font-family: var(--heading-font);
  font-weight: 500;
}
.js-footer .newsletter-footer .form-control {
  background: transparent;
  color: #fbfaf7;
  border: 0;
  border-bottom: 1px solid rgba(251, 250, 247, 0.5);
  border-radius: 0;
}
.js-footer .newsletter-footer .form-control::placeholder {
  color: rgba(251, 250, 247, 0.6);
}
.js-footer .newsletter-footer .btn-link {
  color: #fbfaf7;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
}
.js-footer > .container {
  padding-top: clamp(32px, 5vw, 64px) !important;
}
.js-footer .font-big {
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.6;
}
.js-footer .font-small {
  font-size: 14px !important;
}

/* ===== Etapa 5: categoria (snipplets/vivad-category.tpl) ===== */
.template-category .page-header h1,
.template-category h1 {
  font-size: clamp(36px, 4.4vw, 60px) !important;
  font-weight: 500;
}
.vivad-cat-top {
  margin-bottom: 8px;
}
.vivad-cat-desc {
  max-width: 56ch;
  margin: 0 0 14px;
  font-size: 16px;
  opacity: 0.75;
}
.vivad-cat-top .vivad-link {
  display: inline-block;
}
.vivad-perks-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  list-style: none;
  margin: 26px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
  font-size: 13px;
}
.vivad-perks-bar li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vivad-perks-bar svg,
.vivad-cart-trust svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
}
@media (max-width: 767px) {
  .vivad-perks-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    font-size: 12.5px;
  }
}
.vivad-cta-band {
  padding: clamp(56px, 7vw, 96px) 0;
  background: #f3f0ea;
  text-align: center;
}
.vivad-cta-band .vivad-title {
  max-width: 20ch;
  margin: 14px auto 16px;
}
.vivad-cta-band .vivad-lead {
  margin: 0 auto 28px;
}
.vivad-cta-band .btn {
  background: #1a1a18;
  color: #fbfaf7;
  border-color: #1a1a18;
}

/* nome da marca no cabeçalho (snipplets/header/header.tpl), igual à prévia */
.vivad-brand-wrap {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
}
/* cores do logo original da loja: "VIVAD" em verde-oliva (#4D5327) e "Casa & Decoração" em bege
   (#B3A890 no logo, um pouco mais escuro aqui para as letras pequenas ficarem legíveis), no topo e no rodapé */
.vivad-brand,
.vivad-brand:hover {
  color: #4d5327 !important;
}
.vivad-brand small {
  color: #9c8f72;
  opacity: 1 !important;
}
.vivad-brand {
  display: inline-block;
  text-align: center;
  line-height: 1;
  text-decoration: none;
  padding: 14px 0;
}
.vivad-brand b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
}
.vivad-brand small {
  display: block;
  margin-top: 6px;
  margin-right: -0.46em;
  font-size: 9.5px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  opacity: 0.6;
}
@media (max-width: 767px) {
  .vivad-brand {
    padding: 10px 0;
  }
  .vivad-brand b {
    font-size: 24px;
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }
  .vivad-brand small {
    font-size: 7.5px;
    letter-spacing: 0.32em;
    margin-right: -0.32em;
    white-space: nowrap;
  }
}

/* feed do Instagram na home (snipplets/home/home-instafeed.tpl), formato da prévia */
.vivad-ig {
  padding: clamp(40px, 5vw, 64px) 0;
  margin: 0;
  border-top: 1px solid rgba(26, 26, 24, 0.1);
}
.vivad-ig-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-bottom: 22px;
}
.vivad-ig-profile {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
}
.vivad-ig-ring {
  width: 52px;
  height: 52px;
  flex: none;
  padding: 2px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #f5c16c, #e4566b, #a24bd8, #f5c16c);
}
.vivad-ig-ring span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--main-background);
  border: 2px solid var(--main-background);
  font-family: var(--heading-font);
  font-size: 20px;
}
.vivad-ig-profile b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
}
.vivad-ig-profile small {
  font-size: 13.5px;
  opacity: 0.65;
}
.vivad-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.vivad-ig-btn:hover {
  background: #1a1a18;
  border-color: #1a1a18;
  color: #fbfaf7;
}
.vivad-ig-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.vivad-ig-strip {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.vivad-ig-item {
  min-width: 0;
}
.vivad-ig-post {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3f0ea;
}
.vivad-ig-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vivad-ig-post:hover .vivad-ig-img {
  transform: scale(1.06);
}
@media (max-width: 767px) {
  .vivad-ig-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 42%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .vivad-ig-strip::-webkit-scrollbar {
    display: none;
  }
  .vivad-ig-item {
    scroll-snap-align: start;
  }
  .vivad-ig-btn {
    width: 100%;
    justify-content: center;
  }
}

/* busca sem fundo e sem moldura, só com um traço fino embaixo (o texto de exemplo vem do static/js/vivad.js) */
.head-main .search-input {
  border: 0 !important;
  border-bottom: 1px solid rgba(26, 26, 24, 0.18) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.head-main .search-input:focus {
  background: transparent !important;
  border-bottom-color: rgba(26, 26, 24, 0.55) !important;
}
.head-main .search-input::placeholder {
  color: rgba(26, 26, 24, 0.55);
  letter-spacing: 0.01em;
}

/* favoritos (static/js/vivad.js, snipplets/vivad-fav-button.tpl) */
.vivad-fav-btn,
.vivad-fav-text,
.vivad-fav-open {
  cursor: pointer;
}
.vivad-fav-btn svg,
.vivad-fav-text svg,
.vivad-fav-open svg,
.vivad-fav-empty svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: fill 0.2s, transform 0.25s;
}
.vivad-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 250, 247, 0.92);
  color: #1a1a18;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vivad-fav-btn svg {
  width: 18px;
  height: 18px;
}
.js-vivad-fav.on svg {
  fill: #b5523b;
  stroke: #b5523b;
}
.js-vivad-fav.pop svg {
  transform: scale(1.25);
}
.vivad-fav-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.vivad-fav-text svg {
  width: 20px;
  height: 20px;
}
.vivad-fav-open {
  display: inline-block;
  margin-right: 6px;
}
.vivad-fav-open svg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}
.vivad-fav-count {
  position: absolute;
  top: 2px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #b5523b;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}
.vivad-fav-panel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
}
.vivad-fav-panel.open {
  visibility: visible;
}
.vivad-fav-shade {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 13, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.vivad-fav-panel.open .vivad-fav-shade {
  opacity: 1;
}
.vivad-fav-box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--main-background);
  color: var(--main-foreground);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vivad-fav-panel.open .vivad-fav-box {
  transform: none;
}
.vivad-fav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
}
.vivad-fav-top b {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 500;
}
.vivad-fav-x,
.vivad-fav-remove {
  border: 0;
  background: none;
  color: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.vivad-fav-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px 22px;
}
.vivad-fav-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
}
.vivad-fav-img {
  display: block;
  aspect-ratio: 1;
  background: #f3f0ea;
  overflow: hidden;
}
.vivad-fav-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vivad-fav-name {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: inherit;
}
.vivad-fav-price {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}
.vivad-fav-go {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  color: inherit;
}
.vivad-fav-remove {
  font-size: 20px;
  opacity: 0.5;
}
.vivad-fav-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 60px 0 0;
  text-align: center;
  font-size: 15px;
}
.vivad-fav-empty svg {
  width: 34px;
  height: 34px;
  opacity: 0.5;
}
.vivad-fav-empty small {
  max-width: 28ch;
  opacity: 0.65;
  font-size: 13px;
}
.vivad-fav-lock,
.vivad-fav-lock body {
  overflow: hidden;
}

/* páginas Quem Somos e Para profissionais (snipplets/vivad-page-*.tpl) */
.vivad-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(62vh, 560px);
  padding: clamp(40px, 8vh, 90px) 0;
  background: #1a1a18 center / cover no-repeat;
  color: #fbfaf7;
}
.vivad-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 15, 13, 0.7), rgba(15, 15, 13, 0.25));
}
.vivad-page-hero .container {
  position: relative;
}
.vivad-page-hero .vivad-eyebrow {
  opacity: 0.8;
}
.vivad-page-title {
  max-width: 14ch;
  margin: 16px 0 0;
  font-family: var(--heading-font);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.02;
  color: inherit;
}
.vivad-page-sub {
  max-width: 44ch;
  margin: 18px 0 26px;
  font-size: 17px;
  opacity: 0.85;
}
.vivad-page-sec {
  padding: clamp(56px, 7vw, 96px) 0;
}
.vivad-page-alt {
  background: #f3f0ea;
}
.vivad-narrow {
  max-width: 820px;
  text-align: center;
}
.vivad-page-lead {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.35;
}
.vivad-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.vivad-split > * {
  min-width: 0;
}
.vivad-split .vivad-title {
  margin-bottom: 22px;
}
.vivad-split p {
  max-width: 52ch;
  line-height: 1.7;
}
.vivad-split-ph {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e9e4db;
}
.vivad-split-sq {
  aspect-ratio: 1;
}
.vivad-split-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vivad-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.vivad-facts b {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
}
.vivad-facts span {
  font-size: 13.5px;
  opacity: 0.65;
}
.vivad-cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  counter-reset: vivadn;
}
.vivad-cols3 h3 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 500;
}
.vivad-cols3 p {
  margin: 0;
  line-height: 1.65;
  opacity: 0.8;
}
.vivad-numbered > div {
  counter-increment: vivadn;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 26, 24, 0.15);
}
.vivad-numbered > div::before {
  content: "0" counter(vivadn);
  display: block;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  font-size: 22px;
  color: var(--accent-color);
}
.vivad-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.vivad-specs th,
.vivad-specs td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
  text-align: left;
  vertical-align: top;
}
.vivad-specs th {
  width: 36%;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.vivad-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.vivad-btn-line {
  background: transparent !important;
  color: inherit !important;
  border: 1px solid currentColor !important;
}
.vivad-btn-light {
  background: #fbfaf7 !important;
  color: #1a1a18 !important;
  border-color: #fbfaf7 !important;
}
@media (max-width: 767px) {
  .vivad-split,
  .vivad-cols3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .vivad-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* rodapé em 5 colunas (snipplets/footer/vivad-footer.tpl) */
.js-footer {
  background: var(--main-background) !important;
  color: var(--main-foreground) !important;
}
.vivad-foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr 1.35fr;
  gap: 36px;
  padding-top: clamp(56px, 7vw, 90px);
  padding-bottom: clamp(40px, 5vw, 60px);
  font-size: 14px;
}
.vivad-foot > * {
  min-width: 0;
}
.vivad-foot .vivad-brand {
  text-align: left;
  padding: 0;
}
.vivad-foot .vivad-brand b,
.vivad-foot .vivad-brand small {
  margin-right: 0;
}
.vivad-foot-brand p {
  max-width: 34ch;
  margin: 22px 0 0;
  line-height: 1.7;
  opacity: 0.7;
}
.vivad-foot-social {
  display: inline-flex;
  margin-top: 18px;
  color: inherit;
}
.vivad-foot-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.vivad-foot h5 {
  margin: 0 0 18px;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.6;
}
.vivad-foot ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vivad-foot a {
  color: inherit;
}
.vivad-foot ul a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 767px) {
  .vivad-foot {
    grid-template-columns: 1fr 1fr;
    gap: 34px 20px;
  }
  .vivad-foot-brand,
  .vivad-foot > div:nth-child(4),
  .vivad-foot-news {
    grid-column: 1 / -1;
  }
}

/* faixa de informações da home (snipplets/banner-services/banner-services-item.tpl), estilo da prévia */
.section-informative-banners {
  padding: 22px 0 !important;
  border-bottom: 1px solid rgba(26, 26, 24, 0.1);
}
.section-informative-banners .row.no-gutters {
  align-items: center;
  flex-wrap: nowrap;
}
/* a centralização vertical do tema subia o título para fora da faixa; a linha já alinha pelo centro */
.section-informative-banners .align-item-middle {
  top: auto !important;
  transform: none !important;
}
.vivad-svc-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-informative-banners .vivad-svc-title {
  margin: 0 0 3px;
  font-family: var(--body-font);
  font-size: 14.5px !important;
  font-weight: 400;
  line-height: 1.3;
}
.section-informative-banners .service-text {
  font-size: 12.5px !important;
  line-height: 1.4;
  opacity: 0.65;
}
/* a faixa passa sozinha da direita para a esquerda (snipplets/banner-services/banner-services.tpl):
   duas cópias iguais lado a lado; ao andar metade da trilha a volta recomeça sem emenda. Para ao passar o mouse. */
.vivad-svc-marquee {
  overflow: hidden;
  padding: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.vivad-svc-track {
  display: flex;
  width: max-content;
  animation: vivad-faixa 32s linear infinite;
}
.vivad-svc-marquee:hover .vivad-svc-track {
  animation-play-state: paused;
}
.vivad-svc-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.vivad-svc-group .swiper-slide {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 clamp(36px, 5vw, 80px) 0 0 !important;
}
@keyframes vivad-faixa {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .vivad-svc-track {
    animation-duration: 22s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vivad-svc-track {
    animation: none;
  }
}

/* categorias da home em carrossel de uma fileira (snipplets/home/home-categories.tpl), cartões verticais */
.vivad-cats-section {
  padding-top: clamp(28px, 3.5vw, 44px) !important;
  padding-bottom: clamp(28px, 3.5vw, 44px) !important;
}
.vivad-cats-section .section-title {
  margin-bottom: 24px !important;
}
.vivad-cats-wrap {
  position: relative;
}
.vivad-cats {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.vivad-cats::-webkit-scrollbar {
  display: none;
}
.vivad-cat {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 4);
  aspect-ratio: 3 / 4;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #3a332c;
  color: #fff !important;
  text-decoration: none !important;
  scroll-snap-align: start;
}
.vivad-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vivad-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.72) 0%, rgba(20, 16, 12, 0.25) 38%, rgba(20, 16, 12, 0) 60%);
}
.vivad-cat:hover .vivad-cat-img {
  transform: scale(1.04);
}
.vivad-cat-txt {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
}
.vivad-cat-txt small {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}
.vivad-cat-txt b {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.05;
}
.vivad-cat-txt em {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.vivad-cat-txt em span {
  display: inline-block;
  transition: transform 0.3s;
}
.vivad-cat:hover .vivad-cat-txt em span {
  transform: translateX(4px);
}
.vivad-cats-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fbfaf7;
  color: #1a1a18;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}
.vivad-cats-nav[hidden] {
  display: none;
}
.vivad-cats-nav.prev {
  left: -14px;
}
.vivad-cats-nav.next {
  right: -14px;
}
.vivad-cats-hint {
  display: none;
}
/* no celular: um cartão e meio na tela, sem setas, com aviso para deslizar */
@media (max-width: 767px) {
  .vivad-cats-section .container {
    padding-right: 0;
  }
  .vivad-cats-section .section-title {
    padding-right: 15px;
  }
  .vivad-cats {
    gap: 12px;
    padding-right: 15px;
  }
  .vivad-cat {
    flex-basis: 68%;
  }
  .vivad-cats-nav {
    display: none !important;
  }
  .vivad-cats-hint {
    display: block;
    margin: 14px 15px 0 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(26, 26, 24, 0.6);
  }
  .vivad-cats-hint span {
    display: inline-block;
    animation: vivad-desliza 1.6s ease-in-out infinite;
  }
}
@keyframes vivad-desliza {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* carrinho (snipplets/vivad-cart-trust.tpl) */
.vivad-cart-trust {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(26, 26, 24, 0.12);
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.vivad-cart-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vivad-cart-trust svg {
  width: 18px;
  height: 18px;
}
.vivad-cart-help {
  display: block;
  margin: 14px 0 18px;
  font-size: 13px;
  opacity: 0.8;
}

/* ===== Ajustes de 25/10/2026 ===== */

/* ícones do topo (conta, favoritos, sacola) na mesma linha e do mesmo tamanho */
.head-main .btn-utility {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 42px;
  vertical-align: middle;
}
.head-main .utilities-icon {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  vertical-align: middle;
}
@media (min-width: 768px) {
  .head-main .desktop-utility-col.order-md-1,
  .head-main .desktop-utility-col.order-2 {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}

/* newsletter na coluna da direita do rodapé (snipplets/footer/vivad-footer.tpl) */
.vivad-foot-news p {
  margin: 0 0 16px;
  line-height: 1.6;
  opacity: 0.7;
}
.vivad-news-form {
  display: flex;
  border-bottom: 1px solid rgba(26, 26, 24, 0.35);
}
.vivad-news-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  outline: none;
}
.vivad-news-form button {
  padding: 10px 0 10px 12px;
  border: 0;
  background: none;
  color: inherit;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.vivad-foot-news .vivad-news-msg {
  margin: 12px 0 0;
  font-size: 13px;
  opacity: 1;
}

/* títulos em caixa alta, bem negritos e à esquerda: categorias, Mais Vendidos e as vitrines de Painel ripado e Brises.
   Calculadora, consultoria, avaliações, dúvidas e mensagem institucional voltaram ao estilo anterior (pedido de 25/10/2026).
   O peso 700 da fonte de títulos é carregado no layout.tpl (font_weights '400,600,700'). */
.section-home .section-title,
.vivad-line .vivad-title,
.vivad-mv .vivad-title {
  text-align: left !important;
  text-transform: uppercase;
  font-weight: 700 !important;
  font-size: clamp(26px, 2.8vw, 38px) !important;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.vivad-cats-section .section-title {
  margin-bottom: 20px !important;
}
.vivad-mv {
  margin-bottom: 28px;
}

/* botão Comprar nos cartões (compra rápida ligada no personalizador: Lista de produtos > Compra rápida) */
.js-item-product .item-actions {
  display: block !important;
  width: 100%;
  margin-top: 10px;
}
.js-item-product .item-actions .btn,
.js-item-product .item-actions input.btn {
  width: 100%;
  padding: 11px 12px !important;
  border-radius: 0;
  background: #1a1a18 !important;
  border-color: #1a1a18 !important;
  color: #fbfaf7 !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.js-item-product .item-actions .btn:hover {
  background: #4d5327 !important;
  border-color: #4d5327 !important;
}

/* banner para profissionais depois dos Mais Vendidos (snipplets/home/vivad-home.tpl) */
.vivad-pro-banner {
  padding-top: 0 !important;
}
.vivad-pro-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 380px;
  overflow: hidden;
  border-radius: 6px;
  background-size: cover;
  background-position: center 40%;
  color: #fff !important;
  text-decoration: none !important;
}
.vivad-pro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 16, 12, 0.85) 0%, rgba(20, 16, 12, 0.55) 45%, rgba(20, 16, 12, 0.1) 100%);
}
.vivad-pro-txt {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 520px;
  padding: clamp(28px, 4vw, 56px);
}
.vivad-pro-txt .vivad-eyebrow {
  opacity: 0.85;
}
.vivad-pro-txt b {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}
.vivad-pro-p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}
.vivad-pro-txt em {
  justify-self: start;
  margin-top: 6px;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.vivad-pro-card:hover .vivad-pro-txt em {
  background: #fff;
  color: #1a1a18;
}
@media (max-width: 767px) {
  .vivad-pro-card {
    min-height: 420px;
    align-items: flex-end;
  }
  .vivad-pro-card::before {
    background: linear-gradient(to top, rgba(20, 16, 12, 0.88) 0%, rgba(20, 16, 12, 0.4) 60%, rgba(20, 16, 12, 0.1) 100%);
  }
}

/* capa (pedido de 27/10/2026): foto de casa de alto padrão em alta resolução (banners/capa-casa-alto-padrao.jpg,
   Pexels 35361410, 2400 px) ocupando a largura toda, com o texto do slide alinhado à esquerda sobre um
   escurecimento suave que vem da esquerda (o mesmo modelo da capa anterior, sem a faixa ripada). */
.section-slider-home .slider-image {
  height: min(72vh, 660px);
  min-height: 460px;
  object-position: center 38%;
}
.section-slider-home .slider-slide:has(.swiper-text)::after {
  background: linear-gradient(90deg, rgba(12, 12, 10, 0.68) 0%, rgba(12, 12, 10, 0.42) 36%, rgba(12, 12, 10, 0.08) 62%, rgba(12, 12, 10, 0) 100%);
}
.section-slider-home .swiper-text {
  top: 50%;
  bottom: auto;
  width: 100%;
  max-width: 680px;
  padding: 0 clamp(24px, 5vw, 80px);
  text-align: left;
  transform: translateY(-50%);
}
.section-slider-home .swiper-text p {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-slider-home .swiper-text p::after {
  content: "";
  width: 90px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-slider-home .swiper-text .h1-huge {
  max-width: 13ch;
  margin-bottom: 26px !important;
  font-size: clamp(38px, 4.6vw, 70px) !important;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .section-slider-home .slider-image {
    height: 48vh;
    min-height: 340px;
    max-height: 420px;
    object-position: 40% center;
  }
  .section-slider-home .slider-slide:has(.swiper-text)::after {
    display: block;
    background: linear-gradient(180deg, rgba(12, 12, 10, 0.05) 25%, rgba(12, 12, 10, 0.75) 100%);
  }
  .section-slider-home .swiper-text {
    top: auto;
    bottom: 0;
    padding: 0 20px 22px;
    transform: none;
  }
  .section-slider-home .swiper-text p {
    margin-bottom: 10px !important;
  }
  .section-slider-home .swiper-text .h1-huge {
    margin-bottom: 16px !important;
    font-size: 28px !important;
  }
  .section-slider-home .swiper-text .btn-default {
    padding: 11px 20px;
  }
}

/* fontes: botões e campos seguem a fonte do site (sem isso o navegador usava Arial) */
button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}
/* descrições de produto coladas de outro site trazem font-family próprio (PrimaryFont) no style:
   textos voltam para a Jost e títulos para a Cormorant, sem precisar editar os produtos */
.user-content [style*="font-family"] {
  font-family: var(--body-font) !important;
}
.user-content :is(h1, h2, h3, h4, h5, h6)[style*="font-family"],
.user-content :is(h1, h2, h3, h4, h5, h6) [style*="font-family"] {
  font-family: var(--heading-font) !important;
}
