/* Mobile Responsive CSS for Souq Al-Sham */

/* Mobile First Approach */
@media (max-width: 640px) {
  /* Header adjustments */
  .header-title {
    font-size: 1rem !important;
  }
  
  /* Button sizes */
  button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Card layouts */
  .ad-card {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Form inputs */
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Modal adjustments */
  .modal {
    width: 95%;
    max-width: 95%;
  }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
  
  .ad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .container {
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .ad-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  button, a {
    min-height: 44px;
    min-width: 44px;
  }
}