/* ===================================================================
   RESPONSIVE CSS
   =================================================================== */


/* ===================================================================
   TABLET: 481px - 1024px
   =================================================================== */
@media (min-width: 481px) and (max-width: 1024px) {
  /* Show desktop navbar, hide mobile */
  .desktop-navbar { display: block !important; }
  .mobile-header { display: none !important; }
  .bottom-nav { display: none !important; }

  /* Hero */
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2.2rem; }

  /* Grid tweaks */
  .deco-grid .col { flex: 0 0 50%; max-width: 50%; }

  /* Cart */
  .cart-item-card { flex-wrap: wrap; }

  /* Detail */
  .detail-main-img { height: 320px; }

  /* Float badges hide on small tablet */
  .hero-float-badge { display: none; }
}

/* DESKTOP: 1025px+ */
/* Make navbar search bar visible only on desktop */


@media (min-width: 1025px) {
  /* Show desktop navbar, hide mobile */
  .desktop-navbar { display: block !important; }
  .mobile-header { display: none !important; }
  .bottom-nav { display: none !important; }

  /* Hero */
  .hero h1 { font-size: 3.2rem; }
  .hero-float-badge { display: flex; }

  /* Cart layout */
  .cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
}


@media (max-width: 991px) {
  .nav-search { display: none !important; }
  .desktop-navbar .nav-link { padding: 0.35rem 0.6rem !important; font-size: 0.88rem; }


   .custom-card {
      max-width: 1100px;
      border-radius: 24px;
   }

   .form-section {
      padding: 4rem;
   }
}

@media (min-width: 768px) {
  .mobile-only { display: none !important; }
  .main-wrapper {
      padding: 2rem;
   }
   .custom-card {
      max-width: 850px;
      border-radius: 20px;
   }

   .image-section {
      height: 100%;
      min-height: 500px;
   }

   .form-section {
      padding: 2.5rem;
   }
}


/* ===================================================================
   UTILITY RESPONSIVE HELPERS
   =================================================================== */
@media (max-width: 767px) {
  .desktop-only { display: none !important; }
  .col-6.col-md-3 { max-width: 50%; }
}


/* ===================================================================
   MOBILE: 0 - 480px
   =================================================================== */
@media (max-width: 480px) {
  /* Show mobile, hide desktop nav */
  .desktop-navbar { display: none !important; }
  .mobile-header { display: flex !important; }
  .bottom-nav { display: block !important; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; text-align: center; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 0.9rem; }
  .hero-stats { justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
  .hero-img-wrap { margin-top: 2rem; }
  .hero-float-badge { display: none; }

  /* Cards */
  .deco-card-img { height: 120px; }
  
  .deco-card-title {
    font-size: 12px;
}

.deco-card-body {
    padding: 5px;

}

.deco-card-badge {
    display: none;
}
.deco-price-cart{
    padding: 0px 5px;
}

.btn-add-cart {
    padding: 2px 5px !important;
}

    .deco-price {
        font-size: 14px;
    }
.deco-card-loc {
    
    margin-bottom: 0px;
}

.why-card {
    padding: .5rem .5rem;
}
  /* Auth */
  .auth-card { margin: 0 0.5rem; }
  .auth-body { padding: 1.5rem; }

  /* Section titles */
  .section-title { font-size: 1.5rem; }

  /* Cart items */
  .cart-item-card { flex-wrap: wrap; }
  .cart-item-img { width: 70px; height: 65px; }

  /* Detail */
  .detail-main-img { height: 250px; }

  /* Profile stats row */
  .profile-stats-row > div { flex: 1 1 calc(50% - 0.5rem); }

  /* Footer */
  .footer { padding: 2rem 0 1rem; }

  /* Page hero */
  .page-hero h1 { font-size: 1.8rem; }

  /* Categories */
  .cat-circle {width: 80px; height: 80px; }
  .cat-scroll { justify-content: space-between;padding:10px  0px;}
  .cat-item span { font-size: 0.72rem; }
  
  .row > .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .toast-container-custom { bottom: 1.5rem; }
  .scroll-top-btn { bottom: 1.5rem; }
  .page-body { padding-bottom: 0; }
  
  .filter-btn {padding: 0.4rem .5rem;font-size: 10px;}
  .auth-header {
    padding: 0.5rem;
    }
    .main-img {
        height: 250px;
    }
    .thumbs img {
        height: 35px;
        
    }
    .price {
        font-size: 18px;
    }
    
    .contact-btn {
      
       padding: 5px 10px;
       
    }
    
    .product-card img {
        height: 120px;
    }
    
    .recent-product{
        padding: 5px !important;
    }
    
    .btn-checkout {
         margin:1rem 0rem;
    }
    .about-hero h1 {
    font-size: 1.8rem;
}
}

@media (max-width: 340px) {
    .cat-scroll {
        justify-content: center;
    }
}
 @media (max-width: 375px) {
        .stat-val { font-size: 16px; }
        .opt-info h6 { font-size: 14px; }
        .profile-banner { padding: 25px 10px; }
          .review-page {
        padding: 15px 5px;
    }

    .form-section {
        padding: 10px;
    }

    h2 {
        font-size: 18px;
    }

    .form-label {
        font-size: 12px;
    }

    .custom-input {
        font-size: 12px;
        padding: 6px 8px;
    }

    .star-rating label {
        font-size: 18px;
    }

    .btn-gradient {
        font-size: 13px;
        padding: 8px;
    }
    }





