/* Bellow 1360px */
@media (max-width: 85em) {
  .container {
    max-width: 125rem;
    margin: 0 auto;
    padding: 0 3.2rem;
  }
  .container-about {
    max-width: 125rem;
    margin: 0 auto;
  }
  .container-ingredients {
    max-width: 125rem;
    margin: 0 auto;
  }
  /* hero section */
  .hero {
    padding-top: 3.2rem;
    height: 80vh;
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    column-gap: 2.4rem;
    align-items: stretch;
  }
}
/* Bellow 1200px */
@media (max-width: 75em) {
  html {
    /* font-size: 9px;
    9px / 16px = 0.5325 * 100 = 56.25 
    1rem = 10px*/
    font-size: 56.25%;
  }
  .grid-gap {
    display: grid;
    column-gap: 4.8rem;
  }
  /* hero */
  .reviews {
    margin-bottom: 2.4rem;
  }
  .customer-img {
    margin-left: -2rem;
  }
  /* how it works */
  .how-it-works-item {
    padding: 3.2rem 0.6rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    gap: 1.2rem;
  }
  /* section ingredients */
  .section-ingredients .heading-secondary {
    margin-bottom: 8rem !important;
    line-height: 1.4;
  }
  .ingredients-text-box {
    padding: 2.4rem;
  }
  .ingredients-list {
    gap: 2.8rem;
  }
  /* section-order-now */
  .grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    align-items: stretch; /* ✅ makes all grid cells equal height */
  }
  .best-value {
    width: 200px;
    padding: 3px 0;
    top: 50px;
    right: -45px;
  }
  .best-value span {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 1);
  }
  .product-one,
  .product-three {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .product-three {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .product-img {
    display: inline-block;
  }
  .product-img-one {
    margin-top: 1.4rem !important;
    width: 80%;
    height: 80%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 80%;
  }
  .product-img-six {
    width: 90%;
    height: 90%;
  }
}
/* Bellow 1070px */
@media (max-width: 67em) {
  html {
    /* font-size: 8px;
    8px / 16px = 0.50 * 100 = 50 
    1rem = 10px*/
    font-size: 50%;
  }
  .heading-primary {
    font-size: 4.4rem;
  }
  .heading-secondary {
    font-size: 4rem;
  }
  /* hero */
  .hero {
    column-gap: 1.8rem;
  }
  .hero-reviews-text {
    font-size: 1.8rem;
  }
  .hero-btn {
    text-align: center;
    margin-bottom: -3.2rem;
  }
  .tree-img {
    position: absolute;
    bottom: 0; /* stick to the bottom of the box */
    left: 50%; /* anchor from the center */
    width: var(--tree-w);
    height: var(--tree-h);
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none; /* optional: avoid capturing clicks */
  }

  /* 4) Left / right tree offsets (no magic px per breakpoint!) */
  .tree-img-box {
    --spread: clamp(
      40px,
      10vw,
      110px
    ); /* how far each tree moves from center */
    --tree-w: clamp(150px, 20vw, 200px); /* responsive width */
    --tree-h: clamp(70px, 12vw, 150px); /* responsive height */
  }
  /*  */
  .hero-image-front:first-child {
    width: 200px;
    height: 400px;
  }
  .hero-image-back:last-child {
    width: 190px;
    height: 400px;
  }
  .hero-image-front {
    left: 0;
    transform: translate(-10%, 5%);
  }
  .hero-image-back {
    right: 0;
    transform: translate(10%, 10%);
  }
  /* section about */
  .grid-gap {
    display: grid;
    column-gap: 1.8rem;
  }
  /* section-how-it-work */
  .grid-4-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
    align-items: stretch;
  }
  .how-it-works-item {
    padding: 4.8rem;
    gap: 2.4rem;
  }
  .heading-tertiary {
    font-size: 3.2rem;
    margin-bottom: 1.8rem;
  }
  .text-how-it-works {
    font-size: 2.4rem;
    line-height: 1.4;
  }
  /* section ingredients */
  .section-ingredients .heading-secondary {
    margin-bottom: 12.8rem !important;
    line-height: 1.4;
  }
  /* section-product */
  .product-content-one {
    margin-bottom: 4.8rem;
  }
  .product-img-one {
    margin-top: 2.4rem !important;
    width: 80%;
    height: 70%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 75%;
  }
  .product-img-six {
    width: 90%;
    height: 100%;
  }
}
/* Bellow 900px */
@media (max-width: 76.25em) {
  /* section order */
  .pc-benefits-item {
    font-size: 1.4rem;
  }
  .fa-check {
    font-size: 1.2rem;
  }
  .product-img {
    margin: 0;
    display: inline-block;
    object-fit: contain;
    aspect-ratio: 3 / 4;
  }
  .product-img-one {
    margin-top: 2.4rem !important;
    width: 80%;
    height: 70%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 75%;
  }
  .product-img-six {
    width: 90%;
    height: 100%;
  }
  .pc-badges {
    font-size: 1rem;
    opacity: 0.85;
    text-align: center;
    padding: 0 0.8rem;
  }
}
/* Bellow 800px */
@media (max-width: 50em) {
  .header {
    padding: 3.2rem;
  }
  /* MENU BTN */
  .btn-mobile-nav {
    display: block;
  }
  .icon-mobile-nav {
    height: 6.4rem;
    width: 6.4rem;
    color: #fff;
  }
  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }
  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }
  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }
  /* Mobile Navigation */
  .main-nav {
    background: linear-gradient(
      to top,

      rgba(1, 30, 21, 0.9),
      rgba(1, 29, 19, 1)
    );
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 200vh;
    /*  */
    display: flex;
    align-items: center;
    justify-content: center;
    /* hide navigation */
    /* display: none; */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s;
  }
  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav-list {
    flex-direction: column;
    gap: 12.8rem;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    letter-spacing: 0.5px;
    color: #fff;
    font-weight: 600;
    font-size: 3.2rem;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
    transition: all 0.4s;
  }
  .arrow-circle {
    width: 3.2rem;
    height: 3.2rem;
    border: 3px solid #095d44;
    font-size: 1.8rem;
    margin-left: 8px;
  }
  .main-nav-link:hover,
  .main-nav-link:active {
    color: #cedfda;
    border-bottom: 1px solid #cedfda;
  }
  .main-nav-link.nav-cta:link,
  .main-nav-link.nav-cta:visited {
    padding: 1.8rem 3.6rem;
    letter-spacing: 0.5px;
    background-color: #fff;
    color: #095d44 !important;
    font-weight: 700;
    font-size: 3.2rem;
    transition: all 0.4s;
    text-decoration: none;
    border-bottom: none;
  }
  .main-nav-link.nav-cta:hover,
  .nav-cta:link:active {
    background-color: #095d44;
    color: #fff !important;
    text-decoration: none;
    border-bottom: none;
  }
  .main-nav-link.nav-cta:hover .arrow-circle {
    border: 3px solid #fff;
  }
  /* hero */
  .section.section-hero {
    max-width: 125rem;
    margin: 0 auto;
    padding: 12.8rem 0 2.4rem 0;
  }
  .hero {
    height: 180vh;
    width: 100%;
    margin: 0 auto;
    display: grid;
    align-items: stretch;
    justify-content: center;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr 1fr !important;
    row-gap: 6.4rem !important;
  }
  .heading-primary {
    width: 100%;
    font-size: 4.8rem;
    line-height: 1.5;
  }
  .hero-image-box {
    position: relative;
    align-self: flex-start;
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
  }
  .hero-image {
    top: 200px;
  }
  .hero-image-front:first-child {
    width: 180px;
    height: 380px;
    left: 5%;
    transform: translate(-10%, 5%);
  }
  .hero-image-back:last-child {
    width: 170px;
    height: 380px;
    right: 5%;
    transform: translate(10%, 10%);
  }
  .hero-reviews-box {
    margin-top: 3.2rem;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* spread content top ↔ bottom */
    height: 100%; /* make sure it fills the hero column */
  }
  .reviews {
    display: flex;
    align-items: center;
    justify-self: center;
    gap: 2.4rem;
    margin-bottom: 2.4rem;
  }
  .customer-img {
    height: 8rem;
    width: 8rem;
    margin-left: -1.8rem;
  }
  .hero-reviews-text {
    font-size: 2.4rem;
    padding: 0 1.8rem;
  }
  .tree-img-box {
    --spread: clamp(40px, 8vw, 50px); /* how far each tree moves from center */
    --tree-w: clamp(150px, 12vw, 200px); /* responsive width */

    --tree-h: clamp(50px, 20vw, 90px); /* responsive height */
  }
  .hero-btn {
    margin-bottom: 8rem;
  }
  /* section about */
  .section.section-about {
    padding: 4.8rem 0 8rem 0;
  }
  .grid-2-cols {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: (0.8fr, 1fr);
    gap: 1.8rem;
    align-items: stretch;
  }
  .about-heading-box {
    align-self: flex-start;
    justify-self: flex-start;
  }
  .about-list-item {
    font-weight: 400;
    font-size: 1rem;
  }
  /* section-how-it-work */
  .grid-4-cols {
    gap: 4.8rem;
  }
  .how-it-works-item {
    padding: 4.8rem 1.8rem;
  }
  .heading-tertiary {
    font-size: 2.8rem;
  }
  .text-how-it-works {
    font-size: 2.4rem;
  }
  /* section ingredients */
  .section-ingredients .heading-secondary {
    margin-bottom: 6.4rem !important;
    line-height: 1.4;
  }
  .container-ingredients.grid-2-cols {
    gap: 0rem !important;
    align-items: stretch;
  }
  .ingredients-text-box {
    padding: 2.4rem 0.4rem 0rem 1.2rem !important;
    border: 3rem;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 0rem;
    border-top-right-radius: 3rem !important;
    border-bottom-right-radius: 0rem !important;
  }

  .ingredients-list {
    margin-bottom: 6.4rem !important;
  }
  .ingredients-image-box {
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 3rem;
    border-top-left-radius: 0rem !important;
    border-bottom-left-radius: 3rem !important;
  }
  .ingredients-img {
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 3rem;
    border-top-left-radius: 0rem !important;
    border-bottom-left-radius: 3rem !important;
    aspect-ratio: 3 / 4;
  }
  /* section order now */
  .grid {
    display: grid;
  }
  .grid-3-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.8rem;
    align-items: stretch; /* ✅ makes all grid cells equal height */
    margin-bottom: 3.2rem;
  }
  .product-one {
    justify-self: flex-end;
  }
  .product-three {
    justify-self: flex-start;
  }
  .product-best-value {
    grid-column: span 2;
    grid-row: 2;
    justify-self: center;
    width: 50%;
  }
  .product-img-one {
    margin-top: 1.4rem !important;
    width: 80%;
    height: 90%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 90%;
  }
  .product-img-six {
    width: 90%;
    height: 90%;
  }
}
/* Bellow 600px */
@media (max-width: 37.5em) {
  /* section hero */
  .section.section-hero {
    max-width: 125rem;
    margin: 0 auto;
    padding: 8rem 0 2.4rem 0;
  }
  .hero {
    padding: 8rem 3.2rem 0.8rem 3.2rem;
    height: 180vh;
    grid-template-rows: 1fr 1fr;
    row-gap: 4.8rem !important;
  }
  /* hero */
  .heading-primary {
    font-size: 4.4rem;
  }
  .customer-img {
    height: 6.4rem;
    width: 6.4rem;
    margin-left: -1.2rem;
  }
  .hero-image {
    top: 170px;
  }
  .hero-image-front:first-child {
    width: 170px;
    height: 370px;
    left: 5%;
    transform: translate(-10%, 5%);
  }
  .hero-image-back:last-child {
    width: 150px;
    height: 370px;
    right: 5%;
    transform: translate(10%, 10%);
  }
  .tree-img-box {
    transform: translateY(-30px);
  }
  .hero-btn {
    margin-bottom: 8rem;
  }
  .tree-img-box {
    --spread: clamp(40px, 8vw, 50px); /* how far each tree moves from center */
    --tree-w: clamp(150px, 20vw, 200px); /* responsive width */

    --tree-h: clamp(50px, 25vw, 90px); /* responsive height */
  }
  /* section how it works  */
  .how-it-works-item {
    padding: 4.8rem 1.8rem;
  }
  .heading-tertiary {
    font-size: 3.2rem;
  }
  .text-how-it-works {
    font-size: 2.4rem;
  }
  /* section-ingidients */
  .ingredients-list-item {
    font-size: 1.8rem;
  }
  /* section-product */
  .grid-4-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.2rem;
    align-items: stretch;
  }
  /* section order now */
  .grid-3-cols {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 3.2rem;
  }
  .product-best-value {
    grid-column: span 1 !important;
    grid-row: 2;
    justify-self: center;
    width: 90%;
    justify-self: center;
  }
  .product-one {
    justify-self: center;
  }
  .product-three {
    justify-self: center;
  }
  .product-img-one {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 90%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 100%;
  }
  .product-img-six {
    width: 100%;
    height: 90%;
  }
}
/* Bellow 460px */
@media (max-width: 28.75em) {
  /* hero */
  .heading-primary {
    font-size: 3.8rem;
  }
  .heading-secondary {
    font-size: 3.2rem;
  }
  .heading-tertiary {
    font-size: 2.8rem;
  }
  .hero {
    padding: 8rem 3.2rem 0.8rem 3.2rem;
    height: 180vh;
    grid-template-rows: 1fr 1fr;
    row-gap: 0rem !important;
  }
  .customer-img {
    height: 5.2rem;
    width: 5.2rem;
    margin-left: -1.2rem;
  }
  .hero-image {
    top: 150px;
  }
  .hero-image-front:first-child {
    width: 160px;
    height: 360px;
    left: 5%;
    transform: translate(-10%, 5%);
  }
  .hero-image-back:last-child {
    width: 150px;
    height: 360px;
    right: 5%;
    transform: translate(10%, 10%);
  }

  .tree-img-box {
    transform: translateY(-40px);
  }
  .hero-btn {
    margin-bottom: 8rem;
  }
  /* section how it works*/
  .text-how-it-works {
    font-size: 2rem;
  }
  .product-img-one {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 90%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 100%;
  }
  .product-img-six {
    width: 90%;
    height: 90%;
  }
  .section-ingredients .heading-secondary {
    font-size: 3rem;
  }
}
/* Bellow 406px */
@media (max-width: 25.25em) {
  /* hero */
  .hero {
    row-gap: 6.4rem !important;
  }
  .heading-primary {
    font-size: 3.2rem;
    margin-bottom: 0;
  }
  .hero-image {
    width: 150px;
    height: 350px;
  }
  .hero-image-front {
    left: 0;
    transform: translate(-10%, 5%);
  }
  .hero-image-back {
    right: 10px;
    transform: translate(20%, 15%);
  }
  .section-ingredients .heading-secondary {
    font-size: 2.8rem;
  }

  .product-img-one {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 80%;
  }
  .product-img-three {
    margin-top: 1.4rem !important;
    width: 100%;
    height: 90%;
  }
  .product-img-six {
    width: 90%;
    height: 90%;
  }
}
