/* ==========================================================
   Responsive Stylesheet for ACG Template
   ========================================================== */

/* Large Tablets & Laptops (<= 1199.98px) */
@media (max-width: 1199.98px) {
  .waranties-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .header-search-container {
    max-width: 480px;
    margin: 0 14px;
  }
}

/* Medium Tablets & Mobile Landscape (<= 991.98px) */
@media (max-width: 991.98px) {
  .middle-bar-teal {
    height: auto;
    padding: 12px 0;
  }

  .middle-bar-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand-logo-acg {
    order: 1;
  }

  .middle-bar-row > .d-flex {
    order: 2;
  }

  .header-search-container {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin: 4px 0 0;
  }

  .waranties-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero-swiper-container {
    aspect-ratio: 16 / 8;
    max-height: 320px;
  }
}

/* Mobile Devices (<= 767.98px) */
@media (max-width: 767.98px) {
  .top-bar-section {
    display: none !important;
  }

  .sub-nav-bar {
    display: none !important;
  }

  .hero-swiper-container {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }

  .waranties-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0 20px;
  }

  .waranty-card {
    padding: 10px 14px;
  }

  .category-circle-item {
    min-width: 120px;
    max-width: 130px;
  }

  .category-img-circle {
    width: 105px;
    height: 105px;
  }

  .category-title-text {
    font-size: 12.5px;
    margin-top: 8px;
  }

  .section-title-acg {
    font-size: 1.15rem;
  }

  .cardMain {
    min-width: 240px;
    max-width: 240px;
    padding: 10px;
  }

  .cardMain-header {
    height: 145px;
  }

  .theFooter-start {
    padding-block: 2.5rem 1.5rem;
  }

  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .back-to-top-btn {
    bottom: 75px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* New ACG logo is wider — keep header compact on small screens */
@media (max-width: 767.98px) {
  .acg-main-logo { height: 44px; padding: 2px 6px; }
}
