@media (max-width: 1340px) {
  .hero-card-1 {
    left: 105px;
  }

  .hero-card-2 {
    right: 105px;
  }
}

/* =========================
   <= 1280px
========================= */
@media (max-width: 1280px) {
  .wrapper {
    max-width: 100%;
    padding: 0 24px;
    gap: 64px;
  }

  .section-header-glob-product {
    margin-top: 64px;
  }

  .section-nav {
    padding: 24px 24px 0;
  }

  .nav {
    max-width: 100%;
  }

  .section-header>p,
  .section-title-text {
    width: 100%;
  }

  .header-hero img {
    width: 100%;
    height: auto;
  }

  .hero-card {
    width: 240px;
    height: auto;
    font-size: 36px;
  }

  .about-folders,
  .fav-folders {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-folder,
  .fav-folder {
    width: 100%;
    max-width: 420px;
  }

  .about-folder-2,
  .about-folder-3 {
    top: 0;
  }

  .product-cards {
    padding: 0;
    gap: 24px;
  }

  .product-card {
    transform: none;
  }

  .product-box {
    width: 100%;
    height: 590px;
  }

  .product-box-image {
    width: 100%;
  }

  .footer-block {
    gap: 64px;
  }
}

/* =========================
     <= 1024px (tablet landscape)
  ========================= */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .section-header h1 {
    font-size: 36px;
  }

  .section-header>p {
    font-size: 20px;
  }

  .hero-card {
    position: static;
    transform: none;
    margin-top: 16px;
  }

  .header-hero {
    display: none;
    flex-direction: column;
    gap: 16px;
  }

  .product-cards {
    flex-direction: column;
    align-items: center;
  }

  .product-cards>img {
    transform: rotate(90deg);
    object-fit: cover;
    height: 28px;
    transform: rotate(90deg);
  }

  .product-card {
    width: 100%;
    max-width: 520px;
  }

  .tabs {
    white-space: nowrap;
    overflow: auto;
    height: auto;
    gap: 8px;
  }

  .tab {
    width: 100%;
  }

  .product-box {
    flex-direction: column;
    height: auto;
  }

  .product-box-content {
    width: 100%;
  }

  .product-box-image {
    height: 280px;
  }

  .section-contact {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    height: auto;
    padding: 32px;
  }

  .footer-block {
    flex-direction: column;
    gap: 32px;
  }

  .footer-fasie {
    flex-direction: column;
    height: auto;
    text-align: center;
  }
}

/* =========================
     <= 768px (tablet portrait)
  ========================= */
@media (max-width: 768px) {
  .about-folder {
    height: 312px;
    background-size: contain;
  }

  .header-hero {
    display: block;
  }

  .header-hero img {
    display: none;
  }

  .fav-folder {
    height: 377px;
    background-size: contain;
  }


  .about-folders,
  .fav-folders {
    gap: 10px;
  }

  .section-header-glob {
    margin-top: 120px;
  }

  .section-title {
    font-size: 18px;
    height: 48px;
  }

  .section-title-icon {
    width: 28px;
    height: 28px;
  }

  .section-header h1 {
    font-size: 28px;
  }

  .section-header h1 p {
    font-size: 28px;
  }

  .about-block {
    width: 100%;
    font-size: 24px;
  }

  .about-folder,
  .fav-folder {
    padding: 32px 24px;
  }

  .about-folder-title {
    font-size: 48px;
  }

  .about-folder-text,
  .fav-folder-text {
    font-size: 18px;
  }

  .fav-folder-title {
    font-size: 24px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-item {
    font-size: 14px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-text {
    font-size: 16px;
  }

  .contact-link {
    width: 100%;
    max-width: 280px;
  }

  .footer-menu-item a {
    font-size: 16px;
  }
}

/* =========================
     <= 480px (mobile)
  ========================= */
@media (max-width: 480px) {
  .header-hero {
    width: 100%;
  }

  .section-header>p {
    margin: 0;
  }

  .header-hero img {
    display: none;
  }

  .section-nav {
    padding: 16px 16px 0;
  }

  .mobile-section {
    display: block;
  }

  .nav {
    display: none;
  }

  .nav img {
    width: 150px;
    height: auto;
  }

  .nav-link {
    width: 100%;
  }

  .wrapper {
    padding: 0 16px;
    gap: 48px;
  }

  .section-header-glob-product {
    margin-top: 48px;
  }

  .section-header h1 {
    font-size: 22px;
  }

  .section-header>p {
    font-size: 16px;
  }

  .hero-card {
    font-size: 28px;
    width: 100%;
  }

  .hero-card p {
    font-size: 18px;
  }

  .section-title {
    font-size: 16px;
    padding: 8px 12px;
  }

  .tabs {
    padding: 8px;
  }

  .tab {
    font-size: 16px;
    height: 40px;
  }

  .product-box {
    padding: 12px;
  }

  .product-box-content {
    padding: 16px;
  }

  .box-content-title {
    font-size: 18px;
  }

  .box-content-text {
    font-size: 14px;
  }

  .box-content-item {
    font-size: 13px;
  }

  .product-box-image {
    height: 200px;
  }

  .footer-copy {
    font-size: 14px;
  }

  .product-items {
    padding: 0 12px 0 12px;
  }
}