﻿/* proall01-1 CSS */

@media (max-width: 991.98px) {
  .price-nta {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--font-color-accent);
    line-height: 1.2;
  }
 .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    transform: translateZ(0); /* ⬅️ 強制提升層級並防止黏貼抖動 */
    will-change: transform;
    backface-visibility: hidden; /* 避免混合合成層 */
  }
}
.pro-detail-wrapper {
  padding: 30px 10px 10px 10px;
}
	
.proall03-0301-section{
overflow-x: hidden!important;	
	
}

.container-1320 {
  max-width: 1320px;
  margin: 0 auto;
}
.pro-detail-box {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.pro-detail-box-img {
  flex: 0 0 48%;
  position: relative;
}
.pro-detail-box-img img {
  width: 100%;
  border-radius: 10px;
display: block;

}
@media (min-width: 992px) {
  .pro-detail-box-img {
    width: 48%;
  }

  .pro-detail-box-content {
    width: 51%;
  }
}

/* 移到底部的標籤 */
.pro-detail-box-badges-bottom {
  position: absolute;
   bottom: 12px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}

.pro-detail-box-badges {
	
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}
.badge-tag {
  padding: 4px 10px;
  font-size: 0.9rem;
  border-radius: 9px;
  color: #fff;
  font-weight: 500;
	background-color: #666;
}
.badge-free { background: #27ae60; }
.badge-discount { background: #f39c12; }
.badge-coupon { background: #e74c3c; }

.pro-detail-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-detail-box-title {
  font-size: 1.4rem;
  padding: 20px 0px;
  font-weight: 700;
  color: var(--heading-color);
}

.pro-detail-box-subtitle {
   display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  padding: 1px 10px;
  background-color: #f1f8e9; /* 柔和背景色 */
  color: #558b2f;
  border-left: 4px solid #8bc34a;
  border-radius: 4px;

}
.pro-detail-box-category {
 border-left: 4px solid #1565c0;
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  background-color: #e3f2fd;
  color: #1565c0;
 border-radius: 4px;
  padding: 1px 10px;
  white-space: nowrap;
}
.pro-detail-box-desc {
  font-size: 1.0rem;
  line-height: 1.4;
  color: var(--font-color);
}

.pro-detail-box-attr,
.pro-detail-box-people {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge-attr {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
}
.badge-attr1 {
  font-size: 1.2rem;
  padding: 4px ;
 
}
.bg-attr-oral { background: #8e24aa; }
.bg-attr-excite { background: #3949ab; }
.bg-attr-capsule { background: #00897b; }

.badge-people {
  background-color: #e3f2fd;
  color: #1565c0;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pro-detail-box-rating i {
  font-size: 1rem;
}
.pro-detail-box-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--theme-color-1);
}

.price-nta{
  font-size: 2.0rem;
  font-weight: bold;
  color: var(--font-color-accent);
  line-height: 1.2;
}



.price-hka {
  font-size: 2.0rem;
  margin-left: 12px;
  color: #888;
}

.quantity-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-qty {
  background: #eee;
  border: none;
  padding: 6px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}
.input-qty {
  width: 50px;
  text-align: center;
  font-size: 1rem;
  padding: 4px;
}

.btn-buy {
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.btn-cart {
  background: #1976d2;
  color: white;
}
.btn-now {
  background: #d32f2f;
  color: white;
}

/* RWD */
@media (max-width: 768px) {
  .pro-detail-box {
    flex-direction: column;
  }
  .pro-detail-box-img,
  .pro-detail-box-content {
    flex: 100%;
  }
  .btn-buy {
    width: 100%;
    justify-content: center;
  }
}
/***********************/
.proall03-0301-tab-nav .nav-link {
  cursor: pointer;
  color: #333;
  padding: 8px 16px;
}
.proall03-0301-tab-nav .nav-link.active {
  background-color: #C2B280;
  color: #fff;
  border-radius: 4px;
}

/* 區塊樣式統一 */
.proall03-0301-content-block {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.proall03-0301-content-block a {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  	color:rgb(128, 0, 255);
}

/* 右欄樣式 */
.proall03-0301-rightbox-wrapper {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.06);
}
.proall03-0301-box-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
  border-left: 4px solid #C2B280;
  padding-left: 8px;
}
.proall03-0301-list {
  padding-left: 0;
  list-style: none;
}
.proall03-0301-list li {
  margin-bottom: 6px;
}
.proall03-0301-list a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}
.proall03-0301-list a:hover {
  color: #C2B280;
}
.proall03-0301-tags .badge {
  margin: 4px 4px 4px 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
}

/***********************/
.proall04-0401-isolate {
  position: relative;
  min-height: 1px;
  overflow-anchor: none;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* 通用樣式區 */
.proall04-0401-rightbox-wrapper {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 盒子標題 */
.proall04-0401-box-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-left: 4px solid var(--theme-color-0);
  padding-left: 10px;
}

/* 📝 Blog 卡片 */
.proall04-0401-blog-card {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 1rem;
}
.proall04-0401-blog-meta {
  font-size: 0.8rem;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.proall04-0401-blog-meta i {
  margin-right: 4px;
  color: var(--theme-color-1);
}
.proall04-0401-blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.proall04-0401-blog-desc {
  font-size: 0.88rem;
  color: #444;
  margin-bottom: 0.5rem;
}
.proall04-0401-blog-footer {
  font-size: 0.75rem;
  color: #999;
}

/* 🛍 Product 卡片 */
.proall04-0401-product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: left;
}
.product-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.product-info {
  padding-top: 6px;
}
.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.product-desc {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4rem;
}
.product-tags {
  margin-bottom: 0.4rem;
}
.product-price {
  font-weight: 600;
  color: var(--theme-color-2);
  font-size: 0.95rem;
}

/* 🎉 活動卡片 */
.proall04-0401-event-card {
  background-color: #fff5e6;
  padding: 1rem;
  border-radius: 10px;
  border: 1px dashed #f0ad4e;
}
.event-time {
  font-size: 0.8rem;
  color: #d58512;
  margin-bottom: 0.3rem;
}
.event-time i {
  margin-right: 4px;
}
.event-title {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}
.event-desc {
  font-size: 0.88rem;
  color: #444;
}
.event-tags .badge {
  font-size: 0.75rem;
  padding: 4px 8px;
  margin-right: 5px;
}
/* === proall04-0402 - 同類產品卡片樣式 === */
.proall04-0402-product-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.product-img-wrapper {
  position: relative;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-price-buy {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.9);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.price-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
  color: var(--theme-color-2);
}

.product-info {
  padding: 1rem;
  background-color: #fff;
}

.product-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 0.8rem;
}

.product-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.product-desc {
  font-size: 0.85rem;
  color: #555;
}


/***********************/
/* 📱 v4 手機底部購買條 */
.proall02-buybar-v3 {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 12px;
  z-index: 1000;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

/* 左：價格區更小字 */
.proall02-buybar-v3 .buybar-v3-price {
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--theme-color-2);
}
.proall02-buybar-v3 .price-hka {
  color: #888;
}

/* 中：數量更窄 & 劇中 */
.proall02-buybar-v3 .buybar-v3-qty {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.proall02-buybar-v3 .quantity-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0 6px;
  height: 36px;
}
.proall02-buybar-v3 .btn-qty {
  border: none;
  background: none;
  font-size: 1.1rem;
  width: 20px;
  color: #333;
}
.proall02-buybar-v3 .input-qty {
  width: 20px;
  text-align: center;
  border: none;
  background: none;
  font-size: 0.95rem;
}

/* 右：按鈕區更小尺寸 */
.proall02-buybar-v3 .buybar-v3-btns {

}
.proall02-buybar-v3 .buybar-v3-btns .btn {
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
}

/* 按鈕色系 */
.proall02-buybar-v3 .btn-buycart {
  background-color: #6c757d;
  color: #fff;
}
.proall02-buybar-v3 .btn-buynow {
  background-color: #d63384;
  color: #fff;
}

/***********************/
/***********************/
/* ✅ 浮層遮罩容器 */
.sexnginxbuy01-float-order {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(250, 250, 250, 0.98);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 24px 12px;
  box-sizing: border-box;
}

/* ✅ 表單卡片內層容器 */
.sexnginxbuy01-float-order-inner {
  background: #fff;
  width: 100%;
  max-width: 540px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  animation: floatIn 0.35s ease;
  box-sizing: border-box;
}
.sexnginxbuy01-cart-wrapper.open {
  display: none !important;
}

/* ✅ 表單標題區 */
.sexnginxbuy01-float-order-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

/* ✅ 商品摘要 */
.sexnginxbuy01-summary-box {
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  border-left: 4px solid var(--theme-color-0, #C2B280);
}

/* ✅ 表單欄位通用 */
.sexnginxbuy01-float-order .form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: block;
}

.sexnginxbuy01-float-order .form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* ✅ 區域切換 */
.sexnginxbuy01-region-tw,
.sexnginxbuy01-region-hk {
  transition: all 0.3s ease;
}

/* ✅ 動畫效果 */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ 小畫面處理 */
@media (max-width: 480px) {
  .sexnginxbuy01-float-order-inner {
    padding: 16px;
    border-radius: 0;
    max-width: 100%;
    margin-top: 0;
  }

  .sexnginxbuy01-summary-box {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
}

/***********************/
/* ✅ 通用樣式 */
.success-popup-022311 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: 9999;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  padding: 20px;
  overflow-y: auto;
  display: none;
}

.success-popup-inner {
  max-height: 80vh;
  overflow-y: auto;
}

.success-popup-022311 .success-header h4 {
  color: #28a745;
  margin-bottom: 10px;
}

.success-popup-022311 .success-body p {
  margin-bottom: 8px;
  font-size: 16px;
}

.success-popup-022311 .success-recommend ul {
  padding-left: 18px;
}

.success-popup-022311 .success-recommend li {
  margin-bottom: 6px;
}

/* ✅ RWD 設定 */
@media (min-width: 768px) {
  .success-popup-022311 {
    width: 850px;
    height: 500px;
  }
}

@media (max-width: 767px) {
  .success-popup-022311 {
    width: 100%;
    height: 70vw;
  }
}
/***********************/
.success-maskvv-022311 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明黑 */
  backdrop-filter: blur(3px); /* 背景模糊 */
  z-index: 9989;
  display: none; /* 預設不顯示 */
}

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