/*/////////////// 1279px and less /////////////*/
@media (min-width: 1921px) {
	#peak-performance .peak-pic-back li {
		height: 800px;
	}
}

@media (max-width: 1279px) {
	#header .logo {
		width: 130px;
	}
	.search-box {
		width: 150px;
	}
}


/*/////////// 1023 px and less //////////*/
@media (max-width: 1023px) {
  .mobile-nav-toggle,
  #header .home-link {
    display: block;
  }

  .nav-active .mobile-nav-toggle .cross {
    display: block;
    color: var(--clr-primary);
    margin-bottom: 30px;
  }

  #nav-wrapper {
    position: absolute;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    padding: 100px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease-in-out;
    display: block !important;
    z-index: 1000;
    border-radius: 0;
  }

  .nav-active #nav-wrapper {
    right: 0;
    height: 100%;
    border-radius: 0;
    z-index: 10000;
    padding-top: 30px;
    overflow: auto;
	position: absolute;
	height: 100vh;  
  }
	
  #header .nav-wrapper::after {
	display: none;
  }	

  #nav-wrapper .menu {
    flex-direction: column;
    gap: 20px;
  }

  #nav-wrapper .menu-item a {
    font-size: 18px;
    color: var(--clr-black);
    display: block;
    width: 100%;
  }

  #nav-wrapper .sub-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 10px 0 10px 15px;
    display: block;
    min-width: auto;
  }
  
   #categories .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
    #quality-products .quality-wrapper {
    flex-direction: column;
  }

  #quality-products .quality-content {
    width: 100%;
    padding: 20px;
  }

  #quality-products .quality-images {
    position: relative;
    width: 100%;
    height: 400px;
  }

  #quality-products .mid-img {
    width: 100%;
    top: 0;
    right: 0;
    z-index: 2;
    height: 400px;
  }

  #quality-products .top-img,
  #quality-products .bottom-img {
    display: none;
  }
  
  #peak-performance .peak-pic-back li {
    height: 280px;
  }
  
  #contact-home .content {
    margin-left: 0;
    padding: 30px 5%;
  }
  #contact-home .contact-card {
    flex-direction: column;
  }
  #contact-home .contact-visual {
    margin-left: 0;
    width: 100%;
  }
  #contact-home .contact-visual h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
  }
  #contact-home .img-wrapper {
    width: 100%;
    height: 100%;
    margin-left: 0;
  }
  #contact-home .contact-form-wrapper {
    padding: 80px 0 10px;
  }
  #contact-home .form-row {
    grid-template-columns: 1fr;
  }
  #contact-home .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/*////////////////// 991px and les ////////////////*/
@media (max-width: 991px) {
  #peak-performance .peak-pic-front .content-wrapper {
    gap: 5px;
    padding: 10px;
    display: flex;
  }
  #peak-performance .peak-pic-back li {
    height: 230px;
  }
    #tag-growth-section .growth-content-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    #tag-growth-section .growth-left-content {
        padding: 40px 25px;
    }

    #tag-growth-section .growth-right-images {
        height: 450px;
        max-width: 600px;
        margin: 0 auto;
    }
        
    #tag-fitness-gallery {
        padding-top: 80px;
    }  
    .search-hero {
    flex-direction: column;
    gap: 20px;
    padding: 32px 0 28px;
  }

  .search-refine-form {
    width: 100%;
    flex-direction: column;
  }

  .search-refine-input-wrap {
    width: 100%;
  }

  .search-refine-input {
    width: 100%;
  }

  .search-refine-btn {
    width: 100%;
  }

  .search-result-thumb {
    width: 88px;
    height: 68px;
  }
}


/*//////////////// 767px and less /////////////////*/
@media (max-width: 767px) { 
  #header .logo {
    width: 150px;
  }
  
  #hero-home .hero-text-area {
      margin-top: 170px;
  }
  
   #categories .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  #categories {
    padding-bottom: 40px;
  }
  
  #quality-products {
    padding: 40px 0;
  }
  
  #peak-performance .section-heading {
    margin-bottom: 30px;
  }

  #peak-performance .peak-pic-front {
    width: 100vw;
    gap: calc(4% / 3);
  }

  #peak-performance .peak-pic-back li {
    height: 140px;
    margin: 6px;
  }
	
  #peak-performance .peak-pic-front {
	margin: 24px auto 10px;
  }	
  
  #contact-home input.btn {
    bottom: 16%;
    width: 90%;
  }    
  
  footer .footer-bottom {
    flex-direction: column;
  }

  footer .footer-bottom .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  #contact-home .form-footer {
    margin-top: 18px;  
  }
}


/*/////////////////// 639px and less //////////////////*/
@media (max-width: 639px) {
  #top-bar {
    gap: 10px;
  }
  #top-bar .contact-info a,
  #top-bar .top-nav .link-text,
  #top-bar .top-nav .social-icon,
  #top-bar .contact-info .fa-phone {
    font-size: 10px;
  }
  #top-bar .top-nav {
    gap: 10px;
  }
}


/*//////////////// 479px and less /////////////////////*/
@media (max-width: 479px) {
  #header {
    gap: 15px;
  }

  #header .search-box {
    height: 34px;
    width: 130px;
  }

  #header .cart-wrapper {
    height: 34px;
  }
  
  footer .footer-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .footer-logo {
    margin: 0 auto 15px;
  }
  #hero-home.hero-about {
        min-height: 440px;
    }
    
    #about-detail .desc-wrap {
        padding-bottom: 50px;
    }
    
    #tag-growth-section .growth-actions {
        flex-direction: column;
    }
    
    #tag-growth-section .growth-right-images {
        height: 280px;
    }
    
    #tag-growth-section .img-top {
        left: 0;
        height: 200px;
    }
    
    #tag-growth-section .img-middle {
        left: 0;
        height: 240px;
    }
    
    #tag-growth-section .img-bottom {
        right: 0;
        height: 130px;
    }
      .search-result-item {
    flex-direction: column;
    gap: 14px;
  }

  .search-result-thumb {
    width: 100%;
    height: 160px;
    border-radius: 8px;
  }
}

