/* =============================================
   ELYON ORGANICS LIMITED - Responsive Styles
   Tablet | Mobile | Small Devices
   ============================================= */

/* ---------- Tablet (max 991px) ---------- */
@media (max-width: 991.98px) {
  :root {
    --header-height: 100px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .navbar-collapse {
    background: var(--cream);
    padding: 20px;
    border-radius: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-md);
  }

  .header:not(.scrolled) .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
  }

  .header:not(.scrolled) .navbar-collapse .nav-link:hover,
  .header:not(.scrolled) .navbar-collapse .nav-link.active {
    color: var(--forest-green) !important;
  }

  .btn-enquiry {
    margin-top: 12px;
    width: 100%;
    text-align: center;
  }

  .about-main-img {
    height: 350px;
  }

  .about-badge {
    right: 20px;
    bottom: 20px;
  }

  .process-flow {
    justify-content: center;
  }

  .process-arrow {
    display: none;
  }

  .process-step {
    min-width: 100px;
    margin-bottom: 12px;
  }

  .factory-img {
    height: 300px;
  }

  .contact-form {
    padding: 28px;
  }

  .site-footer-inner {
    padding: 0 32px;
  }
}

/* ---------- Mobile (max 767px) ---------- */
@media (max-width: 767.98px) {
  :root {
    --header-height: 80px;
  }

  .header-top-bar {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0 !important;
  }

  .product-image {
    height: 220px;
  }

  .gallery-item img {
    height: 220px;
  }

  .site-footer-logo {
    margin-right: 0;
  }

  .site-footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: auto;
    padding: 28px 20px;
    gap: 18px;
  }

  .site-footer-copyright {
    font-size: 14px;
  }

  .site-footer-logo img {
    height: 44px;
  }

  .whatsapp-float {
    bottom: 48px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.75rem;
  }

  .back-to-top {
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .preloader-logo {
    width: 70px;
    height: 70px;
  }

  .preloader-text {
    font-size: 1rem;
    letter-spacing: 2px;
  }
}

/* ---------- Small Mobile (max 575px) ---------- */
@media (max-width: 575.98px) {
  .logo-name {
    font-size: 1.2rem;
  }

  .logo-img {
    width: 44px;
    height: 44px;
  }

  .experience-card,
  .why-card,
  .testimonial-card {
    padding: 28px 20px;
  }

  .site-footer-copyright {
    font-size: 13px;
  }

  .quote-item {
    flex-wrap: wrap;
  }

  .quote-item-info {
    flex: 1 1 calc(100% - 140px);
  }

  .product-gallery-main img {
    height: 280px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Tablet extras for new pages ---------- */
@media (max-width: 991.98px) {
  .gallery-masonry {
    columns: 2;
  }

  .page-hero {
    min-height: 300px;
    padding: 140px 0 50px;
  }

  .page-hero-sm {
    min-height: 240px;
  }

  .product-gallery-main img {
    height: 360px;
  }

  .blog-nav {
    grid-template-columns: 1fr;
  }

  .blog-nav-link.next {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .gallery-masonry {
    columns: 1;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }

  .quote-toast {
    right: 16px;
    left: 16px;
    bottom: 90px;
    justify-content: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .site-footer-main .col-6 {
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    display: inline-block;
    text-align: left;
  }
}
