/**
 * SOFT4U C1 — Single product redesign (CSS)
 *
 * 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 rò rỉ sang trang khác.
 *   - KHÔNG đổi màu/format khối giá (#custom-price-display, .price) —
 *     chỉ căn khoảng cách.
 *
 * Bảng màu (tông tin cậy, cao cấp):
 *   --s4u-ink     #1f2a29  chữ đậm
 *   --s4u-body    #3a4544  chữ thường
 *   --s4u-muted   #6b7775  chữ phụ
 *   --s4u-line    #e7edec  viền
 *   --s4u-panel   #f6faf9  nền nhạt
 *   --s4u-green   #18a558  nhấn (tick/uy tín)
 *   --s4u-green-d #0f7a40  nhấn đậm
 *   --s4u-orange  #ff6a13  CTA mua
 *   --s4u-zalo    #0068ff  Zalo
 */

:root {
	--s4u-ink: #1f2a29;
	--s4u-body: #3a4544;
	--s4u-muted: #6b7775;
	--s4u-line: #e7edec;
	--s4u-panel: #f6faf9;
	--s4u-green: #18a558;
	--s4u-green-d: #0f7a40;
	--s4u-orange: #ff6a13;
	--s4u-zalo: #0068ff;
}

/* ============================================================
 * ICON SVG dùng chung
 * ============================================================ */
.single-product .s4u-product-ico {
	width: 1em;
	height: 1em;
	display: block;
}


/* ============================================================
 * BƯỚC 10 — Nút phụ "Tư vấn qua Zalo" (outline, dưới nút mua)
 * ============================================================ */
.single-product .s4u-product-zalo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin: 10px 0 0;
	padding: 11px 18px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
	color: var(--s4u-zalo);
	background: #fff;
	border: 1.5px solid var(--s4u-zalo);
	border-radius: 10px;
	text-decoration: none;
	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;
}

/* ============================================================
 * BƯỚC 12 — Bộ chọn cấu hình (Gói + Số thiết bị) dạng nút
 * ============================================================ */
.single-product .s4u-product-config {
	margin: 0 0 14px;
}

.single-product .s4u-product-config__group + .s4u-product-config__group {
	margin-top: 12px;
}

.single-product .s4u-product-config__label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--s4u-muted);
	margin-bottom: 7px;
}

.single-product .s4u-product-config__btns {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.single-product .s4u-product-config__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 14px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--s4u-muted);
	background: #fafbfb;
	border: 1px solid #e3e7e6;
	border-radius: 8px;
	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 {
	border-color: var(--s4u-green);
	background: #fff;
	color: var(--s4u-ink);
	box-shadow: 0 4px 12px rgba(24, 165, 88, 0.12);
}

/* Active: to hơn cả 2 chiều (padding lớn + chữ to), nổi bật bằng màu */
.single-product .s4u-product-config__btn.is-active {
	padding: 11px 22px;
	font-size: 14.5px;
	font-weight: 700;
	border: 2px solid var(--s4u-green);
	background: rgba(24, 165, 88, 0.07);
	color: var(--s4u-green-d);
	cursor: default;
}

.single-product .s4u-product-config__btn.is-disabled {
	color: #c2c8c6;
	background: #f6f7f6;
	border-style: dashed;
	cursor: not-allowed;
}

@media (max-width: 549px) {
	.single-product .s4u-product-config__btn {
		padding: 7px 12px;
		font-size: 12px;
	}
	.single-product .s4u-product-config__btn.is-active {
		padding: 10px 18px;
		font-size: 13.5px;
	}
}


/* ============================================================
 * BƯỚC 9 — Dải bảo hành / cam kết tin cậy (3 cột mạnh)
 * ============================================================ */
.single-product .s4u-product-assure {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 16px 0 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;
}

.single-product .s4u-product-assure__ico {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(24, 165, 88, 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: 13.5px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
}

.single-product .s4u-product-assure__desc {
	font-size: 12px;
	line-height: 1.4;
	color: var(--s4u-muted);
}

@media (max-width: 549px) {
	.single-product .s4u-product-assure {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.single-product .s4u-product-assure__item {
		align-items: center;
	}
}

/* ============================================================
 * BƯỚC 3 — 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: 20px;
	margin: 30px 0;
}

.single-product .s4u-product-box {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--s4u-line);
	border-radius: 12px;
}

.single-product .s4u-product-box--audience {
	background: var(--s4u-panel);
}

.single-product .s4u-product-box__title {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eef2f1;
	font-size: 18px;
	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: 14.5px;
	line-height: 1.5;
	color: var(--s4u-body);
}

.single-product .s4u-product-box__item:last-child {
	margin-bottom: 0;
}

.single-product .s4u-product-box__item::before {
	content: "✓";
	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;
		margin: 24px 0;
	}
	.single-product .s4u-product-box {
		padding: 18px;
	}
	.single-product .s4u-product-box__title {
		font-size: 16.5px;
	}
}

/* ============================================================
 * BƯỚC 11 — Bảng so sánh Kaspersky (HTML)
 * ============================================================ */
.single-product .s4u-product-compare {
	margin: 30px 0;
}

.single-product .s4u-product-compare__title {
	margin: 0 0 16px;
	font-size: 20px;
	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 var(--s4u-line);
	border-radius: 14px;
}

.single-product .s4u-product-compare__table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	table-layout: fixed;
	background: #fff;
	margin: 0;
}

/* Cột tính năng rộng hơn */
.single-product .s4u-product-compare__table .s4u-cmp-feat {
	width: 34%;
	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;
}

/* Header tên gói */
.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: 22%;
	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: 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);
}

/* Ô dấu tick / gạch */
.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;
}

/* Cột đang xem được highlight nhẹ (tông xanh uy tín) */
.single-product .s4u-cmp-col.is-active {
	background: rgba(24, 165, 88, 0.06);
	border-bottom-color: var(--s4u-green);
}

.single-product .s4u-cmp-cell.is-active {
	background: rgba(24, 165, 88, 0.04);
}

.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 0;
	}
	.single-product .s4u-product-compare__title {
		font-size: 18px;
	}
	.single-product .s4u-product-compare__table .s4u-cmp-feat {
		font-size: 13px;
		padding: 12px 14px;
	}
}

/* ============================================================
 * BƯỚC 4b — FAQ (details/summary)
 * ============================================================ */
.single-product .s4u-product-faq {
	margin: 30px 0;
}

.single-product .s4u-product-faq__title {
	margin: 0 0 16px;
	font-size: 20px;
	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 var(--s4u-line);
	border-radius: 10px;
	overflow: hidden;
}

.single-product .s4u-product-faq__item:last-child {
	margin-bottom: 0;
}

.single-product .s4u-product-faq__question {
	position: relative;
	padding: 14px 44px 14px 18px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--s4u-ink);
	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: "−";
}

.single-product .s4u-product-faq__item[open] .s4u-product-faq__question {
	border-bottom: 1px solid #eef2f1;
}

.single-product .s4u-product-faq__answer {
	padding: 14px 18px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--s4u-body);
}

@media (max-width: 749px) {
	.single-product .s4u-product-faq {
		margin: 24px 0;
	}
	.single-product .s4u-product-faq__title {
		font-size: 18px;
	}
	.single-product .s4u-product-faq__question {
		padding: 12px 40px 12px 14px;
		font-size: 14.5px;
	}
	.single-product .s4u-product-faq__answer {
		padding: 12px 14px;
		font-size: 13.5px;
	}
}

/* ============================================================
 * BƯỚC 4 — REDESIGN LAYOUT (scope dưới .s4u-product-redesign)
 * ============================================================ */
.s4u-product-redesign .product-main {
	margin-bottom: 10px;
}

/* Ẩn sidebar phải */
.s4u-product-redesign #product-sidebar {
	display: none !important;
}

/* Desktop: 2 cột căn giữa (gallery ~30% / mua hàng ~52%) */
@media (min-width: 850px) {
	.s4u-product-redesign .product-main .content-row {
		align-items: flex-start;
		justify-content: center;
	}
	.s4u-product-redesign .product-main .product-gallery {
		flex: 0 0 30%;
		max-width: 30%;
		padding-bottom: 0;
	}
	.s4u-product-redesign .product-main .product-info.summary {
		flex: 0 0 52%;
		max-width: 52%;
		padding-bottom: 0;
	}
}

/* Cột trái tự code (ảnh tĩnh + Vì sao mua) */
.s4u-product-redesign .s4u-product-left {
	display: block;
}

/* Khung ảnh chữ nhật (16:9), ảnh contain, nền sáng nhẹ */
.s4u-product-redesign .s4u-product-image {
	position: relative;
	padding: 12px;
	background: #fff;
	border: 1px solid #eef2f1;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(20, 40, 60, 0.05);
}

.s4u-product-redesign .s4u-product-image__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	height: auto;
	object-fit: contain;
	background: linear-gradient(135deg, #eef6f1 0%, #e3efe7 100%);
	border-radius: 9px;
}

.s4u-product-redesign .s4u-product-image__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	background: #e24b4a;
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 7px;
}

/* Card mua hàng (summary) */
.s4u-product-redesign .s4u-product-summary-card {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid #eef2f1;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(20, 40, 60, 0.06);
}

/* Tên sản phẩm */
.s4u-product-redesign .product-title {
	margin: 0 0 12px;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--s4u-ink);
}

/* Khối giá: chỉ căn khoảng cách, KHÔNG đổi style nội bộ */
.s4u-product-redesign .s4u-product-summary-card .price,
.s4u-product-redesign #custom-price-display {
	margin-bottom: 14px;
}

/* Mô tả ngắn — HIỆN: dùng làm đoạn giới thiệu siêu ngắn (1-2 câu)
 * ngay dưới giá, trên các nút chọn. Style gọn, dễ đọc. Nhập nội
 * dung trong ô "Mô tả ngắn" của từng sản phẩm. */
.s4u-product-redesign .product-short-description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--s4u-body);
	margin: 0 0 12px;
}

.s4u-product-redesign .product-short-description p:last-child {
	margin-bottom: 0;
}

/* Dòng nền tảng tương thích (Windows/macOS/Android/iOS) */
.s4u-product-redesign .s4u-product-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--s4u-line);
}

.s4u-product-redesign .s4u-product-platform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--s4u-muted);
}

.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 (WooCommerce variation price trong form) =====
 * Giá đã hiển thị 1 lần ở đầu card (.price.product-page-price).
 * .woocommerce-variation-price lặp lại y hệt sau khi chọn biến thể
 * => ẩn để cột phải gọn. KHÔNG ẩn .price đầu card.
 */
.s4u-product-redesign .single-product-content .woocommerce-variation-price,
.s4u-product-redesign form.variations_form .woocommerce-variation-price {
	display: none !important;
}

/* ===== Gộp số lượng + nút mua vào CÙNG MỘT HÀNG =====
 * Lưu ý cấu trúc Flatsome: số lượng (.quantity) và nút mua
 * (.single_add_to_cart_button) nằm trong .woocommerce-variation-add-to-cart
 * (với SP biến thể), KHÔNG nằm trực tiếp trong form.cart.
 * Vì vậy đặt flex lên container đó. Cũng phủ trường hợp SP đơn
 * (nút nằm thẳng trong form.cart).
 */
.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: 10px;
	flex-wrap: wrap;
}

/* Nhãn "Số lượng": chiếm trọn 1 dòng phía trên cụm số lượng + nút */
.s4u-product-redesign .s4u-product-qty-label {
	flex: 1 1 100%;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--s4u-muted);
	margin: 0 0 -2px;
}

/* Số lượng: gọn bên trái, không chiếm hết hàng */
.s4u-product-redesign .quantity {
	flex: 0 0 auto;
	margin: 0;
}

/* Flatsome ux-quantity: căn cao 50px khớp với nút mua */
.s4u-product-redesign .ux-quantity.quantity {
	height: 50px;
}

.s4u-product-redesign .ux-quantity .ux-quantity__button,
.s4u-product-redesign .quantity .qty {
	height: 50px;
	border-radius: 10px;
}

/* Nút MUA NGAY: chiếm phần còn lại của hàng */
.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: 50px;
	margin: 0;
	padding: 14px 20px;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(180deg, #ff8a2b 0%, #ff6a13 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(255, 106, 19, 0.24);
	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);
	box-shadow: 0 10px 26px rgba(255, 106, 19, 0.34);
}

.s4u-product-redesign .single_add_to_cart_button.button:active {
	transform: translateY(1px);
}

/* Bộ chọn cấu hình trong card — sau mô tả ngắn, trước nút năm */
.s4u-product-redesign .s4u-product-summary-card .s4u-product-config {
	margin: 14px 0 14px;
}

/* 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);
}

/* Phần nội dung dưới */
.s4u-product-redesign .product-footer {
	margin-top: 26px;
}

.s4u-product-redesign .woocommerce-tabs {
	margin-top: 8px;
}

.s4u-product-redesign .woocommerce-tabs .panel,
.s4u-product-redesign .woocommerce-Tabs-panel {
	font-size: 15px;
	line-height: 1.75;
	color: var(--s4u-body);
}

/* Mobile/tablet */
@media (max-width: 849px) {
	/* Trên mobile: đưa khối "Vì sao mua" XUỐNG DƯỚI card mua hàng.
	 * Kỹ thuật: cho cột gallery + .s4u-product-left dùng display:contents
	 * => ảnh và khối "Vì sao mua" trở thành flex item trực tiếp của hàng,
	 * ngang hàng với card mua hàng. Sau đó sắp thứ tự bằng order:
	 *   1) ảnh  →  2) card mua hàng  →  3) Vì sao mua. */
	.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;
	}
	.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-image {
		padding: 12px;
		border-radius: 14px;
	}
	.s4u-product-redesign .s4u-product-summary-card {
		padding: 18px 16px;
		border-radius: 14px;
	}
	.s4u-product-redesign .product-title {
		font-size: 21px;
	}
	.s4u-product-redesign .single_add_to_cart_button.button {
		padding: 15px 20px;
		font-size: 16px;
	}
}

@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;
	}
}

/* ============================================================
 * BƯỚC 13 — Khối "Vì sao mua tại SOFT4U?" (dưới ảnh, cột trái)
 * ============================================================ */
.single-product .s4u-product-why {
	margin-top: 12px;
	padding: 18px 20px;
	background: linear-gradient(160deg, #f3faf6 0%, #eef6f1 100%);
	border: 1px solid #dceae3;
	border-radius: 14px;
}

.single-product .s4u-product-why__title {
	font-size: 14px;
	font-weight: 700;
	color: var(--s4u-green-d);
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #dceae3;
	letter-spacing: 0.2px;
}

.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: 12px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(15, 122, 64, 0.1);
}

.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: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid #dceae3;
	color: var(--s4u-green-d);
	font-size: 18px;
}

.single-product .s4u-product-why__text {
	font-size: 13px;
	line-height: 1.45;
	color: var(--s4u-body);
}

.single-product .s4u-product-why__text strong {
	display: block;
	font-weight: 600;
	color: var(--s4u-ink);
	margin-bottom: 1px;
}

/* ============================================================
 * BƯỚC 14 — "Số năm mua" dạng nút
 * ============================================================ */
/* Ẩn hàng select gốc nhưng GIỮ TRONG LUỒNG RENDER (không display:none)
 * để WooCommerce vẫn tính lại giá khi đổi select. Dùng kỹ thuật
 * clip offscreen thay vì display:none/visibility:hidden. */
.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;
}

.single-product .s4u-product-years__label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--s4u-muted);
	margin-bottom: 7px;
}

.single-product .s4u-product-years__btns {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.single-product .s4u-product-years__btn {
	flex: 0 0 auto;
	height: auto;
	margin: 0;
	padding: 7px 16px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	color: var(--s4u-muted);
	background: #fafbfb;
	border: 1px solid #e3e7e6;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.single-product .s4u-product-years__btn:hover {
	border-color: var(--s4u-green);
	background: #fff;
	color: var(--s4u-ink);
}

.single-product .s4u-product-years__btn.is-active {
	padding: 11px 24px;
	font-size: 14.5px;
	font-weight: 700;
	border: 2px solid var(--s4u-green);
	background: rgba(24, 165, 88, 0.07);
	color: var(--s4u-green-d);
}

/* Đè style .button mặc định của Flatsome (chống cao quá / chữ hoa) */
.s4u-product-redesign .s4u-product-years__btns .s4u-product-years__btn {
	min-height: 0;
	line-height: 1.2 !important;
	text-transform: none !important;
}