/* ============================================================
   NEEV — Progressive Mobile-First Responsive Breakpoints
   ============================================================ */

/* ═══════════════ TABLET & DESKTOP (992px to 1200px) ═══════════════ */
@media (max-width: 1200px) {
  .container { max-width: 100%; padding-left: 2rem; padding-right: 2rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 991px) {
  /* Header */
  .header-nav, .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  
  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-tag-pill { margin: 0 auto 1.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 460px; margin: 0 auto; }

  /* Catalogue Layout */
  .catalogue-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .catalogue-sidebar {
    display: none !important;
  }
  .btn-filter-mobile {
    display: inline-flex !important;
  }
  .catalogue-content .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  /* Product Details */
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Cart & Checkout */
  .cart-grid, .checkout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Editorial & Story */
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Mission & Vision */
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  /* Craft Process Grid */
  .craft-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact Page Grid */
  .contact-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ═══════════════ MOBILE PHONES (Up to 768px) ═══════════════ */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --section-py: 3.5rem;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Header mobile bar */
  .header-inner {
    height: var(--header-h);
    padding: 0 1rem;
  }
  .header-logo img {
    height: 44px;
    max-height: 48px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .footer-logo img {
    height: 44px;
    max-width: 230px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Trust Bar Banner */
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Categories & Products */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .product-card-content {
    padding: 0.85rem;
  }
  .product-card-title {
    font-size: 0.95rem;
  }
  .current-price {
    font-size: 1rem;
  }

  /* Craft Process */
  .craft-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* About Page: 2+ Years Badge & Images */
  .about-images-container {
    position: relative;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .about-img-primary {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--card-radius);
  }
  .about-img-secondary {
    display: none;
  }
  .about-badge-card {
    position: absolute;
    bottom: -15px;
    right: 15px;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Single Track Responsive Timeline */
  .responsive-timeline {
    position: relative;
    padding-left: 2rem;
  }
  .responsive-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 2px;
    background: var(--color-gold);
  }
  .timeline-entry {
    position: relative;
    margin-bottom: 2rem;
  }
  .timeline-node {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-green);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .node-year {
    display: none;
  }
  .timeline-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
  }

  /* Values Section */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Contact Cards & Business Hours */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .col-md-6, .col-md-4 {
    width: 100%;
    flex: 1 1 100%;
  }

  /* Floating Action Buttons */
  .floating-action-group {
    bottom: calc(20px + env(safe-area-inset-bottom, 0));
    right: 20px;
  }
  .floating-wa-btn {
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
  }
  .floating-top-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Account Layout */
  .account-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Catalogue Layout & Mobile Refinements */
  .catalogue-top-bar {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }
  .top-bar-left {
    width: 100%;
    justify-content: space-between;
  }
  .top-bar-right {
    width: 100%;
  }
  .sort-form {
    width: 100%;
    justify-content: space-between;
  }
  .sort-select {
    flex: 1;
    max-width: 220px;
  }
  .catalogue-content .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .active-filter-chips-bar {
    padding: 0.65rem 0.85rem;
    gap: 6px;
  }
  .filter-drawer-panel {
    width: 95%;
    max-width: 100%;
  }
}

/* ═══════════════ SMALL SCREENS & IPHONES (320px to 480px) ═══════════════ */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description {
    font-size: 0.9rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .product-card-pricing {
    flex-direction: column;
    gap: 2px;
  }
  .btn-quick-add {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  /* Small Mobile Catalogue */
  .catalogue-hero {
    padding: 2.5rem 0 2rem;
  }
  .catalogue-title {
    font-size: 1.95rem;
  }
  .catalogue-content .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }
  .product-card-content {
    padding: 0.65rem;
  }
  .product-card-title {
    font-size: 0.825rem;
  }
  .current-price {
    font-size: 0.95rem;
  }
  .catalogue-pagination-wrap {
    margin-top: 2rem;
  }
  .page-link {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    font-size: 0.8rem;
  }
}
