/* ============================================================
   FITGEAR PRO THEME — Dedicated Self-Contained Stylesheet
   Design Language: Power Red, Carbon Black, Steel Gray, 4:3 Cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Brand Tokens */
  --brand-red: #D62828;           /* Power Red */
  --brand-red-hover: #B71C1C;
  --brand-red-light: #FEE2E2;
  --brand-yellow: #F7B731;        /* Adrenaline High-Impact Yellow */
  --brand-dark: #101010;          /* Carbon Obsidian Black */
  --brand-charcoal: #1E1E1E;      /* Industrial Matte Dark */
  --brand-steel: #64748B;

  /* Semantic UI Colors */
  --color-bg: #F4F4F5;            /* Gym Steel Canvas */
  --color-surface: #FFFFFF;
  --color-surface-2: #ECECEE;
  --color-surface-3: #E0E0E4;
  --color-text: #18181B;
  --color-text-2: #3F3F46;
  --color-text-3: #71717A;
  --color-border: #E4E4E7;
  --color-border-strong: #D4D4D8;

  /* Typography */
  --font-display: 'Oswald', Impact, sans-serif;
  --font-serif: 'Oswald', Impact, sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Geometry */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-card: 6px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(16, 16, 16, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 16, 16, 0.1);
  --shadow-lg: 0 16px 36px rgba(16, 16, 16, 0.16);
  --shadow-hover: 0 14px 30px rgba(214, 40, 40, 0.25);

  --max-w: 1320px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-dark);
  letter-spacing: 0.03em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-primary, .btn-red {
  background: var(--brand-red);
  color: #FFFFFF;
}

.btn-primary:hover, .btn-red:hover {
  background: var(--brand-red-hover);
  box-shadow: 0 4px 18px rgba(214, 40, 40, 0.45);
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--brand-yellow);
  color: #101010;
}

.btn-yellow:hover {
  background: #E5A825;
  box-shadow: 0 4px 16px rgba(247, 183, 49, 0.35);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.btn-dark:hover {
  background: #242424;
}

.btn-outline {
  border: 2px solid var(--brand-red);
  background: transparent;
  color: var(--brand-red);
}

.btn-outline:hover {
  background: rgba(214, 40, 40, 0.08);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.badge-red { background: #FEE2E2; color: #B71C1C; border: 1px solid #FCA5A5; }
.badge-yellow { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.badge-dark { background: var(--brand-dark); color: #FFFFFF; }
.badge-emerald { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }

/* Top Announcement Ticker */
.fit-ticker {
  background: #0A0A0A;
  color: #E4E4E7;
  font-size: 0.78rem;
  padding: 0.5rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.fit-ticker strong {
  color: var(--brand-yellow);
}

/* Header */
.site-header {
  background: #FFFFFF;
  border-bottom: 2px solid var(--brand-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-main {
  padding: 1.15rem 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--brand-dark);
}

.brand-logo i {
  color: var(--brand-red);
}

.brand-logo span {
  color: var(--brand-red);
}

.search-bar-wrap {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--brand-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.15);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
}

.search-btn {
  background: var(--brand-red);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--brand-red-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text);
  font-size: 0.825rem;
  font-weight: 700;
  position: relative;
  transition: var(--transition);
}

.action-btn:hover {
  color: var(--brand-red);
}

.action-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav Bar */
.nav-bar {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
}

.nav-item a {
  display: block;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #D4D4D8;
  transition: var(--transition);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--brand-yellow);
  border-bottom: 2px solid var(--brand-red);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #18181B 0%, #09090B 100%);
  color: #FFFFFF;
  padding: 5.5rem 0;
  border-bottom: 3px solid var(--brand-red);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(214, 40, 40, 0.2);
  color: #F87171;
  border: 1px solid rgba(214, 40, 40, 0.4);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--brand-red);
}

.hero-desc {
  font-size: 1.05rem;
  color: #A1A1AA;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: var(--radius-card);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  max-height: 480px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Discipline & Goal Filter Bar */
.spec-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.spec-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.spec-pill {
  padding: 0.45rem 1.1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-2);
  cursor: pointer;
  transition: var(--transition);
}

.spec-pill.active, .spec-pill:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

/* Categories Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

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

.category-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(214, 40, 40, 0.08);
  color: var(--brand-red);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--brand-red);
  color: #FFFFFF;
}

.category-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.category-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-3);
  font-weight: 600;
}

/* Product Cards (4:3 Landscape Ratio for Gym Equipment Context) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.product-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #18181B;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.product-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.product-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-wishlist-btn:hover,
.product-wishlist-btn.active {
  background: #FEE2E2;
  color: #EF4444;
  border-color: #FCA5A5;
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.steel-gauge-tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--brand-red);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-dark);
  margin-bottom: 0.35rem;
}

.weight-strip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-2);
  background: var(--color-bg);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  display: block;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.product-price-box {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--brand-red);
}

.price-old {
  font-size: 0.8rem;
  color: var(--color-text-3);
  text-decoration: line-through;
}

.add-cart-btn {
  background: var(--brand-red);
  color: #FFFFFF;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  text-transform: uppercase;
}

.add-cart-btn:hover {
  background: var(--brand-red-hover);
  box-shadow: 0 4px 12px rgba(214, 40, 40, 0.35);
}

/* Trust Strip */
.trust-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-icon {
  font-size: 1.75rem;
  color: var(--brand-red);
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--color-text-2);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-2);
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--brand-dark);
  color: #A1A1AA;
  margin-top: auto;
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #A1A1AA;
  font-size: 0.825rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-yellow);
  padding-left: 4px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--brand-red);
}

.footer-newsletter p {
  font-size: 0.825rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: #FFF;
  outline: none;
  font-size: 0.825rem;
}

.newsletter-input:focus {
  border-color: var(--brand-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.78rem;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 16, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

.cart-drawer.open {
  right: 0;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-close {
  color: var(--color-text-2);
  font-size: 1.25rem;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer-item-img {
  width: 75px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #18181B;
}

.drawer-item-info {
  flex: 1;
}

.drawer-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.2rem;
}

.drawer-item-price {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--brand-red);
  margin-bottom: 0.4rem;
}

.drawer-qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: fit-content;
  background: var(--color-bg);
}

.drawer-qty-stepper button {
  padding: 0.15rem 0.5rem;
  font-weight: 700;
}

.drawer-qty-stepper span {
  padding: 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.drawer-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--brand-red);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--brand-dark);
  color: #FFFFFF;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.825rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--brand-red);
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Catalog Filter Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  position: sticky;
  top: 85px;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--color-text-2);
  cursor: pointer;
}

.filter-item input[type="checkbox"] {
  accent-color: var(--brand-red);
}

/* PDP Layout */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 85px;
}

.pdp-main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  object-fit: cover;
  margin-bottom: 1rem;
  background: #18181B;
}

.pdp-thumb-row {
  display: flex;
  gap: 0.75rem;
}

.pdp-thumb {
  width: 85px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  cursor: pointer;
  object-fit: cover;
}

.pdp-thumb.active {
  border-color: var(--brand-red);
}

.pdp-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.pdp-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.25rem 0;
}

.pdp-price {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--brand-red);
}

/* Meta Specs Table */
.fit-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 1.5rem 0;
}

.fit-spec-table tr:nth-child(even) {
  background: var(--color-bg);
}

.fit-spec-table td {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.fit-spec-table td.spec-key {
  font-weight: 600;
  color: var(--color-text-2);
  width: 35%;
  font-family: var(--font-mono);
}

/* Forms & Tables */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-text-2);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-text);
  background: #FFFFFF;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.15);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--color-surface-2);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-border);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .pdp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.8rem; }
  .header-main .container { flex-wrap: wrap; }
  .search-bar-wrap { order: 3; max-width: 100%; width: 100%; }
  .nav-bar { overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
