/* ==========================================================================
   Quà Quê Việt – giao diện (Flatsome child)
   Màu: đỏ đô #930000 · đỏ #ab0303 · cam #f2641e · viền cam #df4711
        nâu viền #b29160 · chữ nâu #7e6949 · nền be #ede6e0
   ========================================================================== */

@font-face {
	font-family: "UTM Ambrosia";
	src: url("../fonts/UTM-Ambrosia.ttf") format("truetype");
	font-display: swap;
}

:root {
	--qqv-red-dark: #1D6945;
	--qqv-red: #F3BA37;
	--qqv-orange: #1D6945;
	--qqv-orange-line: #1D6945;
	--qqv-tan: #b29160;
	--qqv-brown: #000;
	--qqv-beige: #ede6e0;
	--qqv-deco: "UTM Ambrosia", "Space Grotesk", sans-serif;
}

/* ---------- Nền trang: giấy dó + hoa sen hai bên + ảnh phố cổ ---------- */
body {
	font-family: "Space Grotesk", sans-serif;
	color: #000;
}
#wrapper,
#main,
.page-wrapper,
.header-wrapper:not(.stuck) .header-main,
.header-bg-color,
.footer-wrapper {
	background-color: transparent !important;
}
a { color: var(--qqv-red); }
a:hover { color: var(--qqv-orange); }

/* Hoa văn 4 góc (đỏ) – dùng cho nhãn tiêu đề, menu, nút */
.qqv-corners { position: relative; }
.qqv-corners::before {
	content: "";
	position: absolute;
	inset: 4px;
	pointer-events: none;
	background:
		url('/wp-content/uploads/2026/11/c_icon_bottom_left.png') no-repeat top left,
		url('/wp-content/uploads/2026/11/c_icon_top_right_F3BA37.png') no-repeat top right,
		url('/wp-content/uploads/2026/11/c_icon_bottom_left_F3BA37-1.png') no-repeat bottom left,
		url('/wp-content/uploads/2026/11/icon-2-F3BA37.png') no-repeat bottom right;
	background-size: 21px 19px;
}

/* Hoa văn 4 góc (nâu) – ô tab, khung ảnh */
.qqv-corners-box { position: relative; }
.qqv-corners-box::before {
	content: "";
	position: absolute;
	inset: 2px;
	pointer-events: none;
	background:
		url('/wp-content/uploads/2026/11/c_icon_bottom_left.png') no-repeat top left,
		url('/wp-content/uploads/2026/11/c_icon_top_right_F3BA37.png') no-repeat top right,
		url('/wp-content/uploads/2026/11/c_icon_bottom_left_F3BA37-1.png') no-repeat bottom left,
		url('/wp-content/uploads/2026/11/icon-2-F3BA37.png') no-repeat bottom right;
	background-size: 32px 29px;
}

/* Khung viền nâu cho slider / banner (gán class "qqv-frame" trong UX Builder) */
.qqv-frame { border: 2px solid var(--qqv-tan); position: relative; background: #fff; }
.qqv-frame::after {
	content: "";
	position: absolute;
	inset: 4px;
	z-index: 2;
	pointer-events: none;
	background:
		url(../img/box1_top_left.png) no-repeat top left,
		url(../img/box1_bottom_right.png) no-repeat bottom right;
	background-size: 32px 29px;
}
.qqv-frame img { display: block; width: 100%; }
.qqv-frame-plain { border: 2px solid var(--qqv-tan); }
.qqv-frame-plain img { display: block; width: 100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header-main .nav > li { margin: 0; }
.header-main .logo img { max-height: 71px; }

.qqv-hbadges { display: flex; gap: 32px; align-items: center; }
.qqv-hbadge { display: flex; align-items: center; gap: 10px; color: #000; font-size: 14px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.qqv-hbadge img { width: 48px; height: 47px; }
.qqv-hbadge b { display: block; font-weight: 700; text-transform: uppercase; }
.qqv-hbadge span span { display: block; font-weight: 400; }
a.qqv-hbadge:hover { color: var(--qqv-orange); }

.qqv-hacc { margin-left: 26px; font-size: 14px; line-height: 1.8; letter-spacing: 0; text-transform: none; }
.qqv-hacc__row { display: flex; align-items: center; gap: 8px; color: var(--qqv-orange); font-weight: 400; }
.qqv-hacc a { color: var(--qqv-orange); }
.qqv-hacc a:hover { color: var(--qqv-red); }
.qqv-hacc__icon { position: relative; color: #999; font-size: 18px; width: 22px; display: inline-flex; justify-content: center; }
.qqv-hacc__icon--cart::after {
	content: attr(data-count);
	position: absolute; top: -8px; right: -8px;
	min-width: 16px; height: 16px; padding: 0 3px;
	border-radius: 16px; background: var(--qqv-orange); color: #fff;
	font-size: 11px; line-height: 16px; text-align: center;
}
.qqv-hacc__icon--cart[data-count="0"]::after { display: none; }

/* Thanh đỏ header dưới */
.header-bottom { background-color: var(--qqv-red-dark) !important; min-height: 48px; }
.header-bottom .header-bottom-nav > li > a,
.header-bottom .nav > li > a {
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	padding: 0 14px;
}
.header-bottom .header-bottom-nav > li + li > a { border-left: 1px solid rgba(255, 255, 255, .85); line-height: 15px; }
.header-bottom .header-bottom-nav > li { margin: 0; }
.header-bottom .flex-left { flex: 1 1 auto; }
.header-bottom .flex-left > ul { width: 100%; flex-wrap: nowrap; }

/* Nút "DANH MỤC SẢN PHẨM" + menu dọc */
.header-vertical-menu { position: relative; margin-right: 6px !important; align-self: stretch; }
.header-vertical-menu__opener {
	width: 282px !important;
	height: 40px !important;
	margin-top: 4px;
	background: var(--qqv-red-dark) !important;
	border: 1px solid var(--qqv-orange-line);
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	padding: 0 22px !important;
	position: relative;
}
.header-vertical-menu__opener::before {
	content: ""; position: absolute; inset: 3px; pointer-events: none;
	background: url('/wp-content/uploads/2026/11/c_icon_bottom_left.png') no-repeat top left, url('/wp-content/uploads/2026/11/icon-2-F3BA37.png') no-repeat bottom right;
	background-size: 21px 19px;
}
.header-vertical-menu__opener:hover { background: var(--qqv-orange) !important; border-color: var(--qqv-orange); }
.header-vertical-menu__opener .icon-angle-down { display: none; }
.header-vertical-menu__title { font-weight: 500; }
.header-vertical-menu__fly-out {
	width: 282px !important;
	background: var(--qqv-red-dark) !important;
	border: 1px solid var(--qqv-orange-line);
	border-top: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
	margin-top: 4px;
}
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li {
	border-top: 1px solid var(--qqv-orange-line) !important;
	border-bottom: 0 !important;
}
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li:first-child { border-top: 0 !important; }
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li > a {
	min-height: 49.6px;
	padding: 5px 15px 5px 12px !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	display: flex !important;
	align-items: center;
	gap: 12px;
}
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li > a img { width: 32px; height: 32px; object-fit: contain; margin: 0 !important; }
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li:hover > a { background: var(--qqv-orange) !important; }
.header-vertical-menu__fly-out .ux-nav-vertical-menu > li.has-dropdown > a::after {
	content: "›"; margin-left: auto; font-size: 22px; line-height: 1; opacity: .9;
}
.header-vertical-menu__fly-out .icon-angle-down { display: none; }
.header-vertical-menu__fly-out .nav-dropdown {
	background: var(--qqv-red-dark) !important;
	border: 1px solid var(--qqv-orange-line) !important;
	min-width: 280px;
	padding: 15px 20px;
}
.header-vertical-menu__fly-out .nav-dropdown li a {
	color: #fff !important;
	font-size: 15px;
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 8px 0 !important;
	border-bottom: 1px dashed rgba(223, 71, 17, .6) !important;
}
.header-vertical-menu__fly-out .nav-dropdown li:last-child a { border-bottom: 0 !important; }
.header-vertical-menu__fly-out .nav-dropdown li a img { width: 28px; height: 28px; margin: 0 !important; }
.header-vertical-menu__fly-out .nav-dropdown li a:hover { color: #ffd79a !important; }

/* Ô tìm kiếm */
.header-bottom .header-search-form { flex: 1 1 auto; max-width: none !important; }
.header-bottom .flex-right { flex: 1 1 auto; max-width: 625px; }
.header-bottom .flex-right > ul { width: 100%; }
.header-bottom .flex-right .header-search-form { width: 100%; }
.header-bottom .searchform-wrapper,
.header-bottom .header-search-form-wrapper { width: 100%; }
.header-bottom .searchform .flex-row { flex-wrap: nowrap; }
.header-bottom .searchform input[type="search"] {
	height: 40px;
	border: 2px solid var(--qqv-orange) !important;
	border-right: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 14px;
	background: #fff;
}
.header-bottom .searchform input[type="search"]::placeholder { color: #e9d5d5; }
.header-bottom .searchform .ux-search-submit,
.header-bottom .searchform button[type="submit"] {
	height: 40px;
	min-width: 140px;
	border-radius: 0 !important;
	background: var(--qqv-orange) !important;
	color: #fff !important;
	font-size: 14px;
	text-transform: none;
	position: relative;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.header-bottom .searchform button[type="submit"]::after { content: "Tìm kiếm"; font-weight: 500; }
.header-bottom .searchform button[type="submit"]::before {
	content: ""; position: absolute; inset: 3px; pointer-events: none;
	background:
		url('/wp-content/uploads/2026/11/c_icon_bottom_left.png') no-repeat top left,
		url('/wp-content/uploads/2026/11/c_icon_top_right_F3BA37.png') no-repeat top right,
		url('/wp-content/uploads/2026/11/c_icon_bottom_left_F3BA37-1.png') no-repeat bottom left,
		url('/wp-content/uploads/2026/11/icon-2-F3BA37.png') no-repeat bottom right;
	background-size: 16px 14px;
}

/* Header mobile */
@media (max-width: 849px) {
	.header-main { background: #fff !important; }
	.header-main .logo img { max-height: 46px; }
	.header-bottom { display: none; }
}

/* ==========================================================================
   TRANG CHỦ
   ========================================================================== */
.qqv-home .section { padding-top: 0 !important; padding-bottom: 0 !important; }
.qqv-hero { padding-top: 15px !important; }
.qqv-hero .col { padding-bottom: 0 !important; }
.qqv-menu-space { min-height: 1px; }
.qqv-hero .qqv-side-banners .img { margin-bottom: 15px !important; }
.qqv-hero .qqv-side-banners .img:last-child { margin-bottom: 0 !important; }

/* slider chính */
.qqv .qqv-hero-slider .flickity-prev-next-button,
.qqv .qqv-hero-slider .slider:hover .flickity-prev-next-button,
.qqv .qqv-hero-slider .flickity-prev-next-button:hover {
	width: 22px !important; height: 22px !important;
	padding: 2px !important;
	background: #fff !important;
	border: 2px solid var(--qqv-tan) !important;
	transform: rotate(45deg) !important;
	transition: none !important;
	opacity: 1 !important;
	border-radius: 0 !important;
	top: calc(50% - 11px) !important;
	bottom: auto !important;
	margin: 0 !important;
	box-shadow: none !important;
}
.qqv-hero-slider .flickity-prev-next-button.previous { left: -12px !important; border-bottom: 0 !important; border-left: 0 !important; }
.qqv-hero-slider .flickity-prev-next-button.next { right: -12px !important; border-top: 0 !important; border-right: 0 !important; }
.qqv-hero-slider .flickity-prev-next-button svg { display: none; }
.qqv-hero-slider .flickity-prev-next-button::after { content: ""; position: absolute; inset: 2px; background: var(--qqv-tan); }
.qqv-hero-slider .flickity-viewport { overflow: hidden; }
.qqv-hero-slider.slider-wrapper,
.qqv-hero-slider .slider { overflow: visible !important; }
html { background-color: #f3f3f3 !important; }
.qqv-hero-slider .flickity-page-dots { display: none; }
.qqv-hero-slider .img,
.qqv-hero-slider .img-inner { margin: 0 !important; }

/* ---------- Tab sản phẩm ---------- */
.qqv-ptabs { margin: 15px 0 25px; }
.qqv-ptabs__nav { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--qqv-tan); margin-bottom: 20px; background: rgba(214, 205, 191, .6); }
.qqv-ptabs__btn {
	display: flex; align-items: center; gap: 12px;
	margin: 0; padding: 6px 30px; min-height: 70px;
	background: transparent; border: 0; border-left: 1px solid var(--qqv-tan);
	border-radius: 0; color: var(--qqv-brown);
	font-size: 17px; font-weight: 400; text-transform: uppercase; letter-spacing: 0;
	box-shadow: none; cursor: pointer; text-align: left; line-height: 1.3;
}
.qqv-ptabs__btn:first-child { border-left: 0; }
.qqv-ptabs__btn img { height: 57px; width: auto; max-width: 67px; object-fit: contain; filter: grayscale(.1); }
.qqv-ptabs__btn:hover,
.qqv-ptabs__btn.is-active { color: var(--qqv-orange-line); background: rgba(255, 255, 255, .35); }
.qqv-ptabs__body { display: flex; gap: 15px; }
.qqv-ptabs__banner { flex: 0 0 calc(32.5% - 0px); }
.qqv-ptabs__banner a { display: block; height: 100%; border: 2px solid var(--qqv-tan); }
.qqv-ptabs__banner a::before { inset: 6px; background-size: 32px 29px;
	background-image: url(../img/box1_top_left.png), url(../img/box1_top_right.png), url(../img/box1_bottom_left.png), url(../img/box1_bottom_right.png); }
.qqv-ptabs__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qqv-ptabs__panes { flex: 1 1 auto; min-width: 0; }
.qqv-ptabs__pane { display: none; }
.qqv-ptabs__pane.is-active { display: block; }
.qqv-ptabs__pane .row { margin-left: -7.5px !important; margin-right: -7.5px !important; }

/* ---------- Tiêu đề khối ---------- */
.qqv-title {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 15px;
	border-bottom: 2px solid var(--qqv-red);
	margin: 25px 0 12px;
}
.qqv-title__badge { display: inline-block; background: var(--qqv-red-dark); padding: 3px 5px; margin-bottom: -2px; }
.qqv-title__inner {
	display: flex; align-items: center; gap: 14px;
	border: 1.2px solid var(--qqv-orange-line);
	padding: 6px 40px 6px 28px;
	min-height: 40px;
}
.qqv-title__icon { height: 30px; width: auto; }
.qqv-title__txt { font-family: var(--qqv-deco); color: #fff; font-size: 22px; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.qqv-title__more { color: var(--qqv-red); font-size: 18px; padding-bottom: 6px; white-space: nowrap; }
.qqv-title__more:hover { color: var(--qqv-orange); }
.qqv-title--compact .qqv-title__more { font-size: 18px; }

/* Banner trong khối danh mục */
.qqv-cat-banner,
.qqv-cat-banner .img-inner { height: 100%; }
.qqv-cat-banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.qqv-wide-banner { position: relative; margin-bottom: 8px !important; }
.qqv-wide-banner::after {
	content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .9); pointer-events: none;
}
.qqv-stretch > .col-inner,
.qqv-stretch > .col-inner > .img { height: 100%; }
.qqv-row-cat > .col { padding-bottom: 0 !important; }
@media (min-width: 550px) {
	.qqv-row-cat > .qqv-col-20 { flex-basis: 20%; max-width: 20%; }
	.qqv-row-cat > .qqv-col-80 { flex-basis: 80%; max-width: 80%; }
}

/* ==========================================================================
   THẺ SẢN PHẨM
   ========================================================================== */
.product-small.box {
	border: 1px solid #1e6845;
	background: #f3f3f3;
	display: flex;
	flex-direction: column;
}
.product-small.col > .col-inner { height: 100%; }
.slider .product-small.col { padding-bottom: 0 !important; }
.product-small .box-image { background: #fff; }
.product-small .box-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-small .box-text {
	padding: 18px 10px 12px !important;
	text-align: center;
	flex: 1 1 auto;
	display: flex; flex-direction: column;
}
.product-small .title-wrapper { min-height: 46px; margin-bottom: 18px; }
.product-small .product-title,
.product-small .name.product-title { margin: 0; }
.product-small .product-title a,
.product-small .name.product-title a {
	color: var(--qqv-brown) !important;
	font-size: 16px; line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-small .product-title a:hover { color: var(--qqv-orange-line) !important; }
.product-small .price-wrapper {margin-top: auto;min-height: 55px;}
.product-small .price-wrapper .price {
	display: flex !important; flex-wrap: wrap; justify-content: center; align-items: baseline;
	gap: 0 15px; margin: 0 0 4px; line-height: 1.6;
}
.product-small .price del { color: #58585a !important; opacity: 1; font-size: 15px; font-weight: 400; order: 1; }
.product-small .price del .amount { color: #58585a !important; font-weight: 400; }
.product-small .price ins { order: 2; text-decoration: none; }
.product-small .price ins .amount,
.product-small .price > .amount { color: #c03a0c !important; font-weight: 700; font-size: 16px; }
.product-small .price .screen-reader-text { display: none; }

.qqv-rate { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 14px; color: #58585a; font-size: 15px; }
.qqv-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: #f35c00; white-space: nowrap; }
.qqv-stars::before { content: "☆☆☆☆☆"; }
.qqv-stars__on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; }
.qqv-stars__on::before { content: "★★★★★"; }

.qqv-sold {
	position: relative; display: block; height: 18px; border-radius: 10px;
	background: #5f5f5f; overflow: hidden; margin: 0 1px;
}
.qqv-sold__bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(to right, #F3BA37, #D38B1F); border-radius: 10px; }
.qqv-sold__txt { position: relative; display: block; color: #fff; font-size: 14px; font-weight: 600; line-height: 18px; text-align: center; }

/* Nhãn % giảm */
.product-small .badge-container { left: auto !important; right: 5px; top: 5px; margin: 0 !important; }
.qqv-sale {
	width: 42px; height: 42px;
	background: url(../img/p_saleoff.png) no-repeat center / contain;
	display: flex; align-items: center; justify-content: center;
}
.qqv-sale span { color: #fff000; font-size: 16px; font-weight: 600; margin-top: -6px; }

/* Mũi tên slider sản phẩm */
/* Mũi tên hình thoi luôn hiện, căn giữa theo chiều cao thẻ, nằm đè lên mép (giống bản gốc).
   Không dùng transform vì Flatsome ghi đè transform khi hover (.slider:hover …) → mũi tên bị nhảy. */
.qqv .row-slider .flickity-prev-next-button,
.qqv .row-slider.slider:hover .flickity-prev-next-button,
.qqv .row-slider .flickity-prev-next-button:hover {
	width: 35px !important; height: 35px !important; padding: 0 !important;
	opacity: 1 !important; background: url(../img/p_icon_prev.png) no-repeat center / 30px 30px !important;
	border: 0 !important; box-shadow: none !important;
	top: 50% !important; bottom: auto !important; margin: -17px 0 0 !important;
	transform: none !important; transition: none !important;
}
.qqv .row-slider .flickity-prev-next-button.next,
.qqv .row-slider.slider:hover .flickity-prev-next-button.next { background-image: url(../img/p_icon_next.png) !important; }
.qqv .row-slider .flickity-prev-next-button.previous { left: -17px !important; right: auto !important; }
.qqv .row-slider .flickity-prev-next-button.next { right: -17px !important; left: auto !important; }
.qqv .row-slider .flickity-prev-next-button:hover { filter: brightness(1.1); }
.qqv-products .flickity-prev-next-button.next,
.row-slider .flickity-prev-next-button.next { background-image: url(../img/p_icon_next.png) !important; }
.qqv-products .flickity-prev-next-button svg,
.row-slider .flickity-prev-next-button svg { display: none; }
.row-slider .flickity-page-dots { display: none; }

/* ==========================================================================
   VIDEO + BẢN TIN
   ========================================================================== */
.qqv-video-caption { color: var(--qqv-red); font-weight: 700; font-size: 16px; margin-top: 12px; }
.qqv-video-caption a { color: var(--qqv-red); }
.qqv-news { background: var(--qqv-beige); padding: 10px; }
.qqv-news__item { display: flex; gap: 18px; }
.qqv-news__item + .qqv-news__item { margin-top: 18px; }
.qqv-news__img { flex: 0 0 186px; border: 1px solid #e0be91; padding: 3px; background: #fff; align-self: flex-start; }
.qqv-news__img img { display: block; width: 100%; aspect-ratio: 186 / 120; object-fit: cover; }
.qqv-news__title { font-size: 16px; font-weight: 700; margin: 0 0 12px; line-height: 1.45; }
.qqv-news__title a { color: #c03a0c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qqv-news__desc { color: #674527; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qqv-news__meta { font-size: 14px; color: var(--qqv-orange); margin-top: 2px; }
.qqv-news__meta a { color: var(--qqv-orange); }
.qqv-news__meta .sep { margin: 0 6px; color: #888; }

/* ==========================================================================
   ĐĂNG KÝ NHẬN KHUYẾN MÃI
   ========================================================================== */
.qqv-mail {
	display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
	border: .8px solid #b7986b; background: #1e6845; padding: 10px 15px;
	margin: 45px 0 30px;
}
.qqv-mail__head { display: flex; align-items: center; gap: 12px; flex: 0 0 300px; }
.qqv-mail__head img { height: 56px; width: auto; }
.qqv-mail__head span { color: var(--qqv-red); font-weight: 700; font-size: 22px; line-height: 1.6; max-width: 180px; }
.qqv-mail__form { display: flex; flex: 1 1 400px; margin: 0; }
.qqv-mail__input {
	flex: 1 1 auto; height: 54px !important; margin: 0 !important;
	border: 2px solid var(--qqv-red) !important; border-radius: 0 !important; box-shadow: none !important;
	color: #c26a1f; font-size: 20px !important; background: #fff !important;
}
.qqv-mail__input::placeholder { color: #f4b072; }
.qqv-mail__btn {
	margin: 0 0 0 6px; height: 54px; min-width: 255px; padding: 0 20px;
	background: var(--qqv-red-dark); color: #fff; border: 0; border-radius: 0;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	font-family: var(--qqv-deco); font-size: 20px; font-weight: 400; text-transform: uppercase; letter-spacing: 0;
}
.qqv-mail__btn:hover { background: var(--qqv-orange); color: #fff; }
.qqv-mail__btn img { height: 33px; width: auto; }
.qqv-mail__msg { flex-basis: 100%; margin: 0; color: #029934; }

/* Form Contact Form 7 bên trong khối đăng ký */
.qqv-mail__cf7wrap { flex: 1 1 400px; min-width: 0; }
.qqv-mail__cf7wrap .wpcf7 form { margin: 0; }
.qqv-mail__cf7wrap .qqv-mail__form { display: flex; align-items: flex-start; }
.qqv-mail__cf7wrap .wpcf7-form-control-wrap { flex: 1 1 auto; display: block; position: relative; }
.qqv-mail__cf7wrap .wpcf7-not-valid-tip { position: absolute; left: 0; top: 100%; font-size: 13px; color: #d40000; }
.qqv-mail__btnwrap { position: relative; display: block; margin-left: 6px; }
.qqv-mail__btnwrap::before { z-index: 1; }
.qqv-mail__cf7wrap input.qqv-mail__btn {
	display: block; margin: 0; height: 54px; min-width: 255px; padding: 0 22px 0 100px;
	background: #000 url(../img/c_icon_mail.png) no-repeat 28px center;
	background-size: auto 33px;
	border: 0; border-radius: 0; color: #fff;
	font-family: var(--qqv-deco); font-size: 20px; font-weight: 400; text-transform: uppercase; letter-spacing: 0;
}
.qqv-mail__cf7wrap input.qqv-mail__btn:hover { background-color: var(--qqv-orange); }
.qqv-mail__cf7wrap .wpcf7-spinner { position: absolute; right: 6px; top: 50%; margin: -12px 0 0; z-index: 2; }
.qqv-mail__cf7wrap .wpcf7-response-output { margin: 10px 0 0 !important; padding: 6px 12px !important; font-size: 14px; border-radius: 0; }
.qqv-mail__cf7wrap .wpcf7 form.sent .wpcf7-response-output { border-color: #029934; color: #029934; }
@media (max-width: 549px) {
	.qqv-mail__cf7wrap .qqv-mail__form { flex-wrap: wrap; gap: 8px; }
	.qqv-mail__btnwrap { margin: 0; width: 100%; }
	.qqv-mail__cf7wrap input.qqv-mail__btn { width: 100%; min-width: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.qqv-catbar { background: #fff; padding: 12px 0; }
.qqv-catbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.qqv-catbar__item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.qqv-catbar__item img { height: 32px; width: auto; }
.qqv-catbar__item:nth-child(1) span { color: #f49f1d; }
.qqv-catbar__item:nth-child(2) span { color: #b30000; }
.qqv-catbar__item:nth-child(3) span { color: #e8a317; }
.qqv-catbar__item:nth-child(4) span { color: #000; }
.qqv-catbar__item:nth-child(5) span { color: #f2a300; }
.qqv-catbar__item:nth-child(6) span { color: #0b6aa8; }
.qqv-pattern { height: 20px; background: url(../img/bg_f.png) repeat-x center; }

.qqv-footer { padding-top: 15px; }
.qqv-footer .col { padding-bottom: 10px; }
.qqv-footer-logo img { width: 270px !important; }
.qqv-ftitle {color: #1e6845;font-weight: 700;font-size: 14px;text-transform: uppercase;margin: 14px 0 12px;}
.qqv-contact, .qqv-checklist { list-style: none; margin: 0; padding: 0; }
.qqv-contact li {display: flex;align-items: center;gap: 12px;margin: 0 0 6px;color: #000000;font-size: 14px;line-height: 1.87;}
.qqv-contact li a {color: #000000;}
.qqv-contact__icon { flex: 0 0 22px; display: inline-flex; justify-content: center; }
.qqv-contact__icon img { max-width: 22px; max-height: 22px; }
.qqv-checklist li { margin: 0 0 9px !important; padding-left: 30px; background: url(../img/f_icon_check.png) no-repeat 0 0 / 22px 22px; line-height: 1.6; }
.qqv-checklist li a { color: #a15911; font-size: 14px; }
.qqv-checklist li a:hover { color: var(--qqv-orange); }
.qqv-social { display: flex; gap: 8px; margin: 18px 0; }
.qqv-social img { height: 34px; width: 34px; }
.qqv-hotline { position: relative; display: inline-block; }
.qqv-hotline img { display: block; width: 239px; height: 57px; }
.qqv-hotline__txt {position: absolute;top: 50%;right: 59px;transform: translateY(-50%);text-align: center;color: #fff;line-height: 1.3;font-size: 14px;}
.qqv-hotline__txt b { display: block; }
.qqv-payments { display: flex; flex-wrap: wrap; gap: 10px; max-width: 260px; margin-bottom: 20px; }
.qqv-payments span { display: inline-flex; width: 76px; height: 46px; background: #fff; border-radius: 6px; border: 1px solid #e5e5e5; align-items: center; justify-content: center; }
.qqv-payments img { max-width: 64px; max-height: 38px; }
.qqv-map { display: block; max-width: 300px; }
.qqv-map img { display: block; width: 100%; height: auto; }

.absolute-footer {
	background: var(--qqv-red-dark) !important;
	color: #fff !important;
	padding: 6px 0 !important;
	font-size: 14px;
}
.absolute-footer .container { max-width: 1230px; }
.absolute-footer.dark .footer-primary,
.absolute-footer .copyright-footer { color: #fff; padding: 0; }
.absolute-footer a { color: #fff; font-weight: 600; }
.absolute-footer .footer-secondary { display: none; }
/* Ảnh nền phố cổ gắn ở đáy body → footer không có padding dưới để ảnh nằm sau nội dung footer */
.footer-wrapper { padding-bottom: 0; }
.qqv-footer { padding-bottom: 30px; }

/* Nút liên hệ nổi */
.qqv-float { position: fixed; right: 0; bottom: 100px; z-index: 99; display: flex; flex-direction: column; gap: 8px; }
.qqv-float__btn {display: block;background: var(--qqv-red-dark);border: 2px solid #1e6845;border-right: 0;border-radius: 8px 0 0 8px;padding: 4px;}
.qqv-float__btn img { width: 40px; height: 40px; display: block; }
.back-to-top { display: none !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 849px) {
	.qqv-menu-space { display: none !important; }
	.qqv-ptabs__nav { grid-template-columns: repeat(2, 1fr); }
	.qqv-ptabs__btn { padding: 6px 12px; font-size: 14px; min-height: 56px; }
	.qqv-ptabs__btn img { height: 40px; }
	.qqv-ptabs__btn:nth-child(3) { border-left: 0; }
	.qqv-ptabs__btn:nth-child(n+3) { border-top: 1px solid var(--qqv-tan); }
	.qqv-ptabs__banner { display: none; }
	.qqv-title__txt { font-size: 18px; }
	.qqv-title__inner { padding: 4px 22px 4px 16px; }
	.qqv-title__more { font-size: 14px; }
	.qqv-mail__head { flex-basis: 100%; }
	.qqv-mail__btn { min-width: 0; }
}
@media (max-width: 549px) {
	.qqv-title__more { display: none; }
	.qqv-news__img { flex-basis: 120px; }
	.qqv-mail__form { flex-wrap: wrap; gap: 8px; }
	.qqv-mail__btn { margin: 0; width: 100%; }
	.product-small .box-text { padding: 10px 5px !important; }
	.product-small .product-title a { font-size: 14px; }
	.qqv-rate { flex-direction: column; gap: 2px; }
	.qqv-catbar__inner { justify-content: center; }
}
