/* rem and em do NOT depend on htmml font-size in media queries!
Instead 1 rem = 1 em = 16px */

/* ********************************** */
/* BELOW 1312px (Smaller Laptops) */
/* ********************************** */
@media (max-width: 82em) {
  .header {
    padding: 0 4.8rem;
  }

  .hero {
    max-width: 120rem;
  }

  .heading-primary {
    font-size: 4.4rem;
  }

  .product-mockup {
    width: 45%;
  }
}

/* ********************************** */
/* BELOW 1216px (Landscape Tablets) */
/* ********************************** */

@media (max-width: 76em) {
  html {
    /* 9px / 16px */
    font-size: 56.25%;
  }

  .hero {
    gap: 0;
  }

  .heading-secondary {
    font-size: 3.6rem;
  }

  .bonuses {
    max-width: 74rem;
  }

  .bonus-content {
    gap: 6rem;
  }

  .old-price {
    font-size: 2.4rem;
  }

  .new-price {
    font-size: 3rem;
  }
}

/* ********************************** */
/* BELOW 1056px (Tablets) */
/* ********************************** */

@media (max-width: 66em) {
  html {
    /* 8px / 16px */
    font-size: 50%;
  }

  .header {
    padding: 0 3.2rem;
  }
}

/* ********************************** */
/* BELOW 944px (Medium Tablets) */
/* ********************************** */

@media (max-width: 59em) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 9.6rem;
    gap: 6.4rem;
  }

  .hero-text-box {
    text-align: center;
  }

  .hero-img {
    width: 35%;
  }
}

/* ********************************** */
/* BELOW 848px (Smaller Tablets) */
/* ********************************** */

@media (max-width: 53em) {
  .product-content {
    /* max-width: 100rem; */
    grid-template-columns: repeat(2, 1fr);
  }
  .foundations,
  .weekly--menu,
  .breakfast--recipes,
  .snacks--recipes {
    grid-column: unset;
  }

  .snacks--recipes {
    margin: 0;
  }

  .healthy--recipes {
    grid-column: span 2;
    margin: 0 26rem;
  }
}

/* ********************************** */
/* BELOW 624px (Phones) */
/* ********************************** */

@media (max-width: 39em) {
  .hero {
    padding: 0 4.8rem;
  }

  .hero-img {
    width: 70%;
  }

  .btn,
  .btn:link,
  .btn:visited {
    padding: 2.4rem 1.2rem;
  }

  .product-content {
    max-width: 50rem;
    grid-template-columns: 1fr;
  }

  .healthy--recipes {
    margin: 0;
    grid-column: unset;
  }

  .bonuses {
    max-width: 40rem;
  }

  .bonus-content {
    grid-template-columns: 1fr;
  }

  .warranty-image {
    width: 50%;
  }
}

/* ********************************** */
/* BELOW 448px (Smaller Phones) */
/* ********************************** */

@media (max-width: 28em) {
  .btn--full:link,
  .btn--full:visited {
    margin-bottom: 1.6rem;
  }
}

/* 
- FONT SIZE SYSTEM (px)
  10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

  --- 07 WHITESPACE
  - SPACING SYSTEM (px)
  2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/
