/**
 * ShopCoir.com - Responsive Stylesheet
 * 
 * Optimized for:
 * - Desktop screens (1200px+)
 * - Tablets & Small Laptops (768px – 991px)
 * - Mobile Phones (320px – 767px)
 */

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.1rem;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .section-padding-sm {
    padding: 45px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 100px 0 70px;
    text-align: center;
  }

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

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats-row {
    margin-top: 40px;
  }

  .hero-stat-card {
    margin-bottom: 20px;
  }

  /* Mobile Navigation Drawer */
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 24px 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    border-bottom: 2px solid var(--color-secondary);
  }

  .navbar-collapse.show {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin-bottom: 18px;
  }

  .site-nav .nav-link {
    width: 100%;
    padding: 12px 14px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link.active {
    background-color: var(--color-beige);
  }

  .site-nav .nav-link.active::after {
    display: none;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
  }

  /* Wholesale Banner */
  .wholesale-banner {
    padding: 45px 30px;
    text-align: center;
  }

  .wholesale-banner h2 {
    font-size: 2.1rem;
  }

  .wholesale-banner p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }

  .top-bar {
    display: none; /* Hide top bar on mobile to maximize viewport area */
  }

  .section-padding {
    padding: 55px 0;
  }

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

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

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

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .form-card {
    padding: 26px 18px;
  }

  .inner-page-banner {
    padding: 60px 0;
  }

  .inner-page-banner h1 {
    font-size: 2.2rem;
  }

  .catalogue-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .category-filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .product-card-actions {
    flex-direction: column;
  }

  .product-card-actions .btn {
    width: 100%;
  }

  .specs-table th {
    width: 45%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .site-footer {
    padding: 50px 0 25px;
  }

  .footer-title {
    margin-top: 25px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

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

  .navbar-brand img {
    height: 38px;
  }

  .product-card-img {
    height: 180px;
  }
}

