/**
 * HangNgoaiShop 3.9.55.71.6 — Global Typography Micro Balance Final.
 * Baseline: 3.9.55.71.5.
 * Size/rhythm-only final pass informed by production Home + Checkout renders.
 * No font-family, font-weight, color, layout geometry, content, SEO/schema,
 * WooCommerce math, shipping/payment or CheckoutWC business-logic changes.
 */

/* =========================================================
   1) HEADER / NAV / SEARCH — one small step up on desktop
   ========================================================= */
body.yhn-font-size-micro-balance-3955716 .header-main .nav>li>a,
body.yhn-font-size-micro-balance-3955716 .header-bottom-nav>li>a{
  font-size:14.5px!important;
  line-height:1.38!important;
}
body.yhn-font-size-micro-balance-3955716 .header-top .nav>li>a,
body.yhn-font-size-micro-balance-3955716 .header-top :is(.html,.header-contact){
  font-size:12.8px!important;
  line-height:1.45!important;
}
body.yhn-font-size-micro-balance-3955716 :is(.header-search-form input,.dgwt-wcas-search-input,.searchform input[type="search"]){
  font-size:15px!important;
  line-height:1.45!important;
}
body.yhn-font-size-micro-balance-3955716 .nav-dropdown :is(a,.menu-item>a){
  font-size:13.8px!important;
  line-height:1.5!important;
}

/* =========================================================
   2) HOME — support text no longer one visual tier too small
   ========================================================= */
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-trustbar strong{
  font-size:13px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-trustbar small{
  font-size:12.3px!important;
  line-height:1.48!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-section__heading>a{
  font-size:13px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-category-card strong{
  font-size:13.5px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__brand{
  font-size:12px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__price,
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__price .amount{
  font-size:15.7px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__price del,
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__rating small{
  font-size:12px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-reason-grid strong{
  font-size:13px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-reason-grid small{
  font-size:12px!important;
  line-height:1.58!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-proof small{
  font-size:11.5px!important;
}
body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-news-card__category{
  font-size:12.5px!important;
}

/* Flash Sale microcopy: retain compactness, remove 10–11px feel where avoidable. */
body.yhn-font-size-micro-balance-3955716 .yhn-home-flash--premium50 :is(.yhn-home-countdown__label,.yhn-home-countdown__days){font-size:11.5px!important}
body.yhn-font-size-micro-balance-3955716 .yhn-home-flash--premium50 :is(.yhn-home-flash__cta,.yhn-home-flash__heading>a,.yhn-home-flash__controls>.yhn-home-flash__view-all){font-size:12px!important}
body.yhn-font-size-micro-balance-3955716 .yhn-home-flash--premium50 .yhn-home-flash__title-wrap p{font-size:13px!important;line-height:1.54!important}
body.yhn-font-size-micro-balance-3955716 .yhn-home-flash--premium50 .yhn-home-flash__benefit-copy strong{font-size:12.5px!important}
body.yhn-font-size-micro-balance-3955716 .yhn-home-flash--premium50 .yhn-home-flash__benefit-copy small{font-size:12px!important;line-height:1.44!important}

/* =========================================================
   3) SHOP / PRODUCT GRID — keep title scale, slightly lift price/microcopy
   ========================================================= */
body.yhn-font-size-micro-balance-3955716 .products .product-small .price,
body.yhn-font-size-micro-balance-3955716 .products .product-small .price .amount{
  font-size:15.5px!important;
}
body.yhn-font-size-micro-balance-3955716 .products .product-small .price del,
body.yhn-font-size-micro-balance-3955716 .products .product-small .price del .amount{
  font-size:12.3px!important;
}
body.yhn-font-size-micro-balance-3955716 .woocommerce-ordering select{font-size:14px!important}
body.yhn-font-size-micro-balance-3955716.yhn-search-product div.shop-page-title.category-page-title .woocommerce-result-count{font-size:13px!important}

/* =========================================================
   4) CART / ACCOUNT — subtle support-text lift only
   ========================================================= */
body.yhn-font-size-micro-balance-3955716.woocommerce-cart .shop_table thead th{font-size:13px!important}
body.yhn-font-size-micro-balance-3955716.woocommerce-cart .cart_totals :is(th,td,.amount){font-size:14.3px!important}
body.yhn-font-size-micro-balance-3955716 .woocommerce-MyAccount-navigation a{font-size:14px!important}
body.yhn-font-size-micro-balance-3955716 .woocommerce-MyAccount-content table th{font-size:13px!important}

/* =========================================================
   5) FOOTER — improve readability while preserving quiet hierarchy
   ========================================================= */
body.yhn-font-size-micro-balance-3955716 #footer .footer-widgets.footer.footer-2 .widget-title{
  font-size:15.5px!important;
  line-height:1.32!important;
}
body.yhn-font-size-micro-balance-3955716 #footer .footer-widgets.footer.footer-2 :is(p,li,a,.textwidget){
  font-size:14px!important;
  line-height:1.64!important;
}
body.yhn-font-size-micro-balance-3955716 #footer .yhn-footer-contact-row span:not(.yhn-footer-contact-icon){
  font-size:12.5px!important;
  line-height:1.5!important;
}
body.yhn-font-size-micro-balance-3955716 .absolute-footer,
body.yhn-font-size-micro-balance-3955716 .absolute-footer :is(a,span,p){
  font-size:12px!important;
  line-height:1.52!important;
}

/* =========================================================
   6) CHECKOUTWC SIDE CART — match the larger storefront rhythm
   ========================================================= */
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-cart-item-title,
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-cart-item-title a,
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-cart-item-title span{
  font-size:14.5px!important;
  line-height:1.46!important;
}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-items-summary-item-discount{font-size:12.5px!important}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-quantity-stepper-value-label{font-size:13.5px!important}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-cart-item-subtotal,
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-cart-item-subtotal .amount{font-size:14.3px!important}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart :is(.cfw-show-coupons-module,.cfw-secondary-btn){font-size:13.5px!important}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-side-cart-totals :is(th,td){font-size:14.3px!important}
body.yhn-font-size-micro-balance-3955716 #cfw-side-cart .cfw-primary-btn{font-size:14.3px!important}

/* =========================================================
   7) CHECKOUTWC PORTAL — final readability pass from production render
   ========================================================= */
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(h3,#cfw-cart-summary-content>h3){
  font-size:18px!important;
  line-height:1.34!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(input.input-text,select,textarea){
  font-size:15px!important;
  line-height:1.48!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw .form-row label{
  font-size:13.8px!important;
  line-height:1.46!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw .cfw-have-acc-text{
  font-size:13.3px!important;
  line-height:1.58!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #payment .payment_method_label{
  font-size:14px!important;
  line-height:1.48!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #payment div.payment_box{
  font-size:13px!important;
  line-height:1.64!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title,
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title a,
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title span{
  font-size:14.2px!important;
  line-height:1.48!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw .cfw-items-summary-item-discount{
  font-size:12.5px!important;
  line-height:1.45!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw .cfw-quantity-stepper-value-label{font-size:13px!important}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-subtotal,
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-subtotal .amount{
  font-size:14.5px!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #cfw-cart-summary-totals :is(th,td),
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #cfw-mobile-cart-summary-totals :is(th,td){
  font-size:13px!important;
  line-height:1.48!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #cfw-cart-summary-totals .order-total .amount,
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw #cfw-mobile-cart-summary-totals .order-total .amount{
  font-size:17.8px!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(.cfw-primary-btn,#place_order){
  font-size:14px!important;
  line-height:1.25!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(.cfw-small,.description,small){
  font-size:12.7px!important;
  line-height:1.55!important;
}
html body.checkout-wc.yhn-font-size-micro-balance-3955716.cfw-order-received #cfw :is(p,li,td){
  font-size:13.3px;
  line-height:1.62;
}

/* =========================================================
   8) FLATSOME MINI-CART HOVER SAFETY
   CheckoutWC Side Cart is the intended header-cart interaction.
   :has() is a runtime fallback if the PHP/body readiness class is unavailable.
   ========================================================= */
body.yhn-cfw-sidecart-target:not(.woocommerce-cart):not(.woocommerce-checkout) .cart-item.has-dropdown>.nav-dropdown,
body.yhn-cfw-sidecart-ready:not(.woocommerce-cart):not(.woocommerce-checkout) .cart-item.has-dropdown>.nav-dropdown,
body:not(.woocommerce-cart):not(.woocommerce-checkout):has(#cfw-side-cart) .cart-item.has-dropdown>.nav-dropdown{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* =========================================================
   9) MOBILE / SMALL TABLET — preserve readability, not desktop density
   ========================================================= */
@media(max-width:849px){
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-trustbar strong{font-size:11.5px!important}
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-trustbar small{font-size:11.2px!important;line-height:1.48!important}
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card :is(h3,h3 a){font-size:14px!important}
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__price,
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-product-card__price .amount{font-size:15.2px!important}
  body.yhn-font-size-micro-balance-3955716 .products .product-small :is(.product-title,.name,.woocommerce-loop-product__title),
  body.yhn-font-size-micro-balance-3955716 .products .product-small :is(.product-title,.name,.woocommerce-loop-product__title) a{font-size:13.8px!important}
  body.yhn-font-size-micro-balance-3955716 .products .product-small .price,
  body.yhn-font-size-micro-balance-3955716 .products .product-small .price .amount{font-size:14.8px!important}
  body.yhn-font-size-micro-balance-3955716 #footer .footer-widgets.footer.footer-2 :is(p,li,a,.textwidget){font-size:13.5px!important;line-height:1.62!important}
  body.yhn-font-size-micro-balance-3955716 #footer .yhn-footer-contact-row span:not(.yhn-footer-contact-icon){font-size:12px!important}
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(h3,#cfw-cart-summary-content>h3){font-size:17px!important}
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw .form-row label{font-size:13.5px!important}
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title,
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title a,
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw-cart-summary-content .cfw-cart-item-title span{font-size:13.8px!important}
  html body.checkout-wc.yhn-font-size-micro-balance-3955716 #cfw :is(.cfw-small,.description,small){font-size:12.5px!important}
}

@media(max-width:549px){
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-section__heading>a{font-size:12.5px!important}
  body.yhn-font-size-micro-balance-3955716 .yhn-home-premium .yhn-home-category-card strong{font-size:13px!important}
  body.yhn-font-size-micro-balance-3955716 .absolute-footer,
  body.yhn-font-size-micro-balance-3955716 .absolute-footer :is(a,span,p){font-size:11.7px!important}
}
