/* Thánh Săn Sale — Premium Commerce Pulse (Stitch) */
/* Font Be Vietnam Pro: load từ <head> (preconnect + link), không @import */

:root {
  --tss-primary: #ff5c33;
  --tss-primary-dark: #c4381a;
  --tss-on-primary: #ffffff;
  --tss-background: #fcfaf8;
  --tss-surface: #ffffff;
  --tss-on-background: #1d130c;
  --tss-outline: #8e7164;
  --tss-outline-variant: #e2bfb0;
  --tss-secondary: #565e74;
  --tss-tertiary: #006c49;
  --tss-surface-container: #f4ece6;
  --tss-dark-card: #1d130c;
  --tss-radius: 12px;
  --tss-radius-lg: 16px;
  --tss-radius-xl: 24px;
  --tss-max: 1280px;
  --tss-shadow: 0 4px 20px -2px rgba(255, 106, 0, 0.08);
  --tss-shadow-hover: 0 8px 30px -4px rgba(255, 106, 0, 0.16);
}

body.tss-body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Be Vietnam Pro", sans-serif !important;
  background: var(--tss-background) !important;
  color: var(--tss-on-background);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.tss-body,
body.tss-body *,
body.tss-body *::before,
body.tss-body *::after {
  box-sizing: border-box;
}

/* Trang chủ bỏ Bootstrap: đừng đè background nút .tss-btn */
body.tss-body.tss-css-lite a:not(.tss-btn) {
  color: inherit;
  text-decoration: none;
}

.modal-alert.row {
  display: block;
}

.modal-alert .container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}

.modal-alert .row {
  display: flex;
  flex-wrap: wrap;
}

.modal-alert .col,
.modal-alert .col-lg-8 {
  position: relative;
  width: 100%;
  padding: 0 15px;
}

@media (min-width: 992px) {
  .modal-alert .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    margin-left: auto;
    margin-right: auto;
  }
}

body.tss-body.fixed-bottom-padding {
  padding-bottom: 0 !important;
}

/* Bỏ viền focus đen của Chrome: bấm thì tối màu một nhịp, thả ra về bình thường */
button,
[type="button"],
[type="submit"],
[type="reset"] {
  -webkit-tap-highlight-color: transparent;
}
button:focus,
button:focus-visible,
[type="button"]:focus,
[type="button"]:focus-visible,
[type="submit"]:focus,
[type="submit"]:focus-visible,
[type="reset"]:focus,
[type="reset"]:focus-visible {
  outline: none !important;
}
button:active,
[type="button"]:active,
[type="submit"]:active,
[type="reset"]:active {
  filter: brightness(0.86);
}

/* Legacy Material Symbols (nếu còn sót) — không gắn chung với SVG */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  user-select: none;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

/* SVG sprite host — ẩn hoàn toàn */
.tss-sprite-host {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

/*
 * SVG icon: size theo font-size (1em) giống Material font trước đây,
 * để các rule font-size: 24px / 36px trên parent vẫn có hiệu lực.
 */
svg.tss-icon,
.tss-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  min-width: 1em;
  min-height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
  fill: currentColor;
  color: inherit;
  overflow: visible;
  font-size: 24px;
  line-height: 1;
  font-family: inherit;
  font-variation-settings: normal;
  user-select: none;
}

.tss-icon.filled {
  opacity: 1;
}

.tss-icon.tss-spin,
.tss-icon.loading-spinner {
  animation: tss-spin .8s linear infinite;
}

@keyframes tss-spin {
  to { transform: rotate(360deg); }
}

button.tss-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

/* ===== Tách giao diện PC / Mobile (breakpoint 992px) ===== */
.tss-pc-only {
  display: none !important;
}

@media (min-width: 992px) {
  .tss-pc-only {
    display: flex !important;
  }

  .tss-mobile-only,
  .tss-bottom-nav {
    display: none !important;
  }
}

.material-symbols-outlined.filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ========== Header ========== */
.tss-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
  border-bottom: 1px solid var(--tss-outline-variant);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.25s ease;
}

.tss-header.is-scrolled {
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

.tss-header-inner {
  max-width: var(--tss-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 992px) {
  .tss-header-inner {
    padding: 16px 48px;
  }
}

.tss-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--tss-on-background) !important;
}

.tss-brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.tss-brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tss-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 992px) {
  .tss-brand-name {
    font-size: 1.5rem;
  }
}

.tss-nav-desktop {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 992px) {
  .tss-nav-desktop {
    display: flex;
  }
}

.tss-nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tss-on-background);
  text-decoration: none !important;
  position: relative;
}

@media (min-width: 992px) {
  .tss-nav-link {
    font-size: 1.05rem;
    font-weight: 700;
  }
}

.tss-nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--tss-primary);
  transition: width 0.3s;
}

.tss-nav-link:hover::after {
  width: 100%;
}

.tss-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--tss-radius);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.tss-btn:active {
  transform: scale(0.95);
}

.tss-btn-ghost {
  background: transparent;
  color: var(--tss-on-background);
}

.tss-btn-ghost:hover {
  background: var(--tss-surface-container);
  color: var(--tss-on-background);
}

.tss-btn-primary {
  background: var(--tss-primary);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(255, 92, 51, 0.25);
}

.tss-btn-primary:hover {
  background: #e64a22;
  color: #fff !important;
  transform: scale(1.02);
}

.tss-btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--tss-surface-container);
  color: var(--tss-on-background);
  border-radius: var(--tss-radius);
}

.tss-btn-icon:hover {
  background: #eadfd7;
  color: var(--tss-on-background);
}

.tss-btn-notify {
  position: relative;
  background: var(--tss-surface-container);
  color: var(--tss-primary);
}

.tss-notify-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  border-radius: 999px;
  background: var(--tss-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 0 4px;
}

.tss-profile-chip {
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 4px 14px 4px 4px;
  background: var(--tss-surface-container);
  border-radius: var(--tss-radius);
  color: var(--tss-on-background) !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
}

.tss-profile-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .tss-profile-chip {
    display: inline-flex;
  }
  .tss-btn-login-desktop {
    display: inline-flex !important;
  }
  .tss-btn-menu-mobile {
    display: none !important;
  }
}

.tss-btn-login-desktop {
  display: none;
}

/* Mobile drawer */
.tss-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 19, 12, 0.45);
  z-index: 1090;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tss-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.tss-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: min(340px, 90vw);
  height: 100%;
  background: #fff;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 16px 16px 28px;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.tss-drawer.is-open {
  transform: translateX(0);
}

.tss-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.tss-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: var(--tss-on-background) !important;
  font-weight: 800;
  font-size: 0.95rem;
  min-width: 0;
}

.tss-drawer-brand .tss-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
}

.tss-drawer-brand span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tss-drawer-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: transparent !important;
  color: var(--tss-on-background) !important;
}

.tss-drawer-user {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--tss-primary);
  border-radius: 16px;
  padding: 14px 16px;
  color: #fff;
  margin-bottom: 18px;
}

.tss-drawer-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.tss-drawer-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}

.tss-drawer-avatar-guest {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tss-drawer-online {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}

.tss-drawer-user-info {
  min-width: 0;
}

.tss-drawer-hello {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tss-drawer-role {
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
}

.tss-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tss-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--tss-on-background);
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.tss-drawer-item .material-symbols-outlined,.tss-drawer-item .tss-icon {
  font-size: 22px;
  color: var(--tss-secondary);
}

.tss-drawer-item.is-active {
  background: #fff3e8;
  color: var(--tss-primary);
}

.tss-drawer-item.is-active .material-symbols-outlined,.tss-drawer-item.is-active .tss-icon {
  color: var(--tss-primary);
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.tss-drawer-item:hover {
  background: #fff7ed;
  color: var(--tss-on-background);
}

.tss-drawer-divider {
  height: 1px;
  background: rgba(226, 191, 176, 0.45);
  margin: 10px 4px;
}

.tss-drawer-logout {
  color: #b42318;
}

.tss-drawer-logout .material-symbols-outlined,.tss-drawer-logout .tss-icon {
  color: #b42318;
}

.tss-drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tss-drawer-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 191, 176, 0.4);
  color: var(--tss-on-background);
  font-weight: 600;
  text-decoration: none;
}

/* ========== Main shell ========== */
.tss-main {
  flex-grow: 1;
  width: 100%;
  max-width: var(--tss-max);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

@media (min-width: 992px) {
  .tss-main {
    padding: 32px 48px 64px;
  }
}

.tss-main > .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Hide legacy chrome on redesigned shell */
.tss-body .mobile-nav,
.tss-body .osahan-main-nav,
.tss-body #main-nav,
.tss-body .theme-switch-wrapper,
.tss-body .hc-offcanvas-nav,
.tss-body .nav-button {
  display: none !important;
}

/* ========== Hero ========== */
.tss-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--tss-radius-xl);
  background: linear-gradient(135deg, #ff9d5c 0%, #ff5c33 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px;
}

@media (min-width: 992px) {
  .tss-hero {
    padding: 64px;
  }
}

.tss-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.tss-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--tss-on-background);
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.tss-hero-title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1rem, 2.2vw + 0.45rem, 1.85rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: normal;
  text-wrap: balance;
}

.tss-search-box {
  width: 100%;
  position: relative;
}

.tss-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  border-radius: 16px;
  border: 2px solid rgba(255, 92, 51, 0.5);
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 10px 30px rgba(29, 19, 12, 0.12);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tss-search-row:focus-within {
  border-color: var(--tss-primary);
  box-shadow: 0 0 0 4px rgba(255, 92, 51, 0.12), 0 12px 36px rgba(29, 19, 12, 0.14);
}

.tss-search-row > .material-symbols-outlined,.tss-search-row > .tss-icon,
.tss-search-row > .tss-icon {
  margin-left: 8px;
  color: var(--tss-secondary);
  flex-shrink: 0;
}

.tss-search-row:focus-within > .material-symbols-outlined,.tss-search-row:focus-within > .tss-icon,
.tss-search-row:focus-within > .tss-icon {
  color: var(--tss-primary);
}

.tss-paste-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 4px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: rgba(255, 92, 51, 0.18);
  color: var(--tss-primary);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.tss-paste-btn:hover,
.tss-paste-btn:focus-visible {
  background: rgba(255, 92, 51, 0.32);
  color: #e64a22;
  outline: none;
}

.tss-paste-btn:active {
  background: rgba(255, 92, 51, 0.42);
}

.tss-paste-btn .tss-icon,
.tss-paste-btn .tss-paste-ico {
  margin: 0 !important;
  color: inherit !important;
  display: block !important;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tss-search-row input {
  flex: 1;
  height: 48px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  color: var(--tss-on-background);
  min-width: 0;
  border-radius: 10px;
  padding: 0 8px;
  transition: color .15s ease, background .15s ease;
}

.tss-search-row input::placeholder {
  color: var(--tss-outline);
}

/* Hiệu ứng xanh khi đã dán link */
.tss-search-row input:not(:placeholder-shown) {
  color: #1565c0;
  background: rgba(21, 101, 192, 0.08);
}

.tss-search-row input:not(:placeholder-shown)::selection {
  background: rgba(21, 101, 192, 0.22);
  color: #0d47a1;
}

.tss-search-row input:-webkit-autofill,
.tss-search-row input:-webkit-autofill:hover,
.tss-search-row input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1565c0;
  caret-color: #1565c0;
  box-shadow: 0 0 0 1000px rgba(21, 101, 192, 0.08) inset !important;
  transition: background-color 99999s ease-out;
}

.tss-search-btn {
  height: 52px;
  border: none;
  border-radius: var(--tss-radius);
  background: var(--tss-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 28px;
  box-shadow: 0 8px 24px rgba(255, 92, 51, 0.35);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Icon kính lúp trong nút — luôn hiện, màu trắng */
.tss-search-btn .tss-search-btn-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 22px !important;
  line-height: 1;
  margin: 0 !important;
  color: #fff !important;
  flex-shrink: 0;
}

.tss-search-btn .tss-search-btn-label {
  display: inline;
  white-space: nowrap;
}

.tss-search-btn:hover {
  background: #e64a22;
}

.tss-search-btn.is-loading,
.tss-search-btn:disabled {
  opacity: 0.75;
  pointer-events: none;
}

.tss-search-btn .btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tss-spin 0.7s linear infinite;
  margin-right: 6px;
  vertical-align: -3px;
}

@keyframes tss-spin {
  to { transform: rotate(360deg); }
}

.tss-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

.tss-platforms-list {
  display: contents;
}

.tss-platforms span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tss-platforms .tss-plat-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.tss-platforms .tss-plat-ico--img {
  object-fit: contain;
  border-radius: 50%;
}

.tss-platforms .tss-platforms-label-mb {
  display: none;
}

@media (max-width: 575px) {
  .tss-search-row {
    flex-wrap: nowrap;
    min-height: auto;
    padding: 12px;
  }
  .tss-search-row > .material-symbols-outlined,  .tss-search-row > .tss-icon {
    display: none;
  }
  .tss-search-row > .tss-paste-btn {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
  }
  .tss-search-row input {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
  }
  .tss-search-btn {
    width: auto;
  }
}

/* Guide banner — nền trắng + viền nổi */
.tss-guide {
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  border: 2px solid rgba(255, 92, 51, 0.45);
  background: #fff;
  padding: 16px 24px;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 4px 18px rgba(29, 19, 12, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tss-guide:hover {
  border-color: rgba(255, 92, 51, 0.75);
  box-shadow: 0 6px 22px rgba(255, 92, 51, 0.14);
  color: inherit;
}

.tss-guide-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.tss-guide-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 92, 51, 0.1);
  color: var(--tss-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.tss-guide:hover .tss-guide-icon {
  background: var(--tss-primary);
  color: #fff;
}

.tss-guide-text {
  display: block;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--tss-on-background);
}

.tss-guide-text a {
  color: var(--tss-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tss-guide-copy {
  min-width: 0;
  flex: 1;
}

.tss-guide-cta {
  display: inline-block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--tss-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tss-guide-cta:hover,
.tss-guide-text a:hover {
  color: #e86f1f;
}

.tss-guide-more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none !important;
}

@media (min-width: 992px) {
  .tss-guide-text {
    font-size: 1.125rem;
  }
}

.tss-guide .chevron {
  color: var(--tss-primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.tss-guide:hover .chevron {
  transform: translateX(4px);
}

.tss-guide.is-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

/* Feature cards */
.tss-features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .tss-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tss-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tss-feature-card {
  display: block;
  border-radius: 16px;
  padding: 24px;
  background: #fff7ed;
  border: 1px solid rgba(255, 92, 51, 0.5);
  box-shadow: var(--tss-shadow);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}

.tss-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--tss-primary);
  box-shadow: var(--tss-shadow-hover);
  color: inherit;
}

.tss-feature-card.is-empty {
  cursor: default;
}

.tss-feature-card.is-empty:hover {
  transform: none;
}

.tss-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tss-radius);
  background: rgba(255, 92, 51, 0.1);
  color: var(--tss-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s, color 0.2s;
}

.tss-feature-card:hover .tss-feature-icon {
  background: var(--tss-primary);
  color: #fff;
}

.tss-feature-card h2,
.tss-feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.tss-feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--tss-secondary);
  line-height: 1.5;
}

.tss-feature-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-primary);
}

/* Leaderboard */
.tss-leaderboard {
  margin-top: 64px;
  border-radius: var(--tss-radius-xl);
  background: #fff;
  border: 1px solid rgba(226, 191, 176, 0.3);
  padding: 32px 24px;
  box-shadow: var(--tss-shadow);
}

@media (min-width: 992px) {
  .tss-leaderboard {
    padding: 48px;
  }
}

.tss-leaderboard-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 576px) {
  .tss-leaderboard-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.tss-leaderboard-head h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

@media (min-width: 992px) {
  .tss-leaderboard-head h2 {
    font-size: 1.875rem;
  }
}

.tss-leaderboard-head p {
  margin: 4px 0 0;
  color: var(--tss-secondary);
}

.tss-tabs {
  display: inline-flex;
  gap: 4px;
  border-radius: var(--tss-radius);
  background: var(--tss-surface-container);
  padding: 4px;
}

.tss-tab {
  border: none;
  outline: none;
  background: transparent;
  border-radius: 8px;
  padding: 8px 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-secondary);
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.tss-tab:focus,
.tss-tab:focus-visible,
.tss-tab:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.tss-tab.active {
  background: var(--tss-primary);
  color: #fff;
  border: none;
  outline: none;
  box-shadow: none;
}

.tss-tab.active:focus,
.tss-tab.active:focus-visible,
.tss-tab.active:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.tss-table-wrap {
  overflow-x: auto;
}

.tss-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tss-table tbody[hidden] {
  display: none !important;
}

.tss-table th {
  padding: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tss-outline);
  border-bottom: 1px solid rgba(226, 191, 176, 0.3);
}

.tss-table th:last-child,
.tss-table td:last-child {
  text-align: right;
}

.tss-table td {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(226, 191, 176, 0.2);
  vertical-align: middle;
}

.tss-table tbody tr:hover {
  background: var(--tss-background);
}

.tss-rank {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 900;
}

.tss-rank-1 {
  background: var(--tss-primary);
  color: #fff;
}

.tss-rank-2 {
  background: var(--tss-outline-variant);
  color: #fff;
}

.tss-rank-3 {
  background: rgba(226, 191, 176, 0.5);
  color: #fff;
}

.tss-rank-n {
  color: var(--tss-secondary);
  font-weight: 700;
  background: transparent;
}

.tss-money {
  font-weight: 900;
  color: var(--tss-primary);
}

.tss-money-muted {
  font-weight: 700;
  color: var(--tss-on-background);
}

.tss-user-name {
  font-weight: 700;
}

.tss-user-name.muted {
  font-weight: 500;
  color: var(--tss-secondary);
}

.tss-leaderboard-more {
  margin-top: 32px;
  text-align: center;
}

.tss-leaderboard-more a,
.tss-leaderboard-more button {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-primary);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.tss-leaderboard-more a:hover,
.tss-leaderboard-more button:hover {
  color: #e64a22;
}

/* ========== Lưu ý khi hoàn tiền (Stitch) ========== */
.tss-refund-notes {
  position: relative;
  margin-top: 80px;
  width: 100%;
  padding: 40px 24px;
  border-radius: 24px;
  background: #1a100b;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 16, 11, 0.18);
}

.tss-refund-notes-blob {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: #ee4d2d;
  opacity: 0.18;
  filter: blur(48px);
  transform: translate(40%, -40%);
  pointer-events: none;
}

.tss-refund-notes-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.tss-refund-notes-badge {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ee4d2d;
  color: #fff;
  box-shadow: 0 0 15px rgba(238, 77, 45, 0.5);
}

.tss-refund-notes-badge .tss-icon {
  color: #fff;
  font-size: 28px;
  width: 28px;
  height: 28px;
}

.tss-refund-notes-head h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.tss-refund-notes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 992px) {
  .tss-refund-notes {
    padding: 40px;
  }
  .tss-refund-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.tss-refund-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tss-refund-note:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.tss-refund-note.is-empty {
  cursor: default;
  opacity: 0.85;
}

.tss-refund-note.is-empty:hover {
  transform: none;
}

.tss-refund-note-logo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  flex-shrink: 0;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}

.tss-refund-note-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  transform-origin: center center;
}

.tss-refund-note-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.tss-refund-note-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tss-refund-note-cta .tss-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
  color: inherit;
}

/* Shopee — PNG tròn đầy khung */
.tss-refund-note--shopee .tss-refund-note-logo-wrap {
  box-shadow: 0 0 20px rgba(238, 77, 45, 0.4);
}
.tss-refund-note--shopee .tss-refund-note-cta { color: #ee4d2d; border-color: #ee4d2d; }
.tss-refund-note--shopee:hover {
  border-color: rgba(238, 77, 45, 0.55);
}
.tss-refund-note--shopee:hover .tss-refund-note-logo-wrap {
  box-shadow: 0 0 30px rgba(238, 77, 45, 0.6);
  transform: scale(1.04);
}
.tss-refund-note--shopee:hover .tss-refund-note-cta {
  background: #ee4d2d;
  color: #fff;
  border-color: #ee4d2d;
}

/* ShopeeFood — PNG tròn đầy khung */
.tss-refund-note--shopeefood .tss-refund-note-logo-wrap {
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4);
}
.tss-refund-note--shopeefood .tss-refund-note-cta { color: #ff5c33; border-color: #ff5c33; }
.tss-refund-note--shopeefood:hover {
  border-color: rgba(255, 102, 0, 0.55);
}
.tss-refund-note--shopeefood:hover .tss-refund-note-logo-wrap {
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.6);
  transform: scale(1.04);
}
.tss-refund-note--shopeefood:hover .tss-refund-note-cta {
  background: #ff5c33;
  color: #fff;
  border-color: #ff5c33;
}

/* Lazada — PNG tròn đầy khung */
.tss-refund-note--lazada .tss-refund-note-logo-wrap {
  box-shadow: 0 0 20px rgba(180, 40, 160, 0.4);
}
.tss-refund-note--lazada .tss-refund-note-cta { color: #e040fb; border-color: #e040fb; }
.tss-refund-note--lazada:hover {
  border-color: rgba(224, 64, 251, 0.55);
}
.tss-refund-note--lazada:hover .tss-refund-note-logo-wrap {
  box-shadow: 0 0 30px rgba(180, 40, 160, 0.6);
  transform: scale(1.04);
}
.tss-refund-note--lazada:hover .tss-refund-note-cta {
  background: #c026d3;
  color: #fff;
  border-color: #c026d3;
}

/* TikTok — PNG tròn đầy khung */
.tss-refund-note--tiktok .tss-refund-note-logo-wrap {
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}
.tss-refund-note--tiktok .tss-refund-note-cta { color: #22d3ee; border-color: #22d3ee; }
.tss-refund-note--tiktok:hover {
  border-color: rgba(34, 211, 238, 0.55);
}
.tss-refund-note--tiktok:hover .tss-refund-note-logo-wrap {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.55);
  transform: scale(1.04);
}
.tss-refund-note--tiktok:hover .tss-refund-note-cta {
  background: linear-gradient(90deg, #22d3ee, #a855f7);
  color: #fff;
  border-color: transparent;
}

/* Legacy info-card bits (nếu còn chỗ khác) */
.tss-info-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .tss-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tss-info-grid--single {
    grid-template-columns: 1fr;
  }
}

.tss-info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  padding: 32px;
  background: var(--tss-dark-card);
  color: #fff;
  border: 1px solid rgba(226, 191, 176, 0.3);
  box-shadow: var(--tss-shadow);
  text-decoration: none !important;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tss-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--tss-primary);
  box-shadow: var(--tss-shadow-hover);
  color: #fff;
}

.tss-info-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tss-info-card-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.tss-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--tss-radius);
  background: rgba(255, 92, 51, 0.15);
  color: var(--tss-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.tss-info-card:hover .tss-info-icon {
  background: var(--tss-primary);
  color: #fff;
}

.tss-info-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 0;
}

.tss-info-meta {
  display: contents;
  margin: 0;
}

.tss-info-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 0 -12px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.tss-info-meta-row strong {
  font-weight: 700;
  color: #fff;
}

.tss-info-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 -12px;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-primary);
  line-height: 1.4;
}

/* Products */
.tss-products {
  margin-top: 64px;
}

.tss-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.tss-products-head h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tss-products-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-primary);
  text-decoration: none;
}

.tss-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .tss-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .tss-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.tss-product-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 191, 176, 0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tss-product-card:hover {
  border-color: rgba(255, 92, 51, 0.5);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.tss-product-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.tss-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tss-product-card:hover .tss-product-img img {
  transform: scale(1.05);
}

.tss-badge-sale {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 8px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
}

.tss-badge-cashback {
  position: absolute;
  right: 8px;
  top: 8px;
  border-radius: 10px;
  background: var(--tss-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  max-width: 70%;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(255, 92, 51, 0.35);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .tss-badge-cashback {
    font-size: 14px;
    padding: 8px 14px;
  }
}

.tss-product-body {
  padding: 16px;
}

.tss-product-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--tss-on-background);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  line-height: 1.35;
}

.tss-product-price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.tss-product-price .now {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--tss-primary);
}

.tss-product-price .was {
  font-size: 10px;
  color: var(--tss-outline);
  text-decoration: line-through;
}

.tss-product-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.tss-product-buy {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 8px;
  background: var(--tss-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 8px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
}

.tss-product-buy:hover {
  background: #e64a22;
  color: #fff;
}

.tss-product-share {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(255, 92, 51, 0.1);
  color: var(--tss-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.tss-product-share:hover {
  background: rgba(255, 92, 51, 0.2);
}

/* Loading tìm SP (Lazada / TikTok) */
.tss-search-swal {
  width: min(320px, 92vw) !important;
  padding: 1.75rem 1.5rem 1.6rem !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(29, 19, 12, 0.14) !important;
}
.tss-search-swal-html {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.tss-search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.tss-search-spinner {
  position: relative;
  width: 56px;
  height: 56px;
}
.tss-search-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 92, 51, 0.15);
  border-top-color: #ff5c33;
  border-right-color: #ff8a33;
  animation: tss-spin 0.85s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
  box-sizing: border-box;
}
.tss-search-spinner-ring--inner {
  inset: 10px;
  border-width: 2.5px;
  border-color: rgba(255, 92, 51, 0.1);
  border-bottom-color: #ff5c33;
  border-left-color: #ffb366;
  animation-duration: 1.15s;
  animation-direction: reverse;
}
.tss-search-spinner-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #ff5c33;
  box-shadow: 0 0 0 0 rgba(255, 92, 51, 0.45);
  animation: tss-pulse-dot 1.2s ease-in-out infinite;
}
.tss-search-loading-title {
  margin: 0;
  font-family: "Be Vietnam Pro", "Hanken Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d130c;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
@keyframes tss-spin {
  to { transform: rotate(360deg); }
}
@keyframes tss-pulse-dot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 92, 51, 0.4);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 92, 51, 0);
  }
}

/* Nút OK SweetAlert — đồng nhất cam Shopee (Lazada/TikTok/ShopeeFood) */
.swal2-styled.swal2-confirm,
.swal2-confirm.swal2-styled,
.tss-swal-confirm.swal2-styled {
  background-color: #ff5c33 !important;
  border-color: #ff5c33 !important;
  box-shadow: none !important;
}
.swal2-styled.swal2-confirm:hover,
.swal2-styled.swal2-confirm:focus,
.tss-swal-confirm.swal2-styled:hover,
.tss-swal-confirm.swal2-styled:focus {
  background-color: #e64a22 !important;
  border-color: #e64a22 !important;
}

/* Ô copy link trong Swal — 1 dòng, cắt …, icon 2 đầu */
.tss-share-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 4px auto 0;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.tss-share-link-ico {
  flex: 0 0 auto;
  display: inline-flex;
  color: #9ca3af;
  line-height: 0;
}
.tss-share-link-ok {
  flex: 0 0 auto;
  display: inline-flex;
  line-height: 0;
}
.tss-share-link-copy {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #4b5563;
  line-height: 0;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tss-share-link-copy:hover {
  background: #fff7ed;
  border-color: #fdba74;
  color: #ea580c;
}
.tss-share-link-copy:active {
  transform: scale(0.96);
}
.tss-share-link-copy.is-copied {
  background: #ecfdf5;
  border-color: #86efac;
  color: #16a34a;
}
.tss-share-link-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #374151;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.swal2-html-container .tss-share-link-box {
  text-align: left;
}

/* Popup fallback khi thiếu thông tin SP — cùng cỡ ~420px như chia sẻ link */
.tss-fallback-swal {
  border-radius: 16px !important;
}
.tss-fallback-swal-html {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.tss-fallback-modal {
  text-align: center;
  color: #374151;
}
.tss-fallback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff7ed;
}
.tss-fallback-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}
.tss-fallback-text {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
}
.tss-fallback-text strong {
  color: #ff5c33;
  font-weight: 700;
}
.tss-fallback-link-wrap {
  position: relative;
  margin: 0 0 16px;
  text-align: left;
}
.tss-fallback-link-tag {
  position: absolute;
  top: -8px;
  right: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.tss-fallback-link-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 12px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}
.tss-fallback-link-ico {
  flex: 0 0 auto;
  display: inline-flex;
  margin-top: 2px;
  color: #9ca3af;
  line-height: 0;
}
.tss-fallback-link-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.45em * 2);
}
.tss-fallback-actions {
  display: flex;
  gap: 10px;
}
.tss-fallback-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity .15s ease, transform .1s ease;
}
.tss-fallback-btn:active {
  transform: scale(0.98);
}
.tss-fallback-btn-buy {
  border: none;
  background: #ff5c33;
  color: #fff;
}
.tss-fallback-btn-buy:hover {
  opacity: 0.92;
}
.tss-fallback-btn-share {
  border: 1.5px solid #ff5c33;
  background: #fff;
  color: #ff5c33;
}
.tss-fallback-btn-share:hover {
  background: #fff7ed;
}
@media (max-width: 480px) {
  .tss-fallback-btn {
    font-size: 12px;
    min-height: 42px;
  }
  .tss-fallback-text {
    font-size: 0.875rem;
  }
}

/* Product detail — PC: ảnh | thông tin + nút ngay dưới khung thông tin */
.tss-product-page {
  --tss-product-radius: 16px;
}

.tss-product-side-col .tss-product-cta {
  margin-top: 12px;
}

.tss-product-page .tss-product-detail-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.4;
  max-width: 100%;
}

.tss-product-page .tss-product-media-frame {
  position: relative !important;
  width: 100%;
}

.tss-product-page .recommend-slider {
  box-sizing: border-box;
  border: 2px solid rgba(255, 92, 51, 0.45);
  border-radius: var(--tss-product-radius) !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(29, 19, 12, 0.06);
  overflow: hidden;
}

/* Nhãn sàn nhỏ góc trái khung ảnh SP (ngoài slick) */
.tss-product-page .tss-plat-badge {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  font-family: "Be Vietnam Pro", "Hanken Grotesk", sans-serif;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em;
  color: #fff !important;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  border: 0 !important;
}
.tss-product-page .tss-plat-badge--shopee { background: #ee4d2d !important; }
.tss-product-page .tss-plat-badge--lazada { background: #0f146d !important; }
.tss-product-page .tss-plat-badge--tiktok { background: #111111 !important; }
.tss-product-page .tss-plat-badge--shopeefood { background: #ff5c33 !important; }

@media (max-width: 768px) {
  .tss-product-page .tss-plat-badge {
    top: 8px !important;
    left: 8px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
  }
}

.tss-product-page .recommend-slider img,
.tss-product-page .osahan-slider-item img {
  border-radius: calc(var(--tss-product-radius) - 4px);
}

.tss-product-page .tss-product-info {
  border: 2px solid rgba(255, 92, 51, 0.45);
  border-radius: var(--tss-product-radius) !important;
  box-shadow: 0 4px 18px rgba(29, 19, 12, 0.06);
}

.tss-product-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.tss-product-cta .btn {
  width: 100%;
  margin: 0;
  border-radius: var(--tss-product-radius) !important;
}

/* Banner lưu ý — cả khối bấm được, dễ nhận biết */
a.terms-conditions {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  margin-bottom: 0;
  padding: 12px 14px;
  border-radius: var(--tss-product-radius, 16px) !important;
  border: 1.5px solid #f0c400;
  border-left: 4px solid #ff9800;
  background: linear-gradient(90deg, #fff8e1 0%, #fffde7 100%);
  color: #5d4037 !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}

a.terms-conditions:hover,
a.terms-conditions:focus-visible {
  background: linear-gradient(90deg, #ffecb3 0%, #fff8e1 100%);
  border-color: #ff9800;
  box-shadow: 0 4px 14px rgba(255, 152, 0, 0.22);
  color: #4e342e !important;
  outline: none;
}

a.terms-conditions:active {
  transform: scale(0.99);
}

.terms-conditions-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff9800;
  color: #fff !important;
  font-size: 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.terms-conditions-text {
  flex: 1;
  min-width: 0;
}

.terms-conditions-text strong {
  color: #e65100;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-conditions-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ff9800;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
}

.terms-conditions-cta .material-symbols-outlined,.terms-conditions-cta .tss-icon {
  font-size: 18px !important;
  margin: 0 !important;
  color: inherit !important;
}

/* Compact search — chỉ trang /san-pham/ */
.tss-page-search {
  width: 100%;
  margin: 0 0 14px;
  box-sizing: border-box;
}

.tss-page-search .tss-search-row {
  min-height: 56px;
  border-radius: 16px !important;
  box-shadow: var(--tss-shadow);
}

.tss-page-search .tss-search-btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 16px !important;
}

/* Back / Home — chỉ PC (xem .tss-pc-only) */
.tss-page-nav {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

body:has(.ntf-wrap) .tss-page-nav,
body:has(.tss-orders) .tss-page-nav,
body:has(.tss-htx) .tss-page-nav,
body:has(.tss-lh) .tss-page-nav,
body:has(.tss-cat) .tss-page-nav {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

body:has(.tss-profile) .tss-page-nav {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .tss-page-nav.tss-pc-only {
    display: flex !important;
  }
}

.tss-page-nav-back,
.tss-page-nav-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #ffd4b8;
  background: #ffffff;
  color: #6b4a38;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tss-page-nav-back .material-symbols-outlined,.tss-page-nav-back .tss-icon,
.tss-page-nav-home .material-symbols-outlined,.tss-page-nav-home .tss-icon {
  font-size: 18px;
  color: #ff5c33;
}

.tss-page-nav-back:hover,
.tss-page-nav-home:hover {
  background: #fff4ec;
  border-color: #ffc4a0;
  color: #ff5c33;
}

.tss-page-nav-sep {
  width: 1px;
  height: 18px;
  background: #ffd4b8;
}

/* Footer — nền đen + cam, 3 cột PC / xếp dọc mobile */
.tss-footer {
  border-top: 4px solid var(--tss-primary);
  background: #121212;
  margin-top: auto;
  padding: 28px 0 24px;
  color: #fff;
}

.tss-footer-inner {
  max-width: var(--tss-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tss-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: #fff !important;
  align-self: flex-start;
}

.tss-footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tss-primary);
}

.tss-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tss-footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.tss-footer-name {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tss-footer-tagline {
  display: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tss-primary);
}

.tss-footer-cols {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tss-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tss-footer-heading {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tss-primary);
}

.tss-footer-heading-short {
  display: inline;
}

.tss-footer-heading-rest {
  display: none;
}

/* body.tss-body … để thắng a { color:inherit } trên trang chủ (tss-css-lite) */
body.tss-body .tss-footer .tss-footer-col a {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.15s ease;
}

body.tss-body .tss-footer .tss-footer-col a:hover,
body.tss-body .tss-footer .tss-footer-col a:focus-visible {
  color: var(--tss-primary);
}

body.tss-body .tss-footer .tss-footer-col a:active {
  color: #ffb066;
}

.tss-footer-contact {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

body.tss-body .tss-footer .tss-footer-contact a {
  color: var(--tss-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.tss-body .tss-footer .tss-footer-contact a:hover,
body.tss-body .tss-footer .tss-footer-contact a:focus-visible {
  color: #ffb066;
}

body.tss-body .tss-footer .tss-footer-contact a:active {
  color: #fff;
}

.tss-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}

.tss-footer-copy {
  margin: 0;
  order: 2;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.tss-footer-domain {
  order: 3;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tss-primary);
  text-decoration: none;
}

.tss-footer-domain:hover {
  text-decoration: underline;
}

.tss-footer-social {
  display: flex;
  order: 1;
  gap: 10px;
}

.tss-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--tss-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tss-primary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.tss-footer-social a:hover {
  background: var(--tss-primary);
  color: #fff;
}

@media (min-width: 992px) {
  .tss-footer {
    padding: 40px 0 28px;
  }

  .tss-footer-inner {
    padding: 0 48px;
    align-items: center;
    gap: 32px;
  }

  .tss-footer-brand {
    align-self: center;
  }

  .tss-footer-tagline {
    display: block;
  }

  .tss-footer-name {
    font-size: 1.35rem;
  }

  .tss-footer-heading-short {
    display: none;
  }

  .tss-footer-heading-rest {
    display: inline;
  }

  .tss-footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
    width: 100%;
    max-width: 860px;
  }

  .tss-footer-col {
    padding-top: 0;
    border-top: none;
    gap: 10px;
  }

  .tss-footer-bottom {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    gap: 16px;
  }

  .tss-footer-copy { order: 1; }
  .tss-footer-social { order: 2; }
  .tss-footer-domain { order: 3; }

  .tss-footer-col-legal {
    display: flex;
  }
}

/* Alerts inside main (đủ dùng khi trang chủ không load Bootstrap) */
.tss-main .alert {
  position: relative;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--tss-radius);
  margin-bottom: 16px;
}
.tss-main .alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.tss-main .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.tss-main .alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.tss-main .alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

/* Utility */
.tss-hide { display: none !important; }

.tss-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;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== Shared desktop pagination (orders / history-transactions / link-history) ===== */
.tss-orders-pc .tss-orders-pager,
.tss-htx-pc .htx-pager,
.tss-lh-pc .lh-pc-pager {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.tss-lh-pc .lh-pc-pager {
  justify-content: center;
  padding: 8px 0 16px;
  width: 100%;
  flex-wrap: nowrap;
}

.tss-orders-pc .tss-orders-pager-pages,
.tss-htx-pc .htx-pager-pages {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  min-width: 0;
}

.tss-orders-pc .tss-orders-pager-btn,
.tss-orders-pc .tss-orders-page,
.tss-htx-pc .htx-pager-btn,
.tss-htx-pc .htx-page,
.tss-lh-pc .lh-page {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  margin: 0;
  border: 1px solid #e3bfb1;
  border-radius: 50%;
  background: #fff;
  color: #1b1c1c;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}

.tss-orders-pc .tss-orders-pager-btn .material-symbols-outlined,.tss-orders-pc .tss-orders-pager-btn .tss-icon,
.tss-htx-pc .htx-pager-btn .material-symbols-outlined,.tss-htx-pc .htx-pager-btn .tss-icon,
.tss-lh-pc .lh-page .material-symbols-outlined,.tss-lh-pc .lh-page .tss-icon {
  font-size: 20px;
  line-height: 1;
  color: inherit;
}

.tss-orders-pc .tss-orders-page.is-active,
.tss-htx-pc .htx-page.is-active,
.tss-lh-pc .lh-page.is-active {
  background: #ff5c33;
  border-color: #ff5c33;
  color: #fff;
}

.tss-orders-pc .tss-orders-pager-btn:disabled,
.tss-htx-pc .htx-pager-btn:disabled,
.tss-lh-pc .lh-page:disabled {
  background: #f5f3f3;
  border-color: #e3bfb1;
  color: #b8b0a8;
  opacity: 1;
  cursor: default;
}

.tss-orders-pc .tss-orders-pager-btn:active:not(:disabled),
.tss-htx-pc .htx-pager-btn:active:not(:disabled),
.tss-orders-pc .tss-orders-page:active:not(.is-active),
.tss-htx-pc .htx-page:active:not(.is-active),
.tss-lh-pc .lh-page:active:not(.is-active):not(:disabled) {
  transform: scale(0.96);
}

.tss-orders-pc .tss-orders-page-ellipsis,
.tss-htx-pc .htx-page-ellipsis {
  color: #5f5e5e;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== Mã giảm giá /ma-giam-gia (Stitch voucher hub) ===== */
.tss-coupons {
  --vc-shopee: #ee4d2d;
  --vc-lazada: #0f146d;
  --vc-lazada-accent: #f41b6c;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 0 40px;
  font-family: "Be Vietnam Pro", "Manrope", sans-serif;
}

.tss-coupons-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eeeeee;
}

.tss-coupons-title {
  margin: 0 0 6px;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--vc-shopee);
  text-transform: uppercase;
}

.tss-coupons-updated {
  margin: 0;
  font-size: 0.95rem;
  color: #757575;
  font-weight: 500;
}

.tss-coupons-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 12px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tss-coupons-tab {
  border: none;
  background: transparent;
  color: #757575;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 10px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.tss-coupons-tab:hover {
  background: #eeeeee;
  color: #424242;
}

.tss-coupons-tab.is-active {
  background: var(--vc-shopee);
  color: #fff;
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.28);
}

.tss-coupons-tab.is-active[data-tab="lazada"] {
  background: var(--vc-lazada);
  box-shadow: 0 4px 12px rgba(15, 20, 109, 0.28);
}

.tss-coupons-tab.is-active[data-tab="tiktok"] {
  background: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.tss-coupons-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  min-height: 320px;
}

.tss-coupons-panel[hidden] {
  display: none !important;
}

.tss-coupons-panel-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.tss-coupons-panel-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.tss-coupons-panel-title.is-shopee {
  color: var(--vc-shopee);
}

.tss-coupons-panel-title.is-lazada {
  color: var(--vc-lazada);
}

.tss-coupons-panel-title.is-tiktok {
  color: #111;
}

.tss-coupons-edit {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff5c33;
  text-decoration: none;
}

.tss-coupons-edit:hover {
  text-decoration: underline;
}

.tss-coupons-body {
  color: #333;
  font-size: 1rem;
  line-height: 1.75;
  word-wrap: break-word;
}

.tss-coupons-body > *:first-child {
  margin-top: 0;
}

.tss-coupons-body > *:last-child {
  margin-bottom: 0;
}

.tss-coupons-body p {
  margin: 0 0 1em;
}

.tss-coupons-body h1,
.tss-coupons-body h2,
.tss-coupons-body h3,
.tss-coupons-body h4 {
  margin: 1.25em 0 0.55em;
  line-height: 1.35;
  color: #212121;
  font-weight: 800;
}

.tss-coupons-body ul,
.tss-coupons-body ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}

.tss-coupons-body li {
  margin-bottom: 0.35em;
}

.tss-coupons-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.tss-coupons-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1em;
}

.tss-coupons-body a {
  color: #0563c1;
  font-weight: 600;
  text-decoration: underline;
}

.tss-coupons-body a:hover {
  color: #034078;
}

.tss-coupons-empty {
  margin: 0;
  color: #757575;
  font-size: 0.98rem;
  line-height: 1.6;
}

body:has(.tss-coupons) .tss-page-nav {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Shared info notice banner (same as notifications .ntf-expire) */
.tss-info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff7ed;
  border: 1px solid rgba(255, 92, 51, 0.22);
  color: #7a3000;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  line-height: 1.45;
  box-shadow: none;
}

.tss-info-note > .material-symbols-outlined,.tss-info-note > .tss-icon {
  color: #ff5c33;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.tss-info-note p,
.tss-info-note > span:not(.material-symbols-outlined):not(.tss-icon) {
  margin: 0;
}

.tss-info-note strong {
  font-weight: 700;
  color: inherit;
}

/* ===== Blog / Tin tức (Stitch Clarion Editorial) ===== */
.tss-blog {
  --blog-bg: #f9f9f9;
  --blog-surface: #ffffff;
  --blog-text: #1a1c1c;
  --blog-muted: #5f5e5e;
  --blog-orange: #ff8c00;
  --blog-orange-deep: #904d00;
  --blog-orange-soft: #fff4e5;
  --blog-border: #e5e5e5;
  --blog-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0 48px;
  font-family: "Be Vietnam Pro", "Inter", sans-serif;
  color: var(--blog-text);
}

body:has(.tss-blog) .tss-main {
  background: var(--blog-bg);
}

body:has(.tss-blog) .tss-page-nav {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.tss-blog * { box-sizing: border-box; }

/* Tách PC / Mobile — giống Orders / LinkHistory */
.tss-blog-pc.tss-pc-only,
.tss-blog-m.tss-mobile-only {
  flex-direction: column;
  width: 100%;
  gap: 0;
}

.tss-blog-pc {
  display: none;
}

@media (min-width: 992px) {
  .tss-blog-pc.tss-pc-only {
    display: flex !important;
  }
}

.tss-blog-section-head {
  margin-bottom: 16px;
}

.tss-blog-section-head.is-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tss-blog-h {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--blog-text);
}

.tss-blog-h.is-md {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tss-blog-h .material-symbols-outlined,.tss-blog-h .tss-icon {
  color: var(--blog-orange);
  font-size: 28px;
}

.tss-blog-accent-bar {
  display: block;
  width: 32px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--blog-orange);
}

.tss-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tss-blog-cat-chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  background: #eeeeee;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.tss-blog-cat-chip:hover,
.tss-blog-cat-chip.is-active {
  background: var(--blog-orange);
  color: #fff;
}

.tss-blog-popular-num.is-italic {
  font-style: italic;
  font-size: 2rem;
}

.tss-blog-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--blog-orange-deep);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.tss-blog-link:hover { text-decoration: underline; }
.tss-blog-link .material-symbols-outlined,.tss-blog-link .tss-icon { font-size: 18px; }

.tss-blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blog-orange);
  color: #623200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
}

.tss-blog-chip.is-hot {
  color: #fff;
  background: var(--blog-orange);
  text-decoration: none;
}

.tss-blog-tag {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: var(--blog-orange-soft);
  color: var(--blog-orange);
  font-size: 12px;
  font-weight: 700;
}

.tss-blog-tag.is-plain {
  background: transparent;
  padding: 0;
  margin-bottom: 4px;
  color: var(--blog-orange);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tss-blog-meta {
  font-size: 12px;
  color: var(--blog-muted);
  font-weight: 500;
}

.tss-blog-empty,
.tss-blog-empty-soft {
  padding: 28px 20px;
  background: var(--blog-surface);
  border-radius: 16px;
  border: 1px solid var(--blog-border);
  color: var(--blog-muted);
  text-align: center;
}

.tss-blog-empty-soft {
  padding: 16px;
  font-size: 14px;
}

/* Featured PC */
.tss-blog-hero {
  display: flex;
  background: var(--blog-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  text-decoration: none;
  color: inherit;
  margin-bottom: 40px;
  transition: box-shadow .25s ease;
}

.tss-blog-hero:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.tss-blog-hero-media {
  width: 60%;
  min-height: 300px;
  overflow: hidden;
  background: #eee;
}

.tss-blog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.tss-blog-hero:hover .tss-blog-hero-media img {
  transform: scale(1.05);
}

.tss-blog-hero-body {
  width: 40%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.tss-blog-hero-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.tss-blog-hero-excerpt {
  margin: 0;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.55;
  max-height: calc(1.55em * 2);
  overflow: hidden;
  white-space: pre-line;
  word-break: break-word;
}

.tss-blog-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.tss-blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--blog-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  border: none;
}

.tss-blog-btn.is-block {
  width: 100%;
}

.tss-blog-btn .material-symbols-outlined,.tss-blog-btn .tss-icon { font-size: 20px; }

.tss-blog-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid var(--blog-orange);
  background: transparent;
  color: var(--blog-orange);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.tss-blog-btn-outline:hover {
  background: var(--blog-orange);
  color: #fff;
}

.tss-blog-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Layout */
.tss-blog-layout,
.tss-blog-detail-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.tss-blog-main {
  flex: 1 1 0;
  min-width: 0;
}

.tss-blog-aside {
  width: 340px;
  flex-shrink: 0;
}

/* Cards grid — 2 cột như Stitch desktop */
.tss-blog-pc .tss-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.tss-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--blog-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--blog-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  min-width: 0;
}

.tss-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.tss-blog-card-media {
  display: block;
  height: 192px;
  overflow: hidden;
  background: #eee;
}

.tss-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.tss-blog-card:hover .tss-blog-card-media img {
  transform: scale(1.05);
}

.tss-blog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.tss-blog-card-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tss-blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.tss-blog-card-title a:hover {
  color: var(--blog-orange-deep);
}

.tss-blog-card-excerpt {
  margin: 0 0 16px;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.5;
  max-height: calc(1.5em * 2);
  overflow: hidden;
  white-space: pre-line;
  word-break: break-word;
  flex: 1 1 auto;
}

.tss-blog-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--blog-orange-deep);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease;
}

.tss-blog-card:hover .tss-blog-more {
  gap: 8px;
}

.tss-blog-more .material-symbols-outlined,.tss-blog-more .tss-icon { font-size: 18px; }

.tss-blog-pc .tss-blog-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tss-blog-pc .tss-blog-more-wrap {
  display: flex;
  justify-content: center;
}

.tss-blog-pc .tss-blog-hero {
  display: flex;
}

/* Aside */
.tss-blog-aside-card {
  background: var(--blog-surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--blog-shadow);
}

.tss-blog-aside-title {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 700;
}

.tss-blog-aside-title.is-border {
  border-left: 4px solid var(--blog-orange);
  padding-left: 12px;
}

.tss-blog-search {
  position: relative;
}

.tss-blog-search input {
  width: 100%;
  border: 1px solid #ddc1ae;
  border-radius: 10px;
  padding: 12px 42px 12px 14px;
  font-size: 14px;
  background: #f9f9f9;
  outline: none;
}

.tss-blog-search input:focus {
  border-color: var(--blog-orange);
}

.tss-blog-search .material-symbols-outlined,.tss-blog-search .tss-icon,
.tss-blog-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blog-muted);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.tss-blog-popular {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tss-blog-popular-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.tss-blog-popular-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(144, 77, 0, 0.22);
  line-height: 1;
  min-width: 2rem;
  transition: color .15s ease;
}

.tss-blog-popular-item:hover .tss-blog-popular-num,
.tss-blog-popular-item:hover .tss-blog-popular-title {
  color: var(--blog-orange);
}

.tss-blog-popular-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tss-blog-popular-title {
  padding: 2px 0 1px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  transition: color .15s ease;
}

.tss-blog-cta-card {
  background: var(--blog-orange) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.tss-blog-cta-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.tss-blog-cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.tss-blog-cta-tags span {
  background: #fff;
  color: var(--blog-text);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.tss-blog-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--blog-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.tss-blog-cta-btn.is-light:hover {
  opacity: 0.92;
}

.tss-blog-cta {
  margin-top: 28px;
  background: var(--blog-orange);
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--blog-shadow);
}

.tss-blog-cta h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 800;
}

.tss-blog-pill.is-m {
  background: #e8e8e8;
  color: #5f5e5e;
}

.tss-blog-pill.is-m:hover {
  background: var(--blog-orange);
  color: #fff;
}

/* Detail */
.tss-blog-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--blog-muted);
}

.tss-blog-crumb a {
  color: var(--blog-orange-deep);
  font-weight: 700;
  text-decoration: none;
}

.tss-blog-crumb .material-symbols-outlined,.tss-blog-crumb .tss-icon { font-size: 16px; }

.tss-blog-crumb span:last-child {
  color: var(--blog-orange);
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tss-blog-article {
  flex: 1 1 0;
  min-width: 0;
  background: var(--blog-surface);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--blog-shadow);
}

.tss-blog-article-head {
  margin-bottom: 24px;
}

.tss-blog-article-title {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tss-blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 4px;
  color: #564334;
  font-size: 13px;
}

.tss-blog-article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tss-blog-article-meta-item .material-symbols-outlined,.tss-blog-article-meta-item .tss-icon {
  color: var(--blog-orange);
  font-size: 18px;
}

.tss-blog-author-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--blog-orange);
}

.tss-blog-article-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
  background: #eee;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tss-blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tss-blog-prose {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  word-wrap: break-word;
}

.tss-blog-prose > *:first-child { margin-top: 0; }
.tss-blog-prose > *:last-child { margin-bottom: 0; }

.tss-blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1em 0;
}

.tss-blog-prose h1,
.tss-blog-prose h2,
.tss-blog-prose h3 {
  margin: 1.4em 0 0.6em;
  font-weight: 800;
  line-height: 1.3;
  color: var(--blog-text);
}

.tss-blog-prose h2 {
  color: var(--blog-orange-deep);
  border-left: 4px solid var(--blog-orange);
  padding-left: 12px;
}

.tss-blog-prose p { margin: 0 0 1em; }

.tss-blog-prose a {
  color: #0563c1;
  text-decoration: underline;
  font-weight: 600;
}

.tss-blog-prose ul,
.tss-blog-prose ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}

.tss-blog-prose blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  background: #f3f3f4;
  border-left: 4px solid var(--blog-orange);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #564334;
}

.tss-blog-article-foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e2dfde;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.tss-blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tss-blog-article-foot .tss-blog-back {
  margin-top: 0;
  padding-top: 4px;
}

.tss-blog-tags-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #564334;
  margin-right: 4px;
}

.tss-blog-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffdcc3;
  color: #6e3900;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.tss-blog-pill:hover {
  background: var(--blog-orange);
  color: #fff;
}

.tss-blog-related {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tss-blog-related-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.tss-blog-related-item.is-text-only {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f9f9f9;
}

.tss-blog-related-item.is-text-only:hover {
  background: #fff4e5;
}

.tss-blog-related-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
}

.tss-blog-related-body h4 {
  margin: 0;
  padding: 2px 0 1px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.tss-blog-related-item:hover .tss-blog-related-body h4 {
  color: var(--blog-orange);
}

.tss-blog-back {
  margin-top: 28px;
  text-align: center;
}

.tss-blog-related-m {
  margin-top: 32px;
}

/* Mobile list cards (also used on detail related) */
.tss-blog-list-m {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tss-blog-row-m {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--blog-surface);
  border-radius: 14px;
  border: 1px solid rgba(221, 193, 174, 0.35);
  box-shadow: var(--blog-shadow);
  text-decoration: none;
  color: inherit;
}

.tss-blog-row-m-media {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}

.tss-blog-row-m-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tss-blog-row-m-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
  gap: 6px;
}

.tss-blog-row-m-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured mobile */
.tss-blog-hero-m {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--blog-shadow);
  text-decoration: none;
  color: #fff;
}

.tss-blog-hero-m-media {
  aspect-ratio: 16 / 9;
  background: #333;
}

.tss-blog-hero-m-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tss-blog-hero-m-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.25), transparent);
}

.tss-blog-hero-m-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
}

.tss-blog-trending {
  margin-top: 32px;
}

/* ========== Nhóm săn sale (/nhom-san-sale) — Stitch ========== */
/* Mẫu xếp DỌC: Hero → 3 card → lợi ích. Override .tss-pc-only { display:flex } mặc định hàng ngang. */
.tss-groups-pc.tss-pc-only,
.tss-groups-m.tss-mobile-only {
  display: none;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  gap: 0;
}

@media (min-width: 992px) {
  .tss-groups-pc.tss-pc-only {
    display: flex !important;
  }
}

.tss-groups {
  --g-surface-low: #f2f4f6;
  --g-surface-high: #e6e8ea;
  --g-surface-highest: #e0e3e5;
  --g-card: #ffffff;
  --g-text: #191c1e;
  --g-muted: #544435;
  --g-primary: #8b5000;
  --g-orange: #ffa133;
  --g-orange-ink: #6b3d00;
  --g-badge-bg: #ffdcbe;
  --g-badge-ink: #2c1600;
  --g-border: #eceef0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--g-text);
}

.tss-groups-hero {
  position: relative;
  width: 100%;
  padding: 64px 24px 48px;
  text-align: center;
  overflow: visible;
  background: transparent;
}

.tss-groups-hero::before,
.tss-groups-hero::after {
  content: none;
  display: none;
}

.tss-groups-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  background: transparent;
}

.tss-groups-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--g-badge-bg);
  color: var(--g-badge-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tss-groups-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tss-groups-title span {
  color: var(--tss-primary, #ff5c33);
}

@media (min-width: 992px) {
  .tss-groups-pc .tss-groups-title {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
}

.tss-groups-lead {
  margin: 0 auto 32px;
  max-width: 32rem;
  font-size: 18px;
  line-height: 1.55;
  color: var(--g-muted);
}

.tss-groups-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--tss-primary, #ff5c33);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(255, 92, 51, 0.28);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.tss-groups-cta:hover {
  background: var(--tss-primary-dark, #c4381a);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 92, 51, 0.35);
}

.tss-groups-cta .material-symbols-outlined,.tss-groups-cta .tss-icon {
  font-size: 20px;
}

.tss-groups-list {
  width: 100%;
  padding: 64px 24px;
  background: transparent;
}

.tss-groups-list.is-m {
  background: transparent;
}

.tss-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.tss-groups-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  padding: 32px 28px;
  background: var(--g-card);
  border: 1px solid var(--g-border);
  border-radius: 16px;
  transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s ease;
}

.tss-groups-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tss-groups-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(0, 104, 255, 0.1);
}

.tss-groups-card-icon .material-symbols-outlined,
.tss-groups-card-icon .tss-icon {
  font-size: 36px;
  width: 1em;
  height: 1em;
  color: var(--g-color, #0068FF);
}

.tss-groups-card-title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.tss-groups-card-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--g-orange);
  color: var(--g-orange-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity .2s ease;
}

.tss-groups-card-btn:hover {
  opacity: 0.92;
  color: var(--g-orange-ink);
}

.tss-groups-benefits {
  width: 100%;
  padding: 64px 24px 80px;
}

.tss-groups-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.tss-groups-benefit {
  padding: 32px;
  border-radius: 24px;
  background: var(--g-surface-high);
}

.tss-groups-benefits-grid .tss-groups-benefit:nth-child(2),
.tss-groups-benefits.is-m .tss-groups-benefit:nth-child(2) {
  background: var(--g-surface-highest);
}

.tss-groups-benefit .material-symbols-outlined,
.tss-groups-benefit .tss-icon {
  display: block;
  font-size: 36px;
  width: 1em;
  height: 1em;
  color: var(--g-primary);
  margin-bottom: 16px;
}

.tss-groups-benefit h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
}

.tss-groups-benefit p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--g-muted);
}

.tss-groups-hero.is-m {
  padding: 40px 16px 32px;
}

.tss-groups-title.is-m {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

.tss-groups-lead.is-m {
  font-size: 16px;
  margin-bottom: 24px;
}

.tss-groups-list.is-m {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tss-groups-benefits.is-m {
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tss-groups-m .tss-groups-card:active {
  transform: scale(0.98);
}

@media (max-width: 991.98px) {
  .tss-groups-grid {
    grid-template-columns: 1fr;
  }

  .tss-groups-benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Công cụ săn mã (/cong-cu-san-ma) — Stitch ========== */
.tss-tools-pc.tss-pc-only,
.tss-tools-m.tss-mobile-only {
  display: none;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  gap: 0;
}

@media (min-width: 992px) {
  .tss-tools-pc.tss-pc-only {
    display: flex !important;
  }
}

.tss-tools {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  color: #191c1d;
}

.tss-tools-hero {
  width: 100%;
  padding: 56px 24px 40px;
  text-align: center;
  background: transparent;
}

.tss-tools-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.tss-tools-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffdbcc;
  border: 1px solid rgba(160, 65, 0, 0.1);
  color: #351000;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tss-tools-badge .material-symbols-outlined,.tss-tools-badge .tss-icon {
  font-size: 18px;
  color: #ff5c33;
}

.tss-tools-title {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #191c1d;
}

.tss-tools-title span {
  background: linear-gradient(90deg, #c4381a, #ff5c33, #c4381a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tss-tools-lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.65;
  color: #5a4136;
}

.tss-tools-list {
  width: 100%;
  padding: 32px 24px 56px;
  background: transparent;
}

.tss-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.tss-tools-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  width: 100%;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid rgba(226, 191, 176, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(29, 19, 12, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.tss-tools-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 92, 51, 0.12);
}

.tss-tools-live {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tss-tools-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: tss-tools-pulse 1.2s ease-in-out infinite;
}

@keyframes tss-tools-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.tss-tools-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.tss-tools-card-icon .material-symbols-outlined,
.tss-tools-card-icon .tss-icon {
  font-size: 40px;
  width: 1em;
  height: 1em;
  color: inherit;
}

.tss-tools-card-icon.is-blue {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.tss-tools-card-icon.is-red {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}

.tss-tools-card-icon.is-orange {
  background: #ffdbcc;
  color: #c4381a;
}

.tss-tools-card-title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #191c1d;
}

.tss-tools-card-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: #ff5c33;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 92, 51, 0.28);
  transition: background .2s ease, transform .15s ease;
}

.tss-tools-card-btn:hover {
  background: #c4381a;
  color: #fff;
}

.tss-tools-card-btn .material-symbols-outlined,.tss-tools-card-btn .tss-icon {
  font-size: 18px;
}

.tss-tools-card-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.tss-tools-features {
  width: 100%;
  padding: 24px 24px 48px;
  background: transparent;
}

.tss-tools-features-panel {
  background: #fff;
  border: 1px solid rgba(226, 191, 176, 0.25);
  border-radius: 14px;
  padding: 48px 40px;
  box-shadow: 0 8px 28px rgba(29, 19, 12, 0.04);
}

.tss-tools-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.tss-tools-feature {
  min-width: 0;
}

.tss-tools-features-grid .tss-tools-feature:nth-child(2) {
  border-left: 1px solid rgba(226, 191, 176, 0.35);
  border-right: 1px solid rgba(226, 191, 176, 0.35);
  padding: 0 24px;
}

.tss-tools-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tss-tools-feature-icon .material-symbols-outlined,
.tss-tools-feature-icon .tss-icon {
  font-size: 30px;
  width: 1em;
  height: 1em;
  color: inherit;
}

.tss-tools-feature-icon.is-orange {
  background: #ffdbcc;
  color: #c4381a;
}

.tss-tools-feature-icon.is-green {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.tss-tools-feature h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #191c1d;
}

.tss-tools-feature p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #5a4136;
}

.tss-tools-cta {
  width: 100%;
  padding: 64px 24px 72px;
  text-align: center;
  background: transparent;
}

.tss-tools-cta-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #191c1d;
}

.tss-tools-cta-lead {
  margin: 0 auto 28px;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.6;
  color: #5a4136;
}

.tss-tools-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  border-radius: 999px;
  background: #ff5c33;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 92, 51, 0.3);
  transition: background .2s ease, transform .15s ease;
}

.tss-tools-cta-btn:hover {
  background: #c4381a;
  color: #fff;
}

/* Mobile variants */
.tss-tools-hero.is-m {
  padding: 36px 16px 24px;
}

.tss-tools-title.is-m {
  font-size: 2rem;
}

.tss-tools-lead.is-m {
  font-size: 15px;
  max-width: 300px;
}

.tss-tools-list.is-m {
  padding: 12px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tss-tools-features.is-m {
  padding: 8px 16px 28px;
}

.tss-tools-features.is-m .tss-tools-features-panel {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tss-tools-features.is-m .tss-tools-feature {
  padding: 24px 0;
}

.tss-tools-features.is-m .tss-tools-feature + .tss-tools-feature {
  border-top: 1px solid rgba(226, 191, 176, 0.35);
}

.tss-tools-cta.is-m {
  margin: 0 16px 40px;
  padding: 40px 20px;
  border-radius: 16px;
  background: #2e1a05;
  width: auto;
}

.tss-tools-cta.is-m .tss-tools-cta-title {
  color: #fff;
  font-size: 1.65rem;
}

.tss-tools-cta.is-m .tss-tools-cta-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.tss-tools-cta.is-m .tss-tools-cta-btn {
  width: 100%;
  padding: 16px 20px;
}

.tss-tools-m .tss-tools-card:active {
  transform: scale(0.98);
}

@media (max-width: 991.98px) {
  .tss-tools-grid {
    grid-template-columns: 1fr;
  }

  .tss-tools-features-grid {
    grid-template-columns: 1fr;
  }

  .tss-tools-features-grid .tss-tools-feature:nth-child(2) {
    border: none;
    padding: 0;
  }
}

/* ========== Hướng dẫn mua sắm hoàn tiền — Stitch ========== */
.tss-howto-pc.tss-pc-only,
.tss-howto-m.tss-mobile-only {
  display: none;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100%;
  gap: 0;
}

@media (min-width: 992px) {
  .tss-howto-pc.tss-pc-only {
    display: flex !important;
  }
}

.tss-howto {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  color: #1c1b1b;
}

.tss-howto-hero {
  width: 100%;
  padding: 64px 24px 48px;
  text-align: center;
}

.tss-howto-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.tss-howto-title {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #a33e00;
}

.tss-howto-lead {
  margin: 0 auto 32px;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.65;
  color: #5a4136;
}

.tss-howto-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 14px;
  background: #ff5c33;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 102, 0, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.tss-howto-cta:hover {
  background: #e55a00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 102, 0, 0.35);
}

.tss-howto-cta .material-symbols-outlined,.tss-howto-cta .tss-icon {
  font-size: 20px;
}

.tss-howto-steps {
  width: 100%;
  padding: 48px 24px 56px;
  background: #f6f3f2;
  border-radius: 20px;
}

.tss-howto-steps-inner {
  width: 100%;
}

.tss-howto-sec-head {
  text-align: center;
  margin-bottom: 40px;
}

.tss-howto-sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #1c1b1b;
}

.tss-howto-sec-head p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.6;
  color: #5a4136;
}

.tss-howto-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tss-howto-steps-line {
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: #ffb380;
  z-index: 0;
}

.tss-howto-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.tss-howto-step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #ff5c33;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.25);
  transition: transform .2s ease;
}

.tss-howto-step:hover .tss-howto-step-icon {
  transform: scale(1.06);
}

.tss-howto-step-icon .material-symbols-outlined,.tss-howto-step-icon .tss-icon {
  font-size: 36px;
}

.tss-howto-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #a33e00;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tss-howto-step h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1c1b1b;
}

.tss-howto-step p {
  margin: 0;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #5a4136;
}

.tss-howto-em {
  font-weight: 800;
  color: #ff5c33;
}

.tss-howto-warn-wrap {
  width: 100%;
  padding: 40px 24px;
}

.tss-howto-warn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #ffdbcd;
  border-left: 8px solid #ff5c33;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(29, 19, 12, 0.05);
}

.tss-howto-warn-ico {
  flex-shrink: 0;
  font-size: 32px;
  color: #ff5c33;
}

.tss-howto-warn h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c2e00;
}

.tss-howto-warn p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #1c1b1b;
}

.tss-howto-danger {
  color: #ba1a1a;
  font-weight: 800;
}

.tss-howto-videos {
  width: 100%;
  padding: 40px 24px 48px;
  background: #fff;
  border-radius: 20px;
}

.tss-howto-videos-inner {
  width: 100%;
}

.tss-howto-underline {
  display: block;
  width: 96px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #ff5c33;
}

.tss-howto-videos-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
}

.tss-howto-videos-grid > .tss-howto-video {
  grid-column: span 2;
}

.tss-howto-videos-grid > .tss-howto-video:nth-child(4) {
  grid-column: 2 / span 2;
}

.tss-howto-videos-grid > .tss-howto-video:nth-child(5) {
  grid-column: 4 / span 2;
}

.tss-howto-video {
  min-width: 0;
}

.tss-howto-video-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #18181b;
  border: 1px solid rgba(227, 191, 177, 0.45);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(29, 19, 12, 0.08);
}

.tss-howto-video-thumb video,
.tss-howto-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #18181b;
}

.tss-howto-video-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tss-howto-lightbox[hidden] {
  display: none !important;
}

.tss-howto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tss-howto-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(12, 8, 6, 0.78);
  cursor: pointer;
}

.tss-howto-lightbox-box {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
}

.tss-howto-lightbox-box video {
  display: block;
  width: 100%;
  max-height: 82vh;
  background: #000;
  border-radius: 14px;
}

.tss-howto-lightbox-title {
  margin: 10px 4px 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.tss-howto-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1c1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.tss-howto-lightbox-close .tss-icon {
  font-size: 22px;
}

body.tss-howto-lb-open {
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .tss-howto-lightbox {
    padding: 12px;
    align-items: center;
  }
  .tss-howto-lightbox-box video {
    max-height: 70vh;
    border-radius: 12px;
  }
  .tss-howto-lightbox-close {
    top: -8px;
    right: 0;
  }
}

.tss-howto-video-thumb > .material-symbols-outlined,.tss-howto-video-thumb > .tss-icon {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.72);
  transition: color .2s ease, opacity .2s ease;
}

.tss-howto-video-thumb:hover > .material-symbols-outlined,.tss-howto-video-thumb:hover > .tss-icon {
  color: #fff;
}

.tss-howto-video-dur {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.tss-howto-video h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1b1b;
}

.tss-howto-video-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ff5c33;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.tss-howto-video-link:hover {
  text-decoration: underline;
  color: #a33e00;
}

.tss-howto-video-link .material-symbols-outlined,.tss-howto-video-link .tss-icon {
  font-size: 16px;
}

.tss-howto-notes {
  width: 100%;
  padding: 40px 24px 56px;
}

.tss-howto-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.tss-howto-note {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(227, 191, 177, 0.5);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(29, 19, 12, 0.04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}

a.tss-howto-note:hover,
a.tss-howto-note:focus {
  border-color: #ff5c33;
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.1);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none !important;
}

.tss-howto-note:hover {
  border-color: #ff5c33;
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.1);
  transform: translateY(-3px);
}

.tss-howto-note-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tss-howto-note-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.tss-howto-note-icon .material-symbols-outlined,.tss-howto-note-icon .tss-icon {
  font-size: 28px;
}

.tss-howto-note-icon.is-logo {
  padding: 0;
  background: transparent;
  border-radius: 50%;
}

.tss-howto-note-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tss-howto-note-icon.is-shopee:not(.is-logo) {
  background: #fff7ed;
  color: #ff5c33;
}

.tss-howto-note-icon.is-lazada:not(.is-logo) {
  background: #eff6ff;
  color: #2563eb;
}

.tss-howto-note-icon.is-tiktok:not(.is-logo) {
  background: #eae7e7;
  color: #1c1b1b;
}

.tss-howto-note-icon.is-shopee.is-logo {
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.28);
}

.tss-howto-note-icon.is-shopeefood.is-logo {
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.28);
}

.tss-howto-note-icon.is-lazada.is-logo {
  box-shadow: 0 4px 14px rgba(180, 40, 160, 0.28);
}

.tss-howto-note-icon.is-tiktok.is-logo {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.tss-howto-note-icon.is-round {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.tss-howto-note-ext {
  font-size: 22px;
  color: #8e7164;
}

.tss-howto-note:hover .tss-howto-note-ext {
  color: #ff5c33;
}

.tss-howto-note h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1c1b1b;
}

.tss-howto-note p {
  margin: 0 0 20px;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #5a4136;
}

.tss-howto-note-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: #ff5c33;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease;
}

.tss-howto-note-link:hover {
  gap: 8px;
  color: #a33e00;
}

.tss-howto-note-link .material-symbols-outlined,.tss-howto-note-link .tss-icon {
  font-size: 18px;
}

.tss-howto-note-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* ----- Mobile variants ----- */
.tss-howto-hero.is-m {
  padding: 28px 4px 20px;
  text-align: center;
}

.tss-howto-title.is-m {
  font-size: 1.55rem;
  color: #1c1b1b;
  line-height: 1.25;
}

.tss-howto-lead.is-m {
  margin-bottom: 24px;
  font-size: 15px;
  color: #5c5f60;
}

.tss-howto-cta.is-m {
  width: 100%;
  border-radius: 12px;
  padding: 14px 20px;
}

.tss-howto-steps.is-m {
  margin: 0;
  padding: 28px 4px 8px;
  background: transparent;
  border-radius: 0;
}

.tss-howto-m-sec-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1c1b1b;
}

.tss-howto-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}

.tss-howto-tl-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.tss-howto-tl-item:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15px;
  width: 2px;
  bottom: 0;
  background: #e3bfb1;
}

.tss-howto-tl-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff5c33;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.tss-howto-tl-body h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff5c33;
}

.tss-howto-tl-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5a4136;
}

.tss-howto-warn-wrap.is-m {
  padding: 8px 0 20px;
}

.tss-howto-warn.is-m {
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-left-width: 4px;
  border-radius: 12px;
  background: #fff7ed;
}

.tss-howto-warn-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tss-howto-warn-head .material-symbols-outlined,.tss-howto-warn-head .tss-icon {
  font-size: 22px;
  color: #ff5c33;
}

.tss-howto-warn.is-m h2 {
  margin: 0;
  font-size: 1rem;
}

.tss-howto-warn.is-m p {
  font-size: 14px;
}

.tss-howto-videos.is-m {
  padding: 24px 0 28px;
  background: #f6f3f2;
  border-radius: 16px;
  margin: 0 -4px;
  padding-left: 16px;
  padding-right: 16px;
}

.tss-howto-videos-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tss-howto-videos-m {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tss-howto-videos-m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tss-howto-video.is-m.is-feature h3 {
  margin-top: 10px;
  font-size: 1.05rem;
}

.tss-howto-videos-m-grid .tss-howto-video h3 {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.tss-howto-videos-m-grid .tss-howto-video-label {
  font-size: 12px;
  margin-bottom: 8px;
}

.tss-howto-videos-m-grid .tss-howto-play {
  width: 44px;
  height: 44px;
}

.tss-howto-videos-m-grid .tss-howto-play .tss-icon {
  font-size: 26px;
}

.tss-howto-video-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #ff5c33;
  font-size: 13px;
  font-weight: 700;
}

.tss-howto-video-label .material-symbols-outlined,.tss-howto-video-label .tss-icon {
  font-size: 20px;
}

.tss-howto-video-thumb.is-m {
  margin-bottom: 0;
  background: #e5e2e1;
}

.tss-howto-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff5c33;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

.tss-howto-play .material-symbols-outlined,.tss-howto-play .tss-icon {
  font-size: 32px;
}

.tss-howto-notes.is-m {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0 40px;
}

.tss-howto-note.is-m {
  padding: 16px;
  border-radius: 14px;
  background: #f0eded;
  box-shadow: none;
}

.tss-howto-note.is-m:hover {
  transform: none;
}

.tss-howto-note-m-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.tss-howto-note-m-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.tss-howto-note.is-m p {
  margin-bottom: 14px;
}

@media (max-width: 991.98px) {
  .tss-howto-steps-grid {
    grid-template-columns: 1fr;
  }

  .tss-howto-steps-line {
    display: none;
  }

  .tss-howto-videos-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tss-howto-notes-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Danh mục Shopee (/danh-muc/shopee-*) — Stitch ========== */
.tss-cat {
  width: 100%;
  color: #1b1c1c;
}

.tss-cat-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 0 48px;
}

.tss-cat-search {
  margin: 0 0 28px;
}

.tss-cat-hero {
  text-align: center;
  margin-bottom: 40px;
}

.tss-cat-title {
  margin: 0 0 36px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.tss-cat-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 640px;
  margin: 0 auto;
  gap: 12px;
}

.tss-cat-steps-line {
  position: absolute;
  top: 24px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: #e3beb6;
  z-index: 0;
}

.tss-cat-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.tss-cat-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #ee4d2d;
  color: #fff;
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.28);
}

.tss-cat-step-icon .material-symbols-outlined,
.tss-cat-step-icon .tss-icon {
  font-size: 24px;
  width: 1em;
  height: 1em;
  color: inherit;
}

.tss-cat-step-title {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 700;
  color: #1b1c1c;
}

.tss-cat-step-sub {
  margin: 0;
  font-size: 11px;
  color: #64748b;
}

.tss-cat-faq {
  margin-bottom: 40px;
}

.tss-cat-faq-title {
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 4px solid #ee4d2d;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #ee4d2d;
  line-height: 1.3;
}

.tss-cat-acc {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tss-cat-acc-item {
  background: #fff;
  border: 1px solid rgba(227, 190, 182, 0.7);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(29, 19, 12, 0.04);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.tss-cat-acc-item:hover {
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.08);
}

.tss-cat-acc-item.is-open {
  border-color: rgba(238, 77, 45, 0.35);
}

.tss-cat-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #1b1c1c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.tss-cat-acc-btn:hover,
.tss-cat-acc-btn:focus,
.tss-cat-acc-btn:focus-visible,
.tss-cat-acc-btn:active {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: #f6f3f2;
}

.tss-cat-acc-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 22px !important;
  transition: transform .25s ease;
}

.tss-cat-acc-item.is-open .tss-cat-acc-arrow {
  transform: rotate(180deg);
  color: #ee4d2d;
}

.tss-cat-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.tss-cat-acc-item.is-open .tss-cat-acc-body {
  max-height: 900px;
}

.tss-cat-acc-content {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #5b403b;
}

.tss-cat-acc-content ul {
  margin: 0;
  padding-left: 1.15rem;
}

.tss-cat-acc-content li + li {
  margin-top: 10px;
}

.tss-cat-em {
  color: #ee4d2d;
  font-weight: 800;
}

.tss-cat-acc-content a {
  color: inherit;
  font-weight: 700;
  word-break: break-all;
}

/* Lazada accent */
.tss-cat-lazada .tss-cat-step-icon,
.tss-cat-lazada .tss-cat-support-btn {
  background: #1a71ff;
  box-shadow: 0 8px 20px rgba(26, 113, 255, 0.28);
}
.tss-cat-lazada .tss-cat-support-btn:hover {
  background: #0f4fcc;
}
.tss-cat-lazada .tss-cat-faq-title,
.tss-cat-lazada .tss-cat-em,
.tss-cat-lazada .tss-cat-warn > .material-symbols-outlined,.tss-cat-lazada .tss-cat-warn > .tss-icon,
.tss-cat-lazada .tss-cat-warn h3,
.tss-cat-lazada .tss-cat-support-icon,
.tss-cat-lazada .tss-cat-acc-item.is-open .tss-cat-acc-arrow {
  color: #1a71ff;
}
.tss-cat-lazada .tss-cat-faq-title {
  border-left-color: #1a71ff;
}
.tss-cat-lazada .tss-cat-warn {
  background: #eff6ff;
  border-left-color: #1a71ff;
}
.tss-cat-lazada .tss-cat-support {
  background: #eff6ff;
  border-color: rgba(26, 113, 255, 0.15);
}
.tss-cat-lazada .tss-cat-acc-item.is-open {
  border-color: rgba(26, 113, 255, 0.35);
}
.tss-cat-lazada .tss-cat-acc-content a {
  color: #1a71ff;
}

/* TikTok accent */
.tss-cat-tiktok .tss-cat-step-icon,
.tss-cat-tiktok .tss-cat-support-btn {
  background: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}
.tss-cat-tiktok .tss-cat-support-btn:hover {
  background: #000;
}
.tss-cat-tiktok .tss-cat-faq-title,
.tss-cat-tiktok .tss-cat-em,
.tss-cat-tiktok .tss-cat-warn > .material-symbols-outlined,.tss-cat-tiktok .tss-cat-warn > .tss-icon,
.tss-cat-tiktok .tss-cat-warn h3,
.tss-cat-tiktok .tss-cat-support-icon,
.tss-cat-tiktok .tss-cat-acc-item.is-open .tss-cat-acc-arrow {
  color: #111;
}
.tss-cat-tiktok .tss-cat-faq-title {
  border-left-color: #111;
}
.tss-cat-tiktok .tss-cat-warn {
  background: #f3f4f6;
  border-left-color: #111;
}
.tss-cat-tiktok .tss-cat-support {
  background: #f3f4f6;
  border-color: rgba(0, 0, 0, 0.1);
}
.tss-cat-tiktok .tss-cat-acc-item.is-open {
  border-color: rgba(0, 0, 0, 0.28);
}

.tss-cat-notes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.tss-cat-warn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  background: #fff7ed;
  border-left: 4px solid #ee4d2d;
  border-radius: 0 14px 14px 0;
}

.tss-cat-warn > .material-symbols-outlined,.tss-cat-warn > .tss-icon {
  flex-shrink: 0;
  color: #ee4d2d;
  font-size: 22px;
  margin-top: 2px;
}

.tss-cat-warn h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ee4d2d;
}

.tss-cat-warn p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #5b403b;
}

.tss-cat-disclaimer {
  padding: 14px 16px;
  background: #f0eded;
  border-radius: 12px;
  text-align: center;
}

.tss-cat-disclaimer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-style: italic;
  color: #64748b;
}

.tss-cat-support {
  padding: 40px 28px;
  text-align: center;
  background: #fff7ed;
  border: 1px solid rgba(238, 77, 45, 0.12);
  border-radius: 16px;
}

.tss-cat-support-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(227, 190, 182, 0.5);
  box-shadow: 0 4px 14px rgba(29, 19, 12, 0.06);
  color: #ee4d2d;
}

.tss-cat-support-icon .material-symbols-outlined,.tss-cat-support-icon .tss-icon {
  font-size: 32px;
}

.tss-cat-support h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.tss-cat-support p {
  margin: 0 auto 24px;
  max-width: 28rem;
  font-size: 15px;
  line-height: 1.6;
  color: #5b403b;
}

.tss-cat-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #ee4d2d;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(238, 77, 45, 0.28);
  transition: background .2s ease, transform .15s ease;
}

.tss-cat-support-btn:hover {
  background: #d63c1e;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .tss-cat-inner {
    padding: 0 0 32px;
  }

  .tss-cat-search {
    margin-bottom: 20px;
  }

  .tss-cat-title {
    margin-bottom: 28px;
    font-size: 1.5rem;
  }

  .tss-cat-steps {
    max-width: 100%;
  }

  .tss-cat-step-icon {
    width: 44px;
    height: 44px;
  }

  .tss-cat-step-icon .material-symbols-outlined,  .tss-cat-step-icon .tss-icon {
    font-size: 22px;
  }

  .tss-cat-faq-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  .tss-cat-acc-btn {
    padding: 14px 14px;
    font-size: 13.5px;
  }

  .tss-cat-acc-content {
    padding: 0 14px 16px;
    font-size: 13.5px;
  }

  .tss-cat-warn {
    padding: 16px;
  }

  .tss-cat-support {
    padding: 28px 18px;
  }

  .tss-cat-support-btn {
    width: 100%;
  }
}

/* —— Floating support chat (mọi trang client) —— */
.tss-support-chat {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.tss-support-chat-btn,
.tss-support-chat-panel {
  pointer-events: auto;
}

.tss-support-chat-btn {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: var(--tss-primary, #ff5c33);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 92, 51, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tss-support-chat-btn:hover {
  background: var(--tss-primary-dark, #c4381a);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 92, 51, 0.42);
}

.tss-support-chat-btn:focus,
.tss-support-chat-btn:focus-visible,
.tss-support-chat-btn:active,
.tss-support-chat-link:focus,
.tss-support-chat-link:focus-visible,
.tss-support-chat-link:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent;
}

.tss-support-chat-btn,
.tss-support-chat-link {
  -webkit-tap-highlight-color: transparent;
}

.tss-support-chat-btn .tss-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.tss-support-chat-btn-icon--close {
  display: none;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.tss-support-chat.is-open .tss-support-chat-btn-icon--open {
  display: none;
}

.tss-support-chat.is-open .tss-support-chat-btn-icon--close {
  display: block;
}

.tss-support-chat-panel {
  width: min(240px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.tss-support-chat-panel[hidden] {
  display: none !important;
}

.tss-support-chat-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}

.tss-support-chat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  background: #f5f6f8;
  transition: background 0.15s ease;
}

.tss-support-chat-link:last-child {
  margin-bottom: 0;
}

.tss-support-chat-link:hover {
  background: #e8eaee;
  color: #111827;
  text-decoration: none;
}

.tss-support-chat-link .tss-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #1877f2;
}

.tss-support-chat-link--zalo .tss-icon {
  color: #0068ff;
}

@media (max-width: 991.98px) {
  .tss-support-chat {
    right: 12px;
    /* Nhường chỗ bottom nav mobile */
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .tss-support-chat-btn {
    width: 52px;
    height: 52px;
  }
}


