/*
Theme Name: TestBank College
Theme URI: https://www.testbankcollege.com
Author: TestBank College
Author URI: https://www.testbankcollege.com
Description: Premium WordPress theme for Test Bank College - featuring mega menu, WooCommerce integration, and SEO-optimized pages for test banks and solution manuals.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testbankcollege
Tags: woocommerce, e-commerce, custom-menu, featured-images, full-width-template, post-thumbnails, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* ===================================================
   CSS CUSTOM PROPERTIES
=================================================== */
:root {
  /* Brand Colors */
  --tbc-navy:     #0a1628;
  --tbc-blue:     #1a3a6b;
  --tbc-mid:      #2d5a9e;
  --tbc-accent:   #e8a020;
  --tbc-accent2:  #f0b840;
  --tbc-green:    #1a7a40;
  --tbc-red:      #c0392b;

  /* Neutrals */
  --tbc-bg:       #f4f6fa;
  --tbc-bg2:      #eef1f7;
  --tbc-white:    #ffffff;
  --tbc-ink:      #1a1a2e;
  --tbc-slate:    #3a4a6a;
  --tbc-muted:    #6b7a9a;
  --tbc-border:   #d8dde8;

  /* Typography */
  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing & Shape */
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 2px 16px rgba(10,22,40,.08);
  --shadow-lg:    0 8px 40px rgba(10,22,40,.15);
  --transition:   0.22s ease;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--tbc-bg);
  color: var(--tbc-ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tbc-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--tbc-accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tbc-navy);
}
ul { list-style: none; }
button, input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ===================================================
   UTILITY CLASSES
=================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--tbc-bg2); }
.section-dark { background: var(--tbc-navy); color: white; }
.section-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--tbc-accent); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem; color: var(--tbc-muted);
  max-width: 540px; line-height: 1.7;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--tbc-accent);
  color: var(--tbc-navy);
  box-shadow: 0 4px 16px rgba(232,160,32,.35);
}
.btn-primary:hover {
  background: var(--tbc-accent2);
  color: var(--tbc-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(232,160,32,.45);
}
.btn-dark {
  background: var(--tbc-navy);
  color: var(--tbc-white);
}
.btn-dark:hover { background: var(--tbc-blue); color: white; }
.btn-outline {
  background: transparent;
  color: var(--tbc-navy);
  border: 2px solid var(--tbc-border);
}
.btn-outline:hover { border-color: var(--tbc-accent); color: var(--tbc-accent); }
.btn-white {
  background: white; color: var(--tbc-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===================================================
   TOP BAR
=================================================== */
#tbc-topbar {
  background: var(--tbc-navy);
  color: rgba(255,255,255,.75);
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right a {
  color: rgba(255,255,255,.65); font-size: 0.78rem;
  display: flex; align-items: center; gap: 4px;
  transition: color var(--transition);
}
.topbar-right a:hover { color: var(--tbc-accent); }

/* ===================================================
   HEADER & MAIN NAV
=================================================== */
#tbc-header {
  background: var(--tbc-white);
  border-bottom: 1px solid var(--tbc-border);
  position: sticky; top: 0; z-index: 500;
  box-shadow: 0 2px 12px rgba(10,22,40,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px; gap: 24px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--tbc-blue), var(--tbc-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-head);
  font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(26,58,107,.3);
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text .line1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.1rem; color: var(--tbc-navy);
  letter-spacing: -0.03em;
}
.logo-text .line1 span { color: var(--tbc-accent); }
.logo-text .line2 {
  font-size: 0.68rem; color: var(--tbc-muted);
  font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Header Search */
.header-search {
  flex: 1; max-width: 440px;
  display: flex; align-items: center;
  background: var(--tbc-bg);
  border: 2px solid var(--tbc-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border var(--transition);
}
.header-search:focus-within { border-color: var(--tbc-mid); }
.header-search input {
  flex: 1; border: none; background: transparent;
  padding: 10px 14px; font-size: 0.88rem; color: var(--tbc-ink); outline: none;
}
.header-search input::placeholder { color: var(--tbc-muted); }
.header-search button {
  background: var(--tbc-blue); color: white; border: none;
  padding: 10px 18px; cursor: pointer; font-size: 0.9rem;
  transition: background var(--transition);
}
.header-search button:hover { background: var(--tbc-accent); color: var(--tbc-navy); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-action-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.82rem; font-weight: 600;
  color: var(--tbc-slate); background: transparent;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.header-action-btn:hover { background: var(--tbc-bg); color: var(--tbc-accent); }
.cart-btn {
  background: var(--tbc-accent);
  color: var(--tbc-navy) !important;
  position: relative;
  font-weight: 700;
}
.cart-btn:hover { background: var(--tbc-accent2); color: var(--tbc-navy) !important; }
.cart-count {
  background: var(--tbc-navy);
  color: white;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: -4px; right: -4px;
}

/* ===================================================
   MEGA MENU NAV
=================================================== */
#tbc-mega-nav {
  background: var(--tbc-blue);
  position: relative; z-index: 400;
}
.mega-nav-inner {
  display: flex; align-items: stretch;
  height: 46px;
}
.mega-menu-list {
  display: flex; align-items: stretch;
  height: 100%; list-style: none;
  margin: 0; padding: 0; flex: 1;
}
.mega-menu-list > li {
  position: relative;
  display: flex; align-items: stretch;
}
.mega-menu-list > li > a,
.mega-menu-list > li > button {
  display: flex; align-items: center; gap: 5px;
  padding: 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  background: transparent; border: none; cursor: pointer;
  transition: all var(--transition);
  height: 100%;
  position: relative;
}
.mega-menu-list > li > a::after,
.mega-menu-list > li > button::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px; background: var(--tbc-accent);
  transition: all var(--transition);
}
.mega-menu-list > li:hover > a::after,
.mega-menu-list > li:hover > button::after,
.mega-menu-list > li.active > a::after {
  left: 0; right: 0;
}
.mega-menu-list > li:hover > a,
.mega-menu-list > li:hover > button {
  color: white;
  background: rgba(255,255,255,.08);
}
.has-dropdown > a .caret,
.has-dropdown > button .caret {
  font-size: 0.65rem; opacity: 0.6;
  transition: transform var(--transition);
}
.has-dropdown:hover > a .caret,
.has-dropdown:hover > button .caret { transform: rotate(180deg); }

/* MEGA DROPDOWN PANEL */
.mega-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--tbc-white);
  border: 1px solid var(--tbc-border);
  border-top: 3px solid var(--tbc-accent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  min-width: 680px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 600;
}
.mega-dropdown.right-align { left: auto; right: 0; }
.mega-dropdown.wide { min-width: 900px; }
.has-dropdown:hover .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.mega-dropdown-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-dropdown-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.mega-col-title {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--tbc-muted); margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--tbc-border);
}
.mega-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  color: var(--tbc-slate); font-size: 0.86rem; font-weight: 500;
  transition: all var(--transition); text-decoration: none;
}
.mega-link:hover {
  background: var(--tbc-bg);
  color: var(--tbc-blue);
  transform: translateX(3px);
}
.mega-link .icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--tbc-bg2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
  transition: background var(--transition);
}
.mega-link:hover .icon { background: var(--tbc-blue); filter: invert(1) brightness(10); }
.mega-link-count {
  margin-left: auto; font-size: 0.72rem; color: var(--tbc-muted);
}
.mega-featured {
  background: linear-gradient(135deg, var(--tbc-navy), var(--tbc-blue));
  border-radius: var(--radius);
  padding: 20px;
  color: white;
}
.mega-featured h4 {
  color: var(--tbc-accent); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.mega-featured p { font-size: 0.82rem; opacity: 0.75; margin-bottom: 14px; }
.mega-featured .btn { font-size: 0.78rem; padding: 8px 16px; }

/* Simple dropdown (non-mega) */
.simple-dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--tbc-white);
  border: 1px solid var(--tbc-border);
  border-top: 3px solid var(--tbc-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 600;
}
.has-simple-dropdown:hover .simple-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.simple-dropdown a {
  display: block; padding: 9px 18px;
  font-size: 0.87rem; color: var(--tbc-slate);
  transition: all var(--transition);
}
.simple-dropdown a:hover {
  background: var(--tbc-bg);
  color: var(--tbc-blue);
  padding-left: 22px;
}

/* NAV RIGHT SIDE */
.mega-nav-right {
  display: flex; align-items: center; gap: 4px; padding: 0 0 0 12px;
  border-left: 1px solid rgba(255,255,255,.12); margin-left: auto;
}
.mega-nav-right a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 12px; height: 46px;
  color: rgba(255,255,255,.75); font-size: 0.82rem; font-weight: 600;
  transition: all var(--transition);
}
.mega-nav-right a:hover { color: var(--tbc-accent); background: rgba(255,255,255,.06); }
.nav-highlight {
  background: var(--tbc-accent) !important;
  color: var(--tbc-navy) !important;
  font-weight: 700 !important;
}
.nav-highlight:hover { background: var(--tbc-accent2) !important; }

/* ===================================================
   HERO SECTION
=================================================== */
.tbc-hero {
  background: linear-gradient(135deg, var(--tbc-navy) 0%, #1a2d5a 60%, var(--tbc-blue) 100%);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.tbc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--tbc-accent2); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 22px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--tbc-accent); border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; color: white; line-height: 1.08; margin-bottom: 20px;
}
.hero-title .accent { color: var(--tbc-accent); }
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  max-width: 480px; margin-bottom: 36px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.h-stat-num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: white; line-height: 1; }
.h-stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,.45); margin-top: 4px; }

/* Hero Search Card */
.hero-search-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hsc-title { font-size: 1rem; font-weight: 700; margin-bottom: 18px; color: var(--tbc-navy); }
.hsc-title span { color: var(--tbc-accent); }
.hsc-field { margin-bottom: 12px; }
.hsc-field label { font-size: 0.75rem; font-weight: 700; color: var(--tbc-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 5px; }
.hsc-field input,
.hsc-field select {
  width: 100%; padding: 11px 14px;
  border: 2px solid var(--tbc-border); border-radius: 8px;
  font-size: 0.88rem; color: var(--tbc-ink); background: var(--tbc-bg);
  outline: none; transition: border var(--transition);
}
.hsc-field input:focus,
.hsc-field select:focus { border-color: var(--tbc-mid); background: white; }
.hsc-field input::placeholder { color: var(--tbc-muted); }
.hsc-btn {
  width: 100%; background: var(--tbc-accent); color: var(--tbc-navy);
  border: none; padding: 13px; border-radius: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all var(--transition);
  margin-top: 4px; box-shadow: 0 4px 14px rgba(232,160,32,.35);
}
.hsc-btn:hover { background: var(--tbc-accent2); transform: translateY(-1px); }
.hsc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hsc-tag {
  font-size: 0.72rem; padding: 4px 10px; border-radius: 100px;
  background: var(--tbc-bg2); border: 1px solid var(--tbc-border);
  color: var(--tbc-slate); cursor: pointer; transition: all var(--transition);
}
.hsc-tag:hover { background: var(--tbc-blue); color: white; border-color: var(--tbc-blue); }

/* ===================================================
   TICKER
=================================================== */
.tbc-ticker {
  background: var(--tbc-accent);
  overflow: hidden; padding: 11px 0;
}
.ticker-track {
  display: flex; animation: ticker 32s linear infinite;
  width: max-content;
}
.ticker-track span { font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; color: var(--tbc-navy); padding: 0 20px; white-space: nowrap; opacity: .75; }
.ticker-track .sep { opacity: .35; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===================================================
   CATEGORY CARDS
=================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.cat-card {
  background: var(--tbc-white);
  border: 1px solid var(--tbc-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--tbc-ink);
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cat-card:hover {
  border-color: var(--tbc-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--tbc-blue);
}
.cat-card .cat-ico {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--tbc-bg2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.cat-card:hover .cat-ico { background: #dce8fa; }
.cat-card h3 { font-size: 0.88rem; font-weight: 700; line-height: 1.3; }
.cat-card .cat-count { font-size: 0.75rem; color: var(--tbc-muted); }

/* ===================================================
   PRODUCT CARDS
=================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--tbc-white);
  border: 1px solid var(--tbc-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-thumb {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--tbc-navy), var(--tbc-blue));
}
.product-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.3));
}
.product-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 8px; border-radius: 5px;
  font-size: 0.67rem; font-weight: 700; text-transform: uppercase;
  z-index: 2;
}
.badge-tb { background: var(--tbc-accent); color: var(--tbc-navy); }
.badge-sm { background: #1a7a40; color: white; }
.badge-both { background: var(--tbc-mid); color: white; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--tbc-mid); margin-bottom: 5px;
}
.product-body h3 {
  font-size: 0.9rem; font-weight: 700; margin-bottom: 5px;
  line-height: 1.3; color: var(--tbc-navy);
}
.product-author { font-size: 0.78rem; color: var(--tbc-muted); margin-bottom: 12px; }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--tbc-border); margin-top: auto;
}
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--tbc-navy); }
.product-price del { font-size: 0.72rem; color: var(--tbc-muted); font-weight: 400; margin-left: 3px; }
.add-to-cart-btn {
  background: var(--tbc-navy); color: white; border: none;
  padding: 7px 14px; border-radius: 7px;
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  transition: background var(--transition);
}
.add-to-cart-btn:hover { background: var(--tbc-accent); color: var(--tbc-navy); }

/* ===================================================
   HOW IT WORKS
=================================================== */
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; position: relative;
}
.steps-row::before {
  content: ''; position: absolute;
  top: 34px; left: calc(16.66% + 10px); right: calc(16.66% + 10px);
  height: 2px; background: var(--tbc-bg2); z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tbc-blue), var(--tbc-mid));
  color: white; font-family: var(--font-head);
  font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 4px 16px rgba(26,58,107,.3);
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.86rem; color: var(--tbc-muted); line-height: 1.7; }

/* ===================================================
   WHY US / FEATURES
=================================================== */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-ico {
  width: 46px; height: 46px; border-radius: 10px;
  background: #dce8fa; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.84rem; color: var(--tbc-muted); line-height: 1.65; }
.reviews-stack { display: flex; flex-direction: column; gap: 16px; }
.review-card {
  background: white; border: 1px solid var(--tbc-border);
  border-radius: var(--radius); padding: 18px 20px;
  box-shadow: var(--shadow);
}
.review-stars { color: var(--tbc-accent); font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-size: 0.84rem; color: var(--tbc-slate); line-height: 1.65; margin-bottom: 10px; }
.reviewer { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; color: var(--tbc-muted); }
.reviewer-av {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--tbc-blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; flex-shrink: 0;
}

/* ===================================================
   TRUST BAR
=================================================== */
.trust-bar {
  background: var(--tbc-navy);
  padding: 32px 0;
}
.trust-items {
  display: flex; justify-content: center; gap: 60px;
  flex-wrap: wrap; align-items: center;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--tbc-accent); }
.trust-lbl { font-size: 0.78rem; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ===================================================
   CTA BANNER
=================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--tbc-accent) 0%, #d48a10 100%);
  padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: 'GET STARTED';
  font-family: var(--font-head); font-weight: 800; font-size: 160px;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: .06; pointer-events: none; white-space: nowrap;
  color: var(--tbc-navy);
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--tbc-navy); margin-bottom: 14px; }
.cta-banner p { font-size: 1rem; color: rgba(10,22,40,.7); max-width: 460px; margin: 0 auto 32px; }

/* ===================================================
   FOOTER
=================================================== */
#tbc-footer { background: var(--tbc-navy); color: rgba(255,255,255,.65); }
.footer-main { padding: 56px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .footer-logo { text-decoration: none; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .fl-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--tbc-blue), var(--tbc-mid));
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
}
.footer-brand .fl-text .l1 { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: white; }
.footer-brand .fl-text .l1 span { color: var(--tbc-accent); }
.footer-brand .fl-text .l2 { font-size: 0.65rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-brand p { font-size: 0.82rem; line-height: 1.75; max-width: 240px; margin-bottom: 16px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.f-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px; padding: 4px 10px;
  font-size: 0.7rem; color: rgba(255,255,255,.55);
}
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  color: white; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,.5); font-size: 0.84rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--tbc-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 12px;
}

/* ===================================================
   PAGE-SPECIFIC: SHOP
=================================================== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.shop-sidebar {
  background: white; border: 1px solid var(--tbc-border);
  border-radius: var(--radius); padding: 24px;
  position: sticky; top: 130px; height: fit-content;
  max-height: calc(100vh - 140px); overflow-y: auto;
}
.sidebar-section { margin-bottom: 24px; }
.sidebar-section h3 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--tbc-muted); margin-bottom: 12px;
}
.filter-option {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 8px; border-radius: 7px;
  cursor: pointer; transition: background var(--transition);
  font-size: 0.86rem; color: var(--tbc-slate);
}
.filter-option:hover { background: var(--tbc-bg); }
.filter-option input { accent-color: var(--tbc-mid); width: 14px; height: 14px; }
.filter-option .fc { margin-left: auto; font-size: 0.72rem; color: var(--tbc-muted); }

/* ===================================================
   PAGE-SPECIFIC: LEGAL PAGES
=================================================== */
.legal-content { max-width: 820px; margin: 0 auto; padding: 72px 24px; }
.legal-content h2 { font-size: 1.2rem; margin: 36px 0 12px; padding-bottom: 10px; border-bottom: 2px solid #dce8fa; }
.legal-content p, .legal-content li { font-size: 0.92rem; color: #333; line-height: 1.85; margin-bottom: 12px; }
.legal-content ul { padding-right: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-info-box { background: #edf3fc; border-left: 4px solid var(--tbc-mid); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 0.88rem; color: var(--tbc-slate); }

/* ===================================================
   PAGE HERO (interior pages)
=================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--tbc-navy), var(--tbc-blue));
  padding: 64px 0 52px; text-align: center; color: white;
}
.page-hero .section-label { color: rgba(232,160,32,.9); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); color: white; margin-bottom: 14px; }
.page-hero p { font-size: 1rem; opacity: 0.7; max-width: 520px; margin: 0 auto; }

/* ===================================================
   MOBILE MENU TOGGLE
=================================================== */
.mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 4px; padding: 4px;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--tbc-navy); border-radius: 2px;
  transition: all var(--transition);
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-search-card { max-width: 500px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  #tbc-topbar { display: none; }
  #tbc-mega-nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-search { display: none; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { display: none; }
  .steps-row { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   WOOCOMMERCE OVERRIDES
=================================================== */
.woocommerce .button,
.woocommerce button.button {
  background: var(--tbc-navy) !important;
  color: white !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
  padding: 12px 24px !important;
  transition: all var(--transition) !important;
}
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--tbc-accent) !important;
  color: var(--tbc-navy) !important;
}
.woocommerce .button.alt,
.woocommerce button.button.alt {
  background: var(--tbc-accent) !important;
  color: var(--tbc-navy) !important;
}
.woocommerce .button.alt:hover {
  background: var(--tbc-accent2) !important;
}
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--tbc-accent) !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-color: var(--tbc-border) !important;
  color: var(--tbc-slate) !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--tbc-blue) !important;
  color: white !important;
}
