/* ==========================================================================
   Quà Quê Việt – CSS cho các template: chi tiết sản phẩm, danh mục, blog
   ========================================================================== */

/* ---------- Chung ---------- */
.qqv-page { padding-top: 0; padding-bottom: 10px; }
.qqv-bc {background: #1e6845;border-bottom: 2px solid #e0d8ce;padding: 7px 15px;margin: 0 0 15px;}
.qqv-bc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.qqv-bc li {margin: 0;color: #ffffff;font-size: 14px;line-height: 1.9;}
.qqv-bc li + li::before { content: "/"; margin: 0 8px; color: #9b8b75; }
.qqv-bc a {color: #ffffff;}
.qqv-bc a:hover {color: #d38b1f;}
.qqv-panel { background: rgba(255, 255, 255, .62); padding: 15px; margin-bottom: 20px; }
.qqv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 15px; }
.qqv-empty { padding: 30px 0; text-align: center; }
.qqv-panel .qqv-mail { margin: 25px 0 5px; }

/* Khung viền đỏ + hoa văn góc */
.qqv-redframe { position: relative; background: #fff; padding: 10px; }
.qqv-redframe::before {content: "";position: absolute;inset: 0 25px;border-top: 2px solid #1e6845;border-bottom: 2px solid #1e6845;pointer-events: none;}
.qqv-redframe::after {content: "";position: absolute;inset: 25px 0;border-left: 2px solid #1e6845;border-right: 2px solid #1e6845;pointer-events: none;}
.qqv-redframe__c { position: absolute; width: 42px; height: 42px; background: no-repeat; background-size: contain; z-index: 1; pointer-events: none; }
.qqv-redframe__c.tl { top: 0; left: 0; background-image: url(/wp-content/uploads/2026/11/d_top_left.png); background-position: top left; }
.qqv-redframe__c.tr { top: 0; right: 0; background-image: url(/wp-content/uploads/2026/11/d_top_right.png); background-position: top right; }
.qqv-redframe__c.bl { bottom: 0; left: 0; background-image: url('/wp-content/uploads/2026/11/d_bottom_left.png'); background-position: bottom left; }
.qqv-redframe__c.br { bottom: 0; right: 0; background-image: url(/wp-content/uploads/2026/11/d_bottom_right.png); background-position: bottom right; }
.qqv-redframe__inner { position: relative; padding: 20px 10px; }

/* Nhãn tiêu đề ở sidebar: phủ hết chiều ngang */
.qqv-title--side { margin: 0 0 6px; border-bottom: 0; }
.qqv-title--side .qqv-title__badge { display: block; width: 100%; margin: 0; }
.qqv-title--side .qqv-title__inner { padding: 6px 20px; }
.qqv-title--side .qqv-title__txt { font-size: 20px; }

/* Sidebar Bản tin nổi bật */
.qqv-sidenews .qqv-redframe__inner { padding: 22px 4px; }
.qqv-sidenews__item { display: flex; gap: 10px; align-items: flex-start; }
.qqv-sidenews__item + .qqv-sidenews__item { margin-top: 10px; }
.qqv-sidenews__img { flex: 0 0 94px; }
.qqv-sidenews__img img { display: block; width: 94px; height: 63px; object-fit: cover; }
.qqv-sidenews__title { color: #f2641e; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qqv-sidenews__item:hover .qqv-sidenews__title { color: var(--qqv-red); }

/* Phân trang */
.qqv-pagination { list-style: none; display: flex; justify-content: center; margin: 15px 0 25px; padding: 0; }
.qqv-pagination li { margin: 0; }
.qqv-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 29px; height: 30px; padding: 0 6px; border: 1px solid #e5e5e5; background: #fff; color: #777; font-size: 14px; margin-left: -1px; }
.qqv-pagination .page-numbers.current { background: #f49f1d; border-color: #f49f1d; color: #fff; }
.qqv-pagination a.page-numbers:hover { color: var(--qqv-orange); }

/* Nội dung bài viết / mô tả */
.qqv-content { color: #000; font-size: 14px; line-height: 1.75; }
.qqv-content * { font-family: "Space Grotesk", sans-serif !important; }
.qqv-content p { margin-bottom: 12px; }
.qqv-content h1, .qqv-content h2, .qqv-content h3, .qqv-content h4 { color: #000; line-height: 1.5; margin: 14px 0 10px; }
.qqv-content h2 { font-size: 18px; }
.qqv-content h3 { font-size: 16px; }
.qqv-content img { max-width: 100%; height: auto; }
.qqv-content figure { display: inline-block; max-width: 100%; margin: 0 0 12px; background: #f5f5f5; }
.qqv-content figcaption { text-align: center; color: #777; font-size: 14px; padding: 2px 6px; }
.qqv-content a { color: #c03a0c; }
.qqv-content ul, .qqv-content ol { margin-left: 20px; }
.qqv-content table { width: 100%; }
.qqv-content .wrap-toc { background: #fffaf3; border: 1px solid #ecdcc2; padding: 10px 15px; margin: 10px 0 15px; }
.qqv-content .wrap-toc li { margin-left: 0 !important; }
.qqv-content .wrap-toc li p { margin: 0; }

/* ==========================================================================
   CHI TIẾT SẢN PHẨM
   ========================================================================== */
.qqv-sp__top { display: grid; grid-template-columns: 430px minmax(0, 1fr) 282px; gap: 15px; align-items: start; }
.qqv-gallery__main { position: relative; background: #fff; }
.qqv-gallery__slide { display: none; }
.qqv-gallery__slide.is-active { display: block; }
.qqv-gallery__slide img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.qqv-gallery__nav { position: relative; margin-top: 10px; }
.qqv-gallery__thumbs { display: flex; overflow: hidden; border-left: 1px solid #ebebeb; border-right: 1px solid #ebebeb; }
.qqv-gallery__thumb { flex: 0 0 25%; margin: 0; padding: 10px; background: #fff; border: 1px solid #ebebeb; border-radius: 0; cursor: pointer; opacity: .75; min-height: 0; line-height: 0; }
.qqv-gallery__thumb.is-active, .qqv-gallery__thumb:hover { opacity: 1; border-color: var(--qqv-tan); }
.qqv-gallery__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.qqv-gallery__arrow { position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0; padding: 0; border: 0; min-height: 0; background: url(../img/p_icon_prev.png) no-repeat center; background-size: 30px 30px; cursor: pointer; }
.qqv-gallery__arrow.prev { left: -15px; }
.qqv-gallery__arrow.next { right: -15px; background-image: url(../img/p_icon_next.png); }

.qqv-sp__title {color: #000000;font-size: 20px;font-weight: 700;line-height: 1.4;margin: 0 0 6px;}
.qqv-sp__rate { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.qqv-sp__rate .qqv-stars { color: #f0ad4e; font-size: 16px; }
.qqv-sp__votetxt { color: #1769aa; font-size: 12px; }
.qqv-sp__desc {color: #000000;font-size: 14px;line-height: 1.55;margin-bottom: 15px;}
.qqv-sp__desc p { margin: 0 0 6px; }

.qqv-specs {
	position: relative;
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid #1e6845;
	padding: 14px 22px;
	margin: 0 0 15px;
	background: linear-gradient(180deg, #fbf3e4, #f6ead2);
	font-size: 13.5px;
}
.qqv-specs::before {content: "";position: absolute;inset: 4px;border: 1px solid #1e6845;pointer-events: none;}
.qqv-specs::after {
	content: ""; position: absolute; inset: 7px; 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;
}
.qqv-specs__label {flex: 0 0 150px;color: #000000;font-weight: 500;display: inline-flex;align-items: center;gap: 6px;}
.qqv-barcode { display: inline-block; width: 14px; height: 12px; background: repeating-linear-gradient(90deg, #930001 0 1px, transparent 1px 2px, #930001 2px 4px, transparent 4px 5px); }
.qqv-specs__val {color: #000000;font-weight: 600;}

.qqv-cartform { margin: 0; }
.qqv-pricebox { border: 1px solid #ebebeb; background: #fff; margin-bottom: 15px; }
.qqv-pricebox__item { padding: 10px 15px; color: #797776; font-size: 15px; line-height: 1.6; }
.qqv-pricebox__item + .qqv-pricebox__item { border-top: 1px solid #ebebeb; }
.qqv-pricebox__label { color: #797776; font-weight: 700; font-size: 14px; }
.qqv-pricebox__label del { color: #797776; font-weight: 400; margin: 0 2px; }
.qqv-pricebox__label del .amount { color: #797776; }
.qqv-pricebox__price, .qqv-pricebox__price .amount { color: #df4711; font-size: 25px; font-weight: 700; }
.qqv-pricebox__stock { color: #b45309; }
.qqv-pricebox__qty { display: flex; align-items: center; gap: 8px; }
.qqv-pricebox__qty .quantity { margin: 0 !important; opacity: 1; }
.qqv-pricebox__qty .quantity input { height: 30px; min-height: 30px; }

/* .qqv-buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } */
.qqv-buy__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	height: 56px; margin: 0; padding: 0 10px 0 20px; border: 0; border-radius: 0;
	font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; cursor: pointer;
}
.qqv-buy__btn.qqv-corners::before {inset: 4px;border: 1px solid #f3ba38;background-size: 16px 14px;}
.qqv-buy__btn--now {background: #1e6845;color: #fff600;}
.qqv-buy__btn--cart { background: #fc8800; color: #5a1a00; }
.qqv-buy__btn--out { grid-column: 1 / -1; background: #777; color: #fff; cursor: default; }
.qqv-buy__btn:hover { filter: brightness(1.08); }
.qqv-buy__icon { font-size: 22px; line-height: 1; display: inline-flex; }
.qqv-buy__icon--plus { width: 26px; height: 26px; border: 2px solid currentColor; border-radius: 50%; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; }

/* Khung cam kết */
.qqv-commit__logo { display: block; text-align: center; margin: 4px 0 20px; }
.qqv-commit__logo img { width: 83%; }
.qqv-commit__list { list-style: none; margin: 0 0 15px; padding: 0; }
.qqv-commit__list li {display: flex;align-items: center;gap: 12px;margin: 0 0 10px;color: #1e6845;font-size: 14px;line-height: 1.5;}
.qqv-commit__list img { flex: 0 0 39px; width: 39px; height: 39px; object-fit: contain; }
.qqv-commit__title {color: #000000;font-weight: 700;font-size: 14px;margin: 0 0 8px;}
.qqv-contact--sm li {font-size: 14px;color: #000000;margin-bottom: 3px;align-items: flex-start;}
.qqv-commit__hotline { margin-top: 18px; text-align: center; }
.qqv-commit__hotline .qqv-hotline img { width: 239px; max-width: 100%; height: auto; }

/* Phần dưới: mô tả + liên quan */
.qqv-sp__bottom { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 15px; margin-top: 30px; align-items: start; }
.qqv-tabs {background: #f3f3f3;padding: 5px 10px 10px;}
.qqv-tabs__nav { list-style: none; display: flex; margin: 0 0 18px; padding: 0; border-bottom: 1px solid #e5d9cf; }
.qqv-tabs__nav li { margin: 0; }
.qqv-tabs__nav a { display: block; padding: 10px 20px; color: #5e4938; font-size: 18px; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.qqv-tabs__nav li.is-active a {color: #1e6845;border-bottom-color: #1e6845;}
.qqv-sp .qqv-content { padding: 0 0 10px; }

.qqv-reviews { margin-top: 15px; padding: 10px; border: 1px solid var(--qqv-tan); background: rgba(255, 255, 255, .6); }
.qqv-rsum { display: flex; align-items: center; border: 1px solid #e5e5e5; padding: 15px; background: #fff; margin-bottom: 15px; }
.qqv-rsum__avg { min-width: 160px; text-align: center; color: #fd9727; font-size: 38px; font-weight: 700; border-right: 1px solid #e5e5e5; }
.qqv-rsum__bars { flex: 1; padding: 0 20px; }
.qqv-rsum__row { display: flex; align-items: center; gap: 12px; }
.qqv-rsum__row + .qqv-rsum__row { margin-top: 7px; }
.qqv-rsum__star { min-width: 28px; color: #333; font-size: 14px; }
.qqv-rsum__star span, .qqv-rsum__avg span { color: #fd9727; }
.qqv-rsum__bar { flex: 1; height: 7px; background: #e6e6e6; border-radius: 4px; overflow: hidden; }
.qqv-rsum__bar span { display: block; height: 100%; background: #f23b00; }
.qqv-rsum__count { min-width: 80px; text-align: right; color: #1769aa; font-size: 14px; }
.qqv-reviews .woocommerce-Reviews-title { font-size: 16px; color: #5e4938; }

.qqv-sp__related .qqv-related { margin: 0 !important; }
.qqv-sp__related .qqv-related > .col { padding: 0 0 12px !important; flex-basis: 100%; max-width: 100%; }

/* ==========================================================================
   DANH MỤC SẢN PHẨM
   ========================================================================== */
.qqv-catbanners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.qqv-catbanners__item img { display: block; width: 100%; height: auto; }
.qqv-archive__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; border-bottom: 2px solid var(--qqv-red); margin-bottom: 12px; }
.qqv-archive__head .qqv-title { border-bottom: 0; margin: 0; }
.qqv-filters { display: flex; gap: 10px; padding-bottom: 6px; }
.qqv-filter { position: relative; }
.qqv-filter__btn {
	margin: 0; height: 38px; padding: 0 36px 0 15px; min-height: 0;
	background: #fff; border: 1px solid #e5e5e5; border-radius: 0; color: #555;
	font-size: 14px; font-weight: 400; text-transform: none; letter-spacing: 0; position: relative;
}
.qqv-filter__btn::after { content: ""; position: absolute; right: 14px; top: 13px; width: 7px; height: 7px; border-right: 1px solid #555; border-bottom: 1px solid #555; transform: rotate(45deg); }
.qqv-filter__menu { display: none; position: absolute; right: 0; top: 100%; z-index: 30; min-width: 220px; list-style: none; margin: 2px 0 0; padding: 6px 0; background: #fff; border: 1px solid #e5e5e5; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.qqv-filter.is-open .qqv-filter__menu { display: block; }
.qqv-filter__menu li { margin: 0; }
.qqv-filter__menu a { display: block; padding: 6px 15px; color: #555; font-size: 14px; }
.qqv-filter__menu a:hover { background: #f3f3f3; color: var(--qqv-orange); }
.qqv-archive .products.row { margin-left: -7.5px !important; margin-right: -7.5px !important; }
.qqv-archive .products .product-small.col { padding: 0 7.5px 15px !important; }
@media (min-width: 850px) {
	.qqv-archive .products .product-small.col { flex-basis: 20%; max-width: 20%; }
}
.qqv-catdesc { margin-top: 10px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.qqv-pills { display: flex; gap: 10px; overflow-x: auto; margin: 25px 0 12px; padding-bottom: 4px; }
.qqv-pill { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 118px; height: 38px; padding: 0 30px; border-radius: 5px; background: var(--pill); color: #fff; font-size: 14px; text-transform: uppercase; white-space: nowrap; }
.qqv-pill:hover, .qqv-pill.is-active { color: #333; }
.qqv-blog__banner { margin-bottom: 8px; }
.qqv-blog__banner img { display: block; width: 100%; height: auto; }
.qqv-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.qqv-pcard { background: #f8f3ef; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); display: flex; flex-direction: column; }
.qqv-pcard__img img { display: block; width: 100%; aspect-ratio: 281 / 185; object-fit: cover; }
.qqv-pcard__body { padding: 15px 10px 12px; }
.qqv-pcard__title { font-size: 16px; font-weight: 700; line-height: 1.45; margin: 0 0 12px; }
.qqv-pcard__title a { color: #3d2a1c; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qqv-pcard__title a:hover { color: var(--qqv-orange); }
.qqv-pcard__desc { color: #c35a1c; font-size: 14px; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Chi tiết bài viết */
.qqv-single__title { color: #3d3d3d; font-size: 28px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.qqv-single__meta { display: flex; align-items: center; gap: 8px; color: #777; font-size: 14px; margin-bottom: 18px; }
.qqv-single__meta a { color: #777; }
.qqv-single__avatar { border-radius: 50%; }
.qqv-single__dot { font-size: 8px; color: #777; }
.qqv-single__meta time { font-size: 13px; }
.qqv-single__content { text-align: justify; }
.qqv-single__content figure { display: block; margin-left: auto; margin-right: auto; text-align: center; }
.qqv-single__content figcaption { color: #e8546b; font-style: italic; }
.qqv-single__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 20px 0 10px; }
.qqv-single__actions { flex: 1; display: flex; gap: 6px; }
.qqv-single__btn { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border: 1px solid #e5e5e5; background: #fff; color: #555; font-size: 13px; }
.qqv-single__date { color: #777; font-size: 14px; }
.qqv-share { display: flex; align-items: center; gap: 6px; color: #777; font-size: 14px; }
.qqv-share a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #ebebeb; color: #666; }
.qqv-share a:hover { background: var(--qqv-orange); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.qqv-sp__top { grid-template-columns: 380px minmax(0, 1fr); }
	.qqv-sp__aside { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 849px) {
	.qqv-layout, .qqv-sp__bottom { grid-template-columns: 1fr; }
	.qqv-sp__top { grid-template-columns: 1fr; }
	.qqv-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.qqv-archive__head { flex-wrap: wrap; }
	.qqv-filters { width: 100%; justify-content: flex-end; }
	.qqv-catbanners { grid-template-columns: 1fr; }
}
@media (max-width: 549px) {
	.qqv-pgrid { grid-template-columns: 1fr; }
	.qqv-buy { grid-template-columns: 1fr; }
	.qqv-single__title { font-size: 22px; }
	.qqv-rsum { flex-direction: column; }
	.qqv-rsum__avg { border-right: 0; border-bottom: 1px solid #e5e5e5; margin-bottom: 10px; }
	.qqv-rsum__bars { padding: 0; width: 100%; }
}

/* ==========================================================================
   GIỎ HÀNG + THANH TOÁN (gộp 1 trang)
   ========================================================================== */
.qqv-cartpage .qqv-panel { padding: 15px; }
.qqv-checkout { margin: 0; }
.qqv-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 15px; align-items: start; }
.qqv-cartbox .qqv-redframe__inner { padding: 18px 20px 10px; }
.qqv-cartbox__title { display: flex; align-items: center; gap: 8px; color: #df4711; font-size: 20px; font-weight: 700; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #e5e5e5; }
.qqv-cartbox__icon { display: inline-flex; color: #df4711; font-size: 20px; }
.qqv-checkout__col:last-child .qqv-cartbox__title { justify-content: center; border-bottom: 0; padding-bottom: 0; }
.qqv-cartbox__sub { color: #000; font-size: 15px; font-weight: 700; margin: 18px 0 6px; }

/* Danh sách sản phẩm */
.qqv-review.is-loading, .woocommerce-checkout-review-order-table.processing { opacity: .55; }
.qqv-review__item { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 15px; padding: 10px 0 18px; border-bottom: 1px solid #e5e5e5; }
.qqv-review__thumb { position: relative; display: block; width: 62px; }
.qqv-review__thumb img { width: 62px; height: 62px; object-fit: cover; display: block; }
.qqv-review__badge { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: #df4711; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.qqv-review__name { color: #df4711; font-weight: 700; font-size: 15px; line-height: 1.6; }
.qqv-review__name:hover { color: var(--qqv-red); }
.qqv-review__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.qqv-review__remove { margin: 0; padding: 2px; min-height: 0; line-height: 0; background: none; border: 0; color: #888; cursor: pointer; }
.qqv-review__remove:hover { color: #d40000; }
.qqv-review__price, .qqv-review__price .amount { color: #df4711; font-weight: 700; font-size: 15px; }
.qqv-review__qtylabel { color: #333; font-weight: 700; font-size: 14px; margin-top: 4px; }
.qqv-qty { display: inline-flex; border: 1px solid #e5e5e5; }
.qqv-qty__btn { width: 32px; height: 30px; margin: 0; padding: 0; min-height: 0; border: 0; background: #fff; color: #555; font-size: 18px; line-height: 30px; cursor: pointer; }
.qqv-qty__btn:hover { background: #f3f3f3; }
.qqv-qty__input { width: 48px !important; height: 30px !important; min-height: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; border-left: 1px solid #e5e5e5 !important; border-right: 1px solid #e5e5e5 !important; box-shadow: none !important; text-align: center; font-size: 14px; -moz-appearance: textfield; }
.qqv-qty__input::-webkit-inner-spin-button, .qqv-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Tổng tiền */
.qqv-review__totals { width: 100%; margin: 8px 0 14px; border-collapse: collapse; }
.qqv-review__totals th, .qqv-review__totals td { padding: 12px; border: 0; font-size: 14px; text-transform: none; letter-spacing: 0; }
.qqv-review__totals tr.qqv-review__total th, .qqv-review__totals tr.qqv-review__total td { border-top: 1px solid #e5e5e5; }
.qqv-review__totals th { color: #000; font-weight: 700; text-align: left; }
.qqv-review__totals td { text-align: right; color: #df4711; font-weight: 700; }
.qqv-review__totals td .amount { color: #df4711; }
.qqv-review__totals .woocommerce-remove-coupon { font-size: 12px; color: #888; font-weight: 400; margin-left: 6px; }
.qqv-free { color: #029934; }
.qqv-coupon { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.qqv-coupon__input { width: 195px !important; height: 30px !important; min-height: 0; margin: 0 !important; padding: 0 8px !important; border: 1px solid #e5e5e5 !important; border-right: 0 !important; box-shadow: none !important; font-size: 14px; }
.qqv-coupon__btn { height: 30px; min-height: 0; margin: 0; padding: 0 12px; background: #faa053; border: 1px solid #faa053; border-radius: 0; color: #fff; font-size: 14px; line-height: 28px; font-weight: 400; }
.qqv-coupon__btn:hover { background: var(--qqv-orange); }

/* Thông tin khách hàng */
.qqv-customer .form-row { margin: 0 0 10px; padding: 0; width: 100%; float: none; }
.qqv-customer .form-row > label { display: none; }
.qqv-customer input.input-text, .qqv-customer select, .qqv-customer textarea {
	height: 40px; margin: 0; padding: 0 10px; border: 1px solid #e5e5e5; border-radius: 0; box-shadow: none;
	font-size: 14px; color: #333; background-color: #fff;
}
.qqv-customer textarea { height: 72px; padding: 8px 10px; }
.qqv-customer .woocommerce-invalid input.input-text, .qqv-customer .woocommerce-invalid select { border-color: #d40000; }
.qqv-customer .optional { display: none; }
.qqv-payment { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.qqv-payment .wc_payment_methods { list-style: none; margin: 0; padding: 0 !important; border: 0 !important; }
.qqv-payment .wc_payment_method { margin: 0 0 4px; padding: 0 !important; border: 0 !important; font-size: 14px; }
.qqv-payment .wc_payment_method > label { display: inline; font-size: 14px; font-weight: 400; color: #555; cursor: pointer; }
.qqv-payment .wc_payment_method > input { accent-color: #df4711; margin: 0 6px 0 0; vertical-align: -1px; }
.qqv-payment .payment_box { margin: 6px 0 8px !important; padding: 10px !important; border: 1px dashed #ccc; background: #fffaf3 !important; color: #555; font-size: 14px; }
.qqv-payment .payment_box::before { display: none !important; }

/* Nút MUA THÊM / GỬI ĐƠN HÀNG */
.qqv-cartbtn {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 100%; height: 50px; margin: 15px 0 0; padding: 0; border: 0; border-radius: 0;
	font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; cursor: pointer;
}
.qqv-cartbtn.qqv-corners::before { inset: 4px; border: 1px solid rgba(255, 255, 255, .45); background-size: 16px 14px; }
.qqv-cartbtn--buy { background: #f2641e; color: #fff !important; width: 50%; margin-left: auto; }
.qqv-cartbtn--send { background: #930000; color: #ffff00; }
.qqv-cartbtn:hover { filter: brightness(1.08); }
.qqv-cartempty { max-width: 720px; margin: 0 auto; }
.qqv-cartempty__body { padding: 30px 0 40px; text-align: center; color: #777; font-size: 15px; }
.qqv-cartempty .qqv-cartbtn--buy { width: 260px; margin: 15px auto 0; }
.qqv-cartpage .woocommerce-error, .qqv-cartpage .woocommerce-message, .qqv-cartpage .woocommerce-info { margin-bottom: 15px; }

/* Đặt hàng thành công */
.qqv-cartpage .woocommerce-order { max-width: 900px; margin: 0 auto; }
.qqv-cartpage .woocommerce-thankyou-order-received { color: #029934; font-size: 18px; font-weight: 700; text-align: center; }

@media (max-width: 849px) {
	.qqv-checkout__grid { grid-template-columns: 1fr; }
	.qqv-checkout__col:first-child .qqv-cartbtn--buy { display: none; }
}
@media (max-width: 549px) {
	.qqv-review__item { grid-template-columns: 52px minmax(0, 1fr); }
	.qqv-review__right { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
	.qqv-coupon__input { flex: 1; width: auto !important; }
}
