/* ==================================================================
   FONTES LOCAIS
   Os arquivos ficam em assets/fonts e não dependem de outro site.
================================================================== */
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../assets/fonts/roboto.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

/* ==================================================================
   BASE
================================================================== */
:root {
  --red: #b5090f;
  --dark-red: #940005;
  --featured-red: #b1161a;
  --footer: #1f1929;
  --facebook-blue: #385898;
  --light-border: #d6d6d6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: #000;
  background: #fff;
  font-family: "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden-until-vsl {
  display: none !important;
}

/* ==================================================================
   CABEÇALHO
================================================================== */
.header-main {
  height: 88px;
  color: #fff;
  background: var(--red);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1140px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.site-name {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.header-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
}

.header-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.news-ticker {
  height: 45px;
  overflow: hidden;
  color: #fff;
  background: var(--dark-red);
}

.news-ticker-text {
  display: flex;
  width: max-content;
  padding-top: 14px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  white-space: nowrap;
  animation: news-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.news-ticker-text span {
  flex: none;
}

@keyframes news-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ==================================================================
   TÍTULO E DATA
================================================================== */
.article-intro {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 70px;
}

.article-intro h1 {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.22;
}

.article-intro h1 strong {
  font-weight: 700;
}

.article-date {
  margin: 12px 0 0;
  color: #1f2123;
  font-size: 14px;
  line-height: 1.3;
}

/* ==================================================================
   VSL
================================================================== */
.vsl-section {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 34px;
}

.vsl-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.vsl-wrapper vturb-smartplayer {
  width: 100% !important;
  max-width: 100%;
}

/* ==================================================================
   SELOS DE MÍDIA
================================================================== */
.media-logos {
  display: flex;
  justify-content: center;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.media-logos img {
  width: 44%;
  min-width: 300px;
}

/* ==================================================================
   OFERTAS
================================================================== */
.offers-section {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 50px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #000;
  background: #fff;
  border: 2px solid #c9c9c9;
  border-radius: 5px;
  text-align: center;
}

.offer-label {
  min-height: 36px;
  padding: 7px 10px 4px;
  background: #d4d4d4;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.offer-card h2 {
  margin: 8px 10px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 31px;
  line-height: 1.1;
}

.offer-supply {
  margin: 3px 10px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
}

.product-link {
  display: block;
  margin: 0 auto;
}

.product-link img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.offer-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px 12px;
}

.offer-price strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.offer-price span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  text-align: left;
}

.offer-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--light-border);
}

.offer-benefits li {
  padding: 4px 8px;
  border-bottom: 1px solid var(--light-border);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.offer-benefits .benefit-saving {
  color: #e80a2e;
}

.buy-button {
  width: 89%;
  margin: 12px auto 8px;
  padding: 7px 12px;
  background: #d4cfcf;
  border-radius: 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.buy-button[aria-disabled="true"],
.product-link[aria-disabled="true"] {
  cursor: default;
}

.payment-methods {
  width: 55%;
  margin: 0 auto 8px;
}

.offer-total,
.shipping {
  margin: 0 10px 2px;
  font-size: 16px;
  font-weight: 700;
}

.offer-total s {
  color: #e80a2e;
}

.shipping {
  margin-bottom: 22px;
}

.offer-card-featured {
  color: #fff;
  background: var(--featured-red);
  border-color: var(--featured-red);
}

.offer-card-featured .offer-label {
  color: var(--featured-red);
  background: #fff;
}

.offer-card-featured .offer-benefits li {
  color: #fff;
}

.offer-card-featured .buy-button-featured {
  color: #000;
  background: #ffd814;
  box-shadow: 0 0 10px #ebd78e;
}

.offer-card-featured .offer-total s {
  color: #fff;
}

.offer-card-featured .shipping {
  color: #fccd15;
}

/* ==================================================================
   COMENTÁRIOS
================================================================== */
.comments-section {
  width: min(1140px, calc(100% - 40px));
  margin: 80px auto 45px;
  font-family: Helvetica, Arial, sans-serif;
}

.comments-section > h2 {
  margin: 0 0 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ebee;
  font-size: 14px;
  font-weight: 700;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.comment-body {
  min-width: 0;
}

.comment-body h3 {
  margin: 0;
  color: var(--facebook-blue);
  font-size: 14px;
  line-height: 1.35;
}

.comment-body p {
  margin: 4px 0 5px;
  color: #1c1e21;
  font-size: 14px;
  line-height: 1.35;
}

.comment-actions {
  display: flex;
  align-items: center;
  color: #4267b2;
  font-size: 12px;
  line-height: 16px;
}

.comment-actions img {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 2px;
}

.comment-actions span {
  color: #90949c;
}

.facebook-plugin-label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e9ebee;
  color: var(--facebook-blue);
  font-size: 11px;
  font-weight: 700;
}

.facebook-plugin-label img {
  width: 14px;
  height: 14px;
}

/* ==================================================================
   RODAPÉ
================================================================== */
.site-footer {
  padding: 40px 20px;
  color: #fff;
  background: var(--footer);
  font-size: 14px;
  text-align: center;
}

/* ==================================================================
   RESPONSIVO
================================================================== */
@media (max-width: 900px) {
  .article-intro {
    padding-top: 55px;
  }

  .article-intro h1 {
    font-size: 31px;
  }

  .offers-grid {
    gap: 12px;
  }

  .offer-price strong {
    font-size: 56px;
  }

  .offer-card h2 {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  .header-main {
    height: 88px;
  }

  .site-name {
    font-size: 30px;
  }

  .news-ticker-text {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .article-intro,
  .vsl-section,
  .media-logos,
  .offers-section,
  .comments-section {
    width: calc(100% - 32px);
  }

  .article-intro {
    padding-top: 75px;
  }

  .article-intro h1 {
    font-size: 25px;
    line-height: 1.12;
  }

  .article-date {
    font-size: 11px;
  }

  .vsl-section {
    padding-top: 38px;
  }

  .vsl-wrapper {
    max-width: 337px;
  }

  .media-logos img {
    width: 70%;
    min-width: 0;
  }

  .offers-section {
    padding-top: 70px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 390px;
    margin: 0 auto;
  }

  .offer-card-featured {
    order: -1;
  }

  .comments-section {
    margin-top: 55px;
  }

  .comment-body p {
    font-size: 14px;
  }

  .site-footer {
    padding: 30px 20px;
  }
}
