/* ===== TRANG CHI TIẾT SẢN PHẨM ===== */
body.single-product { font-family: "Noto Sans", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: #1b2236; }
body.single-product .banner { padding: 14px 0 !important; min-height: 0 !important; }
body.single-product .banner-content { padding: 0 !important; min-height: 0 !important; }
body.single-product .banner-content ul, body.single-product .banner-content .breadcrumb-trail { margin: 0; padding: 0; font-size: 13px; }
body.single-product .content-area { padding-top: 26px !important; padding-bottom: 40px !important; }

/* Cột ảnh = thẻ trắng */
body.single-product .single-product-top-1 { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
body.single-product .single-product-top-1 > .rtin-left { background: #fff; border: 1px solid #e1e8f5; border-radius: 16px; padding: 18px; box-shadow: 0 6px 24px rgba(30, 51, 120, .06); }
body.single-product .single-product-top-1 > .rtin-left img { mix-blend-mode: multiply; }
body.single-product .single-product-top-1 > .rtin-right { flex: 1 1 380px; min-width: 0; }

body.single-product .single-product-top-1 > .rtin-left { flex: 0 0 min(46%, 520px); max-width: 100%; box-sizing: border-box; }
@media (max-width: 767px) { body.single-product .single-product-top-1 > .rtin-left { flex: 1 1 100%; } }
body.single-product .related h2, body.single-product .related .rtin-title, body.single-product .related > h2 { font-size: 22px; font-weight: 800; color: #14214f; text-align: left; }
/* Tiêu đề */
body.single-product .rtin-right h1.product_title, body.single-product .product_title {
  font-size: 28px !important; font-weight: 800 !important; color: #14214f !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
body.single-product .product_title.__x { font-size: 28px; line-height: 1.25; font-weight: 800; color: #14214f; margin: 0 0 14px; }

/* Giá theo miền: 2 thẻ chọn */
body.single-product .regional-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
body.single-product .regional-prices h4 { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #7a849e; }
body.single-product .regional-prices br { display: none; }
body.single-product .regional-prices label {
  position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; cursor: pointer;
  padding: 12px 14px; border: 1.5px solid #dbe3f5; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; color: #5b6580;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
body.single-product .regional-prices label input { position: absolute; opacity: 0; pointer-events: none; }
body.single-product .regional-prices label .woocommerce-Price-amount { font-size: 22px; font-weight: 800; color: #d6336c; line-height: 1.2; }
body.single-product .regional-prices label:has(input:checked) { border-color: #2f66e0; background: #f0f4ff; box-shadow: 0 4px 14px rgba(47, 102, 224, .15); }
body.single-product .regional-prices label:has(input:checked)::after {
  content: "\2713"; position: absolute; top: 8px; right: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: #2f66e0; color: #fff; font-size: 11px; line-height: 18px; text-align: center;
}

/* Nút gọi / Zalo */
.aph-pdp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.aph-pdp-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; text-decoration: none !important; color: #fff !important; transition: transform .15s, box-shadow .15s; }
.aph-pdp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 40, 100, .22); }
.aph-pdp-btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.aph-pdp-btn small { font-size: 12px; opacity: .85; font-weight: 500; }
.aph-pdp-btn b { font-size: 18px; font-weight: 800; }
.aph-pdp-btn svg { width: 24px; height: 24px; flex: none; }
.aph-pdp-call { background: linear-gradient(135deg, #d6336c, #f0603a); }
.aph-pdp-zalo { background: linear-gradient(135deg, #1e3378, #2f66e0); }

/* Cam kết */
.aph-pdp-trust { list-style: none; margin: 0 0 18px; padding: 14px 16px; background: #f6f9ff; border: 1px solid #e1e8f5; border-radius: 12px; display: grid; gap: 9px; }
.aph-pdp-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #2c3550; margin: 0; padding: 0; }
.aph-pdp-trust svg { width: 18px; height: 18px; flex: none; color: #2f66e0; stroke: currentColor; }

/* Meta (SKU, danh mục) */
body.single-product .product_meta-area { font-size: 13px; color: #6b7590; border-top: 1px solid #edf1fa; padding-top: 12px; }
body.single-product .product_meta-area a { color: #2f66e0; }

/* Tab thông số / nội dung / đánh giá */
body.single-product .woocommerce-tabs ul.tabs, body.single-product .single-product-bottom-1 ul.tabs { border-bottom: 2px solid #e8eefb; margin-bottom: 20px; }
body.single-product .woocommerce-tabs ul.tabs li a { font-size: 15px; font-weight: 700; color: #7a849e; padding: 12px 18px; }
body.single-product .woocommerce-tabs ul.tabs li.active a { color: #1e3378; }
body.single-product .woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid #2f66e0; margin-bottom: -2px; }
body.single-product .woocommerce-Tabs-panel { font-size: 15px; line-height: 1.7; }

/* Thanh liên hệ cố định (mobile) */
.aph-sticky { display: none; }
@media (max-width: 767px) {
  body.single-product { padding-bottom: 66px; }
  body.single-product .product_title { font-size: 22px; }
  body.single-product .single-product-top-1 { gap: 18px; }
  .aph-pdp-cta { grid-template-columns: 1fr; }
  body.single-product .regional-prices label .woocommerce-Price-amount { font-size: 19px; }
  .aph-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 10px; background: #fff; box-shadow: 0 -6px 20px rgba(20, 40, 100, .15); }
  .aph-sticky a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #fff !important; text-decoration: none !important; }
  .aph-sticky svg { width: 20px; height: 20px; }
  .aph-sticky-call { background: linear-gradient(135deg, #d6336c, #f0603a); }
  .aph-sticky-zalo { background: linear-gradient(135deg, #1e3378, #2f66e0); }
}
