
/* Flatsome mobile drawer. */
@media (max-width:849px) {
 body:has(.mfp-wrap :is(#main-menu,#shop-sidebar,#search-lightbox)) :is(#mq-sticky-buy,#mq-wish-fab,#mqcc-compare-bar) {display:none!important;}
 html body.single-product #mq-sticky-buy {
  display:flex;position:fixed;inset:auto 0 0;z-index:999;align-items:center;gap:8px;
  min-height:57px;transform:none;visibility:hidden;pointer-events:none;
  background:#fff;border-top:1px solid #dce6f0;
 }
 html body.single-product #mq-sticky-buy.is-visible {visibility:visible;pointer-events:auto;}
 html body.single-product.mqcc-bar-open #mq-sticky-buy {visibility:hidden;pointer-events:none;}
 html body.single-product #mq-sticky-buy .mq-sticky-buy__info {flex:1 1 0;min-width:0;}
 html body.single-product #mq-sticky-buy .mq-sticky-buy__name {display:block!important;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
 html body.single-product #mq-sticky-buy .mq-sticky-buy__price {font-size:14px;}
 html body.single-product #mq-sticky-buy img {width:39px;height:39px;object-fit:contain;}
 html body.single-product #mq-sticky-buy .mq-sticky-buy__btn {min-height:44px;padding-inline:10px;font-size:13px;white-space:nowrap;}
}
/* Mobile quick navigation and purchase-bar clearance. */
.mq-mobile-dock {display:none;}
@media (max-width:849px) {
 body {--mq-dock-height:calc(58px + env(safe-area-inset-bottom));padding-bottom:var(--mq-dock-height)!important;}
  .mq-mobile-dock {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;min-height:var(--mq-dock-height);box-sizing:border-box;z-index:1000;padding:4px 3px calc(4px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce6f0;box-shadow:0 -5px 20px #16355410;}
 .mq-mobile-dock a {display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:44px;gap:3px;color:#435d77;font-size:10px;font-weight:700;text-align:center;line-height:1.15;border-radius:8px;}
 .mq-mobile-dock a i {font-size:18px;}
 .mq-mobile-dock a[aria-current] {background:#edf5ff;color:#0756a8;}
 body:has(.mfp-wrap :is(#main-menu,#shop-sidebar,#search-lightbox)) .mq-mobile-dock,
 body.mqcc-bar-open .mq-mobile-dock {display:none!important;}
 html body.single-product #mq-sticky-buy {bottom:var(--mq-dock-height)!important;padding:6px 10px!important;}
 html body.single-product.mq-sticky-on {padding-bottom:calc(var(--mq-dock-height) + 57px)!important;}
 html body.single-product.mq-sticky-on:not(.mqcc-bar-open) .mqcc-bar.is-collapsed.is-visible {bottom:calc(var(--mq-dock-height) + 63px)!important;}
}

/* The original Minh Quân wave under the shared Flatsome header. */
#header .header-wrapper:not(.stuck)::after {
  content:"";display:block;position:relative;z-index:0;height:24px;pointer-events:none;
  background:#087fa3 url("/wp-content/uploads/2026/07/ChatGPT-Image-Jul-3-2026-01_09_05-PM-1.png") center top / 117px 26px no-repeat;
}
#header #masthead #logo > a {position:relative;z-index:2;}
@media (max-width:849px) {
  #header .header-wrapper:not(.stuck)::after {height:34px;background-size:165px 36px;}
  #header .header-wrapper:not(.stuck) #masthead #logo > a {top:5px;}
  #header a[aria-controls="main-menu"] {min-width:44px;min-height:44px;}
}

/* Mobile drawer using the native Flatsome accordion. */
@media (max-width:849px) {
 .mfp-content:has(#main-menu.mq-drawer) {width:min(82vw,340px);max-width:min(82vw,340px);}
 .mfp-wrap:has(#main-menu.mq-drawer) .mfp-close {visibility:hidden;}
 html body #main-menu.mq-drawer {width:100%!important;max-width:100%!important;background:#f5f8fc!important;}
 html body #main-menu.mq-drawer .sidebar-menu {width:100%!important;padding:0 12px calc(12px + env(safe-area-inset-bottom))!important;}
 #main-menu .mq-drawer-heading {display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 -12px 10px;padding:4px 10px 4px 12px;border-bottom:1px solid #e1eaf4;background:#fff;}
 #main-menu .mq-drawer-heading h2 {margin:0;font-size:17px;color:#143650;}
 #main-menu .mq-drawer-close {display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #dce6f0;border-radius:12px;background:#edf4fa;color:#174767;font-size:24px;line-height:1;}
 html body #main-menu.mq-drawer .nav-sidebar {display:flex!important;flex-flow:row wrap!important;gap:0 8px!important;margin:0!important;}
 html body #main-menu.mq-drawer .nav-sidebar > li {flex:0 0 100%;width:100%;max-width:100%;min-width:0;box-sizing:border-box;}
 html body #main-menu.mq-drawer .nav-sidebar > li.header-search-form {margin:0 0 8px!important;padding:0!important;}
 #main-menu.mq-drawer .header-search-form .flex-grow {min-width:0;}
 #main-menu.mq-drawer .header-search-form .search-field {width:100%;min-width:0;font-size:16px;}
 html body #main-menu.mq-drawer .nav-sidebar > li:is(.menu-item-2474,.menu-item-2475) {flex:0 0 calc(50% - 4px)!important;width:calc(50% - 4px)!important;max-width:calc(50% - 4px)!important;margin:0 0 8px!important;border:0!important;}
 html body #main-menu.mq-drawer .nav-sidebar > li:is(.menu-item-2474,.menu-item-2475) > a {justify-content:center;width:100%!important;margin:0!important;padding:7px!important;color:#185276!important;background:#eaf3fb!important;border:1px solid #d1e3f1!important;border-radius:10px!important;box-shadow:none!important;font-size:13px!important;}
 html body #main-menu.mq-drawer .nav-sidebar > li:is(.menu-item-2474,.menu-item-2475) > a::before,
 html body #main-menu.mq-drawer .nav-sidebar > li.menu-item-object-product_cat > a::after {content:none!important;display:none!important;}
 html body #main-menu.mq-drawer .nav-sidebar > li.menu-item-object-product_cat {display:flex!important;flex-wrap:wrap;align-items:center;gap:0 4px;margin:0!important;border:0!important;border-bottom:1px solid #e2ebf3!important;background:#fff;}
 html body #main-menu.mq-drawer .nav-sidebar > li.menu-item-object-product_cat > a {flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:6px 9px!important;border:0!important;border-radius:0!important;color:#173754!important;background:transparent!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere;}
 html body #main-menu.mq-drawer .nav-sidebar > li > button.toggle {position:static!important;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;opacity:1!important;border:0!important;background:transparent!important;color:#185276!important;}
 html body #main-menu.mq-drawer .nav-sidebar > li > ul.children {flex:0 0 100%;width:100%;margin:0!important;padding:5px 9px 7px 20px!important;background:#eef5fc;border-left:2px solid #b3d5ec;}
 html body #main-menu.mq-drawer .nav-sidebar > li > ul.children > li > a {min-height:44px;padding:8px 5px!important;color:#244765!important;font-size:14px!important;white-space:normal;overflow-wrap:anywhere;}
 html body #main-menu.mq-drawer .nav-sidebar > li.html.header-button-1 {margin:8px 0 0!important;padding:0!important;}
 html body #main-menu.mq-drawer .header-button-1 .button {min-height:46px!important;margin:0!important;border:0!important;border-radius:10px!important;background:#0e4267!important;}
 html body #main-menu.mq-drawer .header-button-1 .button :is(span,i) {color:#fff!important;}
}

/* Catalog labels and detail header. */
#main .badge-container {display:flex;flex-flow:column nowrap;align-items:flex-start;gap:5px;pointer-events:none;}
#main .badge-container .badge {display:block;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;}
#main .badge-container :is(.mq-catalog-flag,.badge-inner.on-sale) {
  display:inline-flex!important;align-items:center;min-height:24px;padding:4px 8px!important;
  border-radius:6px!important;color:#fff!important;font-size:12px!important;font-weight:700;line-height:1.1!important;white-space:nowrap;
}
#main .badge-container .mq-catalog-flag {background:#166b4b;}
#main .badge-container .badge-inner.on-sale {width:auto!important;height:auto!important;background:#a8283e!important;}
#main .badge-container .badge-inner.on-sale .onsale {position:static!important;background:none!important;color:inherit!important;font:inherit!important;padding:0!important;}
#main .product-small .out-of-stock-label {color:#354459;background:#f2f5f8;font-weight:700;}

/* Product detail styling. */
body.single-product #main:has(.mq-product-v2) {background:#fff;}
.mq-product-v2 .product-breadcrumb {padding:11px 0;color:#52647b;font-size:13px;line-height:1.4;overflow-wrap:anywhere;}
.mq-product-v2 .product-breadcrumb a {color:#285276;}
.mq-product-v2 .mq-product-v2-overview {align-items:flex-start;margin-top:6px;}
.mq-product-v2 .mq-product-v2-overview > .col {min-width:0;padding-bottom:17px;}
.mq-product-v2 .mq-product-v2-gallery .product-images {
 margin:0;padding:clamp(8px,2vw,24px);border:1px solid #e4edf5;border-radius:18px;background:#f5f8fc;
}
.mq-product-v2 .product-gallery-slider {margin:0;border-radius:12px;overflow:hidden;background:#fff;}
.mq-product-v2 .product-gallery-slider img {object-fit:contain;}
.mq-product-v2 .mq-product-v2-summary > .col-inner {padding:8px 3px 8px clamp(3px,1.5vw,20px)!important;}
body.single-product #main .mq-product-v2 .product_title {
 color:#122b46!important;font-size:clamp(1.45rem,3vw,2.12rem)!important;line-height:1.14;letter-spacing:-.028em;margin:0 0 7px;overflow-wrap:anywhere;
}
.mq-product-v2 .product-title-container .is-divider {display:none;}
.mq-product-v2 .mq-product-v2-summary .product-price-container .price-wrapper {padding:10px 12px;margin:12px 0 0;border:1px solid #e2eef9;border-radius:11px;background:#f0f7ff;}
body.single-product #main .mq-product-v2 .product-page-price {justify-content:flex-start!important;text-align:left!important;margin:0!important;gap:5px 10px!important;}
html body.single-product #main .mq-product-v2 .product-page-price .amount {color:#0a4f86!important;font-size:clamp(22px,3.5vw,31px)!important;}
html body.single-product #main .mq-product-v2 .product-page-price del .amount {color:#52667d!important;font-size:14px!important;}
.mq-product-v2 .stock {margin:10px 0;color:#146842!important;font-weight:700;}
.mq-product-v2 .stock.out-of-stock {color:#a23341!important;}
.mq-product-v2 .stock.available-on-backorder {color:#855300!important;}
html body.single-product #main .mq-product-v2 form.cart :is(.single_add_to_cart_button,.ux-buy-now-button) {
  min-width:0!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere;
  line-height:1.2!important;border-radius:9px!important;margin:0!important;
}
html body.single-product #main .mq-product-v2 form.cart .single_add_to_cart_button {background:#f0f7ff!important;color:#075689!important;border:1px solid #a0bfdc!important;}
html body.single-product #main .mq-product-v2 form.cart .ux-buy-now-button {background:#075689!important;color:#fff!important;border-color:#075689!important;}
#main .mq-product-v2 .mq-detail-actions {display:flex;flex-wrap:wrap;gap:7px;margin:7px 0 10px;}
html body.single-product #main .mq-product-v2 .mq-detail-actions :is(.mq-wish-btn--single,.mqcc-compare-button--single) {
  position:static!important;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;
  min-width:0!important;min-height:44px!important;height:auto!important;margin:0!important;padding:7px 10px!important;
  border:1px solid #e0e9f1!important;border-radius:8px!important;background:#fff!important;color:#295576!important;
}
#main .mq-product-v2 .mq-detail-actions :is(.mq-wish-label,.mqcc-compare-label) {display:inline!important;}
html body.single-product #main .mq-product-v2 .mq-detail-actions :is(.is-active,[aria-pressed="true"]) {background:#e9f5ff!important;color:#124d77!important;}
.mq-product-v2 .product_meta,.mq-product-v2 .mq-product-warranty {font-size:13px;color:#4c627a;margin:6px 0;}
.mq-product-v2 .mq-product-v2-highlights .product-short-description {
 margin:0 0 14px!important;background:#f5f8fc!important;color:#344e64!important;border:0!important;border-radius:12px!important;
}
.mq-product-v2 .product-short-description p:last-child {margin-bottom:0;}
.mq-product-v2 .mq-product-v2-details > .col > .col-inner {border:1px solid #e4edf5;border-radius:16px;padding:clamp(8px,2.2vw,22px);}
body.single-product #main .mq-product-v2 .tabbed-content > .nav {display:flex;flex-wrap:wrap;gap:5px!important;margin:0;padding:0;border-bottom:1px solid #dbe7f2;overflow:visible!important;}
body.single-product #main .mq-product-v2 .tabbed-content > .nav > li > a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 10px;color:#45647d;background:none;border-bottom:2px solid transparent;}
body.single-product #main .mq-product-v2 .tabbed-content > .nav > li > a::before {display:none;}
body.single-product #main .mq-product-v2 .tabbed-content > .nav > li.active > a {color:#075689;background:#f1f7fd;border-bottom-color:#075689;border-radius:7px 7px 0 0;}
.mq-product-v2 .tab-panels {min-width:0;padding:14px 0 0;overflow-wrap:anywhere;}
.mq-product-v2 .tab-panels :is(img,video,iframe,table) {max-width:100%;}
.mq-product-v2 .tab-panels :is(td,th) {overflow-wrap:anywhere;}
.mq-product-v2 .mq-specs-empty {margin:6px 0;color:#526676;}
.mq-product-v2 .mq-product-v2-viewed {padding-bottom:14px;}
@media (max-width:849px) {
 .mq-product-v2 .mq-product-v2-summary > .col-inner {padding:0 2px 5px!important;}
}
@media (max-width:549px) {
 .mq-product-v2 .row > .col {padding-inline:11px;}
 .mq-product-v2 .product-images {border-radius:13px;}
 body.single-product #main .mq-product-v2 .product_title {font-size:clamp(1.25rem,5.6vw,1.63rem)!important;}
 body.single-product #main .mq-product-v2 .tabbed-content > .nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
 .mq-product-v2 .tabbed-content > .nav > li {min-width:0;margin:0;}
 body.single-product #main .mq-product-v2 .tabbed-content > .nav > li > a {padding:4px 2px;white-space:normal;text-align:center;line-height:1.2;font-size:12px;}
 .mq-product-v2 .product-specs.specs-4col :is(tbody,tr) {display:block;width:100%;}
 .mq-product-v2 .product-specs.specs-4col tr {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);}
 .mq-product-v2 .product-specs.specs-4col :is(th,td):empty {display:none;}
}

body.single-product #main .mq-product-v2-summary .add-to-cart-container,
body.single-product #main .mq-product-v2-summary .add-to-cart-container > form.cart {margin-bottom:0!important;}


/* One explicit row inside the WooCommerce purchase form. */
html body.single-product #main .mq-product-v2 :is(.mq-purchase-grid,form.cart:has(> .mq-purchase-row),.woocommerce-variation-add-to-cart:has(> .mq-purchase-row)) {
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:center!important;
 gap:8px!important;width:100%!important;min-width:0;
}
html body.single-product #main .mq-product-v2 :is(.mq-purchase-grid,form.cart:has(> .mq-purchase-row),.woocommerce-variation-add-to-cart:has(> .mq-purchase-row)) > :is(.quantity,.single_add_to_cart_button,.mq-purchase-row) {
 grid-column:1/-1!important;grid-row:auto!important;
}
html body.single-product #main .mq-product-v2 :is(.mq-purchase-grid,form.cart:has(> .mq-purchase-row),.woocommerce-variation-add-to-cart:has(> .mq-purchase-row)) > .single_add_to_cart_button {width:100%!important;}
html body.single-product #main .mq-product-v2 .mq-purchase-row {
 display:flex!important;flex-flow:row nowrap!important;gap:8px!important;align-items:stretch!important;min-width:0;width:100%;
}
html body.single-product #main .mq-product-v2 .mq-purchase-row .mq-detail-actions {
 margin:0!important;display:flex!important;flex-wrap:nowrap!important;gap:6px;min-width:0;
}
html body.single-product #main .mq-product-v2 .mq-purchase-row > .ux-buy-now-button {
 flex:1 1 0%!important;width:auto!important;min-width:0!important;margin:0!important;
}
@media (max-width:549px) {
 html body.single-product #main .mq-product-v2 .mq-purchase-row .mq-detail-actions > button {
   position:relative!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;
 }
 #main .mq-product-v2 .mq-purchase-row .mq-detail-actions :is(.mq-wish-label,.mqcc-compare-label) {
   position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
   overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;
 }
}
.mq-product-v2 .mq-product-service {padding:10px 12px;margin:10px 0 12px;border:1px solid #dfebf4;border-radius:12px;background:#fff;color:#40586e;}
.mq-product-v2 .mq-product-service-top {display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;margin-bottom:8px;}
.mq-product-v2 .mq-product-service-status {
 display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 9px;background:#e9f5ed;
 color:#166246;border-radius:999px;font-size:12px;font-weight:700;line-height:1.25;
}
.mq-product-v2 .mq-product-service-status::before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor;}
.mq-product-v2 .mq-product-service-status.is-outofstock {background:#f9edf0;color:#9c3140;}
.mq-product-v2 .mq-product-service-status.is-onbackorder {background:#fff3dc;color:#865715;}
.mq-product-v2 .mq-product-service-delivery {
 display:flex;flex:1 1 145px;flex-direction:column;min-width:0;gap:2px;padding:6px 9px;border-radius:8px;background:#eef6fd;
 color:#244e6c;font-size:12px;line-height:1.3;
}
.mq-product-v2 .mq-product-service dl {margin:0;border-top:1px solid #e0eaf2;padding-top:4px;}
.mq-product-v2 .mq-product-service dl > div {display:flex;flex-wrap:wrap;gap:4px 7px;padding:2px 0;}
.mq-product-v2 .mq-product-service :is(dt,dd) {margin:0;min-width:0;font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
.mq-product-v2 .mq-product-service dt {font-weight:700;color:#234c6a;}
@media (max-width:549px) {
 .mq-product-v2 .mq-product-v2-highlights .mq-product-service {margin:0 0 12px;}
}
/* Out-of-stock cards do not need an empty price panel. */
body #main .product-small:is(.outofstock,.out-of-stock) .box-text.box-text-products .price-wrapper:not(:has(.price,.amount)) {
  display:none!important;
}


/* Mobile product shortcuts stack at the left above the quick-buy bar. */
@media (max-width:849px) {
  html body.single-product {
    --mq-shortcut-floor:calc(var(--mq-dock-height,58px) + 10px);
    --mq-wish-shortcut-height:44px;
  }
  html body.single-product:is(.mq-sticky-on,:has(#mq-sticky-buy.is-visible)) {
    --mq-shortcut-floor:calc(var(--mq-dock-height,58px) + var(--mq-sticky-buy-height,68px) + 10px);
  }
  html body.single-product:not(.mqcc-bar-open):not(:has(.mfp-wrap :is(#main-menu,#shop-sidebar,#search-lightbox))) #mq-wish-fab.is-visible {
    display:flex!important;left:10px!important;right:auto!important;max-width:75vw;
    height:var(--mq-wish-shortcut-height)!important;min-height:var(--mq-wish-shortcut-height)!important;
    bottom:var(--mq-shortcut-floor)!important;
  }
  html body.single-product:not(.mqcc-bar-open) #mqcc-compare-bar.is-collapsed.is-visible {
    left:10px!important;right:auto!important;bottom:var(--mq-shortcut-floor)!important;
  }
  html body.single-product:not(.mqcc-bar-open):has(#mq-wish-fab.is-visible) #mqcc-compare-bar.is-collapsed.is-visible {
    bottom:calc(var(--mq-shortcut-floor) + var(--mq-wish-shortcut-height) + 6px)!important;
  }
  html body.single-product.mq-sticky-on {
    padding-bottom:calc(var(--mq-dock-height,58px) + var(--mq-sticky-buy-height,68px))!important;
  }
}

/* Mobile floating shortcuts display their counts without long closed labels. */
@media (max-width:849px) {
  html body #mq-wish-fab.is-visible:not([aria-expanded="true"]) .mq-wish-shortcut-label,
  html body #mqcc-compare-bar.is-collapsed .mq-compare-shortcut-label {display:none!important;}
  html body #mq-wish-fab.is-visible[aria-expanded="true"] .mq-wish-shortcut-label {display:inline!important;}
  html body #mq-wish-fab.is-visible:not([aria-expanded="true"]),
  html body #mqcc-compare-bar.is-collapsed .mqcc-bar__toggle {
    display:inline-flex!important;align-items:center;justify-content:center;gap:4px!important;
    min-width:48px!important;width:auto!important;height:44px!important;min-height:44px!important;
    padding:0 8px!important;line-height:1!important;
  }
  html body #mqcc-compare-bar.is-collapsed .mqcc-bar__toggle::before {margin:0!important;font-size:17px!important;}
  html body #mq-wish-fab .mq-wish-shortcut-icon {font-size:17px;}
  html body #mq-wish-fab .mq-wish-fab-count,
  html body #mqcc-compare-bar.is-collapsed .mq-compare-shortcut-count {
    display:inline-flex!important;align-items:center;justify-content:center;min-width:18px;height:18px;
    padding:0 3px;border-radius:999px;background:#ffffff35;color:#fff;font-size:11px!important;font-weight:700;
  }
}
@media (min-width:850px) {
  #mqcc-compare-bar.is-collapsed .mq-compare-shortcut-count::before {content:" (";}
  #mqcc-compare-bar.is-collapsed .mq-compare-shortcut-count::after {content:")";}
}

/* Compact price and purchasing controls. */
html body.single-product #main .mq-product-v2 .mq-product-v2-summary > .col-inner {
 background:#fff;border:1px solid #e1ebf4;border-radius:15px;padding:clamp(11px,2vw,18px)!important;
}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary .product-price-container .price-wrapper {
 padding:8px 10px!important;margin:8px 0 10px!important;background:#f1f7fd!important;border:0!important;border-radius:9px!important;
}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary p.product-page-price {
 display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:baseline!important;
 gap:3px 9px!important;text-align:left!important;line-height:1.2!important;
}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary p.product-page-price ins {order:1;text-decoration:none;}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary p.product-page-price del {order:2;opacity:1;}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary p.product-page-price .amount {font-size:clamp(20px,5.3vw,28px)!important;}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary p.product-page-price del .amount {font-size:13px!important;color:#566b80!important;}
html body.single-product #main .mq-product-v2 .mq-purchase-row > .mq-detail-actions {flex:0 0 auto!important;align-items:stretch;}
html body.single-product #main .mq-product-v2 form.cart .mq-purchase-row > button[name="ux-buy-now"] {
 display:flex!important;justify-content:center!important;align-items:center!important;float:none!important;clear:none!important;
 flex:1 1 0%!important;width:auto!important;max-width:none!important;min-width:0!important;
 height:44px!important;min-height:44px!important;padding:5px 8px!important;margin:0!important;box-sizing:border-box;
}
html body.single-product #main .mq-product-v2 .mq-product-v2-summary .single_add_to_cart_button {min-height:44px!important;}

/* Pricing, quantity and common product card corners. */
html body.single-product #main .mq-product-v2-summary .product-price-container .price-wrapper {
  background:#fff!important;border:1px solid #dce9f4!important;border-inline-start:3px solid #087f9f!important;
  padding:8px 11px!important;margin:8px 0 9px!important;border-radius:8px!important;
}
html body.single-product #main .mq-product-v2-summary .product-price-container .price-wrapper::before {
  content:"Giá bán";display:block;margin-bottom:3px;color:#50677e;font-size:12px;font-weight:700;line-height:1.25;
}
html body.single-product #main .mq-product-v2-summary p.product-page-price .amount {font-size:clamp(20px,4.7vw,28px)!important;}
html body.single-product #main .mq-product-v2-summary p.product-page-price del .amount {font-size:13px!important;}
html body.single-product #main .mq-product-v2-summary .add-to-cart-container form.cart .ux-quantity {
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px;
  width:100%!important;max-width:none!important;min-width:0!important;padding:2px 0!important;margin:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.single-product #main .mq-product-v2-summary .ux-quantity .quantity-title {
  margin:0!important;color:#344f68;font-size:13px;font-weight:700;line-height:1.2;
}
html body.single-product #main .mq-product-v2-summary .ux-quantity .group-quantity {
  display:flex!important;align-items:stretch!important;flex:0 0 auto;min-width:0;
  overflow:hidden;border:1px solid #d2e0ec;border-radius:8px;background:#fff;
}
html body.single-product #main .mq-product-v2-summary .group-quantity :is(.ux-quantity__button,.qty) {
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;
  padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important;text-align:center;
}
html body.single-product #main .mq-product-v2-summary .group-quantity .ux-quantity__button {background:#f0f6fc!important;color:#164f73!important;}
html body.single-product #main .mq-product-v2-summary .group-quantity .qty {border-inline:1px solid #e0e9f0!important;}
html body.single-product #main .mq-product-v2-summary .group-quantity :is(.ux-quantity__button,.qty):focus-visible {outline:2px solid #087f9f;outline-offset:-3px;}
/* One card style for the homepage, related products and browsing history. */
html body #main .product-small.box {
  background:#fff!important;border:1px solid #dce6f2!important;box-shadow:0 3px 10px #183b5512!important;
  border-radius:var(--mq-shared-card-radius)!important;overflow:hidden!important;
}
html body #main .product-small.box > .box-image {
  margin:0!important;padding:12px!important;aspect-ratio:1 / 1;display:flex!important;
  border-radius:var(--mq-shared-card-radius) var(--mq-shared-card-radius) 0 0!important;
  align-items:center;justify-content:center;background:linear-gradient(180deg,#fbfdff,#f2f6fb)!important;
}
html body #main .product-small.box > .box-image > :is(.image-fade_in_back,.image-none,.image-cover) {
  width:100%;min-width:0;max-height:100%;margin:0!important;
}
html body #main .product-small.box > .box-image img {object-fit:contain;}
html body #main .product-small.box > .box-text-products {
  padding:11px 10px!important;text-align:left!important;
}
html body #main .product-small .box-text-products .product-title a {
  color:#17344e!important;line-height:1.3!important;overflow-wrap:anywhere;
}
html body #main .product-small .box-text-products .price-wrapper:has(.price) {
  background:#edf5fd!important;border:1px solid #deebf8!important;border-radius:8px!important;
  padding:5px 8px!important;margin:6px 0!important;min-width:0!important;
}
html body #main .product-small .box-text-products .price-wrapper .price {
  display:flex!important;flex-wrap:wrap!important;align-items:baseline;gap:2px 6px;line-height:1.25!important;
}
html body #main .product-small .box-text-products .mq-product-card-actions {
 display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;gap:5px!important;align-items:stretch!important;
}
@media (max-width:849px) {
  html body:not(.single-product):not(.mqcc-bar-open):not(:has(.mfp-wrap :is(#main-menu,#shop-sidebar,#search-lightbox))) #mq-wish-fab.is-visible {
    left:10px!important;right:auto!important;height:44px!important;min-height:44px!important;
    bottom:calc(var(--mq-dock-height,58px) + 10px)!important;
  }
  html body:not(.single-product):not(.mqcc-bar-open) #mqcc-compare-bar.is-collapsed.is-visible {
    left:10px!important;right:auto!important;bottom:calc(var(--mq-dock-height,58px) + 10px)!important;
  }
  html body:not(.single-product):not(.mqcc-bar-open):has(#mq-wish-fab.is-visible) #mqcc-compare-bar.is-collapsed.is-visible {
    bottom:calc(var(--mq-dock-height,58px) + 60px)!important;
  }
}
@media (max-width:549px) {
  html body.home #main .mq-brand-showcase .mq-brand-grid {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;overflow:visible!important;min-width:0;
  }
  html body.home #main .mq-brand-showcase .mq-brand-grid > .mq-brand-card {width:100%!important;min-width:0!important;max-width:none!important;}
  html body.home #main .mq-brand-showcase .mq-brand-card small {white-space:normal!important;overflow-wrap:anywhere;}
  html body #main .product-small.box > .box-image {padding:8px!important;}
  html body #main .product-small.box > .box-text-products {padding:9px 7px!important;}
}

/* The outer frame and inner card share the same double-border treatment. */
#main {--mq-shared-card-radius:18px;}
html body #main .product-small.col:has(> .col-inner > .product-small.box) {
  border:0!important;box-shadow:none!important;background:transparent!important;
}
html body #main .product-small.col > .col-inner:has(> .product-small.box) {
  padding:4px!important;box-sizing:border-box;border:1px solid #dce7f2!important;
  border-radius:calc(var(--mq-shared-card-radius) + 4px)!important;background:#f6f9fc!important;
  box-shadow:0 2px 8px #183b550e!important;
}
html body #main .product-small.col > .col-inner > .product-small.box {
  border:1px solid #dce6f2!important;border-radius:var(--mq-shared-card-radius)!important;box-shadow:none!important;
}
html body #main .product-small .box-text-products .title-wrapper .product-title,
html body #main .product-small .box-text-products .title-wrapper .product-title > a {
  color:#17344e!important;font-size:clamp(14px,1.55vw,16px)!important;
  font-weight:650!important;line-height:1.3!important;
}
html body #main .product-small .box-text-products .title-wrapper .product-title {min-height:2.6em!important;}
@media (max-width:767px) {#main {--mq-shared-card-radius:14px;}}
