/*
 * Android 4/5 compatibility layer.
 * This file only activates when layouts add html.mz-legacy-android.
 */
html.mz-legacy-android,
html.mz-legacy-android body {
  -webkit-text-size-adjust: 100%;
}

html.mz-legacy-android *,
html.mz-legacy-android *:before,
html.mz-legacy-android *:after {
  box-sizing: border-box;
}

html.mz-legacy-android .row {
  display: block !important;
  margin-left: -15px;
  margin-right: -15px;
}

html.mz-legacy-android .row:before,
html.mz-legacy-android .row:after {
  content: "";
  display: table;
}

html.mz-legacy-android .row:after {
  clear: both;
}

html.mz-legacy-android [class*="col-"] {
  display: block;
  float: left;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

@media (min-width: 576px) {
  html.mz-legacy-android .col-sm-1 { width: 8.333333%; }
  html.mz-legacy-android .col-sm-2 { width: 16.666667%; }
  html.mz-legacy-android .col-sm-3 { width: 25%; }
  html.mz-legacy-android .col-sm-4 { width: 33.333333%; }
  html.mz-legacy-android .col-sm-5 { width: 41.666667%; }
  html.mz-legacy-android .col-sm-6 { width: 50%; }
  html.mz-legacy-android .col-sm-7 { width: 58.333333%; }
  html.mz-legacy-android .col-sm-8 { width: 66.666667%; }
  html.mz-legacy-android .col-sm-9 { width: 75%; }
  html.mz-legacy-android .col-sm-10 { width: 83.333333%; }
  html.mz-legacy-android .col-sm-11 { width: 91.666667%; }
  html.mz-legacy-android .col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  html.mz-legacy-android .col-md-1 { width: 8.333333%; }
  html.mz-legacy-android .col-md-2 { width: 16.666667%; }
  html.mz-legacy-android .col-md-3 { width: 25%; }
  html.mz-legacy-android .col-md-4 { width: 33.333333%; }
  html.mz-legacy-android .col-md-5 { width: 41.666667%; }
  html.mz-legacy-android .col-md-6 { width: 50%; }
  html.mz-legacy-android .col-md-7 { width: 58.333333%; }
  html.mz-legacy-android .col-md-8 { width: 66.666667%; }
  html.mz-legacy-android .col-md-9 { width: 75%; }
  html.mz-legacy-android .col-md-10 { width: 83.333333%; }
  html.mz-legacy-android .col-md-11 { width: 91.666667%; }
  html.mz-legacy-android .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  html.mz-legacy-android .col-lg-1 { width: 8.333333%; }
  html.mz-legacy-android .col-lg-2 { width: 16.666667%; }
  html.mz-legacy-android .col-lg-3 { width: 25%; }
  html.mz-legacy-android .col-lg-4 { width: 33.333333%; }
  html.mz-legacy-android .col-lg-5 { width: 41.666667%; }
  html.mz-legacy-android .col-lg-6 { width: 50%; }
  html.mz-legacy-android .col-lg-7 { width: 58.333333%; }
  html.mz-legacy-android .col-lg-8 { width: 66.666667%; }
  html.mz-legacy-android .col-lg-9 { width: 75%; }
  html.mz-legacy-android .col-lg-10 { width: 83.333333%; }
  html.mz-legacy-android .col-lg-11 { width: 91.666667%; }
  html.mz-legacy-android .col-lg-12 { width: 100%; }
}

html.mz-legacy-android .d-flex,
html.mz-legacy-android .d-inline-flex,
html.mz-legacy-android .flex-row,
html.mz-legacy-android .flex-column,
html.mz-legacy-android .justify-content-between,
html.mz-legacy-android .justify-content-center,
html.mz-legacy-android .align-items-center,
html.mz-legacy-android [style*="display:flex"],
html.mz-legacy-android [style*="display: flex"] {
  display: block !important;
}

html.mz-legacy-android .grid,
html.mz-legacy-android [class*="-grid"],
html.mz-legacy-android [class*="_grid"],
html.mz-legacy-android [class*="Grid"],
html.mz-legacy-android [class*="grid-"],
html.mz-legacy-android [style*="display:grid"],
html.mz-legacy-android [style*="display: grid"] {
  display: block !important;
}

html.mz-legacy-android .fixed-top,
html.mz-legacy-android .fixed-bottom,
html.mz-legacy-android .sticky-top,
html.mz-legacy-android [style*="position:sticky"],
html.mz-legacy-android [style*="position: sticky"] {
  position: static !important;
}

html.mz-legacy-android .modal-dialog {
  margin: 12px auto;
  max-width: 94%;
}

html.mz-legacy-android .modal-content,
html.mz-legacy-android .modal-body-centeredfull {
  border-radius: 10px !important;
  max-height: none !important;
}

html.mz-legacy-android img,
html.mz-legacy-android video {
  max-width: 100%;
}

html.mz-legacy-android img[style*="object-fit"],
html.mz-legacy-android .img_slider_cont,
html.mz-legacy-android .slider-cont img,
html.mz-legacy-android .item-card img,
html.mz-legacy-android .mz-payment-option__logo img,
html.mz-legacy-android .mz-buy-summary-product img {
  height: auto !important;
  object-fit: initial !important;
}

html.mz-legacy-android .swiper-slide,
html.mz-legacy-android .splide__slide {
  float: left;
}

html.mz-legacy-android input,
html.mz-legacy-android select,
html.mz-legacy-android textarea,
html.mz-legacy-android button {
  font-size: 16px;
}

html.mz-legacy-android .btn,
html.mz-legacy-android button {
  min-height: 40px;
}

html.mz-legacy-android .card,
html.mz-legacy-android .price-container,
html.mz-legacy-android .details-c,
html.mz-legacy-android .related-ads,
html.mz-legacy-android .seller-container,
html.mz-legacy-android .user-evaluation-cont,
html.mz-legacy-android .mz-pay-panel,
html.mz-legacy-android .mz-payment-option__card {
  box-shadow: none !important;
}

html.mz-legacy-android .mz-pay-hero,
html.mz-legacy-android .mz-panel-header,
html.mz-legacy-android .mz-pay-actions,
html.mz-legacy-android .mz-payment-picker__header,
html.mz-legacy-android .mz-payment-option__card,
html.mz-legacy-android .mz-buy-intent,
html.mz-legacy-android .mz-buy-seller-strip,
html.mz-legacy-android .mz-buy-summary-product,
html.mz-legacy-android .mz-prot-item,
html.mz-legacy-android .qna-card,
html.mz-legacy-android .question-card {
  display: block !important;
}

html.mz-legacy-android .mz-amount-option,
html.mz-legacy-android .item-card,
html.mz-legacy-android .related-card,
html.mz-legacy-android .mz-payment-option {
  display: block !important;
  margin-bottom: 12px !important;
  width: 100% !important;
}

html.mz-legacy-android .mz-custom-amount-input-wrap {
  display: table !important;
  width: 100%;
}

html.mz-legacy-android .mz-custom-amount-prefix,
html.mz-legacy-android .mz-custom-amount-input {
  display: table-cell !important;
  vertical-align: middle;
}

html.mz-legacy-android .mz-payment-option__dot,
html.mz-legacy-android .mz-payment-option__name,
html.mz-legacy-android .mz-payment-option__logo {
  display: block !important;
  margin: 8px 0;
  width: 100% !important;
}

html.mz-legacy-android #payment_content.mz-payment-modal .continue-card-select-item,
html.mz-legacy-android .mz-payment-picker .continue-card-sec {
  position: static !important;
  margin-top: 0 !important;
}
