/* ── Responsive Breakpoint Architecture for PAREVDI DESIGNER ──────────── */

/* ── Mobile First (< 768px) ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Navigation switch to mobile */
  .nav-desktop-left, .nav-desktop-right {
    display: none;
  }

  .nav-mobile-toggle, .nav-mobile-right {
    display: flex;
    align-items: center;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.25rem;
  }

  .nav-brand {
    padding: 0;
  }

  .brand-crest {
    font-size: 0.55rem;
    margin-bottom: 1px;
  }

  .brand-title {
    font-size: 1.45rem;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .brand-subtitle {
    font-size: 0.48rem;
    letter-spacing: 0.35em;
    text-indent: 0.35em;
  }

  .mobile-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--color-dark);
  }

  /* Hero Section */
  .hero-section {
    min-height: 78vh;
    align-items: flex-end;
  }

  .hero-editorial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .hero-stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .hero-stat-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 0;
    padding-right: 0.5rem;
  }

  .hero-stat-item:last-child {
    border-right: none;
  }

  .hero-stat-value {
    font-size: 1.15rem;
  }

  .hero-stat-label {
    font-size: 0.55rem;
  }

  /* Drop Editorial Layout */
  .drop-editorial-layout {
    grid-template-columns: 1fr;
  }

  .drop-story-card {
    padding: 2rem 1.5rem;
  }

  .drop-category-filters {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .drop-cat-btn {
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.75rem;
  }

  /* Lookbook & Story Layout */
  .lookbook-grid {
    grid-template-columns: 1fr;
  }

  .story-asymmetric-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-img-secondary {
    position: static;
    width: 100%;
    margin-top: 1rem;
    border: none;
  }

  /* Stores Card */
  .stores-display-card {
    grid-template-columns: 1fr;
  }

  .store-card-media {
    min-height: 260px;
  }

  /* Social Grid */
  .social-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .brand-col, .newsletter-col {
    grid-column: span 2;
  }
}

/* ── Small Mobile (< 480px) ────────────────────────────────────────────── */
@media (max-width: 479px) {
  :root {
    --header-height: 72px;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .hero-stats-panel {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.4rem;
  }

  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions-row .btn-primary,
  .hero-actions-row .btn-ghost-light {
    width: 100%;
    text-align: center;
  }

  .quiz-container-box {
    padding: 1.5rem 1rem;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr 1fr;
  }

  .social-mosaic-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-col, .newsletter-col {
    grid-column: span 1;
  }

  .newsletter-form-inline {
    flex-direction: column;
  }

  .search-panel {
    margin-top: 1rem;
    padding: 0 1rem;
  }

  .search-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── Tablet (768px – 1023px) ──────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .drop-gallery-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Large Desktop (1440px+) ──────────────────────────────────────────── */
@media (min-width: 1440px) {
  .hero-section {
    min-height: 90vh;
  }

  .drop-editorial-layout {
    grid-template-columns: 420px 1fr;
    gap: var(--space-xl);
  }
}
