/* ------------------------------------
   RESPONSIVE MEDIA QUERIES
------------------------------------ */
@media (max-width: 768px) {
  /* Header becomes static on mobile */
  header {
    position: static !important;
    top: auto !important;
    box-shadow: none !important;
    z-index: auto !important;
    padding: 15px 0;
  }

  /* Stack logo and nav vertically */
  header .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  /* Nav links go vertical and centered */
  .nav-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links li {
    margin: 8px 0;
  }

  .nav-links a {
    font-size: 1.05rem;
    color: #fff;
    display: block;
    width: 100%;
    padding: 10px 0;
    transition: background 0.3s ease;
  }

  .nav-links a:hover {
    background-color: rgba(230, 204, 158, 0.1);
    color: #e6cc9e;
  }

  /* Cart icon spacing */
  .cart-icon {
    margin-top: 10px;
  }

  .logo h1 {
    font-size: 2rem;
  }
}


/* Tablets (landscape and portrait) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h2 {
    font-size: 2.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .products h2,
  .cart h2,
  .user-details h2 {
    font-size: 2.5rem;
  }

  .form-card {
    padding: 30px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablets and Large Phones */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .hero {
    height: 400px;
  }

  .hero-text h2 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .form-card {
    padding: 25px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .slider-container .prev-btn,
  .slider-container .next-btn {
    padding: 10px;
    font-size: 1.2rem;
  }
}

/* Phones (small devices) */
@media (max-width: 480px) {
  .logo h1 {
    font-size: 2rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hero {
    height: 300px;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .products h2,
  .cart h2,
  .user-details h2 {
    font-size: 2rem;
  }

  .product-info h3 {
    font-size: 1.4rem;
  }

  .product-info p,
  .product-info .price {
    font-size: 1rem;
  }

  .add-to-cart {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .quantity-select {
    font-size: 0.9rem;
    padding: 8px;
  }

  .form-card {
    padding: 20px;
  }

  .form-group input {
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .whatsapp-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .whatsapp-btn i {
    font-size: 1.2rem;
  }

  .cart-summary p {
    font-size: 1.2rem;
  }

  .btn-clear {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .cart-empty i {
    font-size: 2.5rem;
  }

  .cart-empty p {
    font-size: 1rem;
  }

  .social-icons a {
    font-size: 1.2rem;
  }

  .footer-column h3 {
    font-size: 1.4rem;
  }

  .footer-column p,
  .footer-column ul li a {
    font-size: 0.9rem;
  }
}


