:root {
    --chq-blue: #173d82;
    --chq-blue-dark: #102f68;
    --chq-blue-soft: #eaf4ff;
    --chq-orange: #ffb11b;
    --chq-red: #ee2635;
    --chq-ink: #18315f;
    --chq-muted: #66758f;
    --chq-line: #dfe7f2;
    --chq-bg: #f5f8fc;
    --chq-shadow: 0 10px 28px rgba(34, 62, 105, .09);
}

/* Product archives ------------------------------------------------------- */
.post-type-archive-product .shop-page-title,
.tax-product_cat .shop-page-title {
    background: linear-gradient(180deg, #f4f8fd 0%, #fff 100%);
    border-bottom: 1px solid #e9eef5;
}

.post-type-archive-product .shop-container,
.tax-product_cat .shop-container {
    background: #fff;
    padding-bottom: 52px;
}

.post-type-archive-product .products.row,
.tax-product_cat .products.row {
    row-gap: 24px;
}

.post-type-archive-product .product-small .col-inner,
.tax-product_cat .product-small .col-inner {
    height: 100%;
}

.post-type-archive-product .product-small .box,
.tax-product_cat .product-small .box {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e9f3;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(31, 61, 104, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.post-type-archive-product .product-small .box:hover,
.tax-product_cat .product-small .box:hover {
    border-color: #b9cce7;
    box-shadow: 0 14px 30px rgba(31, 61, 104, .13);
    transform: translateY(-5px);
}

.post-type-archive-product .product-small .box-image,
.tax-product_cat .product-small .box-image {
    height: auto !important;
    aspect-ratio: 1 / 1;
    padding: 14px;
    background: linear-gradient(180deg, #fff 72%, #f7faff 100%);
}

.post-type-archive-product .product-small .box-image .image-fade_in_back,
.tax-product_cat .product-small .box-image .image-fade_in_back,
.post-type-archive-product .product-small .box-image a,
.tax-product_cat .product-small .box-image a {
    width: 100%;
    height: 100%;
}

.post-type-archive-product .product-small .box-image img,
.tax-product_cat .product-small .box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-type-archive-product .product-small .box-text,
.tax-product_cat .product-small .box-text {
    min-height: 142px;
    padding: 14px 16px 17px;
    border-top: 1px solid #edf1f6;
    text-align: left;
}

.post-type-archive-product .product-small .product-title,
.tax-product_cat .product-small .product-title {
    min-height: 45px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

.post-type-archive-product .product-small .product-title a,
.tax-product_cat .product-small .product-title a {
    color: var(--chq-ink);
}

.post-type-archive-product .product-small .price,
.tax-product_cat .product-small .price {
    display: flex;
    min-height: 27px;
    align-items: baseline;
    gap: 8px;
    color: var(--chq-red);
    font-size: 17px;
    font-weight: 800;
}

.post-type-archive-product .product-small .price del,
.tax-product_cat .product-small .price del {
    order: 2;
    color: #9aa5b5;
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
}

.post-type-archive-product .product-small .price ins,
.tax-product_cat .product-small .price ins {
    order: 1;
    text-decoration: none;
}

.post-type-archive-product .badge-container,
.tax-product_cat .badge-container {
    top: 12px;
    left: 12px;
    margin: 0;
}

.post-type-archive-product .badge-container .badge,
.tax-product_cat .badge-container .badge,
.single-product .badge-container .badge {
    width: auto;
    height: auto;
}

.post-type-archive-product .badge-container .badge-inner,
.tax-product_cat .badge-container .badge-inner,
.single-product .badge-container .badge-inner,
.post-type-archive-product .badge-container > .onsale,
.tax-product_cat .badge-container > .onsale,
.single-product .badge-container > .onsale {
    display: inline-flex;
    min-width: 46px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    background: var(--chq-orange);
    border: 0;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.post-type-archive-product .product-small .image-tools.top.right,
.tax-product_cat .product-small .image-tools.top.right {
    top: auto;
    right: 14px;
    bottom: 14px;
    padding: 0;
}

.post-type-archive-product .product-small .image-tools a,
.tax-product_cat .product-small .image-tools a {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--chq-blue);
    border: 0;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 5px 12px rgba(23, 61, 130, .25);
}

/* Single product: top section ------------------------------------------- */
.single-product #main {
    background: var(--chq-bg);
}

.single-product .shop-container {
    padding: 18px 0 56px;
}

.single-product .product-main {
    padding: 0;
}

.single-product .product-main > .row {
    width: min(1430px, calc(100vw - 30px));
    max-width: min(1430px, calc(100vw - 30px));
    align-items: stretch;
    gap: 24px;
    margin: 0 auto;
}

.single-product .product-gallery,
.single-product .product-summary {
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 16px;
    box-shadow: var(--chq-shadow);
}

.single-product .product-gallery {
    width: calc(54% - 12px);
    max-width: calc(54% - 12px);
    flex-basis: calc(54% - 12px);
    padding: 14px;
}

.single-product .product-summary {
    width: calc(46% - 12px);
    max-width: calc(46% - 12px);
    flex-basis: calc(46% - 12px);
    padding: 24px 24px 20px;
}

.single-product #product-sidebar {
    display: none !important;
}

.single-product .product-images {
    margin-bottom: 12px;
}

.single-product .product-gallery-slider {
    overflow: hidden;
    border: 1px solid #edf1f6;
    border-radius: 12px;
}

.single-product .product-gallery-slider .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100%;
    height: 520px;
}

.single-product .product-gallery-slider .woocommerce-product-gallery__image a,
.single-product .product-gallery-slider .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.single-product .product-gallery-slider .woocommerce-product-gallery__image img {
    object-fit: contain;
}

.single-product .product-thumbnails {
    margin-right: -5px;
    margin-left: -5px;
}

.single-product .product-thumbnails .col {
    max-width: 20%;
    flex-basis: 20%;
    padding: 0 5px;
}

.single-product .product-thumbnails a {
    height: 82px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e3e9f1;
    border-radius: 8px;
}

.single-product .product-thumbnails .is-nav-selected a {
    border-color: var(--chq-orange);
}

.single-product .product-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.single-product .woocommerce-breadcrumb {
    margin-bottom: 14px;
    color: #8b98aa;
    font-size: 10px;
    font-weight: 600;
}

.single-product .product-title {
    margin: 0 0 10px;
    color: var(--chq-ink);
    font-size: clamp(22px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.35px;
}

.single-product .product-summary > .is-divider,
.single-product .product-summary > .price-wrapper {
    display: none;
}

.chq-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 14px;
}

.chq-product-badges span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #eef5ff;
    border-radius: 999px;
    color: #426088;
    font-size: 11px;
    font-weight: 700;
}

.chq-product-badges span:nth-child(2) {
    background: #fff4df;
    color: #a46700;
}

.chq-product-badges span:nth-child(3) {
    background: #eaf9ee;
    color: #2e8b4e;
}

.single-product .product-short-description {
    margin-bottom: 13px;
    color: #6c7c93;
    font-size: 14px;
    line-height: 1.62;
}

.single-product .product-short-description p {
    margin: 0;
}

.chq-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 14px;
}

.chq-feature-card {
    display: flex;
    min-height: 75px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border: 1px solid var(--chq-line);
    border-radius: 8px;
    text-align: center;
}

.chq-feature-icon {
    height: 22px;
    margin-bottom: 2px;
    font-size: 17px;
    line-height: 1;
}

.chq-feature-card strong {
    color: var(--chq-ink);
    font-size: 12px;
    line-height: 1.25;
}

.chq-feature-card small {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    color: #8491a4;
    font-size: 10px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Variation pills and live price */
.single-product form.cart {
    display: block !important;
    margin: 0 !important;
}

.single-product form.variations_form table.variations {
    margin: 0 0 10px;
}

.single-product .chq-native-variation-row {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.single-product .chq-variation-row td {
    padding: 0 !important;
    border: 0;
}

.chq-variation-group {
    margin: 0 0 12px;
}

.chq-variation-label {
    margin-bottom: 7px;
    color: var(--chq-ink);
    font-size: 12px;
    font-weight: 800;
}

.chq-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chq-variation-option {
    min-height: 34px;
    margin: 0;
    padding: 7px 11px;
    background: #fff;
    border: 1px solid #cfd9e7;
    border-radius: 6px;
    color: #53657f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}

.chq-variation-option:hover,
.chq-variation-option.is-selected {
    background: #f4f8ff;
    border-color: var(--chq-blue);
    color: var(--chq-blue);
    box-shadow: inset 0 0 0 1px var(--chq-blue);
}

.chq-price-panel {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    margin: 8px 0 11px;
    padding: 10px 14px;
    background: var(--chq-blue-soft);
    border-radius: 9px;
}

.chq-price-label {
    color: #344762;
    font-size: 12px;
    font-weight: 800;
}

.chq-live-price .price,
.chq-live-price > .amount,
.chq-live-price ins {
    color: var(--chq-red) !important;
    font-size: 20px;
    font-weight: 850;
    text-decoration: none;
}

.chq-live-price .price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0;
}

.chq-live-price del {
    order: -1;
    color: #98a5b7 !important;
    font-size: 12px;
    font-weight: 500;
    opacity: 1;
}

.chq-discount {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 3px 7px;
    background: var(--chq-red);
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.single-product .woocommerce-variation.single_variation {
    display: none !important;
}

.single-product .woocommerce-variation-add-to-cart,
.single-product form.cart:not(.variations_form) {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
}

.single-product form.cart .quantity {
    display: none !important;
}

body.single-product form.cart button.single_add_to_cart_button.button,
body.single-product form.cart button.buy_now_button.button.alt {
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    flex: 1 1 50% !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 46px !important;
    text-transform: none !important;
}

body.single-product form.cart button.single_add_to_cart_button.button {
    background: var(--chq-orange) !important;
    border-color: var(--chq-orange) !important;
    color: #fff !important;
}

body.single-product form.cart button.buy_now_button.button.alt {
    background: var(--chq-blue) !important;
    border-color: var(--chq-blue) !important;
    color: #fff !important;
}

.chq-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.chq-action {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--chq-orange);
    border: 1px solid var(--chq-orange);
    border-radius: 10px;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(255, 177, 27, .2);
}

.chq-action-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.chq-action-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.chq-action-copy b,
.chq-action-copy small {
    display: block;
    white-space: nowrap;
    line-height: 1.2;
}

.chq-action-copy b { font-size: 13px; }
.chq-action-copy small { margin-top: 2px; color: inherit; font-size: 12px; font-weight: 800; opacity: 1; }

.chq-action--zalo {
    background: var(--chq-blue);
    border-color: var(--chq-blue);
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(23, 61, 130, .2);
}

.chq-action-icon--zalo {
    background: #fff;
    color: var(--chq-blue);
    font-size: 11px;
}

/* Service, details, video, consultation ------------------------------- */
.single-product .product-footer > .container {
    width: min(1430px, calc(100vw - 30px));
    max-width: min(1430px, calc(100vw - 30px));
    padding: 0;
}

.chq-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 22px 0 18px;
    padding: 17px 10px;
    background: #fff;
    border: 1px solid #e3eaf3;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(34, 62, 105, .06);
}

.chq-service-strip > div {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border-right: 1px solid #e6ebf3;
    color: var(--chq-ink);
    font-size: 14px;
}

.chq-service-strip > div:last-child { border-right: 0; }
.chq-service-strip span { font-size: 20px; }

.chq-details {
    display: grid;
    grid-template-columns: 1fr 1.06fr;
    gap: 18px;
}

.chq-benefits-panel,
.chq-specs-panel,
.chq-video-section {
    padding: 20px;
    background: #fff;
    border: 1px solid #e3eaf3;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(34, 62, 105, .06);
}

.chq-details h2,
.chq-video-section h2 {
    margin: 0 0 12px;
    color: var(--chq-ink);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
}

.chq-benefits-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chq-benefits-panel li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 22px;
    color: #52647d;
    font-size: 14px;
    line-height: 1.58;
}

.chq-benefits-panel li::before {
    position: absolute;
    top: 1px;
    left: 0;
    width: 15px;
    height: 15px;
    background: #1589ef;
    border-radius: 50%;
    color: #fff;
    content: "✓";
    font-size: 10px;
    font-weight: 800;
    line-height: 15px;
    text-align: center;
}

.chq-specs-panel dl { margin: 0; }

.chq-specs-panel dl > div {
    display: grid;
    grid-template-columns: minmax(130px, 32%) 1fr;
    overflow: hidden;
    margin-bottom: 7px;
    background: #f8fbff;
    border: 1px solid #dfe8f4;
    border-radius: 7px;
}

.chq-specs-panel dt,
.chq-specs-panel dd {
    margin: 0;
    padding: 9px 11px;
    font-size: 12px;
    line-height: 1.45;
}

.chq-specs-panel dt {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    background: #edf4ff;
    color: var(--chq-blue);
    font-weight: 800;
    text-transform: uppercase;
}

.chq-specs-panel dt span {
    display: inline-flex;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    align-items: center;
    justify-content: center;
    background: var(--chq-blue);
    border-radius: 4px;
    color: #fff;
    font-size: 9px;
}

.chq-specs-panel dd {
    color: #3d4e67;
    font-weight: 600;
}

.chq-video-section {
    margin-top: 18px;
}

.chq-video-frame {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    background: #10182a;
    border-radius: 10px;
}

.chq-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.chq-consultation {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 30px;
    align-items: center;
    margin-top: 18px;
    padding: 30px 36px;
    background: linear-gradient(135deg, #0750a7 0%, #163d83 58%, #0f2f69 100%);
    border-radius: 13px;
    box-shadow: 0 12px 30px rgba(16, 54, 116, .18);
    color: #fff;
}

.chq-consultation-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #ffd16d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chq-consultation h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-transform: none;
}

.chq-consultation-copy > p {
    max-width: 650px;
    margin: 0 0 18px;
    color: #dbe8ff;
    font-size: 13px;
}

.chq-consultation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chq-consultation-links a {
    display: flex;
    min-width: 185px;
    flex-direction: column;
    padding: 9px 13px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    color: #fff !important;
    font-size: 11px;
}

.chq-consultation-card {
    padding: 22px;
    background: #fff;
    border-radius: 10px;
    color: var(--chq-ink);
    text-align: center;
}

.chq-consultation-card h3 {
    margin: 0 0 6px;
    color: var(--chq-ink);
    font-size: 18px;
}

.chq-consultation-card p {
    margin: 0 0 14px;
    color: #728097;
    font-size: 11px;
}

.chq-consultation-card .button {
    width: 100%;
    margin: 0;
    background: var(--chq-orange);
    border-radius: 7px;
    color: #fff;
    font-size: 12px;
    text-transform: none;
}

.single-product .related-products-wrapper,
.single-product .upsells-wrapper {
    margin-top: 25px;
}

/* Main product catalogue ------------------------------------------------ */
.tax-product_cat.term-san-pham .shop-page-title {
    display: none;
}

.tax-product_cat.term-san-pham .shop-container {
    padding-top: 0;
    background: #fff;
}

.chq-catalog-hero {
    position: relative;
    width: 100vw;
    min-height: min(760px, 40vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background:
        linear-gradient(90deg, #052c5a 0%, #073a73 43%, rgba(5, 34, 71, .28) 66%, rgba(5, 34, 71, .06) 100%),
        var(--chq-hero-image) center 42% / cover no-repeat;
    color: #fff;
}

.chq-catalog-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(2, 27, 58, .28));
    content: "";
    pointer-events: none;
}

.chq-catalog-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1430px, calc(100vw - 40px));
    min-height: min(760px, 40vw);
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 70px 0 58px;
}

.chq-catalog-hero__copy {
    width: min(620px, 52vw);
}

.chq-catalog-hero__copy > span {
    display: inline-flex;
    margin-bottom: 17px;
    padding: 7px 13px;
    background: rgba(255, 177, 27, .13);
    border: 1px solid rgba(255, 177, 27, .58);
    border-radius: 999px;
    color: #ffc23f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.chq-catalog-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 52px;
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.chq-catalog-hero h1 em {
    display: block;
    margin-top: 7px;
    color: var(--chq-orange);
    font-style: normal;
}

.chq-catalog-hero p {
    max-width: 590px;
    margin: 0 0 25px;
    color: #d9e8f8;
    font-size: 15px;
    line-height: 1.65;
}

.chq-catalog-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chq-catalog-hero__buttons a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: var(--chq-orange);
    border: 2px solid var(--chq-orange);
    border-radius: 7px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.chq-catalog-hero__buttons a:last-child {
    background: transparent;
    border-color: rgba(255, 255, 255, .75);
}

.chq-catalog-hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 560px;
    margin-top: 28px;
}

.chq-catalog-hero__trust b {
    padding: 10px 13px;
    background: rgba(5, 30, 64, .44);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 7px;
    color: #e6f1ff;
    font-size: 11px;
    font-weight: 650;
}

.chq-catalog-layout {
    width: min(1430px, calc(100vw - 40px));
    max-width: min(1430px, calc(100vw - 40px));
    margin: 0 auto;
    padding-top: 40px;
}

.chq-catalog-layout > .large-3 {
    max-width: 235px;
    flex: 0 0 235px;
}

.chq-catalog-layout > .large-9 {
    max-width: calc(100% - 235px);
    flex: 0 0 calc(100% - 235px);
}

.chq-catalog-filter {
    padding: 0 12px 20px 0;
}

.chq-catalog-filter fieldset {
    margin: 0 0 24px;
    padding: 0 0 20px;
    border: 0;
    border-bottom: 1px solid #e5e9ef;
}

.chq-catalog-filter legend {
    margin: 0 0 13px;
    color: #263b61;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.chq-catalog-filter label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: #4e5e75;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.35;
}

.chq-catalog-filter input[type="checkbox"] {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 0;
    accent-color: var(--chq-blue);
}

.chq-catalog-filter button,
.chq-filter-reset {
    display: flex;
    width: 100%;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0 0 9px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.chq-catalog-filter button {
    background: var(--chq-blue);
    border-color: var(--chq-blue);
    color: #fff;
}

.chq-filter-reset {
    background: #fff;
    border: 1px solid #d9e1ed;
    color: #617089 !important;
}

.chq-mobile-filter {
    display: none;
}

.term-san-pham .shop-container .woocommerce-products-header {
    margin: 0 0 7px;
}

.term-san-pham .shop-container .woocommerce-products-header__title {
    margin: 0;
    color: var(--chq-blue);
    font-size: 25px;
    font-weight: 850;
    text-transform: none;
}

.term-san-pham .shop-container .shop-page-title.category-page-title {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
}

.term-san-pham .shop-container .shop-page-title .page-title-inner {
    min-height: 42px;
    padding: 0;
}

.term-san-pham .shop-container .products.row {
    margin-right: -7px;
    margin-left: -7px;
    row-gap: 18px;
}

.chq-catalog-heading {
    margin: 0 0 16px;
}

.chq-catalog-heading h2 {
    margin: 0 0 10px;
    color: var(--chq-blue);
    font-size: 25px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: none;
}

.chq-catalog-heading nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 15px;
    color: #8a96a7;
    font-size: 11px;
}

.chq-catalog-heading nav span {
    color: #52627a;
    font-weight: 750;
}

.chq-catalog-heading nav a {
    color: #8a96a7;
}

.chq-catalog-heading nav a:hover {
    color: var(--chq-blue);
}

.term-san-pham .shop-container .products.row > .product-small {
    max-width: 25%;
    flex-basis: 25%;
    padding-right: 7px;
    padding-left: 7px;
}

.term-san-pham .product-small.box {
    max-width: 100%;
    flex-basis: auto;
}

.term-san-pham .product-small .col-inner {
    position: relative;
    display: block !important;
    width: 100%;
}

.term-san-pham .product-small .box {
    width: 100%;
}

.term-san-pham .product-small .box {
    border: 1px solid #dce4ee;
    border-radius: 11px;
    box-shadow: 0 5px 14px rgba(31, 61, 104, .09);
}

.term-san-pham .product-small .box-image {
    padding: 8px;
}

.term-san-pham .product-small .box-text {
    position: relative;
    min-height: 142px;
    padding: 12px 11px 34px;
}

.term-san-pham .product-small .product-title {
    min-height: 52px;
    margin: 0 0 7px;
    font-size: 12px;
    line-height: 1.38;
}

.term-san-pham .product-small .price {
    display: flex;
    min-height: 23px;
    align-items: baseline;
    gap: 6px;
    color: var(--chq-blue) !important;
    font-size: 15px;
    font-weight: 850;
}

.term-san-pham .product-small .price ins {
    color: var(--chq-blue) !important;
}

.term-san-pham .product-small .price del {
    color: #8995a7 !important;
    font-size: 10px;
    font-weight: 500;
}

.term-san-pham .badge-container {
    display: none;
}

.chq-loop-discount {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    height: 14px;
    align-items: center;
    justify-content: center;
    background: #ed1c2f;
    border-radius: 3px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
}

.chq-loop-plus {
    position: absolute;
    right: 4px;
    bottom: 7px;
    z-index: 4;
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: var(--chq-blue);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(23, 61, 130, .26);
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.term-san-pham .woocommerce-pagination {
    margin: 38px 0 55px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .single-product .product-main > .row,
    .single-product .product-footer > .container {
        width: min(1000px, calc(100vw - 28px));
        max-width: min(1000px, calc(100vw - 28px));
    }

    .single-product .product-gallery-slider .woocommerce-product-gallery__image { height: 430px; }
    .single-product .product-title { font-size: 22px; }
    .chq-feature-card { min-height: 70px; }
}

@media (max-width: 849px) {
    .single-product .shop-container { padding-top: 10px; overflow-x: hidden; }

    .single-product .product-main { overflow: hidden; }

    .single-product .product-main > .row,
    .single-product .product-footer > .container {
        display: block;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin-right: auto !important;
        margin-left: auto !important;
        padding: 0 !important;
    }

    .single-product .product-gallery,
    .single-product .product-summary {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
    }

    .single-product .product-images,
    .single-product .product-gallery-slider,
    .single-product .product-gallery-slider .flickity-viewport {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .product-gallery { margin-bottom: 12px; padding: 10px; }
    .single-product .product-summary { padding: 18px 14px; }
    .single-product .product-gallery-slider .woocommerce-product-gallery__image { height: min(88vw, 480px); }
    .single-product .product-title { font-size: 20px; }

    .chq-service-strip {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 8px;
    }

    .chq-service-strip > div {
        min-height: 58px;
        justify-content: flex-start;
        padding: 8px 10px;
        border-right: 0;
        font-size: 11px;
    }

    .chq-details { grid-template-columns: 1fr; }

    .chq-consultation {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 26px 18px;
    }

    .chq-catalog-hero {
        min-height: 520px;
        background-position: 64% center;
    }

    .chq-catalog-hero__inner {
        width: calc(100vw - 28px);
        padding: 58px 0 40px;
    }

    .chq-catalog-hero__copy {
        width: 100%;
        padding: 24px 18px;
        background: rgba(4, 35, 73, .78);
        border-radius: 12px;
        backdrop-filter: blur(2px);
    }

    .chq-catalog-hero h1 { font-size: 34px; }
    .chq-catalog-layout { width: calc(100vw - 20px); max-width: calc(100vw - 20px); padding-top: 25px; }
    .chq-catalog-layout > .large-9 { max-width: 100%; flex-basis: 100%; }

    .chq-mobile-filter {
        display: block;
        width: 100%;
        margin: 0 0 26px;
    }

    .chq-mobile-filter > summary {
        display: flex;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 17px;
        background: var(--chq-blue);
        border-radius: 8px;
        box-shadow: 0 7px 18px rgba(28, 61, 126, .2);
        color: #fff;
        cursor: pointer;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: .02em;
        list-style: none;
        text-transform: uppercase;
        user-select: none;
    }

    .chq-mobile-filter > summary::-webkit-details-marker {
        display: none;
    }

    .chq-mobile-filter__arrow {
        width: 0;
        height: 0;
        border-top: 5px solid #fff;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        transition: transform .2s ease;
    }

    .chq-mobile-filter[open] .chq-mobile-filter__arrow {
        transform: rotate(180deg);
    }

    .chq-mobile-filter__content {
        margin-top: 10px;
        padding: 18px 16px 9px;
        background: #fff;
        border: 1px solid #e0e6ef;
        border-radius: 8px;
        box-shadow: 0 7px 20px rgba(28, 61, 126, .1);
    }

    .chq-mobile-filter .chq-catalog-filter {
        padding: 0;
    }

    .chq-mobile-filter .chq-catalog-filter fieldset {
        margin-bottom: 18px;
        padding-bottom: 13px;
    }

    .chq-mobile-filter .chq-catalog-filter label {
        min-height: 28px;
        margin-bottom: 4px;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .post-type-archive-product .product-small .box-text,
    .tax-product_cat .product-small .box-text { min-height: 132px; padding: 11px; }

    .post-type-archive-product .product-small .product-title,
    .tax-product_cat .product-small .product-title { min-height: 58px; font-size: 12px; }

    .post-type-archive-product .product-small .price,
    .tax-product_cat .product-small .price { display: block; font-size: 14px; }

    .post-type-archive-product .product-small .price del,
    .tax-product_cat .product-small .price del { display: block; margin-top: 2px; }

    .chq-product-badges { gap: 5px; }
    .chq-product-badges span { padding: 5px 7px; font-size: 9px; }
    .chq-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
    .chq-feature-card { min-height: 68px; padding: 5px 2px; }
    .chq-feature-card strong { font-size: 11px; }
    .chq-feature-card small { font-size: 9px; }

    .chq-variation-option { min-height: 38px; flex: 1 1 calc(50% - 4px); }
    .chq-price-panel { flex-wrap: wrap; gap: 6px; }
    .chq-live-price .price,
    .chq-live-price > .amount,
    .chq-live-price ins { font-size: 18px; }

    body.single-product form.cart button.single_add_to_cart_button.button,
    body.single-product form.cart button.buy_now_button.button.alt {
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 5px !important;
        font-size: 11px !important;
        line-height: 48px !important;
    }

    .chq-specs-panel dl > div { grid-template-columns: 38% 62%; }
    .chq-specs-panel dt,
    .chq-specs-panel dd { padding: 8px; font-size: 11px; }
    .chq-benefits-panel li { font-size: 13px; }
    .chq-benefits-panel,
    .chq-specs-panel,
    .chq-video-section { padding: 15px; }
    .chq-consultation h2 { font-size: 21px; }

    .chq-service-strip > div { font-size: 12px; }
    .chq-catalog-hero { min-height: 560px; }
    .chq-catalog-hero h1 { font-size: 29px; }
    .chq-catalog-hero p { font-size: 13px; }
    .chq-catalog-hero__buttons { display: grid; }
    .chq-catalog-hero__buttons a { width: 100%; }
    .chq-catalog-hero__trust { grid-template-columns: 1fr; }

    .term-san-pham .shop-container .products.row { row-gap: 12px; }
    .term-san-pham .shop-container .products.row > .product-small { padding-right: 5px; padding-left: 5px; }
    .term-san-pham .shop-container .products.row > .product-small { max-width: 50%; flex-basis: 50%; }
    .term-san-pham .product-small .box-text { min-height: 140px; padding: 10px 9px 32px; }
    .term-san-pham .product-small .product-title { min-height: 64px; font-size: 11px; }
    .term-san-pham .product-small .price { font-size: 13px; }
}
