/* WordPress Core + Stage 3 Sales Bridge Styles */
.admin-bar .site-header.sales-site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header.sales-site-header { top: 46px; }
}
@media (max-width: 1460px) and (min-width: 783px) {
  #wpadminbar .quicklinks > ul { flex-wrap: nowrap !important; }
  #wpadminbar .ab-top-menu > li > a,
  #wpadminbar .ab-top-menu > li > .ab-empty-item { white-space: nowrap !important; }
  #wpadminbar #wp-admin-bar-site-name > a { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
  #wpadminbar #wp-admin-bar-updates,
  #wpadminbar #wp-admin-bar-comments,
  #wpadminbar #wp-admin-bar-new-content > a .ab-label { display: none; }
}

/* Prevent accidental horizontal overflow WITHOUT breaking position:sticky on desktop */
html, html body.editorial.sales-final:not(.bag-open):not(#_):not(#_) { overflow-x: clip !important; overflow-y: visible !important; }
.sp-main img { max-width: 100%; }
.sp-policy-anchor { scroll-margin-top: 100px; height: 0; overflow: hidden; }

/* Re-enable elliptical orbit on Desktop/Tablet (>800px): reset static GĐ3 left/top offsets so JS translate originates cleanly at (0,0) */
@media (min-width: 801px) {
  html body.editorial.sales-final:not(#_):not(#_):not(#_) .shop-hero-02 .ec-actives.is-orbiting > button:nth-of-type(n) {
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
  }
}

/* Single Product size pill wrap fix + Cart Drawer closed-state isolation */
.sp-detail-sizes > span.is-current,
.sp-detail-sizes > a,
.sp-detail-sizes > button { width: auto !important; min-width: 48px; padding: 6px 14px !important; white-space: nowrap; height: auto !important; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(36, 40, 39, .18); border-radius: 6px; background: #fff; color: #242827; font-size: 13px; font-weight: 500; cursor: pointer; }
.sp-detail-sizes > button.is-current { border: 1.5px solid #242827; font-weight: 700; }

.cart-drawer:not(.open) { display: none !important; visibility: hidden !important; pointer-events: none !important; }
.cart-drawer.open { display: flex !important; flex-direction: column !important; align-items: stretch !important; visibility: visible !important; pointer-events: auto !important; height: 100dvh !important; max-height: 100dvh !important; overflow-x: hidden !important; overflow-y: auto !important; }
.cart-drawer { gap: 8px !important; padding: 18px 22px !important; box-sizing: border-box !important; }
.cart-drawer > :not(.cart-close) { flex: 0 0 auto; width: 100%; box-sizing: border-box; margin-top: 0 !important; margin-bottom: 0 !important; }
.cart-drawer > h2 { font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.2 !important; }
.cart-drawer .shipping-progress { padding: 8px 0 !important; gap: 6px !important; }
.cart-drawer [data-cart-items] { flex: 1 1 auto !important; min-height: 96px !important; overflow-y: auto !important; padding-right: 4px; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-upsell { grid-template-columns: 44px minmax(0, 1fr) 32px !important; gap: 10px !important; padding: 6px 10px !important; border-radius: 8px !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-upsell img { width: 44px !important; height: 48px !important; object-fit: contain !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-upsell > div { gap: 1px !important; line-height: 1.3 !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-upsell > button { width: 32px !important; height: 32px !important; min-width: 32px !important; min-height: 32px !important; padding: 0 !important; font-size: 18px !important; line-height: 1 !important; border-radius: 6px !important; }
.cart-drawer .cart-voucher { padding: 6px 0 !important; gap: 6px !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher > label { font-size: 12.5px !important; margin: 0 !important; line-height: 1.3 !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher > div { display: flex !important; align-items: stretch !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher input { flex: 1 1 auto !important; min-width: 0 !important; height: 38px !important; min-height: 38px !important; padding: 0 12px !important; margin: 0 !important; border: 1px solid #cbd5e1 !important; border-radius: 6px !important; font-size: 13.5px !important; background: #fff !important; color: #242827 !important; box-sizing: border-box !important; outline: none !important; box-shadow: none !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher input:focus { border-color: #9d2235 !important; box-shadow: 0 0 0 2px rgba(157, 34, 53, .12) !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher button { flex: 0 0 auto !important; height: 38px !important; min-height: 38px !important; padding: 0 16px !important; margin: 0 !important; border: 1px solid #9d2235 !important; border-radius: 6px !important; background: #9d2235 !important; color: #fff !important; font-size: 13px !important; font-weight: 600 !important; white-space: nowrap !important; box-sizing: border-box !important; }
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher button:hover { background: #7f1728 !important; border-color: #7f1728 !important; }
@media (max-width: 767px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher input { height: 44px !important; min-height: 44px !important; font-size: 16px !important; }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .cart-drawer .cart-voucher button { height: 44px !important; min-height: 44px !important; }
}
.cart-drawer .cart-summary { padding: 6px 0 !important; }
.cart-drawer .cart-total { padding: 6px 0 !important; }
@media (min-width: 783px) {
  .admin-bar .cart-drawer { top: 32px !important; height: calc(100dvh - 32px) !important; max-height: calc(100dvh - 32px) !important; }
}
@media (max-width: 782px) {
  .admin-bar .cart-drawer { top: 46px !important; height: calc(100dvh - 46px) !important; max-height: calc(100dvh - 46px) !important; }
}
.cart-drawer [data-checkout] { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #9d2235; color: #fff; border: 1px solid #9d2235; font: 600 14px 'Be Vietnam Pro', sans-serif; cursor: pointer; }
.cart-drawer [data-checkout]:hover { background: #7f1728; border-color: #7f1728; }
.hc-applied-coupons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hc-coupon-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(157, 34, 53, .28); border-radius: 999px; background: #fdf5f6; color: #9d2235; font-size: 12px; font-weight: 600; }
.hc-coupon-pill button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px; }
.hc-cart-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 2px !important; }
.hc-cart-view-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(36, 40, 39, .2); border-radius: 999px; color: #242827; font-size: 13px; font-weight: 600; text-decoration: none; text-align: center; transition: border-color .18s ease, color .18s ease; }
.hc-cart-view-link:hover { border-color: #9d2235; color: #9d2235; }
.cart-drawer .cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #faf8f6; }

/* Easy Table of Contents (#ez-toc-container) — styled 1:1 to Stage 3 .sp-post-toc */
#ez-toc-container { width: 100% !important; margin: 24px 0 32px !important; padding: 20px 24px !important; border: 1px solid var(--sales-line, #e6e1da) !important; border-radius: 0 !important; background: #fbf9f8 !important; box-shadow: none !important; font-family: 'Be Vietnam Pro', sans-serif; }
#ez-toc-container .ez-toc-title-container { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px !important; padding-bottom: 10px; border-bottom: 1px solid rgba(36, 40, 39, .1); }
#ez-toc-container p.ez-toc-title { margin: 0 !important; font-size: 16px !important; font-weight: 700 !important; color: #242827 !important; }
#ez-toc-container ul.ez-toc-list { margin: 0 !important; padding-left: 0 !important; list-style: none !important; display: grid; gap: 6px; }
#ez-toc-container ul.ez-toc-list > li { margin: 0 !important; line-height: 1.5 !important; }
#ez-toc-container ul.ez-toc-list ul { margin: 6px 0 8px 36px !important; padding-left: 0 !important; list-style: none !important; }
#ez-toc-container ul.ez-toc-list > li > a.ez-toc-link { position: relative !important; display: inline-flex; align-items: center; min-height: 28px; padding-left: 36px !important; color: #242220 !important; font-size: 14.5px; font-weight: 500; text-decoration: none !important; transition: color .15s ease; }
#ez-toc-container ul.ez-toc-list > li > a.ez-toc-link::before { content: "→"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(36, 34, 32, .35); font-size: 12px; line-height: 1; box-sizing: border-box; color: #242220; background: #fff; }
#ez-toc-container a.ez-toc-link:hover { color: #9d2235 !important; }
#ez-toc-container ul.ez-toc-list > li > a.ez-toc-link:hover::before { border-color: #9d2235; color: #9d2235; }

/* Blog Archive Category Pills, Pagination & Product Recommendation Dual CTA */
.sp-archive-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sp-archive-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 999px; background: #fff; color: #242827; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .18s ease; }
.sp-archive-pill:hover { border-color: #9d2235; color: #9d2235; }
.sp-archive-pill.is-active { background: #9d2235; border-color: #9d2235; color: #fff; }
.sp-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.sp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border: 1px solid rgba(36, 40, 39, .15); border-radius: 8px; color: #242827; text-decoration: none; font-size: 14px; font-weight: 500; }
.sp-pagination .page-numbers.current { background: #9d2235; border-color: #9d2235; color: #fff; }
.sp-post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.sp-post-product-btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.sp-post-product-link-sec { background: transparent !important; color: #9d2235 !important; border: 1px solid rgba(157, 34, 53, .35) !important; text-align: center; }
.sp-product-prose p { margin: 0 0 12px; line-height: 1.7; color: #3f4443; }
.sp-product-prose img { max-width: 100%; height: auto; border-radius: 10px; }

/* Single Product Reviews & WP Comments Styling */
.sp-wp-reviews { padding: 24px; border: 1px solid rgba(36, 40, 39, .12); border-radius: 14px; background: #fff; }
.sp-wp-reviews .commentlist { list-style: none; padding: 0; margin: 0 0 24px; }
.sp-wp-reviews .comment { padding: 14px 0; border-bottom: 1px solid rgba(36, 40, 39, .08); }
.sp-wp-reviews .comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.sp-wp-reviews .comment-form textarea,
.sp-wp-reviews .comment-form input[type="text"],
.sp-wp-reviews .comment-form input[type="email"] { width: 100%; padding: 10px 14px; border: 1px solid rgba(36, 40, 39, .2); border-radius: 10px; font-family: inherit; font-size: 15px; }
.sp-wp-reviews .comment-form input[type="submit"] { min-height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: #9d2235; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }

/* Native WooCommerce Cart / Checkout / My Account Stage 3 Polish */
html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main.sp-main.sp-main-wp-page { padding-bottom: 64px !important; }
@media (max-width: 1199px) {
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main.sp-main.sp-main-wp-page { padding-bottom: 52px !important; }
}
@media (max-width: 767px) {
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main.sp-main.sp-main-wp-page { padding-bottom: 40px !important; }
}
.sp-wp-page-wrap { padding-top: 8px; }
.sp-wp-page-content .woocommerce { font-family: 'Be Vietnam Pro', sans-serif; color: #242827; }
.sp-wp-page-content .woocommerce a.button,
.sp-wp-page-content .woocommerce button.button,
.sp-wp-page-content .woocommerce input.button { min-height: 44px; padding: 10px 22px; border-radius: 999px; font-family: 'Be Vietnam Pro', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.3; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(36, 40, 39, .18); background: #fff; color: #242827; cursor: pointer; text-decoration: none; }
.sp-wp-page-content .woocommerce a.button.alt,
.sp-wp-page-content .woocommerce button.button.alt,
.sp-wp-page-content .woocommerce input.button.alt,
.sp-wp-page-content .woocommerce #place_order,
.sp-wp-page-content .woocommerce .woocommerce-form-login__submit,
.sp-wp-page-content .woocommerce .woocommerce-form-register__submit,
.sp-wp-page-content .woocommerce button[name="login"],
.sp-wp-page-content .woocommerce button[name="register"],
.sp-wp-page-content .woocommerce button[name="save_account_details"],
.sp-wp-page-content .woocommerce button[name="save_address"] { background: #9d2235 !important; color: #fff !important; border: 0 !important; }
.sp-wp-page-content .woocommerce a.button.alt:hover,
.sp-wp-page-content .woocommerce button.button.alt:hover,
.sp-wp-page-content .woocommerce #place_order:hover,
.sp-wp-page-content .woocommerce .woocommerce-form-login__submit:hover,
.sp-wp-page-content .woocommerce .woocommerce-form-register__submit:hover { background: #7e1929 !important; }
.sp-wp-page-content .woocommerce table.shop_table { border: 1px solid rgba(36, 40, 39, .14); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; width: 100%; table-layout: auto !important; margin: 0 0 24px !important; }
.sp-wp-page-content .woocommerce table.shop_table th { background: #fbf9f8; font-weight: 600; padding: 14px 16px; color: #242827; font-size: 14px; text-align: left; border: 0; border-bottom: 1px solid rgba(36, 40, 39, .1); }
.sp-wp-page-content .woocommerce table.shop_table td { padding: 14px 16px; border: 0; border-top: 1px solid rgba(36, 40, 39, .08); vertical-align: middle; font-size: 15px; background: transparent; }
.sp-wp-page-content .woocommerce table.shop_table tbody tr:first-child td { border-top: 0; }
.sp-wp-page-content .woocommerce-cart-form .product-remove a.remove { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; text-decoration: none; font-size: 20px; line-height: 1; color: #9d2235 !important; }
.sp-wp-page-content .woocommerce-cart-form .product-remove a.remove:hover { background: #9d2235 !important; color: #fff !important; }
.sp-wp-page-content .woocommerce-cart-form .product-name { font-weight: 600; }
.sp-wp-page-content .woocommerce-cart-form .product-name a { color: #242827; text-decoration: none; }
.sp-wp-page-content .woocommerce .woocommerce-Price-currencySymbol { font-size: inherit !important; color: inherit !important; font-weight: inherit !important; }
.sp-wp-page-content .woocommerce dl.variation { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 4px 0 0 !important; padding: 0 !important; font-size: 13px !important; font-weight: 400 !important; line-height: 1.45; color: #5c6160 !important; }
.sp-wp-page-content .woocommerce dl.variation dt { float: none !important; clear: none !important; margin: 0 !important; padding: 0 !important; font-weight: 500 !important; color: #5c6160; }
.sp-wp-page-content .woocommerce dl.variation dd { float: none !important; margin: 0 !important; padding: 0 !important; }
.sp-wp-page-content .woocommerce dl.variation dd p { margin: 0 !important; display: inline; font-size: inherit; }
.sp-wp-page-content .woocommerce-cart-form .product-price .woocommerce-Price-amount,
.sp-wp-page-content .woocommerce-cart-form .product-subtotal .woocommerce-Price-amount { font-size: 15px !important; font-weight: 600 !important; color: #242827 !important; }
.sp-wp-page-content .woocommerce-cart-form .product-quantity input.qty { width: 68px !important; height: 40px !important; padding: 4px 8px !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important; text-align: center !important; font-size: 15px !important; background: #fff !important; color: #242827 !important; }
.sp-wp-page-content .woocommerce table.cart .product-thumbnail img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }
@media (min-width: 769px) {
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-remove { display: table-cell !important; width: 52px !important; max-width: 52px !important; min-width: 52px !important; text-align: center !important; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-thumbnail { display: table-cell !important; width: 88px !important; max-width: 88px !important; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-name { display: table-cell !important; width: auto !important; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-price { display: table-cell !important; margin: 0 !important; vertical-align: middle !important; width: 150px !important; text-align: right !important; white-space: nowrap !important; }
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-quantity { display: table-cell !important; width: 130px !important; text-align: center !important; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.shop_table :is(th, td).product-subtotal { display: table-cell !important; width: 150px !important; text-align: right !important; white-space: nowrap !important; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.cart td.actions { display: table-cell !important; width: auto !important; padding: 16px !important; background: #fcfbfb; text-align: right; vertical-align: middle; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.cart td.actions .coupon { float: left; display: inline-flex !important; flex-wrap: nowrap; align-items: center; gap: 10px; margin: 0 !important; }
  .sp-wp-page-content .woocommerce table.cart td.actions .coupon .input-text { width: 220px !important; min-width: 190px; }
  .sp-wp-page-content .woocommerce table.cart td.actions button[name="update_cart"] { float: right; margin: 0 !important; }
}
@media (max-width: 768px) {
  .sp-wp-page-content .woocommerce-cart-form table.cart thead { display: none !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart,
  .sp-wp-page-content .woocommerce-cart-form table.cart tbody,
  .sp-wp-page-content .woocommerce-cart-form table.cart tr { display: block !important; width: 100% !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item { padding: 8px 0; border-bottom: 1px solid rgba(36, 40, 39, .12); }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item:last-of-type { border-bottom: 0; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; padding: 10px 14px !important; text-align: right !important; box-sizing: border-box !important; border-top: 1px solid rgba(36, 40, 39, .06) !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-name { flex-wrap: wrap !important; row-gap: 4px; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-name dl.variation { flex: 0 0 100%; width: 100%; justify-content: flex-end; text-align: right; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-remove { justify-content: flex-end !important; border-top: 0 !important; padding-bottom: 4px !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-remove::before,
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail::before { content: none !important; display: none !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td.product-thumbnail { justify-content: center !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart tr.cart_item td::before { font-weight: 600; color: #5c6160; margin-right: 12px; text-align: left; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions { display: block !important; width: 100% !important; padding: 14px !important; background: #fcfbfb; text-align: left !important; margin: 0 !important; box-sizing: border-box !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions::before,
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon::before,
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon::after { content: none !important; display: none !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon { float: none !important; display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center; gap: 8px; width: 100%; margin: 0 0 10px !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon label.screen-reader-text { display: none !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon .input-text { width: 100% !important; min-width: 0 !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"] { width: auto !important; white-space: nowrap !important; padding-inline: 16px !important; }
  .sp-wp-page-content .woocommerce-cart-form table.cart td.actions button[name="update_cart"] { width: 100% !important; float: none !important; }
  .sp-wp-page-content .woocommerce .woocommerce-message,
  .sp-wp-page-content .woocommerce .woocommerce-info { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sp-wp-page-content .woocommerce .woocommerce-message .button,
  .sp-wp-page-content .woocommerce .woocommerce-info .button { margin-left: 0 !important; }
}
.sp-wp-page-content .woocommerce .cart-collaterals { margin-top: 28px; }
.sp-wp-page-content .woocommerce .cart-collaterals .cart_totals { float: none !important; width: min(460px, 100%) !important; margin-left: auto !important; padding: 24px !important; border: 1px solid rgba(36, 40, 39, .14); border-radius: 14px; background: #fbf9f8; box-sizing: border-box; }
.sp-wp-page-content .woocommerce .cart_totals h2 { margin: 0 0 16px !important; padding: 0 !important; font-size: 20px; line-height: 1.3; clear: both; position: static; }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table { margin: 0 !important; }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table th { width: 45%; background: transparent !important; border-top: 1px solid rgba(36, 40, 39, .08); border-bottom: 0; font-weight: 500; color: #3f4443; }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table tr:first-child th,
.sp-wp-page-content .woocommerce .cart_totals table.shop_table tr:first-child td { border-top: 0; }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table td { text-align: right; font-weight: 600; }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table tr.order-total th,
.sp-wp-page-content .woocommerce .cart_totals table.shop_table tr.order-total td { background: #fbf9f8 !important; font-weight: 700; border-top: 1px solid rgba(36, 40, 39, .14); }
.sp-wp-page-content .woocommerce .cart_totals table.shop_table tr.order-total td .woocommerce-Price-amount { color: #9d2235 !important; font-size: 16px; }
.sp-wp-page-content .woocommerce .cart_totals .wc-proceed-to-checkout { padding: 16px 0 0 !important; margin: 0 !important; }
.sp-wp-page-content .woocommerce .cart_totals .checkout-button { width: 100% !important; min-height: 48px !important; border-radius: 6px !important; margin: 0 !important; }
.sp-wp-page-content .woocommerce form .form-row { display: block; float: none !important; width: 100% !important; margin: 0 0 16px !important; padding: 0 !important; }
.sp-wp-page-content .woocommerce form .form-row[style*="display: none"] { display: none !important; }
.sp-wp-page-content .woocommerce form .form-row label { display: block !important; width: 100% !important; margin: 0 0 6px !important; font-weight: 600; font-size: 14px; line-height: 1.4 !important; color: #242827; text-align: left !important; }
.sp-wp-page-content .woocommerce form .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.sp-wp-page-content .woocommerce form .form-row input.input-text,
.sp-wp-page-content .woocommerce form .form-row select,
.sp-wp-page-content .woocommerce form .form-row textarea,
.sp-wp-page-content .woocommerce table.cart td.actions .coupon .input-text { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid #cbd5e1 !important; border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff !important; color: #242827; box-sizing: border-box; }
.sp-wp-page-content .woocommerce > h2 { font-size: 22px !important; font-weight: 600 !important; margin: 12px 0 0 !important; }
.sp-wp-page-content .woocommerce #customer_login.u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: none; margin: 0; align-items: stretch; }
.sp-wp-page-content .woocommerce #customer_login::before,
.sp-wp-page-content .woocommerce #customer_login::after,
.sp-wp-page-content .woocommerce:has(.woocommerce-MyAccount-navigation)::before,
.sp-wp-page-content .woocommerce:has(.woocommerce-MyAccount-navigation)::after { content: none !important; display: none !important; }
.sp-wp-page-content .woocommerce #customer_login .u-column1,
.sp-wp-page-content .woocommerce #customer_login .u-column2 { width: 100% !important; float: none !important; display: flex; flex-direction: column; }
.sp-wp-page-content .woocommerce #customer_login h2 { font-size: 22px !important; font-weight: 600 !important; margin: 0 0 14px !important; }
.sp-wp-page-content .woocommerce #customer_login form.login,
.sp-wp-page-content .woocommerce #customer_login form.register { flex: 1 1 auto; display: flex; flex-direction: column; max-width: none; margin: 0 !important; padding: 32px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 14px; background: #fff; box-sizing: border-box; }
.sp-wp-page-content .woocommerce #customer_login .hc-social-login { margin-top: auto !important; padding-top: 20px; }
.sp-wp-page-content .woocommerce #customer_login .woocommerce-LostPassword { margin-bottom: 18px; }
.sp-wp-page-content .woocommerce #customer_login form.register > p:last-of-type { margin-bottom: 18px; }
@media (max-width: 820px) {
  .sp-wp-page-content .woocommerce #customer_login.u-columns.col2-set { grid-template-columns: 1fr; gap: 24px; }
}
.sp-wp-page-content .woocommerce form.login,
.sp-wp-page-content .woocommerce form.register { max-width: 520px; padding: 32px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 14px; background: #fff; margin: 16px auto 0; box-sizing: border-box; }
.sp-wp-page-content .woocommerce form.login .woocommerce-form-login__submit,
.sp-wp-page-content .woocommerce form.register .woocommerce-form-register__submit { width: 100% !important; min-height: 46px !important; margin-top: 4px; }
.sp-wp-page-content .woocommerce .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; margin: 0 0 16px !important; cursor: pointer; font-weight: 500 !important; }
.sp-wp-page-content .woocommerce .woocommerce-LostPassword { margin: 12px 0 0; font-size: 14px; }
.sp-wp-page-content .woocommerce .woocommerce-LostPassword a { color: #9d2235; text-decoration: none; font-weight: 500; }
.sp-wp-page-content .woocommerce .woocommerce-billing-fields__field-wrapper,
.sp-wp-page-content .woocommerce .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.sp-wp-page-content .woocommerce .woocommerce-billing-fields__field-wrapper .form-row-wide,
.sp-wp-page-content .woocommerce .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .sp-wp-page-content .woocommerce .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
}
.sp-wp-page-content .woocommerce #customer_details h3,
.sp-wp-page-content .woocommerce #order_review_heading { margin: 0 0 16px !important; font-size: 20px; line-height: 1.3; }
@media (min-width: 960px) {
  .sp-wp-page-content .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); grid-template-rows: auto 1fr; gap: 16px 32px; align-items: start; }
  .sp-wp-page-content .woocommerce form.checkout .col2-set { grid-column: 1; grid-row: 1 / span 2; width: 100%; float: none; display: grid; gap: 20px; }
  .sp-wp-page-content .woocommerce form.checkout .col2-set .col-1,
  .sp-wp-page-content .woocommerce form.checkout .col2-set .col-2 { width: 100%; float: none; }
  .sp-wp-page-content .woocommerce #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 !important; font-size: 20px; }
  .sp-wp-page-content .woocommerce #order_review { grid-column: 2; grid-row: 2; width: 100%; position: sticky; top: 104px; }
  .sp-wp-page-content .woocommerce form.checkout:has(> .woocommerce-NoticeGroup-checkout li:not([data-id])) { grid-template-rows: auto auto 1fr; }
  .sp-wp-page-content .woocommerce form.checkout:has(> .woocommerce-NoticeGroup-checkout li:not([data-id])) > .woocommerce-NoticeGroup-checkout { grid-column: 1 / -1; grid-row: 1; }
  .sp-wp-page-content .woocommerce form.checkout:has(> .woocommerce-NoticeGroup-checkout li:not([data-id])) .col2-set { grid-row: 2 / span 2; }
  .sp-wp-page-content .woocommerce form.checkout:has(> .woocommerce-NoticeGroup-checkout li:not([data-id])) #order_review_heading { grid-row: 2; }
  .sp-wp-page-content .woocommerce form.checkout:has(> .woocommerce-NoticeGroup-checkout li:not([data-id])) #order_review { grid-row: 3; }
  body.admin-bar .sp-wp-page-content .woocommerce #order_review { top: 136px; }
}
.sp-wp-page-content .woocommerce form.checkout_coupon { max-width: 560px; padding: 20px; margin: 0 0 24px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 8px; background: #fff; box-sizing: border-box; }
.sp-wp-page-content .woocommerce form.checkout_coupon > p:first-child { margin: 0 0 12px; font-size: 14px; color: #5c6160; }
.sp-wp-page-content .woocommerce form.checkout_coupon .form-row-first { display: inline-block !important; width: calc(100% - 122px) !important; vertical-align: middle !important; margin: 0 10px 0 0 !important; }
.sp-wp-page-content .woocommerce form.checkout_coupon .form-row-last { display: inline-block !important; width: auto !important; vertical-align: middle !important; margin: 0 !important; }
.sp-wp-page-content .woocommerce form.checkout_coupon .clear { display: none !important; }
body.woocommerce-checkout .sp-wp-page-content .woocommerce form.woocommerce-form-login { max-width: 560px; padding: 24px; margin: 0 0 24px !important; }
.sp-wp-page-content .woocommerce :is(input.input-text, select, textarea):focus { outline: none !important; border-color: #9d2235 !important; box-shadow: 0 0 0 3px rgba(157, 34, 53, .12) !important; }
.sp-wp-page-content .woocommerce #order_review { padding: 24px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 14px; background: #fbf9f8; box-sizing: border-box; }
.sp-wp-page-content .woocommerce #payment { background: #fff !important; border: 1px solid rgba(36, 40, 39, .12); border-radius: 10px; margin-top: 16px; }
.sp-wp-page-content .woocommerce #payment ul.payment_methods { list-style: none; margin: 0; padding: 16px; border-bottom: 1px solid rgba(36, 40, 39, .1); }
.sp-wp-page-content .woocommerce #payment ul.payment_methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.sp-wp-page-content .woocommerce #payment ul.payment_methods li:last-child { margin-bottom: 0; }
.sp-wp-page-content .woocommerce #payment ul.payment_methods li input.input-radio { margin: 0 !important; flex: 0 0 auto; accent-color: #9d2235; }
.sp-wp-page-content .woocommerce #payment ul.payment_methods li label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 !important; font-weight: 600; cursor: pointer; flex: 1 1 0%; min-width: 0; line-height: 1.4; }
.sp-wp-page-content .woocommerce #payment div.payment_box { flex: 0 0 100%; width: 100%; box-sizing: border-box; background: #fbf9f8 !important; color: #3f4443 !important; border-radius: 8px; padding: 12px 14px; margin-top: 4px; font-size: 13.5px; }
.sp-wp-page-content .woocommerce #payment div.payment_box::before { display: none; }
.sp-wp-page-content .woocommerce #payment .place-order { padding: 16px !important; margin: 0 !important; box-sizing: border-box; }
.sp-wp-page-content .woocommerce #payment .woocommerce-privacy-policy-text p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: #5c6160; }
.sp-wp-page-content .woocommerce #place_order { width: 100% !important; float: none !important; min-height: 48px !important; border-radius: 6px !important; margin-top: 8px; }
.sp-wp-page-content .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 820px) {
  .sp-wp-page-content .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; gap: 20px; }
}
.sp-wp-page-content .woocommerce-MyAccount-navigation { width: 100% !important; float: none !important; }
.sp-wp-page-content .woocommerce-MyAccount-content { width: 100% !important; float: none !important; padding: 28px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 14px; background: #fff; box-sizing: border-box; }
.sp-wp-page-content .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sp-wp-page-content .woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(36, 40, 39, .12); border-radius: 10px; color: #242827; text-decoration: none; font-weight: 500; transition: border-color .15s ease, color .15s ease; }
.sp-wp-page-content .woocommerce-MyAccount-navigation li a:hover { border-color: #9d2235; color: #9d2235; }
.sp-wp-page-content .woocommerce-MyAccount-navigation li.is-active a { background: #9d2235; border-color: #9d2235; color: #fff; }
.sp-wp-page-content .woocommerce-Addresses.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.sp-wp-page-content .woocommerce-Addresses.col2-set::before,
.sp-wp-page-content .woocommerce-Addresses.col2-set::after { content: none !important; display: none !important; }
.sp-wp-page-content .woocommerce-Addresses .woocommerce-Address { width: 100% !important; float: none !important; border: 1px solid rgba(36, 40, 39, .14); padding: 20px; background: #fbf9f8; box-sizing: border-box; }
@media (max-width: 767px) {
  .sp-wp-page-content .woocommerce-Addresses.col2-set { grid-template-columns: 1fr; gap: 16px; }
}
.sp-wp-page-content .woocommerce-EditAccountForm fieldset { border: 1px solid rgba(36, 40, 39, .12); padding: 20px; margin: 20px 0; }
.sp-wp-page-content .woocommerce-EditAccountForm fieldset legend { padding: 0 8px; font-weight: 600; font-size: 14px; color: #242827; }
.sp-wp-page-content .woocommerce .return-to-shop { margin: 20px 0 0; }
.sp-wp-page-content .woocommerce .return-to-shop a.button { background: #9d2235 !important; border-color: #9d2235 !important; color: #fff !important; }
.sp-wp-page-content .woocommerce .return-to-shop a.button:hover { background: #7e1929 !important; border-color: #7e1929 !important; }
.sp-wp-page-content :is(.woocommerce-message, .woocommerce-info) {
  border: 1px solid rgba(36, 40, 39, .12) !important;
  border-left: 3px solid #9d2235 !important;
  border-radius: 8px !important;
  background: #fbf9f8 !important;
  color: #242827 !important;
  padding: 14px 18px !important;
  margin: 0 0 20px !important;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 12px;
  flex-wrap: wrap;
  font-size: 14.5px;
  line-height: 1.5;
}
.sp-wp-page-content .woocommerce-message {
  background: #f3faf5 !important;
  border-color: rgba(22, 101, 52, .18) !important;
  border-left: 3px solid #16a34a !important;
  color: #14532d !important;
}
.sp-wp-page-content :is(.woocommerce-message, .woocommerce-info)::before {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.sp-wp-page-content .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d2235' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}
.sp-wp-page-content .woocommerce-message::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
.sp-wp-page-content .woocommerce-error {
  display: block !important;
  list-style: none !important;
  border: 1px solid rgba(157, 34, 53, .22) !important;
  border-left: 3px solid #9d2235 !important;
  border-radius: 8px !important;
  background: #fdf5f6 !important;
  color: #7e1929 !important;
  padding: 14px 18px 14px 44px !important;
  margin: 0 0 20px !important;
  position: relative;
  outline: none !important;
  box-shadow: none !important;
}
.sp-wp-page-content .woocommerce-error::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 15px !important;
  width: 18px !important;
  height: 18px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d2235' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}
.sp-wp-page-content .woocommerce-error li {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
}
.sp-wp-page-content .woocommerce-error li a {
  color: inherit;
  text-decoration: none;
}
.sp-wp-page-content .woocommerce-error li:last-child {
  margin-bottom: 0;
}
.sp-wp-page-content .woocommerce form.checkout .woocommerce-NoticeGroup-checkout:not(:has(li:not([data-id]))) {
  display: none !important;
}
.sp-wp-page-content .woocommerce form.checkout .woocommerce-NoticeGroup-checkout li[data-id] {
  display: none !important;
}
.sp-wp-page-content .woocommerce form .form-row.woocommerce-invalid :is(input.input-text, select, textarea, .select2-selection--single) {
  border-color: #9d2235 !important;
  background: #fffafa !important;
}
.sp-wp-page-content .woocommerce form .form-row .checkout-inline-error-message {
  margin: 5px 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
  color: #9d2235 !important;
  font-weight: 500;
}
.sp-wp-page-content .woocommerce-message:focus,
.sp-wp-page-content .woocommerce-info:focus,
.sp-wp-page-content .woocommerce-error:focus { outline: none !important; }
.sp-wp-page-content .woocommerce-message .button,
.sp-wp-page-content .woocommerce-info .button { float: none !important; margin-left: auto; }

/* Social Login (.hc-social-login & Nextend Social Login integration) */
.hc-social-login { margin-top: 16px; padding-top: 4px; border-top: 0; width: 100%; }
.hc-social-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 13px; color: #5c6160; font-weight: 500; }
.hc-social-divider::before,
.hc-social-divider::after { content: ""; flex: 1; height: 1px; background: rgba(36, 40, 39, .12); }
.hc-social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 480px) {
  .hc-social-buttons { grid-template-columns: 1fr; }
}
.hc-social-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-family: 'Be Vietnam Pro', sans-serif; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; box-sizing: border-box; }
.hc-social-btn:hover { transform: translateY(-1px); }
.hc-social-btn--facebook { background: #1877F2; color: #fff !important; border: 1px solid #1877F2; }
.hc-social-btn--facebook:hover { filter: brightness(.95); }
.hc-social-btn--google { background: #fff; color: #242827 !important; border: 1px solid rgba(36, 40, 39, .2); }
.hc-social-btn--google:hover { border-color: rgba(36, 40, 39, .38); box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }
.hc-social-notice { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: #fdf5f6; border: 1px solid rgba(157, 34, 53, .22); color: #7e1929; font-size: 12.5px; line-height: 1.5; }
.hc-social-admin-hint { margin: 10px 0 0; font-size: 12px; color: #5c6160; text-align: center; }
.hc-social-admin-hint a { color: #9d2235; font-weight: 600; }
.hc-social-login .nsl-container { margin: 0 !important; }
.hc-social-login .nsl-container .nsl-container-buttons { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
@media (max-width: 480px) {
  .hc-social-login .nsl-container .nsl-container-buttons { grid-template-columns: 1fr !important; }
}
.hc-social-login .nsl-container .nsl-button { width: 100% !important; min-height: 44px !important; border-radius: 10px !important; }

/* About (/ve-chung-toi/) Breadcrumb Descender Breathing Room */
html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_) #main.sp-main > nav.sp-breadcrumb {
  padding-bottom: 12px !important;
}
html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_) #main.sp-main > nav.sp-breadcrumb .sp-breadcrumb-in {
  line-height: 1.5 !important;
}

/* Mobile iOS auto-zoom prevention & touch target enforcement */
@media (max-width: 767px) {
  .sp-wp-page-content .woocommerce form .form-row input.input-text,
  .sp-wp-page-content .woocommerce form .form-row select,
  .sp-wp-page-content .woocommerce form .form-row textarea,
  .sp-form input,
  .sp-form textarea,
  .cart-voucher input,
  .footer-newsletter input,
  .sp-quick-search input,
  .sp-kb-search input,
  .sp-help-search input { font-size: 16px !important; min-height: 44px; }
  .sp-post-product-btns { width: 100%; }
}

/* Floating Quick Contact Sidebar (synchronized with Customizer -> Button Contact Sidebar) */
.factory-tools button { font: inherit; cursor: pointer; }
.factory-tools .bottom-tools { position: fixed; z-index: 70; right: 16px; bottom: 20px; display: flex; align-items: center; gap: 8px; }
.factory-tools .bottom-tools button { min-height: 44px; min-width: 44px; border: 1px solid rgba(36, 40, 39, .14); border-radius: 50%; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .09); color: #9d2235; display: grid; place-items: center; padding: 0; }
.factory-tools .bottom-tools .chat-toggle { width: 48px; height: 48px; border: 1px solid rgba(157, 34, 53, .32); }
.factory-tools .bottom-tools .chat-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.factory-tools .tool-panel[hidden], .factory-tools .back-to-top[hidden] { display: none !important; }
.factory-tools .tool-panel { position: fixed; z-index: 75; right: 16px; bottom: 78px; width: min(360px, calc(100vw - 32px)); padding: 24px; border: 1px solid rgba(36, 40, 39, .12); border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(25, 25, 25, .14); max-height: calc(100svh - 160px); overflow-y: auto; }
.factory-tools #chat-panel h3 { margin: 2px 40px 6px 0; font-size: 20px; line-height: 1.3; color: #242827; }
.factory-tools #chat-panel > p { margin: 0 0 16px; color: #665e58; font-size: 14px; line-height: 1.5; }
.factory-tools #chat-panel > a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 10px; border-top: 1px solid rgba(36, 40, 39, .09); border-radius: 8px; color: #242827; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.factory-tools #chat-panel > a:hover { background: #fbf7f7; color: #9d2235; }
.factory-tools .quick-contact-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid rgba(157, 34, 53, .16); border-radius: 50%; background: #fcf8f8; color: #9d2235; }
.factory-tools .quick-contact-icon img, .factory-tools .quick-contact-icon svg { width: 20px; height: 20px; object-fit: contain; display: block; }
.factory-tools .quick-contact-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.factory-tools .contact-row-copy { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.4; }
.factory-tools .contact-affordance { color: #8c857e; font-size: 13px; }
.factory-tools .tool-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(36, 40, 39, .1); border-radius: 50%; background: #fff; color: #665e58; font-size: 20px; line-height: 1; padding: 0; }

/* Mobile Sticky Bottom Bar (.hc-mbar) */
.hc-mbar { display: none; }
@media (max-width: 767px) {
  body.has-mbar:not(.woocommerce-cart):not(.woocommerce-checkout) { padding-bottom: 58px; }
  body.woocommerce-cart .hc-mbar,
  body.woocommerce-checkout .hc-mbar { display: none !important; }
  .factory-tools { display: none !important; }
  .hc-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: repeat(3, 1fr); height: 58px; padding-bottom: env(safe-area-inset-bottom); background: #9d2235; box-shadow: 0 -8px 24px rgba(48, 49, 49, .18); transform: translateY(0); transition: transform .25s ease; }
  .hc-mbar.is-hidden { transform: translateY(110%); }
  .hc-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff !important; font-size: 12px !important; font-weight: 600; line-height: 1.2; text-decoration: none; border-left: 1px solid rgba(255, 255, 255, .18); }
  .hc-mbar a:first-child { border-left: 0; }
  .hc-mbar svg { width: 20px; height: 20px; display: block; flex: none; }
  .sp-post-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ==========================================================================
   STAGE 3 DESKTOP VERTICAL-EDGE GRID LOCK (1200px - 1920px+) & PDP PARITY
   ========================================================================== */
@media (min-width: 1200px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .site-header {
    width: 100% !important;
    max-width: 100% !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .site-header > .header-in {
    width: min(1344px, calc(100% - 96px)) !important;
    max-width: 1344px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .site-header > .header-in > .logo {
    width: 100% !important;
    max-width: 214px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .site-header > .header-in > .nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .site-header > .header-in > .sales-header-actions {
    width: 100% !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) :is(
    .sales-footer > .wrap,
    #main > .wrap,
    #main > section:not(.wrap) > .wrap,
    #main > section > .sp-detail-facts,
    #main > .sales-wrap,
    #main > section > .sales-wrap,
    body.home #main > section > .wrap,
    body.home #main .np-in
  ) {
    width: min(1344px, calc(100% - 96px)) !important;
    max-width: 1344px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-footer > .wrap > :is(.footer-band, .footer-main, .footer-sub, .footer-bottom) {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .sp-detail-facts {
    grid-template-columns: minmax(0, 553fr) minmax(0, 779fr) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-type-tabs > button {
    white-space: nowrap !important;
    padding-inline: 10px !important;
    min-height: 40px !important;
  }
}

/* PDP Stage 3 Fixes (all viewports): related blank-gap removal, media crop locks & video poster */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail > section {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .will-reveal {
  opacity: 1 !important;
  transform: none !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail :is(.sp-facts-media, .sp-howto-media) {
  display: block !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail :is(.sp-facts-media, .sp-howto-media) > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .sp-video-stage > .sp-video-poster {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  z-index: 1 !important;
  cursor: pointer;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .sp-video-stage > .sp-video-play-badge {
  z-index: 2 !important;
  cursor: pointer;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .sp-video-stage.is-playing > .sp-video-poster,
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main-detail .sp-video-stage.is-playing > .sp-video-play-badge {
  display: none !important;
}

/* Mega Menu Desktop Fixes (1025px+): prevent title nowrap clipping, fit 720p laptop viewport, snap 1344px axis */
@media (min-width: 1025px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu {
    max-height: calc(100vh - 76px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-inner {
    width: min(1344px, calc(100% - 96px)) !important;
    max-width: 1344px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    grid-template-columns: minmax(0, 1fr) 280px !important;
    box-sizing: border-box !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-grid {
    padding-block: 6px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-col {
    padding: 16px 24px 18px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-col:nth-child(3n+1) {
    padding-left: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-heading {
    margin-bottom: 10px !important;
    font-size: 13.5px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-list {
    gap: 7px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-list a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-all-link {
    padding: 14px 0 18px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured {
    padding: 20px 0 20px 28px !important;
    white-space: normal !important;
    min-width: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured * {
    white-space: normal !important;
    max-width: 100%;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-head .mega-featured-label {
    margin-bottom: 0 !important;
    order: 0 !important;
    font-size: 13.5px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-dots {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6cfc9;
    cursor: pointer;
    transition: width .22s ease, background-color .22s ease;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-dot.is-active {
    width: 18px;
    background: #9d2235;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-slide {
    display: none;
    flex-direction: column;
    gap: 6px;
    color: var(--sales-ink, #242220);
    text-decoration: none;
    white-space: normal !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured-slide.is-active {
    display: flex;
    animation: hcMegaFade .35s ease;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) .sales-mega-menu .mega-featured strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: break-word;
  }
}
@keyframes hcMegaFade {
  from { opacity: .25; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}

/* Vietnamese Display Heading Line-Height Fixes (prevent diacritic crowding on wrapped titles) */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-detail-h1 {
  line-height: 1.3 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main :is(.sp-band-text h2, .sp-post-head h1, .sp-catalog-title, .sp-shopee-hero-title) {
  line-height: 1.26 !important;
}

/* Catalog Filter Checkbox Padding & Sticky Left Columns (Desktop 1200px+) */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-filter-sidebar > .sp-filter-group > .sp-filter-list {
  padding: 4px 16px 14px !important;
}
@media (min-width: 1200px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main.sp-main {
    overflow: visible !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-catalog-layout,
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-detail-hero {
    overflow: visible !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-filter-sidebar {
    position: sticky !important;
    top: 92px !important;
    align-self: start !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(36, 34, 32, .22) transparent;
  }
  html[lang] body.editorial.sales-final.admin-bar:not(#_):not(#_):not(#_) #main .sp-filter-sidebar {
    top: 124px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-filter-sidebar > .sp-filter-group[open] > summary {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
    background: #fcfbf9 !important;
    border-bottom: 1px solid var(--sales-line, #e6e1da) !important;
    box-shadow: inset 0 1px 0 var(--sales-line, #e6e1da);
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-detail-gallery {
    position: sticky !important;
    top: 92px !important;
    align-self: start !important;
  }
  html[lang] body.editorial.sales-final.admin-bar:not(#_):not(#_):not(#_) #main .sp-detail-gallery {
    top: 124px !important;
  }
}

/* PDP single-pill size overflow fix & exact vertical counter alignment for .sp-steps-list */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-detail-sizes > :nth-child(2):last-child {
  grid-column: 2 / -1 !important;
  width: max-content !important;
  min-width: 101px !important;
  max-width: 100% !important;
  justify-self: start !important;
  padding: 6px 16px !important;
  white-space: nowrap !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main details.sp-detail-acc > :is(p, ol, ul, div) {
  margin: 0 16px 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-steps-list {
  list-style: none !important;
  counter-reset: sp-step;
  padding: 0 !important;
  margin: 0 16px 16px !important;
  display: grid !important;
  gap: 6px !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-steps-list > li {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  column-gap: 4px !important;
  align-items: baseline !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-steps-list > li::before {
  counter-increment: sp-step;
  content: counter(sp-step) ".";
  font-variant-numeric: tabular-nums;
  text-align: left;
}

/* WordPress Accessibility Utilities (prevents 1440px checkout label overflow) */
.screen-reader-text,
.sp-wp-page-content .woocommerce form .form-row label.screen-reader-text,
.sp-wp-page-content .woocommerce th span.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}
.skip-link:not(:focus) {
  position: fixed !important;
  top: -200px !important;
  left: -200px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
html { scroll-behavior: auto !important; }

/* Global Stage 3 Fixes: prevent invisible sections/headings, tight Vietnamese headings, 1280px footer/hero clipping */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) main > section,
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) main section.section {
  content-visibility: visible !important;
  contain-intrinsic-size: none !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) main .will-reveal {
  opacity: 1 !important;
  transform: none !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) main :is(h1, h2, .sales-promo-card h3) {
  line-height: 1.24 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) main .sp-detail-h1 {
  line-height: 1.3 !important;
}

@media (min-width: 1200px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer :is(.footer-col, .footer-dir, .footer-dir-grid, .footer-top, .footer-band-news, .footer-band-side) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-news {
    grid-template-columns: minmax(0, 327fr) minmax(0, 440fr) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-side {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-dir-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-sub {
    grid-template-columns: minmax(0, 1005fr) minmax(0, 327fr) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .shop-hero-02 .editorial-commerce-slide {
    width: min(1344px, calc(100% - 96px)) !important;
    max-width: 1344px !important;
    grid-template-columns: minmax(0, 553fr) minmax(0, 779fr) !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .shop-hero-02 .ec-type {
    width: 100% !important;
    max-width: 553px !important;
    min-width: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .shop-hero-02 .ec-canvas {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 779px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-news {
    grid-column: 1 / 8 !important;
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-form {
    grid-template-columns: minmax(0, 1fr) 96px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-side {
    grid-column: 8 / 13 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-follow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-band-follow > span {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-social {
    display: inline-flex !important;
    justify-content: flex-start !important;
    width: auto !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-social a {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-bct {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_) .sales-footer .footer-bct img {
    max-width: 82px !important;
    width: auto !important;
    height: auto !important;
  }
}

/* Offers (/uu-dai/): Desktop voucher tag single-line + Mobile discount badge top-right */
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-ticket-left .sp-ticket-tag {
  white-space: nowrap;
  font-size: 10px;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-ticket-left .sp-ticket-value {
  white-space: nowrap;
  font-size: 20px;
}
@media (max-width: 767px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-flash-card-media .sp-flash-badge-shopee {
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 3 !important;
  }
}

/* Contact (/lien-he/): wider column gutter so col-1 '>' arrow doesn't visually crowd col-2 */
@media (min-width: 768px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_) #main .sp-help-questions {
    column-gap: 48px !important;
  }
}

/* Header Action Icons Hover / Focus / Circular Cart Badge & Crisp Rounded Controls */
@media (min-width: 1200px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header > .header-in > .sales-header-actions {
    grid-template-columns: 32px 38px 34px 10px 100px !important;
  }
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-header-actions :is(.sales-utility-button, .sales-cart-trigger, a.sales-login) {
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  border-radius: 6px !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-header-actions :is(.sales-utility-button, .sales-cart-trigger, a.sales-login):is(:hover, :focus, :active) {
  transform: none !important;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  color: #9d2235 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-header-actions :is(.sales-utility-button, .sales-cart-trigger, a.sales-login):focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 1.5px rgba(157, 34, 53, .55) !important;
  border-radius: 6px !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-cart-trigger > [data-cart-count] {
  border-radius: 999px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  top: 1px !important;
  right: -1px !important;
  font-size: 10px !important;
  line-height: 17px !important;
  pointer-events: none !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-factory-link {
  transition: border-color .18s ease, color .18s ease !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-factory-link:hover {
  border-color: #9d2235 !important;
  color: #9d2235 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .site-header .sales-factory-link:focus-visible {
  outline: none !important;
  box-shadow: inset 0 0 0 1.5px #9d2235 !important;
  border-color: #9d2235 !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) .sp-wp-page-content .woocommerce-cart-form .product-remove a.remove {
  border-radius: 50% !important;
}
html[lang] body.editorial.sales-final:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) :is(.hc-social-btn, .hc-social-notice, .sp-wp-page-content .woocommerce :is(input.input-text, select, .select2-selection--single, textarea, .button, button.button, a.button, #pwgc-redeem-gift-card-number, #pwgc-redeem-button)) {
  border-radius: 6px !important;
}

/* PDP "Cam kết chất lượng": vertical centering & generous horizontal spacing matching .sp-detail-facts */
@media (min-width: 1200px) {
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main .sp-quality-in {
    align-items: center !important;
  }
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main .sp-quality-in > .sp-quality-text {
    padding: 32px 48px !important;
    box-sizing: border-box !important;
  }
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main .sp-quality-in .sp-quality-list {
    margin-top: 24px !important;
    gap: 22px !important;
  }
}
@media (max-width: 1199px) {
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main .sp-quality-in {
    row-gap: 24px !important;
  }
  html[lang] body.editorial.sales-final.sales-subpage:not(#_):not(#_):not(#_) #main .sp-quality-in > .sp-quality-text {
    padding: 0 !important;
  }
}

/* Add-to-cart pending state & Cart Drawer size tag */
html[lang] body.editorial.sales-final [data-add-cart].is-loading {
  opacity: .72;
  cursor: wait;
  pointer-events: none;
}
html[lang] body.editorial.sales-final .cart-drawer .cart-line .hc-cart-size-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f3ece7;
  color: #5c4b45;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  vertical-align: middle;
}

/* Checkout utility toggles: compact 2-column editorial bars + brand SVG icons */
.sp-wp-page-content .woocommerce-info::before {
  color: #9d2235 !important;
}
body.woocommerce-checkout .sp-wp-page-content :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) .woocommerce-info {
  border: 1px solid rgba(36, 40, 39, .12) !important;
  border-left: 1px solid rgba(36, 40, 39, .12) !important;
  border-radius: 10px !important;
  background: #fbf9f8 !important;
  padding: 13px 18px !important;
  margin: 0 0 18px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #3f4443 !important;
  height: 100%;
  box-sizing: border-box;
  transition: border-color .18s ease, background-color .18s ease;
}
body.woocommerce-checkout .sp-wp-page-content :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) .woocommerce-info:hover {
  border-color: rgba(157, 34, 53, .32) !important;
  background: #fff !important;
}
body.woocommerce-checkout .sp-wp-page-content :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) .woocommerce-info::before {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  margin-right: 2px;
}
body.woocommerce-checkout .sp-wp-page-content .woocommerce-form-login-toggle .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d2235' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}
body.woocommerce-checkout .sp-wp-page-content .woocommerce-form-coupon-toggle .woocommerce-info::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d2235' stroke-width='1.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z'/%3E%3Cpath d='M13 5v2'/%3E%3Cpath d='M13 17v2'/%3E%3Cpath d='M13 11v2'/%3E%3C/svg%3E");
}
body.woocommerce-checkout .sp-wp-page-content :is(.woocommerce-form-login-toggle .showlogin, .woocommerce-form-coupon-toggle .showcoupon) {
  color: #9d2235 !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(157, 34, 53, .35);
  transition: color .18s ease, text-decoration-color .18s ease;
}
body.woocommerce-checkout .sp-wp-page-content :is(.woocommerce-form-login-toggle .showlogin, .woocommerce-form-coupon-toggle .showcoupon):hover {
  color: #7e1929 !important;
  text-decoration-color: #7e1929;
}
@media (min-width: 860px) {
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    align-items: stretch;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > * {
    grid-column: 1 / -1;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > .woocommerce-notices-wrapper:first-child {
    grid-row: 1;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > .woocommerce-form-login-toggle {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 20px;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > .woocommerce-form-coupon-toggle {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 20px;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > :is(.woocommerce-form-login-toggle, .woocommerce-form-coupon-toggle) .woocommerce-info {
    margin-bottom: 0 !important;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > form.woocommerce-form-login {
    grid-column: 1;
    grid-row: 3;
    max-width: none !important;
    width: 100%;
    align-self: start;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > form.checkout_coupon {
    grid-column: 2;
    grid-row: 3;
    max-width: none !important;
    width: 100%;
    align-self: start;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > .woocommerce-notices-wrapper:not(:first-child) {
    grid-row: 4;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce:has(.woocommerce-form-login-toggle):has(.woocommerce-form-coupon-toggle) > form.checkout {
    grid-row: 5;
  }
}
@media (max-width: 859px) {
  body.woocommerce-checkout .sp-wp-page-content .woocommerce-form-login-toggle .woocommerce-info {
    margin-bottom: 10px !important;
    padding: 12px 14px !important;
  }
  body.woocommerce-checkout .sp-wp-page-content .woocommerce-form-coupon-toggle .woocommerce-info {
    margin-bottom: 18px !important;
    padding: 12px 14px !important;
  }
}

/* Unify WooCommerce Select2 dropdowns with input.input-text */
.sp-wp-page-content .woocommerce .select2-container {
  width: 100% !important;
  display: block;
}
.sp-wp-page-content .woocommerce .select2-container--default .select2-selection--single {
  height: 44px !important;
  min-height: 44px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 38px 0 14px !important;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sp-wp-page-content .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 !important;
  line-height: 42px !important;
  font-size: 15px;
  color: #242827 !important;
  font-family: inherit;
}
.sp-wp-page-content .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px !important;
  width: 34px !important;
  top: 0 !important;
  right: 4px !important;
}
.sp-wp-page-content .woocommerce .select2-container--default:is(.select2-container--focus, .select2-container--open) .select2-selection--single {
  border-color: #9d2235 !important;
  box-shadow: 0 0 0 3px rgba(157, 34, 53, .12) !important;
  outline: none !important;
}
.select2-container--default .select2-dropdown {
  border-color: #cbd5e1 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .1);
  overflow: hidden;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  min-height: 38px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background-color: #9d2235 !important;
  color: #fff !important;
}
@media (max-width: 767px) {
  .sp-wp-page-content .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 16px;
  }
}

/* Checkout Order Review table alignment, tfoot symmetry & lost-password link */
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table :is(thead th:last-child, tbody td:last-child, tfoot td) {
  text-align: right !important;
  white-space: nowrap;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
  white-space: normal;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table #shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table #shipping_method li label {
  white-space: normal;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .sp-wp-page-content .woocommerce #order_review {
    padding: 16px;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table {
    width: 100%;
    table-layout: fixed;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table :is(th, td) {
    padding: 10px;
    font-size: 13.5px;
    word-break: break-word;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table :is(thead th:first-child, tbody td:first-child, tfoot th) {
    width: 46%;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals th {
    width: 32%;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals td {
    text-align: left !important;
    white-space: normal !important;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table #shipping_method li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 6px;
    text-align: left;
  }
  .sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table #shipping_method li input {
    margin: 3px 0 0;
    flex: 0 0 auto;
  }
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot :is(th, td) {
  background: #fff !important;
  border-top: 1px solid rgba(36, 40, 39, .1) !important;
  border-bottom: 0 !important;
  vertical-align: middle;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
  font-weight: 500;
  color: #3f4443;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
  font-weight: 600;
  color: #242827;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.cart-discount td {
  color: #9d2235;
  font-weight: 600;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot .woocommerce-remove-coupon {
  font-size: 12.5px;
  color: #5c6160;
  margin-left: 6px;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.order-total :is(th, td) {
  background: #fbf9f8 !important;
  font-size: 15.5px;
  font-weight: 700;
  border-top: 1px solid rgba(36, 40, 39, .14) !important;
}
.sp-wp-page-content .woocommerce table.woocommerce-checkout-review-order-table tfoot tr.order-total :is(td, .woocommerce-Price-amount) {
  color: #9d2235 !important;
  font-size: 16px;
}
body.woocommerce-checkout .sp-wp-page-content .woocommerce form.woocommerce-form-login .lost_password a {
  color: #9d2235;
  font-weight: 500;
  text-decoration: none;
}
body.woocommerce-checkout .sp-wp-page-content .woocommerce form.woocommerce-form-login .lost_password a:hover {
  text-decoration: underline;
}

/* PW WooCommerce Gift Cards redeem box inside Cart & Checkout */
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(36, 40, 39, .12);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-form,
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 8px 10px;
  margin: 0 !important;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-gift-card-container {
  grid-column: 1 / -1;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form br {
  display: none !important;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form label {
  grid-column: 1 / -1;
  margin: 0 !important;
  font-size: 13.5px;
  font-weight: 600;
  color: #242827;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-error {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: #9d2235 !important;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-error:empty {
  display: none !important;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-gift-card-number {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #242827 !important;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-gift-card-number:focus {
  outline: none !important;
  border-color: #9d2235 !important;
  box-shadow: 0 0 0 3px rgba(157, 34, 53, .12) !important;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(36, 40, 39, .18) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #242827 !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap !important;
  cursor: pointer;
}
.sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-button:hover {
  border-color: #9d2235 !important;
  color: #9d2235 !important;
}
@media (max-width: 767px) {
  .sp-wp-page-content .woocommerce #pwgc-redeem-gift-card-form #pwgc-redeem-gift-card-number {
    font-size: 16px;
  }
}

/* Preserve white SVG chevron icons on carousel prev/next buttons during hover/focus */
@media (min-width: 761px) {
  html[lang] body.editorial.sales-final :is(.sales-best-nav, #testimonials.ig-community .ugc-cf-nav):is(:hover, :focus-visible):not(:disabled) {
    background-color: #9d2235 !important;
    border-color: #9d2235 !important;
    background-position: center !important;
    background-size: 18px 18px !important;
    background-repeat: no-repeat !important;
  }
  html[lang] body.editorial.sales-final :is(.sales-best-prev, #testimonials.ig-community .ugc-cf-prev):is(:hover, :focus-visible):not(:disabled) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E") !important;
  }
  html[lang] body.editorial.sales-final :is(.sales-best-next, #testimonials.ig-community .ugc-cf-next):is(:hover, :focus-visible):not(:disabled) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") !important;
  }
}
@media (max-width: 1199px) {
  html[lang] body.editorial.sales-final:not(#_):not(#_) #featured .sales-best-nav:is(:hover, :focus-visible):not(:disabled) {
    background: #9d2235 !important;
    border-color: #9d2235 !important;
    color: #fff !important;
    background-image: none !important;
  }
}
