@media (max-width: 1400px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .right-panel {
    grid-column: 2;
    border-left: 0;
    padding-top: 18px;
  }

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

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

@media (max-width: 1024px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar,
  .right-panel {
    border: 0;
  }

  .sidebar {
    padding-bottom: 10px;
  }

  .main-content,
  .right-panel {
    padding: 18px;
  }

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

  .search-box {
    width: 100%;
    margin-left: 0;
  }

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

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

@media (max-width: 720px) {
  .filter-row {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .map-surface {
    height: 560px;
  }

  .map-overlay-top {
    position: static;
    margin-bottom: 10px;
    pointer-events: auto;
  }

  .map-overlay-top,
  .map-stat {
    width: 100%;
  }

  .vietnam-map {
    inset: 138px 12px 100px;
  }

  .map-legend {
    left: 12px;
    right: 12px;
    bottom: 72px;
    max-width: none;
  }

  .map-status {
    width: calc(100% - 24px);
    border-radius: 16px;
    text-align: center;
    white-space: normal;
  }

  .province-popup {
    width: calc(100% - 24px);
  }

  .hero-header,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .discover-badge {
    width: 82px;
    height: 82px;
    font-size: 12px;
  }
}