/* ============================================================
   MOBILE.CSS — Thëßrøthërs Collection
   ============================================================ */

/* ===== GLOBAL ===== */
@media (max-width: 900px) {
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  html { scroll-behavior: smooth; }

  /* Backdrop behind open nav */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .nav-backdrop.open { display: block; }

  /* Hamburger X animation */
  .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  a, button { min-height: 40px; }
  * { -webkit-tap-highlight-color: transparent; }
}

/* ===== DISPLAY SECTION ===== */
@media (max-width: 768px) {
  .display { height: 100vh; }

  .display .content {
    width: 85%;
    max-width: 300px;
    padding: 20px 16px;
  }

  .display .content .logo { height: 90px; width: 90px; }
  .display .content .title { font-size: 1rem; margin-top: 10px; }
  .display .content .text { font-size: 11px; margin-top: 8px; }
}

/* ===== HERO — MOBILE ONLY ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column !important;
    position: relative !important;
    min-height: 80vh !important;
    height: 80vh !important;
    padding: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  /* Show bg wrapper */
  .hero-bg-img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
  }

  .hero-bg-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Dark overlay */
  .hero-bg-img::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      to bottom,
      rgba(58, 46, 30, 0.5) 0%,
      rgba(58, 46, 30, 0.82) 100%
    ) !important;
  }

  /* Hide the actual <img> tag since bg-img handles it */
  .hero > .hero-img {
    display: none !important;
  }

  .hero-content {
    position: relative !important;
    z-index: 1 !important;
    flex: unset !important;
    width: 90% !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
  }

  .hero-content h2 {
    font-size: clamp(2rem, 7vw, 3rem) !important;
    color: var(--cream) !important;
    line-height: 1.1 !important;
  }

  .hero-content p {
    color: rgba(244, 233, 221, 0.8) !important;
    font-size: 13px !important;
    letter-spacing: 3px !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 6px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 230px !important;
    text-align: center !important;
    display: block !important;
  }

  .socials {
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 8px !important;
  }

  .socials a {
    color: var(--cream) !important;
    font-size: 22px !important;
    letter-spacing: 0 !important;
  }
}

/* ===== SHOWCASE ===== */
@media (max-width: 768px) {
  .showcase { padding: 50px 4% !important; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .showcase-item { padding: 14px 10px !important; }
  .showcase-item img { height: 110px !important; }
  .showcase-item h3 { font-size: 13px !important; }
  .showcase-item p { font-size: 11px !important; }
  .shop-now { font-size: 12px !important; padding: 7px 10px !important; }
}

/* ===== NOMADIC ===== */
@media (max-width: 900px) {
  .trending { padding: 50px 5% !important; }
  .trending-content { grid-template-columns: 1fr !important; gap: 28px !important; }
  .trending-text h1 { font-size: clamp(2rem, 8vw, 3rem) !important; }
  .trending-products { gap: 14px !important; margin-top: 30px !important; }
  .mini-product img { width: 90px !important; height: 90px !important; }
  .mini-product p { font-size: 12px !important; }
}

/* ===== ENTERTAINMENT ===== */
@media (max-width: 768px) {
  .entertainment-section { padding: 50px 5% !important; }
  .entertainment-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
}

/* ===== ABOUT ===== */
@media (max-width: 768px) {
  .about { padding: 50px 5% !important; }
  .about-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
  .values-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .value img { width: 70px !important; height: 70px !important; object-fit: contain !important; }
}

/* ===== FOOTER ===== */
@media (max-width: 768px) {
  .footer { padding: 40px 5% 20px !important; }
  .footer-container { flex-direction: column !important; align-items: center !important; gap: 28px !important; }
  .footer-brand { max-width: 100% !important; }
  .footer-links { justify-content: center !important; gap: 24px !important; }
  .footer-col { align-items: center !important; }
  .footer-social { margin-top: 28px !important; }
  .social-icons { gap: 20px !important; font-size: 20px !important; }
}

/* ===== SHOP PAGE ===== */
@media (max-width: 900px) {
  .shop-hero { padding: 50px 5% !important; }
  .shop-controls { padding: 16px 4% 12px !important; top: 52px !important; }
  .category-row {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
  }
  .category-row::-webkit-scrollbar { display: none !important; }
  .category-btn { white-space: nowrap !important; flex-shrink: 0 !important; font-size: 12px !important; padding: 7px 14px !important; }
  .sub-row { overflow-x: auto !important; flex-wrap: nowrap !important; scrollbar-width: none !important; }
  .sub-row::-webkit-scrollbar { display: none !important; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .product-card img { height: 160px !important; }
  .product-info h3 { font-size: 12px !important; }
  .product-info .price { font-size: 13px !important; }
  .add-to-cart-btn { font-size: 12px !important; padding: 9px 6px !important; gap: 5px !important; }
  .section-title { font-size: 16px !important; }
  .cart-drawer { max-width: 100% !important; width: 100% !important; right: -100% !important; }
  .cart-fab { padding: 11px 16px !important; font-size: 14px !important; }
  .cart-icon-wrapper { bottom: 18px !important; right: 14px !important; }
}

@media (max-width: 480px) {
  .product-grid { gap: 10px !important; }
  .product-card img { height: 130px !important; }
}

/* ===== MUSIC PAGE ===== */
@media (max-width: 900px) {
  .music-hero { padding: 80px 6% 60px !important; min-height: 90vh !important; }
  .vinyl-bg { width: 300px !important; height: 300px !important; }
  .music-hero h1 { font-size: clamp(3rem, 12vw, 5rem) !important; letter-spacing: -1px !important; }
  .music-hero p { font-size: 12px !important; letter-spacing: 2px !important; }
  .music-hero .featured-actions { flex-direction: column !important; align-items: center !important; gap: 10px !important; }
  .btn-stream { width: 100% !important; max-width: 260px !important; justify-content: center !important; }
}

@media (max-width: 768px) {
  .now-playing-section { padding: 50px 5% !important; }
  .featured-track { grid-template-columns: 1fr !important; gap: 30px !important; }
  .featured-cover { max-width: 100% !important; }
  .vinyl-spin { width: 70px !important; height: 70px !important; bottom: -12px !important; right: -12px !important; }
  .track-meta { flex-wrap: wrap !important; gap: 16px !important; }
  .featured-info .featured-actions { flex-direction: column !important; gap: 10px !important; }
  .featured-info .featured-actions .btn-stream { width: 100% !important; justify-content: center !important; }
  .tracklist-section { padding: 50px 4% !important; }
  .track-row { grid-template-columns: 30px 42px 1fr auto !important; gap: 10px !important; padding: 10px 8px !important; }
  .track-stream-link { display: none !important; }
  .track-details h4 { font-size: 13px !important; }
  .platforms-section { padding: 50px 5% !important; }
  .platforms-grid { gap: 10px !important; }
  .platform-card { min-width: unset !important; flex: 1 1 140px !important; padding: 12px 16px !important; font-size: 13px !important; justify-content: center !important; }
  .videos-section { padding: 50px 5% !important; }
  .videos-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
}

@media (max-width: 480px) {
  .track-row { grid-template-columns: 26px 36px 1fr auto !important; gap: 8px !important; }
  .track-thumb { width: 36px !important; height: 36px !important; }
  .platforms-grid { flex-direction: column !important; align-items: stretch !important; }
}

/* ===== LIFESTYLE PAGE ===== */
@media (max-width: 900px) {
  .ls-hero { grid-template-columns: 1fr !important; min-height: auto !important; }
  .ls-hero-left { padding: 70px 6% 50px !important; }
  .ls-hero-left::after { display: none !important; }
  .ls-hero h1 { font-size: clamp(2.8rem, 10vw, 5rem) !important; letter-spacing: -1px !important; }
  .ls-hero-right { height: 55vw !important; min-height: 260px !important; max-height: 380px !important; }
  .hero-float-card { bottom: 16px !important; left: 14px !important; padding: 12px 16px !important; min-width: unset !important; }
  .ls-hero-stats { gap: 24px !important; flex-wrap: wrap !important; }
  .featured-article { grid-template-columns: 1fr !important; gap: 24px !important; }
  .lookbook-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .look-item:first-child { grid-column: span 2 !important; grid-row: span 1 !important; }
  .look-item img { min-height: 180px !important; max-height: 260px !important; }
}

@media (max-width: 768px) {
  .ls-section { padding: 60px 5% !important; }
  .ls-section-header { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; margin-bottom: 28px !important; }
  .articles-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .tips-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .tip-card { padding: 20px 16px !important; }
  .tip-number { font-size: 36px !important; margin-bottom: 10px !important; }
  .newsletter-section { padding: 60px 5% !important; }
  .newsletter-form { flex-direction: column !important; max-width: 100% !important; }
  .newsletter-form input { border-right: 1.5px solid rgba(244,233,221,0.15) !important; border-bottom: none !important; border-radius: 10px 10px 0 0 !important; width: 100% !important; }
  .newsletter-form button { border-radius: 0 0 10px 10px !important; padding: 13px !important; }
}

@media (max-width: 480px) {
  .ls-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem) !important; }
  .ls-hero-right { height: 60vw !important; }
  .tips-grid { grid-template-columns: 1fr !important; }
  .lookbook-grid { grid-template-columns: 1fr !important; }
  .look-item:first-child { grid-column: span 1 !important; }
}