/* CleanIce.Uz Desktop Responsive & Tablet Adaptation */

/* Keep split-screen wrapper strictly locked to the visible viewport (prevents section bleed on iOS/iPadOS Chrome) */
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#myContainer.multiscroll-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ms-tableCell {
  height: 100% !important;
}

/* Compact typography & spacing for wide tablets (e.g. Android tablets, iPad landscape) and short laptop screens */
@media (max-width: 1366px), (max-height: 760px) {
  .section-content {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .section-content > div {
    margin-bottom: 12px;
  }

  .section-title,
  h1.section-title {
    font-size: 26px;
    line-height: 1.2;
    padding: 4px 56px 10px 56px;
  }

  .section-subtitle-one {
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 2.5px;
    padding: 0 24px;
  }

  .section-subtitle-two {
    font-size: 23px;
    line-height: 1.1;
    padding: 0 46px;
  }

  .section-paragraph {
    font-size: 13px;
    line-height: 1.42;
    padding: 0 48px;
  }

  .section-paragraph p,
  .section-paragraph ul {
    margin-bottom: 8px;
  }

  .my-btn {
    font-size: 14px;
    line-height: 36px;
    margin-bottom: 0;
    max-width: 146px;
  }

  /* Section 5: Advantages grid fits all 5 rows without vertical clipping */
  #section5-left .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  #section5-left .col-6 {
    padding-left: 6px;
    padding-right: 6px;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }

  #section5-left .adv-logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }

  #section5-left .adv-title {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  #section5-left .adv .section-paragraph {
    font-size: 11.5px;
    line-height: 1.25;
    padding: 0 4px;
    width: auto;
  }

  /* Section 6: Delivery spacer compression */
  #section6-right .section-paragraph > div.section-title {
    height: 10px;
    min-height: 0;
    padding: 0 !important;
    margin: 6px 0 !important;
    font-size: 0;
    line-height: 0;
  }

  /* Section 8: Order form fits inputs + submit button on tablet landscape height */
  #section8-right .section-title:empty {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #section8-right .section-paragraph__yellowed {
    padding-top: 6px !important;
    font-size: 12px;
  }

  #section8-right .phone {
    font-size: 14px;
  }

  #section8-right .my-form .mb-3 {
    margin-bottom: 6px !important;
  }

  #section8-right .my-form input,
  #section8-right .my-form select {
    height: 38px;
    line-height: 1.4;
    padding: 6px 14px;
    font-size: 13px;
    margin: 2px 0;
    width: 245px !important;
  }

  /* Section 9: Contacts footer clearance */
  #section9-left .section-footer {
    bottom: 14px;
    padding: 0 20px;
  }

  #section9-left .section-footer .section-paragraph {
    font-size: 11px;
    padding: 0;
  }
}

/* Even tighter height guard for ~520-600px browser viewports on Android tablets */
@media (max-height: 620px) {
  .section-content > div {
    margin-bottom: 8px;
  }

  .section-title,
  h1.section-title {
    font-size: 24px;
    padding-bottom: 8px;
  }

  .section-subtitle-two {
    font-size: 21px;
  }

  .section-paragraph {
    font-size: 12.5px;
    line-height: 1.35;
  }

  #section5-left .adv-logo img {
    width: 22px;
    height: 22px;
  }

  #section5-left .adv .section-paragraph {
    font-size: 11px;
    line-height: 1.2;
  }

  #section8-right .my-form input,
  #section8-right .my-form select {
    height: 34px;
    padding: 4px 12px;
    font-size: 12.5px;
  }

  .my-btn {
    line-height: 33px;
    font-size: 13px;
  }
}
