/* 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-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(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.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%; height: 340px; object-fit: cover; 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%; 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; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.smp-bp-gallery-thumb {
	width: 64px; height: 64px; object-fit: cover; border-radius: 8px; 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);
}
.smp-bp-gallery-thumb:hover { opacity: 1; }
.smp-bp-gallery-thumb.active { border-color: #2c6e49; 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; }

/* 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; }
}
