/**
 * SOFT4U — Single product redesign (CSS) — bản dọn lặp + chuẩn font-weight
 *
 * Nguyên tắc:
 *   - Mọi class prefix `s4u-product-` / `s4u-cmp-`.
 *   - Rule layout "mạnh" scope dưới `.s4u-product-redesign` (body class).
 *   - KHÔNG đổi màu/format khối giá (#custom-price-display, .price) — chỉ căn khoảng cách.
 *
 * Quy tắc font-weight (KHÔNG dùng 750/800/850/900 nữa):
 *   - tiêu đề lớn / tiêu đề phụ / box title : 700
 *   - button / label                        : 600
 *   - nội dung mô tả                         : 400
 *   - nội dung nhấn nhẹ                      : 500
 *
 * Bảng màu:
 *   --s4u-ink   chữ đậm   |  --s4u-body chữ thường  | --s4u-muted chữ phụ
 *   --s4u-line  viền      |  --s4u-panel nền nhạt
 *   --s4u-green nhấn      |  --s4u-green-d nhấn đậm | --s4u-orange CTA | --s4u-zalo Zalo
 */
:root {
	--s4u-ink: #12201d;
	--s4u-body: #263633;
	--s4u-muted: #64736f;
	--s4u-line: #dfe9e5;
	--s4u-panel: #f3faf6;
	--s4u-green: #16a35a;
	--s4u-green-d: #08713e;
	--s4u-green-xd: #063d2b;
	--s4u-orange: #ff6a13;
	--s4u-orange-d: #e95008;
	--s4u-zalo: #0068ff;

	--s4u-shadow-sm: 0 10px 30px rgba(14, 49, 39, 0.08);
	--s4u-shadow-md: 0 22px 70px rgba(14, 49, 39, 0.13);
	--s4u-radius-lg: 24px;
	--s4u-radius-md: 16px;

	--s4u-product-max: 1340px;
	--s4u-product-hero-gap: 30px;
	--s4u-product-gallery-w: 30%;
	--s4u-product-summary-w: 61%;
	--s4u-product-readable: 1100px;
}

/* ============================================================
 * ICON SVG dùng chung
 * ============================================================ */
.single-product .s4u-product-ico {
	width: 1em;
	height: 1em;
	display: block;
}

/* ============================================================
 * Nút phụ "Tư vấn qua Zalo"
 * ============================================================ */
.single-product .s4u-product-zalo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin: 12px 0 0;
	padding: 13px 18px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	color: var(--s4u-zalo);
	background: #fff;
	border: 1px solid var(--s4u-zalo);
	border-radius: 14px;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(0, 104, 255, 0.08);
	transition: background 0.15s ease, color 0.15s ease;
}
.single-product .s4u-product-zalo:hover {
	background: var(--s4u-zalo);
	color: #fff;
}
.single-product .s4u-product-zalo__ico {
	display: flex;
	font-size: 18px;
}
.single-product .s4u-product-zalo__ico img {
	display: block;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

/* ============================================================
 * Dòng nhấn "Nhận key 30 giây"
 * ============================================================ */
.single-product .s4u-product-keyline {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 6px 0 10px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--s4u-green-d);
	border: 1px solid rgba(22, 163, 90, 0.24);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(22, 163, 90, 0.11), rgba(22, 163, 90, 0.045)),
		#fbfffd;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}
.single-product .s4u-product-keyline__ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #fff;
	color: var(--s4u-green);
	box-shadow: 0 6px 16px rgba(22, 163, 90, 0.12);
}
.single-product .s4u-product-keyline__ico svg {
	width: 16px;
	height: 16px;
}
/* Keyline chiếm trọn 1 dòng phía TRÊN hàng số lượng + nút mua */
.s4u-product-redesign .woocommerce-variation-add-to-cart .s4u-product-keyline,
.s4u-product-redesign form.cart .s4u-product-keyline {
	flex: 1 1 100%;
	order: -1;
}

/* ============================================================
 * Bộ chọn cấu hình (Gói + Số thiết bị) + Số năm — dạng nút
 * ============================================================ */
.single-product .s4u-product-config {
	margin: 16px 0 16px;
	padding: 14px 0 0;
	border-top: 1px solid rgba(18, 32, 29, 0.07);
}
.single-product .s4u-product-config__group + .s4u-product-config__group {
	margin-top: 12px;
}
.single-product .s4u-product-config__label,
.single-product .s4u-product-years__label,
.single-product .s4u-product-qty-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--s4u-muted);
	margin-bottom: 7px;
}
.single-product .s4u-product-config__btns,
.single-product .s4u-product-years__btns {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

/* Nút (gói/thiết bị/năm) — trạng thái thường */
.single-product .s4u-product-config__btn,
.single-product .s4u-product-years__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	margin: 0;
	padding: 9px 15px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	color: #4b5b57;
	background: #fff;
	border: 1px solid #dde8e3;
	border-radius: 999px;
	box-shadow: 0 3px 10px rgba(14, 49, 39, 0.035);
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.single-product a.s4u-product-config__btn:hover,
.single-product .s4u-product-years__btn:hover {
	border-color: rgba(22, 163, 90, 0.46);
	background: #f8fffb;
	color: var(--s4u-ink);
	box-shadow: 0 9px 24px rgba(22, 163, 90, 0.13);
}
/* Active: nổi bật bằng màu (label/btn = 600) */
.single-product .s4u-product-config__btn.is-active,
.single-product .s4u-product-years__btn.is-active {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	border: 0;
	background: linear-gradient(135deg, var(--s4u-green-d) 0%, var(--s4u-green) 100%);
	color: #fff;
	box-shadow: 0 12px 30px rgba(22, 163, 90, 0.24);
	cursor: default;
}
.single-product .s4u-product-config__btn.is-disabled {
	background: #f2f5f3;
	color: #b8c1bd;
	border-style: dashed;
	box-shadow: none;
	cursor: not-allowed;
}
.single-product .s4u-product-config__btn.is-static {
	cursor: default;
	color: #4b5b57;
	background: #fff;
}
@media (max-width: 549px) {
	.single-product .s4u-product-config__btn,
	.single-product .s4u-product-years__btn {
		padding: 9px 14px;
		font-size: 12.5px;
	}
	.single-product .s4u-product-config__btn.is-active,
	.single-product .s4u-product-years__btn.is-active {
		padding: 10px 18px;
		font-size: 13.5px;
	}
}

/* ============================================================
 * Dải bảo hành / cam kết tin cậy (3 cột)
 * ============================================================ */
.single-product .s4u-product-assure {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 16px -4px 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--s4u-line);
}
.single-product .s4u-product-assure__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
	padding: 12px;
	border: 1px solid #e7efeb;
	border-radius: var(--s4u-radius-md);
	background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
}
.single-product .s4u-product-assure__ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 12px;
	background: rgba(22, 163, 90, 0.1);
	color: var(--s4u-green-d);
	font-size: 19px;
}
.single-product .s4u-product-assure__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.single-product .s4u-product-assure__title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
}
.single-product .s4u-product-assure__desc {
	font-size: 12px;
	line-height: 1.45;
	color: var(--s4u-muted);
}
@media (max-width: 849px) {
	.single-product .s4u-product-assure {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-left: 0;
		margin-right: 0;
	}
	.single-product .s4u-product-assure__item {
		align-items: center;
	}
}

/* ============================================================
 * 2 box "Phù hợp với ai?" + "Nhận được gì?"
 * ============================================================ */
.single-product .s4u-product-boxes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	max-width: var(--s4u-product-max);
	margin: 34px auto 46px;
}
.single-product .s4u-product-box {
	position: relative;
	padding: 26px 28px;
	background: #fff;
	border: 1px solid #e8efec;
	border-radius: var(--s4u-radius-lg);
	box-shadow: var(--s4u-shadow-sm);
	overflow: hidden;
}
.single-product .s4u-product-box::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, var(--s4u-green), rgba(22, 163, 90, 0.25));
}
.single-product .s4u-product-box--audience {
	background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
}
.single-product .s4u-product-box__title {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #edf3f0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
}
.single-product .s4u-product-box__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.single-product .s4u-product-box__item {
	position: relative;
	margin: 0 0 11px;
	padding-left: 28px;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--s4u-body);
}
.single-product .s4u-product-box__item:last-child {
	margin-bottom: 0;
}
.single-product .s4u-product-box__item::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
	color: var(--s4u-green);
}
@media (max-width: 749px) {
	.single-product .s4u-product-boxes {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.single-product .s4u-product-box {
		padding: 18px;
	}
	.single-product .s4u-product-box__title {
		font-size: 17px;
	}
}

/* ============================================================
 * Bảng so sánh Microsoft / Office
 * ============================================================ */
.single-product .s4u-product-compare {
	max-width: var(--s4u-product-max);
	margin: 44px auto;
}
.single-product .s4u-product-compare__title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
	text-align: center;
}
.single-product .s4u-product-compare__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #e5ede9;
	border-radius: var(--s4u-radius-lg);
	box-shadow: var(--s4u-shadow-sm);
}
.single-product .s4u-product-compare__table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
	margin: 0;
}
.single-product .s4u-product-compare__table .s4u-cmp-feat {
	width: 28%;
	text-align: left;
	padding: 14px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--s4u-ink);
	background: var(--s4u-panel);
	border-bottom: 1px solid var(--s4u-line);
	vertical-align: middle;
}
.single-product .s4u-product-compare__table thead .s4u-cmp-feat {
	background: #fff;
	border-bottom: 2px solid var(--s4u-line);
}
.single-product .s4u-cmp-srlabel {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--s4u-muted);
}
.single-product .s4u-cmp-col {
	width: 18%;
	padding: 16px 8px 14px;
	text-align: center;
	vertical-align: bottom;
	border-bottom: 2px solid var(--s4u-line);
	border-left: 1px solid var(--s4u-line);
}
.single-product .s4u-cmp-tag {
	display: inline-block;
	margin-bottom: 7px;
	padding: 3px 9px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, var(--s4u-green-d), var(--s4u-green));
	border-radius: 20px;
}
.single-product .s4u-cmp-name {
	display: block;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--s4u-ink);
}
.single-product .s4u-cmp-sub {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--s4u-muted);
}
.single-product .s4u-cmp-cell {
	padding: 13px 8px;
	text-align: center;
	border-bottom: 1px solid var(--s4u-line);
	border-left: 1px solid var(--s4u-line);
	vertical-align: middle;
}
.single-product .s4u-product-compare__table tbody tr:last-child .s4u-cmp-cell,
.single-product .s4u-product-compare__table tbody tr:last-child .s4u-cmp-feat {
	border-bottom: 0;
}
.single-product .s4u-cmp-yes {
	width: 21px;
	height: 21px;
	display: inline-block;
	color: var(--s4u-green);
}
.single-product .s4u-cmp-no {
	display: inline-block;
	font-size: 18px;
	color: #c7d0ce;
	line-height: 1;
}
.single-product .s4u-cmp-text {
	display: inline-block;
	max-width: 100%;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--s4u-body);
}
.single-product .s4u-cmp-col.is-active {
	background: rgba(22, 163, 90, 0.075);
	border-bottom-color: var(--s4u-green);
}
.single-product .s4u-cmp-cell.is-active {
	background: rgba(22, 163, 90, 0.075);
}
.single-product .s4u-cmp-col.is-active .s4u-cmp-name {
	color: var(--s4u-green-d);
}
.single-product .s4u-product-compare__note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--s4u-muted);
	text-align: center;
}
@media (max-width: 749px) {
	.single-product .s4u-product-compare {
		margin: 24px auto;
	}
	.single-product .s4u-product-compare__title {
		font-size: 20px;
	}
	.single-product .s4u-product-compare__table .s4u-cmp-feat {
		font-size: 13px;
		padding: 12px 14px;
	}
}

/* ============================================================
 * FAQ (details/summary)  — theo spec đã chốt
 *   title   : 18px / 700
 *   question: 15px / 600  (premium hơn 700)
 *   answer  : 15px / 400
 * ============================================================ */
.single-product .s4u-product-faq {
	max-width: var(--s4u-product-max);
	margin: 44px auto;
}
.single-product .s4u-product-faq__title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
}
.single-product .s4u-product-faq__list {
	display: block;
}
.single-product .s4u-product-faq__item {
	margin: 0 0 10px;
	background: #fff;
	border: 1px solid #e8efec;
	border-radius: var(--s4u-radius-md);
	box-shadow: 0 8px 24px rgba(14, 49, 39, 0.045);
	overflow: hidden;
}
.single-product .s4u-product-faq__item:last-child {
	margin-bottom: 0;
}
.single-product .s4u-product-faq__question {
	position: relative;
	padding: 17px 48px 17px 20px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: #1f2a29;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
.single-product .s4u-product-faq__question::-webkit-details-marker {
	display: none;
}
.single-product .s4u-product-faq__question::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--s4u-green);
}
.single-product .s4u-product-faq__item[open] .s4u-product-faq__question::after {
	content: "\2212";
}
.single-product .s4u-product-faq__item[open] .s4u-product-faq__question {
	border-bottom: 1px solid #eef2f1;
}
.single-product .s4u-product-faq__answer {
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	color: #33403e;
}
@media (max-width: 749px) {
	.single-product .s4u-product-faq {
		margin: 24px auto;
	}
	.single-product .s4u-product-faq__question {
		padding: 14px 44px 14px 16px;
		font-size: 14.5px;
	}
	.single-product .s4u-product-faq__answer {
		padding: 12px 16px;
		font-size: 14px;
	}
}

/* ============================================================
 * HERO LAYOUT (scope dưới .s4u-product-redesign)
 * ============================================================ */
.s4u-product-redesign .product-main {
	position: relative;
	margin-bottom: 0;
	padding: 28px 0 42px;
	overflow: hidden;
	background:
		radial-gradient(circle at 17% 10%, rgba(22, 163, 90, 0.16) 0, rgba(22, 163, 90, 0) 32%),
		radial-gradient(circle at 82% 12%, rgba(255, 106, 19, 0.12) 0, rgba(255, 106, 19, 0) 30%),
		linear-gradient(180deg, #f7fbf9 0%, #ffffff 78%);
}
.s4u-product-redesign .product-main::before {
	content: "";
	position: absolute;
	inset: auto -12% 0 -12%;
	height: 120px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 65%);
	pointer-events: none;
}
.s4u-product-redesign #product-sidebar {
	display: none !important;
}
.s4u-product-redesign .product-main .content-row {
	position: relative;
	z-index: 1;
}

/* Cột trái tự code (ảnh tĩnh + Vì sao mua) */
.s4u-product-redesign .s4u-product-left {
	display: block;
}

/* Ảnh sản phẩm */
.s4u-product-redesign .s4u-product-image {
	position: relative;
	isolation: isolate;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: var(--s4u-radius-lg);
	background:
		radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
		linear-gradient(145deg, #eaf7ef 0%, #f8fffb 45%, #dff2e8 100%);
	box-shadow: var(--s4u-shadow-md);
	overflow: hidden;
}
.s4u-product-redesign .s4u-product-image::before,
.s4u-product-redesign .s4u-product-image::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(2px);
	pointer-events: none;
	z-index: -1;
}
.s4u-product-redesign .s4u-product-image::before {
	width: 190px;
	height: 190px;
	right: -54px;
	top: -50px;
	background: rgba(22, 163, 90, 0.18);
}
.s4u-product-redesign .s4u-product-image::after {
	width: 160px;
	height: 160px;
	left: -58px;
	bottom: -62px;
	background: rgba(255, 106, 19, 0.13);
}
.s4u-product-redesign .s4u-product-image__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: transparent;
	border-radius: 18px;
	transform: translateY(-1px);
	filter: drop-shadow(0 18px 26px rgba(18, 32, 29, 0.14));
}
.s4u-product-redesign .s4u-product-image__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	padding: 6px 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
	box-shadow: 0 10px 26px rgba(239, 68, 68, 0.22);
}
.s4u-product-redesign .s4u-product-image__info {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 14px;
	padding: 12px 14px;
	border: 1px solid rgba(24, 165, 88, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 10px 26px rgba(20, 40, 60, 0.07);
}
.s4u-product-redesign .s4u-product-image__info-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--s4u-ink);
}
.s4u-product-redesign .s4u-product-image__info-desc {
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--s4u-muted);
}

/* Card mua hàng */
.s4u-product-redesign .s4u-product-summary-card {
	position: relative;
	padding: 30px 34px 28px;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: var(--s4u-radius-lg);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--s4u-shadow-md);
	backdrop-filter: saturate(1.1) blur(10px);
	overflow: hidden;
}
.s4u-product-redesign .s4u-product-summary-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, var(--s4u-green) 0%, #69d38b 38%, var(--s4u-orange) 100%);
}

/* Tên sản phẩm */
.s4u-product-redesign .product-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 2.25vw, 34px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.16;
	color: var(--s4u-ink);
}

/* Khối giá: chỉ căn khoảng cách */
.s4u-product-redesign .s4u-product-summary-card .price,
.s4u-product-redesign #custom-price-display {
	margin-bottom: 14px;
}

/* Chip niềm tin ngay dưới title */
.single-product .s4u-product-hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
}
.single-product .s4u-product-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid rgba(22, 163, 90, 0.16);
	border-radius: 999px;
	background: rgba(22, 163, 90, 0.07);
	color: var(--s4u-green-d);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1;
}
.single-product .s4u-product-hero-badge__ico {
	display: inline-flex;
	font-size: 14px;
}
.single-product .s4u-product-hero-badge__ico svg {
	width: 14px;
	height: 14px;
}

/* Mô tả ngắn */
.s4u-product-redesign .product-short-description {
	margin: 12px 0 16px;
	font-size: 16.5px;
	line-height: 1.72;
	font-weight: 400;
	color: #31423e;
}
.s4u-product-redesign .product-short-description p:last-child {
	margin-bottom: 0;
}

/* Nền tảng tương thích */
.s4u-product-redesign .s4u-product-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0 0 18px;
	border-bottom: 1px solid rgba(18, 32, 29, 0.08);
}
.s4u-product-redesign .s4u-product-platform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid #e4ece8;
	border-radius: 999px;
	background: #fbfefd;
	font-size: 12.5px;
	font-weight: 500;
	color: #445652;
}
.s4u-product-redesign .s4u-product-platform svg {
	flex: 0 0 auto;
	color: var(--s4u-ink);
	opacity: 0.7;
}

/* Bảng biến thể */
.s4u-product-redesign form.variations_form .variations {
	margin-bottom: 14px;
}
.s4u-product-redesign form.variations_form .variations th,
.s4u-product-redesign form.variations_form .variations td {
	padding: 6px 0;
}
.s4u-product-redesign form.variations_form .variations label {
	font-weight: 600;
	color: var(--s4u-ink);
}

/* Ẩn giá lặp lần 2 */
.s4u-product-redesign .single-product-content .woocommerce-variation-price,
.s4u-product-redesign form.variations_form .woocommerce-variation-price {
	display: none !important;
}

/* Bộ chọn cấu hình trong card */
.s4u-product-redesign .s4u-product-summary-card .s4u-product-config {
	margin: 16px 0 16px;
}

/* Meta (SKU/category) */
.s4u-product-redesign .s4u-product-summary-card .product_meta {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid #eef2f1;
	font-size: 13px;
	color: var(--s4u-muted);
}

/* ============================================================
 * Hàng số lượng + nút MUA NGAY (1 dòng)
 * ============================================================ */
.s4u-product-redesign .woocommerce-variation-add-to-cart,
.s4u-product-redesign form.cart:not(.variations_form),
.s4u-product-redesign .single_variation_wrap .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.s4u-product-redesign .s4u-product-qty-label {
	flex: 0 0 auto;
	margin: 0;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	color: var(--s4u-muted);
}
.s4u-product-redesign .quantity,
.s4u-product-redesign .woocommerce-variation-add-to-cart .ux-quantity.quantity {
	flex: 0 0 auto;
	margin: 0;
}
.s4u-product-redesign .ux-quantity.quantity,
.s4u-product-redesign .ux-quantity .ux-quantity__button,
.s4u-product-redesign .quantity .qty,
.single-product .quantity input.qty {
	height: 56px;
}
.s4u-product-redesign .ux-quantity .ux-quantity__button,
.s4u-product-redesign .quantity .qty {
	border-radius: 14px;
}

/* Nút MUA NGAY */
.s4u-product-redesign .single_add_to_cart_button.button {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 56px;
	margin: 0;
	padding: 14px 20px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	border: 0;
	border-radius: 14px;
	color: #fff;
	background: linear-gradient(135deg, #ff7a1a 0%, var(--s4u-orange-d) 100%);
	box-shadow: 0 16px 34px rgba(255, 106, 19, 0.32);
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}
.s4u-product-redesign .single_add_to_cart_button.button:hover {
	filter: brightness(1.04) saturate(1.05);
	box-shadow: 0 20px 46px rgba(255, 106, 19, 0.4);
	transform: translateY(-1px);
}
.s4u-product-redesign .single_add_to_cart_button.button:active {
	transform: translateY(1px);
}

/* ============================================================
 * Khối "Khi mua tại SOFT4U?" (dưới ảnh, cột trái) — theo spec đã chốt
 * ============================================================ */
.single-product .s4u-product-why {
	margin-top: 14px;
	padding: 14px;
	border: 1px solid rgba(24, 165, 88, 0.16);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 249, 0.98)),
		linear-gradient(135deg, rgba(24, 165, 88, 0.10), rgba(0, 104, 255, 0.05));
	box-shadow: 0 14px 38px rgba(20, 40, 60, 0.07);
}
.single-product .s4u-product-why__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(24, 165, 88, 0.13);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--s4u-ink);
}
.single-product .s4u-product-why__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.single-product .s4u-product-why__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(15, 122, 64, 0.08);
}
.single-product .s4u-product-why__item:first-child {
	padding-top: 0;
}
.single-product .s4u-product-why__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.single-product .s4u-product-why__ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid rgba(24, 165, 88, 0.13);
	color: var(--s4u-green-d);
	box-shadow: 0 4px 12px rgba(20, 40, 60, 0.06);
	font-size: 16px;
}
.single-product .s4u-product-why__text {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 400;
	color: var(--s4u-body);
}
.single-product .s4u-product-why__text strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
	color: #1f2a29;
	margin-bottom: 2px;
}

/* ============================================================
 * "Số năm mua" — ẩn select gốc (giữ trong luồng render)
 * ============================================================ */
.single-product form.variations_form .s4u-year-row-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.single-product .s4u-product-years {
	margin: 0 0 14px;
}
/* Đè style .button mặc định của Flatsome cho nút năm */
.s4u-product-redesign .s4u-product-years__btns .s4u-product-years__btn {
	min-height: 36px;
	line-height: 1.2 !important;
	text-transform: none !important;
}

/* ============================================================
 * Label cùng dòng với cụm nút (Gói / Số thiết bị / Số năm)
 * ============================================================ */
.s4u-product-redesign .s4u-product-config__group,
.s4u-product-redesign .s4u-product-years {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.s4u-product-redesign .s4u-product-config__group + .s4u-product-config__group,
.s4u-product-redesign .s4u-product-years {
	margin-top: 12px;
}
.s4u-product-redesign .s4u-product-config__label,
.s4u-product-redesign .s4u-product-years__label {
	flex: 0 0 92px;
	margin-bottom: 0;
}
.s4u-product-redesign .s4u-product-config__btns,
.s4u-product-redesign .s4u-product-years__btns {
	flex: 1 1 auto;
}
.s4u-product-redesign .s4u-product-qty-label {
	flex: 0 0 92px;
	margin: 0;
}

/* ============================================================
 * Phần nội dung dưới (tabs mô tả dài)
 * ============================================================ */
.s4u-product-redesign .product-footer {
	margin-top: 26px;
}
.s4u-product-redesign .woocommerce-tabs {
	margin-top: 8px;
	padding: 0;
	border-radius: var(--s4u-radius-lg);
	max-width: var(--s4u-product-readable);
	margin-left: auto;
	margin-right: auto;
}
.s4u-product-redesign .woocommerce-tabs .nav,
.s4u-product-redesign .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid #e8efec;
}
.s4u-product-redesign .woocommerce-tabs .panel,
.s4u-product-redesign .woocommerce-Tabs-panel {
	padding: 30px 34px;
	border: 1px solid #e8efec;
	border-radius: 0 0 var(--s4u-radius-lg) var(--s4u-radius-lg);
	background: #fff;
	box-shadow: var(--s4u-shadow-sm);
	font-size: 16px;
	line-height: 1.75;
	color: var(--s4u-body);
}
.s4u-product-redesign .woocommerce-tabs .panel p,
.s4u-product-redesign .woocommerce-tabs .panel li,
.s4u-product-redesign .woocommerce-Tabs-panel p,
.s4u-product-redesign .woocommerce-Tabs-panel li {
	font-size: 16px;
	line-height: 1.75;
	font-weight: 400;
	color: var(--s4u-body);
}
.s4u-product-redesign .woocommerce-tabs .panel p,
.s4u-product-redesign .woocommerce-Tabs-panel p {
	margin: 0 0 16px;
}
.s4u-product-redesign .woocommerce-tabs .panel ul,
.s4u-product-redesign .woocommerce-Tabs-panel ul {
	margin: 0 0 20px;
	padding-left: 22px;
}
.s4u-product-redesign .woocommerce-tabs .panel li,
.s4u-product-redesign .woocommerce-Tabs-panel li {
	margin: 0 0 8px;
}
.s4u-product-redesign .woocommerce-tabs .panel h2,
.s4u-product-redesign .woocommerce-Tabs-panel h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.35;
	color: var(--s4u-ink);
	margin: 28px 0 12px;
}
.s4u-product-redesign .woocommerce-tabs .panel h3,
.s4u-product-redesign .woocommerce-Tabs-panel h3 {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.4;
	color: var(--s4u-ink);
	margin: 22px 0 10px;
}
.s4u-product-redesign .woocommerce-tabs .panel h4,
.s4u-product-redesign .woocommerce-Tabs-panel h4 {
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--s4u-ink);
	margin: 16px 0 8px;
}

/* ============================================================
 * RESPONSIVE — layout 2 cột / mobile stack
 * ============================================================ */
/* Mobile: đưa khối "Vì sao mua" XUỐNG DƯỚI card mua hàng */
@media (max-width: 849px) {
	.s4u-product-redesign .product-main {
		padding: 18px 0 28px;
	}
	.s4u-product-redesign .product-main .product-gallery,
	.s4u-product-redesign .s4u-product-left {
		display: contents;
	}
	.s4u-product-redesign .s4u-product-image {
		order: 1;
		width: 100%;
		margin-bottom: 16px;
		padding: 18px;
		border-radius: 22px;
	}
	.s4u-product-redesign .s4u-product-image__img {
		aspect-ratio: 16 / 11;
	}
	.s4u-product-redesign .product-main .product-info.summary {
		order: 2;
		width: 100%;
	}
	.s4u-product-redesign .s4u-product-why {
		order: 3;
		width: 100%;
		margin-top: 16px;
	}
	.s4u-product-redesign .s4u-product-summary-card {
		padding: 24px 18px 20px;
		border-radius: 22px;
	}
	.s4u-product-redesign .product-title {
		font-size: 25px;
	}
	.s4u-product-redesign .woocommerce-tabs .panel,
	.s4u-product-redesign .woocommerce-Tabs-panel {
		padding: 22px 18px;
	}
}
@media (max-width: 549px) {
	.s4u-product-redesign .product-main .product-gallery,
	.s4u-product-redesign .product-main .product-info.summary {
		padding-left: 10px;
		padding-right: 10px;
	}
	.single-product .s4u-product-hero-badges {
		gap: 6px;
	}
	.single-product .s4u-product-hero-badge {
		font-size: 12px;
		padding: 7px 9px;
	}
	.s4u-product-redesign .s4u-product-config__group,
	.s4u-product-redesign .s4u-product-years {
		align-items: flex-start;
		gap: 8px;
	}
	.s4u-product-redesign .s4u-product-config__label,
	.s4u-product-redesign .s4u-product-years__label,
	.s4u-product-redesign .s4u-product-qty-label {
		flex: 1 1 100%;
	}
	.s4u-product-redesign .woocommerce-variation-add-to-cart .single_add_to_cart_button.button {
		flex-basis: calc(100% - 86px);
	}
}

/* ============================================================
 * FINAL OVERRIDE — container width / tỉ lệ cột hero
 * (đặt cuối để thắng rule cũ của Flatsome)
 * ============================================================ */
.s4u-product-redesign .product-main .content-row,
.s4u-product-redesign .row.content-row,
.single-product.s4u-product-redesign .row.content-row {
	width: calc(100% - 32px) !important;
	max-width: var(--s4u-product-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
@media (min-width: 850px) {
	.s4u-product-redesign .product-main .content-row,
	.single-product.s4u-product-redesign .product-main .content-row {
		display: flex !important;
		align-items: flex-start !important;
		justify-content: center !important;
		gap: var(--s4u-product-hero-gap) !important;
	}
	.s4u-product-redesign .product-main .product-gallery,
	.s4u-product-redesign .product-main .product-gallery.large-3,
	.s4u-product-redesign .product-main .product-gallery.col {
		flex: 0 0 var(--s4u-product-gallery-w) !important;
		max-width: var(--s4u-product-gallery-w) !important;
		width: var(--s4u-product-gallery-w) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-bottom: 0 !important;
	}
	.s4u-product-redesign .product-main .product-info.summary,
	.s4u-product-redesign .product-main .product-info.summary.large-9,
	.s4u-product-redesign .product-main .product-info.summary.col {
		flex: 0 0 var(--s4u-product-summary-w) !important;
		max-width: var(--s4u-product-summary-w) !important;
		width: var(--s4u-product-summary-w) !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		padding-bottom: 0 !important;
	}
	.s4u-product-redesign .s4u-product-left {
		position: sticky;
		top: 92px;
	}
	.s4u-product-redesign .s4u-product-image {
		padding: 20px !important;
		border-radius: 20px !important;
	}
	.s4u-product-redesign .s4u-product-image__img {
		max-height: 270px !important;
		object-fit: contain !important;
	}
}
@media (min-width: 850px) and (max-width: 1199px) {
	:root {
		--s4u-product-max: 1180px;
		--s4u-product-hero-gap: 24px;
		--s4u-product-gallery-w: 32%;
		--s4u-product-summary-w: 62%;
	}
}
@media (max-width: 849px) {
	.s4u-product-redesign .product-main .content-row,
	.s4u-product-redesign .row.content-row,
	.single-product.s4u-product-redesign .row.content-row {
		width: calc(100% - 24px) !important;
		max-width: 100% !important;
	}
	.s4u-product-redesign .product-main .product-gallery,
	.s4u-product-redesign .product-main .product-info.summary {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
}

/* Các khối bên dưới theo container rộng; mô tả dài giữ dễ đọc */
.s4u-product-redesign .s4u-product-boxes,
.s4u-product-redesign .s4u-product-compare,
.s4u-product-redesign .s4u-product-faq,
.single-product .s4u-product-boxes,
.single-product .s4u-product-compare,
.single-product .s4u-product-faq {
	width: calc(100% - 32px) !important;
	max-width: var(--s4u-product-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.s4u-product-redesign .woocommerce-tabs,
.single-product.s4u-product-redesign .woocommerce-tabs {
	width: calc(100% - 32px) !important;
	max-width: var(--s4u-product-readable) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
@media (max-width: 849px) {
	.single-product .s4u-product-boxes {
		margin: 24px 10px 30px !important;
	}
	.single-product .s4u-product-compare,
	.single-product .s4u-product-faq,
	.s4u-product-redesign .woocommerce-tabs {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
}

/* Card mua hàng nổi hơn sau khi tăng width */
.s4u-product-redesign .s4u-product-summary-card {
	border-radius: 22px !important;
	box-shadow: 0 20px 56px rgba(20, 40, 60, 0.11) !important;
}
@media (min-width: 1200px) {
	.s4u-product-redesign .s4u-product-summary-card {
		padding: 28px 30px !important;
	}
}
.s4u-product-redesign .single_add_to_cart_button.button {
	min-height: 52px !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 24px rgba(255, 106, 19, 0.30) !important;
}
.s4u-product-redesign .single_add_to_cart_button.button:hover {
	box-shadow: 0 14px 34px rgba(255, 106, 19, 0.40) !important;
}
.single-product .s4u-product-box {
	border-radius: 20px !important;
	box-shadow: 0 14px 34px rgba(20, 40, 60, 0.06) !important;
}
.single-product .s4u-product-compare__scroll {
	border-radius: 20px !important;
	box-shadow: 0 14px 34px rgba(20, 40, 60, 0.06) !important;
}
