.mt-10 {
  margin-top: 10px;
}
.body {
  background: #f4f4f4;
}
.mt-6-5 {
  margin-top: 36px !important;
  margin-top: 3rem !important;
}

.header-body {
  padding: 0px;
  margin: 0px;
}
.header-effect-shrink {
  padding: 0px;
  margin: 0px;
}
.slider-bg {
  height: auto;
  /* background-image: url("../images/slider-bg.png");*/
  background: #f4f4f4;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.container-custom {
  width: 75%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.my-entry-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.my-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.my-product-image {
  width: 100%;
  height: 300px;
  border: 1px solid #eee;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.my-product-image img {
  object-fit: contain;
  width: 100%;
  height: 300px;
}

.footericon li {
  list-style: none;
  display: inline;
  margin-right: 35px;
  margin-left: -20px;
}

.footericon li img {
  width: 40px;
}

.footericon1 li {
  list-style: none;
  display: inline;
  margin-right: 15px;
}

.footericon1 li img {
  width: 120px;
}

@media (max-width: 764px) {
  .my-product-image {
    width: 100%;
    height: 300px;
  }
  .my-product-image img {
    width: 100%;
    height: 300px;
  }
  .my-entry-image {
    width: 100%;
    height: 300px;
  }
  .my-entry-image img {
    width: 100%;

    object-fit: cover;
  }
}

@media screen and (min-width: 1920px) {
  .news {
    position: relative;
    top: 0rem;
  }
}

@media (min-width: 1180px) and (max-width: 1390px) {
  .slider-bg {
    height: auto;
    /*background:#212529;*/
  }
  .news {
    position: relative;
    top: 0rem;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .slider-bg {
    height: 200px;
    /*background:#212529;*/
  }
  .news {
    position: relative;
    top: 0rem;
  }
}

@media screen and (max-width: 570px) {
  .slider-bg {
    background: #212529;
    height: auto;
  }

  .container-custom {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* ----------------------------------------------------------------
	Top Cart
-----------------------------------------------------------------*/
.top-cart-number {
  --cnvs-top-cart-number-size: 1.125rem;
  display: block;
  position: absolute;
  top: -7px;
  left: auto;
  right: -8px;
  font-size: 0.625rem;
  color: #fff;
  width: var(--cnvs-top-cart-number-size);
  height: var(--cnvs-top-cart-number-size);
  line-height: var(--cnvs-top-cart-number-size);
  text-align: center;
  background-color: var(--cnvs-themecolor);
  opacity: 0.8;
  border-radius: 50%;
}
@media (min-width: 992px) {
  #top-cart {
    position: relative;
  }
}
.top-cart-content {
  position: fixed;
  top: 0;
  left: auto;
  width: 300px;
  background-color: var(--cnvs-primary-menu-submenu-bg);
  border: 0;
  box-shadow: 0px 20px 50px 10px rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .top-cart-content {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .top-cart-content {
    right: 0 !important;
    transform: translate3d(300px, 0, 0);
    height: 100vh;
    z-index: -1;
  }
}
@media (min-width: 992px) {
  .top-cart-content {
    opacity: 0;
    position: absolute;
    width: 280px;
    border: 1px solid var(--cnvs-header-border-color);
    border-top: 2px solid var(--cnvs-themecolor);
    top: calc((var(--cnvs-header-height) + 20px) * 0.5);
    right: 0;
    margin: -10000px 0 0;
    z-index: auto;
    transition: opacity 0.5s ease, top 0.4s ease;
  }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .top-cart-content {
    transition: none;
  }
}
.top-cart-title {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cnvs-header-border-color);
}
.top-cart-title h4,
.top-cart-title .h4 {
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.top-cart-items {
  padding: 1rem;
}
@media (min-width: 992px) {
  .top-cart-items {
    padding: 1rem;
  }
}
.top-cart-item,
.top-cart-action,
.top-cart-item-desc {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.top-cart-item {
  justify-content: flex-start;
}
.top-cart-item:not(:first-child) {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--cnvs-header-border-color);
}
.top-cart-item-image a,
.top-cart-item-image img {
  display: block;
  width: 60px;
  height: 60px;
}
.top-cart-item-image:hover {
  border-color: var(--cnvs-themecolor);
}
.top-cart-item-desc,
.top-cart-item-desc-title {
  padding-left: 1rem;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}
.top-cart-item-desc {
  align-items: flex-start;
}
.top-cart-item-desc-title {
  padding-left: 0;
}
.top-cart-item-desc a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--cnvs-contrast-800);
  font-weight: 500;
  margin-bottom: 5px;
}
.top-cart-item-desc a:hover {
  color: var(--cnvs-themecolor);
}
.top-cart-item-price {
  font-size: 0.75rem;
  color: var(--cnvs-primary-menu-color);
}
.top-cart-item-quantity {
  padding-top: 5px;
  font-size: 0.75rem;
  line-height: 1.25rem;
  color: var(--cnvs-primary-menu-color);
}
.top-cart-action {
  align-items: center;
  padding: 1rem;
  border-top: 1px solid var(--cnvs-header-border-color);
}
.top-cart-action .top-checkout-price {
  font-size: 1.25rem;
  color: var(--cnvs-themecolor);
  font-weight: 500;
}
@media (max-width: 991.98px) {
  .top-cart-open .top-cart-content {
    transform: translate3d(0, 0, 0);
    z-index: 499;
  }
}
@media (min-width: 992px) {
  .top-cart-open .top-cart-content {
    opacity: 1;
    z-index: 399;
    margin-top: 0;
  }
}

.shape-gray {
  width: 100%;
  height: 100%;
  filter: grayscale(100%);
}

/* CSS product button */
.click-btn {
  display: flex;
  width: 100%;
  height: 50px;
  justify-content: center;
  align-items: center;
  margin: 0rem;
  line-height: 35px;
  border: 1px solid;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  transition: all 0.35s;
  box-sizing: border-box;
}
.btn-style904 {
  position: relative;
  background-color: #dcbb72;
  border-color: #dcbb72;
  color: #fff;
  overflow: hidden;
}
.btn-style904 span {
  position: relative;
  left: -0.5em;
  transition: all 0.25s;
}
.btn-style904::before,
.btn-style904::after {
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  padding-top: 6px;
  background-color: #b79c61;
  transition: all 0.25s;
  color: #fff;
}
.btn-style904::before {
  width: 25px;
  content: "";
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "FontAwesome";
  font-size: 10px;
  font-weight: bold;
  text-indent: 5px;
  border-radius: 50% 0 0 50%;
  z-index: 1;
}
.btn-style904::after {
  width: 100%;
  transform: translate(100%, 0);
  content: attr(data-hover);
  text-align: left;
  text-indent: 8px;
}
.btn-style904:hover {
  border-color: #b79c61;
}
.btn-style904:hover span {
  left: -100%;
}
.btn-style904:hover::before {
  right: 80%;
}
.btn-style904:hover::after {
  right: 80%;
}

/* 徽章樣式 */
.badge {
  top: 5px;
  left: 5px;
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 100;
}
.badge img {
  width: 100%; /* 調整為圖片實際寬度 */
  height: 100%; /* 調整為圖片實際高度 */
  padding: 0px;
}
@media (max-width: 500px) {
  .badge {
    top: 5px;
    left: 5px;
    width: 55px; /* 調整為圖片實際寬度 */
    height: 55px; /* 調整為圖片實際高度 */
  }
}

/* 徽章距離圖片的間距 */
.badge + .badge {
  top: 40px; /* 往下移動徽章的位置 */
  /*left: 5px;*/
}

/* 徽章距離圖片的間距 */
.badge + .badge + .badge {
  top: 70px; /* 往下移動徽章的位置 */
  /*left: 5px;*/
}

/* 徽章距離圖片的間距 */
.badge + .badge + .badge + .badge {
  top: 100px; /* 往下移動徽章的位置 */
  /*left: 5px;*/
}

/* 置頂優惠欄 */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  color: white;
  text-align: center;
  padding: 4px 20px;
  font-size: 14px;
  font-weight: bold;
  z-index: 99999;
  transition: top 0.5s ease-in-out;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 按鈕樣式 */
.promo-banner {
  font-size: 14px;
  text-align: center;
  /*padding: 6px;*/
  background: #ff9800; /* 背景固定 */
  color: white;
  font-weight: bold;
  /*position: relative;*/
  width: 100%;
  overflow: hidden; /* 防止文字超出 */
}

#promoText {
  display: inline-block;
}
