/* Khung gioi han chieu rong cho trang "ao" (chi tiet sach voi URL rieng /sach/...), vi trang nay
   khong nam trong template Page binh thuong cua theme nen khong tu co khung container/max-width.
   Trang cua hang (shortcode [smp_bp_store] dat trong 1 Page thuong) van dung khung cua theme,
   khong bi anh huong boi rule nay. */
.smp-bp-page-container { max-width: 1200px; margin: 0 auto; padding: 32px 24px 60px; box-sizing: border-box; }
.smp-bp-page-container.smp-bp-page-container--detail { padding-left: var(--smp-bp-pad-x, 40px); padding-right: var(--smp-bp-pad-x, 40px); }
@media (max-width: 720px) { .smp-bp-page-container.smp-bp-page-container--detail { padding-left: 16px; padding-right: 16px; } }

.smp-bp-input { padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; }
.smp-bp-btn {
	display: inline-block !important; padding: 10px 18px !important; background: #2c6e49 !important; color: #fff !important;
	border: none !important; border-radius: 4px !important; cursor: pointer; text-decoration: none !important;
	text-align: center; font-size: 14px !important; line-height: normal; box-shadow: none;
}
.smp-bp-btn:hover { background: #1f4d33 !important; color: #fff !important; }
.smp-bp-btn--block { display: block !important; width: 100%; margin-top: 8px; }
.smp-bp-btn--primary { background: #d9822b !important; }
.smp-bp-btn--primary:hover { background: #b5691d !important; }

.smp-bp-card-actions { display: flex; gap: 6px; margin-top: 10px; align-items: stretch; }
.smp-bp-icon-btn {
	width: 40px; flex-shrink: 0; border-radius: 6px !important; border: 1px solid #2c6e49 !important;
	background: #fff !important; color: #2c6e49 !important; font-size: 17px; cursor: pointer;
	display: flex !important; align-items: center; justify-content: center; text-decoration: none !important;
}
.smp-bp-icon-btn:hover { background: #f0f7f2 !important; }
.smp-bp-btn--buynow {
	background: #d9822b !important; flex: 1.4; padding: 8px 6px !important; font-size: 12.5px !important;
	white-space: nowrap; display: flex !important; align-items: center; justify-content: center; color: #fff !important; border: none !important;
}
.smp-bp-btn--buynow:hover { background: #b5691d !important; color: #fff !important; }
.smp-bp-btn--view {
	flex: 1; padding: 8px 6px !important; font-size: 12.5px !important; background: #fff !important;
	color: #2c6e49 !important; border: 1px solid #2c6e49 !important; white-space: nowrap;
	display: flex !important; align-items: center; justify-content: center; text-decoration: none !important;
}
.smp-bp-btn--view:hover { background: #f0f7f2 !important; color: #2c6e49 !important; }
.smp-bp-card-message { display: block; font-size: 12px; color: #2c6e49; margin-top: 4px; min-height: 16px; }

/* ---- Hang tab danh muc ---- */
.smp-bp-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.smp-bp-category-tab { padding: 8px 16px; border-radius: 999px; border: 1.5px solid #e2e2de; font-size: 13px; font-weight: 700; color: #555; text-decoration: none; background: #fff; transition: border-color .15s, color .15s, background .15s; white-space: nowrap; }
.smp-bp-category-tab:hover { border-color: #a8d3ba; color: #1f7a4e; }
.smp-bp-category-tab.active { background: #2c6e49; border-color: #2c6e49; color: #fff; }

.smp-bp-grid { display: grid; grid-template-columns: repeat(var(--smp-bp-cols, 4), minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1300px) { .smp-bp-grid { grid-template-columns: repeat(min(var(--smp-bp-cols, 4), 4), minmax(0, 1fr)); } }
@media (max-width: 1000px) { .smp-bp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .smp-bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 380px) { .smp-bp-grid { grid-template-columns: 1fr; } }
.smp-bp-card { border: 1px solid #eee; border-radius: 12px; padding: 14px; background: #fff; transition: box-shadow .15s, transform .15s; }
.smp-bp-card:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,0.18); transform: translateY(-2px); }
.smp-bp-card-img-link { position: relative; display: block; }
.smp-bp-card-img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: contain !important; background: #f6f8f6; border-radius: 8px; margin-bottom: 10px; display: block; }
.smp-bp-card-img--placeholder { display: flex; align-items: center; justify-content: center; background: #f4f4f4; color: #999; }
.smp-bp-card-ribbon { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; color: #fff; box-shadow: 0 2px 8px -2px rgba(0,0,0,0.3); }
.smp-bp-card-ribbon--hot { background: linear-gradient(135deg, #ff8a3d, #d9822b); }
.smp-bp-card-ribbon--new { background: linear-gradient(135deg, #4a9d70, #2c6e49); }

.smp-bp-card-title { font-size: 15.5px; font-weight: 700; margin: 4px 0 6px; line-height: 1.4; }
.smp-bp-card-title a { color: #1c2b22; text-decoration: none; }
.smp-bp-card-title a:hover { color: #2c6e49; }

.smp-bp-card-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.smp-bp-card-stars { color: #e8a325; font-size: 13px; letter-spacing: 1px; }
.smp-bp-card-rating-count { font-size: 12px; color: #999; }

.smp-bp-card-price-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.smp-bp-price-chip { display: inline-flex; align-items: center; gap: 5px; background: #f5f7f5; padding: 5px 9px; border-radius: 8px; }
.smp-bp-price-chip-icon { font-size: 13px; }
.smp-bp-price-chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.smp-bp-price-chip-value { font-size: 12.5px; font-weight: 800; color: #1f7a4e; }
.smp-bp-price-chip .smp-bp-price-original { font-size: 10.5px; color: #aaa; text-decoration: line-through; margin: 0; }

.smp-bp-pagination { display: flex; gap: 6px; margin-top: 20px; }
.smp-bp-pagination a { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; }
.smp-bp-pagination a.active { background: #2c6e49; color: #fff; border-color: #2c6e49; }

/* ============================================================
   TRANG CHI TIẾT SÁCH — bố cục & màu sắc
   ============================================================ */

.smp-bp-book-detail { color: #2b2b2b; }

.smp-bp-book-detail-grid { display: grid; grid-template-columns: 340px 1fr; gap: 36px; margin-bottom: 36px; align-items: start; }

.smp-bp-back-link { margin-bottom: 18px; }
.smp-bp-back-link a {
	display: inline-flex; align-items: center; gap: 6px;
	text-decoration: none; color: #2c6e49; font-weight: 700; font-size: 13.5px;
	background: #eef6f1; padding: 7px 14px 7px 12px; border-radius: 999px;
	transition: background .15s, transform .15s;
}
.smp-bp-back-link a:hover { background: #dcefe3; transform: translateX(-2px); }

.smp-bp-book-detail-image { position: sticky; top: 20px; }
.smp-bp-book-detail-image > img {
	width: 100% !important; height: auto !important; border-radius: 14px; display: block;
	box-shadow: 0 10px 30px -8px rgba(44, 110, 73, 0.35);
	border: 1px solid #eef0ee;
}
.smp-bp-gallery-thumbs { display: flex !important; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.smp-bp-gallery-thumbs img.smp-bp-gallery-thumb,
.smp-bp-gallery-thumb {
	width: 64px !important; height: 64px !important; max-width: 64px !important;
	object-fit: cover !important; border-radius: 8px !important; cursor: pointer;
	border: 2px solid transparent; opacity: .75; transition: opacity .15s, border-color .15s;
	box-shadow: 0 2px 6px -2px rgba(0,0,0,0.15); display: inline-block !important;
	flex: 0 0 auto;
}
.smp-bp-gallery-thumb:hover { opacity: 1; }
.smp-bp-gallery-thumb.active { border-color: #2c6e49 !important; opacity: 1; }

.smp-bp-book-detail-info h1 {
	font-size: 28px; line-height: 1.3; font-weight: 800; color: #1c2b22; margin: 0 0 10px;
}

.smp-bp-book-tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.smp-bp-book-tag {
	display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700;
	padding: 4px 10px; border-radius: 999px; background: #f1f2ef; color: #555;
}
.smp-bp-book-tag--hot { background: linear-gradient(135deg, #ffb570, #d9822b); color: #fff; }

.smp-bp-book-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.smp-bp-book-author,
.smp-bp-book-age {
	display: inline-flex; align-items: center; gap: 6px; margin: 0;
	font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.smp-bp-book-author { background: #eef6f1; color: #256b45; }
.smp-bp-book-age { background: #fdf2e3; color: #a8641c; }

.smp-bp-book-rating-summary {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff8e8; color: #b8860b; font-weight: 700; font-size: 13.5px;
	padding: 6px 12px; border-radius: 999px; margin: 0 0 16px;
}
.smp-bp-book-rating-summary .smp-bp-stars { letter-spacing: 1px; color: #e8a325; }

.smp-bp-book-short-desc {
	font-style: italic; color: #555; font-size: 15px; line-height: 1.6;
	background: #f7f9f7; border-left: 3px solid #2c6e49; padding: 12px 16px;
	border-radius: 0 8px 8px 0; margin: 0 0 16px;
}

/* Khoi "Danh cho ai" / "Giai quyet van de gi" */
.smp-bp-info-boxes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.smp-bp-info-box { background: #fafaf8; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; }
.smp-bp-info-box-title { font-weight: 700; font-size: 14px; margin: 0 0 6px; color: #1c2b22; }
.smp-bp-info-box-content { font-size: 13.5px; color: #555; line-height: 1.6; }
.smp-bp-info-box-content p { margin: 0 0 8px; }
.smp-bp-info-box-content p:last-child { margin-bottom: 0; }

/* Khoi mua hang kieu the (gia lon + toggle bien the + stepper + nut) */
.smp-bp-purchase-box {
	display: block; position: relative; overflow: hidden;
	border: 1px solid #ecebe6; border-radius: 16px; padding: 24px;
	margin-top: 10px; background: #fff;
	box-shadow: 0 4px 24px -6px rgba(0,0,0,0.08);
}
.smp-bp-purchase-box::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: linear-gradient(90deg, #2c6e49, #4a9d70, #d9822b);
}

.smp-bp-price-display { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.smp-bp-price-display-main { font-size: 32px; font-weight: 800; color: #1f7a4e; letter-spacing: -0.5px; }
.smp-bp-price-display-original { font-size: 16px; color: #aaa; text-decoration: line-through; }
.smp-bp-price-display-original:empty { display: none; }
.smp-bp-discount-badge {
	background: linear-gradient(135deg, #ffb570, #d9822b); color: #fff; font-weight: 800; font-size: 12px;
	padding: 4px 10px; border-radius: 999px; box-shadow: 0 3px 8px -2px rgba(217,130,43,0.55);
}
.smp-bp-discount-badge:empty { display: none; }
.smp-bp-savings { color: #b8641a; font-size: 13px; font-weight: 600; margin: 6px 0 20px; }
.smp-bp-savings:empty { display: none; margin: 0; }

.smp-bp-variant-toggle-label {
	font-weight: 700; margin-bottom: 10px; font-size: 13px; color: #777;
	text-transform: uppercase; letter-spacing: .5px;
}
.smp-bp-variant-toggle-group { display: flex; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.smp-bp-variant-toggle {
	display: flex; align-items: center; gap: 8px; padding: 13px 16px;
	border: 2px solid #e6e6e2; border-radius: 10px; cursor: pointer;
	font-weight: 700; color: #555; flex: 1; min-width: 140px; justify-content: center;
	background: #fafaf8;
	transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
}
.smp-bp-variant-toggle:hover { border-color: #bcdcc9; }
.smp-bp-variant-toggle input[type="radio"] { display: none; }
.smp-bp-variant-toggle-icon { font-size: 19px; }
.smp-bp-variant-toggle.active {
	border-color: #2c6e49; color: #1f7a4e; background: #f0f9f3;
	box-shadow: 0 3px 10px -4px rgba(44,110,73,0.4);
}
.smp-bp-variant-stock-note { font-size: 13px; color: #a8641c; font-weight: 600; margin-bottom: 18px; min-height: 16px; }

/* Ban thu gon cua toggle "Hinh thuc" - dung khi trang chi tiet co nhieu noi dung ben phai
   (danh cho ai / giai quyet van de gi) de can doi chieu cao voi anh bia ben trai. */
.smp-bp-variant-toggle-group--compact .smp-bp-variant-toggle { padding: 9px 14px; font-size: 13.5px; min-width: 120px; }
.smp-bp-variant-toggle-group--compact .smp-bp-variant-toggle-icon { font-size: 16px; }

.smp-bp-qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.smp-bp-qty-row label { font-weight: 700; font-size: 13px; color: #777; text-transform: uppercase; letter-spacing: .5px; }
.smp-bp-qty-stepper { display: inline-flex; align-items: center; border: 2px solid #e6e6e2; border-radius: 10px; overflow: hidden; }
.smp-bp-qty-stepper button { width: 38px; height: 38px; border: none !important; background: #f7f7f5 !important; font-size: 18px; cursor: pointer; color: #444 !important; transition: background .15s; padding: 0 !important; }
.smp-bp-qty-stepper button:hover { background: #eee !important; }
.smp-bp-qty-stepper .smp-bp-qty-input { width: 48px; height: 38px; border: none; border-left: 2px solid #e6e6e2; border-right: 2px solid #e6e6e2; text-align: center; font-size: 15px; font-weight: 700; -moz-appearance: textfield; }
.smp-bp-qty-stepper .smp-bp-qty-input::-webkit-outer-spin-button,
.smp-bp-qty-stepper .smp-bp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.smp-bp-btn-cart-full {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%;
	padding: 15px !important; background: linear-gradient(135deg, #2c6e49, #245a3c) !important; color: #fff !important; border: none !important;
	border-radius: 10px !important; font-size: 16px !important; font-weight: 800 !important; cursor: pointer; margin-bottom: 10px;
	box-shadow: 0 6px 16px -4px rgba(44,110,73,0.5); transition: transform .12s, box-shadow .12s;
	line-height: normal; text-decoration: none !important;
}
.smp-bp-btn-cart-full:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -4px rgba(44,110,73,0.6); background: linear-gradient(135deg, #245a3c, #1c4530) !important; color: #fff !important; }
.smp-bp-btn-buynow-outline {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%;
	padding: 15px !important; background: #fff !important; color: #2c6e49 !important; border: 2px solid #2c6e49 !important;
	border-radius: 10px !important; font-size: 16px !important; font-weight: 800 !important; cursor: pointer; transition: background .12s;
	line-height: normal; text-decoration: none !important;
}
.smp-bp-btn-buynow-outline:hover { background: #f0f9f3 !important; color: #2c6e49 !important; }

.smp-bp-cta-row { display: flex !important; gap: 10px; }
.smp-bp-cta-row .smp-bp-btn-buynow-outline { margin-bottom: 0; }
.smp-bp-btn-consult-outline {
	display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%;
	padding: 15px !important; background: #fff8ef !important; color: #b9770e !important; border: 2px solid #f0b858 !important;
	border-radius: 10px !important; font-size: 15px !important; font-weight: 800 !important; cursor: pointer; transition: background .12s;
	line-height: normal; text-decoration: none !important; white-space: nowrap;
}
.smp-bp-btn-consult-outline:hover { background: #fdf0d9 !important; color: #b9770e !important; }

/* Modal dang ky tu van */
.smp-bp-consult-modal-overlay {
	display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(20, 30, 24, 0.55); z-index: 100000;
	align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;
}
.smp-bp-consult-modal-overlay.active { display: flex !important; }
.smp-bp-consult-modal {
	background: #fff; border-radius: 16px; padding: 28px 26px; max-width: 440px; width: 100%;
	position: relative; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.35);
	max-height: 90vh; overflow-y: auto; box-sizing: border-box;
}
.smp-bp-consult-modal h3 { margin: 0 0 8px; font-size: 20px; color: #1c2b22; }
.smp-bp-consult-modal-desc { margin: 0 0 18px; font-size: 13.5px; color: #777; }
.smp-bp-consult-modal-close {
	position: absolute !important; top: 14px; right: 14px; width: 32px; height: 32px;
	border: none !important; background: #f3f3f0 !important; border-radius: 50% !important;
	font-size: 15px; cursor: pointer; color: #555 !important; display: flex; align-items: center; justify-content: center;
	padding: 0 !important;
}
.smp-bp-consult-modal-close:hover { background: #e9e9e5 !important; }
.smp-bp-consult-form p { margin: 0 0 14px; }
.smp-bp-consult-form label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 13px; color: #444; }
.smp-bp-consult-form .smp-bp-input { width: 100%; box-sizing: border-box; }
.smp-bp-consult-submit-btn { width: 100%; justify-content: center; }
.smp-bp-consult-form-message { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 600; }
.smp-bp-consult-form-message.success { color: #2c6e49; }
.smp-bp-consult-form-message.error { color: #b32d2e; }

@media (max-width: 480px) {
	.smp-bp-cta-row { flex-direction: column; }
}

/* Khoi cam ket + tu van */
.smp-bp-support-section { margin-top: 20px; background: #f9faf8; border-radius: 14px; padding: 4px 4px 18px; }
.smp-bp-support-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 18px 10px 14px; }
.smp-bp-support-item { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 100px; font-size: 12.5px; color: #555; font-weight: 600; gap: 8px; }
.smp-bp-support-icon {
	font-size: 20px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: #fff; box-shadow: 0 2px 8px -2px rgba(0,0,0,0.12);
}
.smp-bp-support-item:nth-child(1) .smp-bp-support-icon { background: #e9f5ee; }
.smp-bp-support-item:nth-child(2) .smp-bp-support-icon { background: #e8f1fb; }
.smp-bp-support-item:nth-child(3) .smp-bp-support-icon { background: #fdf1e3; }

.smp-bp-consult-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 10px 0; }
.smp-bp-consult-label { font-size: 13px; color: #666; margin-right: 4px; font-weight: 600; }
.smp-bp-consult-btn {
	display: inline-flex !important; align-items: center; gap: 6px; padding: 9px 16px !important; border-radius: 999px !important;
	text-decoration: none !important; font-size: 13px !important; font-weight: 700; transition: transform .12s, box-shadow .12s;
	border: none !important;
}
.smp-bp-consult-btn:hover { transform: translateY(-1px); }
.smp-bp-consult-btn--zalo { background: #e6f3ff !important; color: #0068ff !important; box-shadow: 0 2px 8px -3px rgba(0,104,255,0.4); }
.smp-bp-consult-btn--fb { background: #e7f0ff !important; color: #1877f2 !important; box-shadow: 0 2px 8px -3px rgba(24,119,242,0.4); }

/* Hang Yeu thich / Chia se */
.smp-bp-share-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px dashed #e2e2de; }
.smp-bp-wishlist-btn {
	background: none !important; border: 1.5px solid #e2e2de !important; border-radius: 999px !important;
	padding: 8px 16px !important; cursor: pointer; font-size: 13px !important; font-weight: 600; color: #666 !important; transition: all .15s;
}
.smp-bp-wishlist-btn:hover { border-color: #d9822b !important; color: #d9822b !important; }
.smp-bp-wishlist-btn.active { border-color: #d9822b !important; color: #d9822b !important; background: #fdf2e3 !important; }
.smp-bp-share-links { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; font-weight: 600; }
.smp-bp-share-icon {
	width: 32px; height: 32px; border-radius: 50% !important; display: inline-flex !important; align-items: center;
	justify-content: center; font-size: 14px; font-weight: 700; text-decoration: none !important; cursor: pointer;
	border: none !important; transition: transform .12s;
}
.smp-bp-share-icon:hover { transform: translateY(-2px); }
.smp-bp-share-icon--fb { background: #1877f2 !important; color: #fff !important; }
.smp-bp-share-icon--zalo { background: #0068ff !important; color: #fff !important; }
.smp-bp-copy-link { background: #eee !important; color: #444 !important; }

/* ---- Tabs (Mo ta / Muc luc / Danh gia) ---- */
.smp-bp-tabs { margin-top: 44px; }
.smp-bp-tabs-nav {
	display: inline-flex; gap: 4px; background: #f1f2ef; padding: 5px; border-radius: 12px;
	margin-bottom: 24px; flex-wrap: wrap;
}
.smp-bp-tab-btn {
	background: none !important; border: none !important; padding: 11px 20px !important; cursor: pointer; font-size: 14.5px !important;
	font-weight: 700; color: #777 !important; border-radius: 9px !important; transition: background .15s, color .15s;
}
.smp-bp-tab-btn.active { color: #1f7a4e !important; background: #fff !important; box-shadow: 0 2px 8px -2px rgba(0,0,0,0.12); }
.smp-bp-tab-panel { display: none; background: #fff; border: 1px solid #f0f0ec; border-radius: 14px; padding: 26px; }
.smp-bp-tab-panel.active { display: block; }

/* Kieu mac dinh cho noi dung Muc luc (ap dung khi admin khong tu chen style rieng) */
.smp-bp-toc-content { line-height: 1.7; color: #333; }

/* Tab "Loi nhan tu tac gia" - phong cach am ap, giong 1 buc thu */
.smp-bp-author-message {
	line-height: 1.8; color: #3a3a3a; font-size: 15px; font-style: italic;
	background: #fdfaf3; border-left: 4px solid #d9822b; padding: 20px 24px; border-radius: 0 10px 10px 0;
}
.smp-bp-author-message p { margin: 0 0 14px; }
.smp-bp-author-message p:last-child { margin-bottom: 0; }
.smp-bp-toc-iframe { width: 100%; border: 0; display: block; height: 500px; transition: height .2s ease; }
.smp-bp-toc-content ul, .smp-bp-toc-content ol { margin: 0 0 14px 22px; padding: 0; }
.smp-bp-toc-content ul ul, .smp-bp-toc-content ol ol,
.smp-bp-toc-content ul ol, .smp-bp-toc-content ol ul { margin-top: 6px; margin-bottom: 6px; }
.smp-bp-toc-content li { margin-bottom: 6px; }
.smp-bp-toc-content p { margin: 0 0 12px; }
.smp-bp-toc-content table { border-collapse: collapse; width: 100%; margin-bottom: 16px; }
.smp-bp-toc-content table th, .smp-bp-toc-content table td { border: 1px solid #e2e2de; padding: 8px 12px; text-align: left; }
.smp-bp-toc-content table th { background: #f7f9f7; font-weight: 700; }
.smp-bp-toc-content h1, .smp-bp-toc-content h2, .smp-bp-toc-content h3,
.smp-bp-toc-content h4, .smp-bp-toc-content h5, .smp-bp-toc-content h6 { margin: 18px 0 10px; color: #1c2b22; }
.smp-bp-toc-content h1:first-child, .smp-bp-toc-content h2:first-child, .smp-bp-toc-content h3:first-child { margin-top: 0; }
.smp-bp-toc-content a { color: #2c6e49; }
.smp-bp-toc-content blockquote { border-left: 3px solid #2c6e49; margin: 0 0 14px; padding: 8px 16px; background: #f7f9f7; color: #555; }

/* ---- Danh gia ---- */
.smp-bp-review-list { margin-bottom: 28px; }
.smp-bp-review-item { display: flex; gap: 14px; border-bottom: 1px solid #f0f0ec; padding: 18px 0; }
.smp-bp-review-item:first-child { padding-top: 0; }
.smp-bp-review-item::before {
	content: "👤"; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #eef6f1;
	display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.smp-bp-review-stars { color: #e8a325; letter-spacing: 1px; font-size: 14px; }
.smp-bp-review-author { font-weight: 700; margin: 4px 0; font-size: 14px; color: #333; }
.smp-bp-review-author span { font-weight: 400; color: #aaa; }
.smp-bp-review-content { margin: 4px 0 0; color: #555; line-height: 1.6; }
.smp-bp-review-form { background: #f9faf8; border-radius: 12px; padding: 20px; margin-top: 8px; }
.smp-bp-review-form h3 { margin-top: 0; }
.smp-bp-review-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 13.5px; color: #555; }
.smp-bp-review-form p { margin-bottom: 14px; }
.smp-bp-review-form .smp-bp-input,
.smp-bp-review-form input[type="text"],
.smp-bp-review-form select,
.smp-bp-review-form textarea { width: 100%; max-width: 500px; box-sizing: border-box; padding: 11px 14px; font-size: 14px; border: 1.5px solid #e2e2de; border-radius: 8px; }
.smp-bp-review-form textarea { min-height: 100px; resize: vertical; }
.smp-bp-review-form .smp-bp-input:focus,
.smp-bp-review-form textarea:focus { outline: none; border-color: #2c6e49; }
.smp-bp-review-message { margin-left: 10px; color: #2c6e49; font-weight: 600; }

@media (max-width: 900px) {
	.smp-bp-book-detail-grid { grid-template-columns: 1fr; }
	.smp-bp-book-detail-image { position: static; }
}
@media (max-width: 480px) {
	.smp-bp-support-row { flex-direction: column; gap: 16px; }
	.smp-bp-share-row { flex-direction: column; align-items: flex-start; }
}
/* ============================================================
   HET PHAN CSS TRANG CHI TIET SACH
   ============================================================ */

.smp-bp-cart-table, .smp-bp-checkout .smp-bp-cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.smp-bp-cart-table th, .smp-bp-cart-table td { padding: 10px; border-bottom: 1px solid #eee; text-align: left; }
.smp-bp-cart-qty[readonly] { background: #f2f2f0; color: #888; cursor: not-allowed; }
.smp-bp-out-of-stock { color: #b32d2e; }
.smp-bp-stock { color: #666; }
.smp-bp-add-to-cart-message { margin-left: 10px; color: #2c6e49; font-weight: 600; }

.smp-bp-checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; }
.smp-bp-checkout-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.smp-bp-checkout-form p { margin-bottom: 14px; }
.smp-bp-checkout-form .smp-bp-input { width: 100%; box-sizing: border-box; }
.smp-bp-payment-option { display: block; padding: 10px; border: 1px solid #eee; border-radius: 6px; margin-bottom: 8px; cursor: pointer; }
.smp-bp-checkout-summary { background: #f9f9f9; padding: 18px; border-radius: 8px; height: fit-content; }
.smp-bp-checkout-summary ul { list-style: none; padding: 0; margin: 0 0 14px; }
.smp-bp-checkout-summary li { padding: 6px 0; border-bottom: 1px solid #eee; font-size: 14px; }

.smp-bp-notice { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }
.smp-bp-notice--error { background: #fce8e6; color: #b32d2e; }
.smp-bp-checkout-success { text-align: center; padding: 40px 20px; max-width: 900px; margin: 0 auto; }
.smp-bp-success-icon { font-size: 52px; margin-bottom: 10px; }
.smp-bp-checkout-success h2 { font-size: 26px; margin: 0 0 8px; color: #1c2b22; }
.smp-bp-success-sub { color: #666; margin: 0 0 20px; }
.smp-bp-order-code-box {
	display: inline-block; background: #eef6f1; color: #1c2b22; padding: 12px 22px;
	border-radius: 10px; font-size: 15px; margin-bottom: 28px;
}
.smp-bp-order-code-box strong { color: #1f7a4e; }
.smp-bp-order-amount { display: block; margin-top: 4px; font-size: 13.5px; color: #555; }

.smp-bp-payment-instructions { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; text-align: left; }

.smp-bp-qr-box {
	background: #fff; border: 1px solid #ecebe6; border-radius: 14px; padding: 22px;
	text-align: center; flex: 1; min-width: 240px; max-width: 300px;
	box-shadow: 0 4px 20px -8px rgba(0,0,0,0.1);
}
.smp-bp-qr-box-title { font-weight: 700; margin: 0 0 14px; }
.smp-bp-qr-box-img { max-width: 220px; width: 100%; border-radius: 8px; border: 1px solid #eee; }
.smp-bp-qr-box-note { font-size: 12px; color: #888; margin: 12px 0 0; line-height: 1.5; }

.smp-bp-bank-info-box {
	background: #fff; border: 1px solid #ecebe6; border-radius: 14px; padding: 22px;
	flex: 1.4; min-width: 320px; max-width: 460px;
	box-shadow: 0 4px 20px -8px rgba(0,0,0,0.1);
}
.smp-bp-bank-info-title { font-weight: 700; margin: 0 0 14px; }
.smp-bp-bank-info-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.smp-bp-bank-info-table th { text-align: left; color: #888; font-weight: 600; font-size: 12.5px; padding: 10px 12px 10px 0; width: 105px; vertical-align: top; }
.smp-bp-bank-info-table td { padding: 10px 0; font-weight: 700; color: #1c2b22; border-top: 1px solid #f2f2ee; line-height: 1.5; word-break: break-word; }
.smp-bp-bank-info-table tr:first-child td { border-top: none; }
.smp-bp-copyable { display: inline-block; }
.smp-bp-copy-btn { background: none !important; border: none !important; cursor: pointer; font-size: 13px; margin-left: 4px; vertical-align: middle; padding: 0 !important; }
.smp-bp-bank-info-note { font-size: 12.5px; color: #a8641c; background: #fffaf0; padding: 8px 12px; border-radius: 8px; margin: 16px 0 0; }

@media (max-width: 600px) {
	.smp-bp-payment-instructions { flex-direction: column; align-items: center; }
	.smp-bp-qr-box, .smp-bp-bank-info-box { max-width: 100%; width: 100%; }
}

@media (max-width: 782px) {
	.smp-bp-checkout-grid { grid-template-columns: 1fr; }
}

.smp-bp-vat-note { font-size: 12.5px; color: #8a6d1d; margin: 4px 0 10px; }
.smp-bp-vat-note:empty { display: none; }

/* ===== Trang thanh toan (v1.12) ===== */
.smp-bp-checkout-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.smp-bp-checkout-head h2 { margin: 0; font-size: 26px; color: #1c2b22; }
.smp-bp-steps { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #999; flex-wrap: wrap; }
.smp-bp-step { padding: 5px 12px; border-radius: 999px; background: #f1f3f1; font-weight: 700; }
.smp-bp-step.done { background: #e3f1e8; color: #2c6e49; }
.smp-bp-step.active { background: #2c6e49; color: #fff; }
.smp-bp-checkout-card { background: #fff; border: 1px solid #e8ece9; border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; box-shadow: 0 6px 18px -10px rgba(44,110,73,.25); }
.smp-bp-checkout-card h3 { margin: 0 0 16px; font-size: 17px; color: #1c2b22; padding-bottom: 10px; border-bottom: 2px solid #eef6f1; }
.smp-bp-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.smp-bp-label-hint { font-weight: 400; color: #999; font-size: 12px; }
.smp-bp-checkout-form .smp-bp-input { padding: 11px 12px; border: 1.5px solid #dfe5e1; border-radius: 10px; font-size: 14.5px; }
.smp-bp-checkout-form .smp-bp-input:focus { border-color: #2c6e49; outline: none; box-shadow: 0 0 0 3px rgba(44,110,73,.15); }
.smp-bp-checkout-form .smp-bp-payment-option {
	display: flex !important; align-items: center; gap: 12px; padding: 13px 14px; border: 2px solid #e6ebe7; border-radius: 12px;
	margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; font-weight: 400;
}
.smp-bp-payment-option.is-selected, .smp-bp-payment-option:has(input:checked) { border-color: #2c6e49; background: #f0f9f3; }
.smp-bp-payment-option input { margin: 0; accent-color: #2c6e49; }
.smp-bp-payment-icon { font-size: 26px; line-height: 1; }
.smp-bp-payment-text { display: flex; flex-direction: column; gap: 2px; }
.smp-bp-payment-text small { color: #888; font-size: 12.5px; }
.smp-bp-place-order { width: 100%; padding: 15px !important; font-size: 17px !important; font-weight: 800 !important; border-radius: 12px !important; background: linear-gradient(135deg, #2c6e49, #245a3c) !important; color: #fff !important; border: none !important; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(44,110,73,.55); }
.smp-bp-secure-note { text-align: center; color: #888; font-size: 12.5px; margin-top: 10px; }
.smp-bp-checkout-grid { align-items: start; }
.smp-bp-checkout-summary { position: sticky; top: 20px; background: #fff; border: 1px solid #e8ece9; border-radius: 14px; padding: 20px 22px; box-shadow: 0 6px 18px -10px rgba(44,110,73,.25); }
.smp-bp-checkout-summary h3 { margin: 0 0 14px; font-size: 17px; padding-bottom: 10px; border-bottom: 2px solid #eef6f1; }
.smp-bp-checkout-summary .smp-bp-summary-items { margin: 0 0 14px; }
.smp-bp-summary-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.smp-bp-summary-thumb { position: relative; flex: 0 0 56px; width: 56px; height: 72px; }
.smp-bp-summary-thumb img { width: 56px !important; height: 72px !important; object-fit: cover; border-radius: 6px; border: 1px solid #e6ebe7; display: block; }
.smp-bp-summary-thumb-ph { display: flex; width: 56px; height: 72px; align-items: center; justify-content: center; background: #eef6f1; border-radius: 6px; font-size: 24px; }
.smp-bp-summary-qty { position: absolute; top: -7px; right: -7px; background: #2c6e49; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.smp-bp-summary-info { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; line-height: 1.35; }
.smp-bp-summary-info small { color: #888; font-size: 12px; }
.smp-bp-summary-price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.smp-bp-summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: #555; }
.smp-bp-summary-total { margin-top: 6px; padding-top: 12px; border-top: 2px dashed #dfe5e1; font-size: 17px; color: #1c2b22; }
.smp-bp-summary-total strong { color: #1f7a4e; font-size: 20px; }
.smp-bp-summary-perks { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; padding: 10px 12px; background: #f5f9f6; border-radius: 10px; font-size: 12.5px; color: #2c6e49; font-weight: 600; }
@media (max-width: 600px) { .smp-bp-field-grid { grid-template-columns: 1fr; } .smp-bp-checkout-summary { position: static; } }

/* Nut + modal video gioi thieu */
.smp-bp-video-btn {
	display: inline-flex !important; align-items: center; gap: 6px; margin: 0; cursor: pointer;
	font-size: 13px !important; font-weight: 700 !important; padding: 6px 14px !important; border-radius: 999px !important;
	background: #fdecea !important; color: #c0392b !important; border: none !important; line-height: normal;
	transition: background .15s, transform .15s;
}
.smp-bp-video-btn:hover { background: #fadbd8 !important; color: #a93226 !important; transform: translateY(-1px); }
.smp-bp-video-modal-overlay {
	display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,15,12,.75);
	z-index: 100000; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;
}
.smp-bp-video-modal-overlay.active { display: flex !important; }
.smp-bp-video-modal { position: relative; width: 100%; max-width: 860px; background: #000; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.smp-bp-video-modal-body { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden; }
.smp-bp-video-modal-body iframe, .smp-bp-video-modal-body video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; background: #000; }
.smp-bp-video-modal .smp-bp-consult-modal-close { top: -14px; right: -14px; z-index: 2; background: #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
/* Video nhung trong mo ta chi tiet */
.smp-bp-video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 18px 0; border-radius: 12px; overflow: hidden; background: #000; }
.smp-bp-video-embed iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: 0; }

/* Phong to anh (lightbox) */
.smp-bp-book-detail-image > img#smp-bp-main-image { cursor: zoom-in; }
.smp-bp-zoom-hint { display: block; margin-top: 8px; font-size: 12px; color: #8a948d; text-align: center; }
.smp-bp-lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(8,12,10,.92); z-index: 100001; align-items: center; justify-content: center; }
.smp-bp-lightbox.active { display: flex !important; }
.smp-bp-lightbox-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 50px 80px; box-sizing: border-box; }
.smp-bp-lightbox-stage img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; border-radius: 6px; cursor: zoom-in; transition: transform .2s ease; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.smp-bp-lightbox-close, .smp-bp-lightbox-nav {
	position: absolute !important; border: none !important; background: rgba(255,255,255,.16) !important; color: #fff !important;
	cursor: pointer; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; padding: 0 !important; z-index: 2;
}
.smp-bp-lightbox-close:hover, .smp-bp-lightbox-nav:hover { background: rgba(255,255,255,.3) !important; }
.smp-bp-lightbox-close { top: 16px; right: 16px; width: 42px; height: 42px; font-size: 18px; }
.smp-bp-lightbox-nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 32px; line-height: 1; }
.smp-bp-lightbox-prev { left: 18px; }
.smp-bp-lightbox-next { right: 18px; }
.smp-bp-lightbox.single .smp-bp-lightbox-nav, .smp-bp-lightbox.single .smp-bp-lightbox-count { display: none !important; }
.smp-bp-lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; background: rgba(0,0,0,.45); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 600px) { .smp-bp-lightbox-stage { padding: 56px 12px; } .smp-bp-lightbox-nav { width: 40px; height: 40px; font-size: 26px; } }

.smp-bp-card-img--placeholder { aspect-ratio: 3 / 4; }

.smp-bp-bank-info-extra { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; line-height: 1.6; }
.smp-bp-bank-info-extra li { margin: 6px 0; }
.smp-bp-bank-info-extra a { color: #1b7a3d; text-decoration: none; }

.smp-bp-audio-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.smp-bp-audio-btn { display: inline-flex !important; align-items: center; gap: 6px; padding: 9px 18px !important; border: 1.5px solid #2c6e49 !important; border-radius: 999px !important; background: #fff !important; color: #2c6e49 !important; font-weight: 600; font-size: 14px; cursor: pointer; line-height: 1.2; transition: all .15s; }
.smp-bp-audio-btn:hover { background: #f0f9f3 !important; }
.smp-bp-audio-btn.is-playing { background: #2c6e49 !important; color: #fff !important; }
.smp-bp-audio-icon { font-size: 13px; }
.smp-bp-sc-buy-now { display: inline-block; padding: 12px 28px; border: 0 !important; border-radius: 8px !important; background: #2c6e49 !important; color: #fff !important; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .1s, background .15s; }
.smp-bp-sc-buy-now:hover { background: #245a3b !important; transform: translateY(-1px); }

a.smp-bp-audio-link, a.smp-bp-audio-link:hover { text-decoration: none !important; }

/* Nut Video gioi thieu cung kieu vien voi Sach noi / Loi mo dau */
.smp-bp-audio-row .smp-bp-video-btn { display: inline-flex !important; align-items: center; gap: 6px; padding: 9px 18px !important; border: 1.5px solid #2c6e49 !important; border-radius: 999px !important; background: #fff !important; color: #2c6e49 !important; font-weight: 600 !important; font-size: 14px !important; line-height: 1.2; cursor: pointer; box-shadow: none !important; }
.smp-bp-audio-row .smp-bp-video-btn:hover { background: #f0f9f3 !important; color: #2c6e49 !important; }

/* Combo sach */
.smp-bp-combo { margin: 18px 0; border: 1.5px solid #cfe3d6; border-radius: 12px; background: #f6fbf8; overflow: hidden; }
.smp-bp-combo-toggle { display: flex !important; align-items: center; gap: 10px; width: 100%; padding: 13px 16px !important; border: 0 !important; background: transparent !important; color: #1f5137 !important; font-size: 16px !important; font-weight: 700 !important; text-align: left; cursor: pointer; border-radius: 0 !important; box-shadow: none !important; }
.smp-bp-combo-toggle:hover { background: #eaf5ee !important; }
.smp-bp-combo-plus { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #2c6e49; color: #fff; font-size: 18px; line-height: 1; flex: 0 0 auto; }
.smp-bp-combo-count { margin-left: auto; font-size: 12px; font-weight: 600; color: #5d7a69; }
.smp-bp-combo-list { list-style: none !important; margin: 0 !important; padding: 0 12px 12px !important; }
.smp-bp-combo-list[hidden] { display: none !important; }
.smp-bp-combo-list li { margin: 8px 0 0 !important; padding: 0 !important; list-style: none !important; }
.smp-bp-combo-book { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 14px !important; border: 1px solid #d7e6dc !important; border-radius: 10px !important; background: #fff !important; color: #24412f !important; font-size: 15px !important; font-weight: 600 !important; text-align: left; cursor: pointer; box-shadow: none !important; }
.smp-bp-combo-book:hover { border-color: #2c6e49 !important; background: #f0f9f3 !important; }
.smp-bp-combo-hint { font-size: 12px; font-weight: 600; color: #2c6e49; white-space: nowrap; }
.smp-bp-toc-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,15,12,.7); z-index: 100000; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.smp-bp-toc-modal-overlay.active { display: flex !important; }
.smp-bp-toc-modal { position: relative; width: 100%; max-width: 720px; max-height: 86vh; background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); padding: 24px 26px; box-sizing: border-box; display: flex; flex-direction: column; }
.smp-bp-toc-modal h3 { margin: 0 34px 14px 0 !important; font-size: 19px; color: #1f5137; }
.smp-bp-toc-modal-body { overflow-y: auto; line-height: 1.65; padding-right: 4px; }
.smp-bp-toc-modal .smp-bp-consult-modal-close { top: 12px; right: 12px; }

/* Combo: cap quyen / tap */
.smp-bp-combo-list { padding: 0 12px 12px !important; }
.smp-bp-combo-quyen-item { margin-top: 8px; }
.smp-bp-combo-quyen-btn { display: flex !important; align-items: center; gap: 8px; width: 100%; padding: 11px 14px !important; border: 1px solid #bfd9c8 !important; border-radius: 10px !important; background: #eaf5ee !important; color: #1f5137 !important; font-size: 15px !important; font-weight: 700 !important; text-align: left; cursor: pointer; box-shadow: none !important; }
.smp-bp-combo-quyen-btn:hover { background: #dff0e5 !important; }
.smp-bp-combo-caret { width: 14px; color: #2c6e49; }
.smp-bp-combo-vols { list-style: none !important; margin: 6px 0 4px !important; padding: 0 0 0 18px !important; }
.smp-bp-combo-vols[hidden] { display: none !important; }
.smp-bp-combo-vols li { margin: 6px 0 0 !important; padding: 0 !important; list-style: none !important; }
.smp-bp-toc-modal-iframe { width: 100%; height: 68vh; border: 0; display: block; border-radius: 8px; background: #fff; }

.smp-bp-combo-arrow { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #2c6e49; color: #fff; font-size: 13px; line-height: 1; flex: 0 0 auto; transition: transform .2s ease; }
.is-open > .smp-bp-combo-arrow { transform: rotate(180deg); }
.smp-bp-combo-toggle .smp-bp-combo-count { margin-left: auto; }

/* Mau rieng cho moi nut trong hang nut audio / he sinh thai (bien --smp-c) */
.smp-bp-audio-row .smp-bp-audio-btn, .smp-bp-audio-row .smp-bp-video-btn { border: 1.5px solid var(--smp-c, #2c6e49) !important; color: var(--smp-c, #2c6e49) !important; background: #fff !important; }
.smp-bp-audio-row .smp-bp-audio-btn:hover, .smp-bp-audio-row .smp-bp-video-btn:hover, .smp-bp-audio-row .smp-bp-audio-btn.is-playing { background: var(--smp-c, #2c6e49) !important; color: #fff !important; }

.smp-bp-place-order.is-loading, .smp-bp-place-order:disabled { opacity: .5 !important; cursor: not-allowed !important; pointer-events: none; box-shadow: none !important; }

/* Sach lien quan (cuoi trang chi tiet) */
.smp-bp-related { margin: 48px 0 24px; padding-top: 28px; border-top: 1px solid #e8ece9; }
.smp-bp-related-title { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 800 !important; color: #1d3b2b; }

/* Chien dich gio vang */
.smp-bp-camp-badge { display: inline-block; background: linear-gradient(135deg, #f59e0b, #dc2626); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .5px; padding: 4px 12px; border-radius: 999px; }
.smp-bp-countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: #dc2626; }
.smp-bp-camp-strip { margin: 0 0 12px; padding: 9px 14px; border-radius: 10px; background: #fff4e5; border: 1px solid #f7d9a8; color: #92600a; font-weight: 700; font-size: 14px; }
.smp-bp-camp-overlay { position: fixed; inset: 0; z-index: 100000; background: rgba(15,23,20,.6); display: none; align-items: center; justify-content: center; padding: 16px; }
.smp-bp-camp-overlay.open { display: flex; }
.smp-bp-camp-box { position: relative; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px -10px rgba(0,0,0,.55); animation: smpBpCampIn .35s ease; }
@keyframes smpBpCampIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.smp-bp-camp-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border: 0 !important; border-radius: 50% !important; background: rgba(0,0,0,.55) !important; color: #fff !important; font-size: 15px; cursor: pointer; padding: 0 !important; line-height: 34px; }
.smp-bp-camp-media { display: block; width: 100%; background: #000; }
.smp-bp-camp-media img { display: block; width: 100%; height: auto; }
.smp-bp-camp-video { position: relative; aspect-ratio: 16 / 9; }
.smp-bp-camp-video iframe, .smp-bp-camp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.smp-bp-camp-body { padding: 20px 22px 24px; text-align: center; }
.smp-bp-camp-title { margin: 10px 0 8px !important; font-size: 22px !important; line-height: 1.3 !important; font-weight: 800 !important; color: #1d3b2b; }
.smp-bp-camp-text { color: #444; font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.smp-bp-camp-text p { margin: 0 0 8px; }
.smp-bp-camp-count { margin: 6px 0 14px; font-size: 15px; color: #555; }
.smp-bp-camp-count .smp-bp-countdown { font-size: 20px; }
.smp-bp-camp-cta { display: block; padding: 14px 18px; border-radius: 12px; background: linear-gradient(135deg, #f59e0b, #dc2626); color: #fff !important; font-weight: 800; font-size: 16px; text-decoration: none !important; box-shadow: 0 10px 22px -8px rgba(220,38,38,.6); }
.smp-bp-camp-cta:hover { filter: brightness(1.06); }
.smp-bp-campaign-banner img { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 18px; }
.smp-bp-campaign-head { text-align: center; margin: 0 0 26px; }
.smp-bp-campaign-title { margin: 10px 0 8px !important; font-size: 32px !important; font-weight: 800 !important; color: #1d3b2b; }
.smp-bp-campaign-desc { max-width: 760px; margin: 0 auto 12px; color: #444; line-height: 1.6; }
.smp-bp-campaign-timer { display: inline-block; margin-top: 8px; padding: 10px 20px; border-radius: 12px; background: #fff4e5; border: 1px solid #f7d9a8; font-weight: 700; color: #92600a; }
.smp-bp-campaign-timer .smp-bp-countdown { font-size: 22px; }
.smp-bp-campaign-empty { text-align: center; color: #666; padding: 30px 0; }
@media (max-width: 720px) { .smp-bp-campaign-title { font-size: 24px !important; } }

/* Thanh tien do so suat gio vang */
.smp-bp-quota { margin: 6px 0 2px; font-size: 12px; color: #92600a; }
.smp-bp-quota-bar { height: 7px; border-radius: 999px; background: #f3e3c4; overflow: hidden; margin-top: 3px; }
.smp-bp-quota-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #dc2626); }
.smp-bp-quota.is-out { color: #b3261e; }
.smp-bp-quota.is-out .smp-bp-quota-bar span { background: #b3261e; }

/* Trang cua hang: chia muc Combo / Don le */
.smp-bp-store-section { margin: 0 0 40px; }
.smp-bp-store-section-title { margin: 0 0 18px !important; padding-left: 14px; border-left: 5px solid #2c6e49; font-size: 22px !important; font-weight: 800 !important; letter-spacing: .3px; color: #1d3b2b; line-height: 1.3 !important; }
.smp-bp-store-section--combo .smp-bp-store-section-title { border-left-color: #d9822b; }
@media (max-width: 720px) { .smp-bp-store-section-title { font-size: 18px !important; } }

/* Quyen loi khi mua sach noi */
.smp-bp-benefits { margin: 16px 0 !important; padding: 18px 20px !important; background: #fff !important; border: 1px solid #e5e7eb !important; border-radius: 14px !important; }
.smp-bp-benefits[hidden] { display: none !important; }
.smp-bp-benefits-title { margin: 0 0 14px !important; font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #1d2a24 !important; }
.smp-bp-benefits-rows { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; margin-bottom: 14px; }
.smp-bp-benefits-label { display: block; font-size: 13px; color: #6b7280; }
.smp-bp-benefits-value { display: block; font-size: 17px; color: #111827; margin-top: 2px; }
.smp-bp-benefits-renew { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fafafa; }
.smp-bp-benefits-renew-main { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: #6b7280; }
.smp-bp-benefits-renew-main strong { font-size: 15px; color: #111827; }
.smp-bp-benefits-renew-price { font-size: 18px; font-weight: 800; color: #111827; white-space: nowrap; }
.smp-bp-benefits-foot { margin: 12px 0 0 !important; font-size: 12px !important; color: #6b7280 !important; line-height: 1.5 !important; }
@media (max-width: 560px) { .smp-bp-benefits-renew { flex-direction: column; align-items: flex-start; } }

/* Trang cua hang: sidebar loc */
.smp-bp-store--sidebar { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.smp-bp-filter-toggle { display: none; }
.smp-bp-sidebar { position: sticky; top: 90px; }
.smp-bp-filter-group { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid #ececea; }
.smp-bp-filter-group:last-of-type { border-bottom: 0; }
.smp-bp-filter-title { margin: 0 0 12px !important; font-size: 14px !important; font-weight: 800 !important; letter-spacing: .4px; color: #1d2a24 !important; line-height: 1.3 !important; }
.smp-bp-cat-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.smp-bp-cat-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.smp-bp-cat-list a { display: block; padding: 7px 10px; margin: 0 0 2px; border-radius: 8px; font-size: 14px; color: #374151 !important; text-decoration: none !important; }
.smp-bp-cat-list a:hover { background: #f1f5f3; }
.smp-bp-cat-list a.active { background: #e6f2ec; color: #1f6b46 !important; font-weight: 700; }
.smp-bp-check { display: flex !important; align-items: center; gap: 10px; padding: 7px 2px; margin: 0 !important; font-size: 15px; color: #1f2937; cursor: pointer; }
.smp-bp-check input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: #2c6e49; flex: none; }
.smp-bp-filter-actions { display: flex; gap: 10px; align-items: center; }
.smp-bp-filter-apply { height: 38px; padding: 0 18px; border: 0; border-radius: 8px; background: #2c6e49 !important; color: #fff !important; font-weight: 700; cursor: pointer; }
.smp-bp-filter-clear { font-size: 13px; color: #b3261e !important; text-decoration: underline !important; }
.smp-bp-store-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.smp-bp-store-heading { margin: 0 !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #1d2a24; }
.smp-bp-sort { font-size: 13px; color: #6b7280; }
.smp-bp-sort-select { border: 0; background: transparent; font-size: 13px; color: #374151; cursor: pointer; }
.smp-bp-results { transition: opacity .15s; min-width: 0; }
.smp-bp-results.is-loading { opacity: .45; pointer-events: none; }
.smp-bp-store--sidebar .smp-bp-pagination { margin-top: 24px; }
@media (max-width: 900px) {
	.smp-bp-store--sidebar { grid-template-columns: 1fr; gap: 14px; }
	.smp-bp-filter-toggle { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid #d7dbd9; border-radius: 10px; background: #fff !important; color: #1d2a24 !important; font-weight: 700; cursor: pointer; justify-self: start; }
	.smp-bp-sidebar { display: none; position: static; padding: 14px 16px; border: 1px solid #ececea; border-radius: 12px; background: #fff; }
	.smp-bp-store--sidebar.filters-open .smp-bp-sidebar { display: block; }
}

/* Landing trang cua hang: hook, so sanh, FAQ, CTA */
.smp-bp-landing { margin: 0 0 36px; }
.smp-bp-landing--bottom { margin: 40px 0 0; }
.smp-bp-landing section { margin: 0 0 32px; }
.smp-bp-lp-title { margin: 0 0 16px !important; font-size: 26px !important; font-weight: 800 !important; line-height: 1.35 !important; color: #1d2a24 !important; }
.smp-bp-lp-pain { padding: 26px 28px; background: #eef4f7; border-radius: 16px; }
.smp-bp-lp-questions { list-style: none !important; margin: 0 0 14px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.smp-bp-lp-questions li { margin: 0 !important; padding: 14px 16px !important; background: #fff; border-radius: 12px; font-size: 15px; font-weight: 600; color: #1f2937; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.05); list-style: none !important; }
.smp-bp-lp-questions li::before { content: '❓ '; }
.smp-bp-lp-lead { margin: 0 !important; font-size: 16px; color: #374151; line-height: 1.6; }
.smp-bp-lp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.smp-bp-lp-col { padding: 22px 24px; border-radius: 14px; border: 1px solid #e5e7eb; background: #fff; }
.smp-bp-lp-col h3 { margin: 0 0 12px !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.3 !important; }
.smp-bp-lp-col ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.smp-bp-lp-col li { margin: 0 0 8px !important; padding: 0 0 0 26px !important; position: relative; font-size: 15px; line-height: 1.5; color: #374151; list-style: none !important; }
.smp-bp-lp-col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.smp-bp-lp-col--bad { background: #fdf3f2; border-color: #f3d3d0; }
.smp-bp-lp-col--bad h3 { color: #b3261e !important; }
.smp-bp-lp-col--bad li::before { content: '✕'; color: #b3261e; }
.smp-bp-lp-col--good { background: #eef8f2; border-color: #b9dfc9; }
.smp-bp-lp-col--good h3 { color: #1e7b3c !important; }
.smp-bp-lp-col--good li::before { content: '✓'; color: #1e7b3c; }
.smp-bp-lp-faq-item { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; margin: 0 0 10px; padding: 0 18px; }
.smp-bp-lp-faq-item summary { cursor: pointer; padding: 15px 0; font-size: 16px; font-weight: 700; color: #1f2937; list-style: none; }
.smp-bp-lp-faq-item summary::-webkit-details-marker { display: none; }
.smp-bp-lp-faq-item summary::after { content: '+'; float: right; font-size: 20px; color: #2c6e49; }
.smp-bp-lp-faq-item[open] summary::after { content: '−'; }
.smp-bp-lp-faq-item p { margin: 0 0 16px !important; font-size: 15px; line-height: 1.6; color: #4b5563; }
.smp-bp-lp-cta { text-align: center; padding: 38px 24px; border-radius: 18px; background: linear-gradient(135deg, #1f6b46, #2c6e49); color: #fff; }
.smp-bp-lp-cta h2 { margin: 0 0 10px !important; font-size: 26px !important; font-weight: 800 !important; line-height: 1.35 !important; color: #fff !important; }
.smp-bp-lp-cta p { margin: 0 0 20px !important; font-size: 16px; color: #e6f2ec; }
.smp-bp-lp-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.smp-bp-lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 800; text-decoration: none !important; }
.smp-bp-lp-btn--primary { background: #fff; color: #1f6b46 !important; }
.smp-bp-lp-btn--ghost { border: 2px solid #fff; color: #fff !important; }
@media (max-width: 720px) {
	.smp-bp-lp-title, .smp-bp-lp-cta h2 { font-size: 21px !important; }
	.smp-bp-lp-cols { grid-template-columns: 1fr; }
	.smp-bp-lp-pain { padding: 20px 16px; }
}

/* Landing: hero + cau chuyen */
.smp-bp-lp-hero { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding: 38px 36px; border-radius: 20px; background: linear-gradient(135deg, #e8f3ee 0%, #eef4f7 100%); }
.smp-bp-lp-hero.has-image { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.smp-bp-lp-eyebrow { margin: 0 0 10px !important; font-size: 13px; font-weight: 800; letter-spacing: .8px; color: #2c6e49; }
.smp-bp-lp-hero-title { margin: 0 0 14px !important; font-size: 38px !important; font-weight: 800 !important; line-height: 1.2 !important; color: #14261d !important; }
.smp-bp-lp-hero-text { margin: 0 0 16px !important; font-size: 17px; line-height: 1.6; color: #374151; }
.smp-bp-lp-badges { list-style: none !important; margin: 0 0 22px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.smp-bp-lp-badges li { margin: 0 !important; padding: 7px 14px !important; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: #1f6b46; box-shadow: 0 1px 2px rgba(0,0,0,.06); list-style: none !important; }
.smp-bp-lp-cta-btns--left { justify-content: flex-start; }
.smp-bp-lp-btn--solid { background: #2c6e49; color: #fff !important; box-shadow: 0 6px 16px -6px rgba(44,110,73,.7); }
.smp-bp-lp-btn--outline { border: 2px solid #2c6e49; color: #2c6e49 !important; }
.smp-bp-lp-hero-media img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.35); }
.smp-bp-lp-story { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; padding: 8px 4px; }
.smp-bp-lp-story.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.smp-bp-lp-story-media img { display: block; width: 100%; height: auto; border-radius: 16px; }
.smp-bp-lp-story-body p { margin: 0 0 14px !important; font-size: 17px; line-height: 1.75; color: #374151; }
.smp-bp-lp-quote { margin: 18px 0 0 !important; padding: 14px 18px !important; border-left: 5px solid #d9822b !important; background: #fff7ec; border-radius: 0 12px 12px 0; font-size: 19px; font-weight: 800; line-height: 1.45; color: #7a3f06; font-style: normal; }
@media (max-width: 900px) {
	.smp-bp-lp-hero, .smp-bp-lp-hero.has-image, .smp-bp-lp-story.has-image { grid-template-columns: 1fr; }
	.smp-bp-lp-hero { padding: 26px 20px; }
	.smp-bp-lp-hero-title { font-size: 28px !important; }
}
