/**
 * HangNgoaiShop 3.9.55.71.8.2 — Controls Safe Recovery.
 * Baseline: known-good 3.9.55.71.7.
 * IMPORTANT: intentionally does NOT touch Flatsome mobile header/menu/cart glyphs,
 * nav display, icon-font codepoints, or header structure.
 */

/* Side Cart action hierarchy only. */
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a,
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > button,
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout .cfw-primary-btn,
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout .cfw-secondary-btn{
  min-height:46px!important;
  margin:0!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a[href*="/gio-hang/"],
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a[href*="/cart/"]{
  border:1px solid #dedbd8!important;
  background:#fff!important;
  background-image:none!important;
  color:#353439!important;
  -webkit-text-fill-color:#353439!important;
}
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a[href*="/thanh-toan/"],
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a[href*="/checkout/"]{
  border:1px solid #c9176b!important;
  background:#c9176b!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Product remove control — no icon-font manipulation. */
body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .cfw-remove-item-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  border:1px solid #dedbd8!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#8e8b90!important;
  opacity:.9!important;
  box-shadow:none!important;
}

@media (max-width:849px){
  /* Home CTA: safe element-specific polish. */
  body.yhn-controls-safe-recovery-39557182.home .yhn-home-premium .yhn-home-button{
    min-height:46px!important;
    padding:0 30px!important;
    border:1px solid #c9176b!important;
    border-radius:6px!important;
    background:#c9176b!important;
    background-image:none!important;
    box-shadow:none!important;
  }

  /* Trust icons: SVG-only sizing; no Flatsome icon-font selectors. */
  body.yhn-controls-safe-recovery-39557182.home .yhn-home-premium .yhn-home-trustbar span{
    width:34px!important;
    height:34px!important;
    border:1px solid #dfd5cf!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.76)!important;
    color:#9a765b!important;
    box-shadow:none!important;
  }
  body.yhn-controls-safe-recovery-39557182.home .yhn-home-premium .yhn-home-trustbar span svg{
    width:18px!important;
    height:18px!important;
    stroke-width:1.5!important;
  }

  /* Side Cart close: SVG/control sizing only. */
  body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .cfw-side-cart-close-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#545157!important;
    opacity:.82!important;
    box-shadow:none!important;
  }
  body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .cfw-side-cart-close-btn svg{
    width:21px!important;
    height:21px!important;
    stroke-width:1.7!important;
  }

  /* Floating utilities only; no header/nav selectors. */
  body.yhn-controls-safe-recovery-39557182 .ft-chatbox{
    left:14px!important;
    right:auto!important;
    bottom:14px!important;
    transform:scale(.54)!important;
    transform-origin:left bottom!important;
    box-shadow:none!important;
  }
  body.yhn-controls-safe-recovery-39557182 .back-to-top,
  body.yhn-controls-safe-recovery-39557182 .back-to-top.active,
  body.yhn-controls-safe-recovery-39557182 .button.icon.circle.back-to-top{
    right:10px!important;
    bottom:12px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    border:1px solid #d9d6d2!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.92)!important;
    color:#807c7f!important;
    opacity:.72!important;
    box-shadow:none!important;
  }
  body.yhn-controls-safe-recovery-39557182.cfw-side-cart-open .ft-chatbox,
  body.yhn-controls-safe-recovery-39557182.cfw-side-cart-open .hotline-phone-ring-wrap,
  body.yhn-controls-safe-recovery-39557182.cfw-side-cart-open .back-to-top,
  body.yhn-controls-safe-recovery-39557182.cfw-side-cart-open .back-to-top.active,
  body.yhn-controls-safe-recovery-39557182.cfw-side-cart-open .button.icon.circle.back-to-top{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

@media (max-width:549px){
  body.yhn-controls-safe-recovery-39557182.home .yhn-home-premium .yhn-home-button{
    min-height:45px!important;
    padding-inline:28px!important;
  }
  body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > a,
  body.yhn-controls-safe-recovery-39557182 #cfw-side-cart .wc-proceed-to-checkout > button{
    min-height:45px!important;
  }
}
