/* 
   TECHSUPPLY VN - Main Stylesheet
   Designed with Be Vietnam Pro font & Custom Bootstrap 5.3 Extension
*/

:root {
  --ts-primary: #0d3b2e;
  --ts-primary-dark: #071f18;
  --ts-primary-light: #134e3e;
  --ts-green-accent: #107c57;
  --ts-green-mint: #e8f5e9;
  --ts-accent: #d97706;
  --ts-accent-dark: #b45309;
  --ts-accent-light: #fef3c7;
  --ts-accent-hover: #c2410c;
  --ts-bg-light: #f6f5f1;
  --ts-bg-card: #ffffff;
  --ts-border: #e5e7eb;
  --ts-border-light: #f1f5f9;
  --ts-text-main: #1f2937;
  --ts-text-muted: #6b7280;
  --ts-text-heading: #0f172a;
  --ts-radius-sm: 6px;
  --ts-radius-md: 10px;
  --ts-radius-lg: 14px;
  --ts-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ts-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --ts-shadow-hover: 0 12px 24px -4px rgba(13, 59, 46, 0.12);
  --ts-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --ts-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--ts-font);
  color: var(--ts-text-main);
  background-color: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* WIDE CONTAINER FOR DESKTOP */
.container-ts {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Headings Vietnamese Rule: Sentence case only, no Title Case */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ts-font);
  color: var(--ts-text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--ts-transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* 1. TOP BAR */
.ts-topbar {
  background-color: var(--ts-primary-dark);
  color: #d1fae5;
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ts-topbar a {
  color: #e2e8f0;
}
.ts-topbar a:hover {
  color: #34d399;
}
.ts-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ts-topbar-item i {
  color: #34d399;
  font-size: 0.85rem;
}

/* 2. MAIN HEADER */
.ts-header {
  background-color: #ffffff;
  padding: 14px 0;
  border-bottom: 1px solid var(--ts-border);
  position: relative;
  z-index: 1045;
}
.ts-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ts-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.ts-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Search Box */
.ts-search-wrap {
  flex: 1;
  max-width: 520px;
  position: relative;
  z-index: 1046;
}
.ts-search-input {
  width: 100%;
  height: 42px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 76px 0 14px;
  font-size: 0.86rem;
  background-color: #ffffff;
  transition: var(--ts-transition);
  color: #0f172a;
}
.ts-search-input:focus {
  border-color: #0d6938;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(13, 105, 56, 0.15);
  outline: none;
}
.ts-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  background-color: #0d6938;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ts-transition);
  cursor: pointer;
}
.ts-search-btn:hover {
  background-color: #094f29;
}

/* Header Right Actions */
.ts-header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.ts-hotline-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.ts-hotline-icon {
  font-size: 1.6rem;
  color: var(--ts-primary);
  line-height: 1;
}
.ts-hotline-text {
  display: flex;
  flex-direction: column;
}
.ts-hotline-label {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.1;
}
.ts-hotline-number {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ts-primary);
  line-height: 1.2;
}
.ts-hotline-time {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.1;
}

/* Common Action Unit (Account, Quote, Cart) */
.ts-header-action-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 4px 6px;
  border-radius: var(--ts-radius-sm);
  transition: var(--ts-transition);
}
.ts-header-action-unit:hover {
  background-color: #f3f4f6;
}
.ts-action-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #1f2937;
  line-height: 1;
}
.ts-action-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--ts-accent);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.ts-action-text-group {
  display: flex;
  flex-direction: column;
}
.ts-action-sublabel {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.1;
}
.ts-action-mainlabel {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  white-space: nowrap;
}

/* 3. NAVBAR */
.ts-nav {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ts-border);
  box-shadow: var(--ts-shadow-sm);
  position: relative;
  z-index: 1030;
}
.ts-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  position: relative;
}
.ts-nav-cat-btn {
  background-color: var(--ts-primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--ts-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--ts-transition);
}
.ts-nav-cat-btn:hover {
  background-color: var(--ts-primary-light);
}
.ts-nav-cat-btn.dropdown-toggle::after {
  display: none;
}

.ts-nav-menu {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.ts-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  padding: 12px 2px;
  display: inline-block;
  white-space: nowrap;
  transition: var(--ts-transition);
}
.ts-nav-link:hover {
  color: var(--ts-green-accent);
}
.ts-nav-divider {
  color: #cbd5e1;
  user-select: none;
  font-size: 0.85rem;
  margin: 0 2px;
}

.ts-nav-b2b {
  color: var(--ts-accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--ts-transition);
}
.ts-nav-b2b:hover {
  color: var(--ts-accent-hover);
}

/* 4. HERO SECTION */
.ts-hero-section {
  background-color: var(--ts-bg-light);
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--ts-border);
}
.ts-hero-subtitle {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ts-green-accent);
  background-color: rgba(16, 124, 87, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ts-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: var(--ts-primary-dark);
  margin-bottom: 12px;
}
.ts-hero-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.ts-hero-desc {
  font-size: 0.9rem;
  color: var(--ts-text-muted);
  margin-bottom: 24px;
}
.ts-btn-primary {
  background-color: var(--ts-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 24px;
  border-radius: 8px;
  border: 1px solid var(--ts-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ts-transition);
}
.ts-btn-primary:hover {
  background-color: var(--ts-primary-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 59, 46, 0.25);
}
.ts-btn-quote {
  background-color: var(--ts-accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid var(--ts-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ts-transition);
}
.ts-btn-quote:hover {
  background-color: var(--ts-accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.ts-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
}
.ts-hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #374151;
}
.ts-hero-feature-item i {
  color: var(--ts-green-accent);
}

.ts-hero-image-wrap {
  position: relative;
  border-radius: var(--ts-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 36px -8px rgba(13, 59, 46, 0.15);
  background: #ffffff;
}
.ts-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-hero-calligraphy {
  position: absolute;
  top: 22px;
  left: 24px;
  color: #ffffff;
  font-family: 'Be Vietnam Pro', cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}
.ts-hero-card-list {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--ts-radius-md);
  padding: 12px 16px;
  box-shadow: var(--ts-shadow-md);
  border: 1px solid rgba(229, 231, 235, 0.8);
  font-size: 0.8rem;
}
.ts-hero-card-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-hero-card-list li {
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-hero-card-list li:last-child {
  margin-bottom: 0;
}
.ts-hero-card-list li i {
  color: var(--ts-green-accent);
}

/* 5. KEY BENEFITS BAR */
.ts-benefits-bar {
  background-color: #ffffff;
  padding: 24px 0;
  border-bottom: 1px solid var(--ts-border);
}
.ts-benefit-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--ts-radius-md);
  transition: var(--ts-transition);
  background-color: #fafaf9;
  border: 1px solid var(--ts-border-light);
  height: 100%;
}
.ts-benefit-card:hover {
  background-color: #ffffff;
  box-shadow: var(--ts-shadow-md);
  transform: translateY(-2px);
  border-color: #d1d5db;
}
.ts-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(16, 124, 87, 0.1);
  color: var(--ts-green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.ts-benefit-title {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ts-primary-dark);
}
.ts-benefit-sub {
  font-size: 0.78rem;
  color: var(--ts-text-muted);
  margin-bottom: 0;
}

/* SECTION HEADERS */
.ts-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}
.ts-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 0;
}
.ts-section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ts-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ts-section-link:hover {
  color: var(--ts-green-accent);
  transform: translateX(3px);
}

/* CATEGORY CARDS */
.ts-cat-card {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  transition: var(--ts-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ts-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-hover);
  border-color: #cbd5e1;
}
.ts-cat-img-wrap {
  background-color: #f8fafc;
  padding: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ts-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ts-radius-sm);
  transition: var(--ts-transition);
}
.ts-cat-card:hover .ts-cat-img-wrap img {
  transform: scale(1.04);
}
.ts-cat-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ts-cat-text {
  flex: 1;
  min-width: 0;
}
.ts-cat-title {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--ts-primary-dark);
}
.ts-cat-sub {
  font-size: 0.76rem;
  color: var(--ts-text-muted);
  margin-bottom: 0;
  line-height: 1.35;
}
.ts-cat-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: var(--ts-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: var(--ts-transition);
}
.ts-cat-card:hover .ts-cat-arrow {
  background-color: var(--ts-primary);
  color: #ffffff;
}

/* SOLUTION CARDS */
.ts-sol-card {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  transition: var(--ts-transition);
  display: flex;
  height: 100%;
}
.ts-sol-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ts-shadow-hover);
  border-color: #cbd5e1;
}
.ts-sol-img {
  width: 38%;
  min-width: 110px;
  background-color: #f1f5f9;
  overflow: hidden;
}
.ts-sol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ts-transition);
}
.ts-sol-card:hover .ts-sol-img img {
  transform: scale(1.06);
}
.ts-sol-body {
  padding: 14px 16px;
  width: 62%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-sol-title {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ts-primary-dark);
}
.ts-sol-desc {
  font-size: 0.78rem;
  color: var(--ts-text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.ts-sol-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ts-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ts-sol-link:hover {
  color: var(--ts-green-accent);
}

/* PRODUCT TABS */
.ts-product-nav-tabs {
  border-bottom: none;
  gap: 8px;
}
.ts-product-nav-tabs .nav-link {
  border: 1px solid var(--ts-border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #4b5563;
  background-color: #f9fafb;
  transition: var(--ts-transition);
}
.ts-product-nav-tabs .nav-link:hover {
  border-color: #d1d5db;
  color: var(--ts-primary);
}
.ts-product-nav-tabs .nav-link.active {
  background-color: var(--ts-primary);
  color: #ffffff;
  border-color: var(--ts-primary);
}

/* PRODUCT CARD */
.ts-product-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--ts-transition);
}
.ts-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-hover);
  border-color: #cbd5e1;
}
.ts-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.ts-product-badge.badge-hot {
  background-color: var(--ts-accent);
}
.ts-product-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  cursor: pointer;
  z-index: 2;
  transition: var(--ts-transition);
}
.ts-product-wishlist-btn:hover {
  color: #ef4444;
  background: #ffffff;
}
.ts-product-img-wrap {
  aspect-ratio: 1 / 1;
  background-color: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ts-product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--ts-transition);
}
.ts-product-card:hover .ts-product-img-wrap img {
  transform: scale(1.05);
}
.ts-product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  border-top: 1px solid #f3f4f6;
}
.ts-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.ts-product-sku {
  font-size: 0.72rem;
  color: #9ca3af;
  font-family: monospace;
  margin-bottom: 4px;
}
.ts-product-spec {
  font-size: 0.75rem;
  color: var(--ts-text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
}
.ts-product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ts-accent);
  margin-bottom: 12px;
}
.ts-product-actions {
  display: flex;
  gap: 6px;
}
.ts-btn-add-cart {
  flex: 1;
  background-color: #f3f4f6;
  color: var(--ts-primary-dark);
  border: 1px solid #e5e7eb;
  padding: 6px 4px;
  border-radius: var(--ts-radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  transition: var(--ts-transition);
}
.ts-btn-add-cart i {
  font-size: 0.75rem;
}
.ts-btn-add-cart:hover {
  background-color: var(--ts-primary);
  border-color: var(--ts-primary);
  color: #ffffff;
}
.ts-btn-product-quote {
  flex: 1;
  background-color: var(--ts-accent);
  color: #ffffff;
  border: 1px solid var(--ts-accent);
  padding: 6px 4px;
  border-radius: var(--ts-radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  transition: var(--ts-transition);
}
.ts-btn-product-quote i {
  font-size: 0.75rem;
}
.ts-btn-product-quote:hover {
  background-color: var(--ts-accent-hover);
  border-color: var(--ts-accent-hover);
  color: #ffffff;
}

/* B2B PROMO BANNER */
.ts-b2b-section {
  background: linear-gradient(135deg, #0d3b2e 0%, #082920 100%);
  color: #ffffff;
  border-radius: var(--ts-radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(13, 59, 46, 0.4);
}
.ts-b2b-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ts-b2b-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.ts-b2b-desc {
  font-size: 0.92rem;
  color: #d1fae5;
  margin-bottom: 22px;
  line-height: 1.5;
}
.ts-b2b-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.ts-b2b-feature-box {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ts-text-main);
  border-radius: var(--ts-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ts-b2b-feature-icon {
  font-size: 1.35rem;
  color: var(--ts-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.ts-b2b-feature-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  margin-bottom: 2px;
}
.ts-b2b-feature-sub {
  font-size: 0.75rem;
  color: var(--ts-text-muted);
  margin-bottom: 0;
}
.ts-b2b-img-wrap {
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  height: 100%;
}
.ts-b2b-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TECHNICAL BLOG / KNOWLEDGE */
.ts-blog-card {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  transition: var(--ts-transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ts-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ts-shadow-hover);
  border-color: #cbd5e1;
}
.ts-blog-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f1f5f9;
}
.ts-blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ts-transition);
}
.ts-blog-card:hover .ts-blog-img-wrap img {
  transform: scale(1.05);
}
.ts-blog-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.ts-blog-card .ts-blog-title,
.ts-blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ts-primary-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.ts-blog-card .ts-blog-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ts-transition);
}
.ts-blog-card:hover .ts-blog-title a {
  color: var(--ts-primary);
}
.ts-blog-date {
  font-size: 0.76rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* BRANDS ROW */
.ts-brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (min-width: 992px) {
  .ts-brands-grid {
    grid-template-columns: repeat(10, 1fr);
  }
}
.ts-brand-item {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  transition: var(--ts-transition);
}
.ts-brand-item:hover {
  border-color: #94a3b8;
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-brand-item img {
  max-height: 28px;
  max-width: 85%;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: var(--ts-transition);
}
.ts-brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* FOOTER WITH INTEGRATED TOP CTA */
.ts-footer {
  background-color: #071914;
  color: #94a3b8;
  padding: 0;
}
.ts-footer-cta,
.ts-bottom-cta {
  background: linear-gradient(90deg, #092c22 0%, #0d3b2e 100%);
  color: #ffffff;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ts-bottom-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.ts-bottom-cta-sub {
  font-size: 0.88rem;
  color: #a7f3d0;
  margin-bottom: 0;
}
.ts-footer-main {
  padding: 50px 0 24px;
  font-size: 0.84rem;
}
.ts-footer-title {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.ts-footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--ts-green-accent);
}
.ts-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-footer-links li {
  margin-bottom: 8px;
}
.ts-footer-links a {
  color: #94a3b8;
  transition: var(--ts-transition);
}
.ts-footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}
.ts-footer-contact li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ts-footer-contact i {
  color: var(--ts-green-accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.ts-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: var(--ts-transition);
}
.ts-social-btn:hover {
  background-color: var(--ts-green-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.ts-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.78rem;
  color: #64748b;
}

/* CUSTOM POPUP / MODAL (No JS alert rule!) */
.ts-modal-content {
  border-radius: var(--ts-radius-lg);
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.ts-modal-header {
  background: var(--ts-primary);
  color: #ffffff;
  padding: 16px 20px;
  border-bottom: none;
}
.ts-modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.ts-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-modal-body {
  padding: 24px;
}

/* TOAST NOTIFICATION CONTAINER */
.ts-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ts-toast {
  background: #ffffff;
  border-radius: var(--ts-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--ts-green-accent);
  padding: 14px 18px;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: var(--ts-transition);
}
.ts-toast.toast-warning {
  border-left-color: var(--ts-accent);
}
.ts-toast.toast-error {
  border-left-color: #ef4444;
}
.ts-toast-icon {
  font-size: 1.4rem;
  color: var(--ts-green-accent);
  flex-shrink: 0;
}
.ts-toast.toast-warning .ts-toast-icon {
  color: var(--ts-accent);
}
.ts-toast.toast-error .ts-toast-icon {
  color: #ef4444;
}
.ts-toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ts-primary-dark);
}
.ts-toast-msg {
  font-size: 0.78rem;
  color: var(--ts-text-muted);
  margin-bottom: 0;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .ts-search-wrap {
    max-width: 360px;
  }
  .ts-header-actions {
    gap: 16px;
  }
}

@media (max-width: 991.98px) {
  .ts-header-flex {
    flex-wrap: wrap;
  }
  .ts-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 10px;
  }
  .ts-hero-title {
    font-size: 1.85rem;
  }
  .ts-b2b-features-grid {
    grid-template-columns: 1fr;
  }
  .ts-sol-card {
    flex-direction: column;
  }
  .ts-sol-img {
    width: 100%;
    height: 140px;
  }
  .ts-sol-body {
    width: 100%;
  }
}

/* ========================================================
   CATEGORY PAGE SPECIFIC STYLES
   ======================================================== */

/* Breadcrumb */
.ts-breadcrumb {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--ts-text-muted);
}
.ts-breadcrumb a {
  color: #64748b;
}
.ts-breadcrumb a:hover {
  color: var(--ts-green-accent);
}
.ts-breadcrumb-item + .ts-breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: #cbd5e1;
}

/* Category Hero Banner */
.ts-cat-hero {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ts-border);
  padding: 18px 0 28px;
}
.ts-cat-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 8px;
}
.ts-cat-hero-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 720px;
}
.ts-cat-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.ts-cat-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
  padding: 6px 12px;
  border-radius: var(--ts-radius-md);
  font-size: 0.82rem;
}
.ts-cat-hero-badge-icon {
  font-size: 1.1rem;
  color: var(--ts-green-accent);
  display: flex;
  align-items: center;
}
.ts-cat-hero-badge-title {
  font-weight: 700;
  color: var(--ts-primary-dark);
  line-height: 1.2;
}
.ts-cat-hero-badge-sub {
  font-size: 0.72rem;
  color: #78716c;
  line-height: 1.2;
}

.ts-cat-hero-img-wrap {
  position: relative;
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 220px;
}
.ts-cat-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-cat-hero-card-list {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--ts-radius-sm);
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 0.76rem;
  border: 1px solid rgba(229, 231, 235, 0.8);
}
.ts-cat-hero-card-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-cat-hero-card-list li {
  margin-bottom: 5px;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-cat-hero-card-list li:last-child {
  margin-bottom: 0;
}
.ts-cat-hero-card-list li i {
  color: var(--ts-green-accent);
}

/* Category Filter Sidebar */
.ts-filter-sidebar {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 18px 16px;
}
.ts-filter-header-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ts-filter-group {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.ts-filter-group-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.ts-filter-group-title i {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}
.ts-filter-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
}
.ts-filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #4b5563;
  cursor: pointer;
  margin-bottom: 0;
  user-select: none;
}
.ts-filter-label:hover {
  color: var(--ts-primary);
}
.ts-filter-label input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--ts-primary);
}
.ts-filter-count {
  color: #9ca3af;
  font-size: 0.74rem;
}
.ts-filter-price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-filter-price-input {
  width: 100%;
  font-size: 0.78rem;
  padding: 5px 8px;
  border: 1px solid #d1d5db;
  border-radius: var(--ts-radius-sm);
}
.ts-filter-price-btn {
  background-color: var(--ts-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--ts-radius-sm);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.ts-filter-price-btn:hover {
  background-color: var(--ts-primary-light);
}

/* Category Toolbar */
.ts-cat-toolbar {
  background-color: #fafaf9;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 10px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.ts-cat-toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.ts-cat-results-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
}
.ts-active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 3px 10px;
  font-size: 0.76rem;
  color: #374151;
  font-weight: 500;
}
.ts-active-filter-tag i {
  cursor: pointer;
  color: #9ca3af;
  font-size: 0.7rem;
}
.ts-active-filter-tag i:hover {
  color: #ef4444;
}

.ts-cat-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ts-view-modes {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ts-view-btn {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
}
.ts-view-btn.active {
  background-color: var(--ts-primary);
  border-color: var(--ts-primary);
  color: #ffffff;
}
.ts-sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #4b5563;
}
.ts-sort-select {
  border: 1px solid #d1d5db;
  border-radius: var(--ts-radius-sm);
  padding: 4px 10px;
  font-size: 0.82rem;
  color: #1e293b;
  background-color: #ffffff;
  outline: none;
}

/* Category Master Layout: Sidebar + Products (Zero overflow flexbox) */
.ts-category-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.ts-sidebar-column {
  width: 225px;
  flex: 0 0 225px;
}

.ts-products-column {
  flex: 1 1 0%;
  min-width: 0; /* Extremely important: allows children to shrink and never break flex row */
}

@media (max-width: 991.98px) {
  .ts-category-layout {
    flex-direction: column;
    gap: 24px;
  }
  .ts-sidebar-column {
    width: 100%;
    flex: none;
  }
}

/* Category Grid Layout (5 Products per Row) */
.ts-cat-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .ts-cat-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 991.98px) {
  .ts-cat-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767.98px) {
  .ts-cat-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .ts-cat-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* B2B Tall Promo Card */
.ts-b2b-tall-card {
  grid-row: span 2;
  background: linear-gradient(180deg, #0d3b2e 0%, #082920 100%);
  color: #ffffff;
  border-radius: var(--ts-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--ts-shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 1199.98px) {
  .ts-b2b-tall-card {
    grid-row: auto;
    grid-column: 1 / -1;
  }
}
.ts-b2b-tall-body {
  padding: 16px 14px 12px;
}
.ts-b2b-tall-icon {
  font-size: 1.5rem;
  color: #34d399;
  margin-bottom: 10px;
}
.ts-b2b-tall-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
}
.ts-b2b-tall-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.ts-b2b-tall-list li {
  font-size: 0.74rem;
  color: #d1fae5;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-b2b-tall-list li i {
  color: #34d399;
  font-size: 0.8rem;
}
.ts-b2b-tall-btn {
  background-color: var(--ts-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 9px 10px;
  border-radius: var(--ts-radius-sm);
  border: none;
  width: 100%;
  text-align: center;
  transition: var(--ts-transition);
}
.ts-b2b-tall-btn:hover {
  background-color: var(--ts-accent-hover);
  color: #ffffff;
}
.ts-b2b-tall-img {
  width: 100%;
  margin-top: auto;
}
.ts-b2b-tall-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

/* Category Product Card Specification List */
.ts-card-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.74rem;
  color: var(--ts-text-muted);
}
.ts-card-spec-list li {
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-card-spec-list li i {
  color: #94a3b8;
  font-size: 0.72rem;
}

/* Badge Status on Product */
.ts-product-badge.badge-stock {
  background-color: #059669;
}

/* Technical Experience Articles (3 Cards) */
.ts-exp-card {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  transition: var(--ts-transition);
  display: flex;
  height: 100%;
}
.ts-exp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ts-shadow-hover);
  border-color: #cbd5e1;
}
.ts-exp-img {
  width: 36%;
  min-width: 110px;
  background-color: #f1f5f9;
  overflow: hidden;
}
.ts-exp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ts-transition);
}
.ts-exp-card:hover .ts-exp-img img {
  transform: scale(1.05);
}
.ts-exp-body {
  padding: 14px 16px;
  width: 64%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-exp-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  line-height: 1.35;
  margin-bottom: 6px;
}
.ts-exp-desc {
  font-size: 0.76rem;
  color: var(--ts-text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-exp-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ts-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ts-exp-link:hover {
  color: var(--ts-green-accent);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================================== */

/* Main 3-Column Hero Section */
.ts-pdetail-hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 36px;
}
.ts-pdetail-gallery-col {
  width: 32%;
  flex: 0 0 32%;
}
.ts-pdetail-info-col {
  flex: 1 1 0%;
  min-width: 0;
}
.ts-pdetail-sidebar-col {
  width: 25%;
  flex: 0 0 25%;
}

@media (max-width: 1200px) {
  .ts-pdetail-hero {
    flex-wrap: wrap;
  }
  .ts-pdetail-gallery-col {
    width: 45%;
    flex: 0 0 45%;
  }
  .ts-pdetail-info-col {
    width: 50%;
    flex: 1 1 50%;
  }
  .ts-pdetail-sidebar-col {
    width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .ts-pdetail-hero {
    flex-direction: column;
  }
  .ts-pdetail-gallery-col,
  .ts-pdetail-info-col,
  .ts-pdetail-sidebar-col {
    width: 100%;
    flex: none;
    display: block;
  }
}

/* Product Gallery */
.ts-pdetail-main-img {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ts-shadow-sm);
  user-select: none;
}
.ts-pdetail-main-link {
  display: block;
  cursor: zoom-in;
  position: relative;
  text-decoration: none;
}
.ts-pdetail-main-img img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.15s ease;
}
.ts-pdetail-main-link:hover img {
  transform: scale(1.03);
}

/* Gallery Navigation Buttons (Next & Prev) */
.ts-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}
.ts-gallery-nav-btn:hover {
  background: var(--ts-primary);
  color: #ffffff;
  border-color: var(--ts-primary);
  box-shadow: 0 4px 12px rgba(13, 59, 46, 0.25);
  transform: translateY(-50%) scale(1.08);
}
.ts-gallery-nav-btn.ts-gallery-prev {
  left: 12px;
}
.ts-gallery-nav-btn.ts-gallery-next {
  right: 12px;
}

/* Gallery Zoom Badge */
.ts-gallery-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  z-index: 5;
  transition: all 0.2s ease;
}
.ts-pdetail-main-img:hover .ts-gallery-zoom-badge {
  background: #ffffff;
  color: var(--ts-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.ts-pdetail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.ts-pdetail-thumb {
  width: 72px;
  height: 72px;
  background-color: #ffffff;
  border: 1.5px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 4px;
  cursor: pointer;
  transition: var(--ts-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ts-pdetail-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ts-pdetail-thumb:hover,
.ts-pdetail-thumb.active {
  border-color: var(--ts-primary);
  box-shadow: 0 0 0 1.5px var(--ts-primary);
}

/* Product Main Info */
.ts-pdetail-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}
.ts-pdetail-meta {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ts-stock-badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
  font-weight: 600;
}
.ts-stock-badge-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
}

/* Price & Volume Tiers */
.ts-pdetail-price-wrap {
  margin-bottom: 16px;
}
.ts-pdetail-price-main {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--ts-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.ts-tier-pricing-card {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: #334155;
}
.ts-tier-pricing-card strong {
  color: #0f172a;
}
.ts-vat-note {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
}

/* Description paragraph */
.ts-pdetail-short-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Quantity & Action Buttons */
.ts-pdetail-qty-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.ts-qty-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
}
.ts-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: var(--ts-radius-sm);
  background-color: #ffffff;
  overflow: hidden;
}
.ts-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background-color: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-qty-btn:hover {
  background-color: #e2e8f0;
}
.ts-qty-input {
  width: 44px;
  height: 32px;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
}
.ts-stock-notice {
  font-size: 0.78rem;
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Action Buttons */
.ts-pdetail-actions-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.ts-btn-addcart-main {
  flex: 1;
  background-color: #f8fafc;
  color: var(--ts-primary-dark);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--ts-radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ts-transition);
}
.ts-btn-addcart-main:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
}
.ts-btn-buynow-main {
  flex: 1.2;
  background-color: var(--ts-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--ts-radius-sm);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--ts-transition);
}
.ts-btn-buynow-main:hover {
  background-color: var(--ts-accent-hover);
  color: #ffffff;
}
.ts-btn-bulk-quote-full {
  width: 100%;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--ts-transition);
}
.ts-btn-bulk-quote-full:hover {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: var(--ts-primary);
}

/* 4 Trust Badges in Detail Hero */
.ts-pdetail-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 600px) {
  .ts-pdetail-trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-detail-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ts-detail-badge-icon {
  font-size: 1.25rem;
  color: var(--ts-primary);
  line-height: 1;
}
.ts-detail-badge-text h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1px;
}
.ts-detail-badge-text p {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* Right Column Sidebox */
.ts-pdetail-sidebox {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--ts-shadow-sm);
}
.ts-sidebox-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #f1f5f9;
}
.ts-support-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-support-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
}
.ts-support-item:last-child {
  margin-bottom: 0;
}
.ts-support-icon {
  font-size: 1rem;
  color: var(--ts-primary);
  margin-top: 2px;
}
.ts-support-content h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1px;
}
.ts-support-content p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
}

/* Quick Specs Table */
.ts-quick-spec-table {
  width: 100%;
  font-size: 0.78rem;
}
.ts-quick-spec-table td {
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
}
.ts-quick-spec-table td:first-child {
  color: #64748b;
  width: 50%;
}
.ts-quick-spec-table td:last-child {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

/* Detail Tabs Header */
.ts-pdetail-tabs-header {
  display: flex;
  gap: 28px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 28px;
  overflow-x: auto;
  white-space: nowrap;
}
.ts-pdetail-tab-btn {
  background: none;
  border: none;
  padding: 10px 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}
.ts-pdetail-tab-btn:hover {
  color: var(--ts-primary);
}
.ts-pdetail-tab-btn.active {
  color: var(--ts-primary);
}
.ts-pdetail-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--ts-primary);
}

/* Detailed Content 2-Column Layout */
.ts-pdetail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .ts-pdetail-content-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ts-pdetail-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 14px;
}
.ts-pdetail-body-text {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* 2-Column Specs Key-Value Table */
.ts-specs-full-table {
  width: 100%;
  font-size: 0.8rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
}
.ts-specs-full-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-specs-full-table tr:last-child td {
  border-bottom: none;
}
.ts-specs-full-table tr:nth-child(even) {
  background-color: #f8fafc;
}
.ts-spec-name {
  color: #64748b;
  width: 32%;
}
.ts-spec-val {
  color: #0f172a;
  font-weight: 600;
}

/* Real World Applications */
.ts-app-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .ts-app-cards-grid {
    grid-template-columns: 1fr;
  }
}
.ts-app-item-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  box-shadow: var(--ts-shadow-sm);
}
.ts-app-item-img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  display: block;
}
.ts-app-item-body {
  padding: 8px 6px;
}
.ts-app-item-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.3;
}
.ts-app-item-desc {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
  line-height: 1.25;
}

/* FAQ Accordion */
.ts-faq-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm) !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.ts-faq-accordion .accordion-button {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  padding: 10px 14px;
  background-color: #f8fafc;
  box-shadow: none;
}
.ts-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--ts-primary);
  background-color: #f0fdf4;
}
.ts-faq-accordion .accordion-body {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.5;
  padding: 10px 14px;
}

/* Technical Document Downloads */
.ts-doc-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.ts-doc-card-unit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-doc-card-unit:hover {
  border-color: var(--ts-primary);
  background-color: #f8fafc;
}
.ts-doc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-doc-pdf-badge {
  background-color: #fee2e2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 4px;
  line-height: 1;
}
.ts-doc-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1px;
}
.ts-doc-meta {
  font-size: 0.7rem;
  color: #64748b;
}
.ts-doc-dl-icon {
  font-size: 1rem;
  color: var(--ts-primary);
}

/* Mini Related Products 4 in a row */
.ts-mini-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 600px) {
  .ts-mini-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-mini-rel-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 8px 6px;
  text-align: center;
  transition: var(--ts-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-mini-rel-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
}
.ts-mini-rel-img {
  width: 100%;
  height: 65px;
  object-fit: contain;
  margin-bottom: 6px;
}
.ts-mini-rel-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5em;
}
.ts-mini-rel-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ts-accent);
  margin-bottom: 4px;
}
.ts-mini-rel-btn {
  background-color: #f1f5f9;
  border: none;
  border-radius: 4px;
  color: var(--ts-primary-dark);
  font-size: 0.75rem;
  padding: 4px 0;
  width: 100%;
  transition: var(--ts-transition);
}
.ts-mini-rel-card:hover .ts-mini-rel-btn {
  background-color: var(--ts-primary);
  color: #ffffff;
}

/* ==========================================================================
   KNOWLEDGE HUB / TIN TỨC KIẾN THỨC KỸ THUẬT (.ts-kh-*)
   ========================================================================== */

/* Knowledge Hero */
.ts-kh-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--ts-border);
}
.ts-kh-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.ts-kh-hero-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 580px;
}
.ts-kh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Right Composite Hero Showcase */
.ts-kh-hero-showcase {
  position: relative;
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  height: 270px;
}
.ts-kh-hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-kh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 59, 46, 0.82) 0%, rgba(13, 59, 46, 0.55) 50%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: #ffffff;
}
.ts-kh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a7f3d0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-self: flex-start;
}
.ts-kh-quick-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ts-radius-sm);
  padding: 12px 16px;
}
.ts-kh-quick-item {
  font-size: 0.76rem;
  font-weight: 500;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-kh-quick-item:hover {
  color: #34d399;
  transform: translateX(3px);
}
.ts-kh-quick-item i {
  color: #34d399;
  font-size: 0.82rem;
}

/* Search Bar & Topic Filter Tags */
.ts-kh-search-wrap {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 18px 20px;
  box-shadow: var(--ts-shadow-sm);
  margin-top: -24px;
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
}
.ts-kh-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ts-kh-input-group {
  position: relative;
  flex: 1;
}
.ts-kh-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}
.ts-kh-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--ts-radius-sm);
  font-size: 0.88rem;
  transition: var(--ts-transition);
  outline: none;
}
.ts-kh-input:focus {
  border-color: var(--ts-primary);
  box-shadow: 0 0 0 3px rgba(13, 59, 46, 0.12);
}
.ts-kh-search-btn {
  background-color: var(--ts-primary);
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: var(--ts-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--ts-transition);
  white-space: nowrap;
}
.ts-kh-search-btn:hover {
  background-color: var(--ts-primary-light);
}

/* Filter Tags Row */
.ts-kh-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 14px;
}
.ts-kh-tag-pill {
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 14px;
  text-decoration: none;
  transition: var(--ts-transition);
  cursor: pointer;
}
.ts-kh-tag-pill:hover,
.ts-kh-tag-pill.active {
  background-color: var(--ts-primary);
  color: #ffffff;
  border-color: var(--ts-primary);
}

/* Feature Highlights Bar */
.ts-kh-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  .ts-kh-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-kh-features-grid {
    grid-template-columns: 1fr;
  }
}
.ts-kh-feat-unit {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-kh-feat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #f0fdf4;
  color: var(--ts-green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid #bbf7d0;
}
.ts-kh-feat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1px;
}
.ts-kh-feat-sub {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.3;
}

/* Featured Articles (4 Columns) */
.ts-kh-featured-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  box-shadow: var(--ts-shadow-sm);
  transition: var(--ts-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ts-kh-featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--ts-primary);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}
.ts-kh-featured-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
  background-color: #f8fafc;
}
.ts-kh-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ts-kh-featured-card:hover .ts-kh-featured-img {
  transform: scale(1.05);
}
.ts-kh-article-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: none;
  letter-spacing: 0.2px;
  z-index: 2;
}
.ts-kh-badge-guide {
  background-color: #0d3b2e;
  color: #ffffff;
}
.ts-kh-badge-compare {
  background-color: #0284c7;
  color: #ffffff;
}
.ts-kh-badge-exp {
  background-color: #d97706;
  color: #ffffff;
}
.ts-kh-badge-industry {
  background-color: #059669;
  color: #ffffff;
}
.ts-kh-badge-install {
  background-color: #6366f1;
  color: #ffffff;
}

.ts-kh-featured-body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.ts-kh-featured-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}
.ts-kh-featured-title a {
  color: inherit;
  text-decoration: none;
}
.ts-kh-featured-title a:hover {
  color: var(--ts-primary);
}
.ts-kh-featured-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.35em;
}
.ts-kh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.72rem;
  color: #94a3b8;
}
.ts-kh-card-link {
  font-weight: 700;
  color: var(--ts-primary);
  text-decoration: none;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: var(--ts-transition);
}
.ts-kh-card-link:hover {
  color: var(--ts-green-accent);
  transform: translateX(2px);
}

/* Topics Grid (6 Columns) */
.ts-kh-topic-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 10px;
  transition: var(--ts-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.ts-kh-topic-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-kh-topic-img-wrap {
  width: 100%;
  height: 95px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f8fafc;
  margin-bottom: 8px;
}
.ts-kh-topic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ts-kh-topic-card:hover .ts-kh-topic-img {
  transform: scale(1.06);
}
.ts-kh-topic-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  margin-bottom: 3px;
  height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-kh-topic-desc {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 8px;
  height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-kh-topic-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ts-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: auto;
}
.ts-kh-topic-link:hover {
  color: var(--ts-green-accent);
}

/* Recent Articles Horizontal List */
.ts-kh-recent-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  transition: var(--ts-transition);
}
.ts-kh-recent-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
}
.ts-kh-recent-img-wrap {
  width: 140px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background-color: #f8fafc;
}
.ts-kh-recent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-kh-recent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-kh-recent-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
}
.ts-kh-recent-title a {
  color: inherit;
  text-decoration: none;
}
.ts-kh-recent-title a:hover {
  color: var(--ts-primary);
}
.ts-kh-recent-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Downloads Section Cards */
.ts-kh-download-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: var(--ts-transition);
}
.ts-kh-download-card:hover {
  border-color: var(--ts-primary);
  background-color: #f8fafc;
}
.ts-kh-dl-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-kh-dl-badge {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}
.ts-kh-dl-pdf {
  background-color: #fee2e2;
  color: #dc2626;
}
.ts-kh-dl-excel {
  background-color: #dcfce7;
  color: #15803d;
}
.ts-kh-dl-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
  line-height: 1.25;
}
.ts-kh-dl-meta {
  font-size: 0.7rem;
  color: #64748b;
}
.ts-kh-dl-btn {
  background-color: var(--ts-primary);
  color: #ffffff;
  border: none;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-kh-dl-btn:hover {
  background-color: var(--ts-primary-light);
}

/* Problem Solver Section ("Bạn đang gặp vấn đề gì?") */
.ts-kh-problem-card {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  transition: var(--ts-transition);
  height: 100%;
}
.ts-kh-problem-card:hover {
  border-color: var(--ts-green-accent);
  background-color: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-sm);
}
.ts-kh-problem-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #f1f5f9;
  color: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--ts-transition);
}
.ts-kh-problem-card:hover .ts-kh-problem-icon {
  background-color: var(--ts-primary);
  color: #ffffff;
}
.ts-kh-problem-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.ts-kh-problem-sub {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}
.ts-kh-problem-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: var(--ts-transition);
}
.ts-kh-problem-card:hover .ts-kh-problem-arrow {
  color: var(--ts-primary);
  transform: translateX(3px);
}

/* Pre-footer Consultation Banner */
.ts-kh-consult-banner {
  background-color: #0d3b2e;
  border-radius: var(--ts-radius-md);
  padding: 28px 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(13, 59, 46, 0.3);
}
.ts-kh-consult-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.ts-kh-consult-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-bottom: 16px;
  max-width: 620px;
  line-height: 1.55;
}
.ts-kh-consult-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 20px;
}
.ts-kh-check-item {
  font-size: 0.78rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-kh-check-item i {
  color: #34d399;
  font-size: 0.88rem;
}
.ts-kh-consult-engineer-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--ts-radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Brands Strip in Knowledge Hub */
.ts-kh-brands-section {
  padding: 24px 0 32px;
  border-top: 1px solid var(--ts-border);
}
.ts-kh-brands-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
  margin-bottom: 18px;
}
.ts-kh-brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 36px;
}
.ts-kh-brand-item {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  filter: grayscale(100%);
  transition: var(--ts-transition);
}
.ts-kh-brand-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.ts-kh-brand-item img {
  max-height: 100%;
  max-width: 90px;
  object-fit: contain;
}

/* ==========================================================================
   KNOWLEDGE DETAIL / CHI TIẾT BÀI VIẾT KIẾN THỨC (.ts-kd-*)
   ========================================================================== */

/* Article Hero Header */
.ts-kd-hero {
  background: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--ts-border);
}
.ts-kd-badge-cat {
  display: inline-block;
  background-color: #0d3b2e;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.ts-kd-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.ts-kd-lead {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.ts-kd-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 0.78rem;
  color: #64748b;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.ts-kd-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ts-kd-tags-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ts-kd-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: #0f766e;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-kd-tag:hover {
  background-color: var(--ts-primary);
  color: #ffffff;
  border-color: var(--ts-primary);
}

.ts-kd-hero-img-box {
  border-radius: var(--ts-radius-md);
  overflow: hidden;
  box-shadow: var(--ts-shadow-sm);
  border: 1px solid var(--ts-border);
  height: 250px;
}
.ts-kd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Quick Summary Box (Tóm tắt nhanh) */
.ts-kd-summary-box {
  background-color: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: var(--ts-radius-sm);
  padding: 18px 20px;
  margin-bottom: 28px;
}
.ts-kd-summary-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-kd-summary-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.ts-kd-summary-list li {
  font-size: 0.8rem;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.ts-kd-summary-list li i {
  color: #10b981;
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Quick mini TOC in summary box */
.ts-kd-mini-toc-box {
  background: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: 6px;
  padding: 12px 14px;
}
.ts-kd-mini-toc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.ts-kd-mini-toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ts-kd-mini-toc-list li {
  margin-bottom: 5px;
}
.ts-kd-mini-toc-list a {
  font-size: 0.76rem;
  color: #334155;
  text-decoration: none;
  transition: var(--ts-transition);
  display: inline-block;
}
.ts-kd-mini-toc-list a:hover {
  color: var(--ts-green-accent);
  transform: translateX(2px);
}

/* Section Headings inside Article */
.ts-kd-section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.ts-kd-body-p {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 14px;
}

/* 4 Metric / Formula Cards */
.ts-kd-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .ts-kd-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-kd-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 12px 10px;
  text-align: center;
  transition: var(--ts-transition);
}
.ts-kd-metric-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
}
.ts-kd-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 1.05rem;
}
.ts-kd-metric-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}
.ts-kd-metric-val {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.25;
}

/* Comparison Material Table */
.ts-kd-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
}
.ts-kd-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  background: #ffffff;
}
.ts-kd-compare-table th {
  background-color: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.ts-kd-compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}
.ts-kd-compare-table tr:hover td {
  background-color: #f8fafc;
}
.ts-kd-star-rating {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* Sidebar Widgets */
.ts-kd-sidebar-widget {
  background-color: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--ts-shadow-sm);
}
.ts-kd-widget-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ts-kd-toc-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.ts-kd-toc-list li {
  margin-bottom: 8px;
}
.ts-kd-toc-list a {
  font-size: 0.78rem;
  color: #374151;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--ts-transition);
  padding: 4px 6px;
  border-radius: 4px;
}
.ts-kd-toc-list a:hover {
  background-color: #f0fdf4;
  color: var(--ts-green-accent);
  padding-left: 10px;
}
.ts-kd-toc-list a i {
  color: #94a3b8;
  font-size: 0.72rem;
}
.ts-kd-toc-list a:hover i {
  color: var(--ts-green-accent);
}

/* Sidebar Related Categories List */
.ts-kd-sidebar-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-kd-sidebar-cat-item:last-child {
  border-bottom: none;
}
.ts-kd-sidebar-cat-item:hover {
  transform: translateX(3px);
}
.ts-kd-sidebar-cat-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px;
}
.ts-kd-sidebar-cat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1px;
}
.ts-kd-sidebar-cat-desc {
  font-size: 0.7rem;
  color: #64748b;
}

/* Sidebar Consultation Box */
.ts-kd-sidebar-cta {
  background: linear-gradient(135deg, #0d3b2e 0%, #164e3f 100%);
  color: #ffffff;
  border-radius: var(--ts-radius-sm);
  padding: 18px 18px;
  margin-bottom: 18px;
  box-shadow: var(--ts-shadow-sm);
}
.ts-kd-cta-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.ts-kd-cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #34d399;
}
.ts-kd-cta-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.ts-kd-cta-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.4;
}
.ts-kd-cta-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}
.ts-kd-cta-checklist li {
  font-size: 0.74rem;
  color: #e2e8f0;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-kd-cta-checklist li i {
  color: #34d399;
  font-size: 0.8rem;
}
.ts-kd-cta-btn {
  background-color: var(--ts-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  border: none;
  border-radius: var(--ts-radius-sm);
  padding: 9px 16px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-kd-cta-btn:hover {
  background-color: var(--ts-accent-dark);
  color: #ffffff;
}

/* Sticky Sidebar */
.ts-kd-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  z-index: 10;
}

/* Product Suggestions Grid (4 columns) */
.ts-kd-prods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 991px) {
  .ts-kd-prods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ts-kd-prods-grid {
    grid-template-columns: 1fr;
  }
}

.ts-kd-prod-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--ts-transition);
}
.ts-kd-prod-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-kd-prod-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--ts-transition);
  z-index: 2;
}
.ts-kd-prod-wishlist:hover,
.ts-kd-prod-wishlist.active {
  color: #ef4444;
  border-color: #fecaca;
  background: #fef2f2;
}
.ts-kd-prod-thumb-wrap {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #fafafa;
  border-radius: 4px;
  overflow: hidden;
}
.ts-kd-prod-thumb-wrap img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.ts-kd-prod-card:hover .ts-kd-prod-thumb-wrap img {
  transform: scale(1.05);
}
.ts-kd-prod-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-kd-prod-title a {
  color: inherit;
  text-decoration: none;
}
.ts-kd-prod-title a:hover {
  color: var(--ts-primary);
}
.ts-kd-prod-spec {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-kd-prod-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ts-accent);
  margin-top: 6px;
  margin-bottom: 10px;
}
.ts-kd-prod-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.ts-kd-prod-btn-cart {
  flex: 1;
  background-color: #ffffff;
  color: #374151;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-kd-prod-btn-cart:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.ts-kd-prod-btn-quote {
  flex: 1;
  background-color: var(--ts-accent);
  color: #ffffff;
  border: 1px solid var(--ts-accent);
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-kd-prod-btn-quote:hover {
  background-color: var(--ts-accent-dark);
  border-color: var(--ts-accent-dark);
  color: #ffffff;
}

/* FAQ Accordion Grid (2 columns) */
.ts-kd-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .ts-kd-faq-grid {
    grid-template-columns: 1fr;
  }
}
.ts-kd-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  transition: var(--ts-transition);
}
.ts-kd-faq-item:hover {
  border-color: #cbd5e1;
}
.ts-kd-faq-header {
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: #fafafa;
  border-bottom: 1px solid transparent;
  transition: var(--ts-transition);
}
.ts-kd-faq-header:hover {
  color: var(--ts-primary);
  background: #f8fafc;
}
.ts-kd-faq-header.active {
  background: #ffffff;
  border-bottom-color: #f1f5f9;
  color: var(--ts-primary-dark);
  font-weight: 700;
}
.ts-kd-faq-icon {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.25s ease;
}
.ts-kd-faq-header.active .ts-kd-faq-icon {
  transform: rotate(180deg);
  color: var(--ts-primary);
}
.ts-kd-faq-content {
  display: none;
  padding: 12px 14px;
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.55;
  background: #ffffff;
}
.ts-kd-faq-header.active + .ts-kd-faq-content {
  display: block;
}

/* Related Articles Grid (3 columns) */
.ts-kd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .ts-kd-related-grid {
    grid-template-columns: 1fr;
  }
}
.ts-kd-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-kd-related-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-kd-related-thumb {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f1f5f9;
}
.ts-kd-related-body {
  flex: 1;
  min-width: 0;
}
.ts-kd-related-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.ts-kd-related-card:hover .ts-kd-related-title {
  color: var(--ts-primary);
}
.ts-kd-related-date {
  font-size: 0.68rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   STANDARD BLOG POST LAYOUT & TYPOGRAPHY (.ts-article-body)
   Dành cho bài viết dạng blog/tin tức chuẩn CMS, dễ viết, dễ đăng
   ========================================================================== */

.ts-blog-post-card {
  background: #ffffff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 36px 40px;
  box-shadow: var(--ts-shadow-sm);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .ts-blog-post-card {
    padding: 20px 16px;
  }
}

/* Article Header */
.ts-blog-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-blog-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ts-primary);
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.ts-blog-header .ts-blog-title,
.ts-blog-post-card .ts-blog-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  display: block;
}
@media (max-width: 768px) {
  .ts-blog-header .ts-blog-title,
  .ts-blog-post-card .ts-blog-title {
    font-size: 1.45rem;
  }
}

.ts-blog-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #64748b;
}
.ts-blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ts-blog-meta-item i {
  color: var(--ts-primary);
  font-size: 0.9rem;
}

/* Featured Image Banner in Post */
.ts-blog-featured-banner {
  margin: 24px 0 32px 0;
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.ts-blog-featured-banner img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.ts-blog-featured-banner figcaption {
  padding: 8px 14px;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

/* Core Article Body Typography */
.ts-article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.ts-article-body p {
  margin-bottom: 20px;
}

.ts-article-body .ts-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 24px;
}

.ts-article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  letter-spacing: -0.01em;
}
.ts-article-body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--ts-primary);
}

.ts-article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 28px;
  margin-bottom: 12px;
}

.ts-article-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-top: 20px;
  margin-bottom: 10px;
}

.ts-article-body ul,
.ts-article-body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.ts-article-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.ts-article-body ul li {
  list-style-type: disc;
}
.ts-article-body ol li {
  list-style-type: decimal;
}

.ts-article-body strong {
  color: #0f172a;
  font-weight: 600;
}

/* Callout Box / Highlight Note */
.ts-article-callout {
  background-color: #f0fdf4;
  border-left: 4px solid var(--ts-primary);
  padding: 18px 20px;
  border-radius: 0 var(--ts-radius-sm) var(--ts-radius-sm) 0;
  margin: 26px 0;
}
.ts-article-callout-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ts-primary-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-article-callout-content {
  font-size: 0.92rem;
  color: #166534;
  margin-bottom: 0;
  line-height: 1.65;
}

/* Warning / Alert Callout */
.ts-article-callout.callout-warning {
  background-color: #fffbeb;
  border-left-color: #f59e0b;
}
.ts-article-callout.callout-warning .ts-article-callout-title {
  color: #b45309;
}
.ts-article-callout.callout-warning .ts-article-callout-content {
  color: #92400e;
}

/* Blockquote */
.ts-article-body blockquote {
  background-color: #f8fafc;
  border-left: 4px solid var(--ts-accent);
  padding: 16px 22px;
  border-radius: 0 var(--ts-radius-sm) var(--ts-radius-sm) 0;
  margin: 26px 0;
  font-style: italic;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

/* Inline Images / Figures */
.ts-article-body figure {
  margin: 28px 0;
  text-align: center;
}
.ts-article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ts-radius-sm);
  border: 1px solid #e2e8f0;
}
.ts-article-body figcaption {
  font-size: 0.8rem;
  color: #64748b;
  font-style: italic;
  margin-top: 8px;
}

/* Standard Responsive Blog Table */
.ts-article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
}
.ts-article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background-color: #ffffff;
}
.ts-article-table th {
  background-color: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
}
.ts-article-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}
.ts-article-table tbody tr:hover td {
  background-color: #f8fafc;
}

/* Article Footer: Tags, Share, Author */
.ts-article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}
.ts-article-tags-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.ts-article-tag-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
}
.ts-article-tag-item {
  font-size: 0.78rem;
  background-color: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-article-tag-item:hover {
  background-color: var(--ts-primary);
  color: #ffffff;
}

.ts-article-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 14px 18px;
  margin-bottom: 28px;
}
.ts-article-share-text {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-article-share-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-share-fb {
  background-color: #1877f2;
}
.ts-share-fb:hover {
  background-color: #0c63d4;
  color: #ffffff;
}
.ts-share-zalo {
  background-color: #0068ff;
}
.ts-share-zalo:hover {
  background-color: #0054cc;
  color: #ffffff;
}
.ts-share-copy {
  background-color: #475569;
}
.ts-share-copy:hover {
  background-color: #334155;
  color: #ffffff;
}

/* Author Box */
.ts-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 20px;
  margin-bottom: 30px;
}
@media (max-width: 576px) {
  .ts-author-box {
    flex-direction: column;
    text-align: center;
  }
}
.ts-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--ts-primary);
}
.ts-author-info {
  flex: 1;
}
.ts-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.ts-author-role {
  font-size: 0.78rem;
  color: var(--ts-primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.ts-author-bio {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT PAGE STYLES (.ts-contact-*)
   Trang liên hệ TECHSUPPLY VN
   ========================================================================== */

.ts-contact-hero {
  background-color: #ffffff;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--ts-border);
}
.ts-contact-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ts-primary-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .ts-contact-title {
    font-size: 1.6rem;
  }
}
.ts-contact-lead {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 620px;
}
.ts-contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* 4 Feature Badges in Hero */
.ts-contact-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 991px) {
  .ts-contact-features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-contact-features-row {
    grid-template-columns: 1fr;
  }
}
.ts-contact-feat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 10px 12px;
}
.ts-contact-feat-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--ts-shadow-sm);
  flex-shrink: 0;
}
.ts-contact-feat-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.ts-contact-feat-desc {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 0;
}

/* Right Hero Banner with Floating Card */
.ts-contact-hero-banner {
  position: relative;
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  height: 100%;
  min-height: 290px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--ts-shadow-sm);
}
.ts-contact-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-contact-floating-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(13, 59, 46, 0.94);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: var(--ts-radius-sm);
  padding: 16px 18px;
  max-width: 270px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
@media (max-width: 576px) {
  .ts-contact-floating-card {
    position: static;
    max-width: 100%;
    margin-top: 10px;
  }
}
.ts-contact-floating-title {
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.ts-contact-floating-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-contact-floating-list li {
  font-size: 0.72rem;
  color: #e2e8f0;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-contact-floating-list li i {
  color: #34d399;
  font-size: 0.78rem;
}

/* Contact Info 6 Cards Grid */
.ts-contact-sec-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}
.ts-contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 576px) {
  .ts-contact-info-grid {
    grid-template-columns: 1fr;
  }
}
.ts-contact-info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 16px;
  transition: var(--ts-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-contact-info-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ecfdf5;
  color: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.ts-contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
}
.ts-contact-info-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  word-break: break-word;
}
.ts-contact-info-val a {
  color: inherit;
  text-decoration: none;
}
.ts-contact-info-val a:hover {
  color: var(--ts-primary);
}
.ts-contact-info-sub {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 0;
}
.ts-contact-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.ts-contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-contact-social-btn.zalo {
  background-color: #0068ff;
  font-weight: 700;
  font-size: 0.7rem;
}
.ts-contact-social-btn.fb {
  background-color: #1877f2;
}
.ts-contact-social-btn.yt {
  background-color: #ef4444;
}
.ts-contact-social-btn.in {
  background-color: #0a66c2;
}
.ts-contact-social-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

/* Contact Message Form Card */
.ts-contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 24px 26px;
  box-shadow: var(--ts-shadow-sm);
}
@media (max-width: 576px) {
  .ts-contact-form-card {
    padding: 16px;
  }
}
.ts-contact-form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}
.ts-contact-form-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 18px;
}
.ts-contact-file-box {
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 10px 14px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ts-contact-file-label {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}
.ts-contact-file-btn {
  font-size: 0.72rem;
  font-weight: 600;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.ts-contact-file-btn:hover {
  background-color: #f1f5f9;
}
.ts-btn-contact-submit {
  background-color: var(--ts-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 11px 20px;
  border: none;
  border-radius: var(--ts-radius-sm);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--ts-transition);
}
.ts-btn-contact-submit:hover {
  background-color: var(--ts-accent-dark);
  color: #ffffff;
}

/* Branch / Warehouse 3 Cards Grid */
.ts-contact-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
@media (max-width: 991px) {
  .ts-contact-branch-grid {
    grid-template-columns: 1fr;
  }
}
.ts-contact-branch-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ts-transition);
}
.ts-contact-branch-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-contact-branch-thumb {
  height: 130px;
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
}
.ts-contact-branch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ts-contact-branch-card:hover .ts-contact-branch-thumb img {
  transform: scale(1.05);
}
.ts-contact-branch-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.ts-contact-branch-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-contact-branch-line {
  font-size: 0.76rem;
  color: #475569;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.ts-contact-branch-line:last-child {
  margin-bottom: 0;
}
.ts-contact-branch-line i {
  color: var(--ts-primary);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Map & FAQ Section */
.ts-contact-map-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ts-contact-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.ts-contact-map-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-contact-map-iframe-wrap {
  flex: 1;
  min-height: 240px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.ts-contact-map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: none;
  display: block;
}

/* Quick Needs Row */
.ts-contact-needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 991px) {
  .ts-contact-needs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-contact-needs-grid {
    grid-template-columns: 1fr;
  }
}
.ts-contact-need-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ts-radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-contact-need-card:hover {
  border-color: var(--ts-primary);
  box-shadow: var(--ts-shadow-sm);
  transform: translateY(-2px);
}
.ts-contact-need-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--ts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--ts-transition);
}
.ts-contact-need-card:hover .ts-contact-need-icon {
  background: #ecfdf5;
  color: var(--ts-primary-dark);
}
.ts-contact-need-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.ts-contact-need-desc {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.3;
}
.ts-contact-need-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.ts-contact-need-card:hover .ts-contact-need-arrow {
  color: var(--ts-primary);
  transform: translateX(3px);
}

/* ==========================================================================
   SHIPPING & PAYMENT POLICY PAGE STYLES (.ts-policy-*)
   ========================================================================== */

/* Policy Hero */
.ts-policy-hero {
  background: #ffffff;
  padding: 24px 0 20px 0;
  border-bottom: 1px solid #f1f5f9;
}
.ts-policy-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ts-policy-hero-lead {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 0;
}
.ts-policy-hero-truck-img {
  width: 100%;
  max-height: 155px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Policy Content Layout */
.ts-policy-body-wrap {
  padding: 28px 0 50px 0;
  background-color: #f8fafc;
}
.ts-policy-main-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
@media (max-width: 768px) {
  .ts-policy-main-content {
    padding: 20px 16px;
  }
  .ts-policy-hero-title {
    font-size: 1.5rem;
  }
}

/* Numbered Section Headers */
.ts-policy-sec {
  margin-bottom: 30px;
}
.ts-policy-sec:last-child {
  margin-bottom: 0;
}
.ts-policy-sec-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ts-policy-sec-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e6f4ea;
  color: #0d6938;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ts-policy-sec-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ts-policy-sec-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
}

/* Body Text & Lists */
.ts-policy-text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 10px;
}
.ts-policy-list {
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #334155;
}
.ts-policy-list li {
  margin-bottom: 6px;
}
.ts-policy-list li:last-child {
  margin-bottom: 0;
}

/* Free Shipping Callout */
.ts-policy-callout {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.ts-policy-callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #d1fae5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ts-policy-callout-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 2px;
}
.ts-policy-callout-desc {
  font-size: 0.8rem;
  color: #047857;
  margin-bottom: 0;
}

/* Payment Methods Grid */
.ts-policy-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
@media (max-width: 991px) {
  .ts-policy-pay-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ts-policy-pay-grid {
    grid-template-columns: 1fr;
  }
}
.ts-policy-pay-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: var(--ts-transition);
}
.ts-policy-pay-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
}
.ts-policy-pay-icon {
  font-size: 1.5rem;
  color: #0d6938;
  line-height: 1;
}
.ts-policy-pay-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ts-policy-pay-card-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 0;
}

/* Policy FAQ Accordion */
.ts-policy-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #ffffff;
}
.ts-policy-faq-header {
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  user-select: none;
  background-color: #ffffff;
  transition: background 0.15s ease;
}
.ts-policy-faq-header:hover {
  background-color: #f8fafc;
}
.ts-policy-faq-header.active {
  background-color: #f1f5f9;
  color: #0f172a;
}
.ts-policy-faq-chevron {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.2s ease;
}
.ts-policy-faq-header.active .ts-policy-faq-chevron {
  transform: rotate(180deg);
}
.ts-policy-faq-body {
  padding: 12px 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  background-color: #fafafa;
  display: none;
}
.ts-policy-faq-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}

/* Related Policies Grid */
.ts-policy-related-sec {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.ts-policy-related-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}
.ts-policy-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  .ts-policy-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ts-policy-related-grid {
    grid-template-columns: 1fr;
  }
}
.ts-policy-related-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  transition: var(--ts-transition);
}
.ts-policy-related-card:hover {
  border-color: #10b981;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.ts-policy-rel-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-policy-rel-icon {
  font-size: 1.25rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-policy-rel-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.ts-policy-rel-desc {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}
.ts-policy-rel-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.ts-policy-related-card:hover .ts-policy-rel-arrow {
  color: #0d6938;
  transform: translateX(3px);
}

/* Sidebar Widgets */
.ts-policy-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ts-policy-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-policy-sidebar-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Policy Menu Widget */
.ts-policy-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-policy-menu-item {
  margin-bottom: 4px;
}
.ts-policy-menu-item:last-child {
  margin-bottom: 0;
}
.ts-policy-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ts-policy-menu-link:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.ts-policy-menu-link.active {
  background-color: #e6f4ea;
  color: #065f46;
  font-weight: 700;
}
.ts-policy-menu-icon {
  font-size: 0.95rem;
  margin-right: 8px;
  color: #0d6938;
  display: inline-flex;
  align-items: center;
}
.ts-policy-menu-chevron {
  font-size: 0.75rem;
  color: #94a3b8;
}
.ts-policy-menu-link.active .ts-policy-menu-chevron {
  color: #065f46;
}

/* Support Widget */
.ts-policy-sup-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 6px;
}
.ts-policy-sup-hotline-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}
.ts-policy-sup-hotline-num:hover {
  color: #0d6938;
}
.ts-policy-sup-time {
  font-size: 0.72rem;
  color: #64748b;
}
.ts-policy-sup-email {
  font-size: 0.78rem;
  color: #334155;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.ts-policy-sup-email:hover {
  color: #0d6938;
}
.ts-policy-btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ts-policy-btn-contact:hover {
  border-color: #0d6938;
  color: #0d6938;
  background-color: #f0fdf4;
}

/* About Techsupply Widget */
.ts-policy-about-lead {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 10px;
}
.ts-policy-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-policy-about-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.35;
}
.ts-policy-about-item:last-child {
  margin-bottom: 0;
}
.ts-policy-about-item i {
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* B2B CTA Card Widget */
.ts-policy-b2b-card {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-radius: 10px;
  padding: 16px 18px;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}
.ts-policy-b2b-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}
.ts-policy-b2b-desc {
  font-size: 0.75rem;
  color: #d1fae5;
  line-height: 1.4;
  margin-bottom: 12px;
}
.ts-policy-b2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background-color: #f59e0b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}
.ts-policy-b2b-btn:hover {
  background-color: #d97706;
  color: #ffffff;
}
.ts-policy-b2b-img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

/* ==========================================================================
   SHOPPING CART PAGE STYLES (.ts-cart-*)
   ========================================================================== */

.ts-cart-wrap {
  padding: 16px 0 48px 0;
  background-color: #f8fafc;
}
.ts-cart-header {
  margin-bottom: 20px;
}
.ts-cart-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ts-cart-lead {
  font-size: 0.86rem;
  color: #64748b;
  margin-bottom: 0;
}

/* 4 Feature Highlights Box */
.ts-cart-benefits-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .ts-cart-benefits-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 576px) {
  .ts-cart-benefits-card {
    grid-template-columns: 1fr;
  }
}
.ts-cart-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-cart-benefit-icon {
  font-size: 1.4rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-cart-benefit-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ts-cart-benefit-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

/* Cart Table Card */
.ts-cart-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.ts-cart-table-head-bar {
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #ffffff;
}
.ts-cart-table-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-cart-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.ts-cart-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.ts-cart-table th {
  background-color: #f8fafc;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}
.ts-cart-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 0.82rem;
}
.ts-cart-table tr:last-child td {
  border-bottom: none;
}
.ts-cart-table tr:hover td {
  background-color: #fafbfc;
}

/* Cart Product Cell */
.ts-cart-prod-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.ts-cart-prod-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.ts-cart-prod-info {
  flex: 1;
}
.ts-cart-prod-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.ts-cart-prod-name:hover {
  color: #0d6938;
}
.ts-cart-prod-meta {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-cart-prod-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 4px;
}
.ts-cart-prod-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
}
.ts-cart-prod-badge.text-warning-dark {
  color: #d97706;
}
.ts-cart-prod-badge span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
}
.ts-cart-prod-badge .lead-time {
  color: #64748b;
  font-weight: 400;
  margin-left: 4px;
}

/* Stepper */
.ts-cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ffffff;
}
.ts-cart-step-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ts-cart-step-btn:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}
.ts-cart-step-input {
  width: 36px;
  height: 28px;
  border: none;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

/* Action Icons Cell */
.ts-cart-action-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ts-cart-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.72rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.ts-cart-action-btn:hover {
  color: #0f172a;
}
.ts-cart-action-btn.btn-delete {
  color: #ef4444;
}
.ts-cart-action-btn.btn-delete:hover {
  color: #b91c1c;
}

/* Action Buttons Bar below table */
.ts-cart-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.ts-cart-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.ts-cart-btn-outline:hover {
  border-color: #0d6938;
  color: #0d6938;
  background-color: #f0fdf4;
}
.ts-cart-btn-quote-transfer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  background-color: #fffbeb;
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.ts-cart-btn-quote-transfer:hover {
  background-color: #fef3c7;
  border-color: #d97706;
  color: #92400e;
}

/* Coupon & Notes Row */
.ts-cart-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .ts-cart-extra-grid {
    grid-template-columns: 1fr;
  }
}
.ts-cart-box-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
}
.ts-cart-box-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-cart-coupon-input-group {
  display: flex;
  gap: 8px;
}
.ts-cart-coupon-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  transition: border 0.15s ease;
}
.ts-cart-coupon-input:focus {
  border-color: #0d6938;
}
.ts-cart-btn-apply {
  padding: 8px 16px;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-cart-btn-apply:hover {
  background-color: #0d6938;
  border-color: #0d6938;
  color: #ffffff;
}
.ts-cart-note-textarea {
  width: 100%;
  height: 48px;
  padding: 8px 12px;
  font-size: 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  resize: none;
  color: #334155;
}
.ts-cart-note-textarea:focus {
  border-color: #0d6938;
}
.ts-cart-note-counter {
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: right;
  margin-top: 4px;
}

/* Suggested Products Cross-Sell */
.ts-cart-suggest-sec {
  margin-bottom: 24px;
}
.ts-cart-suggest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ts-cart-suggest-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-cart-suggest-more {
  font-size: 0.78rem;
  color: #0d6938;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.ts-cart-suggest-more:hover {
  color: #047857;
  text-decoration: underline;
}
.ts-cart-suggest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  .ts-cart-suggest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ts-cart-suggest-grid {
    grid-template-columns: 1fr;
  }
}
.ts-cart-suggest-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.ts-cart-suggest-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.ts-cart-sug-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-cart-sug-wish-btn:hover {
  color: #ef4444;
  border-color: #fca5a5;
}
.ts-cart-sug-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  margin-bottom: 8px;
}
.ts-cart-sug-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-cart-sug-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 10px;
}
.ts-cart-sug-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-cart-sug-btn:hover {
  background-color: #0d6938;
  border-color: #0d6938;
  color: #ffffff;
}

/* Right Summary Column */
.ts-cart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ts-cart-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-cart-summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-cart-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: #475569;
}
.ts-cart-sum-val {
  font-weight: 700;
  color: #0f172a;
}
.ts-cart-sum-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 14px 0;
}
.ts-cart-sum-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ts-cart-sum-total-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}
.ts-cart-sum-total-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: -0.02em;
}

/* Alert VAT Box */
.ts-cart-vat-alert {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.ts-cart-vat-icon {
  font-size: 1.1rem;
  color: #d97706;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-cart-vat-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 2px;
}
.ts-cart-vat-desc {
  font-size: 0.72rem;
  color: #b45309;
  line-height: 1.35;
  margin: 0;
}

/* Checkout CTA Buttons */
.ts-cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background-color: #ea580c;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
  text-decoration: none;
}
.ts-cart-btn-checkout:hover {
  background-color: #c2410c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.ts-cart-btn-quote-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-cart-btn-quote-side:hover {
  border-color: #0d6938;
  color: #0d6938;
  background-color: #f0fdf4;
}

/* B2B Inquiries Card */
.ts-cart-b2b-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-cart-b2b-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.ts-cart-b2b-icon {
  font-size: 1.6rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-cart-b2b-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
}
.ts-cart-b2b-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 12px;
}
.ts-cart-b2b-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background-color: #f8fafc;
  border-radius: 6px;
  margin-bottom: 14px;
}
.ts-cart-b2b-phone {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
}
.ts-cart-b2b-btn-lead {
  font-size: 0.72rem;
  color: #0d6938;
  font-weight: 700;
  text-decoration: none;
}
.ts-cart-b2b-btn-lead:hover {
  text-decoration: underline;
}
.ts-cart-b2b-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-cart-b2b-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.35;
}
.ts-cart-b2b-feat-item:last-child {
  margin-bottom: 0;
}
.ts-cart-b2b-feat-icon {
  font-size: 0.9rem;
  color: #0d6938;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Pre-Footer Trust Bar */
.ts-cart-trust-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 24px;
  margin-top: 36px;
}
.ts-cart-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  .ts-cart-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-cart-trust-grid {
    grid-template-columns: 1fr;
  }
}
.ts-cart-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-cart-trust-icon {
  font-size: 1.6rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-cart-trust-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ts-cart-trust-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* ==========================================================================
   REQUEST FOR QUOTE (RFQ) PAGE STYLES (.ts-rfq-*)
   ========================================================================== */

.ts-rfq-wrap {
  padding: 16px 0 48px 0;
  background-color: #f8fafc;
}
.ts-rfq-header {
  margin-bottom: 20px;
}
.ts-rfq-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.ts-rfq-lead {
  font-size: 0.86rem;
  color: #64748b;
  margin-bottom: 0;
}

/* 4-Step Progress Tracker Bar */
.ts-rfq-steps-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
@media (max-width: 991px) {
  .ts-rfq-steps-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 576px) {
  .ts-rfq-steps-bar {
    grid-template-columns: 1fr;
  }
}
.ts-rfq-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-rfq-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ts-rfq-step-item.completed .ts-rfq-step-num {
  background-color: #0d6938;
  color: #ffffff;
}
.ts-rfq-step-item.active .ts-rfq-step-num {
  background-color: #0d6938;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 105, 56, 0.2);
}
.ts-rfq-step-item.inactive .ts-rfq-step-num {
  background-color: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #cbd5e1;
}
.ts-rfq-step-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1px;
}
.ts-rfq-step-sub {
  font-size: 0.7rem;
  color: #64748b;
  margin: 0;
}

/* RFQ Form Cards (A, B, C, D) */
.ts-rfq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-rfq-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
}
.ts-rfq-card-icon {
  font-size: 1.15rem;
  color: #0d6938;
}
.ts-rfq-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.ts-rfq-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
  display: block;
}
.ts-rfq-input, .ts-rfq-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ts-rfq-input:focus, .ts-rfq-select:focus {
  border-color: #0d6938;
  box-shadow: 0 0 0 2px rgba(13, 105, 56, 0.1);
}

/* Priority Radios */
.ts-rfq-priority-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 6px;
}
.ts-rfq-priority-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #334155;
  cursor: pointer;
  user-select: none;
}
.ts-rfq-priority-label input[type="radio"] {
  accent-color: #0d6938;
}

/* Section C Checklist Options */
.ts-rfq-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.ts-rfq-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #334155;
  cursor: pointer;
}
.ts-rfq-check-label input[type="checkbox"] {
  accent-color: #0d6938;
}

/* Section C File Upload Area */
.ts-rfq-upload-area {
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  background-color: #fafbfc;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ts-rfq-upload-area:hover {
  border-color: #0d6938;
  background-color: #f0fdf4;
}
.ts-rfq-upload-icon {
  font-size: 1.75rem;
  color: #0d6938;
  margin-bottom: 6px;
}
.ts-rfq-upload-main {
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 3px;
}
.ts-rfq-upload-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

/* Bottom Action Bar */
.ts-rfq-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.ts-rfq-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-rfq-btn-outline:hover {
  border-color: #0d6938;
  color: #0d6938;
  background-color: #f0fdf4;
}
.ts-rfq-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  border: none;
  border-radius: 6px;
  background-color: #ea580c;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ts-rfq-btn-submit:hover {
  background-color: #c2410c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}

/* RIGHT COLUMN WIDGETS */
.ts-rfq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Widget 1: Tóm tắt yêu cầu */
.ts-rfq-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-rfq-sum-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-rfq-sum-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ts-rfq-sum-edit-btn {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0d6938;
  text-decoration: none;
}
.ts-rfq-sum-edit-btn:hover {
  text-decoration: underline;
}

/* 2 Metrics Pills */
.ts-rfq-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.ts-rfq-metric-pill {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-rfq-metric-icon {
  font-size: 1.25rem;
  color: #0d6938;
}
.ts-rfq-metric-val {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.ts-rfq-metric-lbl {
  font-size: 0.68rem;
  color: #64748b;
}

/* Summary Product List */
.ts-rfq-prod-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.ts-rfq-prod-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-rfq-prod-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ts-rfq-prod-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
}
.ts-rfq-prod-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}
.ts-rfq-prod-sku {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-rfq-prod-qty {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d6938;
}

/* Widget 2: Phản hồi trong 2-24h */
.ts-rfq-sla-card {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px 18px;
}
.ts-rfq-sla-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ts-rfq-sla-icon {
  font-size: 1.2rem;
  color: #b45309;
}
.ts-rfq-sla-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}
.ts-rfq-sla-desc {
  font-size: 0.74rem;
  color: #78350f;
  line-height: 1.45;
  margin-bottom: 14px;
}
.ts-rfq-sla-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ts-rfq-sla-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-rfq-sla-contact-icon {
  font-size: 1rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-rfq-sla-contact-title {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 1px;
}
.ts-rfq-sla-contact-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

/* Widget 3: Vì sao chọn TECHSUPPLY VN? */
.ts-rfq-why-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-rfq-why-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
.ts-rfq-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.ts-rfq-why-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ts-rfq-why-icon {
  font-size: 1.1rem;
  color: #0d6938;
  margin-top: 1px;
  flex-shrink: 0;
}
.ts-rfq-why-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.3;
}
.ts-rfq-why-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   BRAND PAGE STYLES (.ts-brand-*)
   ========================================================================== */

.ts-brand-hero {
  background: #ffffff;
  padding: 24px 0 20px 0;
  border-bottom: 1px solid #f1f5f9;
}
.ts-brand-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}
.ts-brand-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ts-brand-hero-lead {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 16px;
}
.ts-brand-hero-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero Showcase Image & Overlay */
.ts-brand-showcase-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  min-height: 190px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.ts-brand-showcase-img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}
.ts-brand-showcase-overlay {
  position: absolute;
  top: 14px;
  right: 18px;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  pointer-events: none;
}

/* 4-Point Trust Card */
.ts-brand-trust-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.ts-brand-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: #334155;
}
.ts-brand-trust-icon {
  font-size: 1rem;
  color: #0d6938;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-brand-trust-text strong {
  color: #0f172a;
  display: block;
  font-size: 0.8rem;
  margin-bottom: 1px;
}

/* 4-Item Value Proposition Strip */
.ts-brand-strip-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 32px 0;
}
@media (max-width: 991px) {
  .ts-brand-strip-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-brand-strip-wrap {
    grid-template-columns: 1fr;
  }
}
.ts-brand-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-brand-strip-icon {
  font-size: 1.35rem;
  color: #0d6938;
  flex-shrink: 0;
}
.ts-brand-strip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ts-brand-strip-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

/* Section Common Headers */
.ts-brand-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ts-brand-sec-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.ts-brand-sec-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0d6938;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ts-brand-sec-link:hover {
  text-decoration: underline;
  color: #047857;
}

/* 6-Column Category Grid */
.ts-brand-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
@media (max-width: 1200px) {
  .ts-brand-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-brand-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-brand-cat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  transition: all 0.2s ease;
}
.ts-brand-cat-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.ts-brand-cat-img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ts-brand-cat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
  line-height: 1.3;
}
.ts-brand-cat-sub {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.35;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-brand-cat-arrow {
  font-size: 0.72rem;
  color: #0d6938;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ts-brand-cat-card:hover .ts-brand-cat-arrow {
  color: #047857;
}

/* 8-Product Featured Grid */
.ts-brand-prod-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
@media (max-width: 1400px) {
  .ts-brand-prod-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .ts-brand-prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-brand-prod-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}
.ts-brand-prod-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.ts-brand-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-brand-wish-btn:hover {
  color: #ef4444;
  border-color: #fca5a5;
}
.ts-brand-prod-img {
  width: 100%;
  height: 105px;
  object-fit: contain;
  margin-bottom: 8px;
}
.ts-brand-prod-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 3px;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-brand-prod-sku {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 3px;
}
.ts-brand-prod-spec {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 6px;
  height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-brand-prod-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 10px;
}
.ts-brand-prod-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ts-brand-btn-cart {
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #ffffff;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.ts-brand-btn-cart:hover {
  background-color: #0d6938;
  border-color: #0d6938;
  color: #ffffff;
}
.ts-brand-btn-quote {
  padding: 6px 4px;
  font-size: 0.72rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background-color: #f59e0b;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.ts-brand-btn-quote:hover {
  background-color: #d97706;
}

/* Lower Dual Sections */
.ts-brand-lower-wrap {
  margin-bottom: 36px;
}

/* 4-Card Solutions Grid */
.ts-brand-sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  .ts-brand-sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-brand-sol-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  transition: all 0.2s ease;
}
.ts-brand-sol-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.ts-brand-sol-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ts-brand-sol-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.35;
}
.ts-brand-sol-desc {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.35;
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.ts-brand-sol-arrow {
  font-size: 0.72rem;
  color: #0d6938;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Technical Documents (Downloads) Grid */
.ts-brand-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .ts-brand-doc-grid {
    grid-template-columns: 1fr;
  }
}
.ts-brand-doc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-brand-doc-thumb {
  width: 38px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
}
.ts-brand-doc-info {
  flex: 1;
}
.ts-brand-doc-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1px;
}
.ts-brand-doc-desc {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-brand-doc-meta {
  font-size: 0.65rem;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 4px;
}
.ts-brand-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid #0d6938;
  border-radius: 4px;
  background-color: #f0fdf4;
  color: #0d6938;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-brand-btn-download:hover {
  background-color: #0d6938;
  color: #ffffff;
}

/* Related Articles 3 Columns */
.ts-brand-article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .ts-brand-article-grid {
    grid-template-columns: 1fr;
  }
}
.ts-brand-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  gap: 10px;
  padding: 8px;
  transition: all 0.2s ease;
}
.ts-brand-article-card:hover {
  border-color: #10b981;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}
.ts-brand-article-img {
  width: 70px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.ts-brand-article-content {
  flex: 1;
}
.ts-brand-article-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 2px;
  height: 32px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-brand-article-desc {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.3;
  margin-bottom: 3px;
  height: 26px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ts-brand-article-date {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* ==========================================================================
   BRAND DIRECTORY & SUPPLIERS PAGE (.ts-brand-dir-*)
   ========================================================================== */
.ts-brand-dir-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0 28px;
}
.ts-brand-dir-showcase {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  height: 100%;
  min-height: 180px;
}
.ts-brand-dir-showcase img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

/* Alphabet Filter Strip */
.ts-alphabet-filter-sec {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.ts-alphabet-filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.ts-alphabet-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.ts-alphabet-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
}
.ts-alphabet-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.ts-alphabet-btn.active {
  background: #0d6938;
  color: #ffffff;
  border-color: #0d6938;
}

/* Category Filter Strip */
.ts-cat-filter-sec {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 24px;
}
.ts-cat-filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.ts-cat-pill-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ts-cat-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ts-cat-pill i {
  font-size: 0.85rem;
  color: #64748b;
}
.ts-cat-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.ts-cat-pill.active {
  background: #0d6938;
  color: #ffffff;
  border-color: #0d6938;
}
.ts-cat-pill.active i {
  color: #ffffff;
}

/* Featured Brands Grid (4 cols on Desktop, 2 on Mobile) */
.ts-featured-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 992px) {
  .ts-featured-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ts-featured-brands-grid {
    grid-template-columns: 1fr;
  }
}
.ts-feat-brand-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: all 0.2s ease;
}
.ts-feat-brand-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.ts-feat-brand-logo-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.ts-feat-brand-logo {
  max-height: 34px;
  max-width: 110px;
  object-fit: contain;
}
.ts-feat-brand-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.ts-feat-brand-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.ts-feat-brand-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.ts-feat-brand-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0d6938;
  text-decoration: none;
  margin-bottom: 8px;
  display: inline-block;
}
.ts-feat-brand-link:hover {
  text-decoration: underline;
}
.ts-feat-brand-btn {
  background: #d97706;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  display: block;
  width: 100%;
  border: 0;
  transition: all 0.15s ease;
}
.ts-feat-brand-btn:hover {
  background: #b45309;
  color: #ffffff;
}

/* A-Z Grouped Directory (Grid of Letters) */
.ts-az-dir-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
@media (max-width: 1200px) {
  .ts-az-dir-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .ts-az-dir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-az-dir-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ts-az-dir-header {
  background: #0d6938;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-az-dir-list {
  display: flex;
  flex-direction: column;
}
.ts-az-brand-item {
  padding: 6px 6px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: background 0.15s ease;
  font-size: 0.68rem;
}
.ts-az-brand-item:last-child {
  border-bottom: none;
}
.ts-az-brand-item:hover {
  background: #f8fafc;
}
.ts-az-brand-left {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
}
.ts-az-brand-logo {
  height: 12px;
  max-width: 32px;
  object-fit: contain;
}
.ts-az-brand-name {
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-az-brand-count {
  color: #94a3b8;
  font-size: 0.62rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Explore by Needs (5 horizontal cards) */
.ts-needs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 1200px) {
  .ts-needs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .ts-needs-grid {
    grid-template-columns: 1fr;
  }
}
.ts-needs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ts-needs-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.ts-needs-img {
  width: 58px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.ts-needs-content {
  overflow: hidden;
}
.ts-needs-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-needs-sub {
  font-size: 0.62rem;
  color: #64748b;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-needs-arrow {
  font-size: 0.68rem;
  font-weight: 600;
  color: #0d6938;
}

/* Directory Articles Grid (3 horizontal items) */
.ts-dir-art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 768px) {
  .ts-dir-art-grid {
    grid-template-columns: 1fr;
  }
}
.ts-dir-art-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ts-dir-art-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}
.ts-dir-art-img {
  width: 60px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.ts-dir-art-content {
  flex: 1;
}
.ts-dir-art-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-dir-art-meta {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* Right Sidebar Consultation Widget */
.ts-brand-sidebar-widget {
  background: #0f4a2d;
  background: linear-gradient(180deg, #093b22 0%, #0d5030 100%);
  border-radius: 10px;
  padding: 18px 14px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 80px;
}
.ts-brand-sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
}
.ts-brand-sidebar-lead {
  font-size: 0.74rem;
  color: #d1fae5;
  line-height: 1.4;
  margin-bottom: 12px;
}
.ts-brand-sidebar-photo-wrap {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ts-brand-sidebar-photo {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}
.ts-brand-sidebar-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ts-brand-sidebar-check-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #ffffff;
}
.ts-brand-sidebar-check-item i {
  color: #f59e0b;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.ts-brand-sidebar-btn {
  background: #d97706;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 6px;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 12px;
}
.ts-brand-sidebar-btn:hover {
  background: #b45309;
  color: #ffffff;
}
.ts-brand-sidebar-hotline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.72rem;
}
.ts-brand-sidebar-hotline strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 800;
}
.ts-brand-sidebar-hotline span {
  color: #a7f3d0;
  font-size: 0.65rem;
}

/* ==========================================================================
   LIVE SEARCH MEGA-DROPDOWN (.ts-search-dropdown)
   ========================================================================== */
.ts-search-wrap {
  position: relative;
}
.ts-search-clear {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 4px 8px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  z-index: 5;
}
.ts-search-clear:hover {
  color: #0f172a;
}
.ts-search-clear.show {
  display: flex;
}
.ts-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.ts-search-backdrop.show {
  opacity: 1;
  visibility: visible;
}
.ts-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -90px;
  transform: translateY(-8px);
  width: 1020px;
  max-width: 95vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.ts-search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Top 3 Columns */
.ts-search-top-grid {
  display: grid;
  grid-template-columns: 24% 44% 32%;
  border-bottom: 1px solid #e2e8f0;
}
@media (max-width: 992px) {
  .ts-search-top-grid {
    grid-template-columns: 1fr;
  }
}
.ts-search-col {
  padding: 14px 16px;
}
.ts-search-col:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}
.ts-search-col-head {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.ts-search-more-link {
  font-size: 0.68rem;
  color: #0d6938;
  text-decoration: none;
  font-weight: 600;
}
.ts-search-more-link:hover {
  text-decoration: underline;
}

/* Column 1: Suggestions */
.ts-suggest-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-suggest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #334155;
  font-size: 0.74rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ts-suggest-item i {
  color: #94a3b8;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.ts-suggest-item:hover,
.ts-suggest-item.active {
  background: #ecfdf5;
  color: #065f46;
}
.ts-suggest-item:hover i,
.ts-suggest-item.active i {
  color: #0d6938;
}

/* Column 2: Products */
.ts-search-prod-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ts-search-prod-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.ts-search-prod-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.ts-search-prod-img-wrap {
  width: 48px;
  height: 48px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}
.ts-search-prod-badge {
  position: absolute;
  top: 1px;
  left: 1px;
  background: #ea580c;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  z-index: 2;
  line-height: 1.1;
}
.ts-search-prod-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ts-search-prod-info {
  flex: 1;
  min-width: 0;
}
.ts-search-prod-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-search-prod-sku {
  font-size: 0.62rem;
  color: #94a3b8;
  line-height: 1.2;
}
.ts-search-prod-spec {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.2;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-search-prod-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.2;
}
.ts-search-cart-btn {
  background: #0d6938;
  color: #ffffff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ts-search-cart-btn:hover {
  background: #047857;
  transform: scale(1.05);
}

/* Column 3: Categories & Articles */
.ts-search-cat-item,
.ts-search-art-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}
.ts-search-cat-item:hover,
.ts-search-art-item:hover {
  background: #f8fafc;
}
.ts-search-sub-img {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.ts-search-sub-info {
  flex: 1;
  min-width: 0;
}
.ts-search-sub-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-search-sub-desc {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-search-sub-arrow {
  color: #cbd5e1;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.ts-search-cat-item:hover .ts-search-sub-arrow,
.ts-search-art-item:hover .ts-search-sub-arrow {
  color: #0d6938;
}

/* Bottom Tier 3 Blocks */
.ts-search-bottom-grid {
  display: grid;
  grid-template-columns: 24% 44% 32%;
  padding: 12px 16px;
  background: #f8fafc;
  align-items: center;
  gap: 12px;
}
@media (max-width: 992px) {
  .ts-search-bottom-grid {
    grid-template-columns: 1fr;
  }
}
.ts-search-bottom-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}
.ts-search-kw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ts-search-kw-pill {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #475569;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 2px 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ts-search-kw-pill:hover {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

/* Brands Row */
.ts-search-brands-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ts-search-brand-logo-link {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  transition: all 0.15s ease;
}
.ts-search-brand-logo-link:hover {
  border-color: #10b981;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.ts-search-brand-logo-link img {
  max-height: 16px;
  max-width: 100%;
  object-fit: contain;
}

/* CTA Highlight Box */
.ts-search-cta-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #065f46;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.15s ease;
  line-height: 1.3;
}
.ts-search-cta-box:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

/* ==========================================================================
   CATEGORY MEGA-MENU (.ts-megamenu-dropdown)
   ========================================================================== */
.ts-megamenu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1025;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.ts-megamenu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.ts-megamenu-wrap {
  position: relative;
}

.ts-megamenu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.ts-megamenu-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega Menu Main 3-Column Grid */
.ts-mm-main {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 235px;
  min-height: 420px;
}
@media (max-width: 1200px) {
  .ts-mm-main {
    grid-template-columns: 180px minmax(0, 1fr) 210px;
  }
}
@media (max-width: 992px) {
  .ts-mm-main {
    grid-template-columns: 1fr;
  }
}

/* Column 1: Sidebar Tabs */
.ts-mm-sidebar {
  border-right: 1px solid #e2e8f0;
  padding: 8px 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}
.ts-mm-tab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #1e293b;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ts-mm-tab-item:hover,
.ts-mm-tab-item.active {
  background: #fff7ed;
  border-left-color: #0d6938;
}
.ts-mm-tab-icon {
  font-size: 1.1rem;
  color: #0d6938;
  flex-shrink: 0;
  width: 22px;
  display: flex;
  justify-content: center;
}
.ts-mm-tab-info {
  flex: 1;
  min-width: 0;
}
.ts-mm-tab-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}
.ts-mm-tab-sub {
  font-size: 0.63rem;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-mm-tab-arrow {
  font-size: 0.8rem;
  color: #94a3b8;
  flex-shrink: 0;
}
.ts-mm-tab-item.active .ts-mm-tab-arrow,
.ts-mm-tab-item:hover .ts-mm-tab-arrow {
  color: #0d6938;
}

/* Column 2: Center Content Area */
.ts-mm-center {
  padding: 14px 18px;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-mm-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.ts-mm-cat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-mm-cat-all-link {
  font-size: 0.74rem;
  font-weight: 600;
  color: #0d6938;
  text-decoration: none;
}
.ts-mm-cat-all-link:hover {
  text-decoration: underline;
}
.ts-mm-cat-lead {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.35;
}
.ts-mm-subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  margin-bottom: 12px;
}
.ts-mm-subcat-card {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.ts-mm-subcat-thumb {
  width: 32px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f8fafc;
  padding: 1px;
}
.ts-mm-subcat-body {
  flex: 1;
  min-width: 0;
}
.ts-mm-subcat-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
  line-height: 1.2;
}
.ts-mm-subcat-desc {
  font-size: 0.62rem;
  color: #64748b;
  margin-bottom: 3px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-mm-subcat-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-mm-subcat-link {
  font-size: 0.66rem;
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-mm-subcat-link:hover {
  color: #0d6938;
}
.ts-mm-subcat-link::after {
  content: ' →';
  font-size: 0.62rem;
  margin-left: 2px;
  color: #94a3b8;
}
.ts-mm-subcat-link:hover::after {
  color: #0d6938;
}

/* Featured Products in Center */
.ts-mm-prod-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}
.ts-mm-prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ts-mm-prod-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-mm-prod-all-link {
  font-size: 0.68rem;
  font-weight: 600;
  color: #0d6938;
  text-decoration: none;
}
.ts-mm-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.ts-mm-prod-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.ts-mm-prod-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.ts-mm-prod-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: #ffffff;
  padding: 2px;
}
.ts-mm-prod-info {
  flex: 1;
  min-width: 0;
}
.ts-mm-prod-name {
  font-size: 0.66rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.ts-mm-prod-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.2;
}
.ts-mm-prod-cart {
  background: #0d6938;
  color: #ffffff;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ts-mm-prod-cart:hover {
  background: #065f46;
  transform: scale(1.06);
}

/* Column 3: Right Column Banner & Commitment */
.ts-mm-right {
  padding: 14px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.ts-mm-banner-img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.ts-mm-vp-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.ts-mm-vp-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.67rem;
  color: #1e293b;
  font-weight: 500;
  white-space: nowrap;
}
.ts-mm-vp-item i {
  color: #0d6938;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.ts-mm-action-btn-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #0d6938;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 6px;
  transition: background 0.15s ease;
}
.ts-mm-action-btn-green:hover {
  background: #065f46;
  color: #ffffff !important;
}
.ts-mm-action-btn-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #b45309;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}
.ts-mm-action-btn-orange:hover {
  background: #92400e;
  color: #ffffff !important;
}

/* Bottom Utility Bar (4 Columns) */
.ts-mm-bottom {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 12px 18px;
  gap: 16px;
}
@media (max-width: 768px) {
  .ts-mm-bottom {
    grid-template-columns: 1fr;
  }
}
.ts-mm-bottom-col {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ts-mm-bottom-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ts-mm-bottom-body {
  flex: 1;
  min-width: 0;
}
.ts-mm-bottom-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}
.ts-mm-bottom-sub {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-mm-bottom-link {
  font-size: 0.66rem;
  color: #0d6938;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.ts-mm-bottom-link:hover {
  text-decoration: underline;
}

/* ========================================================
   CHECKOUT PAGE (TRANG THANH TOÁN)
   ======================================================== */
.ts-checkout-wrapper {
  background-color: #f8fafc;
  padding: 24px 0 60px;
  min-height: calc(100vh - 200px);
}

/* Steps progress indicator */
.ts-chk-steps-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ts-chk-step-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.ts-chk-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}
.ts-chk-step-unit.done .ts-chk-step-circle {
  background: #00573d;
  color: #ffffff;
  border-color: #00573d;
}
.ts-chk-step-unit.active .ts-chk-step-circle {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}
.ts-chk-step-labels {
  display: flex;
  flex-direction: column;
}
.ts-chk-step-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.ts-chk-step-sub {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.2;
}
.ts-chk-step-unit.done .ts-chk-step-sub {
  color: #00573d;
  font-weight: 600;
}
.ts-chk-step-unit.active .ts-chk-step-sub {
  color: #ea580c;
  font-weight: 600;
}
.ts-chk-step-divider {
  width: 50px;
  height: 2px;
  background: #cbd5e1;
}
.ts-chk-step-divider.done {
  background: #00573d;
}

/* Sections on left */
.ts-chk-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.ts-chk-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ts-chk-badge-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #00573d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.ts-chk-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Form inputs */
.ts-chk-input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #1e293b;
  background-color: #ffffff;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ts-chk-input:focus {
  border-color: #00573d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 87, 61, 0.12);
}
.ts-chk-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}
.ts-chk-label span.req {
  color: #dc2626;
}

/* Custom Checkbox */
.ts-chk-custom-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}
.ts-chk-custom-checkbox input {
  display: none;
}
.ts-chk-custom-checkbox .ts-box {
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.ts-chk-custom-checkbox input:checked + .ts-box {
  background: #00573d;
  border-color: #00573d;
  color: #ffffff;
}

/* Shipping and Payment Cards */
.ts-chk-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ts-chk-methods-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 991px) {
  .ts-chk-methods-grid, .ts-chk-methods-grid-4 {
    grid-template-columns: 1fr;
  }
}
.ts-chk-method-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  background: #ffffff;
}
.ts-chk-method-card:hover {
  border-color: #94a3b8;
}
.ts-chk-method-card.active {
  border-color: #00573d;
  background: #f4fbf7;
}
.ts-chk-method-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00573d;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.ts-chk-method-card.active .ts-chk-method-check {
  display: flex;
}
.ts-chk-method-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.ts-chk-method-icon {
  font-size: 1.4rem;
  color: #00573d;
  flex-shrink: 0;
}
.ts-chk-method-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.ts-chk-method-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
  margin-bottom: 2px;
}
.ts-chk-method-note {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* Trust Bar */
.ts-chk-trust-bar {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .ts-chk-trust-bar {
    grid-template-columns: 1fr 1fr;
  }
}
.ts-chk-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-chk-trust-icon {
  font-size: 1.4rem;
  color: #00573d;
  flex-shrink: 0;
}
.ts-chk-trust-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.ts-chk-trust-sub {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.2;
}

/* Suggested Add-ons */
.ts-chk-suggested-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 768px) {
  .ts-chk-suggested-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.ts-chk-suggested-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.ts-chk-sug-top {
  display: flex;
  gap: 10px;
}
.ts-chk-sug-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.ts-chk-sug-info {
  flex: 1;
  min-width: 0;
}
.ts-chk-sug-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}
.ts-chk-sug-sku {
  font-size: 0.68rem;
  color: #64748b;
}
.ts-chk-sug-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ea580c;
}
.ts-chk-sug-btn {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ts-chk-sug-btn:hover {
  background: #f8fafc;
  border-color: #00573d;
  color: #00573d;
}

/* Support Box */
.ts-chk-support-banner {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.ts-chk-support-left {
  flex: 1;
  max-width: 62%;
  z-index: 2;
}
.ts-chk-support-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.ts-chk-support-desc {
  font-size: 0.76rem;
  color: #334155;
  line-height: 1.35;
  margin-bottom: 8px;
}
.ts-chk-support-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #00573d;
  text-decoration: none;
}
.ts-chk-support-time {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}
.ts-chk-support-img {
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

/* Order Summary Box (Right Column) */
.ts-chk-summary-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.ts-chk-sum-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.ts-chk-sum-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}
.ts-chk-sum-count {
  font-size: 0.75rem;
  color: #64748b;
}
.ts-chk-sum-back {
  font-size: 0.76rem;
  color: #00573d;
  font-weight: 600;
  text-decoration: none;
}
.ts-chk-sum-back:hover {
  text-decoration: underline;
}

/* Order items list */
.ts-chk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
}
.ts-chk-item-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.ts-chk-item-body {
  flex: 1;
  min-width: 0;
}
.ts-chk-item-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}
.ts-chk-item-sku {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-chk-item-attr {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 2px;
}
.ts-chk-item-qty {
  font-size: 0.72rem;
  color: #334155;
  font-weight: 500;
}
.ts-chk-item-price-wrap {
  text-align: right;
  flex-shrink: 0;
}
.ts-chk-item-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ea580c;
}
.ts-chk-item-unit {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Coupon input */
.ts-chk-coupon-wrap {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.ts-chk-coupon-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  flex: 1;
  padding: 0 10px;
  background: #ffffff;
}
.ts-chk-coupon-icon {
  color: #00573d;
  font-size: 0.95rem;
  margin-right: 8px;
}
.ts-chk-coupon-input {
  border: none;
  outline: none;
  font-size: 0.82rem;
  color: #1e293b;
  width: 100%;
  padding: 9px 0;
}
.ts-chk-coupon-btn {
  background: #00573d;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.15s;
}
.ts-chk-coupon-btn:hover {
  background: #004530;
}

/* Breakdown rows */
.ts-chk-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 8px;
}
.ts-chk-calc-row.discount {
  color: #16a34a;
  font-weight: 600;
}
.ts-chk-calc-total-bar {
  background: #fff7ed;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 18px;
}
.ts-chk-calc-total-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #c2410c;
}
.ts-chk-calc-total-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #c2410c;
}

/* Primary and secondary checkout buttons */
.ts-chk-btn-submit {
  width: 100%;
  background: #c2410c;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}
.ts-chk-btn-submit:hover {
  background: #9a3412;
  color: #ffffff;
}
.ts-chk-btn-submit:active {
  transform: scale(0.99);
}
.ts-chk-btn-submit-main {
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ts-chk-btn-submit-sub {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 2px;
}
.ts-chk-btn-quote {
  width: 100%;
  background: #ffffff;
  color: #c2410c;
  border: 1.5px solid #fed7aa;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.ts-chk-btn-quote:hover {
  background: #fff7ed;
  border-color: #c2410c;
  color: #9a3412;
}

/* B2B callout banner below summary */
.ts-chk-b2b-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ts-chk-b2b-card:hover {
  background: #dcfce7;
}
.ts-chk-b2b-icon {
  font-size: 1.5rem;
  color: #00573d;
  flex-shrink: 0;
  margin-top: 2px;
}
.ts-chk-b2b-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 2px;
}
.ts-chk-b2b-desc {
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.35;
}
.ts-chk-b2b-arrow {
  color: #00573d;
  font-size: 1rem;
  margin-left: auto;
  align-self: center;
}

/* ========================================================
   B2B ACCOUNT PORTAL (TRANG TÀI KHOẢN DOANH NGHIỆP)
   ======================================================== */
.ts-acc-wrapper {
  background-color: #f8fafc;
  padding: 20px 0 60px;
  min-height: calc(100vh - 200px);
}

/* Sidebar */
.ts-acc-sidebar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.ts-acc-company-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.ts-acc-company-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #00573d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.ts-acc-company-info {
  flex: 1;
  min-width: 0;
}
.ts-acc-company-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-acc-vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.ts-acc-cust-code {
  font-size: 0.68rem;
  color: #64748b;
}

/* Nav Menu in Sidebar */
.ts-acc-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-acc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
}
.ts-acc-nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.ts-acc-nav-item.active {
  background: #e6f4ea;
  color: #00573d;
  font-weight: 700;
}
.ts-acc-nav-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #00573d;
  border-radius: 0 2px 2px 0;
}
.ts-acc-nav-icon {
  font-size: 1rem;
  color: #64748b;
  width: 18px;
  text-align: center;
}
.ts-acc-nav-item.active .ts-acc-nav-icon {
  color: #00573d;
}

/* Main Dashboard Header */
.ts-acc-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ts-acc-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}
.ts-acc-main-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}
.ts-acc-tier-card {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ts-acc-tier-icon {
  width: 36px;
  height: 36px;
  background: #fef3c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 1.2rem;
}
.ts-acc-tier-label {
  font-size: 0.7rem;
  color: #92400e;
}
.ts-acc-tier-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #b45309;
  line-height: 1.2;
}
.ts-acc-tier-link {
  font-size: 0.72rem;
  color: #00573d;
  font-weight: 600;
  text-decoration: none;
  margin-left: 8px;
}
.ts-acc-tier-link:hover {
  text-decoration: underline;
}

/* KPI Cards (4 columns) */
.ts-acc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 991px) {
  .ts-acc-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ts-acc-kpi-grid {
    grid-template-columns: 1fr;
  }
}
.ts-acc-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  display: flex;
  gap: 12px;
}
.ts-acc-kpi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.ts-acc-kpi-icon-wrap.green {
  background: #e6f4ea;
  color: #00573d;
}
.ts-acc-kpi-icon-wrap.blue {
  background: #eff6ff;
  color: #2563eb;
}
.ts-acc-kpi-icon-wrap.purple {
  background: #f5f3ff;
  color: #7c3aed;
}
.ts-acc-kpi-body {
  flex: 1;
}
.ts-acc-kpi-label {
  font-size: 0.76rem;
  color: #64748b;
  margin-bottom: 4px;
}
.ts-acc-kpi-val-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}
.ts-acc-kpi-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.ts-acc-kpi-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
}
.ts-acc-kpi-sub {
  font-size: 0.68rem;
  color: #94a3b8;
}
.ts-acc-kpi-link {
  font-size: 0.72rem;
  color: #00573d;
  font-weight: 600;
  text-decoration: none;
}
.ts-acc-kpi-link:hover {
  text-decoration: underline;
}

/* Common Section Card */
.ts-acc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.ts-acc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ts-acc-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ts-acc-card-icon {
  font-size: 1.15rem;
  color: #00573d;
}
.ts-acc-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.ts-acc-card-all-link {
  font-size: 0.76rem;
  color: #00573d;
  font-weight: 600;
  text-decoration: none;
}
.ts-acc-card-all-link:hover {
  text-decoration: underline;
}

/* Tables */
.ts-acc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.ts-acc-table th {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.ts-acc-table td {
  font-size: 0.78rem;
  color: #1e293b;
  padding: 10px;
  border-bottom: 1px solid #f8fafc;
  vertical-align: middle;
}
.ts-acc-table tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.ts-acc-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}
.ts-acc-status.shipping {
  background: #eff6ff;
  color: #2563eb;
}
.ts-acc-status.completed {
  background: #e6f4ea;
  color: #00573d;
}
.ts-acc-status.cancelled {
  background: #fef2f2;
  color: #dc2626;
}
.ts-acc-status.processing {
  background: #fff7ed;
  color: #ea580c;
}
.ts-acc-status.quoted {
  background: #e6f4ea;
  color: #16a34a;
}
.ts-acc-status.closed {
  background: #f1f5f9;
  color: #64748b;
}
.ts-acc-action-link {
  font-size: 0.74rem;
  color: #00573d;
  text-decoration: none;
  font-weight: 600;
}
.ts-acc-action-link:hover {
  text-decoration: underline;
}

/* Saved Items Grid */
.ts-acc-saved-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .ts-acc-saved-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ts-acc-saved-item {
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ts-acc-saved-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.ts-acc-saved-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 2px;
}
.ts-acc-saved-sku {
  font-size: 0.66rem;
  color: #64748b;
  margin-bottom: 4px;
}
.ts-acc-saved-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 8px;
}
.ts-acc-saved-btn {
  border: 1px solid #00573d;
  border-radius: 6px;
  background: #ffffff;
  color: #00573d;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px;
  cursor: pointer;
  transition: all 0.15s;
  width: 100%;
}
.ts-acc-saved-btn:hover {
  background: #00573d;
  color: #ffffff;
}

/* Documents List */
.ts-acc-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ts-acc-doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #f8fafc;
  background: #fafafa;
  text-decoration: none;
  transition: all 0.15s;
}
.ts-acc-doc-item:hover {
  background: #f1f5f9;
}
.ts-acc-doc-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
}
.ts-acc-doc-icon {
  color: #00573d;
  font-size: 1rem;
}
.ts-acc-doc-right {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Company info box */
.ts-acc-comp-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 0.8rem;
  color: #334155;
}
@media (max-width: 768px) {
  .ts-acc-comp-body {
    grid-template-columns: 1fr;
  }
}
.ts-acc-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.ts-acc-info-row i {
  color: #64748b;
  font-size: 0.9rem;
}

/* User management list */
.ts-acc-user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ts-acc-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #f8fafc;
}
.ts-acc-user-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.ts-acc-user-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ts-acc-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6f4ea;
  color: #00573d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.ts-acc-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.ts-acc-user-role {
  font-size: 0.7rem;
  color: #64748b;
}

/* ==========================================================================
   27. PRODUCT COMPARISON PAGE (SO SÁNH SẢN PHẨM)
   ========================================================================== */

/* Breadcrumb subtle styling */
.ts-cmp-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

/* Compare Header Area */
.ts-cmp-header-wrap {
  padding: 24px 0 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.ts-cmp-h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.ts-cmp-subtitle {
  font-size: 0.88rem;
  color: #4b5563;
  margin-bottom: 16px;
  line-height: 1.45;
}

.ts-cmp-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ts-cmp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ts-cmp-back-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

.ts-cmp-count-badge {
  font-size: 0.84rem;
  font-weight: 700;
  color: #111827;
}

.ts-cmp-clear-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.ts-cmp-clear-btn:hover {
  color: #991b1b;
}

.ts-cmp-diff-btn {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.ts-cmp-diff-btn.active,
.ts-cmp-diff-btn:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

/* Presets Box */
.ts-cmp-presets-box {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  padding: 14px 16px;
  height: 100%;
}

.ts-cmp-presets-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 2px;
}

.ts-cmp-presets-sub {
  font-size: 0.76rem;
  color: #78716c;
  margin-bottom: 10px;
}

.ts-cmp-presets-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 991px) {
  .ts-cmp-presets-list {
    grid-template-columns: 1fr;
  }
}

.ts-cmp-preset-card {
  background: #ffffff;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ts-cmp-preset-card:hover {
  border-color: #00573d;
  background: #f0fdf4;
  transform: translateY(-1px);
}

.ts-cmp-preset-card.active {
  border-color: #00573d;
  background: #ecfdf5;
  box-shadow: 0 0 0 2px rgba(0, 87, 61, 0.2);
}

.ts-cmp-preset-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.ts-cmp-preset-desc {
  font-size: 0.68rem;
  color: #6b7280;
  line-height: 1.25;
}

/* Consultation Sidebar / Banner Box */
.ts-cmp-consult-box {
  background: #f0fdf4;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 14px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ts-cmp-consult-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 4px;
}

.ts-cmp-consult-header i {
  font-size: 1.15rem;
  color: #059669;
}

.ts-cmp-consult-sub {
  font-size: 0.74rem;
  color: #047857;
  margin-bottom: 8px;
}

.ts-cmp-consult-features {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.ts-cmp-consult-features li {
  font-size: 0.74rem;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.ts-cmp-consult-features li i {
  color: #10b981;
  font-size: 0.8rem;
}

.ts-cmp-consult-btn {
  background: #ea580c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  transition: background 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.ts-cmp-consult-btn:hover {
  background: #c2410c;
  color: #ffffff;
}

/* ==========================================================================
   Comparison Table Styles
   ========================================================================== */
.ts-cmp-main-section {
  padding: 24px 0 36px;
}

.ts-cmp-table-container {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ts-cmp-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

/* TH & TD Common */
.ts-cmp-table th,
.ts-cmp-table td {
  padding: 12px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
}

.ts-cmp-table th:last-child,
.ts-cmp-table td:last-child {
  border-right: none;
}

/* Attribute Label Column (Col 1) */
.ts-cmp-th-label,
.ts-cmp-td-label {
  width: 170px;
  min-width: 170px;
  background: #f8fafc;
  font-weight: 700;
  font-size: 0.82rem;
  color: #334155;
  border-right: 2px solid #e2e8f0 !important;
}

/* Product Header Cells */
.ts-cmp-th-product {
  width: calc((100% - 170px) / 4);
  min-width: 200px;
  vertical-align: top;
  position: relative;
  background: #ffffff;
  padding: 18px 16px 14px;
  transition: background 0.2s ease;
}

/* Highlighted Column (e.g. PU wheel - Khuyên dùng) */
.ts-cmp-col-accent {
  background: #f7fee7 !important;
  border-left: 2px solid #84cc16;
  border-right: 2px solid #84cc16;
}

.ts-cmp-th-product.ts-cmp-col-accent {
  background: #f7fee7 !important;
  border-top: 3px solid #65a30d;
}

.ts-cmp-td-val.ts-cmp-col-accent {
  background: #f7fee7 !important;
}

/* Dimmed Column when filtering */
.ts-cmp-col-dimmed {
  opacity: 0.35;
  filter: grayscale(0.5);
  transition: all 0.3s ease;
}

/* Remove button */
.ts-cmp-del-col-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  z-index: 3;
  transition: all 0.15s ease;
}

.ts-cmp-del-col-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

/* Recommendation Badge */
.ts-cmp-badge-recommend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #166534;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product Image in Header */
.ts-cmp-img-box {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.ts-cmp-img-box img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.ts-cmp-th-product:hover .ts-cmp-img-box img {
  transform: scale(1.05);
}

.ts-cmp-detail-link {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 6px;
  font-weight: 500;
}

.ts-cmp-detail-link:hover {
  color: var(--ts-primary);
  text-decoration: underline;
}

.ts-cmp-prod-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ts-cmp-prod-name a {
  color: inherit;
  text-decoration: none;
}

.ts-cmp-prod-name a:hover {
  color: var(--ts-primary);
}

.ts-cmp-sku {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 4px;
}

.ts-cmp-rating-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.72rem;
}

.ts-cmp-stars {
  color: #f59e0b;
}

.ts-cmp-badge-tag {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.ts-cmp-badge-tag.hot {
  background: #ffedd5;
  color: #c2410c;
}

.ts-cmp-badge-tag.stock {
  background: #dcfce7;
  color: #15803d;
}

.ts-cmp-price-tag {
  font-size: 1.15rem;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 10px;
}

/* Button Pair (Cart + Quote) */
.ts-cmp-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ts-cmp-btn-addcart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ts-cmp-btn-addcart:hover {
  background: #00573d;
  border-color: #00573d;
  color: #ffffff;
}

.ts-cmp-btn-rfq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid #f97316;
  background: #f97316;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ts-cmp-btn-rfq:hover {
  background: #ea580c;
  border-color: #ea580c;
}

/* Table Body Rows */
.ts-cmp-tr:hover td {
  background-color: #f8fafc;
}

.ts-cmp-tr:nth-child(even) td.ts-cmp-td-val {
  background-color: #fbfcfe;
}

.ts-cmp-td-val {
  font-size: 0.82rem;
  color: #1e293b;
  line-height: 1.4;
}

/* Highlights for row differences */
.ts-cmp-tr.ts-cmp-diff-row td.ts-cmp-td-label {
  border-left: 3px solid #3b82f6;
  font-weight: 800;
  color: #1e40af;
}

/* Empty slot card */
.ts-cmp-empty-slot {
  height: 100%;
  min-height: 280px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: #94a3b8;
}

.ts-cmp-empty-slot i {
  font-size: 2rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   Expert Reviews Section
   ========================================================================== */
.ts-cmp-expert-section {
  padding: 30px 0 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ts-cmp-sec-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ts-cmp-expert-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ts-cmp-expert-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ts-cmp-expert-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ts-cmp-expert-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #e2e8f0;
}

.ts-cmp-expert-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.ts-cmp-expert-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 0;
}

/* ==========================================================================
   Related Products Section
   ========================================================================== */
.ts-cmp-rel-section {
  padding: 30px 0 40px;
}

.ts-cmp-rel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  height: 100%;
}

.ts-cmp-rel-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ts-cmp-rel-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ts-cmp-rel-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.ts-cmp-rel-info {
  min-width: 0;
}

.ts-cmp-rel-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.ts-cmp-rel-name a {
  color: inherit;
  text-decoration: none;
}

.ts-cmp-rel-name a:hover {
  color: var(--ts-primary);
}

.ts-cmp-rel-sku {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-bottom: 2px;
}

.ts-cmp-rel-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #dc2626;
}

.ts-cmp-rel-btn-cart {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #10b981;
  background: #ecfdf5;
  color: #065f46;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.ts-cmp-rel-btn-cart:hover {
  background: #00573d;
  color: #ffffff;
  border-color: #00573d;
}

/* ==========================================================================
   28. NATIVE MOBILE APP EXPERIENCE ARCHITECTURE (APP-LIKE RESPONSIVE)
   ========================================================================== */

/* 1. Global Viewport & Mobile Reset */
html {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  overflow-x: clip !important; /* clip keeps position: sticky working */
  max-width: 100vw;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    background-color: #f8fafc;
  }

  /* Hide desktop topbar on mobile */
  .ts-topbar {
    display: none !important;
  }

  /* Make header sticky and compact */
  .ts-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    padding: 8px 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .ts-header-flex {
    flex-wrap: wrap !important;
    gap: 8px !important;
    justify-content: space-between !important;
  }

  /* Left Header Group (Hamburger + Logo) */
  .ts-logo-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .ts-mob-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  .ts-mob-menu-btn:active {
    background: #e2e8f0;
    transform: scale(0.94);
  }

  .ts-logo-img {
    height: 32px !important;
    width: auto !important;
  }

  /* Right Header Actions on Mobile */
  .ts-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .ts-hotline-item,
  .ts-header-action-unit:not([href*="cart.html"]) {
    display: none !important;
  }

  .ts-mob-call-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    flex-shrink: 0;
  }

  .ts-mob-call-btn:active {
    background: #a7f3d0;
    transform: scale(0.94);
  }

  .ts-header-action-unit[href*="cart.html"] {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .ts-header-action-unit[href*="cart.html"] .ts-action-mainlabel {
    display: none !important;
  }

  .ts-header-action-unit[href*="cart.html"] .ts-action-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #0f172a;
    position: relative;
  }

  /* Mobile Search Bar Row (Row 2) */
  .ts-search-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2px 0 0 0 !important;
  }

  .ts-search-input {
    height: 38px !important;
    border-radius: 20px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 70px 0 14px !important;
    font-size: 0.82rem !important;
  }

  .ts-search-input:focus {
    background: #ffffff !important;
    border-color: #00573d !important;
  }

  .ts-search-btn {
    width: 30px !important;
    height: 30px !important;
    right: 4px !important;
    top: 4px !important;
    border-radius: 50% !important;
    font-size: 0.8rem !important;
  }

  /* Hide Desktop Horizontal Navigation Bar on Mobile */
  .ts-nav {
    display: none !important;
  }

  /* Container padding normalization */
  .container-ts {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ==========================================================================
   2. NATIVE BOTTOM NAVIGATION BAR (BOTTOM TAB BAR)
   ========================================================================== */
.ts-bottom-nav {
  display: none;
}

@media (max-width: 991.98px) {
  .ts-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    z-index: 1040;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    justify-content: space-around;
    align-items: center;
  }

  .ts-bottom-nav.ts-bnav-hidden,
  .ts-bottom-nav.d-none {
    display: none !important;
  }

  .ts-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    padding: 5px 0;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.15s ease;
    position: relative;
    user-select: none;
  }

  .ts-bnav-item:active {
    transform: scale(0.92);
  }

  .ts-bnav-item.active {
    color: #00573d !important;
    font-weight: 700;
  }

  .ts-bnav-icon {
    font-size: 1.25rem;
    line-height: 1.1;
    margin-bottom: 2px;
  }

  .ts-bnav-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 16px);
    background: #ea580c;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
  }
}

/* ==========================================================================
   3. MOBILE APP DRAWER (OFFCANVAS SLIDE-OUT)
   ========================================================================== */
.ts-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ts-drawer-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.ts-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 84vw;
  max-width: 330px;
  background: #ffffff;
  z-index: 1055;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.ts-mobile-drawer.show {
  transform: translateX(0);
}

.ts-mdrawer-header {
  background: linear-gradient(135deg, #00573d 0%, #0d6938 100%);
  color: #ffffff;
  padding: 18px 16px 14px;
  position: relative;
}

.ts-mdrawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
}

.ts-mdrawer-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.ts-mdrawer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #00573d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.ts-mdrawer-user-info h6 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.ts-mdrawer-user-info span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.ts-mdrawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
}

.ts-mdrawer-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 14px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.ts-mdrawer-qbtn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #1e293b;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.ts-mdrawer-qbtn i {
  font-size: 1.15rem;
}

.ts-mdrawer-section-title {
  padding: 10px 16px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.ts-mcat-item {
  border-bottom: 1px solid #f8fafc;
}

.ts-mcat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
}

.ts-mcat-header:active {
  background: #f1f5f9;
}

.ts-mcat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ts-mcat-left i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.ts-mcat-arrow {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.ts-mcat-item.active .ts-mcat-arrow {
  transform: rotate(180deg);
}

.ts-mcat-sub {
  display: none;
  background: #f8fafc;
  padding: 4px 0 8px 46px;
}

.ts-mcat-sub.show {
  display: flex;
  flex-direction: column;
}

.ts-mcat-sub a {
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #475569;
  text-decoration: none;
}

.ts-mcat-sub a.active,
.ts-mcat-sub a:hover {
  color: #00573d;
  font-weight: 600;
}

.ts-mdrawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 1px solid #f8fafc;
}

.ts-mdrawer-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ts-mdrawer-link i {
  font-size: 1.05rem;
  color: #00573d;
  width: 20px;
  text-align: center;
}

.ts-mdrawer-footer {
  padding: 12px 14px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* ==========================================================================
   4. MOBILE HOMEPAGE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .ts-hero-section {
    padding: 12px 0 20px !important;
  }

  .ts-hero-slide-item {
    border-radius: 10px !important;
    min-height: 180px !important;
    padding: 20px 16px !important;
  }

  .ts-hero-badge {
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
    margin-bottom: 8px !important;
  }

  .ts-hero-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .ts-hero-desc {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .ts-hero-btns {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .ts-hero-btns .ts-btn-primary,
  .ts-hero-btns .ts-btn-secondary {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* 2-column mobile product cards across homepage */
  .ts-prods-grid,
  .ts-tab-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Section Title mobile scaling */
  .ts-section-title {
    font-size: 1.1rem !important;
  }

  .ts-section-header {
    margin-bottom: 12px !important;
  }

  /* Category pills horizontal swipe strip */
  .ts-cat-strip {
    display: flex !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ts-cat-strip-item {
    flex: 0 0 110px !important;
    scroll-snap-align: start !important;
  }

  /* Brand logos horizontal swipe */
  .ts-brands-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
}

/* ==========================================================================
   5. MOBILE CATEGORY PAGE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .ts-category-layout {
    display: block !important;
  }

  .ts-category-sidebar {
    display: none !important;
  }

  .ts-products-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ts-cat-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    border: 1px solid #e2e8f0 !important;
  }

  .ts-cat-toolbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .ts-cat-results-count {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
  }

  .ts-active-filter-tag {
    display: none !important;
  }

  .ts-view-modes {
    display: none !important;
  }

  .ts-cat-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .ts-product-card {
    padding: 10px !important;
    border-radius: 8px !important;
  }

  .ts-product-img-wrap {
    height: 120px !important;
  }

  .ts-product-title {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    min-height: 2.6em !important;
    margin-bottom: 4px !important;
  }

  .ts-product-price {
    font-size: 0.95rem !important;
  }

  .ts-product-footer-actions {
    flex-direction: column !important;
    gap: 4px !important;
  }

  .ts-btn-add-cart,
  .ts-btn-product-quote {
    padding: 5px 6px !important;
    font-size: 0.7rem !important;
  }
}

/* ==========================================================================
   6. MOBILE PRODUCT DETAIL OPTIMIZATIONS & APP PURCHASE BAR
   ========================================================================== */
.ts-mob-buy-bar {
  display: none;
}

@media (max-width: 768px) {
  .ts-product-detail-hero {
    padding: 12px 0 20px !important;
  }

  .ts-pdetail-main-img-box {
    max-height: 260px !important;
  }

  .ts-pdetail-h1 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }

  .ts-pdetail-price-main {
    font-size: 1.35rem !important;
  }

  .ts-pdetail-tabs-header {
    gap: 16px !important;
    margin-bottom: 18px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ts-pdetail-tabs-header::-webkit-scrollbar {
    display: none;
  }

  .ts-pdetail-tab-btn {
    flex-shrink: 0 !important;
    font-size: 0.82rem !important;
    padding: 8px 2px !important;
  }
}

@media (max-width: 991.98px) {
  .ts-pdetail-actions-row {
    display: none !important; /* Replaced by sticky app purchase bar */
  }

  .ts-btn-bulk-quote-full {
    display: none !important;
  }

  /* App Buy Bar Fixed to Bottom */
  .ts-mob-buy-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    z-index: 1045;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.08);
    gap: 8px;
    align-items: center;
  }

  .ts-mob-buy-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #475569;
    text-decoration: none;
    font-size: 0.6rem;
    flex-shrink: 0;
    line-height: 1;
    gap: 2px;
  }

  .ts-mob-buy-icon-btn i {
    font-size: 1.1rem;
    color: #00573d;
  }

  .ts-mob-btn-quote {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid #00573d;
    background: #f0fdf4;
    color: #00573d;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }

  .ts-mob-btn-cart {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: #ea580c;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
}

/* ==========================================================================
   7. MOBILE TOASTS & MODALS ELEVATION
   ========================================================================== */
@media (max-width: 768px) {
  .ts-toast-container {
    bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    left: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .modal-dialog {
    margin: 10px !important;
  }
}

/* ==========================================================================
   8. TABLET APP LAYOUT (769px – 991.98px) — iPad-style single-row header
   ========================================================================== */
@media (min-width: 769px) and (max-width: 991.98px) {
  .container-ts {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .ts-header {
    padding: 10px 0 !important;
  }

  .ts-header-flex {
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .ts-mob-menu-btn { order: 0; }
  .ts-logo-wrap { order: 1; }

  .ts-header-flex > .ts-search-wrap {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 8px !important;
  }

  .ts-header-actions {
    order: 3 !important;
  }

  .ts-logo-img {
    height: 36px !important;
  }

  .ts-search-input {
    height: 42px !important;
    border-radius: 22px !important;
    font-size: 0.86rem !important;
  }

  .ts-search-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .ts-mob-call-btn,
  .ts-header-action-unit[href*="cart.html"] .ts-action-icon-wrap {
    width: 40px !important;
    height: 40px !important;
  }

  /* iPad-style tab bar: centered items, not stretched edge-to-edge */
  .ts-bottom-nav {
    justify-content: center !important;
    gap: 8px;
    height: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ts-bnav-item {
    flex: 0 1 140px !important;
    font-size: 0.74rem !important;
  }

  .ts-bnav-icon {
    font-size: 1.4rem !important;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .ts-mobile-drawer {
    max-width: 380px;
  }

  /* Homepage product grids: 3 columns on tablet */
  .ts-prods-grid,
  .ts-tab-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  /* Buy bar on tablet: centered, comfortable width */
  .ts-mob-buy-bar {
    padding-left: max(24px, calc((100vw - 720px) / 2)) !important;
    padding-right: max(24px, calc((100vw - 720px) / 2)) !important;
  }

  .ts-mob-btn-quote,
  .ts-mob-btn-cart {
    height: 46px !important;
    font-size: 0.9rem !important;
  }

  .ts-mob-buy-icon-btn {
    width: 52px !important;
    height: 46px !important;
  }
}

/* ==========================================================================
   9. SEARCH DROPDOWN AS FULL-WIDTH APP SHEET (≤ 991.98px)
   ========================================================================== */
@media (max-width: 991.98px) {
  .ts-search-dropdown {
    position: fixed !important;
    top: var(--ts-header-h, 104px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    max-height: calc(100vh - var(--ts-header-h, 104px) - 64px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-radius: 0 0 16px 16px !important;
    border-left: none !important;
    border-right: none !important;
  }

  .ts-search-top-grid,
  .ts-search-bottom-grid {
    grid-template-columns: 1fr !important;
  }

  .ts-search-col:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9;
  }
}

/* ==========================================================================
   10. CATEGORY FILTER BOTTOM SHEET (≤ 991.98px)
   ========================================================================== */
.ts-filter-open-btn,
.ts-fsheet-close,
.ts-fsheet-footer,
.ts-fsheet-handle,
.ts-fsheet-backdrop {
  display: none;
}

@media (max-width: 991.98px) {
  .ts-category-layout {
    display: block !important;
  }

  .ts-sidebar-column {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 640px;
    margin: 0 auto;
    max-height: 86vh;
    z-index: 1060;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25);
    transform: translateY(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column;
    flex: none !important;
  }

  .ts-sidebar-column.show {
    transform: translateY(0);
  }

  .ts-sidebar-column .ts-filter-sidebar {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-top: 0 !important;
  }

  .ts-sidebar-column .ts-filter-header-title {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #ffffff;
    padding-top: 6px;
    padding-bottom: 12px;
    gap: 10px;
  }

  .ts-fsheet-handle {
    display: block;
    width: 42px;
    height: 5px;
    border-radius: 3px;
    background: #cbd5e1;
    margin: 10px auto 6px;
    flex-shrink: 0;
  }

  .ts-fsheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.9rem;
    margin-left: auto;
    cursor: pointer;
  }

  .ts-fsheet-footer {
    display: flex;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
  }

  .ts-fsheet-reset,
  .ts-fsheet-apply {
    height: 46px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .ts-fsheet-reset {
    flex: 0 0 34%;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
  }

  .ts-fsheet-apply {
    flex: 1;
    background: #00573d;
    color: #ffffff;
    border: none;
  }

  .ts-fsheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    z-index: 1058;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .ts-fsheet-backdrop.show {
    opacity: 1;
    pointer-events: auto;
  }

  body.ts-sheet-open {
    overflow: hidden !important;
  }

  /* Sticky app toolbar on category page */
  .ts-cat-toolbar {
    position: sticky;
    top: var(--ts-header-h, 104px);
    z-index: 20;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }

  .ts-cat-toolbar-left,
  .ts-cat-toolbar-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap;
  }

  .ts-filter-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
    border: none;
    background: #00573d;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  }

  .ts-filter-open-btn .ts-filter-count-badge {
    background: #ea580c;
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.65rem;
    padding: 1px 6px;
  }

  .ts-filter-open-btn:active {
    transform: scale(0.96);
  }

  .ts-sort-select {
    height: 36px;
    border-radius: 18px !important;
  }
}

@media (max-width: 768px) {
  .ts-cat-toolbar-right > a[href="compare.html"],
  .ts-sort-wrap > span {
    display: none !important;
  }

  .ts-cat-results-count {
    font-size: 0.72rem !important;
  }

  .ts-sort-select {
    max-width: 140px;
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   11. CART PAGE MOBILE APP CARD TRANSFORMATION & TABLET FITTING
   ========================================================================== */
@media (min-width: 769px) and (max-width: 991.98px) {
  .ts-cart-table {
    min-width: 100% !important;
  }

  .ts-cart-table th,
  .ts-cart-table td {
    padding: 12px 6px !important;
    font-size: 0.78rem !important;
  }

  .ts-cart-prod-cell {
    min-width: 180px !important;
    gap: 8px !important;
  }

  .ts-cart-prod-img {
    width: 48px !important;
    height: 48px !important;
  }

  .ts-cart-prod-name {
    font-size: 0.8rem !important;
  }

  .ts-cart-benefits-card {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .ts-cart-benefits-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  .ts-cart-table-card {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .ts-cart-table-wrap {
    overflow-x: visible !important;
  }

  .ts-cart-table,
  .ts-cart-table tbody {
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .ts-cart-table thead {
    display: none !important;
  }

  .ts-cart-table tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    position: relative !important;
  }

  /* 1. Checkbox */
  .ts-cart-table tr td:nth-child(1) {
    display: flex !important;
    align-items: center !important;
    width: 28px !important;
    padding: 0 !important;
    border: none !important;
  }

  /* 2. Product info & thumbnail */
  .ts-cart-table tr td:nth-child(2) {
    display: block !important;
    flex: 1 1 calc(100% - 32px) !important;
    padding: 0 !important;
    border: none !important;
  }

  .ts-cart-prod-cell {
    min-width: 0 !important;
    gap: 10px !important;
  }

  .ts-cart-prod-img {
    width: 58px !important;
    height: 58px !important;
  }

  .ts-cart-prod-name {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
  }

  /* 3. Đơn vị - hide to save space */
  .ts-cart-table tr td:nth-child(3) {
    display: none !important;
  }

  /* 4. Đơn giá - hide on small screens */
  .ts-cart-table tr td:nth-child(4) {
    display: none !important;
  }

  /* 5. Stepper quantity */
  .ts-cart-table tr td:nth-child(5) {
    display: flex !important;
    align-items: center !important;
    padding: 10px 0 0 28px !important;
    border: none !important;
    width: auto !important;
  }

  .ts-cart-stepper {
    border-radius: 6px !important;
  }

  .ts-cart-step-btn {
    width: 26px !important;
    height: 26px !important;
  }

  .ts-cart-step-input {
    width: 32px !important;
    height: 26px !important;
    font-size: 0.78rem !important;
  }

  /* 6. Subtotal */
  .ts-cart-table tr td:nth-child(6) {
    display: flex !important;
    align-items: center !important;
    padding: 10px 0 0 10px !important;
    border: none !important;
    flex: 1 !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
  }

  /* 7. Action delete & bookmark */
  .ts-cart-table tr td:nth-child(7) {
    display: flex !important;
    align-items: center !important;
    padding: 10px 0 0 0 !important;
    border: none !important;
    width: auto !important;
    margin-left: auto !important;
  }

  .ts-cart-action-group {
    flex-direction: row !important;
    gap: 12px !important;
  }

  .ts-cart-action-btn span {
    display: none !important;
  }

  .ts-cart-action-btn i {
    font-size: 1.15rem !important;
    color: #94a3b8 !important;
  }

  .ts-cart-action-btn.btn-delete i {
    color: #ef4444 !important;
  }

  /* Summary Card full width */
  .ts-cart-summary-card {
    border-radius: 12px !important;
    padding: 16px !important;
  }
}

/* ==========================================================================
   12. CHECKOUT PAGE APP OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .ts-chk-steps-nav {
    padding: 10px !important;
    gap: 6px !important;
    overflow-x: auto !important;
  }

  .ts-chk-card {
    border-radius: 12px !important;
    padding: 14px !important;
  }

  .ts-chk-suggested-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .ts-chk-sug-thumb {
    width: 44px !important;
    height: 44px !important;
  }

  .ts-chk-sug-title {
    font-size: 0.72rem !important;
  }
}

/* ==========================================================================
   13. ACCOUNT PAGE APP OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 991.98px) {
  .ts-acc-layout {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .ts-acc-sidebar {
    width: 100% !important;
  }

  .ts-acc-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .ts-acc-orders-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .ts-acc-main-head {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .ts-acc-tier-card {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .ts-acc-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}




