/*
  Home Black Friday Open (ekyte 10864636). CSS plano, mobile primeiro (artboard 430).
  Medidas do XD em --hbf-u: 1px no artboard (430 no mobile, 1920 no desktop > 1024px, o $device-breakpoint do tema), escala com a tela.
*/
@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../../../Fontes/Gotham/Gotham-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Gotham';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../../../Fontes/Gotham/Gotham-Book.woff2') format('woff2');
}

/* Layout do site (este CSS so carrega nesta landing): sem breadcrumb e sem o limite/respiro do #content-wrapper e do #middle */
.wd-browsing-breadcrumbs { display: none; }
#content-wrapper { max-width: none; padding: 0; }
body #middle { padding: 0; }
/* O fullbanner da home (Layout/Header) nao entra aqui: a landing tem o seu, com as mesmas posicoes */
#header .fullbanner { display: none; }
/* A regua de beneficios ja vem logo abaixo do fullbanner; a do rodape (Layout/Footer, so na HomeRoute) sairia duplicada */
#footer .info-beneficios { display: none; }

.hbf {
  --hbf-u: calc(100vw / 430);
  --hbf-fonte: 'Gotham', Arial, sans-serif;
  --hbf-branco: #fff;
  --hbf-preto: #000;
}

.hbf .hbf__oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* So o widget simples (meta rota); na home leve o topo e o bloco .fullbanner da home, com o CSS dela */
.hbf .hbf__fullbanner > .wd-marketing-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.hbf .hbf__fullbanner--rodape { margin-top: calc(37 * var(--hbf-u)); }

/* Titulo dos grupos de desconto: so no desktop (o artboard mobile nao tem) */
.hbf .hbf__titulo { display: none; }

/* Grupos de desconto: 2x2 no mobile */
.hbf .hbf__descontos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(4 * var(--hbf-u));
  margin: calc(20 * var(--hbf-u)) 0 calc(12 * var(--hbf-u));
}

.hbf .hbf__desconto {
  --hbf-cor: #b0514d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(14 * var(--hbf-u));
  height: calc(155 * var(--hbf-u));
  background: var(--hbf-cor);
  font-family: var(--hbf-fonte);
  font-weight: 700;
  font-size: calc(25 * var(--hbf-u));
  line-height: 0.96;
  letter-spacing: -0.076em;
  color: var(--hbf-branco);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.hbf .hbf__desconto:nth-child(2) { --hbf-cor: #822d29; }
.hbf .hbf__desconto:nth-child(3) { --hbf-cor: #ef8e8b; }
.hbf .hbf__desconto:nth-child(4) { --hbf-cor: #ec5851; }

.hbf .hbf__desconto b {
  font-weight: inherit;
  white-space: nowrap;
}

.hbf .hbf__botao {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: calc(111 * var(--hbf-u));
  height: calc(28 * var(--hbf-u));
  border: 1px solid #707070;
  border-radius: calc(20 * var(--hbf-u));
  background: var(--hbf-branco);
  font-size: calc(13 * var(--hbf-u));
  letter-spacing: -0.076em;
  color: var(--hbf-cor);
}

.hbf .hbf__desconto:hover .hbf__botao { background: rgba(255, 255, 255, 0.85); }

@media (min-width: 1025px) {
  .hbf { --hbf-u: min(calc(100vw / 1920), 1px); }

  .hbf .hbf__fullbanner--rodape { margin-top: calc(35 * var(--hbf-u)); }

  .hbf .hbf__titulo {
    display: flex;
    align-items: center;
    gap: calc(34 * var(--hbf-u));
    margin: calc(50 * var(--hbf-u)) 0 calc(66 * var(--hbf-u));
    padding: 0 calc(73 * var(--hbf-u));
    font-family: var(--hbf-fonte);
    font-weight: 500;
    font-size: calc(23 * var(--hbf-u));
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--hbf-preto);
  }

  .hbf .hbf__titulo img {
    width: calc(262 * var(--hbf-u));
    height: auto;
  }

  /* Linha 1: 30% largo + 60%; linha 2: 50% + 20% largo (largo 1439 = 481 + 958, estreito 481 no artboard de 1920) */
  .hbf .hbf__descontos {
    grid-template-columns: 481fr 958fr 481fr;
    gap: 0;
    margin: 0 0 calc(23 * var(--hbf-u));
  }

  .hbf .hbf__desconto {
    gap: calc(16 * var(--hbf-u));
    height: calc(350 * var(--hbf-u));
    font-size: calc(35 * var(--hbf-u));
  }

  .hbf .hbf__desconto .hbf__botao {
    width: calc(212 * var(--hbf-u));
    height: calc(53 * var(--hbf-u));
    font-size: calc(26 * var(--hbf-u));
  }

  .hbf .hbf__desconto--largo {
    grid-column: span 2;
    flex-direction: row;
    gap: calc(40 * var(--hbf-u));
    font-size: calc(52 * var(--hbf-u));
  }

  .hbf .hbf__desconto--largo .hbf__botao {
    width: calc(225 * var(--hbf-u));
    height: calc(56 * var(--hbf-u));
    font-size: calc(28 * var(--hbf-u));
  }
}
