/*
Theme Name: TriCity Bearings Custom Theme
Theme URI: https://tricitybearings.com
Description: High-density B2B WooCommerce theme engineered for industrial power transmission, bearing interchange, and customer portals.
Version: 5.5.0
Author: TriCity Bearings Development Team
Text Domain: tricity-theme
*/

/* =============================================================================
   1. BASE GLOBAL & STICKY FOOTER STRUCTURAL RESET
   ============================================================================= */
html {
  height: 100% !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

#page, #content, .site-content {
  flex: 1 0 auto !important;
  width: 100% !important;
  overflow-x: clip !important;
}

body.tcb-drawer-open {
  overflow: hidden !important;
}

*, *:before, *:after {
  box-sizing: inherit !important;
}

a, a:link, a:visited {
  color: #0066cc !important;
  text-decoration: underline !important;
  transition: color 0.15s ease !important;
}

a:hover {
  color: #004488 !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =============================================================================
   2. HIGH-DENSITY B2B HEADER (CAPABILITY-BASED INPUT ROUTING)
   ============================================================================= */
.tcb-header-fixed {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background-color: #000000 !important;
  border-bottom: 1px solid #1a1a1a !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

.tcb-header-container {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tcb-header-row-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 88px !important;
  gap: 20px !important;
  width: 100% !important;
}

.tcb-left-group {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.tcb-hamburger-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 0 !important;
  cursor: pointer !important;
}

.tcb-brand-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  margin-left: 0.5in !important;
}

.tcb-header-logo-img {
  height: 74px !important;
  width: auto !important;
  max-width: 370px !important;
  object-fit: contain !important;
}

.tcb-center-group.tcb-desktop-search-container {
  flex: 1 !important;
  max-width: 888px !important;
  margin: 0 auto !important;
}

.tcb-search-form {
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
}

.tcb-search-input {
  width: 100% !important;
  height: 36px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 0 42px 0 16px !important;
  color: #000000 !important;
  font-size: 14px !important;
  outline: none !important;
}

.tcb-search-submit {
  position: absolute !important;
  right: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  color: #334155 !important;
  cursor: pointer !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
}

.tcb-right-group {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.tcb-desktop-sales-contact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  margin-right: 8px !important;
}

.tcb-sales-link, .tcb-sales-link:link, .tcb-sales-link:visited, .tcb-sales-link:hover, .tcb-sales-link:active, .tcb-sales-link:focus {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.tcb-sales-link svg {
  stroke: #ffffff !important;
  flex-shrink: 0 !important;
}

.tcb-cart-btn, .tcb-account-portal-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  cursor: pointer !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.tcb-cart-btn .tcb-desktop-cart-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.tcb-cart-btn .tcb-cart-count {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  background-color: #dc2626 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  border: 1.5px solid #000000 !important;
  z-index: 2 !important;
}

.tcb-mro-shortcut, .tcb-mro-shortcut:link, .tcb-mro-shortcut:visited, .tcb-mro-shortcut:hover, .tcb-mro-shortcut:active, .tcb-mro-shortcut:focus {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  margin-right: 12px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  transition: opacity 0.2s ease !important;
}

.tcb-mro-shortcut:hover {
  opacity: 0.85 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.tcb-mro-shortcut span {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.tcb-mro-icon-animated {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
  transform-origin: center !important;
  animation: tcbToolWiggle 1.2s ease-in-out 0.9s 2 !important;
}

.tcb-mro-shortcut:hover .tcb-mro-icon-animated {
  animation: tcbToolWiggle 0.6s ease-in-out infinite !important;
}

@keyframes tcbToolWiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(4deg); }
}

.tcb-mobile-search-glass-btn {
  display: none !important;
}

.tcb-header-row-secondary.tcb-mobile-search-container {
  display: none;
  padding: 10px 0 14px !important;
}

@media screen and (hover: hover) and (pointer: fine) {
  .tcb-header-fixed,
  .tcb-header-container {
    min-width: 1024px !important;
  }
}

@media screen and (pointer: coarse) {
  .tcb-desktop-sales-contact,
  .tcb-desktop-auth-links {
    display: none !important;
  }

  .tcb-header-fixed,
  .tcb-header-container {
    min-width: 100% !important;
  }
}

/* =============================================================================
   3. DRAWERS & BACKDROP (FULL VIEWPORT COVERAGE)
   ============================================================================= */
.tcb-drawer-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.65) !important;
  z-index: 1000008 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.tcb-drawer-backdrop.active, .tcb-drawer-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
}

.tcb-drawer {
  position: fixed !important;
  top: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  width: 320px !important;
  max-width: 85vw !important;
  background: #000000 !important;
  z-index: 1000010 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s ease !important;
}

.tcb-drawer-left {
  left: 0 !important;
  transform: translateX(-100%) !important;
}

.tcb-drawer-right {
  right: 0 !important;
  transform: translateX(100%) !important;
}

.tcb-drawer.active, .tcb-drawer.open {
  transform: translateX(0) !important;
}

.tcb-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: #111111 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.tcb-drawer-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 1px !important;
}

.tcb-drawer-close {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 24px !important;
  cursor: pointer !important;
}

.tcb-drawer-body {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 12px 0 !important;
}

.tcb-drawer-menu-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tcb-drawer-menu-list li a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 20px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* =============================================================================
   4. HEADER AUTHENTICATION & UNIFIED DARK POPOVER MODAL
   ============================================================================= */
.tcb-auth-links-group {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: 8px !important;
  position: relative !important;
}

.tcb-auth-link-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: color 0.15s ease !important;
}

.tcb-auth-link-btn:hover, .tcb-auth-link-btn:focus {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

.tcb-auth-sep {
  color: #475569 !important;
  font-size: 13px !important;
  user-select: none !important;
}

.tcb-mobile-user-icon-btn {
  display: none !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 6px !important;
  color: #ffffff !important;
}

.tcb-header-user-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  padding: 6px 14px !important;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: opacity 0.15s ease !important;
}

.tcb-header-user-btn:hover {
  background: transparent !important;
  opacity: 0.85 !important;
}

.tcb-auth-popover-box {
  display: none !important;
  width: 380px !important;
  height: 380px !important;
  background: #000000 !important;
  border: 1px solid #1a1a1a !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8) !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
}

@media screen and (hover: hover) and (pointer: fine) {
  .tcb-auth-popover-box {
    position: fixed !important;
    top: 88px !important;
    right: 24px !important;
    left: auto !important;
    bottom: auto !important;
  }
}

.tcb-auth-popover-box.active {
  display: flex !important;
  flex-direction: column !important;
}

.tcb-popover-close-btn {
  position: absolute !important;
  top: 12px !important;
  right: 14px !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 2px !important;
}

.tcb-popover-close-btn:hover {
  color: #ffffff !important;
}

.tcb-popover-tab-bar {
  display: flex !important;
  background: #1e293b !important;
  border-radius: 6px !important;
  padding: 3px !important;
  margin-bottom: 16px !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
}

.tcb-popover-tab {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  padding: 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.tcb-popover-tab.active {
  background: #0066cc !important;
  color: #ffffff !important;
}

.tcb-popover-content-body {
  flex: 1 !important;
  overflow: hidden !important;
  position: relative !important;
}

.tcb-popover-view {
  display: none !important;
  height: 100% !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.tcb-popover-view.active {
  display: flex !important;
}

.tcb-form-field {
  margin-bottom: 12px !important;
}

.tcb-form-field label {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #cbd5e1 !important;
  margin-bottom: 4px !important;
}

.tcb-input {
  width: 100% !important;
  height: 38px !important;
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  font-size: 13.5px !important;
}

.tcb-input:focus {
  outline: none !important;
  border-color: #38bdf8 !important;
}

.tcb-form-field-row {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 14px !important;
}

.tcb-checkbox-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12.5px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
}

.tcb-popover-submit-btn, .tcb-popover-submit-btn:link, .tcb-popover-submit-btn:visited, .tcb-register-action-btn, .tcb-register-action-btn:link, .tcb-register-action-btn:visited {
  width: 100% !important;
  height: 42px !important;
  background-color: #0066cc !important;
  border: none !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.tcb-popover-submit-btn:hover, .tcb-register-action-btn:hover {
  background-color: #004fb3 !important;
  color: #ffffff !important;
}

.tcb-popover-sublink-wrap {
  text-align: center !important;
  margin-top: 10px !important;
}

.tcb-popover-lost-link {
  font-size: 12.5px !important;
  color: #38bdf8 !important;
  text-decoration: none !important;
}

.tcb-popover-lost-link:hover {
  text-decoration: underline !important;
}

.tcb-popover-headline {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.3 !important;
}

.tcb-popover-benefits-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  overflow: hidden !important;
}

.tcb-popover-benefits-list li {
  font-size: 13px !important;
  color: #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
}

.tcb-check-icon {
  color: #10b981 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

/* =============================================================================
   5. REGISTRATION PAGE ISOLATED OVERRIDES & TERMS MODAL
   ============================================================================= */
body.page-template-page-register-php .b2bking_registration_roles_dropdown_section,
body.page-template-page-register .b2bking_registration_roles_dropdown_section,
body.page-id-2157 .b2bking_registration_roles_dropdown_section,
p.b2bking_registration_roles_dropdown_section {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.page-template-page-register-php .woocommerce-privacy-policy-text,
body.page-id-2157 .woocommerce-privacy-policy-text {
  display: none !important;
}

body.page-template-page-register-php .u-column1,
body.page-template-page-register .u-column1,
body.page-id-2157 .u-column1,
body.page-template-page-register-php .col-1,
body.page-template-page-register .col-1,
body.page-id-2157 .col-1,
.page-template-page-register-php #customer_login .u-column1,
.page-template-page-register #customer_login .col-1 {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-page-register-php .u-column2,
body.page-template-page-register .u-column2,
body.page-id-2157 .u-column2,
body.page-template-page-register-php .col-2,
body.page-template-page-register .col-2,
body.page-id-2157 .col-2,
.page-template-page-register-php #customer_login .u-column2,
.page-template-page-register #customer_login .col-2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-page-register-php form.register,
.page-template-page-register form.register,
body.page-id-2157 form.register {
  width: 100% !important;
  box-sizing: border-box !important;
}

body.page-template-page-register-php form.register .form-row-first,
body.page-template-page-register-php form.register .form-row-last,
body.page-id-2157 form.register .form-row-first,
body.page-id-2157 form.register .form-row-last {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
  clear: both !important;
}

body.page-template-page-register-php form.register .select2-container,
body.page-id-2157 form.register .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

body.page-template-page-register-php form.register .select2-container .select2-selection--single,
body.page-id-2157 form.register .select2-container .select2-selection--single {
  min-height: 44px !important;
  height: auto !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  box-sizing: border-box !important;
}

body.page-template-page-register-php form.register .b2bking_custom_registration_container,
body.page-id-2157 form.register .b2bking_custom_registration_container {
  overflow: visible !important;
}

.tcb-terms-modal-box {
  display: none;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90% !important;
  max-width: 680px !important;
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
  z-index: 9999999 !important;
  box-sizing: border-box !important;
}

.tcb-terms-modal-box.active {
  display: block !important;
}

/* =============================================================================
   6. DUAL-COMPATIBLE UNIVERSAL DASHBOARD CARD SYSTEM (VERSION 5.0.0)
   ============================================================================= */

/* Universal Grid: Works on <div class="tcb-card-grid"> AND <ul class="products"> */
.tcb-card-grid,
.tcb-custom-cat-grid,
ul.products.tcb-custom-cat-grid,
.tax-product_cat ul.products,
.woocommerce ul.products,
.subcat ul,
ul.products,
.woocommerce-account ul.products,
.tcb-dashboard-container ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
  gap: 16px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 30px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
}

/* Clear WooCommerce floats and pseudo elements */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce ul.products li.product-category::before,
.woocommerce ul.products li.product-category::after {
  content: none !important;
  display: none !important;
}

/* Individual Card Container (Supports <li> and <a>) */
.tcb-card-grid > a,
.tcb-card-item,
.tcb-custom-cat-grid li.product-category,
ul.products.tcb-custom-cat-grid li.product-category,
.tax-product_cat ul.products li.product-category,
.woocommerce ul.products li.product-category,
ul.products li.product-category,
.tcb-dashboard-container li.product-category,
.woocommerce-account ul.products li.product-category,
.woocommerce-account .woocommerce-MyAccount-content li.product-category {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 110px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  float: none !important;
  clear: none !important;
  display: flex !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.tcb-card-grid > a:hover,
.tcb-card-item:hover,
.tcb-custom-cat-grid li.product-category:hover,
ul.products.tcb-custom-cat-grid li.product-category:hover,
.tax-product_cat ul.products li.product-category:hover,
.woocommerce ul.products li.product-category:hover,
.tcb-dashboard-container li.product-category:hover,
.woocommerce-account ul.products li.product-category:hover {
  border-color: #0066cc !important;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Card Link Inner Layout */
.tcb-card-item,
.tcb-custom-cat-grid li.product-category a,
ul.products.tcb-custom-cat-grid li.product-category a,
.tax-product_cat ul.products li.product-category a,
.woocommerce ul.products li.product-category a,
.tcb-dashboard-container li.product-category a,
.woocommerce-account ul.products li.product-category a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 14px 16px !important;
  gap: 14px !important;
  text-decoration: none !important;
  color: #000000 !important;
  height: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Media / Thumbnail / Icon Box */
.tcb-card-media-wrap,
.tcb-custom-cat-grid li.product-category img,
.tax-product_cat ul.products li.product-category img,
.woocommerce ul.products li.product-category img,
.tcb-dash-card-icon-wrap,
.tcb-cat-svg-wrap,
.tcb-cat-thumb-frame {
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  float: none !important;
  overflow: hidden !important;
}

.tcb-card-media-wrap img,
.tcb-cat-thumb-frame img {
  width: 100% !important;
  height: 100% !important;
  max-height: 66px !important;
  max-width: 66px !important;
  object-fit: contain !important;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
  margin: 0 auto !important;
}

.tcb-card-media-wrap svg,
.tcb-cat-svg-wrap svg {
  width: 44px !important;
  height: 44px !important;
}

/* Text Section */
.tcb-card-text-wrap,
.category-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Title (2-Line Clamp) */
.tcb-card-title,
.woocommerce-loop-category__title,
.category-text-wrap h2.woocommerce-loop-category__title,
.category-text-wrap h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Description (2-Line Clamp) */
.tcb-card-desc,
.category-description,
.category-text-wrap .category-description,
.category-text-wrap p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

mark.count, .woocommerce-loop-category__title mark {
  display: none !important;
}

/* =============================================================================
   UNIVERSAL DASHBOARD-STYLE CARD SYSTEM (VERSION 5.0.0)
   ============================================================================= */

/* Universal Fluid Auto-Fill Grid (Replaces old tcb-custom-cat-grid completely) */
.tcb-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)) !important;
  gap: 16px !important;
  margin: 20px 0 30px 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

/* Individual Card Tile */
.tcb-card-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 14px 16px !important;
  gap: 14px !important;
  text-decoration: none !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
  height: 100% !important;
  width: 100% !important;
  min-height: 110px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.tcb-card-item:hover {
  border-color: #0066cc !important;
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* Media / Thumbnail / Icon Box */
.tcb-card-media-wrap {
  flex: 0 0 74px !important;
  width: 74px !important;
  height: 74px !important;
  min-width: 74px !important;
  min-height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.tcb-card-media-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-height: 66px !important;
  max-width: 66px !important;
  object-fit: contain !important;
  background: transparent !important;
  display: block !important;
  margin: 0 auto !important;
}

.tcb-card-media-wrap svg {
  width: 44px !important;
  height: 44px !important;
}

/* Text Section */
.tcb-card-text-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Title (2-Line Clamp) */
.tcb-card-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Description (2-Line Clamp) */
.tcb-card-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  text-transform: none !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

mark.count {
  display: none !important;
}

/* =============================================================================
   7. ULTRA-THIN SINGLE CENTERED ROW FOOTER
   ============================================================================= */
footer.tcb-slim-footer {
  flex-shrink: 0 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  width: 100% !important;
  padding: 10px 24px !important;
  box-sizing: border-box !important;
  border-top: 1px solid #1a1a1a !important;
  margin-top: auto !important;
  clear: both !important;
  display: block !important;
}

.tcb-slim-footer-container {
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

footer.tcb-slim-footer a, footer.tcb-slim-footer a:link, footer.tcb-slim-footer a:visited, .tcb-slim-footer-container a, .tcb-slim-footer-container a:link, .tcb-slim-footer-container a:visited {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.15s ease !important;
}

footer.tcb-slim-footer a:hover, footer.tcb-slim-footer a:focus {
  color: #0066cc !important;
  text-decoration: underline !important;
}

.tcb-slim-sep {
  color: #475569 !important;
  font-size: 12px !important;
  user-select: none !important;
}

.tcb-slim-bullet {
  color: #475569 !important;
  font-size: 14px !important;
  user-select: none !important;
  margin: 0 4px !important;
}

.tcb-slim-social {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.tcb-slim-social a, .tcb-slim-social a:link, .tcb-slim-social a:visited {
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.tcb-slim-social svg {
  fill: #ffffff !important;
  color: #ffffff !important;
  transition: fill 0.15s ease, opacity 0.15s ease !important;
}

.tcb-slim-social a:hover svg {
  fill: #0066cc !important;
  color: #0066cc !important;
}

.tcb-slim-copyright {
  font-size: 13px !important;
  color: #94a3b8 !important;
  white-space: nowrap !important;
}

/* =============================================================================
   8. ACCOUNT PORTAL ENDPOINT STYLING & UNMAPPED NOTICE SUPPRESSION
   ============================================================================= */
.woocommerce-account nav.woocommerce-MyAccount-navigation,
.woocommerce-account .tcb-page-header {
  display: none !important;
}

.woocommerce-account .tcb-static-page-wrapper,
.woocommerce-account .tcb-terms-container,
.woocommerce-account article.page,
.woocommerce-account .woocommerce {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
  padding-top: 0 !important;
}

.tcb-endpoint-wrapper {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-top: 0 !important;
  margin-bottom: 40px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.invoice_container.mw_wsfqo_p_ic h2.mw_wsfqo_cbh2,
.invoice_container.mw_wsfqo_p_ic h2.mw_wsfqo_mih2 {
  display: none !important;
}

.mw_wsfqo_p_ic .alert.alert-warning,
.invoice_container .alert-warning {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.tcb-invoice-kpi-deck {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.tcb-kpi-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.tcb-kpi-card.tcb-kpi-balance {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  border-left: 5px solid #10b981 !important;
}

.tcb-kpi-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  margin-bottom: 4px !important;
}

.tcb-kpi-balance .tcb-kpi-label {
  color: #047857 !important;
}

.tcb-kpi-value {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
}

.tcb-kpi-balance .tcb-kpi-value {
  color: #065f46 !important;
}

.tcb-kpi-badge {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-top: 6px !important;
  display: inline-block !important;
}

.tcb-badge-good {
  color: #047857 !important;
}

.tcb-badge-info {
  color: #0066cc !important;
}

.tcb-kpi-btn {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.15s ease !important;
}

.tcb-btn-blue {
  background-color: #0066cc !important;
  color: #ffffff !important;
}

.tcb-btn-blue:hover {
  background-color: #004fb3 !important;
}

.tcb-btn-gray {
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
}

.tcb-btn-gray:hover {
  background-color: #cbd5e1 !important;
}

.tcb-invoice-filter-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
}

.tcb-search-filter-input-wrap {
  position: relative !important;
  flex: 1 !important;
  max-width: 380px !important;
}

.tcb-search-filter-input-wrap input {
  width: 100% !important;
  height: 38px !important;
  padding: 0 12px 0 36px !important;
  font-size: 13.5px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  outline: none !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

.tcb-search-filter-input-wrap .tcb-search-icon {
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.tcb-invoice-status-tabs {
  display: flex !important;
  gap: 8px !important;
}

.tcb-tab-filter {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.tcb-tab-filter:hover {
  border-color: #0066cc !important;
  color: #0066cc !important;
}

.tcb-tab-filter.active {
  background: #0066cc !important;
  color: #ffffff !important;
  border-color: #0066cc !important;
}

.tcb-portal-table-container.tcb-invoice-slider-track {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-snap-type: x mandatory !important;
  box-sizing: border-box !important;
}

.tcb-portal-table-container table,
.woocommerce-account table.shop_table,
table.invoice_table {
  width: 100% !important;
  min-width: 720px !important;
  border-collapse: collapse !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  margin-top: 4px !important;
  font-size: 13.5px !important;
}

.tcb-portal-table-container table thead,
.woocommerce-account table.shop_table thead,
table.invoice_table thead {
  background-color: #f1f5f9 !important;
}

.tcb-portal-table-container table th,
.woocommerce-account table.shop_table th,
table.invoice_table th {
  color: #0f172a !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  padding: 12px 14px !important;
  text-align: left !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

.tcb-portal-table-container table td,
.woocommerce-account table.shop_table td,
table.invoice_table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  vertical-align: middle !important;
}

.tcb-portal-table-container table tr:nth-child(even),
.woocommerce-account table.shop_table tr:nth-child(even),
table.invoice_table tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.tcb-portal-table-container table tr:hover,
.woocommerce-account table.shop_table tr:hover,
table.invoice_table tr:hover {
  background-color: #f0f7ff !important;
}

table.invoice_table button.btn-pdf,
table.invoice_table .btn,
.tcb-portal-table-container table a.button {
  background-color: #0066cc !important;
  color: #ffffff !important;
  border: none !important;
  padding: 6px 16px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.15s ease !important;
}

table.invoice_table button.btn-pdf:hover,
.tcb-portal-table-container table a.button:hover {
  background-color: #004fb3 !important;
}

.mwqs_paginate_div {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 20px !important;
  padding-top: 12px !important;
  border-top: 1px solid #e2e8f0 !important;
  font-size: 13px !important;
  color: #64748b !important;
}

.mwqs_paginate_div .pagination a,
.mwqs_paginate_div .pagination span {
  padding: 6px 12px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  margin-left: 4px !important;
  text-decoration: none !important;
  color: #0f172a !important;
}

.mwqs_paginate_div .pagination span.current {
  background-color: #0066cc !important;
  color: #ffffff !important;
  border-color: #0066cc !important;
}

/* =============================================================================
   9. MOBILE & TOUCH RESPONSIVE OVERRIDES (< 991px TOUCH VIEWPORTS ONLY)
   ============================================================================= */
@media screen and (max-width: 991px) {
  html, body, 
  body.tax-product_cat, 
  body.archive, 
  body.woocommerce-account, 
  body.page-id-28 {
    margin: 0 !important;
    padding: 0 !important;
  }

  #page, #content, .site-content {
    overflow-x: visible !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .tcb-brand-logo {
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  .tcb-header-logo-img {
    height: 40px !important;
    max-width: 150px !important;
  }

  .tcb-header-user-btn {
    padding: 6px !important;
    border: none !important;
  }

  .tcb-header-user-btn span {
    display: none !important;
  }

  .tcb-mobile-user-icon-btn {
    display: flex !important;
  }

  .tcb-hamburger-btn,
  .tcb-right-group,
  .tcb-desktop-sales-contact,
  .tcb-desktop-auth-links {
    display: none !important;
  }

  .tcb-center-group.tcb-desktop-search-container {
    display: flex !important;
    flex: 1 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .tcb-search-form {
    width: 100% !important;
  }

  .tcb-search-input {
    height: 38px !important;
    font-size: 13px !important;
  }

  .tcb-auth-popover-box {
    position: fixed !important;
    top: 60px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: 92vw !important;
    max-width: 360px !important;
    height: 380px !important;
    margin-top: 0 !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
  }

  .tcb-mobile-search-glass-btn {
    display: flex !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
  }

  .tcb-mro-shortcut {
    display: flex !important;
    margin-right: 0 !important;
  }

  .tcb-mro-shortcut span {
    display: inline-block !important;
    color: #ffffff !important;
  }

  .tcb-mro-icon-animated {
    width: 42px !important;
    height: 42px !important;
  }

  .tcb-homepage-centered-wrapper, 
  .tcb-static-page-wrapper, 
  .tcb-dashboard-container, 
  .woocommerce-account, 
  .woocommerce-account .woocommerce, 
  .woocommerce-account .tcb-static-page-wrapper, 
  .page-id-28 .tcb-static-page-wrapper {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .tcb-container, 
  .tcb-terms-container, 
  .woocommerce-account .woocommerce {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tcb-breadcrumbs {
    margin-bottom: 6px !important;
  }

  .tcb-archive-header {
    margin-bottom: 24px !important;
  }

  footer.tcb-slim-footer {
    padding: 16px 12px !important;
  }

  .tcb-slim-footer-container {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 14px !important;
    text-align: center !important;
  }

  .tcb-slim-sep, 
  .tcb-slim-bullet {
    display: inline-block !important;
  }

  .tcb-invoice-kpi-deck {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .tcb-invoice-filter-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .tcb-search-filter-input-wrap {
    max-width: 100% !important;
  }

  .tcb-invoice-status-tabs {
    justify-content: space-between !important;
  }

  .tcb-tab-filter {
    flex: 1 !important;
    text-align: center !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
  }
}

/* =============================================================================
   10. MOBILE CARD COLUMN CONTRACTION (< 600px)
   ============================================================================= */
@media screen and (max-width: 600px) {
  .tcb-card-grid,
  .tcb-custom-cat-grid,
  ul.products.tcb-custom-cat-grid,
  .tax-product_cat ul.products,
  .woocommerce ul.products,
  .subcat ul,
  ul.products,
  .woocommerce-account ul.products,
  .tcb-dashboard-container ul.products {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .tcb-card-item,
  .tcb-custom-cat-grid li.product-category a,
  ul.products.tcb-custom-cat-grid li.product-category a,
  .tax-product_cat ul.products li.product-category a,
  .woocommerce ul.products li.product-category a,
  .tcb-dashboard-container li.product-category a,
  .woocommerce-account ul.products li.product-category a {
    padding: 12px !important;
    gap: 12px !important;
  }

  .tcb-card-media-wrap,
  .tcb-custom-cat-grid li.product-category img,
  .tax-product_cat ul.products li.product-category img,
  .woocommerce ul.products li.product-category img,
  .tcb-dash-card-icon-wrap,
  .tcb-cat-svg-wrap,
  .tcb-cat-thumb-frame {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
  }

  .tcb-card-title,
  .woocommerce-loop-category__title,
  .category-text-wrap h2.woocommerce-loop-category__title,
  .category-text-wrap h2 {
    font-size: 14px !important;
  }
}

/* =============================================================================
   11. DESKTOP CARDS LAYOUT: EXACT 3-COLUMN BOXED MATCH (>= 992px)
   ============================================================================= */
@media screen and (min-width: 992px) {
  /* Box and center the outer wrappers on frontpage, categories, and MRO hub */
  .home .tcb-homepage-centered-wrapper .tcb-container,
  body.tax-product_cat .tcb-cat-dashboard-page-wrapper .tcb-terms-container,
  body.tax-product_cat .tcb-homepage-centered-wrapper .tcb-container,
  .page-template-page-mrohub .tcb-homepage-centered-wrapper .tcb-container {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 30px 24px !important;
    box-sizing: border-box !important;
  }

  /* Force exact 3-column rows for cards on desktop */
  .home .tcb-card-grid,
  body.tax-product_cat .tcb-card-grid,
  .page-template-page-mrohub .tcb-card-grid,
  .tcb-dashboard-container .tcb-card-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 20px 0 30px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Ensure card margins and layout match the dashboard tiles */
  .home .tcb-card-item,
  body.tax-product_cat .tcb-card-item,
  .page-template-page-mrohub .tcb-card-item {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    min-height: 110px !important;
    padding: 14px 16px !important;
    gap: 14px !important;
    box-sizing: border-box !important;
  }
}

/* =============================================================================
   MYWORKS INVOICE TABLE MOBILE SCROLL FIX
   ============================================================================= */

/* 1. Prevent the page canvas from expanding horizontally */
.woocommerce-account,
.woocommerce-account body {
    overflow-x: hidden !important;
}

/* 2. Turn the plugin's actual wrapper into the scroll container */
.woocommerce-account .invoice_container,
.woocommerce-account .mw_wsfqo_p_ic {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-top: 15px !important;
    padding-bottom: 10px !important;
}

/* 3. Ensure the table maintains its width inside the scroll track */
.woocommerce-account table.invoice_table {
    width: 100% !important;
    min-width: 620px !important;
    display: table !important;
    margin: 0 !important;
}

/* Temporary Launch Fix: Hide Oswaldo */
.oswaldo-chat-trigger,
.oswaldo-chat-modal {
    display: none !important;
}