/* Eddapack tablet QA fix (501–991 px).
 * Original style.css switches between desktop/mobile navigation at 500px,
 * but Bootstrap's navbar-expand-lg collapses its links below 992px.
 * Align only that range; do not alter desktop or small-phone layouts.
 */
.edda-tablet-language { display: none; }
@media (min-width: 501px) and (max-width: 991.98px) {
  .full-nav { display: none !important; }
  .nav-mobile {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    padding: 9px 20px;
    background-color: #2c343ee6 !important;
    min-height: 66px;
  }
  .nav-mobile .navbar-brand {
    width: auto !important;
    max-width: calc(100% - 130px);
    flex: 0 1 auto;
    padding: 0;
    margin: 0 auto 0 0;
  }
  .nav-mobile .navbar-brand img {
    display: block;
    position: static !important;
    left: auto !important;
    width: 155px !important;
    max-width: 100%;
    height: auto;
  }
  .nav-mobile .navbar-toggler {
    display: block !important;
    margin-left: 9px;
    padding: 5px 9px;
    flex-shrink: 0;
  }
  /* Expose the original minimal EN/TR/ES control in the tablet header.
     The already existing language control remains in the expanded mobile menu. */
  .edda-tablet-language {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .edda-tablet-language > .edda-language-menu {
    margin: 0;
    display: inline-block;
  }
  .nav-mobile #navbarMobile {
    flex-basis: 100%;
    width: 100%;
    overflow-y: auto;
    max-height: calc(100vh - 75px);
  }
  .nav-mobile #navbarMobile .navbar-nav { margin: 0 !important; }
  .nav-mobile #navbarMobile .nav-item .nav-link { padding: 13px 12px; }
  .nav-mobile #navbarMobile > .edda-language-menu { display: none; }
  /* The old 100.333% column width plus a Bootstrap offset overflowed tablets. */
  .solutions > .row > .col-10.offset-md-1,
  .solutions > .row > .col-11.offset-md-1 {
    margin-left: 0 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 24px;
    padding-right: 24px;
  }
  .solutions > .row { max-width: 100%; margin-right: 0; margin-left: 0; }
  #products .products-text { padding-top: 4rem; padding-bottom: 6rem; }
  .main-video .banner__content { width: 78%; max-width: 78%; left: 8%; }
  .main-video .banner__content .big-title { font-size: clamp(42px,6vw,64px); }
}
/* Keep the wide original specification table, but scroll it inside its own
 * section instead of making the entire product detail page pan horizontally. */
@media (max-width: 991.98px) {
  #urunler .edda-product-spec-content {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #urunler .edda-product-spec-content > table { min-width: 540px; }
}
