/* ============================================= */
/* FITNESS BOX — Main Stylesheet                  */
/* Brand tokens + motion system + components      */
/* ============================================= */

/* ── Tailwind config (loaded inline for theme) ─ */
:root {
  --fb-green: #87B11F;
  --fb-green-d: #6A8C18;
  --fb-green-l: #D9E8B2;
  --fb-black: #0A0A0A;
  --fb-ink: #1A1A1A;
  --fb-gray: #6B6B6B;
  --fb-mute: #9A9A9A;
  --fb-bg: #F7F7F5;
  --fb-border: #E6E6E2;
}

/* ── Base ─────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--fb-ink);
  background: #fff;
  margin: 0;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Custom scrollbar ─────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--fb-bg); }
::-webkit-scrollbar-thumb { background: var(--fb-black); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--fb-green); }

/* ── Brand mark ───────────────────────── */
/* ── Logo Constraints ──────────────────────── */
.custom-logo {
  max-height: 60px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}
.shrink-0 { flex-shrink: 0; }

/* ── Essential Layout Utilities ───────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }

.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.shrink-0 { flex-shrink: 0; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.font-heading { font-family: 'Montserrat', sans-serif; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }

.bg-white { background-color: #fff; }
.bg-fb-black { background-color: var(--fb-black); }
.bg-fb-green { background-color: var(--fb-green); }
.text-white { color: #fff; }
.text-fb-black { color: var(--fb-black); }
.text-fb-green { color: var(--fb-green); }
.text-fb-gray { color: var(--fb-gray); }
.text-fb-mute { color: var(--fb-mute); }
.border-fb-border { border-color: var(--fb-border); }

.hidden { display: none; }
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

/* ── Spacing Utilities ──────────────────────── */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ── Page-Specific Components ───────────────── */
.btn-primary {
  background-color: var(--fb-green);
  color: var(--fb-black);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background-color: var(--fb-black);
  color: var(--fb-green);
}
.btn-outline {
  border: 2px solid var(--fb-black);
  color: var(--fb-black);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  background-color: var(--fb-black);
  color: #fff;
}
.prose-content {
  line-height: 1.7;
  color: var(--fb-gray);
}
.prose-content p { margin-bottom: 1.5rem; }
.prose-content h2 { color: var(--fb-black); font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }

/* ── Logo Constraints ──────────────────────── */
.custom-logo {
  max-height: 60px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}
.shrink-0 { flex-shrink: 0; }

/* ── Essential Layout Utilities ───────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:flex { display: flex; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
}

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }

.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-3 { margin-bottom: 0.75rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.shrink-0 { flex-shrink: 0; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }

.bg-white { background-color: #fff; }
.bg-fb-black { background-color: var(--fb-black); }
.bg-fb-green { background-color: var(--fb-green); }
.text-white { color: #fff; }
.text-fb-black { color: var(--fb-black); }
.text-fb-green { color: var(--fb-green); }
.text-fb-gray { color: var(--fb-gray); }
.text-fb-mute { color: var(--fb-mute); }
.border-fb-border { border-color: var(--fb-border); }

.hidden { display: none; }
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
}

.brand-mark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.85;
}
.brand-mark .word-1 { color: #0A0A0A; }
.brand-mark .word-2 { color: var(--fb-green); }
.brand-mark-dark .word-1 { color: #FFFFFF; }
.brand-mark-dark .word-2 { color: var(--fb-green); }
.brand-mark-tiny {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.font-display { font-family: 'Montserrat', sans-serif; }
.font-script { font-family: 'Playfair Display', serif; }\n

/* ── "We Sell Fitness" italic display ─── */
.script-headline {
  font-family: "Playfair Display Italic", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

/* ── Hero paint stroke accent ────────── */
.paint-stroke {
  position: relative;
  display: inline-block;
}
.paint-stroke::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org\/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 C 30 2, 60 12, 100 6 S 170 2, 198 8 L 198 12 L 2 12 Z' fill='%23A4D729'/></svg>") no-repeat;
  background-size: 100% 100%;
}

/* ── Hero blobs ───────────────────────── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--fb-green);
  top: -250px; right: -150px;
  opacity: 0.55;
  animation: blobFloat 22s ease-in-out infinite;
}
.hero-blob-2 {
  width: 500px; height: 500px;
  background: #87B11F;
  bottom: -200px; left: -150px;
  opacity: 0.45;
  animation: blobFloat 28s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 400px; height: 400px;
  background: var(--fb-green);
  top: 40%; left: 30%;
  opacity: 0.18;
  animation: blobFloat 35s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.18); }
  66% { transform: translate(-50px, 60px) scale(0.9); }
}

/* ── Kinetic cycling text ─────────────── */
.cycle-container {
  position: relative;
  display: block;
  min-height: 1em;
  overflow: visible;
}
.cycle-words {
  position: relative;
  display: inline-block;
  height: 1em;
  min-width: 5ch;
  vertical-align: top;
}
.cycle-word {
  position: absolute;
  left: 0; top: 0;
  display: inline-block;
  opacity: 0;
  transform: translateY(80%) skewY(8deg);
  transform-origin: bottom left;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.cycle-word.active {
  opacity: 1;
  transform: translateY(0) skewY(0);
}

/* ── Floating cards ───────────────────── */
.floating-card { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.floating-1 { animation: bobUp 4s ease-in-out infinite; }
.floating-2 { animation: bobUp 5s ease-in-out infinite 0.7s; }
.floating-3 { animation: bobUp 4.5s ease-in-out infinite 1.4s; }
@keyframes bobUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ── Paint stroke drawing ─────────────── */
.paint-path {
  fill: var(--fb-green);
  transform-origin: left center;
  transform: scaleX(0);
  animation: paintIn 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.7s;
}
@keyframes paintIn {
  to { transform: scaleX(1); }
}

/* ── Scroll indicator ─────────────────── */
.scroll-indicator {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--fb-green);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 14px); opacity: 0.3; }
}

/* ── Buttons ──────────────────────────── */
.btn-primary {
  background: #0A0A0A; color: #fff;
  padding: 14px 28px; font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0;
}
.btn-primary:hover { background: var(--fb-green); color: #0A0A0A; }
.btn-green {
  background: var(--fb-green); color: #0A0A0A;
  padding: 14px 28px; font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0;
}
.btn-green:hover { background: #0A0A0A; color: #fff; }
.btn-outline {
  background: transparent; color: #0A0A0A;
  padding: 14px 28px; font-weight: 600;
  border: 2px solid #0A0A0A;
  transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: #0A0A0A; color: #fff; }
.btn-outline-white {
  background: transparent; color: #fff;
  padding: 14px 28px; font-weight: 600;
  border: 2px solid #fff;
  transition: all 0.2s ease;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.02em;
}
.btn-outline-white:hover { background: #fff; color: #0A0A0A; }

/* ── Star rating ──────────────────────── */
.stars { color: var(--fb-green); letter-spacing: 1px; }

/* ── Ribbon (over-label tag) ──────────── */
.ribbon {
  display: inline-block;
  background: var(--fb-green);
  color: #0A0A0A;
  padding: 6px 14px;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  vertical-align: top;
}

/* ── Hero V2 background layers ────────── */
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ── Stagger entrance ─────────────────── */
.stagger-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.stagger-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll-reveal sections ───────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page motion system ──────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--fb-green) 0%, var(--fb-green-d) 50%, var(--fb-green) 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 12px rgba(164, 215, 41, 0.6);
  transition: width 0.05s linear;
}

.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
.floating-cta:hover { transform: scale(1.1); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(37, 211, 102, 0.15); }
}

.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.img-zoom {
  overflow: hidden;
  position: relative;
}
.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img { transform: scale(1.08); }

.link-underline {
  position: relative;
  display: inline-block;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section-with-accent {
  position: relative;
  overflow: hidden;
}
.section-with-accent::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--fb-green);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
  top: -200px; right: -200px;
  z-index: 0;
  pointer-events: none;
}

.marquee-track { animation: marquee 28s linear infinite; }
.marquee-track-slow { animation: marquee 38s linear infinite; }
.marquee-track-fast { animation: marquee 20s linear infinite; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tab-btn {
  position: relative;
  background: transparent;
  border: 0;
}
.tab-btn::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 3px;
  background: var(--fb-green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.tab-btn.active-tab::after { transform: scaleX(1); }

/* ── Phase 2 enhancements ─────────────── */
.paint-stroke-h {
  position: relative;
  display: inline-block;
  padding-bottom: 22px;
}
.paint-stroke-h::after {
  content: '';
  position: absolute;
  left: -3%; right: -3%;
  bottom: 0;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org\/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 9 C 30 3, 60 13, 100 7 S 170 3, 198 9 L 198 14 L 2 14 Z' fill='%23A4D729'/></svg>") no-repeat;
  background-size: 100% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.scroll-reveal.revealed .paint-stroke-h::after,
.stagger-item.revealed .paint-stroke-h::after { transform: scaleX(1); }

.section-cycle {
  position: relative;
  display: inline-block;
  min-width: 4ch;
  vertical-align: top;
}
.section-cycle-word {
  position: absolute;
  left: 0; top: 0;
  opacity: 0;
  transform: translateY(50%) skewY(6deg);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.section-cycle-word.active {
  opacity: 1;
  transform: translateY(0) skewY(0);
  position: relative;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #0A0A0A;
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease 0.1s, visibility 0.6s ease 0.1s;
}
.page-loader.loaded { opacity: 0; visibility: hidden; }

/* CSS-only safety net: dismiss the page-loader after 4 s even if JS
   fails to run (e.g. a third-party script error breaks `window.load`).
   This guarantees the page content is always revealed. */
@media (prefers-reduced-motion: no-preference) {
  body:not(.fb-loader-cleared) #pageLoader {
    animation: fb-loader-auto-hide 0.6s ease 4s forwards;
  }
}
@keyframes fb-loader-auto-hide {
  to { opacity: 0; visibility: hidden; }
}

/* ─────────────────────────────────────────────────────────────
   Stretched-link overlay for product cards
   ─────────────────────────────────────────────────────────────
   Makes the entire card clickable to the product page WITHOUT
   producing invalid nested <a> tags. The overlay sits behind
   the explicit Add-to-cart / Quick-view buttons (z-index 1),
   so those still receive their own clicks normally. */
.product-card { position: relative; }
.product-card .fb-product-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;            /* above image / title text */
  text-indent: -9999px;  /* visually hidden text */
  overflow: hidden;
}
.product-card a:not(.fb-product-stretched-link),
.product-card button {
  position: relative;
  z-index: 2;            /* above the stretched-link */
}
.product-card h2.woocommerce-loop-product__title {
  position: relative;
  z-index: 1;            /* title sits behind the stretched link but above the image */
}
.product-card .woocommerce-loop-product__title a {
  color: inherit;
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────
   Categories slider (home page)
   ───────────────────────────────────────────────────────────── */
.fb-cat-slider {
  position: relative;
  /* Leave room for the prev/next buttons on the sides */
  padding: 0 8px;
}
.fb-cat-swiper .swiper-slide {
  height: auto;
}
.fb-cat-swiper .swiper-slide > a {
  display: block;
  height: 100%;
}

/* Prev / next navigation arrows */
.fb-cat-nav {
  position: absolute;
  top: calc(50% - 28px); /* vertically center on the image area (subtract the title block) */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #0A0A0A;
  border: 2px solid #0A0A0A;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.fb-cat-nav:hover {
  background: #A4D729;
  color: #0A0A0A;
  border-color: #A4D729;
}
.fb-cat-nav:active { transform: translateY(-50%) scale(0.95); }
.fb-cat-nav.swiper-button-disabled { opacity: 0.35; cursor: not-allowed; }
.fb-cat-prev { left: -8px; }
.fb-cat-next { right: -8px; }

/* Pagination dots */
.fb-cat-pagination {
  position: relative !important;       /* override Swiper's default absolute */
  margin-top: 40px;
  text-align: center;
  left: auto !important;                /* override Swiper's left:0 */
  right: auto !important;
  bottom: auto !important;              /* override Swiper's bottom:0 */
  width: auto !important;               /* override Swiper's width:100% */
  transform: none !important;           /* override Swiper's translateX(-50%) */
}
.fb-cat-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d6d6d2;
  opacity: 1;
  margin: 0 5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.fb-cat-pagination .swiper-pagination-bullet-active {
  background: #A4D729;
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .fb-cat-nav {
    width: 52px;
    height: 52px;
  }
  .fb-cat-prev { left: -16px; }
  .fb-cat-next { right: -16px; }
}
.page-loader .loader-mark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.page-loader .loader-mark .white { color: #fff; }
.page-loader .loader-mark .green { color: var(--fb-green); }
.page-loader .loader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.1);
  margin: 28px auto 0;
  overflow: hidden;
}
.page-loader .loader-bar-fill {
  width: 0%; height: 100%;
  background: var(--fb-green);
  animation: loaderFill 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes loaderFill { to { width: 100%; } }
.page-loader .loader-sub {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 18px;
  font-weight: 600;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--fb-green);
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 2px solid var(--fb-green);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.hovering {
  width: 56px; height: 56px;
  background: rgba(164, 215, 41, 0.15);
  border-color: rgba(164, 215, 41, 0.6);
}
.cursor-dot.hovering { width: 0; height: 0; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

.quick-view-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  background: #fff; color: #0A0A0A;
  padding: 12px 24px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 25;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  white-space: nowrap;
  border: 0;
}
.product-card:hover .quick-view-btn {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.quick-view-btn:hover { background: var(--fb-green); }

.newsletter-success { display: none; text-align: center; padding: 20px; }
.newsletter-success.show {
  display: block;
  animation: successIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes successIn {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}
.newsletter-success .check-circle {
  width: 60px; height: 60px;
  background: #0A0A0A;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.section-divider {
  height: 2px;
  background: #0A0A0A;
  width: 0;
  margin: 0 auto;
  transition: width 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.section-divider.drawn { width: 100%; }
.section-divider-light { background: #fff; }
.section-divider-green { background: var(--fb-green); }

/* ── Product card hover image swap ────── */
.product-card .hover-img { opacity: 0; transition: opacity 0.35s ease; }
.product-card:hover .hover-img { opacity: 1; }
.product-card:hover .default-img { opacity: 0; }
.product-card .default-img { transition: opacity 0.35s ease; }

/* ── WordPress / WooCommerce defaults ─── */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption-text { font-size: 0.875em; color: var(--fb-gray); text-align: center; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* ── WordPress forms ──────────────────── */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
  background: #fff;
  border: 1px solid var(--fb-border);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--fb-ink);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--fb-black);
  box-shadow: 0 0 0 3px rgba(164, 215, 41, 0.2);
}

/* ── WooCommerce overrides ────────────── */
.woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--fb-green-l) !important;
  border-top: 3px solid var(--fb-green) !important;
  color: var(--fb-ink) !important;
  padding: 16px 20px !important;
}
.woocommerce-error { background: #fee !important; border-color: #c00 !important; }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--fb-black) !important;
  color: #fff !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: 0.02em;
  border-radius: 0 !important;
  transition: all 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--fb-black) !important;
  color: #fff !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--fb-black);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.5em;
}
.woocommerce div.product p.price ins { color: var(--fb-green-d); }
.woocommerce .star-rating { color: var(--fb-green) !important; }
.woocommerce span.onsale {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
  font-weight: 500 !important;
  border-radius: 0 !important;
  padding: 4px 10px !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: 0.05em;
}
.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  transition: transform 0.4s ease;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: var(--fb-ink) !important;
  padding: 12px 0 4px !important;
  line-height: 1.4 !important;
}
.woocommerce ul.products li.product .price {
  color: var(--fb-black) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  padding: 10px 16px !important;
  font-weight: 600 !important;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
}
.woocommerce form .form-row label {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--fb-ink);
}
.woocommerce table.shop_table {
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
}
.woocommerce table.shop_table th {
  background: var(--fb-bg) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

/* ── Comment list ─────────────────────── */
.comment-list, .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment-body {
  padding: 20px 0;
  border-bottom: 1px solid var(--fb-border);
}
.comment-author { font-weight: 700; }
.comment-metadata { font-size: 13px; color: var(--fb-gray); margin-bottom: 8px; }

/* ── Pagination ───────────────────────── */
.navigation.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0;
}
.navigation.pagination a,
.navigation.pagination span {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--fb-border);
  transition: all 0.2s;
}
.navigation.pagination a:hover,
.navigation.pagination .current {
  background: var(--fb-black);
  color: #fff;
  border-color: var(--fb-black);
}

/* ── Reduced motion ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Utility classes ──────────────────── */
.container-fb { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.text-fb-green { color: var(--fb-green); }
.text-fb-black { color: var(--fb-black); }
.text-fb-gray { color: var(--fb-gray); }
.bg-fb-green { background: var(--fb-green); }
.bg-fb-black { background: var(--fb-black); }
.bg-fb-bg { background: var(--fb-bg); }
.font-display { font-family: 'Montserrat', sans-serif; }
.font-script { font-family: 'Playfair Display', serif; font-style: italic; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.18em; }
.tracking-wider { letter-spacing: 0.1em; }

/* ── Print ────────────────────────────── */
@media print {
  .page-loader, .floating-cta, .scroll-progress, .cursor-dot, .cursor-ring { display: none !important; }
}

/* ── Primary nav (header.php) ───────────────── */
.fb-nav-list { list-style: none; margin: 0; padding: 0; }
.fb-nav-list li { position: relative; }
.fb-nav-list li a { display: block; }
.fb-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0A0A0A;
  min-width: 220px;
  z-index: 50;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  border-top: 2px solid var(--fb-green);
}
.fb-nav-list .sub-menu li a {
  padding: 10px 20px;
  color: #fff;
  font-size: 13px;
}
.fb-nav-list .sub-menu li a:hover { background: var(--fb-green); color: #0A0A0A; }

/* ── Header search (header.php) ───────────────── */
.search-form .search-select { padding: 8px 12px; background: var(--fb-bg); font-size: 0.875rem; font-weight: 500; border: 0; border-right: 2px solid var(--fb-black); cursor: pointer; }
.search-form .search-input { flex: 1; padding: 8px 16px; border: 0; font-size: 0.875rem; outline: none; min-width: 0; }
.search-form .search-submit { padding: 0 20px; background: var(--fb-black); color: #fff; border: 0; cursor: pointer; transition: background 0.2s, color 0.2s; }
.search-form .search-submit:hover { background: var(--fb-green); color: var(--fb-black); }
.search-form .search-submit svg { width: 20px; height: 20px; }

/* ── Page header (page.php etc) ───────────────── */
.page-header { background: linear-gradient(180deg, #F7F7F5 0%, #FFFFFF 100%); padding: 80px 0 56px; border-bottom: 1px solid var(--fb-border); }
.page-body { background: #FFFFFF; padding: 80px 0; }
.prose-content { max-width: 65ch; }
.prose-content h1, .prose-content h2, .prose-content h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--fb-black); margin-top: 1.5em; }
.prose-content h2 { font-size: 2rem; line-height: 1.2; }
.prose-content h3 { font-size: 1.5rem; }
.prose-content p { margin: 1em 0; line-height: 1.7; color: var(--fb-ink); }
.prose-content a { color: var(--fb-green-d); text-decoration: underline; }
.prose-content a:hover { color: var(--fb-black); }
.prose-content ul, .prose-content ol { padding-left: 1.5em; margin: 1em 0; }
.prose-content li { margin: 0.5em 0; }
.prose-content blockquote { border-left: 4px solid var(--fb-green); padding-left: 1em; margin: 1.5em 0; color: var(--fb-gray); font-style: italic; }
.prose-content img { max-width: 100%; height: auto; margin: 1.5em 0; border-radius: 4px; }
.prose-content code { background: var(--fb-bg); padding: 2px 6px; border-radius: 3px; font-family: 'Courier New', monospace; font-size: 0.9em; }
.prose-content pre { background: var(--fb-black); color: #fff; padding: 1em; border-radius: 4px; overflow-x: auto; }
.prose-content pre code { background: none; color: inherit; padding: 0; }

/* =============================================================
   TAILWIND UTILITY CLASSES (Native CSS — no CDN required)
   ============================================================= */

/* ── Layout / Flex / Grid ─────────────────── */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline { display: inline; }
.table { display: table; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.grow { flex-grow: 1; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.top-3 { top: 12px; }
.top-4 { top: 16px; }
.left-3 { left: 12px; }
.left-4 { left: 16px; }
.right-3 { right: 12px; }
.right-4 { right: 16px; }
.right-6 { right: 24px; }
.top-6 { top: 24px; }
.bottom-6 { bottom: 24px; }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-bottom-6 { bottom: -24px; }
.-top-2 { top: -8px; }
.-top-6 { top: -24px; }
.-right-6 { right: -24px; }
.-left-6 { left: -24px; }
.-top-1\.5 { top: -6px; }
.-right-2 { right: -8px; }
.translate-y-full { transform: translateY(100%); }

/* ── Width / Height ─────────────────────── */
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-3\.5 { width: 14px; }
.w-4 { width: 16px; }
.w-5 { width: 20px; }
.w-6 { width: 24px; }
.w-8 { width: 32px; }
.w-9 { width: 36px; }
.w-10 { width: 40px; }
.w-12 { width: 48px; }
.w-14 { width: 56px; }
.w-56 { width: 224px; }
.w-72 { width: 288px; }
.w-96 { width: 384px; }
.h-full { height: 100%; }
.h-3\.5 { height: 14px; }
.h-4 { height: 16px; }
.h-5 { height: 20px; }
.h-6 { height: 24px; }
.h-7 { height: 28px; }
.h-8 { height: 32px; }
.h-12 { height: 48px; }
.h-16 { height: 64px; }
.h-96 { height: 384px; }
.min-h-\[90vh\] { min-height: 90vh; }
.min-h-screen { min-height: 100vh; }
.max-w-7xl { max-width: 1280px; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 672px; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px; margin-left: auto; margin-right: auto; }
.max-w-xs { max-width: 320px; }

/* ── Padding ────────────────────────────── */
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-5 { padding: 20px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-5 { padding-left: 20px; padding-right: 20px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.px-7 { padding-left: 28px; padding-right: 28px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-12 { padding-top: 48px; padding-bottom: 48px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.pt-4 { padding-top: 16px; }
.pb-2 { padding-bottom: 8px; }
.pr-2 { padding-right: 8px; }

/* ── Margin ─────────────────────────────── */
.m-0 { margin: 0; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }

/* ── Gap / Space ─────────────────────────── */
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-12 { gap: 48px; }
.space-y-2 > * + * { margin-top: 8px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-6 > * + * { margin-top: 24px; }
.space-y-8 > * + * { margin-top: 32px; }

/* ── Responsive Grid Overrides ────────────────── */
@media (max-width: 767px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4, .grid-cols-6, .grid-cols-12 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  .col-span-2, .col-span-4, .col-span-5, .col-span-6, .col-span-7, .col-span-8, .col-span-12 {
    grid-column: span 1 / span 1 !important;
  }
}

/* ── Grid columns ────────────────────────── */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-12 { grid-column: span 12 / span 12; }

/* ── Colors (Background) ─────────────────── */
.bg-white { background-color: #fff; }
.bg-black { background-color: #000; }
.bg-fb-green { background-color: var(--fb-green); }
.bg-fb-green-d { background-color: var(--fb-green-d); }
.bg-fb-green-l { background-color: var(--fb-green-l); }
.bg-fb-black { background-color: var(--fb-black); color: #fff; }
.bg-fb-ink { background-color: var(--fb-ink); }
.bg-fb-bg { background-color: var(--fb-bg); }
.bg-fb-border { background-color: var(--fb-border); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/85 { background-color: rgba(255, 255, 255, 0.85); }
.bg-fb-black\/5 { background-color: rgba(10, 10, 10, 0.05); }
.bg-fb-black\/10 { background-color: rgba(10, 10, 10, 0.1); }
.bg-fb-black\/80 { background-color: rgba(10, 10, 10, 0.8); }
.bg-fb-black\/85 { background-color: rgba(10, 10, 10, 0.85); }
.bg-fb-green\/30 { background-color: rgba(164, 215, 41, 0.3); }
.bg-fb-green\/20 { background-color: rgba(164, 215, 41, 0.2); }
.bg-fb-ink\/80 { background-color: rgba(26, 26, 26, 0.8); }
.bg-fb-ink\/60 { background-color: rgba(26, 26, 26, 0.6); }
.bg-transparent { background-color: transparent; }

/* ── Colors (Text) ──────────────────────── */
.text-white { color: #fff; }
.text-black { color: #000; }
.text-fb-green { color: var(--fb-green); }
.text-fb-green-d { color: var(--fb-green-d); }
.text-fb-green-l { color: var(--fb-green-l); }
.text-fb-black { color: var(--fb-black); }
.text-fb-ink { color: var(--fb-ink); }
.text-fb-gray { color: var(--fb-gray); }
.text-fb-mute { color: var(--fb-mute); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-fb-ink\/80 { color: rgba(26, 26, 26, 0.8); }
.text-fb-ink\/60 { color: rgba(26, 26, 26, 0.6); }
.text-current { color: currentColor; }

/* ── Typography ─────────────────────────── */
.font-display { font-family: 'Montserrat', sans-serif; }
.font-heading { font-family: 'Montserrat', sans-serif; }
.font-script { font-family: 'Playfair Display', serif; }
.font-sans { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[12px\] { font-size: 12px; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.15; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

/* ── Borders ────────────────────────────── */
.border { border: 1px solid var(--fb-border); }
.border-2 { border-width: 2px; border-style: solid; }
.border-fb-green { border-color: var(--fb-green); }
.border-fb-green\/30 { border-color: rgba(164, 215, 41, 0.3); }
.border-fb-border { border-color: var(--fb-border); }
.border-white { border-color: #fff; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-y { border-top: 1px solid; border-bottom: 1px solid; border-color: var(--fb-border); }
.border-t { border-top: 1px solid var(--fb-border); }
.rounded-none { border-radius: 0; }
.rounded-full { border-radius: 9999px; }
.rounded { border-radius: 4px; }
.rounded-sm { border-radius: 2px; }
.rounded-lg { border-radius: 8px; }

/* ── Aspect Ratio ────────────────────────── */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* ── Shadows ─────────────────────────────── */
.shadow-card { box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06); }
.shadow-card-h { box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.12); }

/* ── Filters ─────────────────────────────── */
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

/* ── Transitions ─────────────────────────── */
.transition { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-opacity { transition: opacity 0.2s; }
.transition-shadow { transition: box-shadow 0.2s; }
.transition-transform { transition: transform 0.3s ease; }
.transition-all { transition: all 0.2s ease; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* ── Hover states ─────────────────────────── */
.group:hover .group-hover:opacity-100 { opacity: 1; }
.group:hover .group-hover:scale-110 { transform: scale(1.1); }
.group:hover .group-hover:rotate-3 { transform: rotate(3deg); }
.group:hover .group-hover:translate-y-0 { transform: translateY(0); }
.hover\:text-fb-green:hover { color: var(--fb-green); }
.hover\:text-fb-green-d:hover { color: var(--fb-green-d); }
.hover\:text-white:hover { color: #fff; }
.hover\:text-fb-black:hover { color: var(--fb-black); }


/* =============================================================
   PHASE 2 — Missing utilities + custom sections
   ============================================================= */

/* Gradients */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.bg-gradient-to-l { background-image: linear-gradient(to left, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-fb-black\/70 { --tw-gradient-from: rgba(10, 10, 10, 0.7); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 10, 0)); }
.from-fb-black\/80 { --tw-gradient-from: rgba(10, 10, 10, 0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(10, 10, 10, 0)); }
.from-fb-green\/30 { --tw-gradient-from: rgba(164, 215, 41, 0.3); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(164, 215, 41, 0)); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0)); }
.via-transparent { --tw-gradient-to: rgba(0, 0, 0, 0); }
.to-transparent { --tw-gradient-to: transparent; }

/* Borders additional */
.border-b { border-bottom: 1px solid var(--fb-border); }
.border-l-4 { border-left: 4px solid var(--fb-border); }
.border-r-2 { border-right-width: 2px; border-right-style: solid; }
.border-fb-black { border-color: var(--fb-black); }

/* Position additional */
.bottom-16 { bottom: 64px; }
.bottom-8 { bottom: 32px; }
.left-8 { left: 32px; }
.right-8 { right: 32px; }
.top-10 { top: 40px; }
.top-28 { top: 112px; }
.order-1 { order: 1; }
.order-2 { order: 2; }

/* Sizes additional */
.w-2 { width: 8px; }
.w-7 { width: 28px; }
.w-24 { width: 96px; }
.w-28 { width: 112px; }
.w-32 { width: 128px; }
.h-2 { height: 8px; }
.h-9 { height: 36px; }
.h-24 { height: 96px; }
.h-32 { height: 128px; }
.h-72 { height: 288px; }
.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }

/* Spacing additional */
.gap-5 { gap: 20px; }
.gap-x-8 { column-gap: 32px; }
.gap-y-10 { row-gap: 40px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-5 > * + * { margin-top: 20px; }
.ml-1 { margin-left: 4px; }
.mr-2 { margin-right: 8px; }
.p-0 { padding: 0; }
.p-2 { padding: 8px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }
.pt-6 { padding-top: 24px; }
.pt-8 { padding-top: 32px; }
.pb-4 { padding-bottom: 16px; }

.hover\:bg-fb-green:hover { background-color: var(--fb-green); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-fb-black:hover { background-color: var(--fb-black); }
.hover\:shadow-card-h:hover { box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.12); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:no-underline:hover { text-decoration: none; }
.focus\:outline-none:focus { outline: none; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }


/* Text additional */
.text-center { text-align: center; }
.text-left { text-align: left; }
.line-through { text-decoration: line-through; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.outline-none { outline: none; }
.items-baseline { align-items: baseline; }

/* Display additional */
.list-none { list-style: none; margin: 0; padding: 0; }

/* Animation */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-bounce { animation: bounce 1s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero (used in front-page.php) */
.hero-v2 { position: relative; min-height: 100vh; overflow: hidden; background: var(--fb-black); color: #fff; }
.parallax-slow { will-change: transform; }

/* Floating cards */
.floating-card { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.floating-1 { animation: bobUp 4s ease-in-out infinite; }
.floating-2 { animation: bobUp 5s ease-in-out infinite 0.7s; }
.floating-3 { animation: bobUp 4.5s ease-in-out infinite 1.4s; }
@keyframes bobUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.tilt-card { transform-style: preserve-3d; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.counter { display: inline-block; }

/* Cart count badge */
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--fb-green); color: var(--fb-black); font-size: 10px; font-weight: 700; width: 16px; height: 16px; display: grid; place-items: center; }

/* Magnetic CTAs */
.magnetic { transition: transform 0.2s ease; }

/* Marquee track */
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Cycling words */
.cycle-container { position: relative; display: block; min-height: 1em; overflow: visible; }
.cycle-words { position: relative; display: inline-block; height: 1em; min-width: 5ch; vertical-align: top; }
.cycle-word { position: absolute; left: 0; top: 0; display: inline-block; opacity: 0; transform: translateY(80%) skewY(8deg); transform-origin: bottom left; transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; }
.cycle-word.active { opacity: 1; transform: translateY(0) skewY(0); }

/* Paint stroke headline */
.paint-stroke-h { position: relative; display: inline-block; }
.scroll-reveal.revealed .paint-stroke-h::after,
.stagger-item.revealed .paint-stroke-h::after { transform: scaleX(1); }

/* Scroll reveal base */
.scroll-reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
.stagger-item { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity, transform; }
.stagger-item.revealed { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE BREAKPOINTS (Tailwind-compatible prefixes)
   sm: 640px · md: 768px · lg: 1024px

/* Page header / body */
.page-header { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 80px 0 56px; border-bottom: 1px solid var(--fb-border); }
.page-body { background: #FFFFFF; padding: 80px 0; }

/* Shop page */
.shop-hero { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 72px 0 48px; border-bottom: 1px solid var(--fb-border); }
.shop-body { background: #FFFFFF; padding: 64px 0 96px; }
.shop-sidebar .widget { margin-bottom: 24px; }

/* Single product */
.single-product-crumbs { background: var(--fb-bg); padding: 24px 0; border-bottom: 1px solid var(--fb-border); }
.single-product-tabs { margin-top: 64px; }
.single-product-related { margin-top: 64px; }

/* Page about */
.page-about-hero { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 96px 0 72px; border-bottom: 1px solid var(--fb-border); }
.page-about-story { background: #FFFFFF; padding: 80px 0; }
.page-about-mission { background: var(--fb-bg); padding: 80px 0; }
.page-about-stats { background: var(--fb-black); color: #fff; padding: 80px 0; }
.page-about-showroom { background: #FFFFFF; padding: 80px 0; }
.page-about-editor { background: var(--fb-bg); padding: 80px 0; }

/* Page contact */
.page-contact-hero { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 96px 0 72px; border-bottom: 1px solid var(--fb-border); }
.page-contact-form { background: #FFFFFF; padding: 80px 0; }
.page-contact-map { background: var(--fb-bg); padding: 0; }

/* 404 / search / archive */
.fb-404 { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.search-header { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 80px 0 56px; border-bottom: 1px solid var(--fb-border); }
.archive-header { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 80px 0 56px; border-bottom: 1px solid var(--fb-border); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Single post */
.post-header { background: linear-gradient(180deg, var(--fb-bg) 0%, #FFFFFF 100%); padding: 72px 0 48px; border-bottom: 1px solid var(--fb-border); }
.post-body { padding: 64px 0; }
.post-feature-image { margin-bottom: 32px; }
.post-related { background: var(--fb-bg); padding: 64px 0; }
.post-tags { margin-top: 32px; }

/* Comments */
.fb-comments { background: var(--fb-bg); padding: 64px 0; }
.comment-content { margin-top: 12px; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--fb-black); margin-bottom: 16px; }

/* Legacy buttons */
.button-primary { background: var(--fb-black); color: #fff; padding: 14px 28px; font-weight: 600; transition: all 0.2s ease; }
.button-large { padding: 18px 36px; font-size: 1.125rem; }
.button-small { padding: 8px 16px; font-size: 0.875rem; }

/* Primary nav (mobile) */
.fb-primary-nav { display: none; }
@media (min-width: 1024px) { .fb-primary-nav { display: block; } }

/* Site main wrapper */
.site-main { display: block; }
.fitness-box-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WP notices */
.notice { padding: 12px 16px; border-left: 4px solid var(--fb-green); background: var(--fb-bg); margin: 16px 0; }
.notice.is-dismissible { position: relative; padding-right: 40px; }
.status { color: var(--fb-gray); font-size: 0.875rem; }

/* WP pagination */
.page-links { margin: 32px 0; }
.page-links a { display: inline-block; padding: 8px 12px; margin-right: 8px; border: 1px solid var(--fb-border); }
.search-results { padding: 64px 0; }

/* Helpers */
.hero-stack { position: relative; height: 460px; }
.place-items-center { place-items: center; }
.actions { display: flex; gap: 8px; }

/* Final utility classes */
.fb-button-primary { background: var(--fb-black); color: #fff; padding: 14px 28px; font-weight: 600; transition: all 0.2s ease; display: inline-block; }
.fb-button-primary:hover { background: var(--fb-green); color: var(--fb-black); }
.fb-card { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06); padding: 24px; }
.fb-cycle-line { display: inline-block; width: 32px; height: 2px; background: var(--fb-green); vertical-align: middle; margin: 0 12px; }
.fb-cycle-wrap { display: inline-flex; align-items: center; gap: 8px; }
.fb-page-list { list-style: none; margin: 0; padding: 0; }
.fb-thumb-btn { background: transparent; border: 0; cursor: pointer; padding: 0; }
.is_active_sidebar { display: none; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 576px; margin: 0 auto; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.object-cover { object-fit: cover; }
.opacity-25 { opacity: 0.25; }
.pointer-events-none { pointer-events: none; }
.whitespace-nowrap { white-space: nowrap; }
.wrap { flex-wrap: wrap; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fb-green); display: inline-block; }
.echo { display: none; }

/* =============================================================
   RESPONSIVE BREAKPOINTS (Tailwind-compatible prefixes)
   sm: 640px · md: 768px · lg: 1024px
   ============================================================= */

/* ── sm: ≥640px ─────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-sm { font-size: 0.875rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:gap-6 { gap: 24px; }
}

/* ── md: ≥768px ─────────────────────────── */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:text-7xl { font-size: 4.5rem; }
  .md\:py-16 { padding-top: 64px; padding-bottom: 64px; }
  .md\:py-20 { padding-top: 80px; padding-bottom: 80px; }
  .md\:py-24 { padding-top: 96px; padding-bottom: 96px; }
  .md\:py-28 { padding-top: 112px; padding-bottom: 112px; }
  .md\:flex-col { flex-direction: column; }
}

/* ── lg: ≥1024px ─────────────────────────── */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
  .lg\:hidden { display: none; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:inline { display: inline; }
}

/* ── Home Page Specific Styles ────────────────────── */
/* ── Home Page Specific Styles ── */
.font-display {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.03em;
}

.fb-hero-badge {
    background-color: var(--fb-green);
    color: var(--fb-black);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.fb-hero-title {
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: tight;
}

.text-fb-green {
    color: var(--fb-green) !important;
}

.fb-category-card {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fb-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-cat-title {
    font-size: 1.125rem;
    line-height: 1.2;
}

/* Divider/Section Spacing */
.fb-home-hero, .fb-home-categories {
    position: relative;
}

/* Add divider to the bottom of these sections */
.fb-home-hero::after, .fb-home-categories::after {
    content: '';
}

/* ================================================================ */
/*  SHOP GRID — Light, clean e-commerce layout                       */
/* ================================================================ */

/* Page header (shop title + result count) */
.woocommerce-products-header,
.woocommerce .woocommerce-products-header {
  padding: 32px 0 16px;
}
.woocommerce-products-header__title,
.woocommerce .woocommerce-products-header__title,
.woocommerce-page-title,
.woocommerce h1.page-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  color: var(--fb-black) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  text-transform: none !important;
}
.woocommerce .woocommerce-result-count {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: var(--fb-gray) !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce .woocommerce-ordering {
  margin: 0 0 24px !important;
}
.woocommerce .woocommerce-ordering select {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--fb-ink) !important;
  min-height: 42px !important;
  line-height: 1.4 !important;
}

/* The grid itself */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
  }
}

/* Each product card — equal height & consistent inner padding */
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #fff !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
  overflow: hidden !important;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--fb-green) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
  transform: translateY(-2px) !important;
}

/* Image area — fixed aspect ratio so cards have equal image height */
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product a img {
  display: block !important;
  width: 100% !important;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #FAFAF8 !important;
}
.woocommerce ul.products li.product a img {
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Inner text area — equal height & consistent spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 14px !important;
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price */
.woocommerce ul.products li.product .price {
  margin: 0 0 14px !important;
  display: block !important;
}
.woocommerce ul.products li.product .price del {
  opacity: 0.55 !important;
  font-weight: 400 !important;
  margin-right: 6px !important;
}
.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
  color: var(--fb-green-d) !important;
}

/* Add-to-cart button — pinned to bottom of card */
.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  margin-bottom: 16px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: calc(100% - 32px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  background: var(--fb-black) !important;
  color: #fff !important;
  border-radius: 0 !important;
  transition: background 0.2s ease !important;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
}
.woocommerce ul.products li.product .added_to_cart {
  display: block !important;
  text-align: center !important;
  margin: 0 16px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--fb-green-d) !important;
}

/* Onsale badge */
.woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;
  margin: 0 !important;
  min-height: auto !important;
  line-height: 1.2 !important;
  font-size: 0.7rem !important;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
  margin: 40px 0 0 !important;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  background: #fff !important;
  color: var(--fb-ink) !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
  transition: all 0.2s ease !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--fb-black) !important;
  color: #fff !important;
  border-color: var(--fb-black) !important;
}

/* No products message */
.woocommerce-info,
.woocommerce-nothing-found {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  padding: 20px 24px !important;
  border-radius: 0 !important;
  background: var(--fb-bg) !important;
  color: var(--fb-ink) !important;
  border: 1px solid var(--fb-border) !important;
}

/* Sidebar (filters / widgets) */
.woocommerce .widget {
  margin-bottom: 28px !important;
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
}
.woocommerce .widget h2,
.woocommerce .widget .widget-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--fb-black) !important;
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--fb-border) !important;
}
.woocommerce .widget ul li {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  padding: 6px 0 !important;
  color: var(--fb-ink) !important;
}
.woocommerce .widget ul li a {
  color: var(--fb-ink) !important;
}
.woocommerce .widget ul li a:hover {
  color: var(--fb-green-d) !important;
}

/* Price filter slider — keep clean */
.woocommerce .price_slider_wrapper .price_slider {
  margin: 12px 0 !important;
}

/* ================================================================ */
/*  VARIATION DROPDOWNS — clean, minimal, light e-commerce style    */
/* ================================================================ */
.woocommerce div.product form.cart .variations {
  width: 100% !important;
  margin-bottom: 16px !important;
  border-collapse: collapse !important;
}
.woocommerce div.product form.cart .variations tr {
  display: block !important;
  margin-bottom: 14px !important;
}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
  display: block !important;
  padding: 0 !important;
  text-align: left !important;
  border: 0 !important;
  background: transparent !important;
}
.woocommerce div.product form.cart .variations th.label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--fb-black) !important;
  margin-bottom: 6px !important;
}
.woocommerce div.product form.cart .variations select {
  width: 100% !important;
  max-width: 100% !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 12px 14px !important;
  min-height: 46px !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--fb-ink) !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230A0A0A' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}
.woocommerce div.product form.cart .variations select:focus {
  outline: none !important;
  border-color: var(--fb-green) !important;
  box-shadow: 0 0 0 3px rgba(164, 215, 41, 0.18) !important;
}

/* Single variation price display: "From Rs. X • Select option below" */
.woocommerce div.product .single_variation_wrap .woocommerce-variation.single_variation {
  margin: 8px 0 16px !important;
  padding: 14px 16px !important;
  background: var(--fb-bg) !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
}
.woocommerce div.product .woocommerce-variation-price {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--fb-black) !important;
}
.woocommerce div.product .woocommerce-variation-price .price {
  color: var(--fb-black) !important;
  font-weight: 600 !important;
}

/* Custom minimum-price + select hint on the parent variable product page */
.fb-min-price {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  color: var(--fb-black) !important;
  font-size: 1.25em !important;
}
.fb-select-hint {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.85em !important;
}

/* Quantity input next to Add to Cart */
.woocommerce div.product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  margin-right: 12px !important;
  border: 1px solid var(--fb-border) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  height: 46px !important;
}
.woocommerce div.product form.cart .quantity .qty {
  width: 60px !important;
  height: 100% !important;
  border: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 !important;
  background: #fff !important;
  color: var(--fb-black) !important;
  -moz-appearance: textfield !important;
}
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Add to cart button on single product page */
.woocommerce div.product form.cart .single_add_to_cart_button {
  background: var(--fb-black) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 14px 32px !important;
  height: 46px !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  transition: background 0.2s ease !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background: var(--fb-green) !important;
  color: var(--fb-black) !important;
}

/* Active tab style for the home page product tabs */
.tab-btn {
  position: relative;
  transition: color 0.2s ease;
}
.tab-btn.active-tab {
  color: var(--fb-black);
}
.tab-btn.active-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--fb-green);
}
.tab-btn:not(.active-tab):hover {
  color: var(--fb-black);
}

/* Divider line that appears at the bottom of these home sections */
.fb-home-hero::after,
.fb-home-categories::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--fb-border);
}

/* Remove divider from the last section of the home page */
.fb-home-categories::after {
    display: none;
}

/* ── Tab Content & Quick View Modal ───────────────────────── */
.tab-content { display: none; }
.tab-content.active-tab-content { display: block; animation: fadeIn 0.3s ease; }

.fb-quick-view-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 9999; display: flex;
  align-items: center; justify-content: center; opacity: 0;
  visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.fb-quick-view-modal.active { opacity: 1; visibility: visible; }
.fb-quick-view-content {
  background: white; padding: 40px; max-width: 500px; width: 90%;
  position: relative; border-radius: 4px; text-align: center;
}
.fb-quick-view-close {
  position: absolute; top: 10px; right: 10px; font-size: 30px;
  background: none; border: none; cursor: pointer; color: #000;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }


/* ============================================================
 * HARDCORE HOME TEMPLATE — Missing utility classes
 * These are the Tailwind-style utility classes the HardCore Home
 * page template uses that weren't already in the main stylesheet.
 * Appended in v1.1 to make the template render without errors.
 * ============================================================ */

/* --- Brand color alpha variants (with /N opacity) --- */
.bg-fb-black\/5  { background-color: rgba(10,10,10,0.05);  }
.bg-fb-black\/10 { background-color: rgba(10,10,10,0.10);  }
.bg-fb-black\/85 { background-color: rgba(10,10,10,0.85);  }
.bg-white\/5     { background-color: rgba(255,255,255,0.05); }
.border-fb-green\/30 { border-color: rgba(164,215,41,0.30); }
.border-white\/10    { border-color: rgba(255,255,255,0.10); }
.text-fb-ink\/60 { color: rgba(26,26,26,0.60); }
.text-fb-ink\/80 { color: rgba(26,26,26,0.80); }
.text-white\/90  { color: rgba(255,255,255,0.90); }

/* --- Gradient stops --- */
.from-fb-black\/70 { --tw-gradient-from: rgba(10,10,10,0.70); }
.from-fb-black\/80 { --tw-gradient-from: rgba(10,10,10,0.80); }
.from-fb-green\/30 { --tw-gradient-from: rgba(164,215,41,0.30); }
.to-fb-black\/80   { --tw-gradient-to:   rgba(10,10,10,0.80); }
.via-transparent   { --tw-gradient-via:  transparent; }

/* --- Hover variants --- */
.hover\:bg-fb-ink:hover       { background-color: var(--fb-ink);    }
.hover\:bg-white:hover         { background-color: #fff;            }
.hover\:border-fb-green:hover  { border-color: var(--fb-green);     }
.hover\:no-underline:hover     { text-decoration: none;             }
.hover\:shadow-card-h:hover    { box-shadow: 0 8px 16px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.12); }
.hover\:text-fb-black:hover    { color: var(--fb-black);            }
.hover\:text-fb-green:hover    { color: var(--fb-green);            }

/* --- Focus variants --- */
.focus\:outline-none:focus     { outline: none; }
.focus\:ring-2:focus           { box-shadow: 0 0 0 2px var(--fb-green); }
.focus\:ring-fb-black:focus    { box-shadow: 0 0 0 2px var(--fb-black); }
.focus\:shadow-card:focus       { box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06); }

/* --- Placeholder --- */
.placeholder\:text-fb-mute::placeholder { color: var(--fb-mute); }

/* --- Group-hover variant that's missing --- */
.group:hover .group-hover\:text-fb-green { color: var(--fb-green); }

/* --- Arbitrary values (Tailwind v3 syntax) --- */
.aspect-\[4\/5\]   { aspect-ratio: 4 / 5; }
.h-\[400px\]       { height: 400px; }
.min-h-\[90vh\]    { min-height: 90vh; }
.lg\:h-\[560px\]   { height: 560px; }
.lg\:text-\[8rem\] { font-size: 8rem; line-height: 0.9; }
.text-\[9px\]      { font-size: 9px;  }
.text-\[10px\]     { font-size: 10px; }

/* --- Small sizes (w-3, h-3) --- */
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }

/* --- Fractional widths + positions + transforms --- */
.w-1\/2          { width: 50%; }
.left-1\/2       { left: 50%; }
.translate-x-1\/3 { transform: translateX(33.3333%); }
.translate-y-1\/2 { transform: translateY(50%); }

/* --- Responsive: SM (640px+) --- */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Responsive: MD (768px+) --- */
@media (min-width: 768px) {
  .md\:block          { display: block; }
  .md\:flex-row       { flex-direction: row; }
  .md\:flex           { display: flex; }
  .md\:grid-cols-2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:gap-8          { gap: 2rem; }
  .md\:gap-10         { gap: 2.5rem; }
  .md\:items-end      { align-items: flex-end; }
  .md\:justify-between{ justify-content: space-between; }
  .md\:self-end       { align-self: flex-end; }
  .md\:py-20          { padding-top: 5rem;    padding-bottom: 5rem; }
  .md\:py-24          { padding-top: 6rem;    padding-bottom: 6rem; }
  .md\:py-28          { padding-top: 7rem;    padding-bottom: 7rem; }
  .md\:py-32          { padding-top: 8rem;    padding-bottom: 8rem; }
  .md\:text-lg        { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-xl        { font-size: 1.5rem;   line-height: 2rem; }
  .md\:text-3xl       { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl       { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl       { font-size: 3rem;     line-height: 1; }
  .md\:text-6xl       { font-size: 3.75rem;  line-height: 1; }
  .md\:text-7xl       { font-size: 4.5rem;   line-height: 1; }
  .md\:text-xs        { font-size: 0.75rem;  line-height: 1rem; }
  .md\:text-base      { font-size: 1rem;     line-height: 1.5rem; }
  .md\:hidden         { display: none; }
}

/* --- Responsive: LG (1024px+) --- */
@media (min-width: 1024px) {
  .lg\:col-span-5     { grid-column: span 5 / span 5; }
  .lg\:col-span-6     { grid-column: span 6 / span 6; }
  .lg\:col-span-7     { grid-column: span 7 / span 7; }
  .lg\:grid-cols-4    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6    { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12   { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:mt-0           { margin-top: 0; }
  .lg\:mx-0           { margin-left: 0; margin-right: 0; }
  .lg\:h-\[560px\]    { height: 560px; }
  .lg\:text-\[8rem\]  { font-size: 8rem; line-height: 0.9; }
}

/* ============================================================
 * HEADER / FOOTER additions
 * ============================================================ */
.py-3\.5       { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.invert        { filter: invert(1) hue-rotate(180deg); }
.fb-nav-list   { list-style: none; margin: 0; padding: 0; }
.fb-nav-list > li { display: block; }
.fb-nav-list > li > a { display: block; padding-top: 0.875rem; padding-bottom: 0.875rem; padding-left: 1.25rem; padding-right: 1.25rem; transition: color 0.2s; }
.fb-nav-list > li > a:hover { color: var(--fb-green); }
.fb-nav-list > li.current-menu-item > a { color: var(--fb-green); }
.fb-nav-list > li.current_page_item > a { color: var(--fb-green); }

/* ============================================================
 * CATEGORY / PRODUCT TITLES — uniform heights across rows
 * Prevents "Dumbells & Weights" from wrapping to 2 lines while
 * "Dumbells" stays on 1 line, creating uneven row heights.
 * ============================================================ */
.fb-cat-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;       /* reserves 2 lines so single-line titles still match */
  line-height: 1.3;
}


