/*
Theme Name:   T1 Auto Parts
Theme URI:    https://t1autoparts.com
Author:       T1 Auto Parts
Description:  Custom WooCommerce theme. YMM vehicle search, SEO schema, USAutoPartsCar-inspired design.
Version:      2.3.5
Requires PHP: 7.4
Text Domain:  t1auto
*/

/* ═══════════════════════════
   FULL-WIDTH FIX
   Kills any coming-soon / maintenance plugin wrapper
   and any WordPress default page containers
═══════════════════════════ */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}
#page, .site, #content, .site-content, #primary,
.content-area, #main, .site-main, .entry-content,
.entry-summary, .page-content, .wp-site-blocks,
/* Common coming-soon plugin wrappers */
.cs-wrapper, .coming-soon-wrapper, .maintenance-wrapper,
.seedprod-page, #coming-soon-page, .csp-page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* ═══════════════════════════
   DESIGN TOKENS
═══════════════════════════ */
:root {
  --red:      #E63B2E;
  --red-dk:   #C42E22;
  --navy:     #1A1A2E;
  --navy2:    #111827;
  --white:    #ffffff;
  --g50:      #F7F7F9;
  --g100:     #F3F4F6;
  --g200:     #E5E7EB;
  --g300:     #D1D5DB;
  --g400:     #9CA3AF;
  --g500:     #6B7280;
  --g700:     #374151;
  --g900:     #111827;
  --green:    #16A34A;
  --green-lt: #F0FDF4;
  --amber:    #D97706;
  --amber-lt: #FEF3C7;
  --blue:     #2563EB;
  --blue-lt:  #EFF6FF;

  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Inter', sans-serif;

  --r4:    4px;
  --r6:    6px;
  --r8:    8px;
  --r10:   10px;
  --r12:   12px;
  --rfull: 9999px;

  --wrap:  1240px;
  --hh:    64px;
  --tr:    .18s ease;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
}

/* ═══════════════════════════
   RESET
═══════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; overflow-x: hidden; }
body {
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.6;
  color: var(--g900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* WordPress wrappers — force full width */
#page, .site, #content, .site-content, #primary, .content-area,
#main, .site-main, .entry-content, .entry-summary {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Admin bar offset */
.admin-bar #t1-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #t1-header { top: 46px; } }

/* ═══════════════════════════
   LAYOUT
═══════════════════════════ */
.t1-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; width: 100%; }
.t1-sec  { padding: 56px 0; }
.t1-sec--sm  { padding: 32px 0; }
.t1-sec--dark { background: var(--navy); }
.t1-sec--gray { background: var(--g50); }
.t1-flex { display: flex; align-items: center; }
.t1-between { display: flex; align-items: center; justify-content: space-between; }

/* ═══════════════════════════
   TYPOGRAPHY
═══════════════════════════ */
.t1-h1 { font-family: var(--fd); font-weight: 700; font-size: clamp(36px,5vw,64px); line-height: 1.0; color: var(--white); }
.t1-h1 em { font-style: normal; color: var(--red); }
.t1-h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(24px,3vw,36px); line-height: 1.1; color: var(--navy); }
.t1-h2--white { color: var(--white); }
.t1-h3 { font-family: var(--fd); font-weight: 700; font-size: 20px; color: var(--navy); }

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.t1-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--fd); font-weight: 700; font-size: 15px; letter-spacing: .3px;
  padding: 10px 24px; border-radius: var(--r6); border: 2px solid transparent;
  cursor: pointer; transition: background var(--tr), color var(--tr); line-height: 1;
}
.t1-btn--red    { background: var(--red);   color: var(--white); }
.t1-btn--red:hover { background: var(--red-dk); }
.t1-btn--navy   { background: var(--navy);  color: var(--white); }
.t1-btn--navy:hover { background: var(--g900); }
.t1-btn--outline { border-color: var(--g200); color: var(--navy); }
.t1-btn--outline:hover { border-color: var(--navy); }
.t1-btn--ghost  { padding: 0; font-family: var(--fd); font-weight: 700; font-size: 14px; color: var(--red); }
.t1-btn--ghost:hover { color: var(--red-dk); }
.t1-btn--lg     { padding: 14px 32px; font-size: 18px; }
.t1-btn--full   { width: 100%; }

/* ═══════════════════════════
   BADGES
═══════════════════════════ */
.t1-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: var(--r4); letter-spacing: .3px; text-transform: uppercase; line-height: 1;
}
.t1-badge--red   { background: var(--red);   color: var(--white); }
.t1-badge--green { background: var(--green); color: var(--white); }
.t1-badge--amber { background: var(--amber); color: var(--white); }
.t1-badge--navy  { background: var(--navy);  color: var(--white); }
.t1-badge--sale  { background: #DC2626; color: var(--white); }

/* ═══════════════════════════
   TOPBAR
═══════════════════════════ */
#t1-topbar {
  background: var(--navy2);
  font-size: 12px;
  color: var(--g400);
  padding: 6px 0;
  width: 100%;
}
.t1-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.t1-topbar-left  { display: flex; align-items: center; gap: 6px; }
.t1-topbar-left svg { color: var(--red); flex-shrink: 0; }
.t1-topbar-right { display: flex; gap: 20px; }
.t1-topbar-right a { color: var(--g400); transition: color var(--tr); }
.t1-topbar-right a:hover { color: var(--white); }

/* ═══════════════════════════
   HEADER
═══════════════════════════ */
#t1-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 999;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.t1-header-inner {
  display: flex;
  align-items: center;
  height: var(--hh);
  gap: 16px;
}

/* Logo */
.t1-logo {
  font-family: var(--fd);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.t1-logo span { color: var(--red); }
.t1-logo img  { height: 44px; width: auto; }

/* Search */
.t1-header-search { flex: 1; max-width: 520px; position: relative; }
.t1-header-search form {
  display: flex;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r6);
  overflow: hidden;
  transition: border-color var(--tr);
}
.t1-header-search form:focus-within { border-color: var(--red); }
.t1-header-search input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.08);
  border: none; outline: none;
  color: var(--white);
  font-size: 14px;
  padding: 9px 14px;
}
.t1-header-search input::placeholder { color: var(--g400); }
.t1-header-search button {
  background: var(--red);
  color: var(--white);
  padding: 0 14px;
  flex-shrink: 0;
  transition: background var(--tr);
}
.t1-header-search button:hover { background: var(--red-dk); }

/* Actions */
.t1-header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.t1-haction {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--g400); font-size: 11px;
  transition: color var(--tr);
  position: relative; cursor: pointer;
  text-decoration: none;
}
.t1-haction:hover { color: var(--white); }
.t1-haction svg { width: 20px; height: 20px; }
.t1-cart-bubble {
  position: absolute; top: -5px; right: -8px;
  background: var(--red); color: var(--white);
  font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: var(--rfull);
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.t1-nav-toggle { display: none; color: var(--white); padding: 6px; }

/* ═══════════════════════════
   NAV STRIP
═══════════════════════════ */
#t1-nav {
  background: var(--red);
  width: 100%;
  position: relative;
}
.t1-nav-inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.t1-nav-inner::-webkit-scrollbar { display: none; }
.t1-nav-inner > a, .t1-nav-inner > .t1-nav-item > a {
  display: block;
  color: rgba(255,255,255,.92);
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  white-space: nowrap;
  transition: background var(--tr);
  letter-spacing: .2px;
}
.t1-nav-inner > a:hover,
.t1-nav-inner > .t1-nav-item > a:hover,
.t1-nav-inner > .current-menu-item > a { background: rgba(0,0,0,.18); }

/* Mega dropdown for Categories */
.t1-nav-item { position: relative; }
.t1-nav-mega {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--r8) var(--r8);
  z-index: 500;
  padding: 8px 0;
}
.t1-nav-item:hover .t1-nav-mega { display: block; }
.t1-nav-mega a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--g700);
  border-bottom: 1px solid var(--g100);
  transition: background var(--tr), color var(--tr);
}
.t1-nav-mega a:hover { background: var(--g50); color: var(--red); }
.t1-nav-mega a:last-child { border-bottom: none; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
#t1-hero {
  background: var(--navy);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
#t1-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.t1-hero-inner { position: relative; z-index: 1; text-align: center; }
.t1-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(230,59,46,.12);
  border: 1px solid rgba(230,59,46,.3);
  color: #FCA5A5;
  font-size: 12px; font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--rfull);
  margin-bottom: 20px;
}
.t1-hero-tag-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.t1-hero-sub { color: var(--g400); font-size: 16px; max-width: 460px; margin: 12px auto 32px; }

/* Hero trust pills */
.t1-hero-trust {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap; margin-top: 20px;
}
.t1-hero-trust-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rfull);
  padding: 5px 14px;
  font-size: 12px; color: var(--g400);
}
.t1-hero-trust-pill svg { color: var(--green); width: 13px; height: 13px; flex-shrink: 0; }

/* ═══════════════════════════
   TRUST STRIP
═══════════════════════════ */
#t1-trust-strip {
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
}
.t1-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.t1-trust-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--g200);
}
.t1-trust-item:last-child { border-right: none; }
.t1-trust-icon {
  width: 40px; height: 40px;
  background: #FEE2E2;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red);
}
.t1-trust-title { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.3; }
.t1-trust-sub   { font-size: 12px; color: var(--g500); margin-top: 1px; }

/* ═══════════════════════════
   TRENDING TAGS
═══════════════════════════ */
.t1-trending {
  padding: 14px 0;
  border-bottom: 1px solid var(--g200);
  background: var(--white);
}
.t1-trending-inner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.t1-trending-label {
  font-size: 11px; font-weight: 700;
  color: var(--g500); text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap; flex-shrink: 0;
}
.t1-trending-tag {
  font-size: 12px; color: var(--g700);
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--rfull);
  padding: 3px 10px;
  white-space: nowrap;
  transition: border-color var(--tr), color var(--tr);
  text-decoration: none;
}
.t1-trending-tag:hover { border-color: var(--red); color: var(--red); }

/* ═══════════════════════════
   CATEGORY GRID
═══════════════════════════ */
.t1-cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 28px; }
.t1-cat-card {
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: var(--r10);
  padding: 20px 12px 16px;
  text-align: center;
  display: block;
  transition: border-color var(--tr), transform var(--tr);
}
.t1-cat-card:hover { border-color: var(--red); transform: translateY(-2px); }
.t1-cat-icon {
  width: 50px; height: 50px;
  background: var(--g50);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  color: var(--red);
  transition: background var(--tr);
}
.t1-cat-card:hover .t1-cat-icon { background: #FEE2E2; }
.t1-cat-name  { font-family: var(--fd); font-weight: 700; font-size: 13px; color: var(--navy); line-height: 1.2; }
.t1-cat-count { font-size: 11px; color: var(--g500); margin-top: 3px; }

/* ═══════════════════════════
   PRODUCT CARDS
═══════════════════════════ */
.t1-products { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.t1-pcard {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r8);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--tr), transform var(--tr);
  position: relative;
}
.t1-pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Card image */
.t1-pcard-img {
  display: block;
  aspect-ratio: 1;
  background: var(--g50);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.t1-pcard-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .3s;
}
.t1-pcard:hover .t1-pcard-img img { transform: scale(1.05); }
.t1-pcard-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--g300);
}
.t1-pcard-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }

/* Card actions overlay */
.t1-pcard-actions {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; gap: 6px; padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,.08));
  opacity: 0;
  transition: opacity var(--tr);
}
.t1-pcard:hover .t1-pcard-actions { opacity: 1; }

/* Card body */
.t1-pcard-body {
  padding: 10px 12px 12px;
  display: flex; flex-direction: column; flex: 1; gap: 3px;
}
.t1-pcard-brand { font-size: 11px; color: var(--g500); text-transform: uppercase; letter-spacing: .4px; font-weight: 500; }
.t1-pcard-partno { font-size: 11px; color: var(--g400); font-family: monospace; }
.t1-pcard-name {
  font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-decoration: none; flex: 1;
}
.t1-pcard-name:hover { color: var(--red); }
.t1-pcard-fit { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 3px; font-weight: 500; }
.t1-pcard-delivery { font-size: 11px; color: var(--g500); display: flex; align-items: center; gap: 4px; }
.t1-pcard-delivery strong { color: var(--g700); }

/* Price + ATC */
.t1-pcard-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.t1-pcard-price { display: flex; flex-direction: column; }
.t1-pcard-price-now { font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--red); line-height: 1; }
.t1-pcard-price-was { font-size: 11px; color: var(--g400); text-decoration: line-through; }
.t1-pcard-save { font-size: 10px; color: var(--amber); font-weight: 600; }
.t1-pcard-atc {
  background: var(--navy); color: var(--white);
  border-radius: var(--r4);
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  padding: 6px 10px;
  cursor: pointer; white-space: nowrap;
  transition: background var(--tr);
  letter-spacing: .3px; flex-shrink: 0;
}
.t1-pcard-atc:hover  { background: var(--red); }
.t1-pcard-atc.adding { background: var(--g400); pointer-events: none; }
.t1-pcard-atc.added  { background: var(--green); }

/* ═══════════════════════════
   BRAND STRIP
═══════════════════════════ */
.t1-brand-strip {
  padding: 20px 0;
  border-top: 1px solid var(--g200);
  border-bottom: 1px solid var(--g200);
  overflow: hidden;
}
.t1-brand-scroll {
  display: flex; gap: 32px; align-items: center;
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
  padding-bottom: 2px;
}
.t1-brand-scroll::-webkit-scrollbar { display: none; }
.t1-brand-scroll-label { font-size: 11px; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; flex-shrink: 0; }
.t1-brand-name { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--g300); white-space: nowrap; letter-spacing: .5px; transition: color var(--tr); cursor: default; }
.t1-brand-name:hover { color: var(--navy); }

/* ═══════════════════════════
   HOW IT WORKS
═══════════════════════════ */
.t1-how-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; }
.t1-how-step { padding: 36px 32px; border-right: 1px solid rgba(255,255,255,.08); }
.t1-how-step:last-child { border-right: none; }
.t1-how-num  { font-family: var(--fd); font-size: 72px; font-weight: 700; color: rgba(230,59,46,.15); line-height: 1; display: block; margin-bottom: 14px; }
.t1-how-title { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.t1-how-body  { font-size: 14px; color: var(--g400); line-height: 1.7; }

/* ═══════════════════════════
   BLOG CARDS
═══════════════════════════ */
.t1-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.t1-bcard { background: var(--white); border: 1px solid var(--g200); border-radius: var(--r10); overflow: hidden; transition: border-color var(--tr); }
.t1-bcard:hover { border-color: var(--g300); }
.t1-bcard-img { aspect-ratio: 16/9; background: var(--g100); overflow: hidden; position: relative; }
.t1-bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.t1-bcard:hover .t1-bcard-img img { transform: scale(1.03); }
.t1-bcard-cat { position: absolute; top: 10px; left: 10px; }
.t1-bcard-body { padding: 16px; }
.t1-bcard-meta { font-size: 11px; color: var(--g500); margin-bottom: 6px; }
.t1-bcard-title { font-family: var(--fd); font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 6px; }
.t1-bcard-title a:hover { color: var(--red); }
.t1-bcard-exc { font-size: 13px; color: var(--g500); line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════
   SHOP / ARCHIVE
═══════════════════════════ */
.t1-arch-banner { background: var(--navy); padding: 32px 0; width: 100%; }
.t1-arch-banner h1 { font-family: var(--fd); font-size: 38px; font-weight: 700; color: var(--white); }
.t1-arch-banner p  { color: var(--g400); font-size: 14px; margin-top: 6px; max-width: 600px; }
.t1-arch-results { font-size: 13px; color: var(--g500); margin-bottom: 12px; font-weight: 500; }

.t1-shop-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 28px 0 64px; }
.t1-sidebar { position: sticky; top: calc(var(--hh) + 16px); }
.t1-widget { background: var(--white); border: 1px solid var(--g200); border-radius: var(--r8); padding: 16px; margin-bottom: 14px; }
.t1-widget-title { font-family: var(--fd); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--g200); }
.t1-widget ul li { padding: 5px 0; font-size: 13px; color: var(--g700); border-bottom: 1px solid var(--g100); }
.t1-widget ul li:last-child { border-bottom: none; }
.t1-widget ul li a { color: var(--g700); transition: color var(--tr); }
.t1-widget ul li a:hover { color: var(--red); }

.t1-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.t1-toolbar select { height: 36px; border: 1px solid var(--g200); border-radius: var(--r6); padding: 0 12px; font-size: 13px; background: var(--white); }

/* ═══════════════════════════
   SINGLE PRODUCT
═══════════════════════════ */
.t1-product-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; padding: 20px 0 56px; }

/* Gallery */
.t1-gallery { position: sticky; top: calc(var(--hh) + 16px); }
.t1-gallery-main {
  aspect-ratio: 1;
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--r8);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.t1-gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.t1-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.t1-gallery-thumb {
  width: 60px; height: 60px;
  border: 2px solid var(--g200);
  border-radius: var(--r6);
  overflow: hidden; cursor: pointer;
  background: var(--g50);
  transition: border-color var(--tr);
  flex-shrink: 0;
}
.t1-gallery-thumb.active, .t1-gallery-thumb:hover { border-color: var(--red); }
.t1-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Buy box */
.t1-buybox { position: sticky; top: calc(var(--hh) + 16px); }
.t1-buybox-brand { font-size: 13px; color: var(--red); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .4px; }
.t1-buybox-title { font-family: var(--fd); font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 10px; }
.t1-buybox-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--g500);
  padding-bottom: 12px; border-bottom: 1px solid var(--g200); margin-bottom: 12px;
}
.t1-buybox-price { font-family: var(--fd); font-size: 34px; font-weight: 700; color: var(--red); line-height: 1; }
.t1-buybox-price del { font-size: 16px; color: var(--g400); font-weight: 400; margin-right: 4px; }
.t1-buybox-price ins { text-decoration: none; }
.t1-buybox-save { display: inline-block; background: var(--amber-lt); color: #92400E; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--r4); margin-top: 4px; }
.t1-buybox-stock-ok { color: var(--green); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; margin: 10px 0; }
.t1-buybox-stock-no { color: #DC2626; font-size: 13px; font-weight: 600; margin: 10px 0; }
.t1-buybox-delivery { font-size: 13px; color: var(--g700); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.t1-buybox-delivery svg { color: var(--green); flex-shrink: 0; }
.t1-buybox-delivery strong { color: var(--navy); }

/* Trust bar */
.t1-ptrust { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--g200); border-radius: var(--r6); overflow: hidden; margin-bottom: 14px; }
.t1-ptrust-item { padding: 8px 6px; text-align: center; border-right: 1px solid var(--g200); font-size: 11px; color: var(--g700); line-height: 1.4; }
.t1-ptrust-item:last-child { border-right: none; }
.t1-ptrust-item strong { display: block; font-size: 12px; color: var(--navy); margin-bottom: 1px; }

/* Qty + ATC */
.t1-buybox-actions { display: flex; gap: 8px; margin-bottom: 10px; }
.t1-qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--g200); border-radius: var(--r6); overflow: hidden; flex-shrink: 0; }
.t1-qty-btn { width: 34px; height: 46px; background: var(--g50); font-size: 18px; font-weight: 700; color: var(--navy); transition: background var(--tr); display: flex; align-items: center; justify-content: center; }
.t1-qty-btn:hover { background: var(--g200); }
.t1-qty-input { width: 44px; height: 46px; border: none; text-align: center; font-size: 15px; font-weight: 600; color: var(--navy); outline: none; }
.t1-atc-btn {
  flex: 1; height: 46px;
  background: var(--red); color: var(--white);
  border-radius: var(--r6);
  font-family: var(--fd); font-size: 18px; font-weight: 700;
  cursor: pointer; transition: background var(--tr);
  letter-spacing: .3px;
}
.t1-atc-btn:hover  { background: var(--red-dk); }
.t1-atc-btn.adding { background: var(--g400); pointer-events: none; }
.t1-atc-btn.added  { background: var(--green); }
.t1-wish-btn { width: 46px; height: 46px; border: 1.5px solid var(--g200); border-radius: var(--r6); display: flex; align-items: center; justify-content: center; color: var(--g500); flex-shrink: 0; transition: border-color var(--tr), color var(--tr); }
.t1-wish-btn:hover { border-color: var(--red); color: var(--red); }

/* Product tabs */
.t1-product-tabs { margin-top: 40px; }
.t1-tab-nav { display: flex; border-bottom: 2px solid var(--g200); overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.t1-tab-nav::-webkit-scrollbar { display: none; }
.t1-tab-btn { font-family: var(--fd); font-size: 15px; font-weight: 700; padding: 11px 22px; color: var(--g500); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; transition: color var(--tr), border-color var(--tr); }
.t1-tab-btn:hover { color: var(--navy); }
.t1-tab-btn.active { color: var(--navy); border-bottom-color: var(--red); }
.t1-tab-panel { display: none; padding: 28px 0; }
.t1-tab-panel.active { display: block; }

/* Fitment table */
.t1-fit-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.t1-fit-table th { background: var(--navy); color: var(--white); padding: 10px 14px; text-align: left; font-family: var(--fd); font-size: 14px; font-weight: 700; }
.t1-fit-table td { padding: 8px 14px; border-bottom: 1px solid var(--g200); color: var(--g700); }
.t1-fit-table tr:nth-child(even) td { background: var(--g50); }
.t1-fit-table tr:hover td { background: #FEF2F2; }

/* Breadcrumb */
.t1-bc { font-size: 12px; color: var(--g400); padding: 12px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.t1-bc a { color: var(--g500); transition: color var(--tr); }
.t1-bc a:hover { color: var(--red); }
.t1-bc-sep { color: var(--g300); }

/* ═══════════════════════════
   CART
═══════════════════════════ */
.t1-cart-page { padding: 28px 0 64px; }
.t1-cart-page h1 { font-family: var(--fd); font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.t1-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.t1-cart-table { width: 100%; border-collapse: collapse; }
.t1-cart-table th { text-align: left; font-size: 11px; font-weight: 600; color: var(--g500); text-transform: uppercase; letter-spacing: .5px; padding: 0 10px 10px; border-bottom: 2px solid var(--g200); }
.t1-cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--g200); vertical-align: middle; }
.t1-cart-img { width: 68px; height: 68px; object-fit: contain; border: 1px solid var(--g200); border-radius: var(--r6); background: var(--g50); padding: 4px; }
.t1-cart-name { font-size: 13px; font-weight: 500; color: var(--navy); line-height: 1.4; }
.t1-cart-name a { color: inherit; }
.t1-cart-name a:hover { color: var(--red); }
.t1-cart-meta { font-size: 11px; color: var(--g500); margin-top: 3px; }
.t1-cart-remove { color: var(--g400); font-size: 18px; cursor: pointer; transition: color var(--tr); display: flex; align-items: center; }
.t1-cart-remove:hover { color: var(--red); }
.t1-cart-price { font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--red); white-space: nowrap; }
.t1-cart-qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--g200); border-radius: var(--r6); overflow: hidden; width: fit-content; }
.t1-cart-qty-btn { width: 28px; height: 32px; background: var(--g50); font-size: 15px; font-weight: 700; color: var(--g700); transition: background var(--tr); display: flex; align-items: center; justify-content: center; }
.t1-cart-qty-btn:hover { background: var(--g200); }
.t1-cart-qty-input { width: 36px; height: 32px; border: none; text-align: center; font-size: 13px; font-weight: 600; outline: none; }

/* Cart totals */
.t1-cart-totals { background: var(--g50); border: 1px solid var(--g200); border-radius: var(--r8); padding: 18px; position: sticky; top: calc(var(--hh) + 16px); }
.t1-cart-totals h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--g200); }
.t1-total-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--g100); }
.t1-total-row:last-of-type { border-bottom: none; }
.t1-total-row .lbl { color: var(--g500); }
.t1-total-row .val { font-weight: 600; color: var(--navy); }
.t1-total-row.grand .lbl { font-weight: 700; color: var(--navy); font-size: 15px; }
.t1-total-row.grand .val { font-family: var(--fd); font-size: 22px; color: var(--red); }
.t1-coupon-row { display: flex; gap: 8px; margin: 12px 0; }
.t1-coupon-row input { flex: 1; height: 38px; border: 1.5px solid var(--g200); border-radius: var(--r6); padding: 0 10px; font-size: 13px; outline: none; }
.t1-coupon-row input:focus { border-color: var(--red); }
.t1-coupon-row button { height: 38px; padding: 0 12px; background: var(--navy); color: var(--white); border-radius: var(--r6); font-family: var(--fd); font-size: 13px; font-weight: 700; cursor: pointer; }
.t1-to-checkout { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; background: var(--red); color: var(--white); border-radius: var(--r6); font-family: var(--fd); font-size: 18px; font-weight: 700; cursor: pointer; text-decoration: none; margin-top: 12px; transition: background var(--tr); }
.t1-to-checkout:hover { background: var(--red-dk); color: var(--white); }
.t1-ship-progress { background: var(--green-lt); border: 1px solid #BBF7D0; border-radius: var(--r6); padding: 10px 12px; font-size: 12px; color: #15803D; margin-bottom: 12px; font-weight: 500; }
.t1-ship-bar { height: 4px; background: #D1FAE5; border-radius: 2px; margin-top: 6px; overflow: hidden; }
.t1-ship-fill { height: 100%; background: var(--green); border-radius: 2px; transition: width .4s; }
.t1-pay-logos { display: flex; gap: 5px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.t1-pay-logo { background: var(--white); border: 1px solid var(--g200); border-radius: var(--r4); padding: 3px 7px; font-size: 10px; font-weight: 700; color: var(--g500); }

/* ═══════════════════════════
   CHECKOUT — WC OVERRIDES
═══════════════════════════ */
.woocommerce-checkout #customer_details { float: none !important; width: 100% !important; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--g200) !important;
  border-radius: var(--r6) !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-family: var(--fb) !important;
  color: var(--navy) !important;
  outline: none !important;
  transition: border-color var(--tr) !important;
  box-shadow: none !important;
  background: var(--white) !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--red) !important; }
.woocommerce form .form-row label { font-size: 12px !important; font-weight: 600 !important; color: var(--g700) !important; }
.woocommerce #payment { background: var(--g50) !important; border-radius: var(--r8) !important; border: 1px solid var(--g200) !important; }
.woocommerce #payment #place_order {
  background: var(--red) !important;
  font-family: var(--fd) !important;
  font-size: 19px !important; font-weight: 700 !important;
  border-radius: var(--r6) !important;
  height: 50px !important; width: 100% !important;
  float: none !important; display: block !important;
  transition: background var(--tr) !important;
}
.woocommerce #payment #place_order:hover { background: var(--red-dk) !important; }

/* WC general */
.woocommerce-page .woocommerce { margin: 0; }
.woocommerce ul.products { margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products li.product { margin: 0 !important; }
.woocommerce-Price-amount, .woocommerce .price { color: var(--red) !important; font-family: var(--fd) !important; font-weight: 700 !important; }
.woocommerce a.button, .woocommerce button.button { font-family: var(--fd) !important; }
.woocommerce a.button.add_to_cart_button { background: var(--navy) !important; color: var(--white) !important; border-radius: var(--r4) !important; }
.woocommerce a.button.add_to_cart_button:hover { background: var(--red) !important; }
.woocommerce .single_add_to_cart_button { background: var(--red) !important; color: var(--white) !important; font-family: var(--fd) !important; font-size: 18px !important; font-weight: 700 !important; border-radius: var(--r6) !important; width: 100% !important; }
.woocommerce .single_add_to_cart_button:hover { background: var(--red-dk) !important; }

/* Cart WC table */
.woocommerce-cart .cart_totals .checkout-button {
  background: var(--red) !important; border-radius: var(--r6) !important;
  font-family: var(--fd) !important; font-size: 18px !important; font-weight: 700 !important;
  display: block !important; text-align: center !important; padding: 13px !important;
}

/* Pagination */
.t1-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.t1-pagination a, .t1-pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--g200); border-radius: var(--r6); font-size: 13px; font-weight: 500; transition: all var(--tr); }
.t1-pagination a:hover { border-color: var(--red); color: var(--red); }
.t1-pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
#t1-footer { background: var(--navy); padding: 52px 0 0; width: 100%; }
.t1-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.t1-footer-brand { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.t1-footer-brand span { color: var(--red); }
.t1-footer-desc { font-size: 13px; color: var(--g400); line-height: 1.7; max-width: 280px; margin-bottom: 18px; }
.t1-footer-pays { display: flex; gap: 6px; flex-wrap: wrap; }
.t1-footer-pay { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r4); padding: 3px 8px; font-size: 10px; font-weight: 700; color: var(--g400); }
.t1-footer-col h4 { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.t1-footer-links { display: flex; flex-direction: column; gap: 9px; }
.t1-footer-links a { font-size: 13px; color: var(--g400); transition: color var(--tr); }
.t1-footer-links a:hover { color: var(--white); }
.t1-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #4B5563; flex-wrap: wrap; gap: 8px; }
.t1-footer-bottom-links { display: flex; gap: 18px; }
.t1-footer-bottom-links a { color: #4B5563; transition: color var(--tr); }
.t1-footer-bottom-links a:hover { color: var(--g400); }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 1100px) {
  .t1-products { grid-template-columns: repeat(4,1fr); }
  .t1-product-layout { grid-template-columns: 1fr 380px; }
  .t1-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .t1-trust-grid { grid-template-columns: repeat(2,1fr); }
  .t1-trust-item:nth-child(2) { border-right: none; }
  .t1-trust-item:nth-child(3) { border-top: 1px solid var(--g200); }
  .t1-trust-item:nth-child(4) { border-top: 1px solid var(--g200); border-right: none; }
  .t1-cat-grid { grid-template-columns: repeat(3,1fr); }
  .t1-shop-wrap { grid-template-columns: 210px 1fr; }
}
@media (max-width: 900px) {
  .t1-product-layout { grid-template-columns: 1fr; }
  .t1-gallery { position: static; }
  .t1-buybox  { position: static; }
  .t1-how-grid { grid-template-columns: 1fr; }
  .t1-how-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .t1-blog-grid { grid-template-columns: 1fr 1fr; }
  .t1-shop-wrap { grid-template-columns: 1fr; }
  .t1-sidebar { position: static; }
  .t1-cart-layout { grid-template-columns: 1fr; }
  .t1-cart-totals { position: static; }
}
@media (max-width: 768px) {
  .t1-wrap { padding: 0 14px; }
  .t1-topbar-right { display: none; }
  .t1-header-search { display: none; }
  .t1-nav-toggle { display: flex; }
  #t1-nav { display: none; }
  #t1-nav.open { display: block; }
  .t1-nav-inner { flex-direction: column; align-items: stretch; }
  .t1-nav-inner > a, .t1-nav-inner > .t1-nav-item > a { border-bottom: 1px solid rgba(255,255,255,.1); }
  .t1-products { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .t1-cat-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .t1-trust-grid { grid-template-columns: 1fr 1fr; }
  .t1-footer-grid { grid-template-columns: 1fr; }
  .t1-ptrust { grid-template-columns: 1fr 1fr; }
  .t1-hero-trust { flex-direction: column; align-items: center; gap: 8px; }
  .t1-how-step { padding: 28px 20px; }
  .t1-blog-grid { grid-template-columns: 1fr; }
  .t1-sec { padding: 40px 0; }
  .t1-cart-table th:nth-child(3),
  .t1-cart-table td:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .t1-trust-grid { grid-template-columns: 1fr; }
  .t1-trust-item { border-right: none; border-bottom: 1px solid var(--g200); }
  .t1-trust-item:last-child { border-bottom: none; }
  .t1-products { grid-template-columns: repeat(2,1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
