/* RESPONSIVE BREAKPOINTS */

/* Desktop 1280px and below */
@media screen and (max-width: 1280px) {
  :root {
    --page-width: 1024px;
  }
}

/* Tablet 1024px and below */
@media screen and (max-width: 1024px) {
  :root {
    --page-width: 768px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Tablet / Mobile 768px and below */
@media screen and (max-width: 768px) {
  .main-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) {
    display: none; /* Hide individual unit price column on mobile */
  }
}

/* Small Mobile 480px / 390px / 375px */
@media screen and (max-width: 480px) {
  :root {
    --page-padding: 1rem;
  }

  .header-logo img {
    max-height: 40px;
  }

  .page-main-title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cart-item-flex {
    gap: 1rem;
  }

  .cart-item-img {
    width: 6rem;
    height: 6rem;
  }

  .button {
    width: 100%;
    padding: 1.4rem 2rem;
  }

  .cart-summary-box {
    width: 100%;
    text-align: center;
  }
}
