/* ============================================================
   UDUPI SPICES — RESPONSIVE MEDIA QUERIES
   Breakpoints:
     xs  : < 480px       (small phones)
     sm  : 480px–767px   (large phones)
     md  : 768px–991px   (tablets)
     lg  : 992px–1199px  (small desktops / landscape tablets)
     xl  : ≥ 1200px      (large desktops — base styles already cover this)
   ============================================================ */


/* ============================================================
   LARGE DESKTOPS  ≥ 1200px
   ============================================================ */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  #about{
    margin: 20px 0;
  }
  .btn-hero-primary, .btn-hero-outline{
    font-size: 10px;
    padding: 10px;
  }
  .banner-section .button-margin {
    bottom: 20px;
  }
}





/* ============================================================
   SMALL DESKTOPS / LANDSCAPE TABLETS  992px – 1199px
   ============================================================ */
@media (max-width: 1199px) {
  /* Navbar */
  .navbar {
    padding: 0.5rem 1.2rem;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }

  /* Banner */
  .banner-section .button-margin {
    bottom: 20px;
  }

  .top-design img {
    top: 20px;
    width: 150px;
}

.right-design img{
    top: 20px;
     width: 150px;
}

.bottom-design img{
      bottom: 0px;
    width: 150px;
    right: 20px;
}

.bottomleft-design img{
      bottom: 0px;
    width: 150px;
    left: 20px;
}

  /* About */


  /* Products */
  .products-section {
    padding: 3rem 0;
  }

  /* Testimonials */
  .testimonials-heading {
    font-size: 2.4rem;
  }

  /* Footer ornaments */
  footer img.top,
  footer img.right,
  footer img.bottom,
  footer img.left {
    width: 80px;
  }
}


/* ============================================================
   TABLETS  768px – 991px
   ============================================================ */
@media (max-width: 991px) {

  /* ── Navbar ── */
  .navbar {
    padding: 0.5rem 1rem;
    background-color: #7a3b1e;
  }
  .navbar-brand {
    font-size: 1.25rem;
    letter-spacing: 1px;
  }
  .navbar-collapse {
    background: #7a3b1e;
    /* padding: 0.5rem 1rem 1rem; */
    border-top: 1px solid rgba(201,149,42,0.3);
    margin-top: 4px;
  }
  .navbar-nav .nav-link {
    padding: 0.55rem 0 !important;
    /* border-bottom: 1px solid rgba(255,255,255,0.15); */
  }

  .cart-btn{
    width: 100px;
    background: none;
    border: none;
    padding: 10px 0;
  }
  .cart-count{
    top: 0px;
    right: 0px;
  }

  /* ── Banner ── */
  .banner-section .button-margin {
    bottom: 20px;
  }


   /* ── Banner ── */
   .banner-section .largeview{
    display: none;
  }

  .banner-section .mobileview{
    display: block;
  }

 

  .heritage-img{
    width: auto;
  }

  .aboutus-flex{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* ── About ── */
  #about .row {
    flex-direction: column-reverse;
  }

  /* ── Process / Story row ── */
  .py-5.bg-light .row .col-md-4 {
    margin-bottom: 1.5rem;
  }

  /* ── Features strip ── */
  .features-strip {
    padding: 2rem 0;
  }
  .feature-item {
    padding: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .process-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.process-grid .item h4{
  font-size: 18px;
}

  /* ── Products ── */
  .products-section {
    padding: 2.5rem 0;
  }
  .product-col {
    flex-basis: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
  .product-slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .filter-btn {
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
  }

  /* ── Testimonials ── */
  .testimonials-section {
    padding: 40px 12px 36px;
  }
  .testimonials-heading {
    font-size: 2rem;
    margin-bottom: 24px;
  }
  .testi-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }
  .testi-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  /* ── Contact ── */
  #contact .row {
    flex-direction: column;
  }
  #contact .col-md-4,
  #contact .col-md-8 {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .contact-card {
    padding: 28px 20px;
    margin-top: 2rem;
  }

  /* ── Checkout modal ── */
  #checkoutOverlay > div {
    margin: 20px auto;
  }

  /* ── Footer ── */
  footer {
    padding: 2rem 0 1rem;
  }
  footer img.top,
  footer img.right,
  footer img.bottom,
  footer img.left {
    width: 70px;
  }
  footer .col-md-3 {
    margin-bottom: 1.5rem;
  }
}


/* ============================================================
   LARGE PHONES  480px – 767px
   ============================================================ */
@media (max-width: 767px) {

  /* ── Navbar ── */
  .navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
  }
  .cart-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem !important;
  }

  .process-grid .item h4{
  font-size: 16px;
  margin: 0;
}

 .process-grid .item img{
  width: 80px;
}



 

  .banner-section .button-margin {
    bottom: 24px;
    width: 90%;
    text-align: center;
  }
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 0.5rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 1px;
    margin: 0.2rem 0.15rem;
  }



.top-design img{
    top: 20px;
    width: 100px;
}

.right-design img{
    top: 20px;
    width: 100px;
}

.bottom-design img{
      bottom: 0px;
    width: 100px;
    right: 20px;
}

.bottomleft-design img{
      bottom: 0px;
    width: 100px;
    left: 20px;
}

  /* ── About ── */
  #about {
    padding: 2rem 0 !important;
  }
  #about .col-md-6 {
    padding: 0 1rem;
  }
  .heritage-img {
    height: 180px;
    box-shadow: 8px 8px 0 var(--gold);
    margin-bottom: 16px;
  }
  #about h2 {
    font-size: 20px;
  }
  #about p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* ── Process steps ── */
  .py-5.bg-light {
    padding: 1rem 0;
  }

  .process-step i {
    font-size: 2rem;
  }

  /* ── Features strip ── */
  .features-strip {
    padding: 1.5rem 0;
  }
  .feature-item h5 {
    font-size: 0.88rem;
  }
  .feature-item p {
    font-size: 0.72rem;
  }
  .feature-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }

  /* ── Products ── */
  .products-section {
    padding: 2rem 0;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .section-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }
  .filter-wrap {
    margin-bottom: 1.2rem;
  }
  .filter-btn {
    padding: 0.3rem 0.75rem;
    font-size: 0.68rem;
    margin: 0.15rem;
  }
  .product-card {
    border-radius: 10px;
  }
  .product-name {
    font-size: 0.95rem;
  }
  .product-price {
    font-size: 1.1rem;
  }
  .btn-add-cart {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  /* ── Testimonials ── */
  .testi-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .testi-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
  }
  .testimonials-heading {
    font-size: 1.8rem;
  }

  /* ── Contact ── */
  .contact-card {
    padding: 22px 14px;
  }
  .contact-info-icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* ── Checkout modal ── */
  #checkoutOverlay > div {
    margin: 10px auto;
    border-radius: 12px;
  }
  #checkoutOverlay .row {
    flex-direction: column;
  }
  #checkoutOverlay .col-md-6,
  #checkoutOverlay .col-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* ── Cart sidebar ── */
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

  /* ── Footer ── */
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  footer img.top,
  footer img.right,
  footer img.bottom,
  footer img.left {
    width: 56px;
  }
  footer h5 {
    margin-top: 1rem;
  }
  footer ul li {
    margin-bottom: 0.3rem;
  }
  .footer-bottom {
    margin-top: 1.2rem;
    font-size: 0.72rem;
  }

  /* ── Toast ── */
  .toast-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
  .cart-toast {
    font-size: 0.78rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 650px) {

  .banner-section .button-margin {
        bottom: 20px;
        width: 90%;
        text-align: center;
    }
    .process-grid .item img{
      width: 60px;
    }
    
    
}

@media (max-width: 550px) {
  .banner-section .button-margin {
        bottom: 10px;
        width: 90%;
        text-align: center;
    }
    .top-design img{
    top: 20px;
    width: 50px;
}

.right-design img{
    top: 20px;
    width: 50px;
}

.bottom-design img{
      bottom: 0px;
    width: 50px;
    right: 20px;
}

.bottomleft-design img{
      bottom: 0px;
    width: 50px;
    left: 20px;
}
}

/* ============================================================
   SMALL PHONES  < 480px
   ============================================================ */
@media (max-width: 479px) {

  /* ── Navbar ── */
  .navbar {
    padding: 0.4rem 0.75rem;
  }
  .navbar-brand {
    font-size: 1rem;
  }
  .cart-btn span:not(.cart-count) {
    display: none; /* hide "Cart" text, show only icon + badge */
  }
  .process-grid .item h4 {
        font-size: 14px;
        margin: 0;
    }

  .process-grid .item img{
      width: 50px;
    }

  /* ── Banner ── */
  

  .banner-section .button-margin {
        bottom: 20px;
        width: 90%;
        text-align: center;
    }
  
  .btn-hero-primary,
  .btn-hero-outline {
    padding: 0.42rem 0.8rem;
    font-size: 0.66rem;
    letter-spacing: 0.5px;
    display: block;
    width: fit-content;
    /* margin: 0.2rem auto; */
  }

  /* ── Section headings ── */
  .section-title {
    font-size: 1.45rem;
  }
 
  .testimonials-heading {
    font-size: 1.55rem;
  }

  /* ── Heritage image ── */
  .heritage-img {
    height: 150px;
    box-shadow: 5px 5px 0 var(--gold);
  }

  /* ── Features strip ── */
  .feature-item {
    padding: 0.4rem 0.2rem;
  }
  .feature-item h5 {
    font-size: 0.78rem;
  }
  .feature-item p {
    display: none; /* hide subtitle on tiny screens, keeps it clean */
  }
  .feature-icon {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
  }

  /* ── Products — single column on tiny phones ── */
  .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .product-name {
    font-size: 0.9rem;
  }

  /* ── Testimonials ── */
  .testi-arrow {
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
  }
  .testi-frame {
    min-height: 260px;
  }
  .testi-avatar-wrap {
    width: 58px;
    height: 58px;
  }
  .testi-quote {
    font-size: 0.82rem;
  }

  /* ── Contact card ── */
  .contact-card {
    padding: 18px 10px;
    border-radius: 10px;
  }
  .form-control {
    padding: 10px;
    font-size: 0.88rem;
  }

  /* ── Checkout modal ── */
  #checkoutOverlay > div {
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  #checkoutOverlay h4 {
    font-size: 1.1rem;
  }

  /* ── Footer ── */
  footer img.top,
  footer img.right,
  footer img.bottom,
  footer img.left {
    width: 42px;
  }
  .footer-bottom {
    font-size: 0.68rem;
    padding-top: 0.8rem;
  }
}


/* ============================================================
   UTILITY — safe tap targets on touch devices
   ============================================================ */
/* @media (hover: none) and (pointer: coarse) {
  .filter-btn,
  .btn-add-cart,
  .btn-hero-primary,
  .btn-hero-outline,
  .qty-btn,
  .testi-arrow,
  .testi-dot,
  .cart-btn,
  .btn-checkout {
    min-height: 44px;
    min-width: 44px;
  }
  .qty-btn {
    width: 32px;
    height: 32px;
  }
} */
