/*reduce category and product titles and price font sizes on mobile*/
@media screen and (max-width: 899px) {
  .ec-size.ec-size .ec-store .ec-header-h1 {
    font-size: 13px;
  }
}

@media screen and (max-width: 899px) {
  .ec-size .ec-store .grid__products .grid-product__title-inner {
    font-size: 10px;
  }
}

@media screen and (max-width: 899px) {
  .ec-size .ec-store .grid-product__price .grid-product__price-amount {
    font-size: 10px !important;
  }
}

@media screen and (max-width: 899px) {
  .ec-size .ec-store.ec-store__category-page--expanded .grid__description p {
    font-size: 9px;
  }
}

.ec-size .ec-store .details-product-share__buttons.ec-likely {
  position: relative;
  border-right: 630px;
  border-bottom: 180px;
}

.ec-size .ec-store .details-product-share__buttons.ec-likely::before {
  content: "Share this product with your friends";
  font-size: 12px;
}

.product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title {
  display: none;
}

.ec-size.ec-size--s .ec-store .ec-header-h6.favorite-product__title {
  font-size: 11px;
}

.ec-size .ec-store .ec-likely__widget {
  zoom: 0.7;
}

.ec-size .ec-store .form-control__button--icon-prepend {
  zoom: 0.6;
}

.ec-size .ec-store__content-wrapper {
  display: flex;
  flex-direction: column;
}

.ec-size .ec-footer {
  order: 1;
}

.ec-size .product-details, .ec-size .ec-grid {
  order: 2;
}

.ec-size .ec-pager {
  order: 3;
}

.ec-size .ec-store .ec-store__content-wrapper .ec-footer {
  order: 1;
}

.ec-size .ec-store .ec-store__content-wrapper .ec-cart {
  order: 2;
}

.ec-size .ec-store.ec-store__product-page .ec-store__content-wrapper {
  display: flex;
  flex-direction: column;
}

.ec-size .ec-store.ec-store__product-page .ec-store__content-wrapper > div {
  order: 2;
}

.ec-size .ec-store.ec-store__product-page .ec-store__content-wrapper > .ec-footer {
  order: 1;
}

/* Decrease the size of store footer icons */
@media screen and (max-width: 899px) {
  .ec-footer a {
    font-size: 8px !important;
  }
  .ec-size:not(.ec-size--s) .ec-store .ec-footer__row[data-items="4"] {
    width: 100%;
    justify-content: center;
    flex-wrap: initial;
  }
}

/* Decreas the size of product labels */
@media screen and (max-width: 899px) {
  .ec-size .ec-store .label--custom .label__text {
    font-size: 7px;
  }
}

/* Decreas the size of product subtitles */
@media screen and (max-width: 899px) {
  .ec-size .ec-store .grid-product__subtitle .grid-product__subtitle-inner {
    font-size: 8.5px;
  }
}

.ec-size .ec-store .product-details-module__content--collapsed ~ .product-details-module__btn-more .ec-link {
  color: #e4e4b3;
}
