/**
 * Single product — phân loại cùng dòng (dong_san_pham / .links .label)
 * Scope: .phonez-product-variants only
 */

.phonez-product-variants {
	display: block;
	margin: 0.75rem 0 1rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.phonez-product-variants .links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	width: 100%;
	max-width: 100%;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.phonez-product-variants .links::after {
	content: none;
	display: none;
}

.phonez-product-variants .links .label {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	float: none;
	width: 100%;
	min-height: 4.25rem;
	margin: 0;
	padding: 0.65rem 0.5rem;
	text-align: center;
	text-decoration: none;
	color: var(--phonez-text, #222);
	background: var(--phonez-surface, #fff);
	border: 1.5px solid var(--phonez-border, #e8ecf0);
	border-radius: var(--phonez-radius, 12px);
	box-shadow: none;
	transition:
		border-color 0.2s ease,
		background 0.2s ease,
		box-shadow 0.2s ease;
}

.phonez-product-variants .links .label:hover {
	color: var(--phonez-text, #222);
	border-color: rgba(30, 115, 190, 0.45);
	background: var(--phonez-bg, #f5f7fa);
	box-shadow: 0 2px 8px rgba(30, 115, 190, 0.08);
}

.phonez-product-variants .links .label.checked {
	font-weight: 600;
	color: var(--phonez-primary-dark, #155a94);
	border-color: var(--phonez-primary, #1e73be);
	background: rgba(30, 115, 190, 0.06);
	box-shadow: 0 2px 10px rgba(30, 115, 190, 0.12);
}

.phonez-product-variants .links .label:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.25);
}

.phonez-product-variants .links .label span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.35;
	color: inherit;
}

.phonez-product-variants .links .label span::before {
	content: none !important;
	display: none !important;
}

.phonez-product-variants .links .label strong {
	display: block;
	width: 100%;
	margin: 0.35rem 0 0;
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.25;
	height: auto;
	color: #e10c00;
}

.phonez-product-variants .product_details a,
.phonez-product-variants .links .label {
	color: var(--phonez-text, #222);
}

@media (max-width: 549px) {
	.phonez-product-variants .links {
		grid-template-columns: 1fr;
	}
}
