/* Mọi quy tắc giao diện chính đều nằm dưới .hvtkw-app để tránh xung đột theme. */
.hvtkw-page .entry-title,
.hvtkw-page .page-title,
.hvtkw-page .woocommerce-MyAccount-navigation,
.hvtkw-page .woocommerce-notices-wrapper:empty { display: none !important; }

.hvtkw-app,
.hvtkw-app * { box-sizing: border-box; }
.hvtkw-app {
  width: 100%;
  max-width: var(--hvtkw-max-width, 980px);
  margin: 0 auto;
  color: #111214;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}
.hvtkw-app a { color: inherit; text-decoration: none; }

/* Khớp khung website: chiều rộng theo khung theme và bố cục mobile theo kích thước thực của plugin. */
.hvtkw-fit-site-frame .hvtkw-app {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.hvtkw-fit-site-frame .hvtkw-app.hvtkw-auth,
.hvtkw-fit-site-frame .hvtkw-app .hvtkw-auth-card--wide { max-width: 100%; }

.hvtkw-app.hvtkw-is-mobile-layout { font-size: 13px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-auth-card { border-left: 0; border-right: 0; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-auth-body { padding: 32px 20px 36px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-logo { margin-bottom: 32px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-grid-2 { grid-template-columns: 1fr; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-topbar { padding: 0 14px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-welcome { padding: 22px 20px 18px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-welcome h1 { font-size: 26px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-layout { display: block; min-height: 0; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-sidebar { border-right: 0; border-bottom: 1px solid #e1e4e9; padding: 0; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-sidebar nav { display: none; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-mobile-back { display: flex; min-height: 48px; padding: 0 16px; align-items: center; gap: 9px; border-bottom: 1px solid #e1e4e9; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-content { padding: 25px 20px 40px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-account-content > h1 { font-size: 22px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-panel { padding: 16px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-coupon-grid { grid-template-columns: 1fr; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hvtkw-app button,
.hvtkw-app input,
.hvtkw-app select,
.hvtkw-app textarea { font: inherit; }
.hvtkw-app img { max-width: 100%; height: auto; }
.hvtkw-app h1,
.hvtkw-app h2,
.hvtkw-app h3,
.hvtkw-app p { margin-top: 0; }
.hvtkw-app h1 { font-size: clamp(22px, 3vw, 31px); line-height: 1.2; font-weight: 500; }
.hvtkw-app h2 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.hvtkw-app .hvtkw-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
  margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}
.hvtkw-app .hvtkw-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

/* Khung xác thực */
.hvtkw-auth { max-width: 520px; background: #fff; }
.hvtkw-auth-card { width: 100%; background: #fff; border: 1px solid #e3e6eb; }
.hvtkw-auth-card--wide { max-width: 720px; margin: 0 auto; }
.hvtkw-page-heading {
  min-height: 52px; display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; align-items: center;
  border-bottom: 1px solid #d9dde4; padding: 0 14px;
}
.hvtkw-page-heading h1 { font-size: 16px; text-align: center; margin: 0; font-weight: 500; }
.hvtkw-back { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.hvtkw-back--empty { visibility: hidden; }
.hvtkw-auth-body { padding: 38px 28px 42px; text-align: center; }
.hvtkw-auth-body--compact { max-width: 360px; margin: 0 auto; }
.hvtkw-logo { display: inline-flex; justify-content: center; align-items: center; max-width: 230px; margin: 0 auto 38px; }
.hvtkw-logo-image { max-height: 64px; width: auto; object-fit: contain; }
.hvtkw-logo-text { font-size: 29px; font-weight: 300; letter-spacing: 1.5px; }

.hvtkw-form { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.hvtkw-control {
  width: 100% !important; min-height: 42px; border: 1px solid var(--hvtkw-border, #c7ccd5) !important;
  border-radius: var(--hvtkw-radius, 3px) !important; background: #fff !important; color: #111214 !important;
  padding: 9px 12px !important; box-shadow: none !important; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.hvtkw-control:focus { border-color: #111214 !important; box-shadow: 0 0 0 1px #111214 !important; }
.hvtkw-control[readonly] { background: #f5f6f8 !important; color: #737b8c !important; }
.hvtkw-control::placeholder { color: #8c94a3; opacity: 1; }
.hvtkw-field,
.hvtkw-field-group { display: block; width: 100%; margin: 0; text-align: left; }
.hvtkw-field-group { margin-bottom: 3px; }
.hvtkw-label { display: block; margin-bottom: 7px; font-weight: 600; color: #111214; }
.hvtkw-label span { color: #e9312b; margin-left: 2px; }
.hvtkw-field-group small { display: block; margin-top: 5px; color: var(--hvtkw-muted, #737b8c); }
.hvtkw-password-field { position: relative; width: 100%; display: block; }
.hvtkw-password-field .hvtkw-control { padding-right: 44px !important; }
.hvtkw-password-toggle {
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 40px; height: 38px;
  border: 0 !important; background: transparent !important; color: #a1a8b5 !important; padding: 0 !important; cursor: pointer;
}
.hvtkw-password-toggle:hover { color: #111214 !important; }
.hvtkw-form-row { display: flex; gap: 12px; align-items: center; }
.hvtkw-form-row--between { justify-content: space-between; margin: 2px 0 8px; }
.hvtkw-check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 13px; }
.hvtkw-check--full { margin: 7px 0 12px; }
.hvtkw-check input {
  width: 17px !important; min-width: 17px; height: 17px !important; margin: 1px 0 0 !important; accent-color: #111214;
}
.hvtkw-text-link { text-decoration: underline !important; text-underline-offset: 2px; font-size: 13px; }
.hvtkw-button {
  width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--hvtkw-radius, 3px); padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; transition: opacity .18s ease, transform .18s ease; text-align: center;
}
.hvtkw-button:hover { opacity: .88; transform: translateY(-1px); }
.hvtkw-button--primary { background: var(--hvtkw-accent, #111214) !important; color: #fff !important; border: 1px solid var(--hvtkw-accent, #111214) !important; }
.hvtkw-button--outline { background: #fff !important; color: #111214 !important; border: 1px solid #111214 !important; }
.hvtkw-button--small { width: auto; min-height: 34px; padding: 7px 13px; }
.hvtkw-auth-divider { margin: 24px 0 10px; font-size: 12px; text-align: center; }
.hvtkw-auth-divider span { display: inline-block; background: #fff; padding: 0 8px; }
.hvtkw-order-link { display: inline-block; margin-top: 30px; text-decoration: underline !important; text-underline-offset: 3px; font-size: 12px; }
.hvtkw-terms { margin: 4px auto 0; max-width: 430px; text-align: center; font-size: 11px; color: #4b5260; }
.hvtkw-terms a { text-decoration: underline !important; }
.hvtkw-birthday-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hvtkw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Thông báo */
.hvtkw-notice { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid; text-align: left; font-size: 13px; }
.hvtkw-notice ul { margin: 0; padding-left: 18px; }
.hvtkw-notice--success { background: #eff9f2; border-color: #2f8f4e; color: #256b3d; }
.hvtkw-notice--error { background: #fff1f0; border-color: #d93025; color: #a6261f; }

/* Xác minh email */
.hvtkw-verify-body h2 { margin: 29px 0 34px; font-size: 26px; font-weight: 500; }
.hvtkw-verify-body > p { line-height: 1.55; }
.hvtkw-email-chip { margin: 10px auto 16px; padding: 8px 14px; max-width: 330px; border-bottom: 1px solid #111214; background: #f7f7f8; font-weight: 600; }
.hvtkw-steps { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: start; max-width: 300px; margin: 0 auto; }
.hvtkw-step { position: relative; width: 72px; text-align: center; }
.hvtkw-step > span { width: 27px; height: 27px; margin: 0 auto 8px; border: 2px solid #9aa3b1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; }
.hvtkw-step small { display: block; font-size: 10px; line-height: 1.25; }
.hvtkw-step.is-done > span { background: #111214; border-color: #111214; color: #fff; }
.hvtkw-step.is-active > span { border-color: #111214; }
.hvtkw-step-line { height: 2px; background: #a7afbc; margin-top: 13px; }
.hvtkw-step.is-done + .hvtkw-step-line { background: #111214; }
.hvtkw-return-login { margin: 27px 0 0; color: #7d8593; font-size: 12px; text-align: center; }
.hvtkw-return-login a { color: #2466b3; text-decoration: underline !important; }
.hvtkw-order-track-form { max-width: 440px; margin: 0 auto; }
.hvtkw-tracking-result { margin-top: 34px; text-align: left; border-top: 1px solid #e1e4e9; padding-top: 28px; }

/* Tài khoản */
.hvtkw-account { max-width: var(--hvtkw-max-width, 980px); background: #fff; }
.hvtkw-account-topbar { min-height: 53px; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; border-bottom: 1px solid #dfe2e7; }
.hvtkw-account-title { font-size: 15px; font-weight: 500; }
.hvtkw-account-actions { display: flex; align-items: center; gap: 18px; }
.hvtkw-account-actions a,
.hvtkw-account-actions .hvtkw-search-toggle { width: 25px; height: 36px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #111214; }
.hvtkw-account-actions .hvtkw-search-toggle { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; cursor: pointer; }
.hvtkw-account-actions .hvtkw-search-toggle:hover,
.hvtkw-account-actions .hvtkw-search-toggle:focus-visible { color: var(--hvtkw-accent, #111214); transform: none; }
.hvtkw-account-search { padding: 10px 20px; border-bottom: 1px solid #dfe2e7; background: #fff; }
.hvtkw-account-search form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin: 0; }
.hvtkw-account-search input[type="search"] { width: 100%; min-height: 40px; margin: 0; padding: 8px 12px; border: 1px solid var(--hvtkw-border, #c7ccd5); border-radius: var(--hvtkw-radius, 3px); background: #fff; box-shadow: none; }
.hvtkw-account-search input[type="search"]:focus { outline: 0; border-color: #111214; box-shadow: 0 0 0 1px #111214; }
.hvtkw-account-search button[type="submit"] { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0 !important; padding: 8px 15px !important; border: 1px solid #111214 !important; border-radius: var(--hvtkw-radius, 3px) !important; background: #111214 !important; color: #fff !important; box-shadow: none !important; cursor: pointer; }
.hvtkw-welcome { padding: 28px 20px 20px; }
.hvtkw-welcome h1 { margin: 0 0 14px; font-size: 28px; }
.hvtkw-welcome h1 span { font-size: 14px; color: #5e6673; font-weight: 500; margin-left: 8px; }
.hvtkw-welcome h1 span i { font-size: 10px; }
.hvtkw-summary-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 4px; background: #f6f6f7; padding: 16px 0; }
.hvtkw-summary-card a { padding: 0 16px; display: flex; flex-direction: column; gap: 7px; }
.hvtkw-summary-card a + a { border-left: 1px solid #d6dae1; }
.hvtkw-summary-card small { font-size: 11px; }
.hvtkw-summary-card strong { color: #f22d1f; font-size: 23px; font-weight: 500; }
.hvtkw-member-banner { margin: 0 8px 24px; padding: 8px 12px; display: flex; align-items: center; gap: 9px; background: #fff0ed; color: #ef3c2f !important; font-size: 11px; cursor: pointer; transition: background-color .18s ease, transform .18s ease; }
.hvtkw-member-banner:hover,
.hvtkw-member-banner:focus-visible { background: #ffe5e0; color: #d92f24 !important; }
.hvtkw-member-banner span { flex: 1; }
.hvtkw-dashboard-section { padding: 0 20px 25px; }
.hvtkw-dashboard-section h2 { margin: 0; padding: 8px 0 10px; font-size: 14px; border-bottom: 1px solid #111214; }
.hvtkw-row-link { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e1e4e8; font-size: 13px; }
.hvtkw-row-link span { display: inline-flex; align-items: center; gap: 9px; }
.hvtkw-row-link span > i { width: 17px; text-align: center; color: #555e6a; }
.hvtkw-row-link > i { font-size: 10px; color: #a2a9b4; }
.hvtkw-row-link--title { font-size: 13px; }
.hvtkw-row-link--title small { color: #8a91a0; font-size: 10px; }
.hvtkw-row-link--danger { color: #c92923; }
.hvtkw-order-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e1e4e8; padding: 16px 0 14px; }
.hvtkw-order-stats a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.hvtkw-order-stats strong { font-size: 20px; font-weight: 500; }
.hvtkw-order-stats small { font-size: 10px; line-height: 1.2; max-width: none; white-space: nowrap; }

.hvtkw-account-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); min-height: 560px; }
.hvtkw-account-sidebar { border-right: 1px solid #e1e4e9; padding: 22px 0; }
.hvtkw-account-sidebar nav { display: flex; flex-direction: column; }
.hvtkw-account-sidebar nav a { min-height: 44px; padding: 0 19px; display: flex; align-items: center; gap: 11px; border-left: 3px solid transparent; color: #4b5360; }
.hvtkw-account-sidebar nav a i { width: 18px; text-align: center; }
.hvtkw-account-sidebar nav a.is-active { border-left-color: #111214; background: #f5f6f7; color: #111214; font-weight: 600; }
.hvtkw-account-sidebar nav .hvtkw-logout-link { margin-top: 18px; color: #c92e27; }
.hvtkw-mobile-back { display: none; }
.hvtkw-account-content { min-width: 0; padding: 32px 36px 50px; }
.hvtkw-account-content > h1 { margin-bottom: 24px; font-size: 25px; }
.hvtkw-panel { padding: 22px; border: 1px solid #dfe3e8; background: #fff; border-radius: 3px; }
.hvtkw-form.hvtkw-panel { gap: 13px; }
.hvtkw-subheading { margin: 30px 0 12px !important; }

.hvtkw-filter-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.hvtkw-filter-pills a { padding: 7px 12px; border: 1px solid #d8dce2; border-radius: 99px; font-size: 12px; }
.hvtkw-filter-pills a.is-active { background: #111214; color: #fff; border-color: #111214; }
.hvtkw-order-list { display: flex; flex-direction: column; gap: 12px; }
.hvtkw-order-card { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; border: 1px solid #dfe3e8; padding: 17px; }
.hvtkw-order-card > div { display: flex; flex-direction: column; gap: 5px; }
.hvtkw-order-card > div:nth-child(2) { align-items: flex-end; }
.hvtkw-order-card small { color: #7a8290; }
.hvtkw-order-card .hvtkw-button { grid-column: 1 / -1; justify-self: end; }
.hvtkw-status { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #f0f1f3; font-size: 11px; }
.hvtkw-status--completed { background: #e7f6eb; color: #23713a; }
.hvtkw-status--processing { background: #fff5d9; color: #8a6512; }
.hvtkw-status--cancelled,
.hvtkw-status--failed { background: #ffeded; color: #a62620; }

.hvtkw-order-detail { border: 1px solid #dfe3e8; }
.hvtkw-order-detail-head { padding: 16px 18px; display: flex; justify-content: space-between; background: #f6f7f8; }
.hvtkw-order-timeline { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 14px; border-bottom: 1px solid #e3e6ea; }
.hvtkw-order-timeline > div { position: relative; text-align: center; }
.hvtkw-order-timeline > div:not(:last-child)::after { content: ""; position: absolute; top: 12px; left: 60%; width: 80%; height: 2px; background: #d5d9df; }
.hvtkw-order-timeline span { width: 25px; height: 25px; margin: 0 auto 7px; border-radius: 50%; background: #d5d9df; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; position: relative; z-index: 2; }
.hvtkw-order-timeline .is-active span,
.hvtkw-order-timeline .is-active:not(:last-child)::after { background: #111214; }
.hvtkw-order-timeline small { display: block; font-size: 10px; }
.hvtkw-order-detail h2 { padding: 18px 18px 8px; margin: 0; font-size: 15px; }
.hvtkw-order-item,
.hvtkw-order-total-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 18px; border-top: 1px solid #e7e9ed; }
.hvtkw-order-item small { color: #7c8491; }
.hvtkw-order-total-row { background: #f7f8f9; font-size: 15px; }
.hvtkw-order-address { padding-bottom: 18px; }
.hvtkw-order-address p { padding: 0 18px; margin: 6px 0 0; color: #555e69; }

.hvtkw-token-list > div { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid #e5e7eb; }
.hvtkw-token-list > div:last-child { border-bottom: 0; }
.hvtkw-token-list small { margin-left: auto; background: #111214; color: #fff; border-radius: 99px; padding: 3px 7px; }
.hvtkw-coupon-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.hvtkw-coupon { position: relative; min-height: 118px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1px solid #111214; padding: 16px; overflow: hidden; }
.hvtkw-coupon > div:not(.hvtkw-coupon-cut) { display: flex; flex-direction: column; gap: 4px; }
.hvtkw-coupon strong { font-size: 16px; letter-spacing: .06em; }
.hvtkw-coupon span { font-weight: 600; }
.hvtkw-coupon small { color: #757d89; }
.hvtkw-copy { border: 0 !important; background: transparent !important; color: #e6352c !important; font-size: 11px; cursor: pointer; padding: 6px !important; }
.hvtkw-coupon-cut { position: absolute; left: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; border: 1px solid #111214; }
.hvtkw-points-hero { padding: 28px; background: #111214; color: #fff; text-align: center; margin-bottom: 20px; }
.hvtkw-points-hero small { display: block; opacity: .75; }
.hvtkw-points-hero strong { display: block; font-size: 44px; margin: 5px 0; }
.hvtkw-points-hero p { margin: 8px 0 0; opacity: .75; font-size: 12px; }
.hvtkw-points-hero code { color: #fff; }
.hvtkw-history-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #e5e7eb; }
.hvtkw-review { padding: 15px 0; border-bottom: 1px solid #e3e6ea; }
.hvtkw-review:first-child { padding-top: 0; }
.hvtkw-review:last-child { border-bottom: 0; padding-bottom: 0; }
.hvtkw-review .hvtkw-stars { display: block; color: #e2a526; margin: 5px 0; }
.hvtkw-review p { margin: 6px 0; }
.hvtkw-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.hvtkw-product-card { display: flex; flex-direction: column; gap: 7px; }
.hvtkw-product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f5f5f5; }
.hvtkw-product-card strong { font-size: 13px; }
.hvtkw-product-card span { font-size: 12px; }
.hvtkw-empty-state { min-height: 270px; padding: 45px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #e0e3e8; }
.hvtkw-empty-state > i { font-size: 34px; color: #9aa2af; margin-bottom: 15px; }
.hvtkw-empty-state h2 { margin-bottom: 7px; }
.hvtkw-empty-state p { max-width: 420px; color: #717987; }
.hvtkw-empty-state .hvtkw-button { width: auto; margin-top: 9px; min-width: 190px; }

/* Nút tài khoản dùng ở header */
.hvtkw-account-button { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.hvtkw-account-button > i { font-size: 20px; }
.hvtkw-account-button > span { display: flex; flex-direction: column; line-height: 1.15; }
.hvtkw-account-button strong { font-size: 13px; font-weight: 600; }
.hvtkw-account-button small { font-size: 10px; opacity: .68; }

@media (max-width: 480px) {
  .hvtkw-account-search { padding-left: 14px; padding-right: 14px; }
  .hvtkw-account-search button[type="submit"] span { display: none; }
  .hvtkw-account-search button[type="submit"] { width: 42px; padding-left: 0 !important; padding-right: 0 !important; }
  .hvtkw-auth-body { padding-left: 14px; padding-right: 14px; }
  .hvtkw-form-row--between { align-items: flex-start; }
  .hvtkw-step { width: 62px; }
  .hvtkw-verify-body h2 { font-size: 23px; }
  .hvtkw-order-stats small { font-size: 9px; }
  .hvtkw-order-card { grid-template-columns: 1fr; }
  .hvtkw-order-card > div:nth-child(2) { align-items: flex-start; }
  .hvtkw-order-card .hvtkw-button { grid-column: auto; justify-self: stretch; }
  .hvtkw-order-timeline { padding-left: 5px; padding-right: 5px; }
  .hvtkw-order-timeline small { font-size: 8px; }
}


.hvtkw-summary-card--single { grid-template-columns: 1fr; }
.hvtkw-summary-card--single a { border-right: 0 !important; }
.hvtkw-redeem-panel { margin-bottom: 20px; }
.hvtkw-redeem-panel h2 { margin-bottom: 8px; }
.hvtkw-redeem-panel p { color: var(--hvtkw-muted, #737b8c); }
.hvtkw-redeem-panel .hvtkw-button[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.hvtkw-points-history { margin-top: 20px; }
.hvtkw-history-row > span { display: flex; flex-direction: column; gap: 3px; }
.hvtkw-history-row small { color: var(--hvtkw-muted, #737b8c); font-size: 11px; }
.hvtkw-history-row .is-positive { color: #23843b; }
.hvtkw-history-row .is-negative { color: #c92e27; }

@media (prefers-reduced-motion: reduce) {
  .hvtkw-app *, .hvtkw-app *::before, .hvtkw-app *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Sản phẩm yêu thích nội bộ */
.hvtkw-wishlist-app { max-width: 100%; }
.hvtkw-wishlist { width: 100%; }
.hvtkw-wishlist-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 11px; border-bottom: 1px solid #dedfe3; }
.hvtkw-wishlist-heading h2 { margin: 0; font-size: clamp(20px, 2.3vw, 28px); font-weight: 500; }
.hvtkw-wishlist-heading > span { color: var(--hvtkw-muted, #737b8c); font-size: 12px; white-space: nowrap; }
.hvtkw-wishlist-grid { display: grid; grid-template-columns: repeat(var(--hvtkw-wishlist-columns, 4), minmax(0, 1fr)); gap: 20px 14px; }
.hvtkw-wishlist-card { position: relative; min-width: 0; border: 1px solid #e1e3e7; background: #fff; transition: opacity .18s ease, transform .18s ease; }
.hvtkw-wishlist-card.is-removing { opacity: 0; transform: scale(.96); }
.hvtkw-wishlist-card-image { display: block; overflow: hidden; background: #f5f5f6; aspect-ratio: 1 / 1; }
.hvtkw-wishlist-card-image img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .24s ease; }
.hvtkw-wishlist-card:hover .hvtkw-wishlist-card-image img { transform: scale(1.025); }
.hvtkw-wishlist-card-body { display: flex; flex-direction: column; min-height: 150px; padding: 13px; }
.hvtkw-wishlist-card-title { display: -webkit-box; overflow: hidden; min-height: 38px; color: #111214; font-size: 13px; font-weight: 600; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hvtkw-wishlist-price { margin-top: 8px; font-size: 14px; font-weight: 600; }
.hvtkw-wishlist-price del { color: #8b919c; font-size: 12px; font-weight: 400; }
.hvtkw-wishlist-price ins { text-decoration: none; }
.hvtkw-wishlist-stock { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: 11px; }
.hvtkw-wishlist-stock.is-in-stock { color: #217a3c; }
.hvtkw-wishlist-stock.is-out-of-stock { color: #bd2b26; }
.hvtkw-wishlist-card-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; margin-top: auto; padding-top: 13px; }
.hvtkw-wishlist-cart { min-height: 37px !important; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; padding: 8px 10px !important; border: 1px solid var(--hvtkw-accent, #111214) !important; border-radius: var(--hvtkw-radius, 3px) !important; background: var(--hvtkw-accent, #111214) !important; color: #fff !important; font: inherit !important; font-size: 11px !important; font-weight: 600 !important; line-height: 1.2 !important; text-align: center; text-transform: none !important; }
.hvtkw-wishlist-cart--view { background: #fff !important; color: var(--hvtkw-accent, #111214) !important; }
.hvtkw-wishlist-button { position: relative; min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 8px 11px; border: 1px solid #cfd3da; border-radius: var(--hvtkw-radius, 3px); background: #fff; color: #22252a; font: inherit; font-size: 12px; font-weight: 500; line-height: 1.2; cursor: pointer; box-shadow: none; transition: border-color .18s ease, color .18s ease, background .18s ease, opacity .18s ease, transform .18s ease; }
.hvtkw-wishlist-button:hover { border-color: var(--hvtkw-accent, #111214); color: var(--hvtkw-accent, #111214); }
.hvtkw-wishlist-button.is-active { border-color: var(--hvtkw-accent, #111214); background: var(--hvtkw-accent, #111214); color: #fff; }
.hvtkw-wishlist-button.is-loading { opacity: .55; pointer-events: none; }
.hvtkw-wishlist-button.is-loading i { animation: hvtkw-wishlist-pulse .7s ease-in-out infinite alternate; }
.hvtkw-wishlist-button.is-compact { min-width: 36px; min-height: 36px; padding: 7px 9px; }
.hvtkw-wishlist-button--icon { width: 38px; padding-left: 0; padding-right: 0; }
.hvtkw-wishlist-button-count { min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border-radius: 99px; background: rgba(0,0,0,.08); font-size: 10px; }
.hvtkw-wishlist-button.is-active .hvtkw-wishlist-button-count { background: rgba(255,255,255,.2); }
.hvtkw-wishlist-remove { align-self: stretch; }
.hvtkw-wishlist-auto { clear: both; }
.hvtkw-wishlist-auto--single { margin-top: 10px; }
.hvtkw-wishlist-auto--single .hvtkw-wishlist-button { min-height: 42px; }
.hvtkw-wishlist-auto--loop { display: flex; justify-content: center; margin-top: 8px; }
.hvtkw-wishlist-auto--loop .hvtkw-wishlist-button { width: 100%; }
.hvtkw-wishlist-counter { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.hvtkw-wishlist-counter strong { min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border-radius: 99px; background: var(--hvtkw-accent, #111214); color: #fff; font-size: 10px; line-height: 1; }
.hvtkw-wishlist-empty-holder[hidden] { display: none !important; }
.hvtkw-wishlist-pagination { display: flex; justify-content: center; margin-top: 26px; }
.hvtkw-wishlist-pagination .page-numbers { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; margin: 0 2px; border: 1px solid #d8dbe0; color: #111214; }
.hvtkw-wishlist-pagination .page-numbers.current { border-color: var(--hvtkw-accent, #111214); background: var(--hvtkw-accent, #111214); color: #fff; }
.hvtkw-wishlist-toast { position: fixed; z-index: 999999; left: 50%; bottom: 24px; max-width: min(420px, calc(100vw - 30px)); padding: 11px 16px; border-radius: 3px; background: #111214; color: #fff; font-size: 13px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s ease, transform .2s ease; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.hvtkw-wishlist-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.hvtkw-wishlist-toast.is-error { background: #b42318; }
@keyframes hvtkw-wishlist-pulse { from { transform: scale(.82); } to { transform: scale(1.08); } }

@media (max-width: 1024px) {
  .hvtkw-wishlist-grid { grid-template-columns: repeat(var(--hvtkw-wishlist-columns-tablet, 3), minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hvtkw-wishlist-grid { grid-template-columns: repeat(var(--hvtkw-wishlist-columns-mobile, 2), minmax(0, 1fr)); gap: 14px 9px; }
  .hvtkw-wishlist-heading { align-items: center; margin-bottom: 14px; }
  .hvtkw-wishlist-card-body { min-height: 142px; padding: 10px; }
  .hvtkw-wishlist-card-actions { gap: 6px; padding-top: 10px; }
  .hvtkw-wishlist-cart { padding-left: 6px !important; padding-right: 6px !important; font-size: 10px !important; }
  .hvtkw-wishlist-button-text { display: none; }
  .hvtkw-wishlist-auto--single .hvtkw-wishlist-button-text { display: inline; }
}
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-wishlist-grid { grid-template-columns: repeat(var(--hvtkw-wishlist-columns-mobile, 2), minmax(0, 1fr)); gap: 14px 9px; }
.hvtkw-wishlist-card-actions > .hvtkw-wishlist-cart:only-child { grid-column: 1 / -1; }
.hvtkw-wishlist-card-actions > .hvtkw-wishlist-remove:only-child { grid-column: 2; }

/* Sản phẩm đã xem */
.hvtkw-recently-viewed-app { max-width: 100%; }
.hvtkw-recent-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; padding: 10px 12px; border: 1px solid #e1e3e7; background: #fafafa; }
.hvtkw-recent-toolbar > span { display: inline-flex; align-items: center; gap: 7px; color: var(--hvtkw-muted, #737b8c); font-size: 12px; }
.hvtkw-recent-toolbar form { margin: 0; }
.hvtkw-recent-clear { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; border: 0; background: transparent; color: #c92e27; font: inherit; font-size: 12px; cursor: pointer; box-shadow: none; }
.hvtkw-recent-clear:hover { color: #8f1712; }
.hvtkw-recent-grid .hvtkw-wishlist-card-actions { grid-template-columns: 1fr; }
@media (max-width: 640px) {
  .hvtkw-recent-toolbar { align-items: flex-start; flex-direction: column; }
}

/* Đánh giá sản phẩm kiểu Shopify */
.hvtkw-reviews { max-width: 100%; margin-top: 48px; margin-bottom: 48px; padding: 0; background: #fff; }
.hvtkw-reviews-eyebrow { margin-bottom: 7px !important; color: var(--hvtkw-muted, #737b8c); font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.hvtkw-reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #dedfe3; }
.hvtkw-reviews-head h2 { margin: 0; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4; letter-spacing: 0; }
.hvtkw-reviews-head .hvtkw-button { width: auto; min-width: 166px; }
.hvtkw-review-summary { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(280px, 1.28fr); gap: 42px; align-items: center; padding: 28px 0; border-bottom: 1px solid #e4e5e8; }
.hvtkw-review-average { display: flex; align-items: center; gap: 18px; }
.hvtkw-review-average > strong { font-size: 54px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.hvtkw-review-average > div { display: flex; flex-direction: column; gap: 6px; }
.hvtkw-review-average small { color: var(--hvtkw-muted, #737b8c); font-size: 12px; }
.hvtkw-stars { display: inline-flex; align-items: center; gap: 3px; color: #f5a623; font-size: 14px; line-height: 1; white-space: nowrap; }
.hvtkw-review-bars { display: grid; gap: 7px; }
.hvtkw-review-bar { display: grid; grid-template-columns: 44px minmax(0,1fr) 34px; align-items: center; gap: 10px; font-size: 12px; }
.hvtkw-review-bar > span { display: inline-flex; align-items: center; gap: 4px; }
.hvtkw-review-bar > span i { color: #f5a623; font-size: 10px; }
.hvtkw-review-bar > div { height: 7px; overflow: hidden; border-radius: 99px; background: #eceef1; }
.hvtkw-review-bar b { display: block; height: 100%; border-radius: inherit; background: var(--hvtkw-accent, #111214); }
.hvtkw-review-bar em { color: var(--hvtkw-muted, #737b8c); font-style: normal; text-align: right; }
.hvtkw-review-form-wrap { padding: 0; border-bottom: 1px solid #e4e5e8; background: #fafafa; }
.hvtkw-review-form-wrap[hidden] { display: none !important; }
.hvtkw-review-form { max-width: 760px; margin: 0 auto; padding: 30px; display: grid; gap: 18px; }
.hvtkw-review-form-heading { text-align: center; }
.hvtkw-review-form-heading h3 { margin-bottom: 7px; font-size: 23px; font-weight: 500; }
.hvtkw-review-form-heading p { margin-bottom: 0; color: var(--hvtkw-muted, #737b8c); }
.hvtkw-review-form label { display: grid; gap: 7px; margin: 0; }
.hvtkw-review-form label > span,
.hvtkw-review-rating-field > span { font-size: 13px; font-weight: 600; }
.hvtkw-review-form label b,
.hvtkw-review-rating-field b { color: #d92d20; }
.hvtkw-review-form input[type="text"],
.hvtkw-review-form input[type="email"],
.hvtkw-review-form select,
.hvtkw-review-form textarea { width: 100%; min-height: 43px; margin: 0; padding: 10px 12px; border: 1px solid var(--hvtkw-border, #c7ccd5); border-radius: var(--hvtkw-radius, 3px); background: #fff; color: #111214; box-shadow: none; outline: none; }
.hvtkw-review-form textarea { min-height: 130px; resize: vertical; }
.hvtkw-review-form input:focus,
.hvtkw-review-form select:focus,
.hvtkw-review-form textarea:focus { border-color: #111214; box-shadow: 0 0 0 1px #111214; }
.hvtkw-review-form label small { color: var(--hvtkw-muted, #737b8c); font-size: 11px; }
.hvtkw-review-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hvtkw-review-rating-field { display: grid; gap: 9px; justify-items: center; }
.hvtkw-rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: center; gap: 7px; }
.hvtkw-rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.hvtkw-rating-input label { display: inline-flex; cursor: pointer; color: #c5c9d0; font-size: 28px; transition: color .15s ease, transform .15s ease; }
.hvtkw-rating-input label:hover,
.hvtkw-rating-input label:hover ~ label,
.hvtkw-rating-input input:checked ~ label { color: #f5a623; }
.hvtkw-rating-input label:hover { transform: scale(1.08); }
.hvtkw-review-upload { position: relative; }
.hvtkw-review-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hvtkw-review-upload > div { min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 16px; border: 1px dashed #aeb4bf; background: #fff; cursor: pointer; text-align: center; }
.hvtkw-review-upload > div i { font-size: 25px; }
.hvtkw-review-upload > div strong { font-size: 13px; }
.hvtkw-review-upload > div small { color: var(--hvtkw-muted, #737b8c); }
.hvtkw-review-media-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.hvtkw-review-media-preview > span { width: 74px; height: 74px; position: relative; overflow: hidden; border: 1px solid #e0e2e6; background: #fff; }
.hvtkw-review-media-preview img,
.hvtkw-review-media-preview video { width: 100%; height: 100%; object-fit: cover; }
.hvtkw-review-media-preview em { position: absolute; right: 3px; bottom: 3px; max-width: calc(100% - 6px); padding: 2px 4px; overflow: hidden; border-radius: 2px; background: rgba(0,0,0,.68); color: #fff; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.hvtkw-review-consent { grid-template-columns: 18px 1fr !important; align-items: flex-start; gap: 9px !important; }
.hvtkw-review-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #111214; }
.hvtkw-review-consent span { font-weight: 400 !important; color: #4d5562; }
.hvtkw-review-form-message { padding: 11px 13px; border-left: 3px solid #2f8f4e; background: #eff9f2; color: #256b3d; }
.hvtkw-review-form-message.is-error { border-color: #d93025; background: #fff1f0; color: #a6261f; }
.hvtkw-review-submit { max-width: 260px; margin: 0 auto; }
.hvtkw-review-form-notice { padding: 18px; border-bottom: 1px solid #e4e5e8; background: #fafafa; text-align: center; }
.hvtkw-review-form-notice a { text-decoration: underline; }
.hvtkw-review-list { width: 100%; }
.hvtkw-review-card { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 30px; padding: 28px 0; border-bottom: 1px solid #e4e5e8; }
.hvtkw-review-author { display: flex; align-items: flex-start; gap: 11px; }
.hvtkw-review-avatar { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #111214; color: #fff; font-size: 16px; font-weight: 600; }
.hvtkw-review-author > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hvtkw-review-author strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hvtkw-review-author small { color: var(--hvtkw-muted, #737b8c); font-size: 11px; }
.hvtkw-review-main { min-width: 0; }
.hvtkw-review-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
.hvtkw-verified-badge { display: inline-flex; align-items: center; gap: 5px; color: #237a43; font-size: 11px; font-weight: 600; }
.hvtkw-review-main h3 { margin-bottom: 8px; font-size: 16px; }
.hvtkw-review-main > p { margin-bottom: 14px; color: #30343a; line-height: 1.65; }
.hvtkw-review-recommend { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; color: #237a43; font-size: 12px; }
.hvtkw-review-media { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.hvtkw-review-media a,
.hvtkw-review-media video { width: 92px; height: 92px; overflow: hidden; border: 1px solid #e0e2e6; background: #f5f5f6; }
.hvtkw-review-media img { width: 100%; height: 100% !important; object-fit: cover; }
.hvtkw-review-media video { object-fit: cover; }
.hvtkw-review-helpful { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #d8dce2; border-radius: 99px; background: #fff; color: #505865; font: inherit; font-size: 11px; cursor: pointer; }
.hvtkw-review-helpful:hover { border-color: #111214; color: #111214; }
.hvtkw-review-helpful.is-done { border-color: #a8d7b5; background: #eff9f2; color: #237a43; }
.hvtkw-review-empty { padding: 50px 20px; text-align: center; }
.hvtkw-review-empty i { margin-bottom: 12px; color: #9ca3af; font-size: 30px; }
.hvtkw-review-empty h3 { margin-bottom: 7px; font-size: 19px; }
.hvtkw-review-empty p { color: var(--hvtkw-muted, #737b8c); }
.hvtkw-review-pagination { display: flex; justify-content: center; gap: 5px; padding-top: 24px; }
.hvtkw-review-pagination a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d8dbe0; }
.hvtkw-review-pagination a.is-active { border-color: #111214; background: #111214; color: #fff; }

/* Đánh giá trong trang tài khoản */
.hvtkw-review-account-tabs { display: flex; gap: 24px; margin-bottom: 22px; border-bottom: 1px solid #dfe2e7; }
.hvtkw-review-account-tabs a { position: relative; padding: 0 2px 11px; color: var(--hvtkw-muted, #737b8c); font-weight: 600; }
.hvtkw-review-account-tabs a.is-active { color: #111214; }
.hvtkw-review-account-tabs a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #111214; }
.hvtkw-review-pending-grid { display: grid; gap: 12px; }
.hvtkw-review-pending-grid article { display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 14px; padding: 13px; border: 1px solid #e0e2e6; }
.hvtkw-review-pending-image { display: block; width: 94px; aspect-ratio: 1; overflow: hidden; background: #f5f5f6; }
.hvtkw-review-pending-image img { width: 100%; height: 100% !important; object-fit: cover; }
.hvtkw-review-pending-grid article > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hvtkw-review-pending-grid h3 { margin: 0; font-size: 14px; }
.hvtkw-review-pending-grid .hvtkw-button { width: auto; min-height: 34px; padding: 7px 12px; }
.hvtkw-my-review-list { display: grid; gap: 13px; }
.hvtkw-my-review-list article { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; padding: 15px; border: 1px solid #e0e2e6; }
.hvtkw-my-review-product { display: grid; gap: 8px; align-content: start; font-weight: 600; font-size: 12px; }
.hvtkw-my-review-product img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f5f5f6; }
.hvtkw-my-review-body > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hvtkw-my-review-body h3 { margin: 10px 0 6px; font-size: 15px; }
.hvtkw-my-review-body p { margin-bottom: 8px; line-height: 1.55; }
.hvtkw-my-review-body small { color: var(--hvtkw-muted, #737b8c); }
.hvtkw-review-status { display: inline-flex; padding: 4px 8px; border-radius: 99px; background: #fff4d7; color: #8a5a00; font-size: 10px; font-weight: 600; }
.hvtkw-review-status--approved { background: #eaf7ee; color: #237a43; }
.hvtkw-review-status--spam,
.hvtkw-review-status--trash { background: #fff0ef; color: #b42318; }

@media (max-width: 760px) {
  .hvtkw-reviews { margin-top: 32px; margin-bottom: 32px; }
  .hvtkw-reviews-head { align-items: flex-start; flex-direction: column; }
  .hvtkw-reviews-head .hvtkw-button { width: 100%; }
  .hvtkw-review-summary { grid-template-columns: 1fr; gap: 22px; }
  .hvtkw-review-average { justify-content: center; }
  .hvtkw-review-form { padding: 24px 16px; }
  .hvtkw-review-grid-2 { grid-template-columns: 1fr; }
  .hvtkw-review-card { grid-template-columns: 1fr; gap: 15px; }
  .hvtkw-review-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hvtkw-my-review-list article { grid-template-columns: 96px minmax(0,1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .hvtkw-review-average > strong { font-size: 46px; }
  .hvtkw-review-bar { grid-template-columns: 38px minmax(0,1fr) 26px; gap: 7px; }
  .hvtkw-review-media a,
  .hvtkw-review-media video { width: 76px; height: 76px; }
  .hvtkw-my-review-list article { grid-template-columns: 1fr; }
  .hvtkw-my-review-product { grid-template-columns: 72px 1fr; align-items: center; }
  .hvtkw-my-review-product img { width: 72px; }
}
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-review-summary { grid-template-columns: 1fr; gap: 22px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-review-card { grid-template-columns: 1fr; gap: 15px; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-review-grid-2 { grid-template-columns: 1fr; }

/* Ngôn ngữ frontend VI / EN */
.hvtkw-app .hvtkw-language-switcher,
.hvtkw-language-shortcode .hvtkw-language-switcher {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
	padding: 10px 16px 4px;
	font-family: inherit;
	font-size: 12px;
	line-height: 1;
}
.hvtkw-app .hvtkw-language-switcher a,
.hvtkw-language-shortcode .hvtkw-language-switcher a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 28px;
	padding: 0 8px;
	border: 1px solid var(--hvtkw-border, #c7ccd5);
	border-radius: var(--hvtkw-radius, 3px);
	background: #fff;
	color: inherit;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.hvtkw-app .hvtkw-language-switcher a:hover,
.hvtkw-language-shortcode .hvtkw-language-switcher a:hover,
.hvtkw-app .hvtkw-language-switcher a.is-active,
.hvtkw-language-shortcode .hvtkw-language-switcher a.is-active {
	border-color: var(--hvtkw-accent, #111214);
	background: var(--hvtkw-accent, #111214);
	color: #fff;
}
.hvtkw-app .hvtkw-language-switcher--compact,
.hvtkw-language-shortcode .hvtkw-language-switcher--compact {
	gap: 0;
}
.hvtkw-app .hvtkw-language-switcher--compact a,
.hvtkw-language-shortcode .hvtkw-language-switcher--compact a {
	min-width: 30px;
	border-radius: 0;
}
.hvtkw-app .hvtkw-language-switcher--compact a:first-of-type,
.hvtkw-language-shortcode .hvtkw-language-switcher--compact a:first-of-type {
	border-radius: var(--hvtkw-radius, 3px) 0 0 var(--hvtkw-radius, 3px);
}
.hvtkw-app .hvtkw-language-switcher--compact a:last-of-type,
.hvtkw-language-shortcode .hvtkw-language-switcher--compact a:last-of-type {
	border-left: 0;
	border-radius: 0 var(--hvtkw-radius, 3px) var(--hvtkw-radius, 3px) 0;
}
.hvtkw-app .hvtkw-language-label,
.hvtkw-language-shortcode .hvtkw-language-label {
	margin-right: 6px;
	color: var(--hvtkw-muted, #737b8c);
}
.hvtkw-language-shortcode {
	width: 100%;
	max-width: none !important;
}
.hvtkw-language-shortcode .hvtkw-language-switcher {
	padding: 0;
}

/* Trường Thông tin tài khoản có thể cấu hình riêng */
.hvtkw-profile-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 10px;
}
.hvtkw-profile-fields .hvtkw-profile-field {
  grid-column: 1 / -1;
  margin: 0;
  min-width: 0;
}
.hvtkw-profile-fields .hvtkw-profile-field--half { grid-column: auto; }
.hvtkw-profile-fields .hvtkw-check { min-height: 28px; }
.hvtkw-profile-no-fields { grid-column: 1 / -1; margin: 0; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-profile-fields { grid-template-columns: 1fr; }
.hvtkw-app.hvtkw-is-mobile-layout .hvtkw-profile-fields .hvtkw-profile-field--half { grid-column: 1 / -1; }


/* v1.4.3 - Cô lập nút/icon và căn chỉnh vị trí icon mật khẩu. */
button.hvtkw-ui-native-button,
.hvtkw-app button.hvtkw-ui-native-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  background-image: none !important;
  box-shadow: none !important;
  float: none !important;
  vertical-align: middle !important;
  -webkit-tap-highlight-color: transparent;
}
button.hvtkw-ui-native-button::before,
button.hvtkw-ui-native-button::after,
.hvtkw-app button.hvtkw-ui-native-button::before,
.hvtkw-app button.hvtkw-ui-native-button::after {
  content: none !important;
  display: none !important;
}
.hvtkw-app .hvtkw-ui-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  font-family: inherit !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-transform: none !important;
  vertical-align: middle !important;
  float: none !important;
  box-shadow: none !important;
}
.hvtkw-app button.hvtkw-ui-icon-button,
button.hvtkw-ui-icon-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  text-align: center !important;
}
.hvtkw-app .hvtkw-ui-button > i,
.hvtkw-app button.hvtkw-ui-native-button > i,
button.hvtkw-ui-native-button > i,
a.hvtkw-ui-cart-button > i {
  position: static !important;
  inset: auto !important;
  display: inline-block !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  transform: none !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}
.hvtkw-app button.hvtkw-password-toggle.hvtkw-ui-icon-button {
  position: absolute !important;
  top: 40% !important;
  right: 2px !important;
  bottom: auto !important;
  left: auto !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #a1a8b5 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  overflow: visible !important;
}
.hvtkw-app button.hvtkw-password-toggle.hvtkw-ui-icon-button:hover,
.hvtkw-app button.hvtkw-password-toggle.hvtkw-ui-icon-button:focus,
.hvtkw-app button.hvtkw-password-toggle.hvtkw-ui-icon-button:active {
  top: 40% !important;
  right: 2px !important;
  transform: translateY(-50%) !important;
}
.hvtkw-app button.hvtkw-password-toggle.hvtkw-ui-icon-button > i {
  position: static !important;
  display: block !important;
  width: 1em !important;
  height: 1em !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transform: none !important;
}
.hvtkw-app button.hvtkw-search-toggle.hvtkw-ui-icon-button {
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  line-height: 1 !important;
  transform: none !important;
}
.hvtkw-app button.hvtkw-ui-search-button {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 !important;
  min-height: 40px !important;
  padding: 8px 15px !important;
  line-height: 1.2 !important;
  transform: none !important;
}
button.hvtkw-wishlist-button.hvtkw-ui-native-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #cfd3da !important;
  border-radius: var(--hvtkw-radius, 3px) !important;
  background: #fff !important;
  color: #22252a !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  transform: none !important;
}
button.hvtkw-wishlist-button.hvtkw-ui-native-button.is-active {
  border-color: var(--hvtkw-accent, #111214) !important;
  background: var(--hvtkw-accent, #111214) !important;
  color: #fff !important;
}
button.hvtkw-wishlist-button.hvtkw-ui-native-button.is-compact {
  padding: 7px 9px !important;
}
button.hvtkw-wishlist-button.hvtkw-ui-native-button.hvtkw-wishlist-button--icon {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.hvtkw-app .hvtkw-ui-cart-button {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  text-indent: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
}


/* v1.4.4 - Cô lập font chữ của label khỏi CSS của theme. */
.hvtkw-app label.hvtkw-ui-form-label,
.hvtkw-app span.hvtkw-ui-form-label,
.hvtkw-app .hvtkw-ui-form-label {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111214 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: normal !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}
.hvtkw-app label.hvtkw-ui-form-label::before,
.hvtkw-app label.hvtkw-ui-form-label::after,
.hvtkw-app span.hvtkw-ui-form-label::before,
.hvtkw-app span.hvtkw-ui-form-label::after {
  content: none !important;
  display: none !important;
}
.hvtkw-app .hvtkw-ui-required-mark {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 0 2px !important;
  padding: 0 !important;
  color: #e9312b !important;
  font: inherit !important;
  font-size: 1em !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  vertical-align: baseline !important;
  transform: none !important;
}
.hvtkw-app label.hvtkw-ui-check-label,
.hvtkw-app .hvtkw-ui-check-label {
  font-family: inherit !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.hvtkw-app .hvtkw-ui-check-text {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}
.hvtkw-app label.hvtkw-ui-review-label,
.hvtkw-app .hvtkw-ui-review-label {
  font-family: inherit !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.hvtkw-app .hvtkw-ui-review-label-text {
  color: #111214 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}

/* v1.4.5 - Cô lập hoàn toàn input/select/textarea khỏi CSS Flatsome và theme. */
.hvtkw-app input.hvtkw-ui-control,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control,
.hvtkw-app select.hvtkw-ui-control,
.hvtkw-app select.hvtkw-control.hvtkw-ui-control,
.hvtkw-app textarea.hvtkw-ui-control {
  box-sizing: border-box !important;
  display: block !important;
  float: none !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 42px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid var(--hvtkw-border, #c7ccd5) !important;
  border-radius: var(--hvtkw-radius, 3px) !important;
  outline: 0 !important;
  background-color: #fff !important;
  color: #111214 !important;
  box-shadow: none !important;
  filter: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-indent: 0 !important;
  text-shadow: none !important;
  text-transform: none !important;
  vertical-align: middle !important;
  white-space: normal !important;
  opacity: 1 !important;
  transform: none !important;
  transition: border-color .18s ease, box-shadow .18s ease !important;
}
.hvtkw-app input.hvtkw-ui-control,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control,
.hvtkw-app textarea.hvtkw-ui-control {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}
.hvtkw-app select.hvtkw-ui-control,
.hvtkw-app select.hvtkw-control.hvtkw-ui-control {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  cursor: pointer !important;
}
.hvtkw-app textarea.hvtkw-ui-control {
  min-height: 116px !important;
  resize: vertical !important;
  vertical-align: top !important;
}
.hvtkw-app input.hvtkw-ui-control:focus,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control:focus,
.hvtkw-app select.hvtkw-ui-control:focus,
.hvtkw-app select.hvtkw-control.hvtkw-ui-control:focus,
.hvtkw-app textarea.hvtkw-ui-control:focus {
  border-color: #111214 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 1px #111214 !important;
}
.hvtkw-app input.hvtkw-ui-control[readonly],
.hvtkw-app input.hvtkw-control.hvtkw-ui-control[readonly],
.hvtkw-app textarea.hvtkw-ui-control[readonly] {
  background-color: #f5f6f8 !important;
  color: #737b8c !important;
  cursor: default !important;
}
.hvtkw-app input.hvtkw-ui-control::placeholder,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control::placeholder,
.hvtkw-app textarea.hvtkw-ui-control::placeholder {
  color: #8c94a3 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
}
.hvtkw-app input.hvtkw-ui-control::-webkit-input-placeholder,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control::-webkit-input-placeholder,
.hvtkw-app textarea.hvtkw-ui-control::-webkit-input-placeholder {
  color: #8c94a3 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}
.hvtkw-app input.hvtkw-ui-control:-webkit-autofill,
.hvtkw-app input.hvtkw-ui-control:-webkit-autofill:hover,
.hvtkw-app input.hvtkw-ui-control:-webkit-autofill:focus,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control:-webkit-autofill,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control:-webkit-autofill:hover,
.hvtkw-app input.hvtkw-control.hvtkw-ui-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #111214 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #111214 !important;
}
.hvtkw-app .hvtkw-password-field > input.hvtkw-ui-control {
  padding-right: 44px !important;
}
.hvtkw-app input.hvtkw-ui-search-control {
  min-height: 40px !important;
  padding: 8px 12px !important;
}
.hvtkw-app select.hvtkw-ui-control option {
  color: #111214 !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}
.hvtkw-app input.hvtkw-ui-control[hidden],
.hvtkw-app select.hvtkw-ui-control[hidden],
.hvtkw-app textarea.hvtkw-ui-control[hidden] {
  display: none !important;
}


/* Toàn bộ đánh giá khách hàng dạng thư viện */
.hvtkw-all-reviews {
  width: 100%;
  max-width: var(--hvtkw-all-reviews-max-width, 1200px);
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  color: #111214;
}
.hvtkw-all-reviews * { box-sizing: border-box; }
.hvtkw-all-reviews.hvtkw-all-reviews--fit-site { max-width: none; }
.hvtkw-all-reviews.hvtkw-all-reviews--fixed { max-width: var(--hvtkw-all-reviews-max-width, 1200px); }
.hvtkw-all-reviews-head {
  padding: 6px 10px 18px;
  border-bottom: 1px solid #dedfe3;
}
.hvtkw-all-reviews-head h2 {
  margin: 0 0 8px !important;
  font-family: inherit !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #111214 !important;
}
.hvtkw-all-reviews-head p {
  margin: 0 !important;
  color: var(--hvtkw-muted, #737b8c) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.hvtkw-all-reviews-toolbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(220px, .58fr) minmax(150px, .32fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 10px 16px;
  border-bottom: 1px solid #dedfe3;
}
.hvtkw-all-review-view-buttons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hvtkw-all-review-view-buttons a {
  width: 28px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #9aa1ad;
  font-size: 19px;
  text-decoration: none;
  box-shadow: none;
}
.hvtkw-all-review-view-buttons a:hover,
.hvtkw-all-review-view-buttons a.is-active { color: #111214; }
.hvtkw-all-reviews-toolbar label { margin: 0 !important; }
.hvtkw-all-reviews-toolbar select.hvtkw-ui-control,
.hvtkw-all-reviews-toolbar input.hvtkw-ui-control {
  width: 100% !important;
  min-height: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid #d7dce5 !important;
  border-radius: 3px !important;
  background-color: #fff !important;
  color: #30343a !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 38px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.hvtkw-all-reviews-toolbar select.hvtkw-ui-control:focus,
.hvtkw-all-reviews-toolbar input.hvtkw-ui-control:focus {
  border-color: #111214 !important;
  box-shadow: 0 0 0 1px #111214 !important;
}

/* v1.5.4 - Cô lập dropdown khỏi mũi tên kép của Flatsome. */
.hvtkw-all-reviews-toolbar .hvtkw-all-review-category,
.hvtkw-all-reviews-toolbar .hvtkw-all-review-sort {
  position: relative !important;
  display: block !important;
}
.hvtkw-all-reviews-toolbar select.hvtkw-ui-control {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
  padding-right: 38px !important;
  cursor: pointer !important;
}
.hvtkw-all-reviews-toolbar .hvtkw-all-review-category::after,
.hvtkw-all-reviews-toolbar .hvtkw-all-review-sort::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 15px !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: -5px !important;
  border-right: 1.5px solid #30343a !important;
  border-bottom: 1.5px solid #30343a !important;
  transform: rotate(45deg) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.hvtkw-all-reviews-toolbar select.hvtkw-ui-control::-ms-expand {
  display: none !important;
}
.hvtkw-all-reviews-toolbar .select-resize-ghost {
  display: none !important;
}
.hvtkw-all-review-search { position: relative; display: block; }
.hvtkw-all-review-search input { padding-right: 42px !important; }
.hvtkw-all-review-search button.hvtkw-ui-native-button {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 40px !important;
  height: 38px !important;
  min-width: 40px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  color: #111214 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
}
.hvtkw-all-review-results-meta {
  padding: 10px 10px 0;
  color: var(--hvtkw-muted, #737b8c);
  font-size: 11px;
  text-align: right;
}
.hvtkw-all-review-grid {
  display: grid;
  grid-template-columns: repeat(var(--hvtkw-review-cols, 4), minmax(0, 1fr));
  gap: 14px;
  padding: 14px 10px 20px;
}
.hvtkw-all-review-grid > .hvtkw-review-empty { grid-column: 1 / -1; background: #fff; }
.hvtkw-all-review-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe2e7;
  background: #fff;
  color: #111214;
  cursor: pointer;
  outline: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.hvtkw-all-review-card:hover,
.hvtkw-all-review-card:focus-visible {
  transform: translateY(-2px);
  border-color: #bfc5cf;
  box-shadow: 0 8px 24px rgba(17,18,20,.09);
}
.hvtkw-all-review-card-media {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: #f2f3f5;
}
.hvtkw-all-review-card-media > img,
.hvtkw-all-review-card-media > video,
.hvtkw-all-review-main-media,
.hvtkw-all-review-media-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover !important;
}
.hvtkw-all-review-media-placeholder { color: #a7adb7; font-size: 30px; }
.hvtkw-all-review-thumbs {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.hvtkw-all-review-thumbs img,
.hvtkw-all-review-thumbs video,
.hvtkw-all-review-thumbs > span {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 2px;
  background: #fff;
  object-fit: cover;
  color: #111214;
  font-size: 10px;
  font-weight: 600;
}
.hvtkw-all-review-card-body {
  flex: 1 1 auto;
  padding: 15px 12px 12px;
}
.hvtkw-all-review-card-body h3 {
  margin: 0 0 10px !important;
  overflow: hidden;
  color: #111214 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hvtkw-all-review-card-body > p {
  min-height: 43px;
  margin: 0 0 11px !important;
  overflow: hidden;
  color: #505865 !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hvtkw-all-review-card-body .hvtkw-stars { margin-bottom: 9px; font-size: 11px; }
.hvtkw-all-review-author {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #697180;
  font-size: 10px;
}
.hvtkw-all-review-author img {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
  border-radius: 50%;
  object-fit: cover;
}
.hvtkw-all-review-author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hvtkw-all-review-author b { color: #4a515d; font-weight: 400; }
.hvtkw-all-review-card footer {
  padding: 8px 10px;
  border-top: 1px solid #e6e8ec;
  background: #fff;
}
.hvtkw-all-review-card footer a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #30343a;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}
.hvtkw-all-review-card footer img {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px;
  object-fit: cover;
}
.hvtkw-all-review-card footer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hvtkw-all-reviews--list .hvtkw-all-review-grid { grid-template-columns: 1fr; }
.hvtkw-all-reviews--list .hvtkw-all-review-card {
  display: grid;
  grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
}
.hvtkw-all-reviews--list .hvtkw-all-review-card-media { grid-row: 1 / 3; aspect-ratio: 1.3 / 1; }
.hvtkw-all-reviews--list .hvtkw-all-review-card-body { padding: 20px; }
.hvtkw-all-reviews--list .hvtkw-all-review-card-body > p { min-height: 0; -webkit-line-clamp: 4; }
.hvtkw-all-reviews--list .hvtkw-all-review-card footer { padding: 10px 20px; }

/* Popup chi tiết đánh giá */
html.hvtkw-review-modal-open,
html.hvtkw-review-modal-open body { overflow: hidden !important; }
.hvtkw-all-review-modal[hidden] { display: none !important; }
.hvtkw-all-review-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.hvtkw-all-review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,18,20,.74);
  backdrop-filter: blur(1px);
}
.hvtkw-all-review-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
  overflow: visible;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.32);
}
.hvtkw-all-review-modal-close {
  position: absolute !important;
  top: -15px !important;
  right: -15px !important;
  z-index: 4 !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #333944 !important;
  font-size: 19px !important;
  line-height: 1 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.2) !important;
  transform: none !important;
}
.hvtkw-all-review-modal-content { max-height: calc(100vh - 64px); overflow: auto; }
.hvtkw-all-review-modal-layout {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(320px, .88fr);
}
.hvtkw-all-review-gallery {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  background: #f1f1f1;
}
.hvtkw-all-review-slides,
.hvtkw-all-review-slide { width: 100%; height: 100%; min-height: 520px; }
.hvtkw-all-review-slide { display: none; align-items: center; justify-content: center; }
.hvtkw-all-review-slide.is-active { display: flex; }
.hvtkw-all-review-slide img,
.hvtkw-all-review-slide video {
  width: 100% !important;
  height: 100% !important;
  max-height: calc(100vh - 64px) !important;
  object-fit: contain !important;
  background: #f1f1f1;
}
.hvtkw-gallery-prev,
.hvtkw-gallery-next {
  position: absolute !important;
  top: 50% !important;
  z-index: 2 !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.86) !important;
  color: #4c535e !important;
  font-size: 13px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16) !important;
  transform: translateY(-50%) !important;
}
.hvtkw-gallery-prev { left: 15px !important; }
.hvtkw-gallery-next { right: 15px !important; }
.hvtkw-all-review-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  min-width: 48px;
  padding: 6px 10px;
  border-radius: 99px;
  background: rgba(24,24,24,.72);
  color: #fff;
  font-size: 11px;
  text-align: center;
  transform: translateX(-50%);
}
.hvtkw-all-review-gallery-thumbs {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 2;
  max-width: calc(50% - 45px);
  display: flex;
  gap: 5px;
  overflow: auto;
}
.hvtkw-all-review-gallery-thumbs button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  background: #fff !important;
  opacity: .72;
  box-shadow: none !important;
}
.hvtkw-all-review-gallery-thumbs button.is-active { opacity: 1; border-color: #111214 !important; }
.hvtkw-all-review-gallery-thumbs img,
.hvtkw-all-review-gallery-thumbs video { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.hvtkw-all-review-modal-info {
  min-width: 0;
  padding: 24px 22px 18px;
  overflow: auto;
  background: #fff;
}
.hvtkw-all-review-modal-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e3e7;
}
.hvtkw-all-review-modal-product > a:first-child {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #30343a;
  text-decoration: none;
}
.hvtkw-all-review-modal-product img {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px;
  object-fit: cover;
}
.hvtkw-all-review-modal-product span { min-width: 0; display: grid; gap: 6px; }
.hvtkw-all-review-modal-product strong {
  overflow: hidden;
  color: #30343a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hvtkw-all-review-modal-product em {
  color: #9a5f22;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.hvtkw-all-review-modal-product .hvtkw-button {
  width: auto !important;
  min-width: 94px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  font-size: 10px !important;
}
.hvtkw-all-review-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 10px;
}
.hvtkw-all-review-modal-meta > div { min-width: 0; display: flex; align-items: center; gap: 7px; color: #606875; font-size: 10px; }
.hvtkw-all-review-modal-meta img { width: 25px !important; height: 25px !important; border-radius: 50%; object-fit: cover; }
.hvtkw-all-review-modal-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hvtkw-all-review-modal-meta time { white-space: nowrap; }
.hvtkw-all-review-modal-info > h3 {
  margin: 0 0 10px !important;
  color: #22262d !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}
.hvtkw-all-review-full-content { color: #39404a; font-size: 13px; line-height: 1.75; }
.hvtkw-all-review-full-content p { margin: 0 0 10px !important; }
.hvtkw-all-review-modal-info .hvtkw-verified-badge,
.hvtkw-all-review-modal-info .hvtkw-review-recommend { margin: 10px 0 0; }
.hvtkw-all-review-modal-actions,
.hvtkw-review-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4e6ea;
}
.hvtkw-review-card-actions { justify-content: flex-start; border-top: 0; padding-top: 0; }
.hvtkw-review-report {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 6px 2px !important;
  border: 0 !important;
  background: transparent !important;
  color: #5c6370 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.hvtkw-review-report:hover { color: #b42318 !important; }
.hvtkw-review-report.is-done { color: #237a43 !important; }

@media (max-width: 980px) {
  .hvtkw-all-reviews-toolbar { grid-template-columns: auto minmax(180px, 1fr) minmax(190px, 1fr); }
  .hvtkw-all-review-sort { grid-column: 2 / -1; }
  .hvtkw-all-review-grid { grid-template-columns: repeat(var(--hvtkw-review-cols-tablet, 3), minmax(0, 1fr)); }
  .hvtkw-all-review-modal-layout { grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); }
}
@media (max-width: 760px) {
  .hvtkw-all-reviews-toolbar { grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .hvtkw-all-review-search,
  .hvtkw-all-review-sort { grid-column: 1 / -1; }
  .hvtkw-all-review-grid { grid-template-columns: repeat(var(--hvtkw-review-cols-mobile, 1), minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
  .hvtkw-all-reviews-head,
  .hvtkw-all-reviews-toolbar,
  .hvtkw-all-review-results-meta { padding-left: 0; padding-right: 0; }
  .hvtkw-all-reviews--list .hvtkw-all-review-card { grid-template-columns: 125px minmax(0, 1fr); }
  .hvtkw-all-reviews--list .hvtkw-all-review-card-media { aspect-ratio: 1 / 1; }
  .hvtkw-all-review-modal { padding: 0; align-items: stretch; }
  .hvtkw-all-review-modal-dialog { width: 100vw; max-height: 100vh; }
  .hvtkw-all-review-modal-content { max-height: 100vh; }
  .hvtkw-all-review-modal-layout { display: block; min-height: 0; }
  .hvtkw-all-review-gallery { min-height: 54vh; }
  .hvtkw-all-review-slides,
  .hvtkw-all-review-slide { min-height: 54vh; height: 54vh; }
  .hvtkw-all-review-slide img,
  .hvtkw-all-review-slide video { max-height: 54vh !important; }
  .hvtkw-all-review-modal-info { padding: 18px 16px 28px; }
  .hvtkw-all-review-modal-close { top: 10px !important; right: 10px !important; }
}
@media (max-width: 480px) {
  .hvtkw-all-review-card-body { padding: 13px 11px 11px; }
  .hvtkw-all-reviews--list .hvtkw-all-review-card { display: flex; }
  .hvtkw-all-reviews--list .hvtkw-all-review-card-media { aspect-ratio: 1.18 / 1; }
  .hvtkw-all-review-modal-product { grid-template-columns: 1fr; }
  .hvtkw-all-review-modal-product .hvtkw-button { width: 100% !important; }
  .hvtkw-all-review-modal-meta { align-items: flex-start; flex-direction: column; }
}


/* v1.5.2: Khớp khung website cho thư viện đánh giá */
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-reviews-toolbar {
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 8px !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-review-search,
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-review-sort {
  grid-column: 1 / -1 !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-review-grid {
  grid-template-columns: repeat(var(--hvtkw-review-cols-mobile, 1), minmax(0, 1fr)) !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-reviews-head,
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-reviews-toolbar,
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile .hvtkw-all-review-results-meta {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile select.hvtkw-ui-control,
.hvtkw-all-reviews.hvtkw-all-reviews-is-mobile input.hvtkw-ui-control {
  min-width: 0 !important;
  max-width: 100% !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-compact .hvtkw-all-reviews-toolbar {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
}
.hvtkw-all-reviews.hvtkw-all-reviews-is-compact .hvtkw-all-review-category { min-width: 0 !important; }
.hvtkw-all-reviews.hvtkw-all-reviews-is-compact .hvtkw-all-review-search,
.hvtkw-all-reviews.hvtkw-all-reviews-is-compact .hvtkw-all-review-sort { grid-column: 1 / -1 !important; }
.hvtkw-all-reviews.hvtkw-all-reviews-is-compact.hvtkw-all-reviews--list .hvtkw-all-review-card { display: flex !important; }

/* v1.5.3 - Trang tổng hợp đánh giá là trang nội dung, không dùng khu vực bình luận của theme. */
body.hvtkw-reviews-page #comments,
body.hvtkw-reviews-page .comments-area,
body.hvtkw-reviews-page .comment-respond,
body.hvtkw-reviews-page .comments-wrapper,
body.hvtkw-reviews-page .entry-comments,
body.hvtkw-reviews-page .comment-form {
  display:none!important;
}
body.hvtkw-reviews-page .hvtkw-all-reviews {
  width:100%!important;
  max-width:none;
}


/* v1.5.4 - Trang review không dùng nền vàng của phiên bản trước. */
body.hvtkw-reviews-page .hvtkw-all-reviews,
.hvtkw-all-reviews,
.hvtkw-all-reviews-head,
.hvtkw-all-reviews-toolbar,
.hvtkw-all-review-results-meta,
.hvtkw-all-review-grid {
  background-color: transparent !important;
  background-image: none !important;
}

/* v1.5.6 - Popup review tuân theo lựa chọn "Khớp khung website". */
.hvtkw-all-review-modal.hvtkw-all-review-modal--fit-site {
  justify-content: flex-start !important;
  padding-left: var(--hvtkw-review-modal-left, 16px) !important;
  padding-right: 0 !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--fit-site .hvtkw-all-review-modal-dialog {
  width: var(--hvtkw-review-modal-width, min(960px, calc(100vw - 32px))) !important;
  max-width: var(--hvtkw-review-modal-width, min(960px, calc(100vw - 32px))) !important;
  max-height: var(--hvtkw-review-modal-max-height, calc(100vh - 32px)) !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--fit-site .hvtkw-all-review-modal-content {
  max-height: var(--hvtkw-review-modal-max-height, calc(100vh - 32px)) !important;
}

/* Khi chính khung shortcode nhỏ hơn ngưỡng mobile, popup cũng dùng bố cục mobile,
   kể cả màn hình trình duyệt vẫn đang ở kích thước desktop. */
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile {
  align-items: center !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-modal-dialog {
  overflow: hidden !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-modal-content {
  overflow: auto !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-modal-layout {
  display: block !important;
  min-height: 0 !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-gallery {
  width: 100% !important;
  min-height: clamp(280px, 50vh, 520px) !important;
  height: clamp(280px, 50vh, 520px) !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-slides,
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-slide {
  min-height: clamp(280px, 50vh, 520px) !important;
  height: clamp(280px, 50vh, 520px) !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-slide img,
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-slide video {
  max-height: clamp(280px, 50vh, 520px) !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-modal-info {
  width: 100% !important;
  max-height: none !important;
  padding: 18px 16px 26px !important;
}
.hvtkw-all-review-modal.hvtkw-all-review-modal--frame-mobile .hvtkw-all-review-modal-close {
  top: 10px !important;
  right: 10px !important;
}

@media (max-width: 760px) {
  .hvtkw-all-review-modal.hvtkw-all-review-modal--fit-site {
    padding-left: var(--hvtkw-review-modal-left, 0px) !important;
    padding-right: 0 !important;
  }
  .hvtkw-all-review-modal.hvtkw-all-review-modal--fit-site .hvtkw-all-review-modal-dialog {
    width: var(--hvtkw-review-modal-width, 100vw) !important;
    max-width: var(--hvtkw-review-modal-width, 100vw) !important;
  }
}


/* Avatar riêng của đánh giá */
.hvtkw-review-avatar { overflow: hidden; }
.hvtkw-review-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }

/* v1.6.0 - Hệ màu độc lập và tự cân bằng tương phản với nền website. */
.hvtkw-app {
  color: var(--hvtkw-text, #111214) !important;
}
.hvtkw-app :where(h1,h2,h3,h4,h5,h6,.hvtkw-account-title,.hvtkw-section-title,.hvtkw-reviews-head h2,.hvtkw-ui-form-label,.hvtkw-label,.hvtkw-review-form-heading) {
  color: var(--hvtkw-heading, #111214) !important;
}
.hvtkw-app :where(a,.hvtkw-text-link,.hvtkw-order-link,.hvtkw-row-link,.hvtkw-search-toggle,.hvtkw-copy) {
  color: var(--hvtkw-link, #111214) !important;
}
.hvtkw-app :where(.hvtkw-subheading,.hvtkw-muted,.hvtkw-terms,.hvtkw-review-meta,.hvtkw-all-review-modal-meta,.hvtkw-all-review-results-meta,.hvtkw-points-history small,.hvtkw-history-row small) {
  color: var(--hvtkw-muted, #737b8c) !important;
}
.hvtkw-app :where(
  .hvtkw-auth-card,
  .hvtkw-account,
  .hvtkw-panel,
  .hvtkw-summary-card,
  .hvtkw-order-card,
  .hvtkw-order-detail,
  .hvtkw-product-card,
  .hvtkw-coupon,
  .hvtkw-redeem-panel,
  .hvtkw-review-card,
  .hvtkw-review-summary,
  .hvtkw-review-form-wrap,
  .hvtkw-my-review-body,
  .hvtkw-all-review-card,
  .hvtkw-all-review-modal-dialog,
  .hvtkw-all-review-modal-info,
  .hvtkw-empty-state,
  .hvtkw-tracking-result
) {
  background-color: var(--hvtkw-surface, #fff) !important;
  border-color: var(--hvtkw-border, #c7ccd5) !important;
  color: var(--hvtkw-text, #111214) !important;
}
.hvtkw-app :where(input.hvtkw-ui-control,select.hvtkw-ui-control,textarea.hvtkw-ui-control,.hvtkw-control) {
  background-color: var(--hvtkw-input-bg, #fff) !important;
  border-color: var(--hvtkw-border, #c7ccd5) !important;
  color: var(--hvtkw-text, #111214) !important;
  caret-color: var(--hvtkw-text, #111214) !important;
}
.hvtkw-app :where(input.hvtkw-ui-control,textarea.hvtkw-ui-control)::placeholder {
  color: var(--hvtkw-muted, #737b8c) !important;
  opacity: .82 !important;
}
.hvtkw-app .hvtkw-button--primary,
.hvtkw-app button.hvtkw-button--primary,
.hvtkw-app a.hvtkw-button--primary {
  background: var(--hvtkw-accent, #111214) !important;
  border-color: var(--hvtkw-accent, #111214) !important;
  color: var(--hvtkw-button-text, #fff) !important;
}
.hvtkw-app .hvtkw-button--outline,
.hvtkw-app button.hvtkw-button--outline,
.hvtkw-app a.hvtkw-button--outline {
  background: transparent !important;
  border-color: var(--hvtkw-border, #c7ccd5) !important;
  color: var(--hvtkw-heading, #111214) !important;
}
.hvtkw-app .hvtkw-ui-required-mark { color: #e22 !important; }
.hvtkw-app .hvtkw-stars,
.hvtkw-app .hvtkw-rating-input { color: #f5a800 !important; }

/* Chế độ nền tối được JS kích hoạt theo nền thật bên ngoài shortcode. */
.hvtkw-app.hvtkw-contrast-dark :where(
  .hvtkw-account-topbar,
  .hvtkw-account-sidebar,
  .hvtkw-mobile-back,
  .hvtkw-page-heading,
  .hvtkw-all-reviews-toolbar,
  .hvtkw-all-review-results-meta,
  .hvtkw-member-banner,
  .hvtkw-summary-card,
  .hvtkw-points-hero
) {
  background-color: var(--hvtkw-surface, #17191d) !important;
  border-color: var(--hvtkw-border, #40444c) !important;
  color: var(--hvtkw-text, #f5f6f8) !important;
}
.hvtkw-app.hvtkw-contrast-dark :where(.hvtkw-row-link,.hvtkw-order-item,.hvtkw-history-row,.hvtkw-order-total-row,.hvtkw-review-card-actions) {
  border-color: var(--hvtkw-border, #40444c) !important;
}
.hvtkw-app.hvtkw-contrast-dark .hvtkw-language-switcher a {
  background: var(--hvtkw-input-bg, #22252a) !important;
  border-color: var(--hvtkw-border, #40444c) !important;
  color: var(--hvtkw-text, #f5f6f8) !important;
}
.hvtkw-app.hvtkw-contrast-dark .hvtkw-language-switcher a.is-active {
  background: var(--hvtkw-accent, #fff) !important;
  border-color: var(--hvtkw-accent, #fff) !important;
  color: var(--hvtkw-button-text, #111) !important;
}

/* Địa chỉ quốc tế: giữ country/state của WooCommerce ổn định trước CSS Flatsome. */
.hvtkw-app .hvtkw-international-address-fields,
.hvtkw-app .hvtkw-international-address-form {
  width: 100% !important;
  min-width: 0 !important;
}
.hvtkw-app .hvtkw-international-address-fields .address-field,
.hvtkw-app .hvtkw-international-address-form .address-field {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}
.hvtkw-app .hvtkw-international-address-fields .select2-container,
.hvtkw-app .hvtkw-international-address-form .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
.hvtkw-app.hvtkw-contrast-dark .select2-container .select2-selection,
.hvtkw-app.hvtkw-contrast-dark .select2-dropdown {
  background: var(--hvtkw-input-bg, #22252a) !important;
  border-color: var(--hvtkw-border, #40444c) !important;
  color: var(--hvtkw-text, #f5f6f8) !important;
}
.hvtkw-app.hvtkw-contrast-dark .select2-container .select2-selection__rendered,
.hvtkw-app.hvtkw-contrast-dark .select2-results__option { color: var(--hvtkw-text, #f5f6f8) !important; }

/* Tăng độ ưu tiên để các màu cấu hình thắng các màu đặt cứng ở phiên bản cũ/Flatsome. */
.hvtkw-app.hvtkw-app :is(
  h1,h2,h3,h4,h5,h6,
  .hvtkw-ui-form-label,.hvtkw-label,
  .hvtkw-account-title,.hvtkw-wishlist-card-title,.hvtkw-product-card h3,
  .hvtkw-order-card strong,.hvtkw-review-card h3,.hvtkw-all-review-card h3,
  .hvtkw-review-form-heading,.hvtkw-reviews-head h2,.hvtkw-section-title
) { color: var(--hvtkw-heading, #111214) !important; }
.hvtkw-app.hvtkw-app :is(
  .hvtkw-terms,.hvtkw-return-login,.hvtkw-subheading,
  .hvtkw-order-card small,.hvtkw-coupon small,.hvtkw-review-meta,
  .hvtkw-all-review-modal-meta,.hvtkw-all-review-results-meta,
  .hvtkw-empty-state p,.hvtkw-order-address p,.hvtkw-review-consent span,
  .hvtkw-row-link--title small,.hvtkw-welcome h1 span
) { color: var(--hvtkw-muted, #737b8c) !important; }
.hvtkw-app.hvtkw-app :is(
  .hvtkw-text-link,.hvtkw-order-link,.hvtkw-copy,
  .hvtkw-row-link:not(.hvtkw-row-link--danger),
  .hvtkw-account-sidebar nav a:not(.hvtkw-logout-link),
  .hvtkw-search-toggle,.hvtkw-review-helpful,.hvtkw-review-report
) { color: var(--hvtkw-link, #111214) !important; }
.hvtkw-app.hvtkw-app .hvtkw-button--primary,
.hvtkw-app.hvtkw-app .hvtkw-button--primary *,
.hvtkw-app.hvtkw-app .hvtkw-wishlist-cart,
.hvtkw-app.hvtkw-app .hvtkw-wishlist-cart * {
  color: var(--hvtkw-button-text, #fff) !important;
}
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(p,li,td,th,.hvtkw-ui-check-text,.hvtkw-profile-no-fields,.hvtkw-review-full-content,.hvtkw-all-review-full-content) {
  color: var(--hvtkw-text, #f4f6f8) !important;
}
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-password-toggle,.hvtkw-row-link>i,.hvtkw-row-link span>i,.hvtkw-empty-state>i) {
  color: var(--hvtkw-muted, #b8bec8) !important;
}
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app .hvtkw-member-banner {
  background: rgba(239,60,47,.13) !important;
  color: #ff8278 !important;
}
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app .hvtkw-member-banner * { color: #ff8278 !important; }
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-notice--success,.hvtkw-review-form-message) { color: #8ee5a7 !important; background: rgba(47,143,78,.16) !important; }
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-notice--error,.hvtkw-review-form-message.is-error) { color: #ffaaa3 !important; background: rgba(217,48,37,.16) !important; }
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-row-link--danger,.hvtkw-logout-link,.hvtkw-recent-clear) { color: #ff8f88 !important; }
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-history-row .is-positive,.hvtkw-wishlist-stock.is-in-stock) { color: #78d995 !important; }
.hvtkw-app.hvtkw-contrast-dark.hvtkw-app :is(.hvtkw-history-row .is-negative,.hvtkw-wishlist-stock.is-out-of-stock) { color: #ff8f88 !important; }
