/* ============================================================
   FN Store — Base CSS
   Estilos estruturais compartilhados por todos os temas.
   Variáveis de cor são sobrescritas pelo CSS de cada tema.
   ============================================================ */

/* ── Variáveis padrão (tema aurora como fallback) ──────────── */
:root {
  --fn-primary:     #7C3AED;
  --fn-primary-2:   #6D28D9;
  --fn-accent:      #EC4899;
  --fn-bg:          #FFFFFF;
  --fn-surface:     #F9FAFB;
  --fn-card:        #FFFFFF;
  --fn-border:      #E5E7EB;
  --fn-text:        #111827;
  --fn-sec:         #6B7280;
  --fn-radius:      12px;
  --fn-font:        system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fn-yellow:      #F59E0B;
  --fn-red:         #EF4444;
  --fn-green:       #10B981;
  --fn-header-h:    64px;
}

/* ── Reset mínimo ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fn-font); background: var(--fn-bg); color: var(--fn-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--fn-primary); text-decoration: none; }

/* ── Top banner ────────────────────────────────────────────── */
.fn-top-banner {
  background: var(--fn-primary);
  color: #fff;
  text-align: center;
  padding: 9px 16px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Header ────────────────────────────────────────────────── */
.fn-header {
  background: var(--fn-card);
  border-bottom: 1px solid var(--fn-border);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--fn-header-h);
}
.fn-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.fn-logo { display: flex; align-items: center; flex-shrink: 0; }
.fn-logo-img { height: 40px; width: auto; object-fit: contain; }
.fn-logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--fn-text);
  letter-spacing: -0.03em;
}
.fn-nav {
  display: flex;
  gap: 22px;
  flex: 1;
}
.fn-nav a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fn-sec);
  white-space: nowrap;
  transition: color 0.15s;
}
.fn-nav a:hover { color: var(--fn-text); }
.fn-header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Busca */
.fn-search-form {
  display: flex;
  align-items: center;
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.fn-search-form:focus-within { border-color: var(--fn-primary); }
.fn-search-input {
  border: none;
  background: transparent;
  padding: 9px 14px;
  font-family: var(--fn-font);
  font-size: 0.84rem;
  color: var(--fn-text);
  width: 220px;
  outline: none;
}
.fn-search-input::placeholder { color: var(--fn-sec); }
.fn-search-btn {
  background: transparent;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  color: var(--fn-sec);
  display: flex;
  align-items: center;
}

/* Botão carrinho */
.fn-cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 10px;
  font-family: var(--fn-font);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--fn-text);
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
  white-space: nowrap;
}
.fn-cart-btn:hover { border-color: var(--fn-primary); color: var(--fn-primary); }
.fn-cart-count {
  background: var(--fn-primary);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Layout utilitários ────────────────────────────────────── */
.fn-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}
.fn-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fn-text);
  margin-bottom: 24px;
}
.fn-page-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fn-page-title-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fn-sec);
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 20px;
  padding: 3px 12px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.fn-btn-primary {
  display: inline-block;
  background: var(--fn-primary);
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--fn-radius);
  font-family: var(--fn-font);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.fn-btn-primary:hover { background: var(--fn-primary-2); transform: translateY(-1px); color: #fff; }

/* ── Hero ──────────────────────────────────────────────────── */
.fn-hero {
  background: var(--fn-surface);
  padding: 80px 24px 72px;
  text-align: center;
  border-bottom: 1px solid var(--fn-border);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.fn-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
  z-index: 0;
}
.fn-hero--slim {
  padding: 44px 24px 40px;
}
.fn-hero-content { position: relative; z-index: 1; }

/* Badge animado */
.fn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--fn-primary);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.fn-hero--has-img .fn-hero-badge {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.fn-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fn-green);
  animation: fn-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes fn-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.fn-hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--fn-text);
}
.fn-hero--has-img .fn-hero-title { color: #fff; }
.fn-hero-sub {
  font-size: 1.05rem;
  color: var(--fn-sec);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.fn-hero--has-img .fn-hero-sub { color: rgba(255,255,255,0.85); }
.fn-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Botão ghost */
.fn-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--fn-primary);
  padding: 13px 28px;
  border-radius: var(--fn-radius);
  font-family: var(--fn-font);
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--fn-primary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.fn-btn-ghost:hover { background: var(--fn-primary); color: #fff; }
.fn-hero--has-img .fn-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.fn-hero--has-img .fn-btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* Busca no hero */
.fn-hero-search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fn-hero-search:focus-within {
  border-color: var(--fn-primary);
  box-shadow: 0 4px 32px rgba(124,58,237,0.2);
}
.fn-hero-search-icon {
  margin-left: 18px;
  color: var(--fn-sec);
  flex-shrink: 0;
}
.fn-hero-search-input {
  flex: 1;
  border: none;
  padding: 16px 14px;
  font-family: var(--fn-font);
  font-size: 0.95rem;
  color: var(--fn-text);
  outline: none;
  background: transparent;
}
.fn-hero-search-input::placeholder { color: var(--fn-sec); }
.fn-hero-search-btn {
  margin: 6px;
  padding: 10px 22px;
  background: var(--fn-primary);
  color: #fff;
  border: none;
  border-radius: 11px;
  font-family: var(--fn-font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.fn-hero-search-btn:hover { background: var(--fn-primary-2); }

/* ── Trust bar ─────────────────────────────────────────────── */
.fn-trust-bar {
  background: var(--fn-surface);
  border-bottom: 1px solid var(--fn-border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 24px;
}
.fn-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-right: 1px solid var(--fn-border);
}
.fn-trust-item:last-child { border-right: none; }
.fn-trust-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.fn-trust-text {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--fn-sec);
}
.fn-trust-text strong { color: var(--fn-text); font-weight: 700; display: block; }

/* ── Section header ───────────────────────────────────────── */
.fn-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.fn-section-header--products { margin-bottom: 16px; }
.fn-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--fn-primary);
  transition: gap 0.15s;
}
.fn-section-link:hover { gap: 10px; color: var(--fn-primary-2); }

/* ── Category showcase ─────────────────────────────────────── */
.fn-section--cats { padding-bottom: 8px; }
.fn-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.fn-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px 18px;
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius);
  transition: all 0.2s;
  cursor: pointer;
}
.fn-cat-card:hover {
  border-color: var(--fn-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}
.fn-cat-card-emoji {
  font-size: 1.9rem;
  line-height: 1;
}
.fn-cat-card-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fn-text);
  line-height: 1.3;
}
.fn-cat-card-count {
  font-size: 0.68rem;
  color: var(--fn-sec);
  font-weight: 500;
}

/* ── Filtros / Categorias ──────────────────────────────────── */
.fn-section--filters { padding-top: 24px; padding-bottom: 0; }
.fn-filters-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.fn-cat-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fn-cat-chip {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--fn-border);
  background: var(--fn-card);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fn-sec);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.fn-cat-chip:hover, .fn-cat-chip--active {
  background: var(--fn-primary);
  border-color: var(--fn-primary);
  color: #fff;
}
.fn-sort-wrap { flex-shrink: 0; }
.fn-sort-select {
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: 9px;
  padding: 8px 14px;
  font-family: var(--fn-font);
  font-size: 0.83rem;
  color: var(--fn-text);
  cursor: pointer;
  outline: none;
}

/* ── Grid de produtos ──────────────────────────────────────── */
.fn-section--products { padding-top: 24px; }
.fn-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.fn-product-grid--small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.fn-product-card {
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: var(--fn-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.fn-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
  border-color: var(--fn-primary);
}
.fn-product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--fn-surface);
}
.fn-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.fn-product-card:hover .fn-product-img { transform: scale(1.07); }

/* Overlay de compra rápida */
.fn-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}
.fn-product-img-wrap:hover .fn-card-overlay { opacity: 1; }
.fn-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--fn-text);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: var(--fn-font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}
.fn-overlay-btn:hover { background: var(--fn-primary); color: #fff; transform: scale(1.04); }
.fn-overlay-view {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fn-overlay-view:hover { color: #fff; }
.fn-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.63rem;
  font-weight: 800;
  z-index: 2;
}
.fn-badge--sale  { background: var(--fn-red); color: #fff; }
.fn-badge--soldout { background: #374151; color: #fff; }
.fn-badge--large { top: 12px; left: 12px; padding: 5px 14px; font-size: 0.75rem; }

.fn-product-body { padding: 12px 13px 14px; }
.fn-product-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fn-text);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fn-product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.fn-stars { color: var(--fn-yellow); font-size: 0.72rem; letter-spacing: 1px; }
.fn-stars--lg { font-size: 0.9rem; }
.fn-rating-count { font-size: 0.7rem; color: var(--fn-sec); }
.fn-product-price { margin-bottom: 10px; }
.fn-price-old   { font-size: 0.75rem; color: var(--fn-sec); text-decoration: line-through; display: block; }
.fn-price-current { font-size: 1.05rem; font-weight: 800; color: var(--fn-text); display: block; }
.fn-price-pix { font-size: 0.7rem; color: var(--fn-green); font-weight: 600; }
.fn-add-btn {
  width: 100%;
  padding: 10px;
  background: var(--fn-primary);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: var(--fn-font);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.fn-add-btn:hover { background: var(--fn-primary-2); }
.fn-add-btn--disabled { background: var(--fn-border); color: var(--fn-sec); cursor: not-allowed; }
.fn-add-btn:disabled { background: var(--fn-border); color: var(--fn-sec); cursor: not-allowed; }

/* ── Empty state ───────────────────────────────────────────── */
.fn-empty-state {
  text-align: center;
  padding: 80px 24px;
}
.fn-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.fn-empty-state h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.fn-empty-state p { color: var(--fn-sec); margin-bottom: 24px; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.fn-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--fn-sec);
  flex-wrap: wrap;
}
.fn-breadcrumb a { color: var(--fn-sec); }
.fn-breadcrumb a:hover { color: var(--fn-primary); }
.fn-breadcrumb-current { color: var(--fn-text); font-weight: 600; }

/* ── Página de produto ─────────────────────────────────────── */
.fn-product-page-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.fn-product-gallery {}
.fn-product-main-img-wrap {
  position: relative;
  border-radius: var(--fn-radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--fn-surface);
  margin-bottom: 12px;
}
.fn-product-main-img { width: 100%; height: 100%; object-fit: cover; }
.fn-product-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.fn-product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--fn-border);
  cursor: pointer;
  transition: border-color 0.15s;
}
.fn-product-thumb:hover, .fn-thumb--active { border-color: var(--fn-primary); }

.fn-product-cat-link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fn-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.fn-product-title { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px; }
.fn-product-rating--lg { margin-bottom: 18px; }
.fn-price-block { margin-bottom: 18px; }
.fn-price-old-lg    { font-size: 0.9rem; color: var(--fn-sec); text-decoration: line-through; display: block; margin-bottom: 2px; }
.fn-price-current-lg { font-size: 2rem; font-weight: 900; color: var(--fn-text); display: block; line-height: 1; margin-bottom: 6px; }
.fn-price-pix-lg { font-size: 0.85rem; color: var(--fn-green); font-weight: 600; margin-bottom: 4px; }
.fn-pix-note { opacity: 0.7; }
.fn-installment { font-size: 0.82rem; color: var(--fn-sec); }
.fn-product-short-desc { font-size: 0.9rem; color: var(--fn-sec); line-height: 1.7; margin-bottom: 16px; }
.fn-stock-badge { font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; display: inline-block; margin-bottom: 18px; }
.fn-stock-badge--in  { background: rgba(16,185,129,0.1); color: var(--fn-green); }
.fn-stock-badge--out { background: rgba(239,68,68,0.1); color: var(--fn-red); }
.fn-buy-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: center; }
.fn-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--fn-border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.fn-qty-btn {
  background: var(--fn-surface);
  border: none;
  width: 38px;
  height: 44px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fn-text);
  cursor: pointer;
  transition: background 0.15s;
}
.fn-qty-btn:hover { background: var(--fn-border); }
.fn-qty-btn--sm { width: 30px; height: 34px; font-size: 1rem; }
.fn-qty-input {
  width: 48px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--fn-border);
  border-right: 1px solid var(--fn-border);
  background: var(--fn-card);
  font-family: var(--fn-font);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fn-text);
  height: 44px;
  outline: none;
}
.fn-qty-val { padding: 0 14px; font-weight: 700; }
.fn-add-to-cart-btn {
  flex: 1;
  padding: 13px 24px;
  background: var(--fn-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--fn-font);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.fn-add-to-cart-btn:hover { background: var(--fn-primary-2); }
.fn-add-to-cart-btn--disabled { background: var(--fn-border); color: var(--fn-sec); cursor: not-allowed; }
.fn-buy-now-btn {
  display: block;
  width: 100%;
  padding: 13px;
  text-align: center;
  border: 2px solid var(--fn-primary);
  color: var(--fn-primary);
  border-radius: 10px;
  font-family: var(--fn-font);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  transition: all 0.2s;
}
.fn-buy-now-btn:hover { background: var(--fn-primary); color: #fff; }
.fn-product-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-trust-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fn-sec);
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 20px;
  padding: 5px 12px;
  white-space: nowrap;
}

/* Tabs de produto */
.fn-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--fn-border); margin-bottom: 20px; }
.fn-tab {
  padding: 10px 22px;
  background: transparent;
  border: none;
  font-family: var(--fn-font);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--fn-sec);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}
.fn-tab--active { color: var(--fn-primary); border-bottom-color: var(--fn-primary); }
.fn-tab-content { font-size: 0.9rem; line-height: 1.8; color: var(--fn-sec); }
.fn-info-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.fn-info-table th, .fn-info-table td { padding: 10px 14px; border-bottom: 1px solid var(--fn-border); text-align: left; }
.fn-info-table th { color: var(--fn-sec); font-weight: 600; width: 35%; }

/* ── Carrinho ──────────────────────────────────────────────── */
.fn-free-bar {
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--fn-radius);
  padding: 13px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fn-text);
  margin-bottom: 24px;
}
.fn-free-bar--reached { background: rgba(16,185,129,0.12); }
.fn-free-bar-track {
  height: 5px;
  background: var(--fn-border);
  border-radius: 99px;
  margin-top: 8px;
  overflow: hidden;
}
.fn-free-bar-fill {
  height: 100%;
  background: var(--fn-green);
  border-radius: 99px;
  transition: width 0.4s ease;
}
.fn-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.fn-cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--fn-border);
  align-items: center;
}
.fn-cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--fn-border);
  flex-shrink: 0;
}
.fn-cart-item-body { flex: 1; min-width: 0; }
.fn-cart-item-name { font-size: 0.9rem; font-weight: 700; color: var(--fn-text); display: block; margin-bottom: 4px; }
.fn-cart-item-unit { font-size: 0.76rem; color: var(--fn-sec); margin-bottom: 8px; }
.fn-cart-item-qty { display: flex; align-items: center; gap: 10px; }
.fn-cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.fn-cart-item-total { font-size: 1rem; font-weight: 800; color: var(--fn-text); }
.fn-cart-item-remove {
  background: none;
  border: none;
  font-size: 0.85rem;
  color: var(--fn-sec);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
}
.fn-cart-item-remove:hover { color: var(--fn-red); background: rgba(239,68,68,0.08); }
.fn-cart-summary {
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--fn-header-h) + 16px);
}
.fn-summary-title { font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.fn-summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--fn-sec); margin-bottom: 10px; }
.fn-summary-row--total { font-size: 1rem; font-weight: 800; color: var(--fn-text); }
.fn-summary-divider { border: none; border-top: 1px solid var(--fn-border); margin: 12px 0; }
.fn-summary-pix { font-size: 0.78rem; color: var(--fn-green); font-weight: 600; margin-bottom: 16px; }
.fn-free-tag { color: var(--fn-green); font-weight: 700; }
.fn-checkout-cta {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--fn-primary);
  color: #fff;
  border-radius: 12px;
  font-family: var(--fn-font);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: all 0.2s;
}
.fn-checkout-cta:hover { background: var(--fn-primary-2); color: #fff; }
.fn-continue-shopping { display: block; text-align: center; font-size: 0.82rem; color: var(--fn-sec); margin-bottom: 16px; }
.fn-continue-shopping:hover { color: var(--fn-primary); }
.fn-pay-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.fn-pay-icons--cart { justify-content: center; }
.fn-pay-icon {
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--fn-sec);
}

/* ── Checkout ──────────────────────────────────────────────── */
.fn-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.fn-checkout-section { margin-bottom: 32px; }
.fn-checkout-section-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fn-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fn-border);
}
/* WooCommerce fields override */
.fn-wc-form .form-row { margin-bottom: 14px; }
.fn-wc-form .form-row label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--fn-sec); margin-bottom: 5px; }
.fn-wc-form .form-row input,
.fn-wc-form .form-row select,
.fn-wc-form .form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--fn-border);
  border-radius: 9px;
  background: var(--fn-card);
  font-family: var(--fn-font);
  font-size: 0.88rem;
  color: var(--fn-text);
  outline: none;
  transition: border-color 0.15s;
}
.fn-wc-form .form-row input:focus,
.fn-wc-form .form-row select:focus,
.fn-wc-form .form-row textarea:focus { border-color: var(--fn-primary); }
.fn-order-summary {
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: calc(var(--fn-header-h) + 16px);
}
.fn-order-items { margin-bottom: 16px; }
.fn-order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fn-border);
}
.fn-order-item:last-child { border-bottom: none; }
.fn-order-item-img-wrap { position: relative; flex-shrink: 0; }
.fn-order-item-img {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--fn-border);
}
.fn-order-item-img--sm { width: 48px; height: 48px; }
.fn-order-item-qty-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--fn-primary);
  color: #fff;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.fn-order-item-body { flex: 1; }
.fn-order-item-name { font-size: 0.83rem; font-weight: 700; color: var(--fn-text); line-height: 1.4; }
.fn-order-item-qty-label { font-size: 0.72rem; color: var(--fn-sec); margin-top: 2px; }
.fn-order-item-price { font-size: 0.88rem; font-weight: 700; color: var(--fn-text); flex-shrink: 0; }
.fn-checkout-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fn-sec);
  margin-top: 16px;
  background: var(--fn-surface);
  border-radius: 9px;
  padding: 9px 12px;
}

/* ── Obrigado ──────────────────────────────────────────────── */
.fn-thankyou-page { max-width: 700px; margin-left: auto; margin-right: auto; }
.fn-thankyou-card {
  background: var(--fn-card);
  border: 1px solid var(--fn-border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}
.fn-thankyou-icon { font-size: 3rem; margin-bottom: 16px; }
.fn-thankyou-title { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 10px; }
.fn-thankyou-subtitle { font-size: 0.95rem; color: var(--fn-sec); margin-bottom: 28px; }
.fn-order-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; text-align: left; }
.fn-order-meta-item {
  background: var(--fn-surface);
  border: 1px solid var(--fn-border);
  border-radius: 10px;
  padding: 12px 16px;
}
.fn-order-meta-label { display: block; font-size: 0.72rem; color: var(--fn-sec); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.fn-order-meta-value { font-size: 0.9rem; font-weight: 800; color: var(--fn-text); }
.fn-order-items-list { margin-bottom: 20px; }
.fn-order-item-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fn-border); text-align: left; }
.fn-order-item-row > div:first-of-type { flex: 1; }
.fn-thankyou-email-note { font-size: 0.82rem; color: var(--fn-sec); margin: 16px 0 24px; }

/* ── Minha conta ───────────────────────────────────────────── */
.fn-account-wrap { max-width: 900px; }
.fn-account-wrap .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; padding: 0; }
.fn-account-wrap .woocommerce-MyAccount-navigation ul li a { padding: 8px 18px; border-radius: 20px; border: 1px solid var(--fn-border); background: var(--fn-card); font-size: 0.82rem; font-weight: 600; color: var(--fn-sec); }
.fn-account-wrap .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--fn-primary); border-color: var(--fn-primary); color: #fff; }

/* ── Footer ────────────────────────────────────────────────── */
.fn-footer {
  background: var(--fn-surface);
  border-top: 1px solid var(--fn-border);
  padding: 48px 24px 20px;
  margin-top: 40px;
}
.fn-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.fn-footer-logo { font-size: 1.2rem; font-weight: 900; color: var(--fn-text); display: block; margin-bottom: 12px; letter-spacing: -0.03em; }
.fn-footer-desc { font-size: 0.82rem; color: var(--fn-sec); line-height: 1.7; margin-bottom: 0; }
.fn-footer-col h4 { font-size: 0.75rem; font-weight: 800; color: var(--fn-text); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.fn-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fn-footer-col ul li a { font-size: 0.82rem; color: var(--fn-sec); transition: color 0.15s; }
.fn-footer-col ul li a:hover { color: var(--fn-primary); }
.fn-ssl-note { font-size: 0.74rem; color: var(--fn-sec); margin-top: 12px; }
.fn-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--fn-border);
  padding-top: 20px;
  font-size: 0.77rem;
  color: var(--fn-sec);
}

/* ── Toast ─────────────────────────────────────────────────── */
.fn-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #111827;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}
.fn-toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.fn-toast--success { background: #065F46; }
.fn-toast--error   { background: #7F1D1D; }

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fn-product-page-inner { grid-template-columns: 1fr; }
  .fn-cart-layout { grid-template-columns: 1fr; }
  .fn-checkout-layout { grid-template-columns: 1fr; }
  .fn-order-summary { position: static; }
  .fn-cart-summary { position: static; }
  .fn-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .fn-nav { display: none; }
  .fn-search-input { width: 160px; }
  .fn-cart-label { display: none; }
  .fn-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fn-hero { padding: 48px 20px 40px; }
  .fn-trust-bar { display: none; }
  .fn-footer-inner { grid-template-columns: 1fr; }
  .fn-order-meta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .fn-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fn-cart-item-img { width: 60px; height: 60px; }
  .fn-header-inner { padding: 0 16px; gap: 10px; }
  .fn-section { padding: 24px 16px; }
}
