/* ═══════════════════════════════════════════════════════════════

   FFP CUSTOM PRODUCT PAGE — v1.0.0

   Function Factory Performance — Built Different

   Scoped under #ffp-product-page to prevent Betheme conflicts.

   Font: Barlow Condensed (display), Poppins (body), Inter (UI)

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page {

  /* FFP Brand Colors — Black / Silver / Red */

  --ffp-red: #cc0000;

  --ffp-red-dark: #a30000;

  --ffp-red-glow: rgba(204, 0, 0, 0.15);

  --ffp-silver: #c0c0c0;

  --ffp-blue: #0095eb;

  /* Legacy green — only used by LVA brand config */

  --ffp-green: #00c853;

  --ffp-green-dark: #00a344;

  /* Neutrals — Light Mode */

  --bg-primary: #ffffff;

  --bg-secondary: #f7f7f8;

  --bg-card: #f2f2f4;

  --bg-card-hover: #eaeaed;

  --bg-elevated: #e8e8ec;

  --border-subtle: rgba(0,0,0,0.06);

  --border-medium: rgba(0,0,0,0.12);

  --border-accent: rgba(204, 0, 0, 0.3);

  /* Dark accent areas */

  --dark-bg: #0f0f0f;

  --dark-bg-secondary: #1a1a1a;

  --dark-border: rgba(255,255,255,0.08);

  --dark-text: #ffffff;

  --dark-text-secondary: rgba(255,255,255,0.7);

  --dark-text-muted: rgba(255,255,255,0.45);

  /* Text — Light Mode */

  --text-primary: #111111;

  --text-secondary: #4a4a4a;

  --text-muted: #8a8a8a;

  /* Typography */

  --font-display: 'Barlow Condensed', sans-serif;

  --font-body: 'Poppins', sans-serif;

  --font-ui: 'Inter', sans-serif;

  /* Spacing */

  --section-gap: 64px;

  --content-max: 1440px;

  --side-pad: 48px;

  /* Brand accent — overridden inline per-brand, defaults to FFP red */

  --brand-accent: var(--ffp-red);

  --brand-accent-dark: var(--ffp-red-dark);

  --brand-glow: var(--ffp-red-glow);

  /* Effects */

  --glow-green: 0 0 20px rgba(0, 200, 83, 0.15);

  --glow-brand: 0 0 20px var(--brand-glow);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);

  --shadow-heavy: 0 8px 48px rgba(0,0,0,0.12);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: var(--font-body);

  color: var(--text-primary);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  max-width: 100%;

  overflow: visible !important;

}

/* Override Betheme inherited display/max-height/overflow/bg on all sections */

#ffp-product-page,

#ffp-product-page .ffp-product-hero,

#ffp-product-page .ffp-content-section,

#ffp-product-page .ffp-ai-bar,

#ffp-product-page .ffp-related {

  max-height: none !important;

  overflow: visible !important;

  display: block !important;

  background-color: var(--bg-primary) !important;

}

/* Restore grid on the hero-grid specifically */

#ffp-product-page .ffp-product-hero-grid {

  display: grid !important;

}

/* Restore flex on elements that need it */

#ffp-product-page .ffp-breadcrumbs .ffp-container,

#ffp-product-page .ffp-brand-card,

#ffp-product-page .ffp-rating,

#ffp-product-page .ffp-stock,

#ffp-product-page .ffp-cta,

#ffp-product-page .ffp-ai-card,

#ffp-product-page .ffp-ai-left,

#ffp-product-page .ffp-section-header,

#ffp-product-page .ffp-card-brand,

#ffp-product-page .ffp-meta {

  display: flex !important;

}

/* Restore grid on elements that need it */

#ffp-product-page .ffp-key-specs,

#ffp-product-page .ffp-cta-strip,

#ffp-product-page .ffp-trust-strip,

#ffp-product-page .ffp-product-grid {

  display: grid !important;

}

#ffp-product-page *,

#ffp-product-page *::before,

#ffp-product-page *::after {

  box-sizing: border-box;

}

/* Container */

#ffp-product-page .ffp-container {

  max-width: var(--content-max);

  margin: 0 auto;

  padding: 0 var(--side-pad);

}

/* ═══════════════════════════════════════════════════════════════

   BREADCRUMBS

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-breadcrumbs {

  background: var(--bg-primary);

  padding: 16px 0;

  font-family: var(--font-ui);

  font-size: 12px;

  color: var(--text-muted);

}

#ffp-product-page .ffp-breadcrumbs .ffp-container {

  display: flex;

  align-items: center;

  gap: 8px;

  flex-wrap: wrap;

}

#ffp-product-page .ffp-breadcrumbs a {

  color: var(--text-muted);

  text-decoration: none;

  transition: var(--transition-smooth);

}

#ffp-product-page .ffp-breadcrumbs a:hover {

  color: var(--brand-accent);

}

#ffp-product-page .ffp-breadcrumbs .sep {

  opacity: 0.3;

}

#ffp-product-page .ffp-breadcrumbs .current {

  color: var(--text-secondary);

}

/* ═══════════════════════════════════════════════════════════════

   PRODUCT HERO

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-product-hero {

  padding: 0 0 24px;

  height: auto !important;

  min-height: 0 !important;

}

#ffp-product-page .ffp-product-hero-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: start;

}

/* ─── Gallery ─── */

#ffp-product-page .ffp-gallery {

  position: sticky;

  top: 120px;

  align-self: start;

  min-width: 0;

  overflow: hidden;

}

#ffp-product-page .ffp-gallery-main {

  width: 100%;

  aspect-ratio: 4/3;

  border-radius: 16px;

  overflow: hidden;

  background: var(--bg-card);

  border: 1px solid var(--border-subtle);

  position: relative;

  cursor: zoom-in;

}

#ffp-product-page .ffp-gallery-main img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);

}

#ffp-product-page .ffp-gallery-main:hover img {

  transform: scale(1.05);

}

/* No-image placeholder */

#ffp-product-page .ffp-no-image {

  display: flex;

  align-items: center;

  justify-content: center;

  cursor: default;

}

#ffp-product-page .ffp-placeholder-img {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 120px;

  height: 120px;

  border-radius: 20px;

  background: var(--bg-elevated);

  border: 2px solid var(--border-medium);

}

#ffp-product-page .ffp-placeholder-img span {

  font-family: var(--font-display);

  font-size: 40px;

  font-weight: 700;

  color: var(--text-muted);

  letter-spacing: 2px;

}

/* Sale badge */

#ffp-product-page .ffp-badge {

  position: absolute;

  top: 16px;

  left: 16px;

  z-index: 2;

  padding: 6px 14px;

  border-radius: 8px;

  font-family: var(--font-ui);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  backdrop-filter: blur(10px);

}

#ffp-product-page .ffp-badge-sale {

  background: rgba(255, 23, 68, 0.9);

  color: #fff;

}

/* Thumbnails */

#ffp-product-page .ffp-gallery-thumbs {

  display: flex;

  gap: 10px;

  margin-top: 12px;

}

#ffp-product-page .ffp-thumb {

  width: 80px;

  height: 60px;

  border-radius: 10px;

  overflow: hidden;

  border: 2px solid transparent;

  cursor: pointer;

  transition: var(--transition-smooth);

  opacity: 0.5;

  flex-shrink: 0;

}

#ffp-product-page .ffp-thumb.active {

  border-color: var(--brand-accent);

  opacity: 1;

  box-shadow: var(--glow-brand);

}

#ffp-product-page .ffp-thumb:hover {

  opacity: 0.8;

}

#ffp-product-page .ffp-thumb img {

  width: 100%;

  height: 100%;

  object-fit: cover;

}

/* ─── Product Info ─── */

#ffp-product-page .ffp-info {

  padding-top: 8px;

  min-width: 0;

}

/* ─── Brand Card ─── */

#ffp-product-page .ffp-brand-card {

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 16px 22px;

  background: var(--bg-secondary);

  border: 2px solid var(--border-subtle);

  border-radius: 14px;

  margin-bottom: 24px;

  cursor: pointer;

  transition: var(--transition-smooth);

  text-decoration: none;

  position: relative;

  overflow: hidden;

  color: var(--text-primary);

}

#ffp-product-page .ffp-brand-card::before {

  content: '';

  position: absolute;

  top: 0; left: 0; right: 0; bottom: 0;

  background: linear-gradient(135deg, transparent 60%, var(--brand-glow) 100%);

  pointer-events: none;

}

#ffp-product-page .ffp-brand-card:hover {

  border-color: var(--brand-accent);

  box-shadow: var(--shadow-card);

  transform: translateY(-1px);

  text-decoration: none;

  color: var(--text-primary);

}

#ffp-product-page .ffp-brand-logo-wrap {

  width: 72px;

  height: 72px;

  border-radius: 14px;

  background: #fff;

  border: 2px solid var(--border-medium);

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  flex-shrink: 0;

  transition: var(--transition-smooth);

}

#ffp-product-page .ffp-brand-card:hover .ffp-brand-logo-wrap {

  border-color: var(--brand-accent);

  box-shadow: var(--glow-brand);

}

#ffp-product-page .ffp-brand-logo-wrap img {

  width: 85%;

  height: 85%;

  object-fit: contain;

}

#ffp-product-page .ffp-brand-initials {

  font-family: var(--font-display);

  font-size: 20px;

  font-weight: 700;

  color: #333;

  letter-spacing: 1px;

}

#ffp-product-page .ffp-brand-info {

  flex: 1;

  min-width: 0;

}

#ffp-product-page .ffp-brand-name {

  font-family: var(--font-body);

  font-size: 18px;

  font-weight: 700;

  color: var(--text-primary);

  line-height: 1.2;

}

#ffp-product-page .ffp-authorized {

  display: inline-flex;

  align-items: center;

  gap: 4px;

  font-family: var(--font-ui);

  font-size: 10px;

  font-weight: 600;

  color: var(--brand-accent);

  background: var(--brand-glow);

  border: 1px solid var(--brand-accent);

  border-radius: 4px;

  padding: 2px 8px;

  margin-left: 8px;

  vertical-align: middle;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}

#ffp-product-page .ffp-brand-tagline {

  font-family: var(--font-ui);

  font-size: 12px;

  color: var(--text-muted);

  margin-top: 2px;

}

#ffp-product-page .ffp-brand-viewall {

  display: flex;

  align-items: center;

  gap: 6px;

  font-family: var(--font-ui);

  font-size: 12px;

  font-weight: 600;

  color: var(--brand-accent);

  text-transform: uppercase;

  letter-spacing: 0.5px;

  white-space: nowrap;

  padding: 8px 14px;

  background: var(--brand-glow);

  border-radius: 8px;

  transition: var(--transition-smooth);

  flex-shrink: 0;

}

#ffp-product-page .ffp-brand-card:hover .ffp-brand-viewall {

  background: var(--brand-accent);

  color: #fff;

}

#ffp-product-page .ffp-brand-viewall .arrow {

  transition: transform 0.3s ease;

}

#ffp-product-page .ffp-brand-card:hover .ffp-brand-viewall .arrow {

  transform: translateX(3px);

}

/* ─── Title ─── */

#ffp-product-page .ffp-title {

  font-family: var(--font-display);

  font-size: 42px;

  font-weight: 700;

  line-height: 1.1;

  letter-spacing: 0.5px;

  color: var(--text-primary);

  margin: 0 0 12px 0;

  padding: 0;

  text-transform: uppercase;

}

/* ─── Compatibility Pill ─── */

#ffp-product-page .ffp-compat-pill {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  background: var(--brand-glow);

  border: 1px solid var(--brand-accent);

  border-radius: 20px;

  padding: 6px 16px;

  font-family: var(--font-ui);

  font-size: 12px;

  color: var(--brand-accent);

  margin-bottom: 20px;

}

#ffp-product-page .ffp-compat-pill svg {

  width: 14px;

  height: 14px;

  flex-shrink: 0;

}

/* ─── Rating ─── */

#ffp-product-page .ffp-rating {

  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 20px;

}

#ffp-product-page .ffp-stars {

  display: flex;

  gap: 2px;

}

#ffp-product-page .ffp-stars .star {

  color: #ffc107;

  font-size: 16px;

}

#ffp-product-page .ffp-stars .star.empty {

  color: var(--text-muted);

}

#ffp-product-page .ffp-rating-text {

  font-family: var(--font-ui);

  font-size: 13px;

  color: var(--text-muted);

}

#ffp-product-page .ffp-rating-text strong {

  color: var(--text-secondary);

}

/* ─── Short Description ─── */

#ffp-product-page .ffp-short-desc {

  font-family: var(--font-body);

  font-size: 15px;

  line-height: 1.7;

  color: var(--text-secondary);

  margin-bottom: 24px;

  padding-bottom: 24px;

  border-bottom: 1px solid var(--border-subtle);

}

#ffp-product-page .ffp-short-desc p {

  margin: 0 0 12px 0;

}

#ffp-product-page .ffp-short-desc p:last-child {

  margin-bottom: 0;

}

/* ─── Key Specs Grid ─── */

#ffp-product-page .ffp-key-specs {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 12px;

  margin-bottom: 28px;

}

#ffp-product-page .ffp-spec-item {

  padding: 12px 16px;

  background: var(--bg-card);

  border: 1px solid var(--border-subtle);

  border-radius: 10px;

  transition: var(--transition-smooth);

}

#ffp-product-page .ffp-spec-item:hover {

  border-color: var(--border-medium);

}

#ffp-product-page .ffp-spec-label {

  font-family: var(--font-ui);

  font-size: 11px;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 0.5px;

}

#ffp-product-page .ffp-spec-value {

  font-family: var(--font-ui);

  font-size: 14px;

  font-weight: 600;

  color: var(--text-primary);

}

/* ═══════════════════════════════════════════════════════════════

   PRICING BLOCK

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-pricing-block {

  background: var(--bg-card);

  border: 1px solid var(--border-subtle);

  border-radius: 16px;

  padding: 28px;

  margin-bottom: 24px;

}

/* WooCommerce price override */

#ffp-product-page .ffp-price-row {

  margin-bottom: 8px;

  display: flex;

  align-items: baseline;

  flex-wrap: wrap;

  gap: 4px 8px;

}

#ffp-product-page .ffp-price-row .price,

#ffp-product-page .ffp-price-row .woocommerce-Price-amount {

  font-family: var(--font-display) !important;

  font-size: 48px !important;

  font-weight: 700 !important;

  letter-spacing: 1px;

  color: var(--text-primary) !important;

  line-height: 1.1;

}

/* Variable price range dash — smaller, muted */

#ffp-product-page .ffp-price-row > span[aria-hidden="true"]:not(.woocommerce-Price-amount) {

  font-size: 24px !important;

  color: var(--text-muted) !important;

  font-weight: 400;

  margin: 0 2px;

}

#ffp-product-page .ffp-price-row .woocommerce-Price-currencySymbol {

  font-size: 32px !important;

}

#ffp-product-page .ffp-price-row del .woocommerce-Price-amount {

  font-size: 20px !important;

  color: var(--text-muted) !important;

}

#ffp-product-page .ffp-price-row ins {

  text-decoration: none;

}

#ffp-product-page .ffp-affirm {

  font-family: var(--font-ui);

  font-size: 13px;

  color: var(--text-muted);

  margin: 0 0 10px 0;

}

#ffp-product-page .ffp-affirm strong {

  color: var(--text-secondary);

}

/* Stock indicator */

#ffp-product-page .ffp-stock {

  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 10px;

}

#ffp-product-page .ffp-stock-dot {

  width: 8px;

  height: 8px;

  border-radius: 50%;

}

#ffp-product-page .ffp-stock-instock .ffp-stock-dot {

  background: var(--ffp-green);

  animation: ffp-pulse-green 2s ease-in-out infinite;

}

#ffp-product-page .ffp-stock-onbackorder .ffp-stock-dot {

  background: #ffc107;

  animation: ffp-pulse-amber 2s ease-in-out infinite;

}

#ffp-product-page .ffp-stock-outofstock .ffp-stock-dot {

  background: var(--ffp-red);

}

@keyframes ffp-pulse-green {

  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }

  50% { box-shadow: 0 0 0 6px rgba(0, 200, 83, 0); }

}

@keyframes ffp-pulse-amber {

  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }

  50% { box-shadow: 0 0 0 6px rgba(255, 193, 7, 0); }

}

#ffp-product-page .ffp-stock-text {

  font-family: var(--font-ui);

  font-size: 13px;

  font-weight: 600;

}

#ffp-product-page .ffp-stock-instock .ffp-stock-text {

  color: var(--ffp-green);

}

#ffp-product-page .ffp-stock-onbackorder .ffp-stock-text {

  color: #ffc107;

}

#ffp-product-page .ffp-stock-outofstock .ffp-stock-text {

  color: var(--ffp-red);

}

/* ─── FFP Product Options (terms/agreements) ─── */

#ffp-product-page .ffp-product-options {

  margin-bottom: 16px;

  width: 100% !important;

}

#ffp-product-page .ffp-product-options .ffp-field {

  background: var(--bg-secondary);

  border: 1px solid var(--border-subtle);

  border-radius: 12px;

  padding: 14px 16px;

}

#ffp-product-page .ffp-product-options .ffp-field-label {

  font-family: var(--font-ui) !important;

  font-size: 12px !important;

  font-weight: 700 !important;

  text-transform: uppercase !important;

  letter-spacing: 0.5px !important;

  color: var(--text-secondary) !important;

  margin-bottom: 6px !important;

}

#ffp-product-page .ffp-product-options .ffp-field-desc {

  font-size: 11px !important;

  line-height: 1.5 !important;

  color: var(--text-muted) !important;

  max-height: 54px;

  overflow: hidden;

  position: relative;

  margin-bottom: 10px !important;

  transition: max-height 0.3s ease;

  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);

  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);

}

#ffp-product-page .ffp-product-options .ffp-field-desc.expanded {

  max-height: 500px;

  mask-image: none;

  -webkit-mask-image: none;

}

#ffp-product-page .ffp-product-options .ffp-checkbox-group {

  display: flex !important;

  align-items: center !important;

  gap: 10px !important;

}

#ffp-product-page .ffp-product-options .ffp-checkbox-group label {

  font-size: 13px !important;

  font-weight: 600 !important;

  color: var(--text-primary) !important;

  cursor: pointer;

}

#ffp-product-page .ffp-product-options .ffp-progress-bar,

#ffp-product-page .ffp-product-options .ffp-price-summary {

  display: none !important;

}

/* ─── WooCommerce ATC Form Override ─── */

#ffp-product-page .ffp-atc-wrap {

  margin-bottom: 16px;

}

/* Hide WooCommerce's native stock text — FFP renders its own stock indicator */

#ffp-product-page .ffp-atc-wrap .stock,

#ffp-product-page .ffp-atc-wrap p.stock {

  display: none !important;

}

#ffp-product-page .ffp-atc-wrap .cart {

  display: flex;

  flex-direction: row;

  flex-wrap: wrap;

  gap: 12px;

  margin: 0;

  align-items: center;

}

#ffp-product-page .ffp-atc-wrap .cart .ffp-product-options {

  width: 100%;

  flex: 0 0 100%;

  order: 1;

}

#ffp-product-page .ffp-atc-wrap .cart .variations_form,

#ffp-product-page .ffp-atc-wrap .cart .mfn-variations-wrapper,

#ffp-product-page .ffp-atc-wrap .cart table.variations {

  width: 100%;

  flex: 0 0 100%;

  order: 2;

}

#ffp-product-page .ffp-atc-wrap .cart .single_variation_wrap {

  width: 100%;

  flex: 0 0 100%;

  order: 3;

}

#ffp-product-page .ffp-atc-wrap .cart .quantity {

  order: 4;

  flex: 0 0 auto;

}

#ffp-product-page .ffp-atc-wrap .cart .single_add_to_cart_button {

  order: 5;

  flex: 1 1 0%;

  min-width: 160px;

}

#ffp-product-page .ffp-atc-wrap .cart .mfn-wish-button {

  order: 6;

  flex: 0 0 auto;

}

/* Variation price — match FFP pricing style */

#ffp-product-page .woocommerce-variation-price .price,

#ffp-product-page .woocommerce-variation-price .woocommerce-Price-amount {

  font-family: var(--font-display) !important;

  font-size: 32px !important;

  font-weight: 700 !important;

  color: var(--text-primary) !important;

  line-height: 1.2;

}

#ffp-product-page .woocommerce-variation-price .woocommerce-Price-currencySymbol {

  font-size: 22px !important;

}

#ffp-product-page .woocommerce-variation-price del .woocommerce-Price-amount {

  font-size: 20px !important;

  font-weight: 400 !important;

  color: var(--text-muted) !important;

}

#ffp-product-page .woocommerce-variation-price ins {

  text-decoration: none;

}

#ffp-product-page .woocommerce-variation-price {

  margin: 8px 0 4px;

}

/* Stripe/payment buttons — full width below ATC */

#ffp-product-page .ffp-atc-wrap .cart .wc-stripe-clear,

#ffp-product-page .ffp-atc-wrap .cart [class*="wc-stripe"],

#ffp-product-page .ffp-atc-wrap .cart .gpay-button-container,

#ffp-product-page .ffp-atc-wrap .cart wc-order-attribution-inputs {

  order: 10;

  flex: 0 0 100%;

  width: 100%;

}

#ffp-product-page .ffp-atc-wrap .cart .wc-stripe-product-checkout-container {

  margin: 12px 0 4px;

}

/* PPOM/FFP product options — give full width */

#ffp-product-page .ffp-atc-wrap .ppom-wrapper,

#ffp-product-page .ffp-atc-wrap .ppom-field-wrapper {

  width: 100%;

  flex: 0 0 100%;

  order: 1;

}

#ffp-product-page .ffp-atc-wrap .quantity {

  display: flex;

  align-items: center;

  background: var(--bg-elevated);

  border: 1px solid var(--border-medium);

  border-radius: 12px;

  overflow: hidden;

}

#ffp-product-page .ffp-atc-wrap .quantity .qty {

  width: 52px;

  text-align: center;

  background: transparent;

  border: none;

  color: var(--text-primary);

  font-family: var(--font-ui);

  font-size: 16px;

  font-weight: 600;

  outline: none;

  -moz-appearance: textfield;

  padding: 12px 0;

}

#ffp-product-page .ffp-atc-wrap .quantity .qty::-webkit-inner-spin-button,

#ffp-product-page .ffp-atc-wrap .quantity .qty::-webkit-outer-spin-button {

  -webkit-appearance: none;

  margin: 0;

}

#ffp-product-page .ffp-atc-wrap .single_add_to_cart_button {

  flex: 1;

  height: 54px;

  background: var(--brand-accent) !important;

  border: none !important;

  border-radius: 12px !important;

  font-family: var(--font-ui) !important;

  font-size: 15px !important;

  font-weight: 700 !important;

  color: #fff !important;

  cursor: pointer;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  transition: var(--transition-smooth);

  position: relative;

  overflow: hidden;

  padding: 0 32px;

}

#ffp-product-page .ffp-atc-wrap .single_add_to_cart_button::before {

  content: '';

  position: absolute;

  top: 0; left: -100%;

  width: 100%; height: 100%;

  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);

  transition: left 0.5s ease;

}

#ffp-product-page .ffp-atc-wrap .single_add_to_cart_button:hover::before {

  left: 100%;

}

#ffp-product-page .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: var(--brand-accent-dark) !important;

  box-shadow: 0 4px 24px var(--brand-glow);

  transform: translateY(-1px);

}

/* Variable product selects */

#ffp-product-page .ffp-atc-wrap .variations {

  width: 100%;

  margin-bottom: 20px;

  border-collapse: collapse;

}

#ffp-product-page .ffp-atc-wrap .variations td {

  padding: 8px 0;

}

#ffp-product-page .ffp-atc-wrap .variations .label label {

  font-family: var(--font-ui);

  font-size: 13px;

  font-weight: 600;

  color: var(--text-secondary);

  text-transform: uppercase;

  letter-spacing: 0.5px;

}

#ffp-product-page .ffp-atc-wrap .variations select {

  width: 100%;

  background: var(--bg-card);

  border: 1px solid var(--border-medium);

  border-radius: 10px;

  padding: 12px 16px;

  font-family: var(--font-ui);

  font-size: 14px;

  color: var(--text-primary);

  outline: none;

  cursor: pointer;

  transition: var(--transition-smooth);

}

#ffp-product-page .ffp-atc-wrap .variations select:focus {

  border-color: var(--brand-accent);

  box-shadow: 0 0 0 3px var(--brand-glow);

}

/* ─── CTA Strip ─── */

#ffp-product-page .ffp-cta-strip {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px;

  margin-top: 12px;

}

#ffp-product-page .ffp-cta {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 10px 14px;

  border-radius: var(--brand-radius, 8px);

  border: 1px solid transparent;

  text-decoration: none;

  cursor: pointer;

  transition: all 0.25s ease;

  font-family: var(--font-ui);

  position: relative;

  overflow: hidden;

}

/* ── Phone CTA ── */

#ffp-product-page .ffp-cta-call {

  background: #f7f7f8;

  border-color: rgba(0,0,0,0.08);

  box-shadow: none;

}

#ffp-product-page .ffp-cta-call:hover {

  background: #efefef;

  border-color: rgba(0,0,0,0.15);

  text-decoration: none;

}

/* ── Chat CTA ── */

#ffp-product-page .ffp-cta-chat {

  background: #f7f7f8;

  border-color: rgba(0,0,0,0.08);

}

#ffp-product-page .ffp-cta-chat:hover {

  border-color: var(--brand-accent, #cc0000);

  box-shadow: 0 0 12px rgba(0,0,0,0.06);

}

/* ── CTA internals ── */

#ffp-product-page .ffp-cta-icon {

  font-size: 16px;

  flex-shrink: 0;

  line-height: 1;

}

#ffp-product-page .ffp-cta-text {

  flex: none;

  text-align: center;

  margin: 0 !important;

}

#ffp-product-page .ffp-cta-label {

  font-size: 9px;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.8px;

  line-height: 1;

}

#ffp-product-page .ffp-cta-value {

  font-size: 13px;

  font-weight: 600;

  margin-top: 3px;

  line-height: 1;

}

#ffp-product-page .ffp-cta-call .ffp-cta-label {

  color: #555 !important;

}

#ffp-product-page .ffp-cta-call .ffp-cta-value {

  color: #111 !important;

}

#ffp-product-page .ffp-cta-chat .ffp-cta-label {

  color: #555 !important;

  opacity: 1 !important;

}

#ffp-product-page .ffp-cta-chat .ffp-cta-value {

  color: var(--brand-accent, #cc0000) !important;

}

/* ─── Trust Strip ─── */

#ffp-product-page .ffp-trust-strip {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;

  margin-top: 20px;

  background: #f7f7f8;

  border: 1px solid rgba(0,0,0,0.06);

  border-radius: 12px;

  overflow: hidden;

}

#ffp-product-page .ffp-trust-item {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  padding: 16px 12px;

  text-align: center;

  border-right: 1px solid rgba(0,0,0,0.06);

  transition: var(--transition-smooth);

}

#ffp-product-page .ffp-trust-item:last-child {

  border-right: none;

}

#ffp-product-page .ffp-trust-item:hover {

  background: #efefef;

}

#ffp-product-page .ffp-trust-icon {

  font-size: 20px;

  margin-bottom: 6px;

  line-height: 1;

  display: flex;

  align-items: center;

  justify-content: center;

  height: 28px;

  opacity: 0.65;

}

#ffp-product-page .ffp-trust-label {

  font-family: var(--font-ui);

  font-size: 10px;

  font-weight: 600;

  color: #555;

  text-transform: uppercase;

  letter-spacing: 0.5px;

  line-height: 1.2;

}

#ffp-product-page .ffp-trust-disclaimer {

  grid-column: 1 / -1;

  text-align: center;

  font-family: var(--font-ui);

  font-size: 10px;

  color: #888;

  padding: 4px 12px 8px;

  border-top: 1px solid rgba(0,0,0,0.06);

  letter-spacing: 0.3px;

}

/* ─── SKU & Meta ─── */

#ffp-product-page .ffp-meta {

  display: flex;

  gap: 24px;

  margin-top: 28px;

  padding-top: 20px;

  border-top: 1px solid var(--border-subtle);

  font-family: var(--font-ui);

  font-size: 12px;

  color: var(--text-muted);

}

#ffp-product-page .ffp-meta strong {

  color: var(--text-secondary);

}

/* ═══════════════════════════════════════════════════════════════

   TABBED CONTENT

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-content-section {

  padding: 0;

  margin-top: var(--section-gap);

}

#ffp-product-page .ffp-tabs {

  display: flex;

  gap: 0;

  border-bottom: 2px solid var(--border-subtle);

  margin-bottom: 40px;

}

#ffp-product-page .ffp-tab {

  padding: 16px 32px;

  font-family: var(--font-ui);

  font-size: 13px;

  font-weight: 600;

  color: var(--text-muted);

  text-transform: uppercase;

  letter-spacing: 1px;

  cursor: pointer;

  border: none;

  border-bottom: 2px solid transparent;

  margin-bottom: -2px;

  transition: var(--transition-smooth);

  background: none;

}

#ffp-product-page .ffp-tab:hover {

  color: var(--text-secondary);

}

#ffp-product-page .ffp-tab.active {

  color: var(--brand-accent);

  border-bottom-color: var(--brand-accent);

}

/* Tab Panels */

#ffp-product-page .ffp-tab-panel {

  display: none;

}

#ffp-product-page .ffp-tab-panel.active {

  display: block;

}

/* Description content styling */

#ffp-product-page .ffp-desc-content {

  font-family: var(--font-body);

  font-size: 15px;

  line-height: 1.8;

  color: var(--text-secondary);

}

#ffp-product-page .ffp-desc-content h2,

#ffp-product-page .ffp-desc-content h3,

#ffp-product-page .ffp-desc-content h4,

#ffp-product-page .ffp-desc-content h5 {

  font-family: var(--font-display);

  color: var(--text-primary);

  letter-spacing: 0.5px;

  margin: 32px 0 16px 0;

  line-height: 1.2;

  text-transform: uppercase;

  font-weight: 700;

}

#ffp-product-page .ffp-desc-content h2 { font-size: 32px; }

#ffp-product-page .ffp-desc-content h3 { font-size: 26px; }

#ffp-product-page .ffp-desc-content h4 { font-size: 22px; }

#ffp-product-page .ffp-desc-content h5 { font-size: 18px; }

#ffp-product-page .ffp-desc-content p {

  margin: 0 0 16px;

}

#ffp-product-page .ffp-desc-content ul,

#ffp-product-page .ffp-desc-content ol {

  margin: 0 0 16px;

  padding-left: 20px;

}

#ffp-product-page .ffp-desc-content li {

  margin-bottom: 8px;

  line-height: 1.6;

}

#ffp-product-page .ffp-desc-content table {

  width: 100%;

  border-collapse: collapse;

  margin: 16px 0;

  font-family: var(--font-ui);

  font-size: 13px;

}

#ffp-product-page .ffp-desc-content table th,

#ffp-product-page .ffp-desc-content table td {

  padding: 12px 16px;

  border-bottom: 1px solid var(--border-subtle);

  text-align: left;

}

#ffp-product-page .ffp-desc-content table th {

  font-weight: 600;

  color: var(--text-primary);

  background: var(--bg-card);

}

/* FFP description compatibility pills override */

#ffp-product-page .ffp-desc-content .ffp-desc-compat-pills {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin: 16px 0;

}

#ffp-product-page .ffp-desc-content .ffp-compat-pill-tag {

  display: inline-flex;

  align-items: center;

  gap: 4px;

  padding: 6px 14px;

  border-radius: 20px;

  background: var(--brand-glow);

  border: 1px solid var(--brand-accent);

  font-family: var(--font-ui);

  font-size: 12px;

  font-weight: 500;

  color: var(--brand-accent);

}

/* ─── Specifications Table ─── */

#ffp-product-page .ffp-specs-table {

  background: var(--bg-card);

  border: 1px solid var(--border-subtle);

  border-radius: 16px;

  padding: 28px;

  max-width: 700px;

}

#ffp-product-page .ffp-spec-row {

  display: flex;

  justify-content: space-between;

  padding: 12px 0;

  border-bottom: 1px solid var(--border-subtle);

  font-family: var(--font-ui);

  font-size: 13px;

}

#ffp-product-page .ffp-spec-row:last-child {

  border-bottom: none;

}

#ffp-product-page .ffp-spec-row .ffp-spec-label {

  color: var(--text-muted);

  font-size: 13px;

}

#ffp-product-page .ffp-spec-row .ffp-spec-value {

  color: var(--text-primary);

  font-weight: 600;

  font-size: 13px;

  text-align: right;

  max-width: 60%;

}

/* ─── Reviews Tab ─── */

#ffp-product-page #tab-reviews {

  font-family: var(--font-body);

}

#ffp-product-page #tab-reviews .comment-reply-title {

  font-family: var(--font-display);

  font-size: 26px;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  font-weight: 700;

}

#ffp-product-page #tab-reviews .comment-form-rating label {

  font-family: var(--font-ui);

  font-size: 14px;

  font-weight: 600;

}

#ffp-product-page #tab-reviews textarea,

#ffp-product-page #tab-reviews input[type="text"],

#ffp-product-page #tab-reviews input[type="email"] {

  font-family: var(--font-ui);

  font-size: 14px;

  border: 1px solid var(--border-medium);

  border-radius: 10px;

  padding: 12px 16px;

  transition: var(--transition-smooth);

}

#ffp-product-page #tab-reviews textarea:focus,

#ffp-product-page #tab-reviews input[type="text"]:focus,

#ffp-product-page #tab-reviews input[type="email"]:focus {

  border-color: var(--brand-accent);

  box-shadow: 0 0 0 3px var(--brand-glow);

  outline: none;

}

#ffp-product-page #tab-reviews .form-submit input[type="submit"] {

  background: var(--brand-accent) !important;

  border: none !important;

  border-radius: 10px !important;

  padding: 12px 32px !important;

  font-family: var(--font-ui) !important;

  font-size: 14px !important;

  font-weight: 700 !important;

  color: #fff !important;

  cursor: pointer;

  text-transform: uppercase;

  letter-spacing: 1px;

  transition: var(--transition-smooth);

}

#ffp-product-page #tab-reviews .form-submit input[type="submit"]:hover {

  background: var(--brand-accent-dark) !important;

}

/* ═══════════════════════════════════════════════════════════════

   AI HELP BAR

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-ai-bar {

  padding: 0 0 var(--section-gap);

}

#ffp-product-page .ffp-ai-card {

  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0a0a 100%);

  border: 1px solid var(--brand-glow);

  border-radius: 16px;

  padding: 32px 40px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  color: var(--dark-text);

}

#ffp-product-page .ffp-ai-left {

  display: flex;

  align-items: center;

  gap: 20px;

}

#ffp-product-page .ffp-ai-avatar {

  width: 52px;

  height: 52px;

  border-radius: 14px;

  background: var(--brand-accent);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 24px;

  flex-shrink: 0;

}

#ffp-product-page .ffp-ai-card h4 {

  font-family: var(--font-body);

  font-size: 16px;

  font-weight: 700;

  margin: 0 0 4px 0;

  color: var(--dark-text);

}

#ffp-product-page .ffp-ai-card p {

  font-family: var(--font-ui);

  font-size: 13px;

  color: var(--dark-text-muted);

  margin: 0;

}

#ffp-product-page .ffp-ai-btn {

  background: transparent;

  border: 1px solid var(--brand-accent);

  border-radius: 10px;

  padding: 12px 28px;

  font-family: var(--font-ui);

  font-size: 13px;

  font-weight: 600;

  color: var(--brand-accent);

  cursor: pointer;

  text-transform: uppercase;

  letter-spacing: 1px;

  transition: var(--transition-smooth);

  white-space: nowrap;

}

#ffp-product-page .ffp-ai-btn:hover {

  background: var(--brand-accent);

  color: #fff;

}

/* ═══════════════════════════════════════════════════════════════

   RELATED PRODUCTS

   ═══════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-related {

  padding: 0 0 var(--section-gap);

}

#ffp-product-page .ffp-section-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 32px;

}

#ffp-product-page .ffp-section-header h2 {

  font-family: var(--font-display);

  font-size: 36px;

  font-weight: 700;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  color: var(--text-primary);

  margin: 0;

}

#ffp-product-page .ffp-product-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;

}

#ffp-product-page .ffp-card {

  background: var(--bg-card);

  border: 1px solid var(--border-subtle);

  border-radius: 14px;

  overflow: hidden;

  transition: var(--transition-smooth);

  cursor: pointer;

  text-decoration: none;

  color: var(--text-primary);

  display: block;

}

#ffp-product-page .ffp-card:hover {

  border-color: var(--border-medium);

  transform: translateY(-4px);

  box-shadow: var(--shadow-card);

  text-decoration: none;

  color: var(--text-primary);

}

#ffp-product-page .ffp-card-image {

  width: 100%;

  aspect-ratio: 4/3;

  background: var(--bg-elevated);

  overflow: hidden;

}

#ffp-product-page .ffp-card-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;

}

#ffp-product-page .ffp-card:hover .ffp-card-image img {

  transform: scale(1.08);

}

#ffp-product-page .ffp-card-body {

  padding: 16px 18px 20px;

}

#ffp-product-page .ffp-card-brand {

  display: flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 8px;

}

#ffp-product-page .ffp-card-brand-logo {

  width: 20px;

  height: 20px;

  border-radius: 4px;

  object-fit: contain;

}

#ffp-product-page .ffp-card-brand-name {

  font-family: var(--font-ui);

  font-size: 10px;

  font-weight: 700;

  color: var(--brand-accent);

  text-transform: uppercase;

  letter-spacing: 1px;

}

#ffp-product-page .ffp-card-title {

  font-family: var(--font-body);

  font-size: 14px;

  font-weight: 600;

  color: var(--text-primary);

  line-height: 1.4;

  margin-bottom: 10px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

}

#ffp-product-page .ffp-card-price {

  font-family: var(--font-ui);

  font-size: 18px;

  font-weight: 700;

  color: var(--text-primary);

}

/* WC price within related cards */

#ffp-product-page .ffp-card-price .woocommerce-Price-amount {

  font-family: var(--font-ui) !important;

  font-size: 18px !important;

  font-weight: 700 !important;

  color: var(--text-primary) !important;

}

/* ═══════════════════════════════════════════════════════════════

   MOBILE STICKY CTA BAR

   ═══════════════════════════════════════════════════════════════ */

.ffp-mobile-bar {

  display: none;

  position: fixed;

  bottom: 0;

  left: 0;

  right: 0;

  z-index: 999;

  background: #0f0f0f;

  border-top: 1px solid rgba(255,255,255,0.08);

  padding: 10px 16px;

  gap: 10px;

  backdrop-filter: blur(20px);

  -webkit-backdrop-filter: blur(20px);

}

.ffp-mobile-bar .ffp-mobile-call,

.ffp-mobile-bar .ffp-mobile-chat {

  flex: 1;

  height: 48px;

  border-radius: 10px;

  font-family: 'Inter', sans-serif;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  text-decoration: none;

}

.ffp-mobile-bar .ffp-mobile-call {

  background: linear-gradient(135deg, #0f8a3e, #0a6e30);

  border: none;

  color: #fff;

}

.ffp-mobile-bar .ffp-mobile-chat {

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.15);

  color: #fff;

}

/* ═══════════════════════════════════════════════════════════════

   BRAND LAYERS — Per-brand visual overrides

   Each brand gets a data-brand="slug" attribute on #ffp-product-page.

   Overrides cascade: base → brand → responsive.

   ═══════════════════════════════════════════════════════════════ */

/* ── LVA / LiquiVinyl ──────────────────────────────────────────

   Vibe: Aggressive. Electric. Technical.

   Neon lime (#A8FF00), bold 800 weight, street-aero energy.

   ─────────────────────────────────────────────────────────────── */

#ffp-product-page[data-brand="liquivinyl"] {

  --brand-radius: 6px;

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-title {

  font-weight: 800;

  letter-spacing: 1px;

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(168,255,0,0.08) 0%, rgba(168,255,0,0.02) 100%);

  border-color: rgba(168,255,0,0.25);

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(168,255,0,0.12) 0%, transparent 50%);

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #A8FF00 !important;

  color: #0a0a0a !important;

  border-radius: 6px !important;

  font-weight: 800 !important;

  letter-spacing: 2px;

  text-shadow: none;

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #7AB30C !important;

  box-shadow: 0 4px 24px rgba(168,255,0,0.4);

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-compat-pill {

  border-color: rgba(168,255,0,0.4);

  background: rgba(168,255,0,0.08);

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-specs-card {

  border-radius: 6px;

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-price-block {

  border-radius: 6px;

}

#ffp-product-page[data-brand="liquivinyl"] .ffp-product-options .ffp-field {

  border-radius: 6px;

}

/* ── Anderson Composites ───────────────────────────────────────

   Vibe: Precision. Aspirational. Authoritative.

   Congress blue (#004990), thin 300 weight, sharp 3px corners.

   Carbon fiber premium, aerospace branding.

   ─────────────────────────────────────────────────────────────── */

#ffp-product-page[data-brand="anderson-composites"] {

  --brand-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-title {

  font-weight: 300;

  letter-spacing: 2px;

  font-size: 38px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(0,73,144,0.06) 0%, rgba(0,73,144,0.01) 100%);

  border-color: rgba(0,73,144,0.2);

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(0,73,144,0.08) 0%, transparent 50%);

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #111111 !important;

  color: #ffffff !important;

  border-radius: 3px !important;

  font-weight: 600 !important;

  letter-spacing: 2.5px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #004990 !important;

  box-shadow: 0 4px 24px rgba(0,73,144,0.35);

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-compat-pill {

  border-color: rgba(0,73,144,0.3);

  background: rgba(0,73,144,0.06);

  color: #004990;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-compat-pill .compat-icon {

  color: #004990;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-specs-card {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-price-block {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-gallery-main img {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-gallery-thumb {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-product-options .ffp-field {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-trust-strip {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-tab-bar {

  border-radius: 3px;

}

#ffp-product-page[data-brand="anderson-composites"] .ffp-atc-wrap .quantity {

  border-radius: 3px;

}

/* Carbon fiber texture accent line */

#ffp-product-page[data-brand="anderson-composites"] .ffp-brand-card::after {

  content: '';

  position: absolute;

  bottom: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg, #004990 0%, #004990 50%, transparent 100%);

}

/* ── EOS / Extreme Online Store ────────────────────────────────

   Vibe: Enthusiast. Bold. Community-Driven.

   Amber gold (#FFB400), normal 700 weight, sharp 3px corners.

   Warm, accessible, lifestyle-forward.

   ─────────────────────────────────────────────────────────────── */

#ffp-product-page[data-brand="extreme-online-store"] {

  --brand-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-title {

  font-weight: 700;

  letter-spacing: 0.5px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(255,180,0,0.08) 0%, rgba(255,180,0,0.02) 100%);

  border-color: rgba(255,180,0,0.25);

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(255,180,0,0.1) 0%, transparent 50%);

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #1a1a1a !important;

  color: #ffffff !important;

  border-radius: 3px !important;

  font-weight: 700 !important;

  letter-spacing: 1.5px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #FFB400 !important;

  color: #0a0a0a !important;

  box-shadow: 0 4px 24px rgba(255,180,0,0.35);

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-compat-pill {

  border-color: rgba(255,180,0,0.35);

  background: rgba(255,180,0,0.08);

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-specs-card {

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-price-block {

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-gallery-main img {

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-gallery-thumb {

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-trust-strip {

  border-radius: 3px;

}

#ffp-product-page[data-brand="extreme-online-store"] .ffp-atc-wrap .quantity {

  border-radius: 3px;

}

/* Gold accent underline on star ratings */

#ffp-product-page[data-brand="extreme-online-store"] .ffp-stars {

  filter: hue-rotate(-15deg) saturate(1.3);

}

/* ── VF Engineering ────────────────────────────────────────────

   Vibe: Precise. Engineered. Electric.

   Lima green (#5DD817), semibold 600, rounded 6px.

   Technical precision, green reserved for #1 CTA only.

   ─────────────────────────────────────────────────────────────── */

#ffp-product-page[data-brand="vf-engineering"] {

  --brand-radius: 6px;

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-title {

  font-weight: 600;

  letter-spacing: 1.5px;

  font-size: 38px;

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(93,216,23,0.06) 0%, rgba(93,216,23,0.01) 100%);

  border-color: rgba(93,216,23,0.2);

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(93,216,23,0.1) 0%, transparent 50%);

}

/* VF uses dark CTA with green reserved for highest-priority action */

#ffp-product-page[data-brand="vf-engineering"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #111111 !important;

  color: #5DD817 !important;

  border: 2px solid #5DD817 !important;

  border-radius: 6px !important;

  font-weight: 700 !important;

  letter-spacing: 2px;

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #5DD817 !important;

  color: #0a0a0a !important;

  border-color: #5DD817 !important;

  box-shadow: 0 4px 24px rgba(93,216,23,0.4);

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-compat-pill {

  border-color: rgba(93,216,23,0.3);

  background: rgba(93,216,23,0.06);

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-specs-card {

  border-radius: 6px;

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-price-block {

  border-radius: 6px;

}

#ffp-product-page[data-brand="vf-engineering"] .ffp-product-options .ffp-field {

  border-radius: 6px;

}

/* Subtle engineering "precision line" accent on brand card */

#ffp-product-page[data-brand="vf-engineering"] .ffp-brand-card::after {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg, transparent 0%, #5DD817 50%, transparent 100%);

  opacity: 0.6;

}

/* ── NOVITEC ──────────────────────────────────────────────────

   Vibe: Precision. Premium. Exotic.

   Crimson red (#c41e3a), semibold 600, tight 4px radius.

   Dark luxury feel — supercar tuning authority.

   ─────────────────────────────────────────────────────────────── */

/* ── Sparco ──────────────────────────────────────────────────

   Vibe: Precision. Racing. Safety.

   Blue (#0066CC), bold 700, tight 4px radius.

   Clean racing authority — FIA heritage.

   ─────────────────────────────────────────────────────────────── */

#ffp-product-page[data-brand="sparco"] {

  --brand-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-title {

  font-weight: 700;

  letter-spacing: 0.5px;

}

#ffp-product-page[data-brand="sparco"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(0,102,204,0.07) 0%, rgba(0,102,204,0.01) 100%);

  border-color: rgba(0,102,204,0.25);

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(0,102,204,0.08) 0%, transparent 50%);

}

#ffp-product-page[data-brand="sparco"] .ffp-brand-card::after {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg, transparent 0%, #0066CC 50%, transparent 100%);

  opacity: 0.6;

}

#ffp-product-page[data-brand="sparco"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #1a1a1a !important;

  color: #ffffff !important;

  border-radius: 4px !important;

  font-weight: 700 !important;

  letter-spacing: 1.5px;

}

#ffp-product-page[data-brand="sparco"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #0066CC !important;

  color: #ffffff !important;

  box-shadow: 0 4px 24px rgba(0,102,204,0.35);

}

#ffp-product-page[data-brand="sparco"] .ffp-compat-pill {

  border-color: rgba(0,102,204,0.3);

  background: rgba(0,102,204,0.06);

}

#ffp-product-page[data-brand="sparco"] .ffp-specs-card {

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-price-block {

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-gallery-main img {

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-gallery-thumb {

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-trust-strip {

  border-radius: 4px;

}

#ffp-product-page[data-brand="sparco"] .ffp-atc-wrap .quantity {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] {

  --brand-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-title {

  font-weight: 600;

  letter-spacing: 1px;

}

#ffp-product-page[data-brand="novitec"] .ffp-brand-card {

  background: linear-gradient(135deg, rgba(196,30,58,0.07) 0%, rgba(196,30,58,0.01) 100%);

  border-color: rgba(196,30,58,0.25);

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-brand-card::before {

  background: linear-gradient(135deg, rgba(196,30,58,0.08) 0%, transparent 50%);

}

/* Precision line accent — crimson glow */

#ffp-product-page[data-brand="novitec"] .ffp-brand-card::after {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 2px;

  background: linear-gradient(90deg, transparent 0%, #c41e3a 50%, transparent 100%);

  opacity: 0.7;

}

#ffp-product-page[data-brand="novitec"] .ffp-atc-wrap .single_add_to_cart_button {

  background: #1a1a1a !important;

  color: #ffffff !important;

  border-radius: 4px !important;

  font-weight: 700 !important;

  letter-spacing: 1.5px;

}

#ffp-product-page[data-brand="novitec"] .ffp-atc-wrap .single_add_to_cart_button:hover {

  background: #c41e3a !important;

  color: #ffffff !important;

  box-shadow: 0 4px 24px rgba(196,30,58,0.4);

}

#ffp-product-page[data-brand="novitec"] .ffp-compat-pill {

  border-color: rgba(196,30,58,0.3);

  background: rgba(196,30,58,0.06);

}

#ffp-product-page[data-brand="novitec"] .ffp-specs-card {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-price-block {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-gallery-main img {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-gallery-thumb {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-trust-strip {

  border-radius: 4px;

}

#ffp-product-page[data-brand="novitec"] .ffp-atc-wrap .quantity {

  border-radius: 4px;

}

/* ═══════════════════════════════════════════════════════════════

   RESPONSIVE

   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

  #ffp-product-page {

    --side-pad: 24px;

  }

  #ffp-product-page .ffp-product-hero-grid {

    grid-template-columns: 1fr;

    gap: 32px;

  }

  #ffp-product-page .ffp-gallery {

    position: static;

  }

  #ffp-product-page .ffp-product-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  #ffp-product-page .ffp-trust-strip {

    grid-template-columns: repeat(2, 1fr);

  }

  #ffp-product-page .ffp-trust-item:nth-child(2) {

    border-right: none;

  }

}

@media (max-width: 640px) {

  #ffp-product-page .ffp-title {

    font-size: 28px;

  }

  #ffp-product-page .ffp-price-row .price,

  #ffp-product-page .ffp-price-row .woocommerce-Price-amount {

    font-size: 36px !important;

  }

  #ffp-product-page .woocommerce-variation-price .price,

  #ffp-product-page .woocommerce-variation-price .woocommerce-Price-amount {

    font-size: 26px !important;

  }

  #ffp-product-page .woocommerce-variation-price .woocommerce-Price-currencySymbol {

    font-size: 18px !important;

  }

  #ffp-product-page .ffp-product-grid {

    grid-template-columns: 1fr;

  }

  #ffp-product-page .ffp-key-specs {

    grid-template-columns: 1fr;

  }

  /* Hide CTA strip on mobile — mobile bar replaces it */

  #ffp-product-page .ffp-cta-strip {

    display: none !important;

  }

  #ffp-product-page .ffp-atc-wrap .cart {

    flex-direction: column;

  }

  /* Variation dropdown — stack label above select, prevent overflow */

  #ffp-product-page .ffp-atc-wrap table.variations,

  #ffp-product-page .ffp-atc-wrap table.variations tbody,

  #ffp-product-page .ffp-atc-wrap table.variations tr,

  #ffp-product-page .ffp-atc-wrap table.variations td {

    display: block;

    width: 100%;

  }

  #ffp-product-page .ffp-atc-wrap .variations td.label {

    padding-bottom: 4px;

  }

  #ffp-product-page .ffp-atc-wrap .variations td.value {

    padding-bottom: 12px;

  }

  #ffp-product-page .ffp-atc-wrap .variations select {

    max-width: 100%;

    box-sizing: border-box;

  }

  /* Prevent horizontal overflow on product info column */

  #ffp-product-page .ffp-product-hero-grid > *:last-child {

    overflow: hidden;

    min-width: 0;

  }

  /* Bigger Add to Cart on mobile */

  #ffp-product-page .ffp-atc-wrap .single_add_to_cart_button {

    height: 58px;

    font-size: 17px !important;

    letter-spacing: 2px;

    width: 100%;

    min-width: 100%;

    border-radius: 14px !important;

  }

  /* Hide quantity selector on mobile — adjust in cart instead */

  #ffp-product-page .ffp-atc-wrap .quantity {

    display: none;

  }

  /* Trust strip — 2x2 grid on mobile */

  #ffp-product-page .ffp-trust-strip {

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    padding: 16px 12px;

  }

  #ffp-product-page .ffp-trust-item {

    padding: 10px 8px;

    font-size: 11px;

  }

  #ffp-product-page .ffp-trust-icon {

    font-size: 20px;

  }

  #ffp-product-page .ffp-trust-label {

    font-size: 10px;

  }

  #ffp-product-page .ffp-ai-card {

    flex-direction: column;

    gap: 20px;

    text-align: center;

  }

  #ffp-product-page .ffp-ai-left {

    flex-direction: column;

  }

  #ffp-product-page .ffp-section-header h2 {

    font-size: 28px;

  }

  .ffp-mobile-bar {

    display: flex;

  }

  #ffp-product-page {

    padding-bottom: 72px;

  }

  #ffp-product-page .ffp-tab {

    padding: 12px 16px;

    font-size: 11px;

    letter-spacing: 0.5px;

  }

  #ffp-product-page .ffp-gallery-thumbs {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

  }

}

/* ══════════════════════════════════════════════════════════════════════

   TURN 14 VERIFIED STOCK GUARANTEE BADGE

   Premium trust signal for products verified against Turn 14 inventory.

   Shows only for Turn 14-supplied products with confirmed stock.

   ══════════════════════════════════════════════════════════════════════ */

#ffp-product-page .ffp-guarantee-badge {

  position: relative;

  overflow: hidden;

  background: rgba(0, 200, 83, 0.06);

  border: 1px solid rgba(0, 200, 83, 0.18);

  border-radius: 20px;

  padding: 8px 14px;

  margin-top: 12px;

  margin-bottom: 14px;

  cursor: default;

  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

#ffp-product-page .ffp-guarantee-badge:hover {

  border-color: rgba(0, 200, 83, 0.3);

}

/* Shimmer sweep animation */

#ffp-product-page .ffp-guarantee-shimmer {

  display: none;

}

@keyframes ffp-guarantee-shimmer {

  0%   { left: -100%; }

  100% { left: 100%; }

}

/* Content layout */

#ffp-product-page .ffp-guarantee-content {

  position: relative;

  z-index: 1;

  display: flex;

  align-items: center;

  gap: 8px;

}

/* Shield icon container */

#ffp-product-page .ffp-guarantee-icon {

  flex-shrink: 0;

  width: 24px;

  height: 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: transparent;

  border: none;

  border-radius: 50%;

  color: #0a6e30;

  animation: none;

}

@keyframes ffp-guarantee-pulse {

  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.3); }

  50%      { box-shadow: 0 0 0 6px rgba(0, 200, 83, 0); }

}

/* Text block */

#ffp-product-page .ffp-guarantee-text {

  display: flex;

  flex-direction: column;

  gap: 2px;

}

#ffp-product-page .ffp-guarantee-primary {

  font-family: 'Inter', sans-serif;

  font-size: 13px;

  font-weight: 600;

  color: #0a6e30;

  letter-spacing: 0.5px;

  text-transform: uppercase;

}

#ffp-product-page .ffp-guarantee-secondary {

  font-family: 'Inter', sans-serif;

  font-size: 11px;

  font-weight: 500;

  color: #555;

  letter-spacing: 0.3px;

}

/* Badge accent line removed for compact pill */
#ffp-product-page .ffp-guarantee-badge::after {

  display: none;

}

/* Mobile adjustments */

@media (max-width: 640px) {

  #ffp-product-page .ffp-guarantee-badge {

    padding: 6px 12px;

  }

  #ffp-product-page .ffp-guarantee-icon {

    width: 22px;

    height: 22px;

  }

  #ffp-product-page .ffp-guarantee-icon svg {

    width: 18px;

    height: 18px;

  }

  #ffp-product-page .ffp-guarantee-primary {

    font-size: 13px;

  }

  #ffp-product-page .ffp-guarantee-secondary {

    font-size: 11px;

  }

}

