/**************************/
/* BELOW 1344px (Smaller desktops) */
/**************************/
@media (max-width: 84em) {
  .hero {
    max-width: 125rem;
  }
  .heading-primary {
    font-size: 4.4rem;
  }
  .hero-btn:link,
  .hero-btn:visited {
    font-size: 2.4rem;
  }
}
/**************************/
/* BELOW 1200px (Landscape Tablets) */
/**************************/
@media (max-width: 75em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }
  .container {
    padding: 0 4.8rem;
  }
  .grid {
    column-gap: 1.6rem;
  }
}

/**************************/
/* BELOW 1100px (Tablets) */
/**************************/
@media (max-width: 69em) {
  .grid {
    row-gap: 3.2rem;
  }
  .grid--col-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  /* .product-img {
  } */
}
/**************************/
/* BELOW 980px (Tablets) */
/**************************/
@media (max-width: 61em) {
  html {
    /* 8px / 16px  */
    font-size: 50%;
  }

  .grid {
    column-gap: 1.6rem;
  }
  .hero {
    padding: 0 0 0 4.8rem;
    grid-template-columns: 1fr;
  }
  .hero-img-box {
  }
  .hero-img {
    width: 80%;
    /* align-self: start; */
  }
  .hero-img-box,
  .hero-text-box {
    text-align: center;
    padding: 4.8rem 0 0 0;
  }

  /* ********************* */
  /* MOBILE NAVIGATION */
  /* ********************* */
  .header {
    /* TO HIDE DESKTOP HEADER */
    display: none;
  }
  .mobile-header {
    /* TO VISIBLE MOBILE HEADER */
    display: block;
  }
  .mobile-header .header-icons {
    background-color: #fff;
    /* چون که در کدهای هدر برای دسکتاپ جاستیفای سلف را اند ست کرده ایم بایداینجا هم همان جاستیفای سلف را سنتر بگذاریم تا وسط چین شود */
    justify-self: center;
    padding: 1.6rem 0;
  }
  .mobile-menu-container {
    background-color: #ddc8a1;
    position: relative;
  }
  .mobile-header .main-nav {
    background-color: #ddc8a1;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    /* height: 100vh; */
    transform: translateX(-100%);
    transition: all 0.5s ease-in;

    display: flex;
    justify-content: center;

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
  }
  .mobile-header.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(0);
  }
  .mobile-header.nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }
  .mobile-header.nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }
  .mobile-header .main-nav-list {
    flex-direction: column;
    gap: 4.8rem;
    padding-bottom: 4.8rem;
  }
}
/**************************/
/* BELOW 720px (Smaller Tablets) */
/**************************/
@media (max-width: 45em) {
  .grid {
    row-gap: 1.6rem;
  }
  .grid--col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text-box {
    padding: 8.8rem 0 0 0;
  }
  .heading-primary {
    font-size: 3.4rem;
    margin-bottom: 3.4rem;
  }
  .heading-secondary {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 2rem;
  }

  .hero-btn:link,
  .hero-btn:visited {
    font-size: 2rem;
  }
  .hero-img {
    height: 30%;
  }
  .banner-grid {
    grid-template-columns: 1fr;
  }
  .banner-small-screen {
    grid-row: 4;
  }
  .footer-grid {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 5rem;
  }
  .account-col,
  .useful-link-col,
  .customer-service-col {
    grid-row: 1;
    grid-column: span 2;
  }
  .logo-col,
  .contact-info-col {
    grid-row: 2;
    grid-column: span 3;
  }
  .footer-heading {
    margin-bottom: 3.6rem;
    font-size: 1.8rem;
    font-weight: 700;
  }
  .footer-about-description {
    font-size: 2rem;
    font-weight: 600;
  }
  .address {
    font-size: 1.4rem;
    font-weight: 500;
  }
}

/**************************/
/* BELOW 544px (Phones) */
/**************************/
@media (max-width: 34em) {
  .hero-btn:link,
  .hero-btn:visited {
    padding: 1.6rem 3.2rem;
    font-size: 3rem;
  }
}

/* 
- Font sizes (px)
10 / 11/ 12 / 13/ 14 / 15/ 16 / 18 / 20 / 24 / 30 / 36 / 40/ 44 / 52 / 62 / 74 / 86 / 98
- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/
