
#main-content .slider {
  background:url(../images/slide/bg.jpg) top center no-repeat;
  background-size: cover;
}
#main-content.vday .slider {
  background:url(../images/slide/vday/top.png) top center no-repeat,url(../images/slide/vday/bottom.png) bottom center no-repeat,url(../images/slide/vday/bg.jpg) top center no-repeat;
  background-size:  100% auto, 100% auto, cover;
}

/* Slider banner visibility control */
.slider .banner-vday {
  display: none;
}
.slider .banner-default {
  display: block;
}
#main-content.vday .slider .banner-vday {
  display: block;
}
#main-content.vday .slider .banner-default {
  display: none;
}

/* Flash / campaign tab theme (see theme-618.css) */
#main-content.vday .tnc {
  border: 1px solid #ff5722;
}
#main-content.vday .bg-red {
  background-color: #ff5722;
}
h5.startOffer, h5.beforeOffer{
  color: #000000!important;
}
#countdown li,#countdown li span{
  color: #000000!important;
}
#productList{
  position: relative;
  z-index: 2;
}

.slider .container{
  position: relative;
  z-index: 1;
}
#main-content ::selection {
  color: #ffffff;
  background: #ccc;
}
#main-content .tnc {
  border: 1px solid #000000;
  background-color: #fff;
}
#main-content .bg-red{
  background-color: #000000;
}
#main-content ol {
  list-style: auto;
  font-size: 14px;
}
#main-content ol li {
  margin-left: 20px;
}
#main-content .title {
  padding: 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
}
#main-content .priceRate{
  margin-bottom: 30px;
}
#main-content .product-item{
  position: relative;
  background-color: #FFF;
  border-radius: 0;
  margin-bottom: 0;
  height: 100%;
  border: 2px solid #000000;
  padding-bottom: 70px!important;
}
#main-content .buy-items{
  position: absolute;
  bottom: 15px;
  left: 10px;
  right: 10px;
}
#main-content .title span {
  padding: 10px 20px;
  border-radius: 40px;
}
#main-content .bg-star {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 20px;
  color: #f2d27f;
  background-color: #be3a2e;
  border: 1px solid #f2d27f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  line-height: 1.2;
  font-size: 12px;
  text-align: center;
  padding: 5px 8px;
}


#main-content .new {
  padding: 2px 5px;
  margin-left: 3px;
  font-size: 10px;
  background-color: red;
  color: #ffffff;
}
#main-content .content {
  display: none;
}
#main-content .content.active {
  display: block;
}

.yellow-shadow {
  -webkit-box-shadow: 10px 10px 0px 2px #cccccc;
  box-shadow: 10px 10px 0px 2px #cccccc;
}

#main-content .voucher-banner {
  background: url(../images/voucher-bg.jpg) top center repeat-x;
  background-size: auto auto;
}

#main-content .svg {
  height: 100px;
}
#main-content .border-left-and-top {
  border-top: 0;
  border-left: 1px solid #fff;
}
#main-content .bg-style-1 {
  background: url(../images/main/bg.jpg) top center no-repeat;
  background-size: cover;
}
#main-content .bg-style-2 {
  background: url(../images/bg3.png) top center no-repeat, #2d1918;
  background-size: auto 100%;
}
#main-content .shareButton {
  position: fixed;
  bottom: 20%;
  right: 20px;
  z-index: 999;
}
#main-content .shareButton a {
  border:1px solid #ffad01;
  background-color: #fcfcfc;
  color: #ffad01;
  border-radius: 40px;
  padding: 12px 12px 9px 12px;
  font-size: 20px;
  box-shadow: 0px 0px 6px -2px rgba(87, 87, 87, 0.73);
  -webkit-box-shadow: 0px 0px 19px -2px rgba(87, 87, 87, 0.73);
  -moz-box-shadow: 0px 0px 19px -2px rgba(87, 87, 87, 0.73);
  overflow: hidden;
}
#main-content .shareButton a span {
  display: none;
}
#main-content .shareButton a:hover span {
  display: inline;
}
#main-content .timer {
  color: #793400;
  background-color: #f1dda5;
  border-radius: 0;
}
#main-content .timer span.h2 {
  color: #793400 !important;
}
#main-content .promotion {
  display: none;
}
#main-content .promotion.active {
  display: block;
}
#main-content .btn-star {
  background: url(../images/star_off.jpg) center center no-repeat;
  background-size: 110% auto;
  color: #fff;
  border-radius: 30px;
  font-size: 18px;
}
#main-content .btn-star.active,
#main-content .btn-star:hover {
  background: rgb(236, 207, 103);
  background: linear-gradient(
    113deg,
    rgba(236, 207, 103, 1) 0%,
    rgba(227, 185, 75, 1) 24%,
    rgba(236, 207, 103, 1) 49%,
    rgba(227, 185, 75, 1) 74%,
    rgba(236, 207, 103, 1) 100%
  );
  color: #1c1c1c;
}

#main-content .text-gold {
  color: #c59d3e;
}
#main-content .bg-gold {
  background: rgb(236, 207, 103);
  background: linear-gradient(
    113deg,
    rgba(236, 207, 103, 1) 0%,
    rgba(227, 185, 75, 1) 24%,
    rgba(236, 207, 103, 1) 49%,
    rgba(227, 185, 75, 1) 74%,
    rgba(236, 207, 103, 1) 100%
  );
  color: #1c1c1c !important;
}
#main-content .border-gold {
  border: 2px solid #c59d3e;
}
#main-content .border-gold hr {
  border-top: 1px solid #c59d3e;
}
#main-content .btn-gold {
  background: rgb(236, 207, 103);
  background: linear-gradient(
    113deg,
    rgba(236, 207, 103, 1) 0%,
    rgba(227, 185, 75, 1) 24%,
    rgba(236, 207, 103, 1) 49%,
    rgba(227, 185, 75, 1) 74%,
    rgba(236, 207, 103, 1) 100%
  );
  color: #1c1c1c !important;
  font-weight: 700;
  border-radius: 20px;
}
#main-content .btn-gold:hover {
  background: rgb(227, 185, 75);
  background: linear-gradient(
    113deg,
    rgba(227, 185, 75, 1) 0%,
    rgba(236, 207, 103, 1) 24%,
    rgba(227, 185, 75, 1) 49%,
    rgba(236, 207, 103, 1) 74%,
    rgba(227, 185, 75, 1) 100%
  );
}


#store .swiper-slide a {
	color: #000000!important;
}
#store .swiper-slide a img {
	max-width: 12px;
	vertical-align: text-bottom;
}
.box01 {
	color: #FFFFFF;
	background: linear-gradient(180deg, #6A3792 0%, #1C3C6B 100%);
	border: 2px solid rgba(255, 255, 255, 0.25);
	line-height: 1;
}
.box02 {
	color: #FFFFFF;
	background: linear-gradient(180deg, #7BAE9C 0%, #0044A9 100%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	line-height: 1;
}
.box03 {
	color: #000000;
  background-color: #ffffff;
  border: 1px solid #806D6C;

	line-height: 1;
}
.box03 .h3{
  color: #8b6222!important;
}

.offer-hour{ height: 140px; }
.offer-hour-tc{ height: 120px; }
.offer-hour .bottom{position: absolute; bottom: 0; left: 0; right:0;}
#main-content #store .offer-hour {
  min-height: 155px;
  padding-bottom: 44px;
}
#main-content #store .offer-hour .bottom {
  bottom: 44px;
}
#main-content .store-whatsapp {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: auto;
}
#main-content .btn-whatsapp {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none !important;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
}
#main-content #store .swiper-slide {
  height: auto;
}
#main-content .btn-whatsapp:hover,
#main-content .btn-whatsapp:focus {
  background-color: #1da851;
  color: #ffffff !important;
  text-decoration: none !important;
}
#main-content .btn-whatsapp .fa-whatsapp {
  font-size: 16px;
}
#main-content #store .store-whatsapp a.btn-whatsapp {
  color: #ffffff !important;
}
#main-content .swiper-container:not(#store){
  padding: 15px 0 30px 0;
}

#main-content #priceRate{
  width: 200px;
  border-radius: 0;
  border: 1px solid #000000;
  padding: 8px 10px;
  margin-bottom: 0;
}
#main-content .navbar-toggler-icon{
  border-radius: 5px;
  background-image: none!important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background-color: #FFF;
  width: 40px;
}
#main-content .navbar-toggler-icon i{
  color: #9a2117;
}
#main-content .subcate-title{
 color: #FFFFFF;
 background-color: #880000;
 text-align: center;
 margin-bottom: 20px;
 position: relative;
 font-size: 1.5em;
}
#main-content .subcate-title span{
  background-color: #880000;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
#main-content .subcate-title::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url(../images/sub-title-bg.png) top center repeat-x;
  background-size:  auto 150%;
}
@media (max-width: 767.98px) { 
  #main-content .product-item{
    display: block;
  }


 }
@media (max-width: 575.98px) {
  .slider {
    background: #ffffff;
  }
  #main-content .shareButton a {
    font-size: 16px;
  }
  #main-content .shareButton a span {
    display: inline;
  }
  #main-content .shareButton a:hover span {
    display: inline;
  }
  #main-content .title {
    font-size: 18px;
  }
  #main-content #priceRate{
    width: 50%;
  }
  #main-content .shareButton{
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
  }
  #main-content .shareButton a{
    display: block;
    border-radius: 0;
  }
  #main-content .priceRate .product-item{
    border-bottom:1px solid #CCC;
  }
}
/* new*/
/* new*/
#main-content .back-to-top {
  display: none; /* 默认隐藏 */
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #000000;
  color: white;
  cursor: pointer;
  border-radius: 0;
  font-size: 18px;
  transition: background-color 0.3s;
  width: 40px;
  height: 40px;
  border: 1px solid #000000;
}

#main-content .back-to-top:hover {
  background-color: #FFFFFF; /* 稍深一点的蓝色 */
  color: #000000;
}

/* Loading overlay styles */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e60012;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide main content initially during loading */
#main-content.loading {
    position: relative;
}

#main-content.loading > *:not(.loading-overlay) {
    opacity: 0.3;
    pointer-events: none;
}