/* QPlus mobil haber ve fiyat görünümü düzeltmesi.
   Masaüstüne dokunmaz; yalnızca mobil ekranlarda devreye girer. */
@media (max-width: 768px) {
  /* Haberler: mobilde küçük kalmasın */
  body .video-section,
  body .haber-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body .video-section .urunler-baslik,
  body .haber-section .urunler-baslik {
    font-size: 32px !important;
    line-height: 1.15 !important;
    text-align: left !important;
    margin: 34px 16px 14px !important;
    padding: 0 !important;
  }

  body .video-section .container-left,
  body .haber-section .container-left {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px 24px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  body .video-section .product-row,
  body .haber-section .product-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  body .video-section .product,
  body .haber-section .product {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 14px 34px rgba(9, 45, 90, 0.14) !important;
  }

  body .video-section .product > a,
  body .haber-section .product > a {
    display: block !important;
    width: 100% !important;
  }

  body .video-section .product iframe,
  body .haber-section .product img {
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  body .video-section .altbaslik,
  body .haber-section .altbaslik {
    padding: 16px 16px 18px !important;
    min-height: auto !important;
    height: auto !important;
  }

  body .video-section .altbaslik h3,
  body .haber-section .altbaslik h3 {
    margin: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }

  body .video-section .altbaslik h3 a,
  body .haber-section .altbaslik h3 a {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  /* Fiyat sayfası: tablo yarım kalmasın, mevcut yatay kaydırma korunsun */
  body .price-page-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 8px 42px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  body .price-section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body .price-section h1 {
    font-size: 32px !important;
    line-height: 1.15 !important;
    margin-bottom: 26px !important;
  }

  body .filters-container {
    width: 100% !important;
    gap: 16px !important;
    margin-bottom: 22px !important;
  }

  body .price-table-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;       /* Eski yatay scrollbar korunur */
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    margin: 0 auto 30px !important;
    box-sizing: border-box !important;
    border-width: 3px !important;
    scrollbar-width: thin;
    scrollbar-color: #FAB403 #2e2f33;
  }

  body .price-table-container::-webkit-scrollbar {
    height: 10px;
  }

  body .price-table-container::-webkit-scrollbar-track {
    background: #2e2f33;
    border-radius: 999px;
  }

  body .price-table-container::-webkit-scrollbar-thumb {
    background: #FAB403;
    border-radius: 999px;
  }

  /* Telefonu yan çevirmeden kullanılabilsin diye tabloyu daralttık.
     Yine de şehir + 4 ürün için yatay kaydırma açık kalır. */
  body #price-table {
    width: 640px !important;
    min-width: 640px !important;
    max-width: none !important;
    table-layout: fixed !important;
  }

  body #price-table th,
  body #price-table td {
    padding: 10px 7px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body #price-table th:first-child,
  body #price-table td:first-child {
    width: 150px !important;
  }

  body #price-table th:nth-child(n+2),
  body #price-table td:nth-child(n+2) {
    width: 122px !important;
  }
}

@media (max-width: 420px) {
  body .video-section .urunler-baslik,
  body .haber-section .urunler-baslik {
    font-size: 29px !important;
    margin-left: 13px !important;
    margin-right: 13px !important;
  }

  body .video-section .container-left,
  body .haber-section .container-left {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  body .video-section .product iframe,
  body .haber-section .product img {
    height: 172px !important;
  }

  body .video-section .altbaslik h3 a,
  body .haber-section .altbaslik h3 a {
    font-size: 16.5px !important;
  }

  body #price-table {
    width: 590px !important;
    min-width: 590px !important;
  }

  body #price-table th,
  body #price-table td {
    padding: 9px 6px !important;
    font-size: 11.8px !important;
  }

  body #price-table th:first-child,
  body #price-table td:first-child {
    width: 138px !important;
  }

  body #price-table th:nth-child(n+2),
  body #price-table td:nth-child(n+2) {
    width: 113px !important;
  }
}
