/* ============================================
   AsNutritionLabs - Responsive Stylesheet
   ============================================ */

/* ---------- LAPTOP (1200px and below) ---------- */
@media (max-width: 1200px) {
  html {
    font-size: 60%;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- TABLET LANDSCAPE (992px and below) ---------- */
@media (max-width: 992px) {
  html {
    font-size: 58%;
  }

  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 8rem 3rem 3rem;
    gap: 2rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.7rem;
  }

  .btn-inquiry {
    margin-top: 1rem;
  }

  /* Mobile Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .slide-content h1 {
    font-size: 4.5rem;
  }

  .slide-content p {
    font-size: 1.6rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-badge {
    bottom: -1rem;
    right: 1rem;
  }

  /* Promo */
  .promo-content {
    flex-direction: column;
    text-align: center;
  }

  .promo-text h2 {
    font-size: 3.2rem;
  }

  .promo-bottle {
    max-height: 300px;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why Choose */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About Page */
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-img-small {
    right: 0;
    bottom: -2rem;
    width: 180px;
    height: 180px;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Product Details */
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cf-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline::before {
    left: 2rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-dot {
    left: 2rem;
  }

  .timeline-content {
    width: calc(100% - 5rem);
    margin-left: 5rem !important;
    margin-right: 0 !important;
  }

  /* Products Toolbar */
  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-left {
    flex-direction: column;
  }

  .search-box input {
    width: 100%;
  }

  .toolbar-filters {
    flex-wrap: wrap;
  }

  .filter-select {
    flex: 1;
    min-width: 130px;
  }
}

/* ---------- TABLET PORTRAIT (768px and below) ---------- */
@media (max-width: 768px) {
  section {
    padding: 6rem 0;
  }

  .section-title {
    font-size: 2.8rem;
  }

  /* Top Bar */
  .top-bar .container {
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .top-bar-left {
    justify-content: center;
  }

  /* Hero */
  .hero-slider {
    height: 80vh;
    min-height: 500px;
  }

  .slide-content h1 {
    font-size: 3.6rem;
  }

  .slide-content p {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Authenticity */
  .auth-form {
    flex-direction: column;
  }

  .auth-form input {
    width: 100%;
  }

  .btn-verify {
    width: 100%;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Why Choose */
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  .btn-subscribe {
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Page Banner */
  .page-banner {
    padding: 8rem 0;
  }

  .page-banner-content h1 {
    font-size: 3.5rem;
  }

  /* Certificates */
  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Product Details */
  .pd-info h1 {
    font-size: 2.6rem;
  }

  .pd-tabs-nav {
    flex-wrap: wrap;
  }

  .pd-tab-btn {
    flex: 1;
    font-size: 1.3rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: 1fr;
    margin-top: -5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline-content {
    padding: 2rem;
  }
}

/* ---------- MOBILE (576px and below) ---------- */
@media (max-width: 576px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .section-subtitle {
    font-size: 1.4rem;
  }

  /* Logo */
  .logo {
    font-size: 2.2rem;
  }

  /* Hero */
  .hero-slider {
    height: 70vh;
    min-height: 400px;
  }

  .slide-content h1 {
    font-size: 2.8rem;
  }

  .slide-content p {
    font-size: 1.4rem;
  }

  .btn-primary,
  .btn-outline {
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
  }

  /* Authenticity */
  .authenticity {
    padding: 4rem 0;
  }

  .verify-card {
    padding: 2rem;
  }

  /* About */
  .about-images {
    gap: 1rem;
  }

  .about-img-main {
    height: 200px;
  }

  .about-img-sub {
    height: 140px;
  }

  .about-badge {
    width: 7rem;
    height: 7rem;
    font-size: 1.8rem;
    bottom: -1rem;
    right: 0.5rem;
  }

  .about-content h2 {
    font-size: 2.6rem;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  /* Promo */
  .promo-text h2 {
    font-size: 2.6rem;
  }

  .promo-bottle {
    max-height: 220px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 2rem;
  }

  /* Newsletter */
  .newsletter-content h2 {
    font-size: 2.6rem;
  }

  /* Back to Top */
  .back-to-top {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
    bottom: 2rem;
    right: 2rem;
  }

  /* Page Banner */
  .page-banner-content h1 {
    font-size: 2.8rem;
  }

  /* Intro */
  .intro-img-large {
    height: 280px;
  }

  .intro-img-small {
    width: 130px;
    height: 130px;
    bottom: -1.5rem;
    right: 0;
  }

  .intro-text h2 {
    font-size: 2.6rem;
  }

  /* Certificates */
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Product Details */
  .pd-main-img {
    height: 300px;
  }

  .pd-thumbs {
    justify-content: center;
  }

  .pd-price {
    font-size: 2.6rem;
  }

  .pd-tabs-nav {
    flex-direction: column;
  }

  .pd-tab-btn {
    border-bottom: none;
    border-left: 3px solid transparent;
    margin-bottom: 0;
  }

  .pd-tab-btn.active {
    border-bottom: none;
    border-left-color: var(--primary);
  }

  /* Contact Form */
  .contact-form-wrap h2 {
    font-size: 2.6rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 1.4rem;
    padding: 1.5rem 2rem;
  }

  /* Products Toolbar */
  .toolbar-filters {
    flex-direction: column;
  }

  .filter-select {
    width: 100%;
  }
}

/* ============================================
   LANDING PAGE RESPONSIVE
   ============================================ */

/* ---------- LAPTOP (1200px and below) ---------- */
@media (max-width: 1200px) {
  .landing-hero-content h1 {
    font-size: 5.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- TABLET (992px and below) ---------- */
@media (max-width: 992px) {
  .landing-hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 1.6rem;
  }

  .countdown-item {
    min-width: 80px;
    padding: 1.2rem 1.5rem;
  }

  .countdown-number {
    font-size: 3rem;
  }

  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stat-item {
    justify-content: flex-start;
  }

  .cta-content h2 {
    font-size: 3.8rem;
  }

  .final-cta-card h2 {
    font-size: 3.2rem;
  }
}

/* ---------- MOBILE (768px and below) ---------- */
@media (max-width: 768px) {
  .landing-hero {
    min-height: auto;
    padding: 10rem 0 6rem;
  }

  .landing-hero-content h1 {
    font-size: 3.4rem;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-badge {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: 65px;
    padding: 1rem;
  }

  .countdown-number {
    font-size: 2.4rem;
  }

  .countdown-text {
    font-size: 1rem;
  }

  .countdown-sep {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn-lg {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-trust {
    gap: 2rem;
  }

  .trust-item {
    font-size: 1.2rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stat-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .stat-icon i {
    font-size: 1.8rem;
  }

  .stat-info .stat-number {
    font-size: 2.4rem;
  }

  /* Deals */
  .deals-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* CTA Banner */
  .landing-cta-banner {
    padding: 6rem 0;
  }

  .cta-content h2 {
    font-size: 2.8rem;
  }

  .cta-content > p {
    font-size: 1.5rem;
  }

  .cta-timer {
    font-size: 1.2rem;
    padding: 0.8rem 1.8rem;
  }

  /* Testimonials */
  .lt-card {
    padding: 2.5rem 2rem;
  }

  /* Final CTA */
  .landing-final-cta {
    padding: 4rem 0 6rem;
  }

  .final-cta-card {
    padding: 4rem 2rem;
  }

  .final-cta-card h2 {
    font-size: 2.8rem;
  }

  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-buttons .btn-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ---------- SMALL MOBILE (480px and below) ---------- */
@media (max-width: 480px) {
  .landing-hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .countdown-item {
    min-width: 55px;
    padding: 0.8rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-text {
    font-size: 0.9rem;
    letter-spacing: 0;
  }

  .countdown-sep {
    font-size: 1.6rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    justify-content: center;
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }

  .final-cta-card h2 {
    font-size: 2.2rem;
  }

  .final-cta-card p {
    font-size: 1.4rem;
  }
}
