/* ==========================================================================
   元楷服饰 (YUANKAI APPAREL) - 响应式多端适配样式表
   ========================================================================== */

/* --- 平板与大屏优化 (Max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .craft-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .craft-content {
    padding-left: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro-text-column {
    padding-right: 0;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .timeline-grid::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* --- 中小屏平板与移动端 (Max-width: 768px) --- */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions .btn-header-contact {
    display: none;
  }

  .hero-section {
    min-height: 85vh;
    padding-bottom: 50px;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .lookbook-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .intro-floating-badge {
    position: static;
    margin-top: 15px;
    max-width: 100%;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-image-pane {
    min-height: 320px;
  }

  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand-col {
    padding-right: 0;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* --- 超小屏手机适配 (Max-width: 480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .lookbook-card-body {
    padding: 1.25rem 1rem;
  }

  .modal-container {
    max-height: 95vh;
  }

  .modal-info-pane {
    padding: 24px 18px;
  }

  .wechat-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
