/* ==========================================================================
   ROSALEIGH RESPONSIVE MEDIA QUERIES & MOBILE DRAWER NAVIGATION
   ========================================================================== */

/* Mobile Nav Drawer Overlay & Sidebar */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: #FFFFFF;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary-olive);
}

/* Breakpoint 1200px (Laptops) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }
  
  .trust-badges-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    row-gap: 2.5rem;
  }
}

/* Breakpoint 992px (Tablets Landscape & Medium Screens) */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.85rem;
  }
  
  .why-tallow-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-content h2 {
    justify-content: center;
  }
  
  .newsletter-form {
    margin: 0 auto;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .integrity-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .social-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-banner-content .social-links {
    justify-content: center;
  }
  
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Breakpoint 768px (Tablets Portrait & Large Phones) */
@media (max-width: 768px) {
  :root {
    --container-pad: 16px;
  }
  
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }
  
  .announcement-bar .inner {
    gap: 0.65rem;
  }
  
  .header-container {
    min-height: 70px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .promise-grid {
    grid-template-columns: 1fr;
  }
  
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .testimonial-banner-section::before,
  .testimonial-banner-section::after {
    display: none;
  }
  
  .testimonial-quote {
    font-size: 1.15rem;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
}

/* Breakpoint 480px (Small Phones) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .cart-drawer {
    max-width: 100%;
  }
}
