/* ==========================================================================
   MALVIRA SAREES - Responsive & Mobile Styling
   Optimized for Desktops, Laptops, Tablets, and Smartphones
   ========================================================================== */

/* Medium Desktops & Laptops (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 2.6rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .franchise-banner-grid {
    grid-template-columns: 1fr;
  }
  
  .franchise-banner-media {
    min-height: 280px;
  }
  
  .store-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partner-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .top-bar-right .top-bar-hours {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 82px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 82px);
    background: #FAF7F2;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    transition: left var(--transition-normal);
    z-index: 999;
    border-right: 2px solid var(--color-gold);
    overflow-y: auto;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-actions .btn-enquire-nav {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    padding-right: 0;
  }
  
  .hero-supporting {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-trust-grid {
    justify-content: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 20px;
  }
  
  .hero-frame img {
    height: 420px;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-badge-heritage {
    right: 10px;
  }
  
  .about-frame img {
    height: 400px;
  }
  
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .regional-state-grid {
    grid-template-columns: 1fr;
  }
  
  .pan-india-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .state-badge-cloud {
    justify-content: center;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 56px; /* Spacing for fixed mobile bottom bar */
  }
  
  .top-bar {
    font-size: 0.74rem;
    padding: 6px 0;
  }
  
  .top-bar .container {
    justify-content: center;
    padding: 0 12px;
  }
  
  .top-bar-right {
    display: none;
  }
  
  .top-bar-left {
    justify-content: center;
    width: 100%;
    gap: 8px;
    flex-wrap: nowrap;
  }
  
  .top-bar-label {
    font-size: 0.72rem;
    white-space: nowrap;
  }
  
  .top-bar-pills {
    gap: 6px;
  }
  
  .top-bar-pill.call-pill {
    display: none; /* Keep top bar clean on mobile, phone call is in mobile bottom action bar */
  }
  
  .top-bar-pill.whatsapp-pill {
    padding: 3px 8px 3px 5px;
    font-size: 0.72rem;
  }
  
  .pill-icon {
    width: 18px;
    height: 18px;
  }
  
  .header-nav {
    height: 68px;
  }
  
  .nav-container {
    height: 68px;
    padding: 0 16px;
  }
  
  .brand-logo img {
    height: 40px;
  }
  
  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .hero-supporting {
    font-size: 0.95rem;
  }
  
  .hero-trust-grid {
    gap: 12px;
    padding: 12px;
  }
  
  .hero-trust-item {
    font-size: 0.78rem;
  }
  
  .hero-frame img {
    height: 350px;
  }
  
  .section-title {
    font-size: 1.65rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .category-img-wrap {
    height: 380px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .franchise-checklist {
    grid-template-columns: 1fr;
  }
  
  .store-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .partner-types-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .enquiry-form-body {
    padding: 24px 18px;
  }
  
  .final-cta-grid {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-legal-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .floating-whatsapp {
    bottom: 68px;
    right: 14px;
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  
  .mobile-bottom-bar {
    display: grid;
  }
}

/* Small Smart Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.7rem;
  }
  
  .btn-whatsapp-hero {
    width: 100%;
    justify-content: center;
  }
  
  .btn-outline-hero {
    width: 100%;
    justify-content: center;
  }
  
  .hero-badge-wholesale {
    bottom: -10px;
    left: 10px;
    font-size: 0.7rem;
  }
}
