/*
Theme Name:  Junction Finds
Theme URI:   https://junctionfinds.com
Author:      Hector De Los Santos
Description: Custom WooCommerce theme for Junction Finds — unique finds, real value.
Version:     2.0.0
License:     GNU General Public License v2
Text Domain: junctionfinds
Tags:        woocommerce, e-commerce, custom-logo, custom-menu, responsive-layout
*/

/* ==========================================================================
   1. DESIGN TOKENS — CSS Custom Properties
   ========================================================================== */

:root {
  /* Backgrounds */
  --color-bg:            #181818;
  --color-surface:       #141414;
  --color-surface-raised: #1E211E;
  --color-surface-deep:  #161616;

  /* Accent / Sage */
  --color-accent:        #D7E8D7;
  --color-accent-hover:  #F5F5F5;

  /* Text */
  --color-text-primary:   #F5F5F5;
  --color-text-secondary: rgba(245, 245, 245, 0.78);
  --color-text-muted:     rgba(245, 245, 245, 0.68);
  --color-text-faint:     rgba(245, 245, 245, 0.55);

  /* Borders */
  --color-border-subtle: rgba(215, 232, 215, 0.15);
  --color-border-mid:    rgba(215, 232, 215, 0.30);
  --color-border-accent: #D7E8D7;

  /* State */
  --color-success: #10B981;
  --color-error:   #EF4444;

  /* Typography */
  --font-display: 'Archivo', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1240px;
  --container-px:  clamp(20px, 4vw, 48px);
  --section-py:    clamp(72px, 10vw, 128px);
  --header-h:      76px;

  /* Transitions */
  --transition-fast:   all 0.18s ease;
  --transition-normal: all 0.25s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

input::placeholder {
  color: rgba(245,245,245,0.45);
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) var(--container-px);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* ==========================================================================
   4. TYPOGRAPHY — Display Headline
   ========================================================================== */

.jf-headline {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--color-accent);
}

.jf-overline {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D7E8D7;
  margin-bottom: 20px;
}

.jf-section-heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  height: 54px;
  padding: 0 30px;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
}

/* Primary: sage fill */
.btn-primary {
  background: var(--color-accent);
  color: #181818;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #181818;
}
.btn-primary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Ghost: bordered sage */
.btn-ghost {
  background: transparent;
  color: #D7E8D7;
  border: 1px solid rgba(215,232,215,0.4);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: #D7E8D7;
  color: #D7E8D7;
}

/* Dark: for sage-background sections */
.btn-dark {
  background: #181818;
  color: var(--color-accent);
}
.btn-dark:hover {
  background: #111;
  color: var(--color-accent);
}

/* Small */
.btn-sm {
  height: 40px;
  padding: 0 20px;
  font-size: 0.875rem;
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #181818;
  border-bottom: 1px solid rgba(215,232,215,0.15);
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Transparent on homepage by default — uses rgba so transitions are smooth */
body.home .site-header:not(.is-scrolled) {
  background: rgba(24,24,24,0);
  border-bottom: 1px solid rgba(215,232,215,0);
}

/* Scrolled state — solid background with subtle border */
body.home .site-header.is-scrolled {
  background: #181818;
  border-bottom: 1px solid rgba(215,232,215,0.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  gap: 24px;
  position: relative;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
  text-decoration: none;
  color: #D7E8D7;
}

.site-logo__word {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: #D7E8D7;
}

.site-logo__fan {
  display: block;
}

/* Desktop nav */
.site-nav--desktop {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

@media (min-width: 900px) {
  .site-nav--desktop {
    display: flex;
  }
}

.site-nav--desktop a,
.site-nav__dropdown-trigger {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #F5F5F5;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s;
}

.site-nav--desktop a:hover,
.site-nav__dropdown-trigger:hover {
  color: var(--color-accent);
}

.site-nav__chevron {
  transition: transform 0.2s ease;
}

.site-nav__dropdown-trigger[aria-expanded="true"] .site-nav__chevron {
  transform: rotate(180deg);
}

/* Cart + header actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-cart {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #F5F5F5;
  cursor: pointer;
  transition: color 0.18s;
}
.header-cart:hover { color: var(--color-accent); }

.cart-count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: #D7E8D7;
  color: #181818;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #F5F5F5;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover { color: var(--color-accent); }

@media (min-width: 900px) {
  .mobile-menu-toggle { display: none; }
}

/* Products dropdown */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(215,232,215,0.15);
  background: radial-gradient(50% 120% at 0% 0%, rgba(215,232,215,0.08) 0%, transparent 70%), #181818;
  z-index: 999;
}

.site-nav__dropdown[hidden] { display: none; }

.site-nav__dropdown .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 28px var(--container-px) 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.site-nav__dropdown-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid rgba(215,232,215,0.15);
  border-radius: 2px;
  color: var(--color-text-primary);
  transition: border-color 0.18s;
}

.site-nav__dropdown-card:hover {
  border-color: var(--color-accent);
}

.site-nav__dropdown-card--active {
  border-color: var(--color-accent);
}

.site-nav__dropdown-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.site-nav__dropdown-name {
  font-family: 'Archivo', sans-serif;
  font-stretch: 115%;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-primary);
}

.site-nav__dropdown-note {
  font-size: 0.8125rem;
  color: rgba(245,245,245,0.68);
}

.site-nav__dropdown-all {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px dashed rgba(215,232,215,0.3);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
}
.site-nav__dropdown-all:hover { border-color: var(--color-accent); }

/* Mobile nav drawer — drops down from header, full width */
.site-nav--mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #181818;
  border-top: 1px solid rgba(215,232,215,0.15);
  z-index: 998;
  padding: 8px var(--container-px) 24px;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.site-nav--mobile.is-open {
  display: flex;
}

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

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.mobile-nav__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: var(--space-8);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #F5F5F5;
  font-size: 16px;
  min-height: 48px;
  border-bottom: 1px solid rgba(215,232,215,0.15);
  transition: color 0.18s;
}

.mobile-nav__link:hover { color: var(--color-accent); }

.mobile-nav__section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 18px 0 6px;
}

.mobile-nav__link-cat {
  font-size: 0.75rem;
  color: rgba(245,245,245,0.6);
}

.mobile-nav__link--muted {
  color: rgba(245,245,245,0.55);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.jf-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(55% 70% at 85% 65%, rgba(215,232,215,0.10) 0%, transparent 70%),
              linear-gradient(180deg, #181818 0%, #141414 100%);
  padding: 140px clamp(20px, 4vw, 48px) 96px;
  box-sizing: border-box;
}

.jf-hero__inner {
  position: relative;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.jf-hero__overline-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.jf-hero__overline-line {
  width: 40px;
  height: 1px;
  background: #D7E8D7;
  flex-shrink: 0;
}

.jf-hero__overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D7E8D7;
}

.jf-hero__headline {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  color: #D7E8D7;
  font-size: clamp(52px, 10.5vw, 156px);
  margin: 0;
  max-width: 11ch;
}

.jf-hero__subtext {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(245,245,245,0.78);
  line-height: 1.55;
  max-width: 34em;
  margin: 36px 0 0;
  text-wrap: pretty;
}

.jf-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}

/* SVG is positioned inline in the section via style attribute */

/* ==========================================================================
   8. TICKER
   ========================================================================== */

.jf-ticker {
  background: #D7E8D7;
  color: #181818;
  overflow: hidden;
  padding: 16px 0;
}

.jf-ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.jf-ticker__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: 'Archivo', sans-serif;
  font-stretch: 115%;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #181818;
}

.jf-ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #181818;
  flex-shrink: 0;
}

/* ==========================================================================
   9. TRUTHS SECTION
   ========================================================================== */

.jf-truths {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 4vw, 48px);
}

.jf-truths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(40px, 5vw, 72px);
  max-width: var(--container-max);
  margin: 0 auto;
}

.jf-truth {
}

.jf-truth__bar {
  width: 48px;
  height: 2px;
  background: #D7E8D7;
  margin-bottom: 28px;
}

.jf-truth__statement {
  font-family: 'Archivo', sans-serif;
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: #F5F5F5;
  margin: 0;
  text-wrap: pretty;
}

.jf-truth__statement .sage {
  color: #D7E8D7;
}

/* ==========================================================================
   10. INGREDIENTS SECTION
   ========================================================================== */

.jf-ingredients {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: radial-gradient(60% 50% at 0% 0%, rgba(215,232,215,0.09) 0%, transparent 70%), #141414;
  border-top: 1px solid rgba(215,232,215,0.12);
}

.jf-ingredients__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

.jf-ingredients__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D7E8D7;
  display: block;
  margin-bottom: 20px;
}

.jf-ingredients__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
  margin: 0;
}

.jf-ingredients__desc {
  font-size: 17px;
  color: rgba(245,245,245,0.78);
  line-height: 1.6;
  margin: 28px 0 0;
  max-width: 28em;
  text-wrap: pretty;
}

.jf-ingredients__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 36px;
}

.jf-ingredients__total {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  color: #D7E8D7;
}

.jf-ingredients__total-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.68);
}

/* Ingredient list */
.jf-ingredient-list {
  border-top: 1px solid rgba(215,232,215,0.15);
}

.jf-ingredient-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(215,232,215,0.15);
}

.jf-ingredient-row__left {}

.jf-ingredient-row__name {
  font-family: 'Archivo', sans-serif;
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  color: #F5F5F5;
  display: block;
}

.jf-ingredient-row__form {
  font-size: 12px;
  color: #D7E8D7;
  display: block;
  margin-top: 4px;
}

.jf-ingredient-row__role {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245,245,245,0.68);
  display: block;
  margin-top: 8px;
  text-wrap: pretty;
}

.jf-ingredient-row__dose {
  font-family: 'Archivo', sans-serif;
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: #D7E8D7;
  text-align: right;
  white-space: nowrap;
}

.jf-ingredient-row__dose .mg-unit {
  font-size: 13px;
  color: rgba(245,245,245,0.6);
  padding-left: 4px;
}

/* ==========================================================================
   11. HOW IT WORKS
   ========================================================================== */

.jf-how {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, #141414 0%, #181818 100%);
}

.jf-how__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.jf-how__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D7E8D7;
  margin-bottom: 20px;
}

.jf-how__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
  margin: 0;
}

.jf-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(215,232,215,0.3);
}

.jf-timeline__step {
  position: relative;
  padding: 32px 24px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jf-timeline__step::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #181818;
  border: 2px solid #D7E8D7;
  box-sizing: border-box;
}

.jf-timeline__time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D7E8D7;
}

.jf-timeline__title {
  font-family: 'Archivo', sans-serif;
  font-stretch: 112%;
  font-weight: 700;
  font-size: 22px;
  color: #F5F5F5;
}

.jf-timeline__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(245,245,245,0.68);
  text-wrap: pretty;
}

/* ==========================================================================
   12. SHOP SECTION (Buy Box)
   ========================================================================== */

.jf-shop {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: radial-gradient(45% 60% at 20% 50%, rgba(215,232,215,0.12) 0%, transparent 70%), #141414;
  border-top: 1px solid rgba(215,232,215,0.12);
}

.jf-shop__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: center;
}

.jf-shop__image-slot {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1E211E 0%, #141414 100%);
  border: 1px solid rgba(215,232,215,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jf-shop__image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jf-shop__image-placeholder {
  font-size: 0.8125rem;
  color: var(--color-text-faint);
  text-align: center;
  padding: var(--space-4);
}

.jf-shop__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D7E8D7;
  margin-bottom: 20px;
}

.jf-shop__product-name {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(64px, 9vw, 120px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: #D7E8D7;
  margin: 0;
}

.jf-shop__subtext {
  font-size: 15px;
  color: rgba(245,245,245,0.68);
  margin: 16px 0 0;
}

/* Purchase options */
.jf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.jf-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: transparent;
  border: 1px solid rgba(215,232,215,0.25);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
  font-family: var(--font-body);
  color: #F5F5F5;
}

.jf-option:hover {
  border-color: rgba(215,232,215,0.4);
}

.jf-option.is-selected {
  border-color: #D7E8D7;
  background: rgba(215,232,215,0.08);
}

.jf-option__radio {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(215,232,215,0.25);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jf-option.is-selected .jf-option__radio {
  border-color: #D7E8D7;
}

.jf-option__radio-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
}

.jf-option.is-selected .jf-option__radio-dot {
  background: #D7E8D7;
}

.jf-option__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jf-option__label {
  font-size: 16px;
  font-weight: 600;
}

.jf-option__sublabel {
  font-size: 13px;
  color: #D7E8D7;
}

.jf-option__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.jf-option__amount {
  font-size: 19px;
  font-weight: 600;
}

.jf-option__compare {
  font-size: 13px;
  color: rgba(245,245,245,0.5);
  text-decoration: line-through;
}

/* Quantity + ATC row */
.jf-shop__qty-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.jf-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(215,232,215,0.3);
  border-radius: 2px;
}

.jf-qty__btn {
  width: 48px;
  height: 56px;
  background: none;
  border: none;
  color: #F5F5F5;
  font-size: 18px;
  cursor: pointer;
}

.jf-qty__val {
  width: 24px;
  text-align: center;
  font-weight: 600;
  color: #F5F5F5;
  font-family: var(--font-body);
}

.jf-shop__atc {
  flex: 1 1 220px;
  height: 58px;
  background: #D7E8D7;
  color: #181818;
  border: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
}

.jf-shop__atc:hover {
  background: #F5F5F5;
}

.jf-shop__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(245,245,245,0.68);
}

.jf-shop__fda {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,245,245,0.55);
  margin: 28px 0 0;
  max-width: 46em;
}

/* ==========================================================================
   13. SUBSCRIBE CTA SECTION
   ========================================================================== */

.jf-sub-cta {
  background: linear-gradient(120deg, #D7E8D7 0%, #B9D2B9 100%);
  color: #181818;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 48px);
}

.jf-sub-cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.jf-sub-cta__text {
  flex: 1 1 480px;
}

.jf-sub-cta__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #181818;
  margin: 0;
}

.jf-sub-cta__desc {
  font-size: 17px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 34em;
}

/* ==========================================================================
   14. COMPARISON TABLE
   ========================================================================== */

.jf-compare {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: radial-gradient(50% 60% at 100% 0%, rgba(215,232,215,0.08) 0%, transparent 70%), #181818;
}

.jf-compare__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.jf-compare__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
  margin: 0;
}

.jf-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 48px;
  font-size: clamp(13px, 1.4vw, 15px);
}

.jf-compare-grid__header-empty {
  padding: 18px 0;
  border-bottom: 1px solid rgba(215,232,215,0.3);
}

.jf-compare-grid__header-n3 {
  padding: 18px clamp(10px, 2vw, 24px);
  background: rgba(215,232,215,0.08);
  border: 1px solid #D7E8D7;
  border-bottom: 1px solid rgba(215,232,215,0.3);
  font-family: 'Archivo', sans-serif;
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: #D7E8D7;
}

.jf-compare-grid__header-typical {
  padding: 18px clamp(10px, 2vw, 24px);
  border-bottom: 1px solid rgba(215,232,215,0.3);
  font-family: 'Archivo', sans-serif;
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(245,245,245,0.6);
}

.jf-compare-grid__label {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid rgba(215,232,215,0.12);
  font-weight: 500;
  color: #F5F5F5;
}

.jf-compare-grid__n3 {
  padding: 18px clamp(10px, 2vw, 24px);
  background: rgba(215,232,215,0.08);
  border-left: 1px solid #D7E8D7;
  border-right: 1px solid #D7E8D7;
  border-bottom: 1px solid rgba(215,232,215,0.12);
  color: #F5F5F5;
}

.jf-compare-grid__n3--last {
  border-bottom: 1px solid #D7E8D7;
}

.jf-compare-grid__typical {
  padding: 18px clamp(10px, 2vw, 24px);
  border-bottom: 1px solid rgba(215,232,215,0.12);
  color: rgba(245,245,245,0.6);
}

/* ==========================================================================
   15. REVIEWS
   ========================================================================== */

.jf-reviews {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, #181818 0%, #141414 100%);
  border-top: 1px solid rgba(215,232,215,0.12);
}

.jf-reviews__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.jf-reviews__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.jf-reviews__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
  margin: 0;
}

.jf-reviews__placeholder-note {
  font-size: 12px;
  color: #D7E8D7;
  border: 1px dashed rgba(215,232,215,0.5);
  padding: 8px 10px;
  border-radius: 2px;
}

.jf-reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-top: 48px;
}

.jf-review-card {
  background: linear-gradient(160deg, #1E211E 0%, #161616 100%);
  border: 1px solid rgba(215,232,215,0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.jf-review-card__top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jf-review-card__stars {
  color: #D7E8D7;
  letter-spacing: 3px;
  font-size: 15px;
}

.jf-review-card__quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #F5F5F5;
  text-wrap: pretty;
}

.jf-review-card__reviewer {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.6);
  padding-top: 16px;
  border-top: 1px solid rgba(215,232,215,0.15);
}

/* ==========================================================================
   16. FAQ
   ========================================================================== */

.jf-faq {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 4vw, 48px);
  background: radial-gradient(50% 60% at 0% 100%, rgba(215,232,215,0.08) 0%, transparent 70%), #141414;
}

.jf-faq__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

.jf-faq__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #D7E8D7;
  margin: 0;
}

.jf-faq__email {
  font-size: 15px;
  color: rgba(245,245,245,0.68);
  margin: 24px 0 0;
}

.jf-faq__email a {
  color: #D7E8D7;
  border-bottom: 1px solid rgba(215,232,215,0.4);
  text-decoration: none;
}

.jf-faq__list {
  border-top: 1px solid rgba(215,232,215,0.15);
}

.jf-faq__item {
  border-bottom: 1px solid rgba(215,232,215,0.15);
}

.jf-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 12px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: #F5F5F5;
}

.jf-faq__icon {
  font-size: 24px;
  font-weight: 400;
  color: #D7E8D7;
  flex: 0 0 auto;
}

.jf-faq__item.is-open .jf-faq__icon {
  /* icon text changed via JS */
}

.jf-faq__answer {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(245,245,245,0.68);
  max-width: 40em;
  display: none;
}

.jf-faq__item.is-open .jf-faq__answer {
  display: block;
}

/* ==========================================================================
   17. EMAIL CAPTURE
   ========================================================================== */

.jf-email-capture {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px);
  background: #181818;
}

.jf-email-capture__card {
  max-width: var(--container-max);
  margin: 0 auto;
  background: radial-gradient(60% 120% at 100% 0%, rgba(215,232,215,0.12) 0%, transparent 70%), #141414;
  border: 1px solid #D7E8D7;
  padding: clamp(36px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 40px;
  align-items: center;
  box-sizing: border-box;
}

.jf-email-capture__heading {
  font-family: 'Archivo', sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #D7E8D7;
  margin: 0;
}

.jf-email-capture__sub {
  font-size: 17px;
  color: rgba(245,245,245,0.78);
  margin: 18px 0 0;
}

.jf-email-capture__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jf-email-capture__input {
  flex: 1 1 240px;
  height: 56px;
  padding: 0 18px;
  background: #181818;
  border: 1px solid rgba(215,232,215,0.3);
  border-radius: 2px;
  color: #F5F5F5;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s;
}

.jf-email-capture__input::placeholder { color: rgba(245,245,245,0.45); }
.jf-email-capture__input:focus { border-color: #D7E8D7; }

.jf-email-capture__btn {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 28px;
  background: #D7E8D7;
  color: #181818;
  border: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
}

.jf-email-capture__btn:hover {
  background: #F5F5F5;
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.site-footer {
  background: #141414;
  border-top: 1px solid rgba(215,232,215,0.15);
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 48px) 40px;
}

.footer__upper {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #D7E8D7;
}

.footer__logo-word {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: #D7E8D7;
}

.footer__tagline {
  font-size: 15px;
  color: rgba(245,245,245,0.78);
}

.footer__nav-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.footer__col-link {
  color: #F5F5F5;
  transition: color 0.18s;
}

.footer__col-link:hover { color: var(--color-accent); }

.footer__social {
  display: flex;
  gap: 4px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D7E8D7;
  transition: color 0.18s;
}

.footer__social-link:hover {
  color: #F5F5F5;
}

.footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(215,232,215,0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,245,245,0.55);
}

.footer__fda {
  margin: 0;
  max-width: 60em;
}

.footer__copyright {
  margin: 0;
}

/* ==========================================================================
   19. SHOP / ARCHIVE PAGE
   ========================================================================== */

.jf-shop-page {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(72px, 10vw, 128px);
}

.jf-shop-page__header {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.jf-shop-page__overline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: block;
  margin-bottom: var(--space-3);
}

.jf-shop-page__heading {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.jf-shop-page__sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 480px;
}

/* Filter/sort bar */
.jf-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-subtle);
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-3) var(--container-px);
}

.jf-filter-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: space-between;
}

.jf-filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.jf-filter-tab {
  padding: 6px 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.jf-filter-tab:hover,
.jf-filter-tab.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.jf-sort {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.jf-sort select {
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  padding: 5px 12px;
  font-size: 0.8125rem;
  font-family: var(--font-body);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  appearance: none;
}

/* Featured product banner */
.jf-featured-banner {
  max-width: var(--container-max);
  margin: clamp(24px, 4vw, 48px) auto;
  padding: 0 var(--container-px);
}

.jf-featured-banner__card {
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 60%);
  border: 1px solid var(--color-border-mid);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 768px) {
  .jf-featured-banner__card {
    grid-template-columns: 1fr 1.5fr;
  }
}

.jf-featured-banner__img {
  aspect-ratio: 4/3;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jf-featured-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jf-featured-banner__body {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jf-featured-banner__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #181818;
  background: var(--color-accent);
  padding: 3px 10px;
  border-radius: 1px;
  margin-bottom: var(--space-4);
}

.jf-featured-banner__name {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.85;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.jf-featured-banner__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  max-width: 360px;
}

.jf-featured-banner__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.jf-featured-banner__price-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.jf-featured-banner__price-sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.jf-featured-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Product grid */
.jf-product-grid-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.jf-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}

.jf-product-card {
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 60%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.jf-product-card:hover {
  border-color: var(--color-border-mid);
}

.jf-product-card__img {
  aspect-ratio: 1/1;
  background: var(--color-surface);
  overflow: hidden;
}

.jf-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.jf-product-card:hover .jf-product-card__img img {
  transform: scale(1.04);
}

.jf-product-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
}

.jf-product-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: block;
  margin-bottom: var(--space-2);
}

.jf-product-card__name {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.jf-product-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jf-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.jf-product-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* Subscribe CTA strip */
.jf-shop-sub-cta {
  background: var(--color-accent);
  padding: clamp(40px, 6vw, 72px) var(--container-px);
  text-align: center;
}

.jf-shop-sub-cta__text {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #181818;
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   20. CART PAGE
   ========================================================================== */

.jf-cart-page {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(64px, 8vw, 96px);
  min-height: 80vh;
}

.jf-cart-header {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  padding-bottom: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.jf-cart-header__back {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.18s;
}
.jf-cart-header__back:hover { color: var(--color-accent); }

.jf-cart-header__title {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--color-accent);
}

.jf-cart-header__count {
  font-size: 0.875rem;
  color: var(--color-text-faint);
}

.jf-cart-layout {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .jf-cart-layout {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

/* Empty cart state */
.jf-cart-empty {
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 60%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}

.jf-cart-empty__heading {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.jf-cart-empty__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Cart items */
.jf-cart-items {}

.jf-cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--space-5);
  align-items: start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

@media (min-width: 640px) {
  .jf-cart-item {
    grid-template-columns: 120px 1fr auto;
  }
}

.jf-cart-item__img {
  aspect-ratio: 1/1;
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 100%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.jf-cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jf-cart-item__info {}

.jf-cart-item__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: block;
  margin-bottom: 4px;
}

.jf-cart-item__name {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.jf-cart-item__type-toggle {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.jf-cart-item__type-btn {
  padding: 5px 12px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.jf-cart-item__type-btn.is-active {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.jf-cart-item__qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  height: 36px;
  width: fit-content;
  overflow: hidden;
}

.jf-cart-item__qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.jf-cart-item__qty-btn:hover { color: var(--color-accent); }

.jf-cart-item__qty-val {
  width: 36px;
  height: 36px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--color-border-subtle);
  border-right: 1px solid var(--color-border-subtle);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

.jf-cart-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.jf-cart-item__total {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.jf-cart-item__remove {
  font-size: 0.8125rem;
  color: var(--color-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.18s;
}
.jf-cart-item__remove:hover { color: var(--color-error); }

/* Free shipping progress */
.jf-shipping-progress {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.jf-shipping-progress__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.jf-shipping-progress__bar {
  height: 3px;
  background: var(--color-border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.jf-shipping-progress__fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Upsell row */
.jf-cart-upsell {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.jf-cart-upsell__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.jf-cart-upsell__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.jf-cart-upsell__img {
  width: 64px;
  height: 64px;
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 100%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  flex-shrink: 0;
}

.jf-cart-upsell__info {}

.jf-cart-upsell__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.jf-cart-upsell__price {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Order summary */
.jf-order-summary {
  background: linear-gradient(170deg, var(--color-surface-raised) 0%, var(--color-surface-deep) 60%);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}

.jf-order-summary__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-5);
}

.jf-order-summary__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.jf-order-summary__row--total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  border-bottom: none;
  padding-top: var(--space-4);
}

/* Promo code */
.jf-promo-form {
  display: flex;
  gap: var(--space-2);
  margin: var(--space-5) 0;
}

.jf-promo-input {
  flex: 1;
  height: 44px;
  padding: 0 var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: 2px;
  color: var(--color-text-primary);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.18s;
}
.jf-promo-input::placeholder { color: var(--color-text-faint); }
.jf-promo-input:focus { border-color: var(--color-accent); }

.jf-promo-btn {
  height: 44px;
  padding: 0 var(--space-4);
  background: transparent;
  border: 1px solid var(--color-border-mid);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.jf-promo-btn:hover {
  background: rgba(215, 232, 215, 0.06);
}

.jf-order-summary__trust {
  font-size: 0.8125rem;
  color: var(--color-text-faint);
  text-align: center;
  padding-top: var(--space-4);
  line-height: 1.55;
}

/* Cart footer */
.jf-cart-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-subtle);
  padding: var(--space-6) var(--container-px);
  margin-top: clamp(48px, 6vw, 80px);
}

.jf-cart-footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.jf-cart-footer__fda {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  max-width: 560px;
  line-height: 1.55;
}

.jf-cart-footer__links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.jf-cart-footer__link {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  transition: color 0.18s;
}
.jf-cart-footer__link:hover { color: var(--color-accent); }

/* ==========================================================================
   21. WOOCOMMERCE GLOBAL OVERRIDES
   ========================================================================== */

/* Notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info {
  background: rgba(215, 232, 215, 0.08);
  border-top: 3px solid var(--color-accent);
  color: var(--color-text-primary);
  padding: var(--space-4) var(--space-5);
  font-size: 0.9375rem;
}

/* WC Buttons defaults */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--color-accent);
  color: #181818;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0 30px;
  height: 54px;
  line-height: 54px;
  transition: var(--transition-fast);
  border: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--color-accent-hover);
  color: #181818;
}

/* Cart table */
.woocommerce-cart-form { }

.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  color: var(--color-text-secondary);
}

.woocommerce table.shop_table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-mid);
  color: var(--color-text-faint);
}

.woocommerce table.shop_table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
  vertical-align: middle;
}

/* ==========================================================================
   22. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-accent  { color: var(--color-accent); }
.text-muted   { color: var(--color-text-muted); }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
