/* ==================== TABLET (768px - 1199px) ==================== */
@media (max-width: 1199px) {
  .container {
    padding: 0 32px;
  }

  .header-inner {
    padding: 0 32px;
  }

  .country-dropdown-inner {
    padding: 16px 32px;
  }

  .category-grid {
    gap: 24px;
  }

  .category-card {
    height: 360px;
  }

  .about-strip-inner {
    gap: 48px;
  }

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

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

  .hero-rounded {
    margin-left: 32px;
    margin-right: 32px;
  }
}

/* ==================== TABLET SMALL (768px - 991px) ==================== */
@media (max-width: 991px) {
  :root {
    --nav-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-right {
    gap: 0;
  }

  .hero-title {
    font-size: clamp(24px, 4vw, 36px);
  }

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

  .category-card {
    height: 320px;
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-strip-image {
    aspect-ratio: 16/9;
  }

  .about-strip-stats {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .news-grid .news-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

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

  .hero-rounded {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ==================== MOBILE (< 768px) ==================== */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .country-dropdown-wrap {
    margin-left: 12px;
  }

  .country-dropdown-trigger {
    font-size: 12px;
    padding: 4px 10px;
  }

  .country-dropdown-inner {
    padding: 12px 20px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .country-dropdown-label {
    font-size: 13px;
  }

  .country-dropdown-links {
    gap: 10px;
  }

  .country-dropdown-btn {
    padding: 6px 16px;
    font-size: 13px;
  }

  .country-dropdown-panel.active {
    max-height: 120px;
  }

  .logo img {
    height: 32px;
  }

  .hero {
    height: 360px;
  }

  .hero-rounded {
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .product-categories {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-tag {
    font-size: 18px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-card {
    height: 260px;
  }

  .category-card-content {
    padding: 24px;
  }

  .category-card-title {
    font-size: 22px;
  }

  .category-card-desc {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .about-strip {
    padding: 64px 0;
  }

  .about-strip-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 16px 8px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .data-strip {
    padding: 56px 0;
  }

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

  .data-number {
    font-size: 36px;
  }

  .data-label {
    font-size: 13px;
  }

  .news-section {
    padding: 64px 0;
  }

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

  .news-grid .news-card:last-child {
    max-width: 100%;
  }

  .news-card-body {
    padding: 20px;
  }

  .site-footer {
    padding: 56px 0 0;
  }

  .footer-logo-row {
    padding-bottom: 0;
    margin-bottom: 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-beian {
    flex-direction: column;
    gap: 4px;
  }

  .beian-sep {
    display: none;
  }
}

/* ==================== SMALL MOBILE (< 480px) ==================== */
@media (max-width: 479px) {
  .about-strip-stats {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .category-card {
    height: 220px;
  }

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

  .product-card {
    padding: 28px 16px;
    min-height: 130px;
  }

  .product-card-title {
    font-size: 17px;
  }

  .product-card-desc {
    font-size: 13px;
  }
}

/* ==================== PAGE HERO RESPONSIVE ==================== */
@media (max-width: 991px) {
  .page-hero {
    height: 320px;
  }

  .product-detail-header-inner {
    min-height: 260px;
  }

  .product-detail-header-text {
    padding: 36px 32px;
  }

  .about-intro-inner,
  .china-business-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 767px) {
  .page-hero {
    height: 260px;
  }

  .product-detail-header {
    padding: 40px 0;
  }

  .product-detail-header-inner {
    flex-direction: column;
    min-height: auto;
  }

  .product-detail-header-image {
    min-height: 200px;
    max-height: 260px;
  }

  .product-detail-header-text {
    padding: 32px 24px;
  }

  .about-intro,
  .global-presence,
  .china-business {
    padding: 64px 0;
  }

  .global-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
  }

  .global-stat-item {
    padding: 28px 16px;
  }

  .global-stat-number {
    font-size: 36px;
  }

  .product-intro {
    padding: 56px 0;
  }

  .product-grid-section {
    padding: 56px 0 72px;
  }

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

  .cta-banner-simple {
    padding: 56px 0;
  }

  .cta-banner-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .news-grid-large,
  .resources-grid,
  .application-grid,
  .csr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .download-item-btn {
    width: 100%;
  }

  .article-hero {
    height: 320px;
  }

  .article-content-section {
    padding: 56px 0 72px;
  }

  .rich-text {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .article-hero {
    height: 260px;
  }

  .article-hero-title {
    font-size: 24px;
  }

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

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

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .product-detail-header-text {
    padding: 24px 20px;
  }

  .product-detail-header-title {
    font-size: 24px;
  }

  .product-detail-header-image {
    min-height: 160px;
  }
}

@media (max-width: 991px) {
  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .product-list-grid {
    grid-template-columns: 1fr;
  }

  .product-features-section {
    padding: 56px 0;
  }

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

@media (max-width: 479px) {
  .news-grid-large,
  .resources-grid,
  .application-grid,
  .csr-grid {
    grid-template-columns: 1fr;
  }

  .news-filter,
  .resources-filter,
  .download-filter {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ==================== PRODUCT PAGES RESPONSIVE ==================== */
@media (max-width: 991px) {
  .product-hero-image-section {
    height: 320px;
  }

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

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

@media (max-width: 767px) {
  .product-hero-image-section {
    height: 240px;
  }

  .product-intro-strip {
    padding: 40px 0;
  }

  .product-green-cards-section,
  .product-gray-cards-section {
    padding: 56px 0 72px;
  }

  .product-green-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-gray-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-green-card {
    padding: 28px 16px;
    min-height: 120px;
  }

  .product-green-card-cn {
    font-size: 17px;
  }

  .product-green-card-en {
    font-size: 13px;
  }

  .category-title-strip {
    padding: 40px 0 56px;
  }
}

@media (max-width: 479px) {
  .product-green-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-green-card {
    padding: 24px 12px;
    min-height: 110px;
  }

  .product-green-card-cn {
    font-size: 15px;
  }

  .product-green-card-en {
    font-size: 12px;
  }
}

/* ==================== SEARCH OVERLAY RESPONSIVE ==================== */
@media (max-width: 767px) {
  .search-overlay-container {
    padding: 0 20px;
  }

  .search-results {
    grid-template-columns: 1fr;
    max-height: 50vh;
  }

  .search-overlay-inner {
    padding: 16px 0 32px;
  }
}

@media (max-width: 479px) {
  .search-overlay-top {
    gap: 8px;
  }

  .search-overlay-input {
    padding: 12px 16px 12px 40px;
    font-size: 15px;
  }

  .search-overlay-close {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}
