/*
Theme Name: CPV
Theme URI: https://cuongphatvina.vn/
Author: Cường Phát Vina
Description: Classic WordPress theme for Cường Phát Vina.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: cpv
*/

:root {
	--cpv-primary: #8f6c22;
	--cpv-dark: #251b1a;
	--cpv-accent: #eecc71;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #fff;
	color: var(--cpv-dark);
}

:where(a, button, input, textarea, select, [role="button"][tabindex]):focus-visible {
	outline: 3px solid var(--cpv-accent) !important;
	outline-offset: 3px;
	box-shadow: 0 0 0 2px var(--cpv-dark) !important;
}

[role="button"][tabindex]:focus {
	outline: 3px solid var(--cpv-accent) !important;
	outline-offset: 3px;
	box-shadow: 0 0 0 2px var(--cpv-dark) !important;
}

.navbar-cuongphatvina .navbar-brand img,
.newsletter .logo img {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 72px;
	object-fit: contain;
}

.cpv-icon-button {
	border: 0;
	background: transparent;
}

.cpv-search-menu .dropdown-toggle::after {
	display: none;
}

.navbar-cuongphatvina .cpv-search-dropdown {
	min-width: 300px;
	padding: 1rem;
}

.cpv-search-dropdown .search-form {
	display: flex;
	gap: 0.5rem;
	margin: 0;
}

.cpv-search-dropdown label {
	flex: 1;
}

.cpv-search-dropdown .search-field {
	width: 100%;
	height: 42px;
	padding: 0 0.75rem;
	border: 1px solid #767676;
}

.cpv-search-dropdown .search-submit,
.btn-consultation {
	border-color: var(--cpv-accent);
	background: var(--cpv-accent);
	color: var(--cpv-dark);
}

.cpv-search-dropdown .search-submit:hover,
.cpv-search-dropdown .search-submit:focus,
.btn-consultation:hover,
.btn-consultation:focus {
	border-color: #fff;
	background: #fff;
	color: var(--cpv-dark);
}

.navbar-menu .sub-menu,
.footer .nav {
	list-style: none;
}

.navbar-cuongphatvina ul.dropdown-menu.col-megamenu {
	list-style: none;
}

.navbar-cuongphatvina ul.dropdown-menu.col-megamenu > li {
	margin: 0;
}

.navbar-cuongphatvina ul.dropdown-menu.col-megamenu > li:last-child {
	margin-bottom: 0;
}

#primary-menu-desktop > .menu-item > .nav-link {
	position: relative;
	transition: color .2s ease, background-color .2s ease;
}

#primary-menu-desktop > .menu-item > .nav-link::before {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 24px;
	height: 2px;
	background: var(--cpv-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}

#primary-menu-desktop > .menu-item:hover > .nav-link,
#primary-menu-desktop > .menu-item:focus-within > .nav-link {
	color: var(--cpv-accent);
	background-color: rgba(238, 204, 113, .08);
}

#primary-menu-desktop > .menu-item:hover > .nav-link::before,
#primary-menu-desktop > .menu-item:focus-within > .nav-link::before {
	transform: scaleX(1);
}

#primary-menu-desktop .dropdown-item {
	border-radius: 4px;
	transition: color .2s ease, background-color .2s ease;
	padding: 1em;
}

#primary-menu-desktop .dropdown-item:hover,
#primary-menu-desktop .dropdown-item:focus-visible {
	color: var(--cpv-primary);
	background-color: rgba(143, 108, 34, .1);
}

.cpv-menu-category-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: 12px;
	vertical-align: middle;
	color: var(--cpv-primary);
}

@media (prefers-reduced-motion: reduce) {
	#primary-menu-desktop > .menu-item > .nav-link,
	#primary-menu-desktop > .menu-item > .nav-link::before,
	#primary-menu-desktop .dropdown-item {
		transition: none;
	}
}

.footer,
.copy-right {
	background-color: var(--cpv-dark);
}

.footer address {
	font-style: normal;
}

.footer address,
.footer address a,
.copy-right {
	color: #fff;
	text-decoration: none;
}

.footer address a:hover,
.footer address a:focus,
.footer .nav-link:hover,
.footer .nav-link:focus {
	color: var(--cpv-accent);
}

.slider-cuongphatvina .banner-layers {
	background-color: rgba(143, 108, 34, 0.88);
	background-image: none;
}

.slider-cuongphatvina .banner-video-bg {
	container-type: size;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.slider-cuongphatvina .banner-video-bg .banner-video {
	width: max(100%, calc(100vh * 16 / 9));
	height: max(100%, calc(100vw * 9 / 16));
	border: 0;
	object-fit: cover;
}

.slider-cuongphatvina .cpv-showroom-slide .banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	background: linear-gradient(90deg, rgba(24, 17, 16, 0.82) 0%, rgba(24, 17, 16, 0.62) 52%, rgba(24, 17, 16, 0.38) 100%);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	pointer-events: none;
}

.slider-cuongphatvina .cpv-showroom-content {
	position: absolute;
	top: 50%;
	left: clamp(30px, 8vw, 155px);
	z-index: 4;
	width: min(680px, calc(100% - 60px));
	transform: translateY(-50%);
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.slider-cuongphatvina .cpv-showroom-eyebrow {
	margin-bottom: 14px;
	color: #e2bd66;
	font-size: clamp(14px, 1.2vw, 18px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.slider-cuongphatvina .cpv-showroom-content h2 {
	max-width: 660px;
	margin-bottom: 20px;
	color: #fff;
	font-size: clamp(36px, 4.2vw, 66px);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
}

.slider-cuongphatvina .cpv-showroom-lead {
	max-width: 620px;
	margin-bottom: 22px;
	font-size: clamp(16px, 1.25vw, 20px);
	line-height: 1.55;
}

.slider-cuongphatvina .cpv-showroom-content address {
	max-width: 620px;
	margin: 0;
	border-left: 3px solid #e2bd66;
	padding-left: 16px;
	font-size: clamp(14px, 1.1vw, 17px);
	font-style: normal;
	line-height: 1.5;
}

.slider-cuongphatvina .banner-inner.has-video > .banner-bg {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	pointer-events: none;
	transition: opacity .35s ease, visibility 0s .35s;
}

.slider-cuongphatvina .banner-inner.is-video-ready > .banner-bg {
	opacity: 0;
	visibility: hidden;
}

@supports (width: 100cqw) {
	.slider-cuongphatvina .banner-video-bg .banner-video {
		width: max(100cqw, calc(100cqh * 16 / 9));
		height: max(100cqh, calc(100cqw * 9 / 16));
	}
}

@media (prefers-reduced-motion: reduce) {
	.slider-cuongphatvina .banner-video-bg {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.slider-cuongphatvina .banner {
		height: clamp(360px, 58svh, 500px);
		padding-top: 0;
	}

	.slider-cuongphatvina .cpv-showroom-slide .banner::after {
		background: rgba(24, 17, 16, 0.68);
	}

	.slider-cuongphatvina .cpv-showroom-content {
		left: 24px;
		width: calc(100% - 48px);
	}

	.slider-cuongphatvina .cpv-showroom-eyebrow {
		margin-bottom: 10px;
		font-size: 12px;
	}

	.slider-cuongphatvina .cpv-showroom-content h2 {
		margin-bottom: 14px;
		font-size: clamp(27px, 8.5vw, 36px);
	}

	.slider-cuongphatvina .cpv-showroom-lead {
		margin-bottom: 16px;
		font-size: 15px;
		line-height: 1.45;
	}

	.slider-cuongphatvina .cpv-showroom-content address {
		font-size: 13px;
		line-height: 1.4;
	}
}

.cpv-about-page .section-product-banner .banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(37, 27, 26, 0.72), rgba(37, 27, 26, 0.12));
	pointer-events: none;
}

.cpv-about-page .section-product-banner .banner-layers {
	z-index: 2;
}

.cpv-about-page .section-product-banner .banner-layers .title {
	margin-bottom: 1rem;
	color: #fff;
	font-size: clamp(28px, 4.2vw, 60px);
	text-transform: uppercase;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}

.cpv-about-hero .banner .bg-fill {
	background-position: center 25%;
}

.cpv-hero-lead {
	max-width: 560px;
	color: #fff;
	font-size: 1.25rem;
	line-height: 1.5;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
}

.cpv-about-intro .section-title.text-start {
	text-align: left;
	line-height: 1.15;
}

.cpv-about-intro .text p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.cpv-company-facts {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(37, 27, 26, 0.2);
	font-size: 0.95rem;
}

.cpv-company-facts > div {
	display: grid;
	grid-template-columns: minmax(115px, 0.35fr) 1fr;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
}

.cpv-company-facts dt {
	font-weight: 700;
}

.cpv-company-facts dd {
	margin: 0;
}

.cpv-company-facts a {
	color: var(--cpv-dark);
	text-decoration: underline;
}

.cpv-about-intro .thumbnail-image {
	margin-bottom: 0;
}

.cpv-about-mission {
	padding: 70px 0;
	background-color: var(--cpv-dark);
}

.cpv-about-mission .banner-bg.fill {
	position: absolute;
	inset: 0;
	height: 100%;
}

.cpv-about-mission .banner-bg .bg-fill {
	background-attachment: scroll;
}

.cpv-about-mission::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(37, 27, 26, 0.38);
	pointer-events: none;
}

.cpv-about-mission .inner-content {
	position: relative;
	left: auto;
	top: auto;
	transform: none;
	max-width: 950px;
	margin: 0 auto;
	z-index: 2;
}

.cpv-about-mission .inner-content p {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.cpv-about-achievements .box-icon .number {
	font-size: clamp(28px, 2.4vw, 38px);
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
}

.cpv-about-achievements .cpv-strength-label {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	min-height: 2.8em;
}

.cpv-about-values .core-values .inner-content {
	text-align: left;
	line-height: 1.6;
}

.cpv-about-values .thubnail img {
	height: auto;
}

.cpv-solution-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.cpv-solution-grid .solution-space {
	min-height: clamp(320px, 28vw, 440px);
}

.cpv-solution-grid .solution-space:first-child {
	grid-row: span 2;
}

.cpv-about-solutions .solution-space::before {
	height: 100%;
	background: linear-gradient(180deg, transparent 20%, rgba(37, 27, 26, 0.95) 100%);
}

.cpv-about-solutions .inner-content p {
	margin: 0;
	color: #fff;
	line-height: 1.5;
}

.cpv-about-caption {
	font-size: 14px;
	margin: 1rem 0 0;
}

@media (max-width: 991.98px) {
	.cpv-about-intro .section-title.text-start {
		margin-top: 1rem;
	}

	.cpv-about-intro .thumbnail-image {
		margin-bottom: 1.5rem;
	}

	.cpv-solution-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cpv-solution-grid .solution-space:first-child {
		grid-row: auto;
	}
}

@media (max-width: 767.98px) {
	.cpv-about-hero .banner {
		padding-top: 250px;
	}

	.cpv-about-page .section-product-banner .banner-layers {
		padding-left: 30px;
	}

	.cpv-hero-lead {
		font-size: 1rem;
	}

	.cpv-about-intro .text p {
		text-align: left;
	}

	.cpv-company-facts > div {
		display: block;
	}

	.cpv-company-facts dt {
		margin-bottom: 0.15rem;
	}

	.cpv-about-achievements .col-achi {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.cpv-about-values .row > div {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.cpv-about-values .core-values .thubnail img {
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}

	.cpv-about-values .core-values .inner-content {
		min-height: 0;
		padding: 20px;
	}
}

.footer-contact-line {
	display: block;
	margin-bottom: 0.5rem;
	overflow-wrap: anywhere;
}

/* Project markup reuses the original template styles; these rules handle WP content and controls. */
.cpv-project-hero .banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(37, 27, 26, .72), rgba(37, 27, 26, .15));
}
.cpv-project-hero .banner-layers { z-index: 1; }
.cpv-project-hero .title {
	color: #fff;
	font-size: clamp(28px, 4.2vw, 60px);
	text-transform: uppercase;
	text-shadow: 0 2px 2px #251b1a;
}
.cpv-project-mosaic { overflow: hidden; }
.cpv-project-mosaic .projects-description { padding: clamp(20px, 3vw, 55px); }
.cpv-project-mosaic .description h2 { font-size: clamp(24px, 2.2vw, 34px); }
.cpv-project-mosaic .description p { font-size: 18px; line-height: 1.6; }
.cpv-project-mosaic .description .cpv-project-note { font-size: 14px; }
.cpv-project-page .projects::after,
#cpv-project-modal .projects::after { height: 70%; background: linear-gradient(transparent, rgba(37, 27, 26, .92)); }
.cpv-project-page .project-breadcrumb,
.cpv-project-breadcrumb { margin-bottom: 24px; }
.cpv-project-page .project-listing { padding: 55px 0; }
.cpv-project-description { margin-bottom: 35px; max-width: 900px; }
.cpv-project-categories { padding: 50px 0; }
.cpv-project-categories .section-title { margin-bottom: 35px; }
.cpv-project-categories .projects { display: block; }
.cpv-project-categories .swiper { padding-bottom: 40px; }
.cpv-project-categories .swiper-pagination-bullet-active { background: var(--cpv-primary); }
.cpv-demo-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 4px 12px;
	background: var(--cpv-accent);
	color: var(--cpv-dark);
	font-size: 14px;
	font-weight: 700;
}
.cpv-project-demo-note { margin: 0 auto 25px; max-width: 850px; padding: 15px 20px; background: #fff2d3; color: var(--cpv-dark); }
.cpv-project-pagination,
.cpv-project-page .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 25px 0; }
.cpv-project-page .page-numbers { padding: 10px 16px; border: 1px solid var(--cpv-primary); color: var(--cpv-dark); }
.cpv-project-page .page-numbers.current { background: var(--cpv-primary); color: #fff; }
.cpv-project-single { padding-top: 35px; background: #f8f8f8; }
.cpv-project-article { color: var(--cpv-dark); }
.cpv-project-article .project-header .cat { padding: 0 20px; font-size: 16px; }
.cpv-project-article .project-header .title { padding: 0 20px; font-size: clamp(26px, 3.6vw, 48px); }
.cpv-project-article .project-header .thumbnail img { width: 100%; max-height: 650px; object-fit: cover; height: auto; }
.cpv-project-article .project-body { padding: clamp(20px, 4vw, 65px); }
.cpv-project-article .project-info { padding: 30px !important; }
.cpv-project-article .project-info dd { margin: 0 0 20px; }
.cpv-project-article .project-info dd:last-child { margin-bottom: 0; }
.cpv-project-summary { align-self: center; line-height: 1.7; }
.cpv-project-article .cpv-project-content { padding: 40px 0; line-height: 1.7; }
.cpv-project-content img { display: block; max-width: 100%; height: auto; }
.cpv-project-content figure { margin: 25px 0; }
.cpv-project-content figcaption { font-size: 14px; text-align: center; }
.cpv-project-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.cpv-project-article .project-socicals .btn-primary { min-width: 0; margin-right: 0; }
.cpv-project-article .project-related .projects .inner-content { border: 0; }
.cpv-project-article a:not(.btn):not(.projects) { color: var(--cpv-primary); text-decoration: underline; }
.cpv-project-single .cpv-project-permalink { display: none; }
#cpv-project-modal .modal-header { background: #fff; position: sticky; top: 0; z-index: 5; gap: 15px; }
#cpv-project-modal .modal-title { font-size: 18px; }
#cpv-project-modal .modal-header .btn-close { position: static; background: var(--bs-btn-close-bg) center / 1em auto no-repeat; width: 1em; height: 1em; flex-shrink: 0; }
#cpv-project-modal [aria-busy="true"] { padding: 30px !important; }
/* Keep the template's fixed header and floating widgets below Bootstrap's backdrop. */
body.modal-open .navbar-cuongphatvina,
body.modal-open .hotline-widget,
body.modal-open .to_top { z-index: 1000; }
.cpv-project-page .projects:focus-visible,
#cpv-project-modal .projects:focus-visible { outline-offset: -5px; }
@media (max-width: 767.98px) {
	.cpv-project-hero .banner { padding-top: 260px; }
	.cpv-project-page .section-cuongphatvina-projects .project-title { padding: 18px 8px; min-height: 0; font-size: 16px; }
	.cpv-project-page .section-cuongphatvina-projects-detail .project-title { font-size: 22px; }
	.cpv-project-article .project-related .related-title { font-size: 24px; margin-bottom: 25px; }
	.cpv-project-article .project-related .projects .inner-content { min-height: 0; padding: 12px; }
	.cpv-project-article .project-related .projects .project-title { font-size: 18px; }
	.cpv-project-article .project-header .cat { padding: 0 12px; }
}

.modal-consultation .modal-title {
	color: var(--cpv-dark);
}

.hotline-widget:focus,
.to_top:focus {
	outline: 3px solid var(--cpv-accent);
	outline-offset: 3px;
}

.to_top {
	border: 0;
}

/* Native WooCommerce category queries, styled with the supplied catalogue markup. */
.cpv-catalog-page .woocommerce-breadcrumb { font-size: 14px; margin-bottom: 20px; color: var(--cpv-dark); }
.cpv-catalog-page .woocommerce-breadcrumb a { color: var(--cpv-primary); }
.cpv-catalog-page .section-product-information .thumbnail { height: 100%; }
.cpv-catalog-page .section-product-information .thumbnail img { display: block; width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.cpv-catalog-page .section-product-information .title { font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; margin-bottom: 25px; }
.cpv-catalog-page .section-product-information .col-inner { padding: clamp(25px, 4vw, 70px); }
.cpv-catalog-page .section-product-information .text { line-height: 1.65; }
.cpv-subcategories { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cpv-subcategories a { padding: 8px 12px; border: 1px solid var(--cpv-primary); color: var(--cpv-dark); text-decoration: none; }
.cpv-catalog-page .section-product-collections { padding: 55px 0 25px; }
.cpv-catalog-page .section-product-collections .collection { transform: none; opacity: 1; }
.cpv-catalog-page .section-product-collections .collection::before { height: 65%; background: linear-gradient(transparent, rgba(37,27,26,.9)); }
.cpv-catalog-page .section-product-collections .collection .solution-inner { padding: 0 15px; }
.cpv-catalog-page .section-all-products { padding: 30px 0 50px; }
.cpv-catalog-page #products { scroll-margin-top: 110px; }
.cpv-catalog-page .navbar-filter { flex-wrap: wrap; gap: 15px; align-items: flex-end !important; }
.cpv-catalog-page .navbar-filter .nav-item { margin-right: 0 !important; flex: 1 1 150px; }
.cpv-filter-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cpv-filter-form .form-select { min-height: 43px; border: 1px solid #767676; color: var(--cpv-dark); background-color: #fff; border-radius: 0; }
.cpv-filter-form .btn { padding: 10px 14px; min-height: 43px; }
.cpv-filter-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; padding-top: 25px; }
.cpv-filter-summary .woocommerce-result-count { float: none; margin: 0; }
.cpv-filter-summary a { color: var(--cpv-primary); }
.cpv-filter-panel { background: #f8f8f8; }
body.cpv-filters-open .navbar-cuongphatvina,
body.cpv-filters-open .hotline-widget,
body.cpv-filters-open .to_top { z-index: 1000; transition: none; }
.cpv-catalog-page .cpv-product-grid .product { float: none; width: 100%; margin: 0 0 35px; position: relative; }
.cpv-catalog-card a { color: var(--cpv-dark); text-decoration: none; }
.cpv-catalog-page .products .product .thumbnail { padding-top: 0; height: auto; position: relative; }
.cpv-catalog-card .item-gallery-wrapper { aspect-ratio: 1; position: relative; background: #f3f0ec; overflow: hidden; }
.cpv-catalog-card .product-item-image { position: absolute; inset: 0; }
.cpv-catalog-card .product-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cpv-catalog-card .product-item-image__secondary { opacity: 0; transition: opacity .2s; }
.cpv-catalog-card a:hover .product-item-image__secondary,
.cpv-catalog-card a:focus-visible .product-item-image__secondary { opacity: 1; }
.cpv-catalog-card .product-item-image__secondary img { object-fit: cover; }
.cpv-catalog-page .products .product .title { margin: 16px 0 8px; padding: 0; color: var(--cpv-dark); font-size: 20px; text-align: left; }
.cpv-catalog-spec { margin: 0; font-size: 14px; color: #4e4e4f; }
.cpv-catalog-demo { display: inline-block; margin-top: 10px; padding: 3px 8px; background: var(--cpv-accent); color: var(--cpv-dark); font-size: 12px; }
.cpv-catalog-note { font-size: 14px; line-height: 1.5; margin-top: 25px; }
.cpv-no-products { padding: 40px 20px; background: #f3f0ec; }
.cpv-catalog-page .product-main-block { padding-top: 40px; }
.cpv-catalog-page .product-main-block .product-gallery .gallery-product { display: block; aspect-ratio: 1; background: #eeebe6; }
.cpv-product-slider img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cpv-product-slider .gallery-product { overflow: hidden; cursor: zoom-in; }
.cpv-product-slider .gallery-product img { transform-origin: var(--cpv-zoom-origin, 50% 50%); transition: transform .18s ease-out; }
.cpv-product-slider .cpv-gallery-360-slide { display: flex; aspect-ratio: 1; align-items: stretch; justify-content: stretch; background: #eeebe6; }
.cpv-product-slider .cpv-gallery-360-frame { width: 100%; height: 100%; min-height: 320px; border: 0; }
.cpv-product-slider .cpv-gallery-video-slide { display: flex; aspect-ratio: 1; align-items: center; justify-content: center; background: #181818; }
.cpv-gallery-video-frame, .cpv-gallery-video-file { width: 100%; height: 100%; min-height: 240px; border: 0; object-fit: contain; }
.cpv-gallery-video-button, .cpv-gallery-video-play { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 0; cursor: pointer; text-align: center; }
.cpv-gallery-video-play { width: 100%; height: 100%; min-height: 260px; color: #fff; background: #181818; }
.cpv-gallery-video-button svg, .cpv-gallery-video-play svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; }
.cpv-gallery-video-play svg { width: 64px; height: 64px; }
.cpv-product-thumbs .cpv-gallery-video-button { display: flex; min-height: 80px; font-size: 12px; }
.cpv-gallery-video-cta { flex-direction: row; width: 100%; margin-bottom: 12px; background: #f3f0ec; color: #111; }
.cpv-gallery-video-button:focus-visible, .cpv-gallery-video-play:focus-visible { outline: 3px solid var(--cpv-accent); outline-offset: -3px; }
.cpv-gallery-video-slide [hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
	.cpv-product-slider .gallery-product.cpv-zoomed img { transform: scale(2); }
}
@media (prefers-reduced-motion: reduce) {
	.cpv-product-slider .gallery-product img {transition: none;}
}
html.with-fancybox .fancybox__container { z-index: 2147483647; }
html.with-fancybox .navbar-cuongphatvina,
html.with-fancybox .hotline-widget,
html.with-fancybox .to_top { z-index: 1000; transition: none; }
.cpv-product-slider:not(.swiper-initialized) .swiper-wrapper { display: block; }
.cpv-product-slider:not(.swiper-initialized) .swiper-slide { margin-bottom: 15px; }
.cpv-product-thumbs { margin: 15px 0; padding: 4px; overflow: hidden; touch-action: pan-y; }
.cpv-product-thumbs .swiper-slide { height: auto; }
.cpv-product-thumbs button { display: block; width: 100%; height: 100%; padding: 3px; border: 2px solid transparent; background: #f3f0ec; cursor: inherit; color:#000}
.cpv-product-thumbs img { user-select: none; -webkit-user-drag: none; }
.cpv-product-thumbs:not(.swiper-initialized) .swiper-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.cpv-product-thumbs:not(.swiper-initialized) .swiper-slide { width: calc(25% - 10px); }
.cpv-product-thumbs button[aria-pressed="true"] { border-color: var(--cpv-primary); }
.cpv-product-thumbs img { width: 100%; height: auto; }
.cpv-product-slider { scroll-margin-top: 110px; }
.cpv-variation-picker { margin: 25px 0; }
.cpv-variation-picker legend { float: none; width: auto; font-size: 22px; font-weight: 700; color: var(--cpv-dark); }
.cpv-variation-picker > p { font-size: 15px; line-height: 1.6; }
.cpv-variation-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cpv-variation-choice { display: block; border: 2px solid #cfcac6; padding: 4px; background: #fff; color: var(--cpv-dark); text-align: center; text-decoration: none; }
.cpv-variation-choice img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.cpv-variation-choice span { display: block; padding: 8px 2px; font-size: 14px; }
.cpv-variation-choice[aria-pressed="true"] { border-color: var(--cpv-primary); box-shadow: 0 0 0 1px var(--cpv-primary); }
.cpv-variation-choice[aria-pressed="true"] span { background: var(--cpv-accent); font-weight: 700; }
.cpv-gallery-360-thumb { display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px; border: 0; background: #f3f0ec; color: #000; cursor: pointer; font-size: 12px; line-height: 1.2; text-align: center; }
.cpv-gallery-360-thumb svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.product-gallery .cpv-gallery-360-thumb svg{display:block;margin:0 auto;}
.cpv-gallery-360-thumb:focus-visible { outline: 3px solid var(--cpv-accent); outline-offset: -3px; }
.cpv-gallery-360-cta { width: 100%; flex-direction: row; gap: 14px; margin-bottom: 12px; padding: 5px 16px; text-align: left; }
.cpv-gallery-360-cta svg { flex: 0 0 42px; width: 42px; height: 42px; }
.cpv-gallery-360-cta span { font-size: 15px;}
.cpv-product-content .cpv-gallery-360-content-link { width: 100%; min-height: 74px; flex-direction: row; justify-content: flex-start; gap: 14px; margin: 12px 0; padding: 10px 16px; text-align: left; }
.cpv-product-content .cpv-gallery-360-content-link svg { flex: 0 0 42px; width: 42px; height: 42px; }
.cpv-product-content .cpv-gallery-360-content-link span { font-size: 15px; font-weight: 700; }
.cpv-variation-status, .cpv-contact-variation { padding: 12px 15px; margin-top: 16px; background: #eeebe6; color: var(--cpv-dark); }
@media (max-width: 767.98px) {
	.cpv-variation-options { grid-template-columns: repeat(var(--cpv-variation-columns), minmax(0, 1fr)); }
}
.cpv-catalog-page .btn-group-filter-slider { display: flex; flex-wrap: wrap; gap: 10px; }
.cpv-catalog-page .group-product-attributes { margin-bottom: 20px; }
.cpv-catalog-page .product-attribute,
.cpv-catalog-page .product-attribute .attribute { font-size: 17px; line-height: 1.5; }
.cpv-product-demo-note { background: #fff2d3; padding: 12px 15px; color: var(--cpv-dark); font-size: 14px; }
.cpv-product-short { font-size: 18px; line-height: 1.6; }
.cpv-catalog-page .cpv-product-content {
	padding: clamp(32px, 4vw, 60px) 0;
	margin-bottom: 0;
	color: #4e4e4f;
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.75;
	overflow-wrap: anywhere;
}
.cpv-product-content > .container { max-width: 960px; }
.cpv-product-content :is(h1, h2, h3, h4, h5, h6) {
	margin: 1.6em 0 .65em;
	color: var(--cpv-dark);
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
	text-wrap: balance;
}
.cpv-product-content :is(h1, h2) { font-size: clamp(22px, 2vw, 24px); }
.cpv-product-content h3 { font-size: clamp(20px, 1.7vw, 20px); }
.cpv-product-content h4 { font-size: clamp(18px, 1.5vw, 18px); }
.cpv-product-content :is(h5, h6) { font-size: 17px; }
.cpv-product-content > .container > h2:first-child,
.cpv-related-products > .container > h2 {
	margin: 0 0 clamp(24px, 2.5vw, 30px);
	color: var(--cpv-dark);
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
	text-wrap: balance;
}
.cpv-product-content > .container > h2:first-child::after,
.cpv-related-products > .container > h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	margin-top: 14px;
	background: var(--cpv-primary);
}
.cpv-product-content > .container > h2:first-child + :is(h1, h2, h3, h4) { margin-top: 0; }
.cpv-product-content :is(p, ul, ol, dl, figure, blockquote) { margin: 0 0 1.25em; }
.cpv-product-content :is(ul, ol) { padding-inline-start: 1.5em; }
.cpv-product-content li { margin-bottom: .45em; }
.cpv-product-content li > :is(ul, ol) { margin: .45em 0 0; }
.cpv-product-content a { color: var(--cpv-primary); text-decoration: underline; text-underline-offset: 3px; }
.cpv-product-content a:hover { color: var(--cpv-dark); }
.cpv-product-content blockquote { padding: 16px 22px; border-left: 3px solid var(--cpv-primary); background: #eeebe6; }
.cpv-product-content img { max-width: 100%; height: auto; }
.cpv-product-content figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.cpv-product-content table { display: block; max-width: 100%; overflow-x: auto; margin-bottom: 1.25em; border-collapse: collapse; }
.cpv-product-content :is(th, td) { padding: 12px 16px; border: 1px solid #cfcac6; text-align: left; }
.cpv-product-content th { color: var(--cpv-dark); background: #eeebe6; }
.cpv-product-content > .container > :last-child,
.cpv-product-content blockquote > :last-child { margin-bottom: 0; }
.cpv-catalog-page .cpv-related-products { padding: clamp(32px, 4vw, 60px) 0; }
.cpv-catalog-page nav.woocommerce-pagination { margin-top: 20px; }
.cpv-catalog-page nav.woocommerce-pagination ul li a,
.cpv-catalog-page nav.woocommerce-pagination ul li span { padding: 12px 16px; color: var(--cpv-dark); }
.cpv-catalog-page nav.woocommerce-pagination ul li span.current { background: var(--cpv-primary); color: white; }
.cpv-contact-product { padding: 16px; background: #fff2d3; color: var(--cpv-dark); }
@media (max-width: 767.98px) {
	.cpv-catalog-page .section-product-information .thumbnail img { min-height: 0; max-height: 420px; }
	.cpv-catalog-page .section-product-information .text { font-size: 17px; }
	.cpv-catalog-page .navbar-filter .nav-item { flex-basis: calc(50% - 15px); }
	.cpv-catalog-page .products .product .title { font-size: 17px; }
	.cpv-catalog-page .product-collections-title h2,
	.cpv-catalog-page .products-title-inner h2 { font-size: 25px; }
	.cpv-catalog-page .section-product-collections .collection .solution-inner .title { font-size: 26px; }
}

.cpv-contact-hero .banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(37, 27, 26, .75), rgba(37, 27, 26, .15));
	pointer-events: none;
}
.cpv-contact-hero .banner-layers { z-index: 1; }
.cpv-contact-hero .title { color: #fff; text-shadow: 0 2px 2px var(--cpv-dark); text-transform: uppercase; font-size: clamp(28px, 4.2vw, 60px); }
.cpv-contact-page { overflow-x: clip; }
.cpv-contact-hero .banner .bg-fill { background-position: center 25%; }
.cpv-contact-form-section .form-contact-info { padding: 55px 25px 55px 0; }
.cpv-contact-form-section .form-contact-info h2 { font-size: clamp(26px, 2.8vw, 38px); padding: 0 20px; margin-bottom: 25px; }
.cpv-contact-form-section .form-contact-submit { padding: 55px 0 55px 40px; }
.cpv-contact-form-section .form-contact-submit::after { pointer-events: none; z-index: 0; }
.cpv-contact-form-section .form-contact-submit > * { position: relative; z-index: 1; }
.cpv-contact-form-section .form-contact-submit h2 { font-size: 28px; }
.cpv-contact-form-section .form-contact-submit .description { margin-bottom: 24px; font-size: 17px; line-height: 1.6; }
.cpv-contact-form-section .form-contact-info .contact-icon { padding: 20px 10px; }
.cpv-contact-form-section .contact-icon .icon { display: block; height: 45px; margin: 0 auto 15px; font-size: 36px; color: var(--cpv-primary); }
.cpv-contact-form-section .contact-icon .icon::before { color: inherit; }
.cpv-contact-form-section .contact-icon h3 { font-size: 20px; margin-bottom: .35rem; }
.cpv-contact-form-section .contact-icon .info { display: block; font-size: 16px; line-height: 1.5; }
.cpv-contact-legal { padding: 25px 20px 0; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cpv-contact-form-section .wpcf7 form { position: relative; z-index: 2; }
.cpv-contact-form-section .wpcf7 label { display: block; font-size: 15px; }
.cpv-contact-form-section .wpcf7 label > br { display: none; }
.cpv-contact-form-section .wpcf7 form > p { margin: 0; }
.cpv-contact-form-section .wpcf7-form-control-wrap { display: block; margin-bottom: 20px; }
.cpv-contact-form-section .wpcf7-form-control:not(.wpcf7-submit) { width: 100%; max-width: 100%; margin-top: 6px; padding: 12px 16px; border: 1px solid #767676; background-color: #fff; }
.cpv-contact-form-section select.wpcf7-form-control { padding-right: 35px; }
.cpv-contact-form-section textarea.wpcf7-form-control { min-height: 145px; }
.cpv-contact-form-section .wpcf7-submit { width: 100%; padding: 14px 20px; border: 0; background: var(--cpv-primary); color: #fff; }
.cpv-contact-form-section .wpcf7-not-valid-tip { font-size: 14px; margin-top: 4px; }
.cpv-contact-form-section .wpcf7-response-output { margin: 1rem 0 0 !important; padding: .75rem !important; }
.cpv-form-note, .cpv-map-note { font-size: 14px; margin: 20px 0; line-height: 1.5; }
.cpv-contact-showroom .showrooms-header { margin-bottom: 40px; border-bottom: 1px solid var(--cpv-primary); padding-bottom: 15px; }
.cpv-contact-showroom .showrooms-body .showroom-detail .name { font-size: 28px; }
.cpv-contact-showroom .showrooms-body .showroom-detail .address { font-size: 17px; font-style: normal; line-height: 1.6; }
.cpv-contact-showroom img { display: block; width: 100%; height: auto; }
.cpv-contact-map { padding: 70px 0; background: #f8f8f8; }
.cpv-contact-map h2 { margin-bottom: .75rem; }
.cpv-map-frame { position: relative; height: 0; padding-top: 42%; margin-top: 30px; overflow: hidden; }
.cpv-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cpv-blog-page .section-hot-post { margin-bottom: 45px; }
.cpv-blog-page .section-hot-post .section-title { font-size: clamp(28px, 3.3vw, 48px); margin-bottom: 30px; }
.cpv-news-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 270px; gap: 18px; }
.cpv-news-mosaic > .swiper-slide { height: auto; min-width: 0; }
.cpv-news-mosaic > .swiper-slide:first-child { grid-row: span 2; }
.cpv-news-mosaic .post { height: 100%; }
.cpv-news-mosaic .post .post-img { display: block; height: 100%; }
.cpv-news-mosaic .post .post-img img { height: 100%; object-fit: cover; }
.cpv-news-mosaic .post.post-thumb::after { height: 85%; pointer-events: none; background: linear-gradient(transparent, rgba(37,27,26,.95)); }
.cpv-news-mosaic .post .post-body { padding: 20px; }
.cpv-news-mosaic .post .post-body .post-title { font-size: 22px; display: block !important; -webkit-line-clamp: unset; line-height: 1.3; }
.cpv-news-mosaic > .swiper-slide:first-child .post-title { font-size: clamp(24px, 2.3vw, 34px); }
.cpv-news-mosaic .post .post-body .post-title a:hover,
.cpv-news-mosaic .post .post-body .post-title a:focus { color: var(--cpv-accent); }
.cpv-news-mosaic .post .post-body .tag-new { margin-bottom: 8px; }
.cpv-news-featured .swiper-pagination { display: none; }
.cpv-news-listing .news-listing-header { margin-bottom: 35px; }
.cpv-news-listing .news-listing-header .nav { flex-wrap: wrap; }
.cpv-news-listing .news-listing-header .nav .nav-link { font-size: 18px; padding: 16px 10px; text-decoration: none; }
.cpv-blog-page .posts .post .post-body .post-title { display: block !important; -webkit-line-clamp: unset; line-height: 1.4; }
.cpv-blog-page .posts .post .post-body .post-meta { position: static; padding: 0; }
.cpv-blog-page .section-news-listing { margin-bottom: 65px; }
.cpv-blog-page .post-margin { margin-bottom: 30px; }
.cpv-blog-page .section-posts-related { padding: 55px 0; }
.cpv-blog-page .section-posts-related .section-title { font-size: 28px; margin-bottom: 30px; }
.cpv-blog-page .swiper-posts-related-slider { padding: 5px 5px 45px; }
.cpv-blog-page .swiper-posts-related-slider:not(.swiper-initialized) .swiper-wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cpv-blog-page .swiper-pagination-bullet-active { background: var(--cpv-primary); }
.cpv-card-excerpt { margin: .75rem 0 0; color: #4e4e4f; line-height: 1.5; }
.cpv-blog-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0; }
.cpv-blog-pagination .page-numbers { padding: 10px 15px; border: 1px solid var(--cpv-primary); color: var(--cpv-dark); text-decoration: none; }
.cpv-blog-pagination .current { background: var(--cpv-primary); color: #fff; }
.cpv-category-intro { margin-bottom: 30px; color: #4e4e4f; }
.cpv-post-detail .post-detail-body { line-height: 1.7; }
.cpv-post-detail .post-detail-body img { max-width: 100%; height: auto; }
.cpv-post-detail .post-detail-body a { color: var(--cpv-primary); }
.cpv-post-detail .post-detail-header .post-category a { margin-right: 8px; }
.cpv-post-detail .post-detail-header .post-title { overflow-wrap: anywhere; }
.cpv-post-detail .post-detail-footer .footer-action { flex-wrap: wrap; gap: 24px; }
.cpv-post-detail .post-detail-footer .footer-action .content-share { width: auto; margin-left: 0; }
.cpv-post-featured { margin: 0 0 35px; }
.cpv-post-featured img { display: block; width: 100%; height: auto; }
.cpv-post-detail .post-detail-footer .btn-contact { text-decoration: none; }
@media (max-width: 991.98px) {
	.cpv-contact-form-section .form-contact-info { padding: 40px 0; }
	.cpv-contact-form-section .form-contact-submit { padding: 40px 25px; }
	.cpv-contact-form-section .form-contact-submit::after { width: 100%; }
	.cpv-map-frame { padding-top: 60%; }
	.cpv-news-mosaic { grid-template-columns: 3fr 2fr; grid-auto-rows: 260px; }
	.cpv-news-mosaic .post .post-body .post-title { font-size: 19px; }
}
@media (max-width: 767.98px) {
	.cpv-contact-hero .banner { padding-top: 250px; }
	.cpv-contact-legal { padding: 20px 15px 0; }
	.cpv-contact-map { padding: 45px 0; }
	.cpv-map-frame { padding-top: 85%; }
	.cpv-contact-form-section .form-contact-submit { padding: 30px 16px; }
	.cpv-news-mosaic { display: block; }
	.cpv-news-featured.swiper-initialized .cpv-news-mosaic { display: flex; }
	.cpv-news-mosaic .swiper-slide { height: 400px; margin-bottom: 16px; }
	.cpv-news-mosaic .post .post-body .post-title,
	.cpv-news-mosaic > .swiper-slide:first-child .post-title { font-size: 23px; }
	.cpv-news-featured { padding-bottom: 30px; }
	.cpv-news-featured.swiper-initialized .swiper-pagination { display: block; }
	.cpv-news-listing .news-listing-header .nav .nav-item { width: 50%; }
	.cpv-news-listing .news-listing-header .nav .nav-link { font-size: 15px; padding: 14px 5px; }
	.cpv-blog-page .swiper-posts-related-slider:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
	body.page-fixed::before {
		content: none;
	}

	.cpv-menu-backdrop {
		position: fixed;
		inset: 0;
		z-index: 99;
		background: rgba(0, 0, 0, 0.5);
	}

	.sidenav .navbar-nav .nav-item > .nav-link.dropdown-toggle {
		position: relative;
		top: auto;
		right: auto;
		padding: 15px 40px 15px 28px;
	}

	.navbar-cuongphatvina .navbar-brand img {
		max-width: 170px;
		max-height: 58px;
	}

	.navbar-cuongphatvina .cpv-search-dropdown {
		min-width: min(300px, calc(100vw - 2rem));
	}
}

@media (max-width: 339.98px) {
	.navbar-cuongphatvina .navbar-brand img {
		max-width: 130px;
	}

	.group-action-menu .cpv-search-dropdown {
		position: fixed !important;
		top: 76px !important;
		right: 1rem !important;
		left: 1rem !important;
		width: auto;
		min-width: 0;
		margin: 0 !important;
		transform: none !important;
	}
}
