/* =========================================================
   gx-product.css — 产品详情页视觉（仅 body.single-product）
   只改样式，不动任何产品内容
   ========================================================= */
body.single-product .site-content { background: #fff; }

body.single-product .site-content > .container,
body.single-product #primary,
body.single-product #main { max-width: 1320px; }

/* ---------- 左侧图 ---------- */
body.single-product .woocommerce-product-gallery {
  border-radius: 22px;
}
body.single-product .woocommerce-product-gallery__wrapper {
  border-radius: 22px;
  overflow: hidden;
  background: #f5f4f1;
}
body.single-product .woocommerce-product-gallery__image img {
  border-radius: 0;
  mix-blend-mode: multiply;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
body.single-product .woocommerce-product-gallery__trigger {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.14);
  display: grid; place-items: center; text-indent: -999px; overflow: hidden;
}
body.single-product .woocommerce-product-gallery__trigger::before {
  content: "+"; text-indent: 0; font-size: 20px; line-height: 1; color: #14120f; font-weight: 700;
}
body.single-product .flex-control-thumbs { margin-top: 10px; gap: 8px; display: flex; flex-wrap: wrap; }
body.single-product .flex-control-thumbs li { width: 72px; margin: 0; }
body.single-product .flex-control-thumbs img { border-radius: 10px; background: #f5f4f1; opacity: .55; }
body.single-product .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px #14120f; }

/* ---------- 右侧信息 ---------- */
body.single-product .summary.entry-summary { padding-top: 6px; }
body.single-product .product_title {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}
body.single-product .summary .price {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  color: #14120f;
  letter-spacing: -.02em;
  margin: 0 0 6px;
  display: flex; align-items: baseline; gap: 12px;
}
body.single-product .summary .price del {
  font-size: .62em; font-weight: 500; color: rgba(20,18,15,.4); text-decoration-thickness: 1px;
}
body.single-product .summary .price ins { text-decoration: none; }
body.single-product .woocommerce-product-details__short-description {
  margin: 16px 0 22px; color: rgba(20,18,15,.72);
  font-size: 14px; line-height: 1.85;
}

/* ---------- 数量 + 加购 ---------- */
body.single-product form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 26px 0 0; padding-top: 24px;
  border-top: 1px solid rgba(20,18,15,.1);
}
body.single-product form.cart .quantity { width: auto; }
body.single-product form.cart .quantity input.qty {
  width: 84px; height: 54px; border-radius: 999px;
  border: 1px solid rgba(20,18,15,.18); background: #fff;
  font-size: 15px; font-weight: 700; color: #14120f; text-align: center;
  padding: 0 8px;
}
body.single-product form.cart .single_add_to_cart_button {
  flex: 1 1 220px; height: 54px; min-width: 200px;
  border-radius: 999px; background: #14120f; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid #14120f; cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
  display: inline-flex; align-items: center; justify-content: center;
}
body.single-product form.cart .single_add_to_cart_button:hover {
  background: #fff; color: #14120f; transform: translateY(-1px);
}

/* ---------- 元信息 ---------- */
body.single-product .product_meta {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(20,18,15,.08);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(20,18,15,.5);
}
body.single-product .product_meta a { color: #14120f; border-bottom: 1px solid rgba(20,18,15,.2); }

/* ---------- 描述 Tabs ---------- */
body.single-product .woocommerce-tabs {
  margin-top: clamp(46px, 7vw, 84px);
  border-top: 1px solid rgba(20,18,15,.1);
  padding-top: 8px;
}
body.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 26px; padding: 0; display: flex; gap: 26px;
  border: 0; list-style: none;
}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
body.single-product .woocommerce-tabs ul.tabs li {
  margin: 0; padding: 18px 0 14px; background: none; border: 0; border-radius: 0;
  border-bottom: 2px solid transparent;
}
body.single-product .woocommerce-tabs ul.tabs li.active { border-bottom-color: #14120f; }
body.single-product .woocommerce-tabs ul.tabs li a {
  font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(20,18,15,.45); padding: 0;
}
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #14120f; }
body.single-product .woocommerce-Tabs-panel {
  max-width: 860px;
  font-size: 14.5px; line-height: 1.9; color: rgba(20,18,15,.78);
}
body.single-product .woocommerce-Tabs-panel h2 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 12px; }
body.single-product .woocommerce-Tabs-panel p { margin: 0 0 14px; }
body.single-product .woocommerce-Tabs-panel ul { padding-left: 18px; }
body.single-product .woocommerce-Tabs-panel li { margin-bottom: 6px; }

/* ---------- 相关产品 ---------- */
body.single-product .related.products { margin-top: clamp(48px, 8vw, 90px); }
body.single-product .related.products > h2 {
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em;
  text-transform: uppercase; margin: 0 0 22px;
}
body.single-product .related.products ul.products li.product {
  border-radius: 14px; overflow: hidden; background: #faf9f6;
  transition: transform .3s, box-shadow .3s;
}
body.single-product .related.products ul.products li.product:hover {
  transform: translateY(-4px); box-shadow: 0 18px 34px rgba(20,18,15,.1);
}
body.single-product .related.products ul.products li.product img { border-radius: 0; }

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  body.single-product .woocommerce-product-gallery { margin-bottom: 22px; }
  body.single-product .product_title { font-size: 26px; }
  body.single-product .woocommerce-tabs { margin-top: 40px; }
  body.single-product form.cart .single_add_to_cart_button { flex: 1 1 100%; }
}
