/*
Theme Name: Gráfica Boa Vista
Theme URI: https://graficaboavista.com.br
Author: Gráfica Boa Vista
Author URI: https://graficaboavista.com.br
Description: Tema moderno e profissional da Gráfica Boa Vista — Curitiba/PR. Máquina de vendas: hero impactante, catálogo de produtos, editor online e CTA de WhatsApp. Mais de 26 anos no mercado gráfico.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: futura-grafica
Tags: business, e-commerce, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --fg-bg: #0a0a0f;
  --fg-bg-alt: #12121a;
  --fg-bg-light: #ffffff;
  --fg-surface: #1a1a24;
  --fg-surface-2: #22222e;
  --fg-border: #2a2a38;
  --fg-text: #ffffff;
  --fg-text-muted: #a0a0b0;
  --fg-text-dark: #1a1a24;
  --fg-text-dark-muted: #6b6b7b;
  --fg-purple: #8b5cf6;
  --fg-purple-light: #a78bfa;
  --fg-purple-dark: #7c3aed;
  --fg-blue: #60a5fa;
  --fg-pink: #ec4899;
  --fg-accent: #c4b5fd;
  --fg-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #60a5fa 100%);
  --fg-gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --fg-gradient-soft: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --fg-radius: 12px;
  --fg-radius-lg: 20px;
  --fg-radius-full: 999px;
  --fg-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
  --fg-shadow-lg: 0 20px 60px rgba(139, 92, 246, 0.3);
  --fg-container: 1280px;
  --fg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fg-font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --fg-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fg-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-text);
  background: var(--fg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--fg-transition); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--fg-font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }

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

.fg-gradient-text {
  background: var(--fg-gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.fg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--fg-radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all var(--fg-transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}

.fg-btn--primary {
  background: var(--fg-gradient-purple);
  color: #fff;
  box-shadow: var(--fg-shadow);
}
.fg-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--fg-shadow-lg);
}

.fg-btn--secondary {
  background: transparent;
  color: var(--fg-text);
  border-color: rgba(255, 255, 255, 0.2);
}
.fg-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.fg-btn--light {
  background: #fff;
  color: var(--fg-text-dark);
}
.fg-btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.fg-btn--whatsapp {
  background: #25D366;
  color: #fff;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fg-btn--whatsapp:hover {
  background: #1faa51;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}
.fg-btn--whatsapp svg { flex-shrink: 0; }

.fg-btn--block { width: 100%; }
.fg-btn--cta-footer {
  background: #fff;
  color: var(--fg-text-dark);
  padding: 16px 32px;
  font-size: 15px;
}
.fg-btn--cta-footer:hover { background: #f5f5f5; transform: translateY(-2px); }

.fg-btn__icon {
  width: 14px;
  height: 14px;
  transition: transform var(--fg-transition);
}
.fg-btn:hover .fg-btn__icon { transform: translate(2px, -2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.fg-header {
  position: relative;
  z-index: 100;
}

/* Wrapper sticky cobre 100% da viewport e fica fixo no topo */
.fg-header__sticky {
  position: sticky;
  top: 0;
  z-index: 101;
  width: 100%;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--fg-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

/* ===== Header 2 linhas: (1) logo + menu + ícones · (2) pill + busca ===== */
.fg-header__inner { display: none !important; }

.fg-header__top {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 14px 0 !important;
  flex-wrap: nowrap;
}

.fg-header__top .fg-logo { flex-shrink: 0; }

/* Menu na linha 1 — cresce pra ocupar espaço entre logo e ícones */
.fg-header__top .fg-nav {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  overflow-x: auto;
}
.fg-header__top .fg-nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: center;
}

/* Linha 2: pill "Qual material deseja?" + barra de busca centralizada */
.fg-header__searchbar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 28px 0 22px !important;
  border-top: 1px solid var(--fg-border);
  width: 100%;
  text-align: center;
}
.fg-header__searchbar-label {
  display: inline-block !important;
  align-self: center !important;
  background: var(--fg-gradient-purple) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 8px 22px !important;
  border-radius: 999px !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35) !important;
  margin: -28px auto 0 !important;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* Busca central — GRANDE, centralizada horizontalmente, ocupa quase tudo */
.fg-header__search {
  width: 100% !important;
  max-width: 880px !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 auto !important;
  align-self: center !important;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 999px !important;
  transition: all var(--fg-transition);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28) !important;
  overflow: visible;
}
.fg-header__search input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 18px 26px !important;
  color: #1a1a24 !important;
  font-size: 16px !important;
  font-family: inherit !important;
  font-weight: 500;
}
.fg-header__search input::placeholder { color: #6b6b7b !important; }
.fg-header__search:focus-within {
  background: #fff !important;
  border-color: var(--fg-purple-light) !important;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25), 0 8px 28px rgba(0, 0, 0, 0.28) !important;
}
.fg-header__search button {
  background: var(--fg-gradient-purple);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s;
}
.fg-header__search button:hover { transform: scale(1.05); }
.fg-header__search button svg { width: 20px; height: 20px; }

/* Resultados da busca (dropdown) */
.fg-header__search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #1a1a24;
  border: 1px solid var(--fg-border);
  border-radius: 12px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: none;
}
.fg-header__search-results.is-open { display: block; }
.fg-header__search-results a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  border-bottom: 1px solid var(--fg-border);
  font-size: 13px;
}
.fg-header__search-results a:last-child { border: none; }
.fg-header__search-results a:hover { background: rgba(139, 92, 246, 0.12); }
.fg-header__search-results .name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 12px; }
.fg-header__search-results .price { color: var(--fg-purple-light); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.fg-header__search-results .empty { padding: 16px; text-align: center; color: var(--fg-text-muted); font-size: 13px; }

/* Menu items na linha 1 */
.fg-header .fg-nav-list > li > a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--fg-text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--fg-transition);
}
.fg-header .fg-nav-list > li > a:hover {
  background: rgba(139, 92, 246, 0.12);
  color: var(--fg-purple-light);
}
/* Scrollbar fino quando overflow */
.fg-header .fg-nav::-webkit-scrollbar { height: 4px; }
.fg-header .fg-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Responsive: tablet (1080px) — menu vai pra segunda linha junto com busca */
@media (max-width: 1080px) and (min-width: 721px) {
  .fg-header__top {
    flex-wrap: wrap !important;
  }
  .fg-header__top .fg-nav {
    order: 3;
    flex-basis: 100%;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--fg-border);
  }
  .fg-header__top .fg-nav-list {
    justify-content: flex-start;
  }
}
/* Mobile (<720px) — esconde o menu de navegação totalmente */
@media (max-width: 720px) {
  .fg-header__top .fg-nav,
  .fg-header__top .fg-menu-toggle {
    display: none !important;
  }
  .fg-header__top {
    padding: 10px 0 !important;
    gap: 12px !important;
  }
  .fg-logo__text { display: none; }
}
@media (max-width: 600px) {
  .fg-header__searchbar-label { font-size: 12px; padding: 5px 14px; }
  .fg-header__search input { padding: 12px 18px; font-size: 14px; }
  .fg-header__searchbar { padding: 18px 0 18px !important; }
}

.fg-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.fg-logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--fg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  font-family: var(--fg-font-display);
}

.fg-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.fg-logo__text strong {
  font-family: var(--fg-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.fg-logo__text span {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-text-muted);
  margin-top: 3px;
}

/* .fg-nav agora é controlado por .fg-header .fg-nav (linha ~271) */
.fg-nav a {
  color: var(--fg-text);
  transition: color var(--fg-transition);
}
.fg-nav a:hover { color: var(--fg-purple-light); }
.fg-nav .current-menu-item > a,
.fg-nav .current_page_item > a { color: var(--fg-purple-light); }

.fg-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.fg-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-text);
  transition: all var(--fg-transition);
  position: relative;
}
.fg-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-purple-light);
}
.fg-icon-btn svg { width: 20px; height: 20px; }

.fg-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--fg-gradient);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fg-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--fg-text);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.fg-hero {
  position: relative;
  background: var(--fg-bg);
  padding: 80px 0 100px;
  overflow: hidden;
}

.fg-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.fg-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.fg-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 1;
}

.fg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--fg-radius-full);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-accent);
  margin-bottom: 28px;
}
.fg-badge::before { content: '+'; font-weight: 700; color: var(--fg-purple-light); }

.fg-hero__title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.fg-hero__description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-text-muted);
  max-width: 440px;
  margin-bottom: 40px;
}

.fg-hero__actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.fg-hero__features {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.fg-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fg-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--fg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-purple-light);
  flex-shrink: 0;
}
.fg-feature__icon svg { width: 20px; height: 20px; }
.fg-feature__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-text-muted);
  line-height: 1.3;
}
.fg-feature__text strong {
  display: block;
  color: var(--fg-text);
  font-weight: 600;
}

/* Hero visual */
.fg-hero__visual {
  position: relative;
  height: auto;
  min-height: 560px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Imagem real do mockup (embalagem + cartões) — substitui os divs CSS antigos */
.fg-hero__image {
  width: 115%;
  max-width: 1100px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(139, 92, 246, 0.3)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45));
  animation: fg-hero-float 6s ease-in-out infinite;
  transform-origin: center;
  /* Força GPU acceleration pra evitar bug de repaint no zoom */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* Elimina fringe branco na borda do alpha */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
@keyframes fg-hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(-0.5deg); }
}
@media (max-width: 1200px) {
  .fg-hero__image { max-width: 920px; width: 110%; }
}
@media (max-width: 900px) {
  .fg-hero__image { max-width: 720px; width: 100%; }
}
@media (max-width: 560px) {
  .fg-hero__image { max-width: 500px; }
}

.fg-mockup {
  position: absolute;
  border-radius: var(--fg-radius);
  transition: transform var(--fg-transition);
}

.fg-mockup--bag {
  width: 60%;
  height: 88%;
  top: 0;
  right: 10%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(139, 92, 246, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(236, 72, 153, 0.5) 0%, transparent 60%),
    linear-gradient(160deg, #1a1a24 0%, #0a0a0f 100%);
  border-radius: 20px 20px 8px 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 100px rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.fg-mockup--bag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 24px;
  background: #0a0a0f;
  border-radius: 0 0 100px 100px / 0 0 20px 20px;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.5);
}
.fg-mockup--bag__label {
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 32px;
  line-height: 0.95;
  color: #fff;
  text-align: left;
  letter-spacing: -0.02em;
  align-self: flex-start;
  margin-top: 80px;
}

.fg-mockup--card-dark {
  width: 42%;
  height: 26%;
  bottom: 8%;
  left: 5%;
  background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-4deg);
}
.fg-mockup--card-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 40%, rgba(139, 92, 246, 0.1) 100%);
  pointer-events: none;
}
.fg-mockup--card-dark .fg-mockup__title {
  font-family: var(--fg-font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #fff;
}
.fg-mockup--card-dark .fg-mockup__brand {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--fg-text-muted);
  font-weight: 700;
}

.fg-mockup--card-light {
  width: 36%;
  height: 22%;
  bottom: 4%;
  right: 5%;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: rotate(3deg);
}
.fg-mockup--card-light .fg-mockup__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  font-family: var(--fg-font-display);
}
.fg-mockup--card-light .fg-mockup__brand {
  font-family: var(--fg-font-display);
  font-weight: 800;
  font-size: 11px;
  color: var(--fg-text-dark);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
}
.fg-mockup--card-light .fg-mockup__brand span {
  display: block;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--fg-text-dark-muted);
  font-weight: 600;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.fg-stats {
  background: var(--fg-bg);
  border-top: 1px solid var(--fg-border);
  padding: 48px 0;
}

.fg-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.fg-stat {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.fg-stat + .fg-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--fg-border);
}

.fg-stat__value {
  font-family: var(--fg-font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--fg-purple-light);
  line-height: 1;
  margin-bottom: 8px;
}
.fg-stat__label {
  font-size: 14px;
  color: var(--fg-text-muted);
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.fg-products {
  background: #fff;
  color: var(--fg-text-dark);
  padding: 90px 0;
}

.fg-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--fg-radius-full);
  background: rgba(139, 92, 246, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-purple-dark);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.fg-section-badge::before { content: '+'; font-weight: 700; }

.fg-products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.fg-products__heading { flex: 1; min-width: 280px; }
.fg-products__title {
  font-size: clamp(30px, 3vw, 42px);
  color: var(--fg-text-dark);
  margin-bottom: 12px;
}
.fg-products__description {
  font-size: 15px;
  color: var(--fg-text-dark-muted);
  max-width: 480px;
}

.fg-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg-purple-dark);
  letter-spacing: 0.05em;
  transition: gap var(--fg-transition);
}
.fg-link-arrow:hover { gap: 12px; }
.fg-link-arrow svg { width: 14px; height: 14px; }

.fg-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fg-product-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--fg-radius-lg);
  overflow: hidden;
  transition: all var(--fg-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.fg-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: var(--fg-purple-light);
}

.fg-product-card__image {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fg-product-card__arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-text-dark);
  z-index: 2;
  transition: all var(--fg-transition);
}
.fg-product-card__arrow svg { width: 14px; height: 14px; }
.fg-product-card:hover .fg-product-card__arrow {
  background: var(--fg-purple-dark);
  color: #fff;
  transform: rotate(-45deg);
}

.fg-product-card__body {
  padding: 20px;
}
.fg-product-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.fg-product-card__price {
  font-size: 14px;
  color: var(--fg-text-dark-muted);
}
.fg-product-card__price strong {
  color: var(--fg-purple-dark);
  font-weight: 700;
}

/* Product image styles */
.fg-pimg { width: 100%; height: 100%; position: relative; }

/* Cartão de Visita */
.fg-pimg--cards {
  background: linear-gradient(135deg, #1a1a24 0%, #2a2a38 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fg-pimg--cards .card {
  position: absolute;
  width: 55%;
  height: 36%;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.fg-pimg--cards .card:nth-child(1) { transform: translate(-20%, -15%) rotate(-8deg); }
.fg-pimg--cards .card:nth-child(2) { transform: translate(10%, 10%) rotate(5deg); }
.fg-pimg--cards .card:nth-child(1)::after,
.fg-pimg--cards .card:nth-child(2)::after {
  content: 'G';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 28px;
  background: var(--fg-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Flyer */
.fg-pimg--flyer {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #db2777 100%);
  padding: 18%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.fg-pimg--flyer .flyer {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(96, 165, 250, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #4c1d95 0%, #1e1b4b 60%, #7c3aed 100%);
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}
.fg-pimg--flyer .flyer__title {
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.02em;
}
.fg-pimg--flyer .flyer__title em { font-style: italic; color: #a78bfa; }

/* Embalagens */
.fg-pimg--box {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14%;
}
.fg-pimg--box .box {
  width: 70%;
  height: 70%;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(236, 72, 153, 0.5) 0%, transparent 60%),
    linear-gradient(135deg, #7c3aed 0%, #4c1d95 50%, #1e1b4b 100%);
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  position: relative;
}
.fg-pimg--box .box__label {
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 0.95;
  color: #fff;
}

/* Catálogos */
.fg-pimg--catalog {
  background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14%;
}
.fg-pimg--catalog .book {
  width: 60%;
  height: 82%;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
  border-radius: 3px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), inset -4px 0 8px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fg-pimg--catalog .book::after {
  content: 'G';
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   PERSONALIZE SECTION
   ========================================================================== */
.fg-personalize {
  background: #fff;
  padding: 0 0 90px;
}
.fg-personalize__wrap {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a24 100%);
  border-radius: var(--fg-radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.fg-personalize__wrap::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.fg-personalize__content { position: relative; z-index: 1; }
.fg-personalize__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--fg-radius-full);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.fg-personalize__badge::before { content: '+'; font-weight: 700; }

.fg-personalize__title {
  font-size: clamp(28px, 2.8vw, 38px);
  color: #fff;
  margin-bottom: 20px;
}
.fg-personalize__description {
  font-size: 15px;
  color: var(--fg-text-muted);
  margin-bottom: 32px;
  max-width: 360px;
}

/* Editor mockup */
.fg-editor {
  background: #1a1a24;
  border-radius: var(--fg-radius);
  border: 1px solid var(--fg-border);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 80px 1fr;
  height: 380px;
  position: relative;
  z-index: 1;
}

.fg-editor__sidebar {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--fg-border);
}

.fg-editor__tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  color: var(--fg-text-muted);
  font-size: 10px;
  transition: all var(--fg-transition);
  cursor: pointer;
}
.fg-editor__tool:hover, .fg-editor__tool.is-active {
  color: var(--fg-purple-light);
  background: rgba(139, 92, 246, 0.08);
}
.fg-editor__tool svg { width: 18px; height: 18px; }

.fg-editor__main { display: flex; flex-direction: column; }

.fg-editor__toolbar {
  height: 50px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fg-border);
  background: rgba(0, 0, 0, 0.2);
}
.fg-editor__toolbar-left, .fg-editor__toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fg-editor__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-text-muted);
  transition: all var(--fg-transition);
}
.fg-editor__icon-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.fg-editor__icon-btn svg { width: 16px; height: 16px; }

.fg-editor__btn-preview {
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-text-muted);
  padding: 8px 14px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.fg-editor__btn-finish {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--fg-gradient-purple);
  letter-spacing: 0.05em;
}

.fg-editor__canvas {
  flex: 1;
  background:
    linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    #0a0a0f;
  background-size: 30px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fg-editor__design {
  width: 72%;
  max-width: 440px;
  aspect-ratio: 1.75 / 1;
  background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
  border-radius: 8px;
  border: 2px solid var(--fg-purple);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15), 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 24px;
}
.fg-editor__design::before,
.fg-editor__design::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid var(--fg-purple);
  border-radius: 2px;
}
.fg-editor__design::before { top: -6px; left: -6px; }
.fg-editor__design::after { bottom: -6px; right: -6px; }

.fg-editor__g {
  font-family: var(--fg-font-display);
  font-weight: 900;
  font-size: 72px;
  background: var(--fg-gradient-soft);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.fg-editor__design-text {
  font-family: var(--fg-font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.fg-editor__cursor {
  position: absolute;
  bottom: 30%;
  right: 12%;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.fg-editor__cursor svg { width: 18px; height: 18px; }

/* ==========================================================================
   BRANDS
   ========================================================================== */
.fg-brands {
  background: #fff;
  padding: 30px 0 80px;
}
.fg-brands__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}

.fg-brands__title {
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--fg-text-dark);
  line-height: 1.2;
}

.fg-brands__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}

.fg-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--fg-text-dark-muted);
  font-family: var(--fg-font-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
  transition: opacity var(--fg-transition);
}
.fg-brand:hover { opacity: 1; }
.fg-brand__icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fg-brand--smart .fg-brand__lines { display: flex; flex-direction: column; }
.fg-brand--smart span { display: block; font-size: 13px; line-height: 1; }

.fg-brand--cafe { flex-direction: column; gap: 2px; font-size: 11px; }
.fg-brand--cafe .bottom { font-family: Georgia, serif; font-weight: 400; font-style: italic; font-size: 18px; letter-spacing: 0.02em; text-transform: lowercase; }

.fg-brand--fit { font-size: 22px; letter-spacing: 0.1em; }
.fg-brand--fit small { font-size: 9px; font-weight: 600; letter-spacing: 0.3em; display: block; }

.fg-brand--studio { flex-direction: column; gap: 2px; font-size: 13px; }
.fg-brand--studio small { font-size: 10px; letter-spacing: 0.2em; font-weight: 500; }

.fg-brand--vision { flex-direction: column; gap: 2px; }
.fg-brand--vision .main { font-size: 18px; }
.fg-brand--vision small { font-size: 9px; letter-spacing: 0.3em; }

/* ==========================================================================
   CTA
   ========================================================================== */
.fg-cta {
  background: var(--fg-gradient);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}
.fg-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.fg-cta__inner {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr auto auto;
  align-items: center;
  gap: 40px;
  position: relative;
}

.fg-cta__title {
  font-size: clamp(20px, 1.8vw, 28px);
  color: #fff;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.fg-cta__description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.fg-cta__visual {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: flex-end;
}
.fg-cta__cup {
  width: 60px;
  height: 90px;
  background: linear-gradient(180deg, #1a1a24 0%, #0a0a0f 100%);
  border-radius: 8px 8px 30px 30px / 8px 8px 14px 14px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.fg-cta__cup::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 4px;
  right: 4px;
  height: 12px;
  background: #fff;
  border-radius: 6px 6px 2px 2px;
}
.fg-cta__bag {
  width: 95px;
  height: 110px;
  background: linear-gradient(160deg, #1a1a24 0%, #0a0a0f 100%);
  border-radius: 4px 4px 2px 2px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}
.fg-cta__bag::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 18%;
  right: 18%;
  height: 16px;
  background: transparent;
  border: 2px solid #1a1a24;
  border-radius: 40px 40px 0 0 / 20px 20px 0 0;
  border-bottom: none;
}
.fg-cta__bag-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  font-family: var(--fg-font-display);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.fg-footer {
  background: var(--fg-bg);
  color: var(--fg-text);
  padding: 70px 0 30px;
}

.fg-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--fg-border);
}

.fg-footer__about p {
  font-size: 14px;
  color: var(--fg-text-muted);
  margin-top: 20px;
  max-width: 340px;
  line-height: 1.6;
}

.fg-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.fg-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--fg-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-text-muted);
  transition: all var(--fg-transition);
}
.fg-footer__social a:hover {
  background: var(--fg-gradient-purple);
  color: #fff;
  border-color: transparent;
}
.fg-footer__social svg { width: 16px; height: 16px; }

.fg-footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fg-footer__links li { margin-bottom: 10px; }
.fg-footer__links a {
  font-size: 14px;
  color: var(--fg-text-muted);
}
.fg-footer__links a:hover { color: var(--fg-purple-light); }

.fg-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-text-muted);
}

/* ==========================================================================
   PAGE CONTENT (non-home pages)
   ========================================================================== */
.fg-page {
  background: #fff;
  color: var(--fg-text-dark);
  padding: 60px 0 90px;
  min-height: 60vh;
}
.fg-page__header {
  text-align: center;
  margin-bottom: 48px;
}
.fg-page__title {
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--fg-text-dark);
  margin-bottom: 12px;
}
.fg-page__content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-text-dark-muted);
}
.fg-page__content h2, .fg-page__content h3 { color: var(--fg-text-dark); margin: 32px 0 16px; }
.fg-page__content a { color: var(--fg-purple-dark); font-weight: 500; }
.fg-page__content p { margin-bottom: 18px; }

/* Páginas Sobre/Contato usam layout full-width — sobrescreve o template padrão */
.fg-page:has(.fg-page-sobre),
.fg-page:has(.fg-page-contato) {
  background: var(--fg-bg) !important;
  padding: 0 !important;
  color: var(--fg-text) !important;
}
.fg-page:has(.fg-page-sobre) .fg-page__header,
.fg-page:has(.fg-page-contato) .fg-page__header {
  display: none !important;
}
.fg-page:has(.fg-page-sobre) .fg-page__content,
.fg-page:has(.fg-page-contato) .fg-page__content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fg-text) !important;
  background: transparent !important;
}
.fg-page:has(.fg-page-sobre) .fg-page__content p,
.fg-page:has(.fg-page-contato) .fg-page__content p {
  margin-bottom: 0;
}
.fg-page:has(.fg-page-sobre) .fg-page__content h2,
.fg-page:has(.fg-page-sobre) .fg-page__content h3,
.fg-page:has(.fg-page-contato) .fg-page__content h2,
.fg-page:has(.fg-page-contato) .fg-page__content h3 {
  color: inherit;
  margin: 0;
}
.fg-page:has(.fg-page-sobre) .fg-page__content a,
.fg-page:has(.fg-page-contato) .fg-page__content a {
  color: inherit;
}

/* ============================================================================
   SHOP (/loja/) — grid de categorias estilo Printi
   ============================================================================ */
.fg-shop {
    padding: 60px 0 90px !important;
    background: var(--fg-bg) !important;
    color: #ffffff !important;
}
.fg-shop * { color: inherit; }
.fg-shop__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.fg-shop__header .fg-section-badge { margin-bottom: 14px; }
.fg-shop__title {
    font-size: clamp(32px, 4vw, 52px) !important;
    margin: 0 0 14px !important;
    font-family: var(--fg-font-display) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}
.fg-shop__subtitle {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Barra de busca central */
.fg-shop__search {
    max-width: 720px;
    margin: 0 auto 44px;
}
.fg-shop__search form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 999px;
    padding: 8px 8px 8px 22px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.fg-shop__search svg { color: #7c3aed; flex-shrink: 0; }
.fg-shop__search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 0;
    font-size: 15px;
    color: #1a1a24;
    font-family: inherit;
    min-width: 0;
}
.fg-shop__search input::placeholder { color: #6b6b7b; }
.fg-shop__search button {
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-size: 13px !important;
    flex-shrink: 0;
}

/* Grid de categorias — 5 colunas desktop, 3 tablet, 2 mobile */
.fg-shop__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 56px;
}
.fg-shop__cat {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--fg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--fg-text);
    transition: all 0.25s ease;
}
.fg-shop__cat:hover {
    transform: translateY(-5px);
    border-color: var(--fg-purple-light);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}
.fg-shop__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--fg-gradient-purple);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}
.fg-shop__cat-img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.fg-shop__cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.fg-shop__cat:hover .fg-shop__cat-img img { transform: scale(1.08); }
.fg-shop__cat-placeholder {
    width: 60%;
    color: var(--fg-purple-light);
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fg-shop__cat-placeholder svg { width: 100%; height: auto; }
.fg-shop__cat-body {
    padding: 16px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    position: relative;
    background: var(--fg-surface) !important;
}
.fg-shop__cat-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}
.fg-shop__cat-count {
    font-size: 12px !important;
    color: #a78bfa !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
}
.fg-shop__cat-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-purple-light);
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s;
    opacity: 0;
}
.fg-shop__cat:hover .fg-shop__cat-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(3px);
}

/* CTA final */
.fg-shop__cta {
    text-align: center;
    padding: 40px 20px !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.06)) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    border-radius: 20px !important;
}
.fg-shop__cta p {
    font-size: 17px !important;
    color: #ffffff !important;
    margin: 0 0 18px !important;
    font-weight: 600 !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .fg-shop__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .fg-shop__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
    .fg-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fg-shop__cat-name { font-size: 13px; min-height: 34px; }
    .fg-shop__search form { padding: 6px 6px 6px 16px; }
    .fg-shop__search button { padding: 10px 16px !important; font-size: 12px !important; }
}
@media (max-width: 380px) {
    .fg-shop__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  /* No novo layout a nav fica na linha 2 sempre — não escondemos */
  .fg-menu-toggle { display: none; }
  .fg-nav.is-open ul {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
  }
}

@media (max-width: 960px) {
  .fg-hero { padding: 60px 0 80px; }
  .fg-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .fg-hero__visual { height: 440px; }
  .fg-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fg-stat:nth-child(3)::before { display: none; }
  .fg-products__grid { grid-template-columns: repeat(2, 1fr); }
  .fg-personalize__wrap { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .fg-brands__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .fg-brands__logos { grid-template-columns: repeat(3, 1fr); }
  .fg-cta__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .fg-cta__visual { justify-content: center; }
  .fg-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .fg-hero__title { font-size: 40px; }
  .fg-hero__actions { flex-direction: column; }
  .fg-hero__actions .fg-btn { width: 100%; }
  .fg-hero__features { flex-direction: column; gap: 16px; }
  .fg-stats__grid { grid-template-columns: 1fr; }
  .fg-stat + .fg-stat::before { display: none; }
  .fg-products__grid { grid-template-columns: 1fr; }
  .fg-brands__logos { grid-template-columns: repeat(2, 1fr); }
  .fg-footer__grid { grid-template-columns: 1fr; }
  .fg-personalize__wrap { padding: 28px; }
  .fg-editor { height: 320px; grid-template-columns: 60px 1fr; }
  .fg-icon-btn:not(.fg-icon-btn--cart):not(.fg-menu-toggle) { display: none; }
}

/* WordPress core classes */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

/* ==========================================================================
   WOOCOMMERCE INTEGRATION
   ========================================================================== */
.fg-wc { background: #fff; color: var(--fg-text-dark); padding: 40px 0 80px; min-height: 60vh; }
.fg-wc h1, .fg-wc h2, .fg-wc h3 { color: var(--fg-text-dark); }
.fg-wc a { color: var(--fg-purple-dark); }

/* Listagem de produtos */
.fg-wc .products, .fg-wc ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}
.fg-wc ul.products::before, .fg-wc ul.products::after { display: none !important; }
.fg-wc .products li.product {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--fg-radius-lg);
  overflow: hidden;
  transition: all var(--fg-transition);
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}
.fg-wc .products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
  border-color: var(--fg-purple-light);
}
.fg-wc .products li.product > a {
  display: block;
  text-decoration: none;
}
.fg-wc .products .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-text-dark);
  padding: 16px 20px 4px;
  margin: 0;
  line-height: 1.3;
}
.fg-wc .products .price {
  display: block;
  padding: 0 20px 16px;
  color: var(--fg-text-dark-muted);
  font-size: 14px;
}
.fg-wc .products .price .fg-price,
.fg-wc .products .price .amount {
  color: var(--fg-purple-dark);
  font-weight: 700;
}
.fg-wc .products .price ins { text-decoration: none; background: transparent; }
.fg-wc .products .price del { opacity: 0.5; font-size: 13px; margin-right: 6px; }
.fg-wc .products .button,
.fg-wc .products .added_to_cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 20px 20px;
  padding: 10px 18px;
  background: var(--fg-gradient-purple);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--fg-transition);
}
.fg-wc .products .button:hover {
  transform: translateY(-2px);
  box-shadow: var(--fg-shadow);
}
.fg-wc .products img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* Single product */
.fg-wc div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 48px;
}
.fg-wc div.product .woocommerce-product-gallery {
  grid-column: 1;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
.fg-wc div.product .summary {
  grid-column: 2;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}
.fg-wc div.product .product_title {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
  line-height: 1.1;
}
.fg-wc div.product .price {
  font-size: 24px;
  color: var(--fg-purple-dark);
  font-weight: 700;
  margin-bottom: 20px;
}
.fg-wc div.product .price .fg-price-from {
  font-size: 13px;
  color: var(--fg-text-dark-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.fg-wc div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  color: var(--fg-text-dark-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.fg-wc div.product form.cart { margin-bottom: 24px; }
.fg-wc div.product .quantity input.qty {
  width: 72px;
  height: 48px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}
.fg-wc div.product .single_add_to_cart_button {
  background: var(--fg-gradient-purple);
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all var(--fg-transition);
}
.fg-wc div.product .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: var(--fg-shadow);
}

/* Botão "Comprar no WhatsApp" na single */
.fg-whatsapp-buy-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.fg-whatsapp-buy__or {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--fg-text-dark-muted);
  margin-bottom: 12px;
}
.fg-whatsapp-buy__hint {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--fg-text-dark-muted);
}

/* Abas */
.fg-wc .woocommerce-tabs { margin-top: 60px; clear: both; }
.fg-wc .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.fg-wc .woocommerce-tabs ul.tabs::before { display: none !important; }
.fg-wc .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.fg-wc .woocommerce-tabs ul.tabs li::before,
.fg-wc .woocommerce-tabs ul.tabs li::after { display: none !important; }
.fg-wc .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 14px 20px !important;
  color: var(--fg-text-dark-muted) !important;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.fg-wc .woocommerce-tabs ul.tabs li.active a {
  color: var(--fg-purple-dark) !important;
  border-bottom-color: var(--fg-purple);
}
.fg-wc .woocommerce-tabs .panel { padding: 24px 0; }

/* Badges */
.fg-wc .onsale, .fg-wc div.product .onsale {
  background: var(--fg-pink);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  top: 12px;
  right: 12px;
  left: auto;
  position: absolute;
  z-index: 2;
  min-height: auto;
  min-width: auto;
}

/* Carrinho */
.fg-wc .woocommerce-cart table.shop_table {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--fg-radius-lg);
  border-spacing: 0;
  overflow: hidden;
}
.fg-wc .woocommerce-cart table.shop_table th {
  background: #f9fafb;
  padding: 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-text-dark-muted);
}
.fg-wc .woocommerce-cart table.shop_table td {
  padding: 20px 16px;
  border-top: 1px solid #e5e7eb;
}
.fg-wc .cart-collaterals .cart_totals h2 { font-size: 20px; margin-bottom: 16px; }
.fg-wc .checkout-button {
  background: var(--fg-gradient-purple) !important;
  color: #fff !important;
  padding: 16px 24px !important;
  border-radius: 12px !important;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

/* Checkout */
.fg-wc .woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.fg-wc .woocommerce-checkout #customer_details { grid-column: 1; }
.fg-wc .woocommerce-checkout #order_review,
.fg-wc .woocommerce-checkout h3#order_review_heading { grid-column: 2; }
.fg-wc .woocommerce-checkout .form-row input,
.fg-wc .woocommerce-checkout .form-row select,
.fg-wc .woocommerce-checkout .form-row textarea {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  width: 100%;
}
.fg-wc .woocommerce-checkout label {
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-text-dark);
  margin-bottom: 6px;
  display: block;
}
.fg-wc .woocommerce-checkout h3 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

/* My account */
.fg-wc .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fg-wc .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--fg-text-dark);
  text-decoration: none;
}
.fg-wc .woocommerce-MyAccount-navigation ul li.is-active a,
.fg-wc .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--fg-purple-dark);
}

/* Notices */
.fg-wc .woocommerce-message,
.fg-wc .woocommerce-info {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--fg-text-dark);
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.fg-wc .woocommerce-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  list-style: none;
}

/* Breadcrumb */
.fg-wc .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--fg-text-dark-muted);
  margin-bottom: 20px;
}
.fg-wc .woocommerce-breadcrumb a { color: var(--fg-purple-dark); }

/* Variations */
.fg-wc .variations_form .variations {
  border: none;
  margin-bottom: 16px;
}
.fg-wc .variations_form .variations td {
  padding: 8px 0;
  border: none;
}
.fg-wc .variations_form .variations td.label label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-text-dark);
}
.fg-wc .variations_form .single_variation_wrap .price {
  font-size: 22px;
  margin: 16px 0;
}

/* Responsive */
@media (max-width: 1080px) {
  .fg-wc .products, .fg-wc ul.products { grid-template-columns: repeat(3, 1fr); }
  .fg-wc div.product { grid-template-columns: 1fr; gap: 32px; }
  .fg-wc div.product .woocommerce-product-gallery,
  .fg-wc div.product .summary { grid-column: 1; }
  .fg-wc .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  .fg-wc .woocommerce-checkout #customer_details,
  .fg-wc .woocommerce-checkout #order_review,
  .fg-wc .woocommerce-checkout h3#order_review_heading { grid-column: 1; }
}
@media (max-width: 720px) {
  .fg-wc .products, .fg-wc ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .fg-wc .products, .fg-wc ul.products { grid-template-columns: 1fr; }
}

/* ============================================================================
   SEÇÃO PRINTI-STYLE: grid de categorias + mais vendidos
   ============================================================================ */
.fg-printi-style {
    padding: 64px 0 80px;
    background: var(--fg-bg);
    color: var(--fg-text);
}

/* Tiles de categoria — 6 cards horizontais */
.fg-cat-tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 72px;
}
.fg-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px 24px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    text-decoration: none;
    color: var(--fg-text);
    transition: all 0.25s ease;
    text-align: center;
    min-height: 160px;
}
.fg-cat-tile:hover {
    transform: translateY(-4px);
    border-color: var(--fg-purple-light);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.18) 0%, rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 14px 40px rgba(139, 92, 246, 0.2);
}
.fg-cat-tile__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-purple-light);
    background: rgba(139, 92, 246, 0.1);
    border-radius: 14px;
    transition: all 0.25s;
}
.fg-cat-tile__icon svg { width: 34px; height: 34px; }
.fg-cat-tile:hover .fg-cat-tile__icon {
    background: var(--fg-gradient-purple);
    color: #fff;
    transform: scale(1.08);
}
.fg-cat-tile__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}
.fg-cat-tile--all {
    background: var(--fg-gradient-purple);
    border-color: transparent;
}
.fg-cat-tile--all .fg-cat-tile__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.fg-cat-tile--all:hover .fg-cat-tile__icon {
    background: #fff;
    color: var(--fg-purple-dark);
}
.fg-cat-tile--all .fg-cat-tile__label { color: #fff; }

/* Mais vendidos — header */
.fg-bestsellers__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.fg-bestsellers__title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    font-family: var(--fg-font-display);
    margin: 0;
    color: var(--fg-text);
}
.fg-bestsellers__nav { display: flex; gap: 10px; }
.fg-bestsellers__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.fg-bestsellers__arrow svg { width: 20px; height: 20px; }
.fg-bestsellers__arrow:hover {
    background: var(--fg-gradient-purple);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}
.fg-bestsellers__arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* Carousel track */
.fg-bestsellers__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 6px 2px 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.fg-bestsellers__track::-webkit-scrollbar { display: none; }

.fg-bestsellers__card {
    flex: 0 0 260px;
    max-width: 260px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #1a1a24;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.fg-bestsellers__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    border-color: var(--fg-purple-light);
}
.fg-bestsellers__img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f7;
}
.fg-bestsellers__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.fg-bestsellers__card:hover .fg-bestsellers__img img { transform: scale(1.05); }
.fg-bestsellers__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fef08a;
    color: #713f12;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
}
.fg-bestsellers__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    justify-content: space-between;
}
.fg-bestsellers__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--fg-text-dark, #1a1a24);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.fg-bestsellers__price {
    font-size: 12px;
    color: #6b6b7b;
    margin: 0;
    line-height: 1.35;
}
.fg-bestsellers__price strong {
    font-size: 18px;
    color: var(--fg-text-dark, #1a1a24);
    font-weight: 800;
}

/* Responsive */
@media (max-width: 1080px) {
    .fg-cat-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .fg-printi-style { padding: 48px 0 60px; }
    .fg-cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fg-cat-tile { padding: 20px 12px 18px; min-height: 130px; }
    .fg-cat-tile__icon { width: 52px; height: 52px; }
    .fg-cat-tile__icon svg { width: 26px; height: 26px; }
    .fg-cat-tile__label { font-size: 12px; }
    .fg-bestsellers__card { flex: 0 0 220px; }
    .fg-bestsellers__arrow { width: 40px; height: 40px; }
}

/* ============================================================================
   HERO CTA — Orçamento com IA (gradient roxo com ícone animado)
   ============================================================================ */
.fg-hero__ai-cta {
    position: relative;
    overflow: hidden;
}
.fg-hero__ai-cta svg {
    width: 16px;
    height: 16px;
    animation: fg-ai-pulse 2.5s ease-in-out infinite;
}
@keyframes fg-ai-pulse {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
    50%      { transform: rotate(180deg) scale(1.15); opacity: 0.8; }
}
.fg-hero__ai-cta::after {
    content: "";
    position: absolute;
    top: -50%; left: -100%;
    width: 50%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: fg-ai-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes fg-ai-shine {
    0%   { left: -100%; }
    60%  { left: 150%; }
    100% { left: 150%; }
}
.fg-hero__actions .fg-btn--whatsapp { padding: 14px 24px; font-size: 14px; }

/* ============================================================================
   PRODUTOS RELACIONADOS — grid correto + cards uniformes
   ============================================================================ */
.single-product .related.products,
.single-product .up-sells {
    margin-top: 64px !important;
    padding-top: 40px !important;
    border-top: 1px solid var(--fg-border) !important;
    clear: both !important;
    width: 100% !important;
    float: none !important;
    display: block !important;
}
.single-product .related.products > h2,
.single-product .up-sells > h2 {
    font-size: clamp(22px, 2.4vw, 30px) !important;
    font-weight: 800 !important;
    color: var(--fg-text) !important;
    margin: 0 0 28px !important;
    font-family: var(--fg-font-display) !important;
    text-align: left !important;
    width: auto !important;
    writing-mode: horizontal-tb !important;
}
.single-product .related.products ul.products,
.single-product .up-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
}
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after,
.single-product .up-sells ul.products::before,
.single-product .up-sells ul.products::after {
    display: none !important;
}
.single-product .related.products ul.products > li,
.single-product .up-sells ul.products > li {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 14px !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: left !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    overflow: hidden !important;
    position: relative !important;
    list-style: none !important;
}
.single-product .related.products ul.products > li:hover,
.single-product .up-sells ul.products > li:hover {
    transform: translateY(-4px);
    border-color: var(--fg-purple-light) !important;
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.18) !important;
}
/* Link principal (imagem + título + preço) */
.single-product .related.products ul.products > li > a:first-of-type,
.single-product .up-sells ul.products > li > a:first-of-type,
.single-product .related.products ul.products > li > a.fg-wc-card__link,
.single-product .up-sells ul.products > li > a.fg-wc-card__link {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-decoration: none !important;
    color: var(--fg-text-dark) !important;
    width: 100% !important;
}
/* Imagem */
.single-product .related.products ul.products > li img,
.single-product .up-sells ul.products > li img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: #f5f5f7 !important;
    margin: 0 !important;
    display: block !important;
}
/* Título */
.single-product .related.products ul.products > li .woocommerce-loop-product__title,
.single-product .up-sells ul.products > li .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--fg-text-dark) !important;
    line-height: 1.35 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    min-height: 38px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100% !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
}
/* Preço */
.single-product .related.products ul.products > li .price,
.single-product .up-sells ul.products > li .price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--fg-purple-dark) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    writing-mode: horizontal-tb !important;
    width: auto !important;
    display: block !important;
}
.single-product .related.products ul.products > li .price .amount,
.single-product .up-sells ul.products > li .price .amount,
.single-product .related.products ul.products > li .price .fg-price {
    color: inherit !important;
    font-weight: 800 !important;
}
/* Star rating */
.single-product .related.products ul.products > li .star-rating,
.single-product .up-sells ul.products > li .star-rating {
    margin: 0 0 2px !important;
    font-size: 12px !important;
    width: auto !important;
    float: none !important;
}
/* Botão "Selecionar opções" / "Comprar" */
.single-product .related.products ul.products > li > a.button,
.single-product .related.products ul.products > li > a.added_to_cart,
.single-product .up-sells ul.products > li > a.button,
.single-product .up-sells ul.products > li > a.added_to_cart,
.single-product .related.products ul.products > li .button,
.single-product .up-sells ul.products > li .button {
    margin: auto 0 0 !important;
    background: var(--fg-gradient-purple) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}
.single-product .related.products ul.products > li .button:hover,
.single-product .up-sells ul.products > li .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35) !important;
}

@media (max-width: 1080px) {
    .single-product .related.products ul.products,
    .single-product .up-sells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 720px) {
    .single-product .related.products ul.products,
    .single-product .up-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}
@media (max-width: 420px) {
    .single-product .related.products ul.products,
    .single-product .up-sells ul.products { grid-template-columns: 1fr !important; }
}

/* ============================================================================
   Página Sobre Nós + Contato — conteúdo rico
   ============================================================================ */
.fg-page-sobre, .fg-page-contato {
    padding: 60px 0 80px;
    background: var(--fg-bg);
    color: var(--fg-text);
}
.fg-page-sobre__hero, .fg-page-contato__hero {
    text-align: center;
    padding: 40px 20px 48px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border-radius: 24px;
    margin-bottom: 48px;
}
.fg-page-sobre__hero h1, .fg-page-contato__hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 10px 0 16px;
    font-family: var(--fg-font-display);
}
.fg-page-sobre__hero p, .fg-page-contato__hero p {
    font-size: 17px;
    color: var(--fg-text-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}
.fg-page-sobre__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.fg-page-sobre__stat {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
}
.fg-page-sobre__stat-num {
    font-size: 36px;
    font-weight: 900;
    font-family: var(--fg-font-display);
    background: var(--fg-gradient-soft);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.fg-page-sobre__stat-lbl {
    font-size: 13px;
    color: var(--fg-text-muted);
}
.fg-page-sobre__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.fg-page-sobre__feat {
    background: var(--fg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 16px;
    padding: 28px 24px;
}
.fg-page-sobre__feat svg {
    width: 36px;
    height: 36px;
    color: var(--fg-purple-light);
    margin-bottom: 14px;
}
.fg-page-sobre__feat h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: var(--fg-text);
}
.fg-page-sobre__feat p {
    font-size: 14px;
    color: var(--fg-text-muted);
    line-height: 1.6;
}
.fg-page-sobre__story {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--fg-text-muted);
}
.fg-page-sobre__story h2 {
    font-size: 28px;
    color: var(--fg-text);
    margin: 0 0 20px;
    font-family: var(--fg-font-display);
    text-align: center;
}
.fg-page-sobre__story p { margin-bottom: 16px; }

/* Contato page */
.fg-page-contato__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    margin-bottom: 48px;
}
.fg-page-contato__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.fg-page-contato__card {
    background: var(--fg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--fg-text);
}
.fg-page-contato__card:hover {
    transform: translateY(-2px);
    border-color: var(--fg-purple-light);
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.15);
}
.fg-page-contato__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--fg-gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.fg-page-contato__icon svg { width: 22px; height: 22px; }
.fg-page-contato__card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}
.fg-page-contato__card-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--fg-text);
    margin: 0;
    word-break: break-word;
}
.fg-page-contato__card-sub {
    font-size: 12px;
    color: var(--fg-text-muted);
    margin: 2px 0 0;
}
.fg-page-contato__map {
    background: var(--fg-surface);
    border: 1px solid var(--fg-border);
    border-radius: 16px;
    overflow: hidden;
    min-height: 460px;
    position: relative;
}
.fg-page-contato__map iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
    display: block;
}
.fg-page-contato__hours {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    margin-bottom: 40px;
}
.fg-page-contato__hours h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: var(--fg-text);
}
.fg-page-contato__hours p {
    font-size: 15px;
    color: var(--fg-text);
    margin: 4px 0;
}
.fg-page-contato__hours strong { color: var(--fg-purple-light); }

@media (max-width: 900px) {
    .fg-page-sobre__stats { grid-template-columns: repeat(2, 1fr); }
    .fg-page-sobre__grid { grid-template-columns: 1fr; }
    .fg-page-contato__grid { grid-template-columns: 1fr; }
    .fg-page-contato__map { min-height: 320px; }
    .fg-page-contato__map iframe { min-height: 320px; }
}

/* ============================================================================
   GBV Paginação — Anterior / Próximo
   ============================================================================ */
.gbv-pager {
    margin: 56px 0 32px !important;
    padding: 24px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
    text-align: center !important;
}
.gbv-pager ul.page-numbers,
.gbv-pager .page-numbers:not(.gbv-pager__btn) {
    display: none !important;
}
.gbv-pager__info {
    color: var(--fg-text-muted, #a0a0b0);
    font-size: 14px;
}
.gbv-pager__info strong {
    color: var(--fg-text, #fff);
    font-weight: 800;
    font-family: var(--fg-font-display, inherit);
}
.gbv-pager__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.gbv-pager__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 28px !important;
    background: var(--fg-gradient-purple, linear-gradient(135deg, #8b5cf6, #7c3aed)) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    line-height: 1 !important;
}
.gbv-pager__btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 36px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}
.gbv-pager__btn:active {
    transform: translateY(0) scale(0.98);
}
.gbv-pager__btn.is-disabled {
    background: rgba(139, 92, 246, 0.15) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.gbv-pager__btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.gbv-pager__btn--prev:hover svg { transform: translateX(-3px); }
.gbv-pager__btn--next:hover svg { transform: translateX(3px); }

@media (max-width: 540px) {
    .gbv-pager__btn { padding: 12px 20px !important; font-size: 12px !important; }
}
