:root {
  --slide-image-height: 40%;
  --color-primary: #0752A2;
  --color-success: #4caf50;
  --color-warning: #ffc107;
  --color-danger: #f44336;
  --color-info: #2196f3;
  --color-white: #fff;
  --text-color: #333;
  --text-color-light: #999;
  --border-color: #ddd;
  --link-color: #333;
  --background-color: #f5f5f5;
  --money-color: #FF0036;
}

* {
  outline: none;
  word-wrap: break-word;
  word-break: break-all;
  box-sizing: border-box;
}

html, body {
  background: #F4F6F7;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: var(--link-color);
}
a:hover {
  text-decoration: underline;
}

ul, li, p, dd, dl, dt, h1, h2, h3, h4, h5 {
  padding: 0;
  margin: 0;
  list-style: none;
}

div:after, p:after, ul:after, li:after, ol:after, dl:after, dd:after, dt:after,
h1:after, h2:after, h3:after, h4:after, h5:after {
  clear: both;
  display: block;
}

dd, dt {
  font-weight: normal;
}

img {
  border: 0;
  -o-object-fit: cover;
     object-fit: cover;
}

input[type=text], textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type=text]:focus, textarea:focus {
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type=number] {
  -webkit-appearance: textfield;
}

button {
  cursor: pointer;
}

.radio, .checkbox {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

*:focus {
  box-shadow: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.iconfont {
  vertical-align: -1px;
}

.breadcrumb {
  padding: 10px 15px;
}
.breadcrumb .breadcrumb-item {
  color: #666;
  font-size: 12px;
}
.breadcrumb .active {
  color: #000;
}

.page-section {
  background-color: #ffffff;
  padding: 15px;
}

h3 {
  font-size: 1.35rem !important;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.blank-1 {
  height: 1rem;
  display: block;
}

.blank-2 {
  height: 2rem;
  display: block;
}

.blank-3 {
  height: 3rem;
  display: block;
}

.blank-4 {
  height: 4rem;
  display: block;
}

.blank-5 {
  height: 5rem;
  display: block;
}

.main {
  padding: 4rem 0;
  display: block;
  min-height: 500px;
}

/*==jQuery UI==*/
.ui-sortable-placeholder {
  border: 2px #0099CC dashed !important;
  visibility: visible !important;
  display: block !important;
  background: none !important;
}

.nav-pagination {
  display: flex;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  justify-content: center;
  align-items: center;
}
.nav-pagination .pagination {
  list-style-type: none;
  margin-bottom: 0;
  flex-wrap: wrap;
}

@media (min-width: 1200px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1200px;
  }
}
@media (max-width: 768px) {
  .main {
    padding: 0;
    margin-left: -15px;
    margin-right: -15px;
  }
  .nav-pagination .pagination {
    row-gap: 10px;
    justify-content: center;
  }
}
.error-content {
  text-align: center;
  padding-top: 100px;
  min-height: 530px;
}
.error-content .image {
  text-align: center;
  display: block;
}
.error-content .image img {
  width: 200px;
  display: inline-block;
}
.error-content .error-icon {
  text-align: center;
}
.error-content .error-icon img {
  width: 80px;
  display: inline-block;
  margin-bottom: 10px;
}
.error-content h2 {
  font-size: 18px;
  font-weight: 500;
  line-height: 3.6;
}
.error-content .links {
  text-align: center;
  font-size: 14px;
}
.error-content a {
  margin: 0 5px;
  text-decoration: none;
}
.error-content a:hover {
  text-decoration: underline;
}

.header {
  display: block;
}
.header .header-top {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
}
.header .header-top a {
  color: #fbfbfb;
}
.header .header-top a:hover {
  color: #fff;
}
.header .header-top-content {
  display: flex;
  align-items: center;
}
.header .header-top-left {
  flex-grow: 1;
  display: flex;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  padding: 0.9rem 0;
}
.header .header-top-right {
  display: flex;
  align-items: center;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.header .header-main {
  display: block;
}
.header .header-main-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
}
.header .header-main .logo {
  flex-grow: 1;
}
.header .header-main .search {
  flex-grow: 2;
}
.header .header-main .search-input {
  background-color: var(--color-white);
  display: flex;
  border-radius: 10rem;
}
.header .header-main .search-input input {
  height: 2.6rem;
  padding: 0 1rem;
  border: none;
  flex-grow: 1;
  border-radius: 10rem;
}
.header .header-main .search-input button {
  background-color: transparent;
  border: none;
  border-radius: 10rem;
  padding: 0 1rem;
  height: 2.6rem;
}
.header .header-main .icon-cart {
  flex-grow: 1;
  text-align: right;
  font-size: 20px;
}
.header .header-main .icon-cart .cart-box {
  position: relative;
}
.header .header-main .icon-cart .cart-box .cart-count {
  position: absolute;
  top: -12px;
  right: -12px;
  background-color: red;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: white;
  text-align: center;
  line-height: 20px;
  white-space: nowrap;
  font-size: 12px;
}
.header .header-nav {
  display: block;
  background-color: var(--color-white);
}
.header .header-nav .nav-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
}
.header .header-nav .nav-item {
  font-size: 1.1rem;
  font-weight: 500;
}
.header .header-nav .nav-item a {
  display: block;
  padding: 1rem;
  text-transform: uppercase;
}
.header .header-nav .nav-item a:hover {
  background-color: var(--background-color);
  text-decoration: none;
}

.swiper-container {
  position: relative;
  overflow: hidden;
}

.swiper {
  position: relative;
}
.swiper .slide-image {
  position: relative;
}
.swiper .slide-image:before {
  padding-bottom: var(--slide-image-height);
  content: " ";
  display: block;
}
.swiper .slide-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
  color: #333;
  background-color: #CCCCCC;
  width: 50px;
  height: 50px;
  border-radius: 25px;
  opacity: 0.7;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 24px !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background-color: #FF8364;
  color: #FF8364;
}

.swiper-pagination {
  bottom: 1rem;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 3rem;
  background-color: #ffffff;
  border-radius: 2px !important;
  opacity: 0.9;
}
.swiper-pagination-bullet-active {
  background-color: #FF8364;
}

.banner-swiper {
  overflow: hidden;
}
.banner-swiper .slide-image {
  position: relative;
}
.banner-swiper .slide-image:before {
  content: " ";
  display: block;
  padding-bottom: 30%;
}
.banner-swiper .slide-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  .banner-swiper .slide-image:before {
    padding-bottom: 40%;
  }
}
.nav-categories {
  padding: 10px 0;
  display: flex;
  margin-bottom: 20px;
  list-style-type: none;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.nav-categories li {
  display: inline-block;
}
.nav-categories li a {
  font-size: 18px;
  color: #777;
}
.nav-categories li a:hover, .nav-categories li a.active {
  color: #5AB7D7;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
}
.product-list .product-item {
  display: block;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
}
.product-list .product-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.product-list .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: all 0.3s ease;
}
.product-list .product-image .img-mask {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  pointer-events: none;
  position: absolute;
  transition: background-color 0.2s ease;
}
.product-list .product-image:before {
  content: "";
  padding-top: 100%;
  display: block;
}
.product-list .product-image:hover img {
  transform: scale(1.1);
}
.product-list .product-image:hover .img-mask {
  background-color: rgba(0, 0, 0, 0.08);
}
.product-list .product-info {
  padding: 10px;
}
.product-list .product-title {
  font-size: 0.95rem;
  line-height: 1.1;
  height: 2.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1rem;
}
.product-list .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--money-color);
}
.product-list .product-meta {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 10px;
       column-gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}
.product-list .product-btn .btn-cart {
  background-color: var(--money-color);
  color: var(--color-white);
}
.product-list .product-btn .btn-cart:hover {
  opacity: 0.9;
}

.home .product-area {
  display: block;
  margin-top: 1rem;
}

.post-list {
  display: block;
  list-style-type: none;
  padding-left: 0;
}
.post-list li {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px #ededed solid;
}
.post-list li .thumb {
  width: 230px;
  height: 160px;
  min-width: 230px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-right: 40px;
  display: block;
  float: left;
}
.post-list li .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.post-list li .title {
  font-size: 20px;
  line-height: 28px;
}
.post-list li p {
  font-size: 14px;
  line-height: 24px;
  display: -webkit-box;
  overflow: hidden;
  margin: 25px auto 25px;
  color: #808080;
  max-height: 48px;
}
.post-list li .bot {
  font-size: 12px;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #b3b3b3;
}

.post-detail .post-main-content {
  padding: 30px;
  display: block;
}
.post-detail .post-title {
  font-size: 30px;
  padding-bottom: 40px;
  text-align: left;
  color: #333;
}
.post-detail .post-meta {
  font-size: 14px;
  bottom: 0;
  width: 100%;
  color: #b3b3b3;
  text-align: center;
}
.post-detail .post-summary {
  background-color: #F2F2F2;
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  margin: 20px 0;
  color: #999;
}
.post-detail .post-content {
  margin: 20px 0;
  text-align: justify;
  word-break: break-all;
  color: #666 !important;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
}
.post-detail .post-content * {
  max-width: 100%;
}
.post-detail .post-content p {
  padding: 7px 0;
  display: block;
}
.post-detail .post-section-title {
  display: flex;
  -moz-column-gap: 10px;
       column-gap: 10px;
  position: relative;
}
.post-detail .post-section-title:before {
  content: " ";
  display: block;
  width: 5px;
  background-color: #59B7D7;
  border-radius: 5px;
  margin-top: 2px;
  margin-bottom: 2px;
}
.post-detail .post-section-title h3 {
  font-size: 1.25px;
  margin-bottom: 0;
}

.post-tougao {
  background-color: #59B7D7;
  padding: 6px 0;
  text-align: center;
  display: block;
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
  border-radius: 30px;
}

.shop .color-wapper {
  display: block;
  padding: 40px 0;
  background-color: #ffffff;
}
.shop .color-wapper h1.title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 20px;
  clear: both;
}
.shop .color-wapper .bigtitle {
  background-image: url("/images/shop/fresh_mod_head_bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 30px;
  text-align: center;
  padding: 10px 0;
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
}
.shop .color-wapper .bigtitle strong {
  padding: 10px 20px;
  font-size: 22px;
}
.shop .color-wapper .item-list-div {
  background-color: #fff;
  border-radius: 5px;
  display: block;
  overflow: hidden;
}
.shop .color-wapper .item-list-div ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
}
.shop .color-wapper .item-list-div ul li {
  display: block;
}
.shop .color-wapper .item-list-div ul li:hover {
  background-color: #F2F2F2;
}
.shop .color-wapper .item-list-div ul li .thumbnail {
  display: block;
  position: relative;
}
.shop .color-wapper .item-list-div ul li .thumbnail:before {
  content: " ";
  display: block;
  padding-top: 100%;
}
.shop .color-wapper .item-list-div ul li .thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.shop .color-wapper .item-list-div ul li .title {
  font-size: 14px;
  line-height: 20px;
  height: 50px;
  overflow: hidden;
  color: #333;
  padding: 10px 5px;
}
.shop .color-wapper .item-list-div ul li .price {
  font-size: 18px;
  float: left;
  color: #E1251B;
}
.shop .color-wapper .item-list-div ul li .sold {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  padding-top: 5px;
}
.shop .color-wapper .item-list-div ul li .more-info {
  display: flex;
  padding: 10px 5px;
  align-items: center;
  justify-content: space-between;
}
.shop .headbg {
  background-image: url("/images/shop/headbg.jpg");
  background-size: 100% 100%;
  padding-top: 0;
}
.shop .apps {
  display: flex;
}
.shop .apps li {
  flex: 0.25;
  display: block;
  text-align: center;
}
.shop .apps li img {
  display: inline-block;
  width: 70%;
}

.footer {
  padding: 4rem 0;
  background-color: var(--color-primary);
  color: var(--color-white);
}
.footer a {
  color: #f5f5f5;
}
.footer a:hover {
  color: var(--color-white);
}
.footer .footer-content {
  display: flex;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
}
.footer .footer-column {
  flex-grow: 1;
  flex-basis: min-content;
}
.footer .footer-column h3 {
  margin-bottom: 1rem;
}
.footer .footer-column ul {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}
.footer .footer-copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E5E5;
  text-align: center;
}
