/* ============================================
   RESPONSIVE STYLES — CorveeIndia
   ============================================ */

/* ---------- Large Desktop (1400px+) ---------- */
@media (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

/* ---------- Desktop (992px - 1399px) ---------- */
@media (max-width: 1399px) {
  .products-grid.cols-6 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-slide {
    height: 450px;
  }

  .hero-slide-content .heading {
    font-size: 3.2rem;
  }
}

/* ---------- Tablet (768px - 991px) ---------- */
@media (max-width: 991px) {
  :root {
    --header-height: 65px;
  }

  /* Header */
  .nav-list {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .header-icons {
    gap: var(--space-md);
  }

  .logo-text {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .site-logo img {
    height: 40px;
  }

  /* Hero */
  .hero-slide {
    height: 380px;
  }

  .hero-slide-content {
    padding-right: 40px;
  }

  .hero-slide-content .heading {
    font-size: 2.8rem;
  }

  .hero-slide-content .subheading {
    font-size: 1.2rem;
  }

  /* Category Circles */
  .category-circles {
    gap: var(--space-lg);
  }

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

  .category-circle-label {
    font-size: 0.85rem;
  }

  /* Products Grid */
  .products-grid.cols-6,
  .products-grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Collections */
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collections-grid .collection-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

  /* Category Page */
  .category-layout {
    grid-template-columns: 220px 1fr;
    gap: var(--space-lg);
  }

  /* Product Page */
  .product-layout {
    gap: var(--space-xl);
  }

  /* Contact Page */
  .contact-layout {
    gap: var(--space-xl);
  }

  /* Full Banner */
  .full-banner {
    height: 350px;
  }

  .full-banner-content h2 {
    font-size: 2rem;
  }
}

/* ---------- Mobile Large (576px - 767px) ---------- */
@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Header */
  .logo-text {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .site-logo img {
    height: 35px;
  }

  .header-icons {
    gap: var(--space-sm);
  }

  .header-icon {
    font-size: 1.15rem;
  }

  /* Hero */
  .hero-slide {
    height: 300px;
  }

  .hero-slide-content {
    padding: 0 var(--space-lg);
    text-align: center;
    margin: 0 auto;
  }

  .hero-slide-content .heading {
    font-size: 2rem;
  }

  .hero-slide-content .subheading {
    font-size: 1rem;
  }

  /* Category Circles */
  .category-circles-section {
    padding: var(--space-xl) 0;
  }

  .category-circles {
    gap: var(--space-md);
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 var(--space-md);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-circles::-webkit-scrollbar {
    display: none;
  }

  .category-circle {
    scroll-snap-align: center;
    flex-shrink: 0;
  }

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

  .category-circle-img .cat-icon {
    font-size: 2.2rem;
  }

  .category-circle-label {
    font-size: 0.78rem;
  }

  /* Products */
  .products-section {
    padding: var(--space-2xl) 0;
  }

  .products-grid.cols-6,
  .products-grid.cols-4,
  .products-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .product-card-details {
    padding: var(--space-sm) 8px 8px;
  }

  .product-card-title {
    font-size: 0.875rem;
  }

  .price-current {
    font-size: 0.875rem;
  }

  .price-original {
    font-size: 0.75rem;
  }

  /* Section Tabs */
  .section-tabs {
    gap: var(--space-md);
  }

  .section-tab {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Category Filters */
  .category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-sm);
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .category-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Collections */
  .collections-section {
    padding: var(--space-2xl) 0;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .collections-grid .collection-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .collection-card-image {
    height: 200px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .feature-text h4 {
    font-size: 0.8rem;
  }

  .feature-text p {
    font-size: 0.7rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Full Banner */
  .full-banner {
    height: 250px;
  }

  .full-banner-content h2 {
    font-size: 1.5rem;
  }

  .full-banner-content p {
    font-size: 1rem;
  }

  .btn-banner {
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  /* Category Page */
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    padding-right: 0;
    display: none;
  }

  .category-sidebar.mobile-visible {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--color-white);
    z-index: 1060;
    padding: var(--space-lg);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .category-toolbar {
    flex-wrap: wrap;
  }

  /* Product Page */
  .product-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .product-gallery {
    position: static;
  }

  .product-info .product-title {
    font-size: 1.4rem;
  }

  .product-info .price-current {
    font-size: 1.3rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-wishlist {
    width: 100%;
    height: 48px;
  }

  /* Contact Page */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ---------- Mobile Small (< 576px) ---------- */
@media (max-width: 575px) {
  .hero-slide {
    height: 240px;
  }

  .hero-slide-content .heading {
    font-size: 1.6rem;
  }

  .hero-slide-content .subheading {
    font-size: 0.85rem;
  }

  .slider-dots {
    bottom: 15px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .product-card-add,
  .product-card-wishlist {
    opacity: 1;
    transform: none;
  }

  .product-card-add {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    bottom: 70px;
    right: 6px;
  }

  .product-card-wishlist {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .product-gallery-thumb {
    width: 60px;
    height: 60px;
  }

  .product-tabs-nav {
    gap: var(--space-md);
  }

  .product-tab-btn {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .site-header,
  .main-nav,
  .side-menu,
  .side-menu-overlay,
  .back-to-top,
  .search-modal {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .container {
    max-width: 100%;
  }
}
