﻿ 

.contact-container{
    width: 100%;
    background-image: url('/shopcss/image/contact-bg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-container::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgb(0 0 0 / 20%);
    z-index: 10;
}

.dropdown .nav-link:after{
    content: ""!important;
}

.banner-hero {
    background: url("/shopcss/picture/aboutimg.webp") center center / cover no-repeat;
    padding: 10px 0;
    color: white;
    text-align: left;
    position: relative;
    z-index: 1;
  }
  .banner-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
  }
  .banner-hero h1 {
    font-size: 2.5rem;
    color: #fff;
  }
  .banner-hero p {
    font-size: 1.25rem;
    color: #f0f0f0;
  }
  .banner-hero .btn-primary {
    background-color: var(--theme-color-1);
    border-color: var(--theme-color-1);
    color: var(--theme-color-3);
    font-weight: bold;
    padding: 12px 30px;
    font-size: 1.1rem;
  }
  .banner-hero .btn-primary:hover {
    background-color: var(--theme-color-0);
    border-color: var(--theme-color-0);
    color: white;
  }
  
  @media (max-width: 991px) {
  .banner-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }
  .banner-title {
    font-size: 2rem;
  }
  .banner-subtitle {
    font-size: 1.125rem;
  }
}

.banner01 {
  background: url('/shopcss/picture/aboutimg.webp') no-repeat center center;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  position: relative;
}

.banner01 .badge {
  font-size: 0.9rem;
  padding: 0.5em 0.9em;
  border-radius: 999px;
}

.banner01 .btn-primary {
  background-color: var(--theme-color-1);
  border: none;
  color: var(--theme-color-3);
  font-weight: bold;
  padding: 0.6rem 1.5rem;
  font-size: 1.1rem;
}

.banner01 .feature-box i {
  min-width: 36px;
}

@media (max-width: 767px) {
  .banner01 {
    padding: 50px 20px;
    text-align: center;
  }

  .banner01 .feature-box {
    justify-content: center;
    text-align: left;
  }

  .banner01 .feature-box i {
    margin-right: 10px;
  }

  .banner01 .lead {
    font-size: 1.1rem;
  }

  .banner01 .btn-primary {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }

  .banner01 .badge {
    margin-bottom: 5px;
  }
}
/* 手機端專用補償高度 */
.buybar-v3-spacer {
  height: 80px; /* 根據你的固定欄實際高度調整 */
}
/***************************************/
/***************************************/
/***************************************/
.banner01-4 {
  background: url('/shopcss/picture/aboutimg.webp') no-repeat center center;
  background-size: cover;
  padding: 20px 0;
  color: var(--theme-color-3);
  position: relative;
}
.banner01-4::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), var(--bs-dark));
    z-index: -1;
  }


.banner01-4 h1 {
  color: var(--theme-color-3);
}

.banner01-4 .lead {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
}

.btn-banner {
  background-color: var(--theme-color-2);
  color: #fff;
  padding: 0.65rem 2rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-banner:hover {
  background-color: var(--theme-color-2);
  opacity: 0.9;
}

.info-tags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  max-width: 300px;
}

.info-tags-box .tag-item {
  background-color: var(--font-color-accent1);
  color: var(--bs-danger-text-emphasis);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.45);
}


/* 手機版調整 */
@media (max-width: 767px) {
  .banner01-4 {
    padding: 10px 20px;
    text-align: left;
  }

  .info-tags-box {
    display: none;
  }

  .btn-banner {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }

  .banner01-4 .lead {
    font-size: 1.1rem;
        text-align:left;

  }
  
  .btn-banner {
  padding: 2px 8px!important;
  border-radius: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius:5px!important;

}

   .banner-hero h1 {
    font-size: 1.5rem;
    color: #fff;
    text-align:left;
  }

  
}

/***************************************/
/***************************************/
/***************************************/
.btn-banner {
  background-color: var(--bs-yellow); /* 柔和主色 */
  color: #fff;
  border: none;
  padding: 5px 18px!important;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-banner:hover {
  background-color: var(--theme-color-0); /* hover 替代色 */
  color: #fff;
}

/***************************************/
/***************************************/
.breadcrumb-wrapper {
  background-color: #f8f9fa; /* 可替換成 transparent，若想無底色 */
  padding: 12px 0;
  font-size: 1.2rem;
  border-bottom: 1px solid #e2e2e2;
}

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(---font-color);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
  font-weight: 500;
}

.breadcrumb-wrapper .breadcrumb {
  margin-bottom: 0;
  padding-left: 0;
  background: none;
}

.breadcrumb-wrapper .breadcrumb-hint {
  font-size: 1.1rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .breadcrumb-wrapper .container-1320 {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .breadcrumb-wrapper .breadcrumb-hint {
    font-size: 0.85rem;
    white-space: normal;
  }
}


/***************************************/
/***************************************/

@media (max-width: 991px) {
  .main-nav-slider {
    padding: 2px 10px;
    background-color: var(--theme-color-0); /* 柔和背景色，如淡紫或淡藍 */
  }

  .nav-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;      /* Firefox 隱藏 scrollbar */
    -ms-overflow-style: none;   /* IE 10+ */
  }

  .nav-scroll::-webkit-scrollbar {
    display: none;              /* Chrome 隱藏 scrollbar */
  }

  .nav-btn-card {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 3px;
    font-size: 17px;
    font-weight: 600;
    color: var(--bg-white);  /* 深灰字體 */
    text-decoration: none;
    line-height: 1.5;
  }

  .nav-btn-card::after {
	 content: '｜';
    display: inline-block;
    margin-left: 5px;
    font-weight: 600;
    color: var(--bg-white);  /* 深灰字體 */
    font-size: 14px;
    line-height: 1.1;
  }

  .nav-btn-card:last-child::after {
    display: none;
  }

  .nav-btn-card:hover {
    background-color: var(--theme-color-1); /* 淡藍 hover */
    color: #fff;
  }
}

/***************************************/
/***************************************/
/* 區塊外層：橫向可滑動（手機），PC 換行自適應 */
.categoryBar01-wrapper {
 max-width:1320px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox 隱藏滾動條 */
  -ms-overflow-style: none;  /* IE 隱藏滾動條 */
  background: transparent;
  padding: 10px 2px  1px 2px;
  margin: 0 auto;
}
.categoryBar01-wrapperdf {
 max-width:1320px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox 隱藏滾動條 */
  -ms-overflow-style: none;  /* IE 隱藏滾動條 */
  background: transparent;
  padding: 10px 0;
  margin: 0 auto;
}

.categoryBar01-wrapper::-webkit-scrollbar {
  display: none; /* Chrome 隱藏滾動條 */
}

/* 內層容器：橫向排列（手機），PC自動換行 */
.categoryBar01 {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .categoryBar01 {
    flex-wrap: wrap;
 justify-content: flex-start;
     gap: 12px 16px;
    padding: 10px 10px;
  }
}
.btitemA001 {
 	background-color: rgb(255, 255, 255)!important;
}
.btitemA002 {
 	color: #1976d2!important;
	font-weight:bold!important;
}
.btitemA003 {
	color: #1976d2!important;
	font-weight:bold!important;
}
.btitemA004 {
 	background-color: #bbdefb!important;
}
/* 分類項目按鈕樣式 */
.categoryBar01-item {
  padding: 4px 8px;
  font-size: 1.1rem;
 	background-color: #e3f2fd;
  color: #1976d2;
  border: 1px solid #ddd;
  border-radius: 6px;
  white-space: nowrap;
	text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.categoryBar01-item i {
  font-size: 14px;
}

.categoryBar01-item:hover {
 background-color: #bbdefb; /* 深一点的蓝 */
  color: #0d47a1;            /* 深蓝文字 */
  border-color: #bbb;
}
/***************************************/
/***************************************/
    .tag-0 {
      background-color: #ffebee!important;
      color: #d32f2f;
    }
    
    .tag-1 {
      background-color: #e3f2fd!important;
      color: #1976d2;
    }
    
    .tag-2 {
      background-color: #fff8e1!important;
      color: #ff8f00;
    }
    
    
	.tag-3 {
	  background: #e74c3c!important; /* 熱銷中 - 紅色 */
	   color: white;
    }

	
	.tag-4 {
	  background: #f39c12!important; /* 限時折扣 - 橘黃 */
	   color: white;

	}
	
	.tag-5 {
	  background: #27ae60!important; /* 新品上市 - 綠色 */
	   color: white;
	}
	
	.tag-6 {
	  background: #2980b9!important; /* 精選推薦 - 藍色 */
    color: white;

	}
	.tag-7 {
	  background-color: #ffa500!important; /* 精選推薦 - 藍色 */
    color: white;

	}
	.tag-8 {
	  background-color: #e74c3c!important; /* 精選推薦 - 藍色 */
    color: white;

	}
	.tag-9 {
	  background-color: #9b59b6!important; /* 精選推薦 - 藍色 */
    color: white;

	}
	
	.buy-button-group {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.buy-button {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  flex: 1 1 auto;
}

.buy-button.buy-tw {
  background-color: var(--theme-color-1); /* 台灣: 主題橘色 */
  color: #fff;
}

.buy-button.buy-hk {
  background-color: #0070c0; /* 香港: 藍色 */
  color: #fff;
}


/***************************************/
/***************************************/
/***************************************/
.banner-layer-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    height: 100%;
    padding: 15px 15px ;
}

.banner-layer-wrapper.one{
    background-color: var(--theme-color-3);
}
.banner-layer-wrapper.two{
    background-color: var(--theme-color-0);
}
.two .banner-layer-description{
    color: var(--font-white);
}


/***************************************/
/***************************************/
/***************************************/
/***************************************/
.notice-tabs-section {
	max-width:1320px;
	margin:0 auto;
  background: #f4f5f7;
  padding: 2px 1px;
  font-family: system-ui, sans-serif;
  align-items: flex-start; /* 确保内容顶端对齐 */
}

.tabs-wrapper {
  position: relative;
}

.tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tabs-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-color-1, #ffa500);
}

.tabs-arrows {
  display: flex;
  gap: 5px;
}

.tabs-arrow {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  color: #555;
  transition: background 0.2s ease;
}
.tabs-arrow:hover {
  background-color: #e6e6e6;
}

.tabs-scroll-container {
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-scroll-container::-webkit-scrollbar {
  display: none;
}

.tabs-scroll {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  min-width: max-content;
}

.tab-btn {
  padding: 6px 10px;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 6px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background-color: #f2f2f2;
}

.tab-btn.active {
  background-color: var(--theme-color-1, #ffa500);
  color: #fff;
  border-color: var(--theme-color-1, #ffa500);
}

/* 内容区 */
.tab-content-wrapper {
  margin-top: 16px;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.notice-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.notice-info {
  margin-left: 12px;
  flex-grow: 1;
}
.notice-info p {
  font-size: 1rem;
  color: #444;
}
.notice-info small {
  font-size: 0.8rem;
  color: #999;
}

.notice-list .icon {
  width: 40px;
  height: 40px;
  background-color: #eee;
  border-radius: 50%;
}



/***************************************/

 .fixed-top + * {
    margin-top: 80px; /* 根据导航栏高度调整 */
  }



  .product-recommend-section {
      padding: 1px 0 10px 0;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .recommend-header {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  margin-bottom: 12px;
	}

    .recommend-title {
	  font-size: 1.5rem;
      margin-bottom: 16px;
      text-align: left;
      color: white;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .recommend-slider {
      position: relative;
      width: 100%;
      overflow: hidden;
    }
    
    .recommend-grid-wrapper {
      width: 100%;
      overflow: hidden;
    }
    
    .recommend-grid {
      display: flex;
      transition: transform 0.3s ease;
    }
    
    .recommend-card {
      background-color: var(--bg-white);
      border: 1px solid var(--theme-color-3);
      border-radius: 10px;
      overflow: hidden;
      transition: box-shadow 0.2s ease;
      display: flex;
      flex-direction: column;
 		 flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        margin-right: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .recommend-card:last-child {
      margin-right: 0;
    }
    
    .recommend-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .image-wrapper {
      position: relative;
      width: 100%;
      height: 160px;
      overflow: hidden;
    }
    
    .image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    
    .recommend-card:hover .image-wrapper img {
      transform: scale(1.05);
    }
    
    .product-label {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 0.75rem;
      color: var(--font-white);
      background-color: var(--theme-color-1);
      padding: 2px 6px;
      border-radius: 4px;
      font-weight: bold;
      z-index: 1;
    }
    
    .price-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 6px 10px;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      color: var(--font-white);
      font-size: 0.9rem;
      font-weight: bold;
    }
    
    .price-overlay .price-discount {
      color: var(--theme-color-1);
      font-size:1.1rem;
    }
    
    .price-overlay .price-original {
      text-decoration: line-through;
      font-size: 0.7rem;
      color: #ddd;
    }
    
    .card-info {
      padding: 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex-grow: 1;
    }
    
    .card-title {
      font-weight: bold;
      font-size: 1rem;
      color: var(--heading-color);
    white-space: nowrap; /* 不换行 */
	  overflow: hidden;    /* 隐藏超出部分 */
	  text-overflow: ellipsis; /* 超出部分用省略号表示 */

    }
        
    
    .card-desc {
      font-size: 0.9rem;
      color: var(--font-color);
      line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2; /* 限制显示两行 */
	-webkit-box-orient: vertical; /* 垂直排列 */
	overflow: hidden;    /* 隐藏超出部分 */
	text-overflow: ellipsis; /* 超出部分用省略号表示 */
      
      
    }
    
    .buy-button {
      display: inline-block;
      margin-top: auto;
      background-color: var(--theme-color-1);
      color: var(--font-white);
      padding: 8px 14px;
      border-radius: 6px;
      font-size: 1.3rem;
      text-align: center;
      text-decoration: none;
      transition: background-color 0.2s ease;
      border: none;
      cursor: pointer;
    }
    
    .buy-button:hover {
      background-color: #e68a00;
      color: var(--font-white);

    }
    
    .product-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 6px;
    }
    
    .product-tag {
      background-color: var(--theme-color-3);
      color: var(--theme-color-2);
      font-size: 0.75rem;
      padding: 2px 6px;
      border-radius: 4px;
    }
    

        
    /* 平板和PC端样式 */
    @media (min-width: 600px) {
      .recommend-card {
     	 flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);

      }
    }
 .recommend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 0px;
}

.recommend-title {
  font-size: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  margin: 0;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 30px;
  height: 30px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  z-index: 10; /* 保證在圖片之上 */
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.slider-controls button:hover {
  background-color: #eaeaea;
  border-color: #bbb;
}

.slider-controls i {
  color: #555;
  font-size: 16px;
}




.navbar-shop-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px; /* 可根据按钮位置微调对齐 */
  float:right;
}

.navbar-shop-links a {
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  padding: 2px 0;
  text-align: right;
}

.navbar-toggler {
  margin-left: 12px; /* 让按钮有空隙可调节 */
}


#fmebuysam a.navlink {
  font-size: 14px;
  text-decoration: none;
  padding: 2px 0;
  text-align: right;
}


/* 手机端显示，平板以上隐藏 */
.mobile-top-controls {
  display: flex;
  padding: 0 1px;
}

@media (min-width: 768px) {
  .mobile-top-controls {
    display: none !important;
  }
}

#fmebuysam a {
  font-size: 16px;
  text-decoration: none;
  line-height: 1.2;
}

.navbar-toggler {
  padding: 6px 10px;
  background-color: transparent;
  border: none;
  font-size: 20px;
}


/*************************************/

.product-showcase-section {
  padding: 20px 12px;
  background: #f9f9f9;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.product-card {
  flex: 0 0 calc(25% - 12px); /* 一行五個 */
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3比例 */
  background: #eee;
}

.image-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ✅ 新增：上方產品類型標籤 */
.product-tags-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}

.product-tags-overlay .tag {
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
  font-weight: 500;
  border: 1px solid #ddd;
}

/* ✅ 價格底部遮罩 */
.price-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.3);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 6px 8px;
  box-sizing: border-box;
}

.left-tags .product-tag {
  padding: 2px 6px;
  margin-right: 4px;
  font-size: 0.8rem;
  border-radius: 3px;
  display: inline-block;
}


/* 限時 */

.right-rating {
  margin-left: 10px;
  font-size: 0.75rem;
  color:white;
  opacity: 0.95;
}

.price-values {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
}

.price-nt, .price-hk {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--font-color-accent1);
  line-height: 1.2;
  text-decoration: line-through;
}

/* ✅ 下方產品描述區 */
.product-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 1rem!important;
  font-weight: 600;
  color: #1f2324;
  margin-bottom: 6px;
  
display: -webkit-box;
  -webkit-line-clamp: 2;             /* 限制顯示兩行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;                  /* 每行高度 */
  max-height: 2.8em;                 /* 2行文字所占高度 */
  min-height: 2.8em;                 /* 保證即使文字較少也佔據2行 */
  }

.product-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
  
	display: -webkit-box;
  -webkit-line-clamp: 2;             /* 限制顯示兩行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;                  /* 每行高度 */
  max-height: 2.8em;                 /* 2行文字所占高度 */
  min-height: 2.8em;                 /* 保證即使文字較少也佔據2行 */
}

.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.btn-buy {
  flex: 1;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-buy.tw { 
background: #ffa500;
  font-size: 1rem;

 }
.btn-buy.hk { 
background: #2c3e50; 
  font-size: 1rem;

}

.btn-buy:hover {
  opacity: 0.9;
}

/* ✅ 響應式：手機一行2個 */
@media (max-width: 768px) {
  .product-card {
    flex: 0 0 calc(100% - 8px);
  }
}

/* ✅ 一行中只有一個產品時也居中 */
@media (min-width: 769px) {
  .product-grid:has(.product-card:only-child) {
    justify-content: center;
  }
}

/*************************************/
/*************************************/

/* Pro02-1 新增：圖片固定高度並保持比例 */
.pro02-1-section {
  padding: 20px 20px;
  background: var(--bg-white);
}
.pro02-1-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.pro02-1-card {
  display: flex;
  width: calc(50% - 12px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}
.pro02-1-card:hover {
  transform: translateY(-4px);
}
.pro02-1-image {
  flex: 0 0 267px;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.pro02-1-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 使用 Pro01 風格的圖片左上角浮標 */
.pro02-1-tags-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.pro02-1-tag-overlay {
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Pro01風格：產品功能標籤（圖片下方） */
.pro02-1-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pro02-1-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 9px;
  white-space: nowrap;
}
.pro02-1-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pro02-1-toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pro02-1-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--theme-color-1);
  text-align: right;
}
.pro02-1-price .price-hk,.pro02-1-price .price-nt {
  margin-left: 12px;
  font-size: 0.9rem;
  color: #888;
}
.pro02-1-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.pro02-1-desc {
  font-size: 0.9rem;
  color: var(--font-color);
  line-height: 1.4;
  margin-bottom: 16px;
}
.pro02-1-actions a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  margin-right: 8px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--theme-color-1);
  color: #fff;
  transition: background 0.2s ease;
}
.pro02-1-actions a.hk {
  background: #888;
}
.pro02-1-actions a:hover {
  opacity: 0.9;
}
.pro02-1-actions .btn-buy.tw {
  background-color: var(--theme-color-1);
  color: white;
}

.pro02-1-actions .btn-buy.hk {
  background-color: #eee;
  color: #333;
}


/* 手機端 RWD */
@media (max-width: 768px) {
  .pro02-1-card {
    flex-direction: column;
    width: 100%;
  }
  .pro02-1-image {
    width: 100%;
    height: 200px;
  }
  .pro02-1-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/*************************************/
/*************************************/
/* Review section container */
/* 整体滑动区块样式 */
.ys-review-slider-section {
  margin: 40px auto;
  background: #f9f9f9;
  padding: 40px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* 标题区域 */
.review-section-title {
  padding: 20px;
}

.ys-review-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  text-align: center;
  color: var(--heading-color, #1f2324);
}

/* 滑动容器（固定宽度） */
.ys-review-slider-container {
  width: 1320px; /* 固定宽度 */
  margin: 0 auto;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

/* 滑动轨道 */
.ys-review-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  padding-bottom: 10px;
}

/* 单个卡片：5个卡片一行 */
.ys-review-card {
  flex: 0 0 calc((1320px - 3 * 16px) / 4); /* 5个卡片，4个间距 */
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
 /*  max-width: 264px;  min-width: 250px;///5个//  min-width: 300px;  max-width: 324px ///4个///  /////min-width: 400px;  max-width: 440px;//3个 ///  min-width: 600px;  max-width: 660px;/2个 //// */
  min-width: 300px;  max-width: 324px; 
}

/* 主题标签 */
.ys-review-theme {
  font-size: 1.4rem;
  font-weight: 600;
  color: #d9534f;
  margin-bottom: 8px;
  padding: 4px 10px;
  display: inline-block;
  border-left: 4px solid #d9534f;
  border-radius: 4px;
}
.review-section-desc{
	padding: 10px 20px;
}
/* 用户资料 + 评分 */
.ys-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}

.ys-user-profile {
  display: flex;
  align-items: center;
}

.ys-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.ys-user-info {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.3;
}

.ys-user-type {
  font-weight: bold;
  color: #000;
}

.ys-user-region {
  font-size: 0.75rem;
  color: #999;
}

.ys-right-rating {
  font-size: 0.85rem;
  color: #d97706;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  white-space: nowrap;
}

.ys-rating-score {
  font-size: 1rem;
  color: #d97706;
}

.ys-rating-count {
  font-size: 0.75rem;
  color: #777;
}

/* 标签 */
.ys-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ys-tag {
  font-size: 0.75rem;
  background: #eee;
  padding: 4px 8px;
  border-radius: 10px;
}

/* 内容区 */
.ys-review-content {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 10px;
}

/* 商品展示 */
.ys-review-products {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ys-product-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.ys-review-product {
  font-size: 0.85rem;
  color: #444;
}

.ys-product-link {
  color: #007bff;
  text-decoration: none;
}

.ys-product-link:hover {
  text-decoration: underline;
}

/* 左右滑动箭头 */
.ys-review-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 2rem;
  padding: 4px 12px;
  cursor: pointer;
  z-index: 10;
  color: #333;
  transition: background-color 0.2s;
}

.ys-review-nav:hover {
  background-color: #ddd;
}

.ys-review-nav.prev {
  left: 0;
}

.ys-review-nav.next {
  right: 0;
}

/* 滚动条隐藏 */
.ys-review-slider-track::-webkit-scrollbar {
  display: none;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .ys-review-slider-container {
    width: 100%;
    padding: 0 12px;
  }

  .ys-review-card {
    flex: 0 0 85%;
    max-width: 100%;
  }

  .ys-review-nav {
    font-size: 1.8rem;
    padding: 2px 10px;
  }
}

/* 主题颜色可扩展 */
.theme-effective {
  border-left-color: #ff5722;
  color: #000;
}

.theme-fast {
  border-left-color: #4caf50;
  background-color: #f0fff0;
  color: #4caf50;
}

.theme-subtle {
  border-left-color: #3f51b5;
  background-color: #f3f5ff;
  color: #3f51b5;
}


/********************************/
/********************************/
.testimonial-container{
    width: 100%;
    position: relative;
    display: inline-block;
    background-image: url('../image/contact-bg.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.testimonial-container:before{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    content: '';
    background-color: rgb(0 0 0 / 20%);
}

.testimonial-wrapper{
    width: 100%;
    position: relative;
    display: inline-block;
    z-index: 11;
    height: 100%;
}

.testimonial-content{
    width: 100%;
    position: relative;
    display: inline-block;
    background-color: var(--font-white);
    padding: 20px;
    text-align: center;
}

.testimonial-content h3{
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--heading-color);
    text-transform: uppercase;
}

.testimonial-author{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
}

.testimonial-author img{
    width: 70px;
    min-width: 70px;
    height: 70px;
    border-radius: 50%;
}

.testimonial-author h3{
    color: var(--font-white);
    font-size: 18px;
    margin-top: 10px;
}

.testimonial-author p{
    color: var(--font-white);
}

.testimonial-content::after{
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fff;
    font-size: 0;
    line-height: 0;
    float: left;
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%, 0px);
}


/********************************/
/*************************************/
.info-banner {
  color: white;
  padding: 10px 0px;
  line-height: 1.4;
  overflow: hidden;
}

.info-header {
  margin-bottom: 15px;
  font-weight: bold;
}

.info-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  max-height: 3.8rem; /* 限制为两行 */
  overflow: hidden;
}

.link-item {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.link-icon {
  margin-right: 3px;
  color: #665C3D; /* 可自定颜色 */
  flex-shrink: 0;
}

.link-item a {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/*************************************/
.footer-extra-wrapper {
  background: linear-gradient(to bottom, #181818 0%, #121212 100%);
  padding: 1.2rem 0;  /* ✅ 減少垂直空間 */
  border-top: 1px solid #2a2a2a;
}

.footer-extra-wrapper .container-1320 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;  /* ✅ 降低左右空間 */
}

.footer-extra-brand,
.footer-extra-warning,
.footer-extra-support {
  margin-bottom: 1rem;  /* ✅ 段落間距縮小 */
  font-size: 0.95rem;   /* ✅ 更緊湊但不小 */
  line-height: 1.5;     /* ✅ 更集中 */
  color: #d0d0d0;
}

.footer-extra-brand p,
.footer-extra-support p {
  margin: 0;
}

.footer-extra-warning {
  color: #ff6666;
  font-weight: 600;
}

.footer-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #3a3a3a, transparent);
  margin: 1rem 0;  /* ✅ 分隔線上下間距縮小 */
}

/********************************/


footer{
    background-color: var(--theme-color-2);
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 3rem 0 2rem 0;
}

.contact-group{
    width: 100%;
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    z-index: 11;
}

.contact-input{
    width: 100%;
    position: relative;
    display: inline-block;
    background-color: rgb(255 255 255 / 10%);
    padding: 10px 15px;
    border: none;
    color: var(--font-white);
}

.contact-group .btn-main,.contact-group .btn-main1,.contact-group .btn-main2{
    width: 100%;
    max-width: 100%;
}

.footer-about{
    width: 100%;
    position: relative;
    display: inline-block;
    padding-right: 0rem;
}

.footer-about img{
    width: 140px;
    margin-bottom: 25px;
}

.footer-about p{
    color: var(--font-white);
    margin-bottom: 10px;
}

.footer-about p:last-child{
    margin-top: 2rem;
}

.footer-quick-links{
    position: relative;
    width: 100%;
    display: inline-block;
}

.footer-heading{
    font-size: 20px;
    color: var(--font-white);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.footer-quick-links ul li{
    margin-bottom: 10px;
}

.footer-quick-links ul li:last-child{
    margin-bottom: 0px;
}

.footer-quick-links ul li a{
    color: var(--font-white);
}

.footer-follow ul li{
    display: inline-block;
    margin-right: 10px;
}

.footer-follow ul li a{
    color: var(--font-white);
}

/********************************/
/********************************/
.footer-quick-grid-footer01 {
  
}

.footer01-grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  column-gap: 0.5rem;
}

.footer01-col {
  flex: 0 0 19%;
  min-width: 120px;
  padding-top: 1.2rem;
  position: relative;
}


/* 標題美化 */
.footer01-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #ffffff;
  position: relative;
  padding-left: 0.75rem;
  border-left: 3px solid #f0c040;
}

.footer01-title::before {
  content: "★";
  position: absolute;
  left: -1.3rem;
  color: #f0c040;
  font-size: 0.9rem;
}

/* 連結列表 */
.footer01-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer01-list li {
  margin-bottom: 0.4rem;
}

.footer01-list li a {
  font-size: 0.88rem;
  color: #cccccc;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.footer01-list li a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* 響應式：手機兩欄 */
@media (max-width: 768px) {
  .footer01-col {
    flex: 1 1 45%;
  }
}

/********************************/
/********************************/
@media (max-width: 768px) {
  .footer01-grid {
    flex-direction: column;
    padding-inline: 1rem; /* ✅ 防止內容貼邊 */
  }

  .footer01-col {
    flex: 1 1 100%;
    border-bottom: 1px solid #2a2a2a;
    padding: 0.8rem 0;
    margin-bottom: 0.3rem;
    position: relative;
  }

  .footer01-title {
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff;
    border-left: 3px solid #f0c040;
    padding-left: 0.75rem;
  }

  .footer01-title::before {
    content: "★";
    position: absolute;
    left: -1.3rem;
    color: #f0c040;
    font-size: 0.9rem;
  }

  .footer01-title::after {
    content: "▼";
    position: absolute;
    right: 0.5rem;
    top: 0.4rem;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
  }

  .footer01-title.active::after {
    transform: rotate(180deg);
  }

  .footer01-list {
    display: none;
    padding-top: 0.3rem;
    list-style: none;
    margin: 0;
  }

  .footer01-title.active + .footer01-list {
    display: block;
  }

  .footer01-list li {
    margin-bottom: 0.4rem;
  }

  .footer01-list li a {
    font-size: 0.88rem;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
  }

  .footer01-list li a:hover {
    color: #ffffff;
  }
}

/********************************/
.sexnginxbuy01-empty-message {
  text-align: center;
  padding: 30px 20px;
  color: #666;
  font-size: 18px;
}

.sexnginxbuy01-recommend-box {
  background-color: #f8f8f8;
  border-radius: 6px;
  padding: 20px;
  margin-top: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}


