﻿.fitboxx-theme-container {
  width: 1520px;
  margin: 0 auto;
}

/* 解决轮播图不贴边的问题 */
.fitboxx-theme-container .php-component-container:first-of-type {
  width: 101% !important;
  left: -15px !important;
}

.fitboxx-theme-container .php-component-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}


.fitboxx-theme-container.is-mobile {
  width: 100%;
  max-width: 750px;
}

.fitboxx-theme-container.is-mobile .php-component-container:first-of-type {
  width: calc(100vw + 0px) !important;
  left: calc(-50vw + 50%) !important;
}

/* 未知问题: target='_self'时 会出现2级头部 */
#page-body .magic-pc-header {
  min-height: 0 !important;
}

.fitboxx-theme-container .categoryProduct .item .blog {	padding-bottom: 19px; }

.fitboxx-theme-container .categoryProduct .item .blog .photo { padding-bottom: 60%; }

.fitboxx-theme-container .categoryProduct .item .blog .desc { margin-top: 8px; }

.fitboxx-theme-container .categoryProduct .item .blog .desc h3 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding-bottom: 0;
}

.fitboxx-theme-container .categoryProduct .item .blog .desc .text-sm { display: none; }

/* 回到顶部 */
.fitboxx-to-top-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  top: unset !important;
  padding: 4px 8px !important;
  opacity: 1 !important;
  bottom: 5px !important;
  right: 0 !important;
  z-index: 2000 !important;
}

.fitboxx-to-top-btn.is-mobile {
  bottom: 65px !important;
}

.fitboxx-to-top-btn img {
  display: block;
  width: 30px;
  height: 30px;
}

.fitboxx-to-top-btn span {
  display: block;
  font-size: 12px !important;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: rgba(0, 0, 0, 0.60);
}

.iti-mobile .fitboxx-to-top-btn {
  right: 5px !important;
}

.iti-mobile .fitboxx-to-top-btn img {
  width: 24px;
  height: 24px;
}

/* end 回到顶部 */

#system-info .modal-header {
  background-color: #bd322d !important;
}

#system-info .modal-header button.close {
  color: #fff;
  opacity: 1;
}

#system-confirm .modal-sm {
  max-width: 300px;
}

#system-confirm .modal-header { margin-bottom: 0; }

@media only screen and (max-width: 767px) {
  .fitboxx-theme-container:not(.is-mobile) .php-component-container {
    justify-content: flex-start;
  }

  .fitboxx-theme-container:not(.is-mobile) .pc-component-image {
    flex: none !important;
    width: auto !important;
    height: 100%;
  }
}


/*移动端适配*/
.fitboxx-theme-container.is-mobile {
  min-height: 0 !important;
  margin-top: 50px !important;
  margin-bottom: 55px !important;
}