/* detail2 商品详情页 V2 - 高还原设计 */

/* ========== 产品主区域（白底） ========== */
.pd2-wrap { background: #fff; padding: 40px 0 48px; }
.pd2-main { display: flex; gap: 40px; align-items: flex-start; max-width: 1024px; margin: 0 auto; }

/* ========== 左侧：淘宝式 缩略图 + 大图 ========== */
.pd2-gallery { display: flex; gap: 12px; flex-shrink: 0; }
/* 缩略图列：最多显示 5 张，超出可滚动； 5*72 + 4*8 = 392；宽 80px=72 缩略图+8 滚动条位，避免挡住 active 边框 */
.pd2-thumbs { width: 80px; max-height: 392px; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.pd2-thumbs::-webkit-scrollbar { width: 6px; }
.pd2-thumbs::-webkit-scrollbar-track { background: transparent; margin: 2px 0; }
.pd2-thumbs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.pd2-thumbs::-webkit-scrollbar-thumb:hover { background: #aaa; }
.pd2-thumb { width: 72px; height: 72px; flex-shrink: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: 0.65; transition: border-color .2s, opacity .2s; }
.pd2-thumb:hover { opacity: 0.9; }
.pd2-thumb.active { border-color: #000; opacity: 1; }
.pd2-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd2-mainimg-wrap { width: 420px; height: 420px; border-radius: 8px; overflow: hidden; background: #f9f9f9; display: flex; align-items: center; justify-content: center; }
.pd2-mainimg-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ========== 右侧：产品信息与购买 ========== */
.pd2-info { flex: 1; min-width: 0; }
.pd2-brand { font-size: 13px; color: #000; margin-bottom: 4px; }
.pd2-name { font-size: 20px; font-weight: 600; color: #000; margin-bottom: 12px; line-height: 1.3; }
.pd2-price { font-size: 28px; font-weight: 700; color: #000; margin-bottom: 8px; }
.pd2-member { font-size: 12px; color: #888; margin-bottom: 16px; }
.pd2-member a { color: #666; text-decoration: underline; }
.pd2-desc { font-size: 14px; color: #333; line-height: 1.6; margin-bottom: 12px; }
.pd2-spec { font-size: 14px; color: #000; margin-bottom: 20px; }

/* 数量 */
.pd2-qty-wrap { margin-bottom: 16px; }
.pd2-qty-label { font-size: 12px; color: #333; margin-bottom: 8px; }
.pd2-qty-box { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.pd2-qty-btn { width: 36px; height: 36px; border: none; background: #f5f5f5; cursor: pointer; font-size: 18px; color: #333; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.pd2-qty-btn:hover { background: #eee; }
.pd2-qty-input { width: 48px; height: 36px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 14px; }
.pd2-qty-input:focus { outline: none; }
.pd2-qty-input::-webkit-outer-spin-button,
.pd2-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd2-qty-input[type=number] { -moz-appearance: textfield; }

/* 加购按钮 */
.pd2-addcart { display: inline-block; padding: 14px 28px; background: #000; color: #fff; font-size: 15px; font-weight: 600; border-radius: 8px; border: none; cursor: pointer; margin-bottom: 12px; transition: opacity .2s; }
.pd2-addcart:hover { opacity: 0.85; }

/* 购买前提示 */
.pd2-disclaimer { font-size: 11px; color: #888; margin-bottom: 20px; max-width: 380px; line-height: 1.5; }

/* 结账方式 */
.pd2-checkout-title { font-size: 12px; color: #333; margin-bottom: 10px; }
.pd2-checkout-btns { display: flex; gap: 12px; margin-bottom: 8px; }
.pd2-pay-btn { flex: 1; max-width: 180px; padding: 12px 16px; background: #fff; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: #333; transition: border-color .2s, background .2s; }
.pd2-pay-btn:hover { border-color: #999; background: #fafafa; }
.pd2-pay-btn .icon-ic_wechat { font-size: 20px; color: #09bb07; }
.pd2-retail-note { font-size: 11px; color: #888; line-height: 1.4; }

/* ========== 手风琴：BENEFITS / DIRECTIONS + WARNING ========== */
.pd2-accordion { margin-top: 32px; border-top: 1px solid #eee; }
.pd2-acc-item { border-bottom: 1px solid #e8e8e8; }
.pd2-acc-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; cursor: pointer; font-size: 14px; font-weight: 600; color: #000; user-select: none; }
.pd2-acc-head .pd2-acc-plus { width: 20px; height: 20px; flex-shrink: 0; margin-left: 12px; font-size: 18px; font-weight: 400; color: #666; transition: transform .25s; line-height: 1; display: flex; align-items: center; justify-content: center; }
.pd2-acc-item.open .pd2-acc-plus { transform: rotate(45deg); }
.pd2-acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pd2-acc-body-inner { padding: 0 0 16px 0; font-size: 14px; color: #555; line-height: 1.6; }

/* ========== FAQS 区域（浅棕/米色背景） ========== */
.pd2-faqs { background: #F5F5DC; padding: 48px 24px; margin-top: 40px; }
.pd2-faqs .pd2-section-title { text-align: center; font-size: 28px; font-weight: 700; color: #000; margin-bottom: 32px; }
.pd2-faqs .pd2-accordion { max-width: 720px; margin: 0 auto; border-top: none; }
.pd2-faqs .pd2-acc-item { border-bottom: 1px solid rgba(0,0,0,.1); }
.pd2-faqs .pd2-acc-head { font-weight: 500; font-size: 15px; }

/* ========== Join Us 订阅区 ========== */
.pd2-join { background: #F5F5DC; padding: 0 24px 56px; }
.pd2-join-inner { max-width: 480px; margin: 0 auto; }
.pd2-join .pd2-section-title { font-size: 28px; font-weight: 700; color: #000; margin-bottom: 12px; }
.pd2-join-desc { font-size: 14px; color: #444; line-height: 1.5; margin-bottom: 20px; }
.pd2-join-form { display: flex; gap: 10px; }
.pd2-join-input { flex: 1; padding: 12px 16px; border: 1px solid #ccc; border-radius: 8px; font-size: 14px; }
.pd2-join-input:focus { outline: none; border-color: #666; }
.pd2-join-btn { padding: 12px 24px; background: #000; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.pd2-join-btn:hover { opacity: 0.9; }

/* ========== Cookie 提示栏 ========== */
.pd2-cookie { background: #000; color: #fff; padding: 14px 20px; }
.pd2-cookie-inner { max-width: 1024px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pd2-cookie-txt { font-size: 12px; color: rgba(255,255,255,0.9); line-height: 1.5; flex: 1; min-width: 280px; }
.pd2-cookie-txt a { color: #fff; text-decoration: underline; }
.pd2-cookie-accept { padding: 8px 20px; background: #333; color: #fff; font-size: 12px; border: none; border-radius: 6px; cursor: pointer; }
.pd2-cookie-accept:hover { background: #444; }

/* 支付宝图标占位（无 icon 时用文字） */
.pd2-alipay-icon { width: 20px; height: 20px; background: #1677ff; border-radius: 4px; display: inline-block; }
