/* Keep the Max logo within its social button when theme or plugin styles apply image sizing. */
.top-header__social-blue {
  box-sizing: border-box !important;
  width: 39px !important;
  height: 39px !important;
  min-width: 39px !important;
  max-width: 39px !important;
  flex: 0 0 39px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 13px 0 0 !important;
  overflow: hidden !important;
  background-image: none !important;
}

.top-header__social-blue > img.logo-max-img {
  display: block !important;
  flex: none !important;
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  object-fit: contain !important;
}

.top-footer__icon-whatsapp-blue > img.logo-max-img {
  display: block !important;
  flex: none !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

.block-product__icon-whatsapp-blue > img.logo-max-img,
.block-product__label-whatsapp-blue > img.logo-max-img {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

/* Keep the review form title subordinate to the archive title. */
.form-review .form-review__title.title {
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.2;
  margin-bottom: 24px;
}

/* Keep the single-product gallery, title, specs and controls within mobile width. */
@media (max-width: 61.99875em) {
  .single-product .product-cart__container,
  .single-product .product-cart__top,
  .single-product .top-product-cart__images,
  .single-product .top-product-cart__desc,
  .single-product .product-cart__center,
  .single-product .center-product-cart__top,
  .single-product .center-product-cart__right {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .single-product .product-cart__container,
  .single-product .product-cart__top {
    width: 100%;
  }

  .single-product .product-cart__top {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
  }

  .single-product .product-cart__top > .top-product-cart__images {
    order: 1 !important;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin: 0 0 15px;
  }

  .single-product .product-cart__top > .top-product-cart__title {
    order: 2 !important;
    clear: both;
  }

  .single-product .images-product__slider {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .single-product .images-product__thumbs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }

  .single-product .images-product__wrapper,
  .single-product .thumbs__wrapper,
  .single-product .images-product__slide {
    min-width: 0;
  }

  .single-product .images-product__slide img {
    max-width: 100%;
    height: auto;
    padding: 0;
    object-fit: contain;
  }

  .single-product .product-cart__top > .top-product-cart__desc {
    order: 3 !important;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
  }

  .single-product .top-product-cart__title {
    display: block !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    margin: 0 0 12px;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    font-size: 20px !important;
    line-height: 1.25 !important;
  }

  body.single-product .product-cart__top .top-product-cart__desc h1.top-product-cart__title {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    color: #363c43 !important;
    -webkit-line-clamp: unset !important;
  }

  .single-product .top-product-cart__title::after {
    display: none !important;
    content: none !important;
  }

  .single-product .top-product-cart__table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }

  .single-product .top-product-cart__table li {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    width: 100%;
    min-width: 0;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .single-product .top-product-cart__table li strong {
    font-weight: 700;
  }

  .single-product .top-product-cart__actions {
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin-top: 16px;
  }

  .single-product .top-product-cart__left,
  .single-product .top-product-cart__right {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .single-product .top-product-cart__left {
    flex: 0 1 auto;
  }

  .single-product .top-product-cart__right {
    display: flex !important;
    flex-flow: row nowrap !important;
    flex: 1 1 120px;
    align-items: center;
    justify-content: flex-end;
    width: auto;
  }

  .single-product .top-product-cart__total {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 0 0 8px !important;
    text-align: right;
  }

  .single-product .top-product-cart__total .woocommerce-Price-amount {
    font-size: 18px !important;
    line-height: 1.15;
    white-space: nowrap;
  }

  .single-product .top-product-cart__total .nds {
    font-size: 11px;
    line-height: 1.2;
  }

  .single-product .center-product-cart__top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .single-product .center-product-cart__left,
  .single-product .center-product-cart__right {
    box-sizing: border-box;
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
  }

  .single-product .center-product-cart__left {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 0;
  }

  .single-product .center-product-cart__left > a {
    box-sizing: border-box;
    flex: 0 1 auto;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    margin-left: 0 !important;
  }

  .single-product .center-product-cart__left .banner_text {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
  }

  .single-product .center-product-cart__left .center-product-cart__installment-plan {
    overflow-wrap: anywhere;
  }

  .single-product .center-product-cart__right {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .single-product .center-product-cart__quantity {
    box-sizing: border-box;
    flex: 0 0 82px;
    min-width: 82px;
    max-width: 82px;
  }

  .single-product .center-product-cart__button-up {
    box-sizing: border-box;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
