/*
Theme Name: The Confidence Associates
Theme URI: https://theconfidence.net
Author: The Confidence Associates
Description: Ultra-fast, lightweight custom business catalog theme for The Confidence Associates — built without page builders or WooCommerce bloat.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: theconfidence
*/

:root {
  --tca-primary: #1313e2;
  --tca-primary-dark: #0d0db3;
  --tca-navy: #0b1942;
  --tca-accent: #88b0ff;
  --tca-janatics: #2dbcf2;
  --tca-sinovaa: #2265a2;
  --tca-red: #f40c0c;
  --tca-green: #22a06b;
  --tca-bg: #ffffff;
  --tca-surface: #f5f7fc;
  --tca-surface-alt: #eef2fa;
  --tca-border: #dfe5f2;
  --tca-text: #1a2234;
  --tca-muted: #5a657d;
  --tca-radius: 10px;
  --tca-radius-lg: 16px;
  --tca-shadow: 0 4px 20px rgba(11, 25, 66, 0.06);
  --tca-shadow-hover: 0 12px 30px rgba(19, 19, 226, 0.12);
  --tca-container: 1240px;
  --tca-font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --tca-font-serif: 'Roboto Slab', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--tca-font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tca-text);
  background: var(--tca-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--tca-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--tca-primary-dark);
}

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  font-family: var(--tca-font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tca-navy);
}

p {
  margin: 0 0 1rem;
}

.tca-container {
  width: 100%;
  max-width: var(--tca-container);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.tca-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tca-btn-primary {
  background: var(--tca-primary);
  color: #ffffff;
}

.tca-btn-primary:hover {
  background: var(--tca-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(19, 19, 226, 0.25);
}

.tca-btn-outline {
  background: transparent;
  color: var(--tca-primary);
  border-color: var(--tca-primary);
}

.tca-btn-outline:hover {
  background: var(--tca-primary);
  color: #ffffff;
}

.tca-btn-janatics {
  background: var(--tca-janatics);
  color: #ffffff;
}

.tca-btn-janatics:hover {
  background: #179fd4;
  color: #ffffff;
}

.tca-btn-sinovaa {
  background: var(--tca-sinovaa);
  color: #ffffff;
}

.tca-btn-sinovaa:hover {
  background: #184e80;
  color: #ffffff;
}

.tca-btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Top Contact Bar & Header
   ========================================================================== */
.tca-topbar {
  background: var(--tca-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tca-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.tca-topbar-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.tca-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
}

.tca-topbar-item a {
  color: rgba(255, 255, 255, 0.92);
}

.tca-topbar-item a:hover {
  color: var(--tca-accent);
}

.tca-topbar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--tca-accent);
}

.tca-topbar-address {
  display: inline-flex;
}

.tca-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tca-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tca-social-links a:hover {
  background: var(--tca-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.tca-social-links svg {
  width: 14px;
  height: 14px;
}

/* Main Header */
.tca-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid var(--tca-border);
  box-shadow: 0 2px 14px rgba(11, 25, 66, 0.05);
}

.tca-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.tca-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tca-logo img {
  max-height: 54px;
  width: auto;
}

.tca-logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--tca-navy);
}

/* Primary Navigation */
.tca-nav {
  display: flex;
  align-items: center;
}

.tca-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tca-nav li {
  position: relative;
}

.tca-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--tca-navy);
  border-radius: 8px;
}

.tca-nav > ul > li > a:hover,
.tca-nav > ul > li.current-menu-item > a,
.tca-nav > ul > li.current-menu-ancestor > a {
  color: var(--tca-primary);
  background: var(--tca-surface);
}

/* Dropdown indicator */
.tca-nav li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  margin-left: 4px;
  opacity: 0.7;
}

.tca-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(11, 25, 66, 0.14);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 950;
}

.tca-nav li:hover > .sub-menu,
.tca-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tca-nav .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
  margin-left: 4px;
}

.tca-nav .sub-menu li.menu-item-has-children > a::after {
  transform: rotate(-45deg);
  margin-left: auto;
  margin-top: 0;
}

.tca-nav .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tca-text);
  border-radius: 6px;
}

.tca-nav .sub-menu a:hover {
  background: var(--tca-surface);
  color: var(--tca-primary);
}

/* Header Live Search */
.tca-search-wrap {
  position: relative;
  width: 270px;
  flex-shrink: 0;
}

.tca-search-form {
  display: flex;
  align-items: center;
  background: var(--tca-surface);
  border: 1.5px solid var(--tca-border);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tca-search-form:focus-within {
  background: #ffffff;
  border-color: var(--tca-primary);
  box-shadow: 0 0 0 3px rgba(19, 19, 226, 0.1);
}

.tca-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--tca-text);
  outline: none;
  padding: 4px 0;
}

.tca-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--tca-primary);
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.tca-search-btn:hover {
  background: var(--tca-primary-dark);
}

.tca-search-btn svg {
  width: 15px;
  height: 15px;
}

.tca-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(11, 25, 66, 0.16);
  overflow: hidden;
  z-index: 980;
  display: none;
}

.tca-search-results.is-open {
  display: block;
}

.tca-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--tca-surface-alt);
  color: var(--tca-text);
}

.tca-search-item:hover {
  background: var(--tca-surface);
}

.tca-search-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: 6px;
  padding: 2px;
  flex-shrink: 0;
}

.tca-search-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tca-navy);
  line-height: 1.3;
}

.tca-search-item-cat {
  font-size: 0.78rem;
  color: var(--tca-muted);
}

.tca-search-footer {
  display: block;
  text-align: center;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--tca-surface);
  color: var(--tca-primary);
}

.tca-search-empty {
  padding: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--tca-muted);
}

/* Mobile Menu Toggle */
.tca-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--tca-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--tca-navy);
  cursor: pointer;
}

.tca-menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Drawer */
.tca-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 66, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tca-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.tca-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 88vw;
  background: #ffffff;
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(11, 25, 66, 0.2);
}

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

.tca-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tca-border);
}

.tca-mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--tca-border);
  background: var(--tca-surface);
  color: var(--tca-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tca-mobile-body {
  padding: 16px 20px 28px;
  overflow-y: auto;
  flex: 1;
}

.tca-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tca-mobile-nav li {
  border-bottom: 1px solid var(--tca-surface-alt);
}

.tca-mobile-nav a {
  display: block;
  padding: 11px 4px;
  font-weight: 600;
  color: var(--tca-navy);
  font-size: 0.95rem;
}

.tca-mobile-nav .sub-menu {
  display: none;
  padding-left: 14px;
  background: var(--tca-surface);
  border-radius: 8px;
  margin-bottom: 8px;
}

.tca-mobile-nav li.is-expanded > .sub-menu {
  display: block;
}

.tca-mobile-nav .sub-menu a {
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 10px;
}

.tca-mobile-sub-toggle {
  position: absolute;
  right: 0;
  top: 5px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--tca-surface);
  border-radius: 6px;
  color: var(--tca-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tca-mobile-nav li {
  position: relative;
}

/* ==========================================================================
   Hero Carousel (Home)
   ========================================================================== */
.tca-hero-carousel {
  position: relative;
  background: var(--tca-navy);
  overflow: hidden;
}

.tca-hero-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tca-hero-slider {
  background: #ffffff;
}

.tca-hero-slide {
  min-width: 100%;
  position: relative;
}

.tca-hero-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 823;
  max-height: calc(100vh - 115px);
  max-height: calc(100dvh - 115px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tca-hero-slide img {
    max-height: none;
  }
}

.tca-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 25, 66, 0.55);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
}

.tca-hero-arrow:hover {
  background: var(--tca-primary);
}

.tca-hero-prev { left: 18px; }
.tca-hero-next { right: 18px; }

.tca-hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.tca-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.tca-hero-dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.tca-section {
  padding: 68px 0;
}

.tca-section-alt {
  background: var(--tca-surface);
}

.tca-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.tca-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tca-primary);
  background: rgba(19, 19, 226, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tca-section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-family: var(--tca-font-serif);
  color: var(--tca-navy);
  margin-bottom: 12px;
}

.tca-divider {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--tca-primary), var(--tca-janatics));
  border-radius: 999px;
  margin: 14px auto 0;
}

/* Page Banner */
.tca-page-banner {
  background: linear-gradient(135deg, var(--tca-navy) 0%, #152b75 60%, var(--tca-primary) 100%);
  color: #ffffff;
  padding: 52px 0;
  text-align: center;
}

.tca-page-banner h1 {
  color: #ffffff;
  font-family: var(--tca-font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  margin-bottom: 8px;
}

.tca-page-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
}

.tca-brand-banner {
  width: 100%;
  background: var(--tca-navy);
}

.tca-brand-banner img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Breadcrumbs */
.tca-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--tca-muted);
  margin-bottom: 20px;
}

.tca-breadcrumb a {
  color: var(--tca-muted);
}

.tca-breadcrumb a:hover {
  color: var(--tca-primary);
}

.tca-breadcrumb span.sep {
  opacity: 0.5;
}

/* ==========================================================================
   Welcome Split Section (Home)
   ========================================================================== */
.tca-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.tca-split-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.tca-media-frame {
  border-radius: var(--tca-radius-lg);
  overflow: hidden;
  box-shadow: var(--tca-shadow);
  border: 1px solid var(--tca-border);
  background: #ffffff;
}

.tca-media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   Brand Partners Grid (We Represent)
   ========================================================================== */
.tca-partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.tca-partner-card {
  flex: 0 1 calc(25% - 18px);
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  box-shadow: var(--tca-shadow);
  min-height: 180px;
}

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

.tca-partner-card img {
  max-height: 74px;
  max-width: 180px;
  object-fit: contain;
}

.tca-partner-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tca-navy);
}

.tca-partner-badge {
  font-size: 0.75rem;
  color: var(--tca-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.tca-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tca-service-card {
  background: linear-gradient(135deg, var(--tca-navy) 0%, #142878 52%, var(--tca-primary) 100%);
  border: 1px solid rgba(136, 176, 255, 0.25);
  border-radius: var(--tca-radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(11, 25, 66, 0.16);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tca-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(19, 19, 226, 0.24);
}

.tca-service-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.tca-service-icon img {
  max-width: 48px;
  max-height: 48px;
}

.tca-service-card h3 {
  font-size: 1.32rem;
  margin: 0;
  color: #ffffff;
}

.tca-service-card p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ==========================================================================
   Clients Carousel
   ========================================================================== */
.tca-clients-wrap {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.tca-clients-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tca-marquee 45s linear infinite;
}

.tca-client-logo {
  flex: 0 0 240px;
  height: 140px;
  margin-right: 28px;
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(11, 25, 66, 0.05);
}

.tca-client-logo img {
  max-height: 112px;
  max-width: 204px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes tca-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Product & Category Grids
   ========================================================================== */
.tca-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tca-category-card {
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--tca-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tca-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tca-shadow-hover);
  border-color: var(--tca-janatics);
}

.tca-category-thumb {
  aspect-ratio: 4 / 3;
  background: #ffffff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--tca-surface-alt);
}

.tca-category-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.tca-category-body {
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.tca-category-body h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--tca-navy);
}

.tca-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tca-product-card {
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(11, 25, 66, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.tca-product-thumb {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--tca-surface-alt);
  overflow: hidden;
}

.tca-product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.tca-product-card:hover .tca-product-thumb img {
  transform: scale(1.04);
}

.tca-product-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.tca-product-cat {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tca-sinovaa);
}

.tca-product-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--tca-navy);
  margin: 0;
  line-height: 1.35;
}

.tca-product-title a {
  color: inherit;
}

.tca-product-title a:hover {
  color: var(--tca-primary);
}

.tca-product-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--tca-primary);
}

/* Subcategory Jump Pills & Filter Bar */
.tca-subcat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  padding: 14px;
  background: var(--tca-surface);
  border: 1px solid var(--tca-border);
  border-radius: 12px;
}

.tca-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--tca-border);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--tca-navy);
}

.tca-pill:hover,
.tca-pill.is-active {
  background: var(--tca-primary);
  border-color: var(--tca-primary);
  color: #ffffff;
}

.tca-pill-count {
  font-size: 0.74rem;
  opacity: 0.75;
}

.tca-subcat-group {
  margin-bottom: 52px;
  scroll-margin-top: 96px;
}

.tca-subcat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--tca-border);
}

.tca-subcat-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--tca-navy);
}

.tca-subcat-badge {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tca-surface-alt);
  color: var(--tca-primary);
}

.tca-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
  padding: 14px 18px;
  background: var(--tca-surface);
  border: 1px solid var(--tca-border);
  border-radius: 12px;
}

.tca-filter-input {
  min-width: 260px;
  flex: 1;
  max-width: 400px;
  padding: 10px 14px;
  border: 1.5px solid var(--tca-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  background: #ffffff;
}

.tca-filter-input:focus {
  outline: none;
  border-color: var(--tca-primary);
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */
.tca-single-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: center;
}

.tca-product-gallery {
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius-lg);
  padding: 28px;
  box-shadow: var(--tca-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  height: 100%;
}

.tca-product-gallery img {
  max-height: 440px;
  width: auto;
  object-fit: contain;
}

.tca-product-detail h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-family: var(--tca-font-serif);
  margin-bottom: 14px;
}

.tca-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tca-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--tca-surface-alt);
  color: var(--tca-primary);
}

.tca-badge:hover {
  background: var(--tca-primary);
  color: #ffffff;
}

.tca-product-specs {
  background: var(--tca-surface);
  border: 1px solid var(--tca-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0 26px;
}

.tca-product-specs h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--tca-navy);
}

.tca-product-specs ul {
  margin: 0;
  padding-left: 20px;
}

.tca-product-specs li {
  margin-bottom: 6px;
}

.tca-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.tca-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--tca-radius-lg);
  overflow: hidden;
  box-shadow: var(--tca-shadow);
  border: 1px solid var(--tca-border);
}

.tca-info-table th,
.tca-info-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--tca-surface-alt);
  vertical-align: top;
}

.tca-info-table th {
  width: 34%;
  background: var(--tca-surface);
  color: var(--tca-navy);
  font-weight: 600;
}

.tca-info-table tr:last-child th,
.tca-info-table tr:last-child td {
  border-bottom: none;
}

.tca-vms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tca-vms-card {
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius-lg);
  overflow: hidden;
  box-shadow: var(--tca-shadow);
  display: flex;
  flex-direction: column;
}

.tca-vms-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tca-vms-body {
  padding: 24px;
}

/* ==========================================================================
   Contact Us Page
   ========================================================================== */
.tca-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.tca-contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tca-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tca-form-card {
  background: #ffffff;
  border: 1px solid var(--tca-border);
  border-radius: var(--tca-radius-lg);
  padding: 32px;
  box-shadow: var(--tca-shadow);
}

.tca-field {
  margin-bottom: 18px;
}

.tca-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tca-navy);
  margin-bottom: 6px;
}

.tca-field input,
.tca-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--tca-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--tca-text);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tca-field input:focus,
.tca-field textarea:focus {
  outline: none;
  border-color: var(--tca-primary);
  box-shadow: 0 0 0 3px rgba(19, 19, 226, 0.1);
}

.tca-form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}

.tca-form-status.is-success {
  display: block;
  background: #e6f7ef;
  color: #126b46;
  border: 1px solid #a6e3c6;
}

.tca-form-status.is-error {
  display: block;
  background: #fdecec;
  color: #a61c1c;
  border: 1px solid #f5bcbc;
}

.tca-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.tca-contact-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--tca-surface);
  border: 1px solid var(--tca-border);
  border-radius: 12px;
}

.tca-contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(19, 19, 226, 0.1);
  color: var(--tca-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tca-contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.tca-map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--tca-radius-lg);
  box-shadow: var(--tca-shadow);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tca-footer {
  background: var(--tca-navy);
  color: rgba(255, 255, 255, 0.84);
  padding-top: 60px;
}

.tca-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}

.tca-footer-logo img {
  max-height: 52px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.tca-footer h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.tca-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tca-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.tca-footer-links a:hover {
  color: var(--tca-accent);
}

.tca-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.tca-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tca-footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  color: var(--tca-accent);
}

.tca-footer-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.tca-footer-contact a:hover {
  color: var(--tca-accent);
}

.tca-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Pagination */
.tca-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tca-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--tca-border);
  background: #ffffff;
  color: var(--tca-navy);
  font-weight: 600;
}

.tca-pagination .page-numbers.current,
.tca-pagination .page-numbers:hover {
  background: var(--tca-primary);
  border-color: var(--tca-primary);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .tca-nav,
  .tca-search-wrap {
    display: none;
  }
  .tca-menu-toggle {
    display: inline-flex;
  }
  .tca-topbar-address {
    display: none;
  }
  .tca-category-grid,
  .tca-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tca-partner-card {
    flex: 0 1 calc(33.333% - 16px);
  }
}

@media (max-width: 860px) {
  .tca-split,
  .tca-split-reverse,
  .tca-single-product,
  .tca-contact-grid,
  .tca-contact-split,
  .tca-form-row-2,
  .tca-footer-grid,
  .tca-vms-grid,
  .tca-services-grid {
    grid-template-columns: 1fr;
  }
  .tca-category-grid,
  .tca-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tca-partner-card {
    flex: 0 1 calc(50% - 12px);
  }
  .tca-section {
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .tca-topbar-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .tca-topbar-info {
    justify-content: center;
    gap: 8px 16px;
  }
  .tca-social-links {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .tca-product-grid,
  .tca-category-grid {
    grid-template-columns: 1fr;
  }
  .tca-partner-card {
    flex: 0 1 100%;
  }
  .tca-header-inner {
    min-height: 66px;
  }
  .tca-logo img {
    max-height: 44px;
  }
}
