/* ============================================================
   AVANT GARDE INDUSTRIES — Responsive Stylesheet
   Mobile-first: Tablet, Desktop overrides
============================================================ */

/* ---- MOBILE (< 576px) ---- */
@media (max-width: 575.98px) {
  /* Product Card */
  .product-category-badge{
    font-size: .5rem;  
    padding: .1rem .3rem;
    border-radius: 12px;
  }

  .product-card-body {  
    padding:1rem 0.5rem 1.1rem;  
  }
  .product-card-desc{
    font-size: .6rem;
    margin-bottom: 0px;
  }
  .product-card-name{
    font-size: .72rem; 
  }
  .product-card-price{
    font-size: .7rem;
  }



  /*  */
  .py-6 { padding-top: 3rem; padding-bottom: 3rem; }

  /* Navbar */
  #mainNav { padding: .75rem 0; }
  .brand-main { font-size: .9rem; }
  .navbar-collapse { background: var(--navy-dark); padding: 1rem; border-radius: 0 0 14px 14px; margin-top: .5rem; }
  .btn-quote { width: 100%; margin-top: .6rem; text-align: center; }

  /* Hero */
  .hero-section {
    min-height: 70svh;
    min-height: 70dvh;
    height: auto;
    padding: 4.5rem 0 2rem;
  }
  .hero-section .row { min-height: auto; }
  .hero-content { padding-top: 0; text-align: center; }
  .hero-search { width: 100% !important; }
  .hero-title { font-size: 1.75rem; }
  .hero-desc { font-size: .88rem; }
  .hero-badge { font-size: .7rem; margin: 0 auto 1rem; }
  .hero-actions { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 260px; }
  .hero-float-card { display: none; }
  .hero-visual { display: none !important; }
  .scroll-down-arrow { display: none; }

  /* Stats */
  .stat-number { font-size: 1.6rem; }

  /* Products */
  .product-card-footer { flex-wrap: wrap; }

  /* About */
  .about-features { grid-template-columns: 1fr; }
  .about-img-badge { right: .5rem; }
  .about-actions { display: flex; flex-direction: column; gap: .8rem; }
  .btn-primary-custom, .btn-outline-custom { width: 100%; text-align: center; }

  /* Section Header */
  .section-title { font-size: 1.6rem; }

  /* Floating Buttons */
  /* .floating-cart { bottom: 8.5rem; bottom: calc(8.5rem + env(safe-area-inset-bottom)); right: .75rem; right: calc(.75rem + env(safe-area-inset-right)); left: auto; width: 50px; height: 50px; font-size: 1.1rem; }
  .floating-buttons { right: .75rem; right: calc(.75rem + env(safe-area-inset-right)); left: auto; bottom: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .floating-btn { width: 46px; height: 46px; font-size: 1.15rem; }
  .floating-tooltip { display: none; } */

  /* Blog */
  .blog-excerpt { -webkit-line-clamp: 2; }

  /* Footer */
  .footer { padding-top: 3rem; padding-bottom: 2rem; }
  .footer-bottom { text-align: center; }
  .footer-copy { text-align: center !important; }
  .social-link { width: 32px; height: 32px; font-size: .9rem; }
}

/* ---- SMALL TABLET (576px – 767px) ---- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content { padding-top: 5.5rem; }
  .hero-title { font-size: 2rem; }
  .hero-visual { display: none !important; }
  .hero-float-card { display: none; }
  .about-features { grid-template-columns: 1fr; }
}

/* ---- TABLET (768px – 991px) ---- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title { font-size: 2.4rem; }
  .hero-visual { display: none !important; }
  .hero-float-card { display: none; }
  .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
  .section-title { font-size: 1.8rem; }
  .about-img-badge { right: .5rem; }
  .about-features { grid-template-columns: 1fr; }
}

/* ---- LAPTOP (992px – 1199px) ---- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title { font-size: 2.7rem; }
  .hero-float-card { left: -0.5rem; width: 200px; }
  .float-card-name { font-size: .76rem; }
}

/* ---- LARGE DESKTOP (≥ 1200px) ---- */
@media (min-width: 1200px) {
  .hero-title { font-size: 3.2rem; }
}

/* ---- NO HORIZONTAL SCROLL GUARD ---- */
body { max-width: 100vw; overflow-x: hidden; }
.container-xl { max-width: 1280px; padding-left: 1.25rem; padding-right: 1.25rem; }

/* ---- PRODUCT CARD GRID RESPONSIVE ---- */
@media (max-width: 575.98px) {
  #productsGrid .col-sm-6,
  #topChoiceGrid .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
}

/* ---- CHECKOUT MODAL ---- */
@media (max-width: 767.98px) {
  .payment-options { flex-direction: row; }
  .payment-option { min-width: 80px; }
  .modal-xl { --bs-modal-width: 95vw; }
}

/* ---- TESTIMONIAL CAROUSEL ---- */
@media (max-width: 575.98px) {
  .carousel-control-prev, .carousel-control-next { display: none; }
}

/* ---- CLIENTS SLIDER ---- */
@media (max-width: 575.98px) {
  .clients-slider-wrap::before, .clients-slider-wrap::after { width: 40px; }
  .client-logo-box { width: 120px; height: 54px; font-size: .75rem; }
}

/* ---- CATEGORY GRID ---- */
@media (max-width: 575.98px) {
  .categories-grid .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
}

/* ---- BLOG SECTION ---- */
@media (max-width: 767.98px) {
  .blog-section .col-md-4 { margin-bottom: .5rem; }
}

/* ---- STATS BAR ---- */
@media (max-width: 575.98px) {
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }
}

/* ---- MY ACCOUNT ---- */
@media (max-width: 575.98px) {
  .account-nav .nav-link { padding: .6rem .7rem; font-size: .8rem; }
  .account-stat-card { text-align: center; }
}

/* ---- HERO SEARCH ---- */
@media (max-width: 480px) {
  .search-wrap { flex-wrap: nowrap; }
  .btn-search { font-size: .8rem; padding: .85rem .9rem; }
}

/* ---- SCROLL BARS ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }



 
  /* <button class="floating-cart" id="floatingCart" onclick="openCart()" type="button" aria-label="Open shopping cart">
    <i class="fa-solid fa-cart-shopping" aria-hidden="true"></i>
    <span class="cart-badge" id="cartBadge" aria-live="polite">0</span>
  </button> */

 
  /* <div class="floating-buttons">
    <a href="https://wa.me/918451067001?text=Hello%20Avant%20Garde%20Industries%2C%20I%20am%20interested%20in%20your%20products."
      target="_blank" class="floating-btn whatsapp-btn" title="Chat on WhatsApp">
      <i class="fa-brands fa-whatsapp"></i>
      <span class="floating-tooltip">Chat on WhatsApp</span>
    </a>
    <a href="tel:+917088558870" class="floating-btn call-btn" title="Call Us">
      <i class="fa-solid fa-phone"></i>
      <span class="floating-tooltip">Call Us Now</span>
    </a>
  </div> */

 
  /* <div class="toast-container position-fixed bottom-0 start-50 translate-middle-x p-3" style="z-index:9999">
    <div id="cartToast" class="toast align-items-center text-white border-0" role="alert">
      <div class="d-flex">
        <div class="toast-body" id="toastMessage">Product added to cart!</div>
        <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"></button>
      </div>
    </div>
  </div> */