/*
 Theme Name:   VNSTELL
 Theme URI:    https://gobranding.com.vn/
 Description:  Child theme của Hello Biz, dùng để tùy biến riêng cho dự án VNSTELL.
 Author:       GOBRANDING
 Author URI:   https://gobranding.com.vn/
 Template:     hello-biz
 Version:      1.0.0
 Text Domain:  hello-biz-child
*/

/* =========================================================
 * VARIABLES
 * ========================================================= */

:root {
	--bgvl-navy: #1d3153;
	--bgvl-navy-dark: #142238;
	--bgvl-navy-light: #172842;
	--bgvl-border: #3a5373;
	--bgvl-border-light: rgba(111, 143, 183, 0.45);
	--bgvl-text: #ffffff;
	--bgvl-text-muted: #9ca9bb;
	--bgvl-primary: #ef233c;
}

/* =========================================================
 * QUOTE FORM
 * ========================================================= */

.bgvl-quote-form,
.bgvl-quote-form *,
.bgvl-quote-form *::before,
.bgvl-quote-form *::after {
	box-sizing: border-box;
}

.bgvl-quote-form {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 30px;
	color: var(--bgvl-text);
	background: var(--bgvl-navy);
	border: 1px solid var(--bgvl-border-light);
	border-radius: 14px;
}

.bgvl-quote-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.bgvl-field {
	margin: 0 0 20px;
}

.bgvl-field > label,
.bgvl-brands-field legend {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
	padding: 0;
	color: #f3f5f8;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	border: 0;
}

.bgvl-field-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--bgvl-primary);
	font-size: 14px;
	line-height: 1;
}

.bgvl-field label span[aria-hidden="true"] {
	color: var(--bgvl-primary);
}

.bgvl-quote-form input[type="text"],
.bgvl-quote-form input[type="tel"],
.bgvl-quote-form select,
.bgvl-quote-form textarea {
	width: 100%;
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--bgvl-text);
	background: var(--bgvl-navy-dark);
	border: 1px solid var(--bgvl-border);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bgvl-quote-form input[type="text"],
.bgvl-quote-form input[type="tel"],
.bgvl-quote-form select {
	height: 52px;
	padding: 0 16px;
}

.bgvl-quote-form textarea {
	min-height: 130px;
	padding: 14px 16px;
	line-height: 1.6;
	resize: vertical;
}

.bgvl-quote-form input::placeholder,
.bgvl-quote-form textarea::placeholder {
	color: #8090a6;
	opacity: 1;
}

.bgvl-quote-form select {
	cursor: pointer;
}

.bgvl-quote-form select option {
	color: #1d2939;
	background: #ffffff;
}

.bgvl-quote-form input:focus,
.bgvl-quote-form select:focus,
.bgvl-quote-form textarea:focus {
	border-color: var(--bgvl-primary);
	box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.12);
}

.bgvl-brands-field {
	margin: 4px 0 20px;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid rgba(111, 143, 183, 0.3);
}

.bgvl-field-description {
	margin: -2px 0 14px;
	color: var(--bgvl-text-muted);
	font-size: 13px;
	line-height: 1.5;
}

.bgvl-brand-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bgvl-checkbox {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 15px;
	color: #dfe6ef;
	background: var(--bgvl-navy-light);
	border: 1px solid var(--bgvl-border);
	border-radius: 7px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.bgvl-checkbox:hover {
	border-color: var(--bgvl-primary);
}

.bgvl-checkbox input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.bgvl-checkbox-custom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	margin-right: 8px;
	border: 1px solid #71829a;
	border-radius: 4px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.bgvl-checkbox input[type="checkbox"]:checked + .bgvl-checkbox-custom {
	background: var(--bgvl-primary);
	border-color: var(--bgvl-primary);
}

.bgvl-checkbox input[type="checkbox"]:checked + .bgvl-checkbox-custom::after {
	content: "✓";
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.bgvl-checkbox:has(input[type="checkbox"]:checked) {
	color: #ffffff;
	background: rgba(239, 35, 60, 0.1);
	border-color: var(--bgvl-primary);
}

.bgvl-checkbox-label {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.bgvl-details {
	margin: 0;
}

.bgvl-details-content {
	display: grid;
	grid-template-columns: 1fr;
}

.bgvl-details-content .bgvl-field:last-child {
	margin-bottom: 24px;
}

.bgvl-form-message {
	display: none;
	margin: 0 0 15px;
	padding: 13px 16px;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 7px;
}

.bgvl-form-message.is-success {
	display: block;
	color: #d8ffe5;
	background: rgba(22, 163, 74, 0.15);
	border: 1px solid rgba(34, 197, 94, 0.45);
}

.bgvl-form-message.is-error {
	display: block;
	color: #ffe0e3;
	background: rgba(239, 35, 60, 0.12);
	border: 1px solid rgba(239, 35, 60, 0.45);
}

.bgvl-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100% !important;
	min-height: 56px;
	margin: 0;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: #ffffff !important;
	background: var(--e-global-color-primary) !important;
	border: 1px solid var(--bgvl-primary);
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.bgvl-submit,
.bgvl-submit *,
.bgvl-submit-icon,
.bgvl-submit-text {
	color: #ffffff !important;
}

.bgvl-submit:hover {
	background: var(--e-global-color-secondary) !important;
	border-color: var(--e-global-color-primary);
	transform: translateY(-1px);
}

.bgvl-submit:active {
	transform: translateY(0);
}

.bgvl-submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.bgvl-submit-icon {
	font-size: 16px;
	line-height: 1;
}

.bgvl-form-security {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-top: 14px;
	color: #91a0b4;
	font-size: 12px;
	line-height: 1.5;
}

.bgvl-form-security > span {
	color: var(--e-global-color-primary);
	font-size: 20px;
}

.bgvl-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* =========================================================
 * PRODUCT ARCHIVE SPECS TABLE
 * ========================================================= */

.bgvl-product-archive-specs {
	width: 100%;
}
.bgvl-brand-logo{
    min-height: 80px;
}
.bgvl-brand-item a{
    color: var(--e-global-color-primary);
}
.bgvl-archive-subtitle {
	margin-bottom: 10px;
	color: var(--bgvl-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.bgvl-archive-title {
	margin: 0 0 30px;
	color: #283344;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.bgvl-archive-table-frontend-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid #9aa1aa;
	border-radius: 3px;
	-webkit-overflow-scrolling: touch;
}

.bgvl-archive-table-frontend {
	width: 100%;
	min-width: 900px;
	margin: 0;
	border-collapse: collapse;
	background: #ffffff;
}

.bgvl-archive-table-frontend th {
	padding: 18px 14px;
	color: #ffffff;
	background: #1f2d49;
	border: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.bgvl-archive-table-frontend td {
	padding: 18px 14px;
	color: #3d4654;
	border: 0;
	border-bottom: 1px solid #aeb3ba;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	vertical-align: middle;
}

.bgvl-archive-table-frontend tbody tr:last-child td {
	border-bottom: 0;
}

.bgvl-archive-table-frontend td:first-child {
	color: var(--bgvl-primary);
	font-family: monospace;
	font-weight: 500;
	white-space: nowrap;
}

.bgvl-archive-table-frontend td:nth-child(2) {
	color: #293548;
	font-weight: 700;
	text-align: left;
}

.bgvl-archive-table-frontend tbody tr {
	transition: background 0.2s ease;
}

.bgvl-archive-table-frontend tbody tr:hover {
	background: #f7f8fa;
}

/* =========================================================
 * RESPONSIVE
 * ========================================================= */

@media (max-width: 767px) {
	.bgvl-quote-form {
		padding: 22px 18px;
	}

	.bgvl-quote-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.bgvl-brand-options {
		gap: 8px;
	}

	.bgvl-checkbox {
		min-height: 42px;
		padding: 0 13px;
	}

	.bgvl-checkbox-label {
		font-size: 13px;
	}

	.bgvl-archive-title {
		margin-bottom: 20px;
	}

	.bgvl-archive-table-frontend th,
	.bgvl-archive-table-frontend td {
		padding: 14px 12px;
	}
}

@media (max-width: 480px) {
	.bgvl-quote-form {
		padding: 18px 15px;
		border-radius: 10px;
	}

	.bgvl-brand-options {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bgvl-checkbox {
		width: 100%;
	}

	.bgvl-checkbox-label {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}