.troopfit-header {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar */
.tf-topbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 12px 0;
}

.tf-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tf-logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

.tf-site-name {
  font-size: 24px;
  font-weight: 700;
  color: #0077E5;
}

/* Search */
.tf-search {
  flex: 1;
  max-width: 500px;
  min-width: 200px;
}

.tf-search form {
  display: flex;
  width: 100%;
}

.tf-search input[type="search"] {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid #e5e5e5;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.tf-search input[type="search"]:focus {
  border-color: #0077E5;
}

.tf-search button {
  padding: 10px 20px;
  background: #0077E5;
  color: #fff;
  border: 2px solid #0077E5;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.tf-search button:hover {
  background: #005bb5;
  border-color: #005bb5;
}

/* Contact */
.tf-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tf-contact-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f8;
  border-radius: 8px;
  flex-shrink: 0;
}

.tf-contact-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.tf-contact-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.tf-contact-value {
  font-size: 13px;
  color: #34495E;
  text-decoration: none;
  font-weight: 500;
}

.tf-contact-value:hover {
  color: #0077E5;
}

/* Primary Menu */
.tf-primary-menu {
  background: #34495E;
}

.tf-nav {
  display: flex;
  justify-content: center;
}

.tf-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.tf-nav ul li {
  position: relative;
}

.tf-nav ul li a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.tf-nav ul li a:hover,
.tf-nav ul li.current-menu-item > a {
  background: #0077E5;
}

.tf-nav ul li.menu-item-has-children > a::after {
  content: ' \25BC';
  font-size: 10px;
  margin-left: 6px;
}

.tf-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.tf-nav ul ul li {
  width: 100%;
}

.tf-nav ul ul li a {
  padding: 10px 16px;
  color: #34495E;
  border-bottom: 1px solid #f0f0f0;
}

.tf-nav ul ul li a:hover {
  background: #f5f5f5;
  color: #0077E5;
}

.tf-nav ul li:hover > ul {
  display: block;
}

/* Categories Bar */
.tf-categories-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
}

.tf-categories-bar .tf-categories-wrap {
  position: relative;
  padding-left: 5px !important;
  padding-right: 5px !important;
  max-width: none;
}

.tf-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tf-categories-list > li {
  position: relative;
  padding: 4px 6px;
}

.tf-categories-list > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 10px;
  color: #34495E;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: none;
}

.tf-categories-list > li:hover {
  background: #34495E;
  border-radius: 4px;
}

.tf-categories-list > li:hover > a {
  color: #fff;
}

.tf-has-submenu > a::after {
  content: '\25BC';
  font-size: 10px;
  transition: transform 0.2s;
}

.tf-has-submenu.tf-submenu-open > a::after {
  transform: rotate(180deg);
}


/* Category product submenu */
.tf-cat-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 99999;
  padding: 6px 0;
}

.tf-cat-submenu li {
  list-style: none;
}

.tf-cat-submenu li a {
  display: block;
  padding: 8px 16px;
  color: #34495E;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.tf-cat-submenu li a:hover {
  background: #f5f5f5;
  color: #0077E5;
}

/* Mobile Toggle */
.tf-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tf-mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #34495E;
  border-radius: 2px;
}

.tf-contact-mobile-wa {
  display: none;
}

/* Mobile Overlay */
.tf-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s;
}

.tf-mobile-overlay.tf-mobile-overlay-open {
  display: block;
  opacity: 1;
}

.tf-mobile-overlay-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.tf-mobile-overlay-open .tf-mobile-overlay-inner {
  transform: translateX(0);
}

.tf-mobile-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #34495E;
}

.tf-mobile-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  line-height: 1;
  padding: 4px 8px;
}

.tf-mobile-overlay-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

/* Tabs */
.tf-mobile-tabs {
  display: flex;
  border-bottom: 2px solid #e5e5e5;
}

.tf-mobile-tab {
  flex: 1;
  padding: 14px 10px;
  background: none !important;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 3px solid transparent;
}

.tf-mobile-tab-active {
  color: #fff !important;
  background: #B0160D !important;
  border-bottom-color: #B0160D;
}

.tf-mobile-tab-content {
  display: none;
  padding: 12px 20px;
}

.tf-mobile-tab-content-active {
  display: block;
}

.tf-mobile-categories,
.tf-mobile-tab-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-mobile-tab-content li {
  position: relative;
}

.tf-mobile-tab-content li a {
  display: block;
  padding: 10px 0;
  color: #34495E;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
}

.tf-mobile-tab-content li a:hover {
  color: #0077E5;
}

.tf-mobile-sub-toggle {
  position: absolute;
  right: 0;
  top: 4px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34495E;
  transition: transform 0.2s;
}

.tf-mobile-sub-toggle.tf-mobile-sub-open {
  transform: rotate(45deg);
}

.tf-mobile-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
}

.tf-mobile-submenu li a {
  font-size: 13px;
  padding: 6px 0;
}

body.tf-no-scroll {
  overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tf-mobile-toggle {
    display: flex;
  }

  .tf-contact-desktop {
    display: none !important;
  }

  .tf-topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0;
  }

  .tf-logo {
    justify-self: center;
  }

  .tf-logo img {
    max-height: 36px;
  }

  .tf-search {
    grid-column: 1 / -1;
    margin-top: 8px;
    max-width: 100%;
    min-width: 0;
  }

  .tf-primary-menu {
    display: none;
  }

  .tf-categories-bar {
    display: none;
  }

  .tf-mobile-overlay {
    display: none;
  }

  .tf-mobile-overlay.tf-mobile-overlay-open {
    display: block;
  }
}
