/* ═══════════════════════════════════════════════
   E-Commerce Template — Storefront base
   Tokens migrados para css/tokens.css (Fábrica de Corredor DS v1.0).
   ═══════════════════════════════════════════════ */

/* DEPRECATED — migrado para tokens.css em 2026-04-27. Manter por 1 sprint pra rastreabilidade.
:root {
  --brand-900: #0A3D0A;
  --brand-800: #145214;
  --brand-700: #1B6B1B;
  --brand-600: #228B22;
  --brand-500: #2EAD2E;
  --brand-400: #4DC34D;
  --brand-300: #6FD86F;
  --brand-200: #A3E8A3;
  --brand-100: #D4F5D4;

  --brand-emerald-700: #0D6B4F;
  --brand-emerald-600: #10886A;
  --brand-emerald-500: #14A884;
  --brand-emerald-400: #2ECDA3;
  --brand-emerald-300: #6FEBB5;

  /* ── Escala de cinzas (light) ── */
  --brand-dark-950: #ffffff;
  --brand-dark-900: #f8fafc;
  --brand-dark-850: #f1f5f9;
  --brand-dark-800: #ffffff;
  --brand-dark-700: #f4f6f9;
  --brand-dark-600: #d1d5db;
  --brand-dark-500: #9ca3af;
  --brand-dark-400: #6b7280;
  --brand-dark-300: #374151;
  --brand-dark-200: #1f2937;
  --brand-dark-100: #111827;
  --brand-dark-50:  #030712;

  /* ── Aliases compatíveis com templates ── */
  --rr-gold:          var(--brand-500);
  --rr-gold-light:    var(--brand-400);
  --rr-gold-dark:     var(--brand-600);
  --rr-gold-muted:    var(--brand-400);
  --rr-black:         #030712;
  --rr-white:         #ffffff;

  --rr-gray-50:   #f8fafc;
  --rr-gray-100:  #f1f5f9;
  --rr-gray-200:  #e2e8f0;
  --rr-gray-300:  #cbd5e1;
  --rr-gray-400:  #94a3b8;
  --rr-gray-500:  #64748b;
  --rr-gray-600:  #4b5563;
  --rr-gray-700:  #374151;
  --rr-gray-800:  #1f2937;
  --rr-gray-900:  #0f172a;

  --rr-success:   var(--brand-500);
  --rr-warning:   #D97706;
  --rr-error:     #DC2626;
  --rr-info:      #2563EB;

  /* Cores de apoio */
  --rr-champagne: #faf5eb;
  --rr-ivory:     #fafaf8;
  --rr-cream:     #fdf8f0;
  --rr-pearl:     #f8f8f6;

  /* Gradientes */
  --rr-gradient-gold: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 50%, var(--brand-400) 100%);
  --rr-gradient-dark: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  --rr-gradient-warm: linear-gradient(135deg, #fafaf8 0%, #f1f5f9 100%);

  /* Surface tokens (clean light) */
  --glass-bg:     rgba(248, 250, 252, 0.92);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover:  rgba(0, 0, 0, 0.04);
  --glass-blur:   20px;

  /* ── Tipografia ── */
  --font-display: 'Exo 2', sans-serif;
  --font-heading: 'Exo 2', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-ui:      'Inter', sans-serif;

  /* ── Espaçamento (8px base) ── */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ── Bordas ── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* ── Sombras ── */
  --shadow-subtle:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:      0 16px 48px rgba(0,0,0,0.15);
  --shadow-gold:    0 0 20px rgba(46,173,46,0.12);
  --shadow-glow:    0 0 20px rgba(46,173,46,0.12);
  --shadow-glow-strong: 0 0 40px rgba(46,173,46,0.18);

  /* ── Transições ── */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elegant: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;
}
*/

/* ── Alpine.js cloak (prevents FOUC on x-show elements) ── */
[x-cloak] { display: none !important; }

/* ── Utility Animations ── */
@keyframes spin { to { transform: rotate(360deg); } }

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-dark-600) var(--brand-dark-850);
}

body {
  font-family: var(--font-body);
  /* --brand-dark-100 aponta para --bg-dark-elevated, que so existe dentro de
     [data-theme="dark"]. Fora do tema escuro a variavel fica vazia, a
     declaracao e descartada e a cor do texto caia no padrao do navegador —
     preto no aparelho em modo claro, BRANCO no aparelho em modo escuro. */
  color: var(--text-on-light);
  background: var(--brand-dark-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

::selection { background: var(--brand-500); color: #000; }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── CONTAINER ── */
.rr-container {
  max-width: 1280px;
  margin: 13px auto;
  padding: 0 var(--space-xl);
  width: 100%;
  box-sizing: border-box;
}
/* Variante só do carrinho · usa mais da viewport p/ o Resumo do Pedido ocupar
   o gutter (decisão do usuário · aceita ficar mais largo que header/footer 1280). */
.rr-container--cart { max-width: 1600px; }
@media (max-width: 768px) {
  .rr-container { margin-left: 0; margin-right: 0; }
}
@media (max-width: 480px) {
  .rr-container { padding: 0 var(--space-md); }
}

main { flex: 1; max-width: 100%; }

/* ═══ ANNOUNCEMENT BAR ═══ */
.rr-announcement {
  background: var(--brand-dark-950);
  border-bottom: 1px solid rgba(46,173,46,0.15);
  text-align: center;
  padding: 10px var(--space-md);
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.rr-topbar-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-400);
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 6px;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.rr-topbar-close:hover { opacity: 1; }
.rr-announcement span {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-400);
}

/* ═══ HEADER ═══ */
.rr-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  width: 100%;
  box-sizing: border-box;
}
.rr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  height: 64px;
}
@media (max-width: 480px) {
  .rr-header-inner { padding: var(--space-md); }
}
.rr-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.rr-header-logo .rr-logo-img {
  height: 51px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.rr-header-logo:hover .rr-logo-img { opacity: 0.75; }

.rr-header-nav {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
}

.rr-header-icons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
@media (max-width: 480px) {
  .rr-header-icons { gap: var(--space-sm); }
}
.rr-header-icons > div {
  display: flex;
  align-items: center;
}
.rr-header-icons button,
.rr-header-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rr-header-icons svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-dark-300);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--duration-normal);
}
.rr-header-icons svg:hover { stroke: var(--brand-400); }

/* Cart Badge */
.rr-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--brand-500);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle — breakpoint unificado 1024px */
.rr-menu-toggle { display: none; }
@media (max-width: 1024px) {
  .rr-header-nav { display: none; }
  .rr-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
.rr-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-dark-300);
  stroke-width: 1.5;
  fill: none;
  display: block;
}

/* Mobile Nav */
.rr-mobile-nav {
  border-top: 1px solid var(--glass-border);
  padding: var(--space-lg) var(--space-xl);
  background: var(--rr-white);
}
.rr-mobile-nav a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brand-dark-300);
  padding: var(--space-sm) 0;
  transition: color var(--duration-normal);
}
.rr-mobile-nav a:hover { color: var(--brand-400); }

/* ── Nav Items ── */
.rr-nav-item { list-style: none; }
.rr-nav-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark-400);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
  white-space: nowrap;
}
.rr-nav-link:hover,
.rr-nav-link.is-open { color: var(--brand-500); }

/* ── Nav Chevron ── */
.rr-nav-chevron {
  transition: transform var(--duration-fast) var(--ease-smooth);
  flex-shrink: 0;
  margin-top: 1px;
}
.rr-nav-more-btn.is-open .rr-nav-chevron { transform: rotate(180deg); }

/* ── Dropdown Container ── */
.rr-nav-more-item,
.rr-nav-has-children { position: relative; }

.rr-nav-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  right: auto;
  transform: none;
  min-width: 260px;
  background: var(--rr-white);
  border-top: 2px solid var(--brand-500);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 22px 0 16px;
  z-index: 300;
}
.rr-nav-dropdown::before { display: none; }

/* "Ver Todas" overflow dropdown — alinha à direita + visual minimalista
   (escopo só neste dropdown; os dropdowns por categoria ficam inalterados) */
.rr-nav-more-item .rr-nav-dropdown {
  left: auto;
  right: 0;
  min-width: 160px;                              /* era herdado 260px → card vazio */
  padding: 6px 0;                                /* era 22px 0 16px */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);    /* sombra mais leve */
}
.rr-nav-more-item .rr-nav-dropdown .rr-nav-dd-link { padding: 9px 18px; } /* era 15px 41px */
.rr-nav-more-item .rr-nav-dropdown .rr-nav-dd-child { padding-left: 30px; }
.rr-nav-more-item .rr-nav-dropdown .rr-nav-dd-child::before { left: 18px; }

/* ── Dropdown Links ── */
.rr-nav-dropdown .rr-nav-dd-link {
  display: block;
  position: relative;
  padding: 15px 41px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-gray-700);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-smooth);
  overflow: hidden;
}
/* marcador verde à esquerda — entra com scale */
.rr-nav-dropdown .rr-nav-dd-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 55%;
  background: var(--brand-500);
  transition: transform var(--duration-fast) cubic-bezier(.4, 0, .2, 1);
  transform-origin: center;
}
.rr-nav-dropdown .rr-nav-dd-link:hover { color: var(--brand-500); }
.rr-nav-dropdown .rr-nav-dd-link:hover::before { transform: translateY(-50%) scaleY(1); }

/* ── "Ver Tudo" parent link ── */
.rr-nav-dropdown .rr-nav-dd-parent {
  font-weight: 600;
  color: var(--rr-gray-800);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 4px;
}

/* ── Subcategory (child) links ── */
.rr-nav-dropdown .rr-nav-dd-child {
  padding-left: 56px;
  font-size: 0.58rem;
  color: var(--rr-gray-500);
}
.rr-nav-dropdown .rr-nav-dd-child::before { left: 41px; }
.rr-nav-dropdown .rr-nav-dd-child:hover { color: var(--brand-500); }

/* ── "Todo o catálogo" ── */
.rr-nav-dd-all {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 41px;
  margin-top: 8px;
  border-top: 1px solid var(--glass-border);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
  text-decoration: none;
  transition: gap var(--duration-fast), opacity var(--duration-fast);
}
.rr-nav-dd-all:hover { gap: 14px; opacity: 0.8; }

/* ═══ SEARCH PANEL ═══ */
.rr-search-wrapper { position: relative; }
.rr-search-wrapper button.is-active svg { stroke: var(--brand-500); }

.rr-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  /* Centralizado sob a lupa (mesmo padrão dos dropdowns "Cliente" e "Sacola"). */
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  max-width: calc(100vw - 24px);
  z-index: 50;
  background: var(--rr-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 12px 24px -8px rgba(0, 0, 0, 0.08),
    0 0 0 1px var(--glass-border);
  overflow: hidden;
}

/* ── Search Input ── */
.rr-search-input-wrap {
  position: relative;
}
.rr-search-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--rr-gray-400);
  fill: none;
  stroke-width: 1.5;
  pointer-events: none;
}
.rr-search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--rr-gray-800);
  padding: 18px 48px;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  background: var(--rr-gray-50);
  outline: none;
  transition: border-color var(--duration-normal);
}
.rr-search-input:focus {
  border-bottom-color: var(--brand-500);
  background: var(--rr-white);
}
.rr-search-input::placeholder {
  color: var(--rr-gray-400);
  font-weight: 400;
}
.rr-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rr-gray-400);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.rr-search-clear svg {
  width: 16px;
  height: 16px;
}
.rr-search-clear:hover {
  color: var(--rr-gray-600);
  background: var(--rr-gray-100);
}

/* ── Search States (loading, empty, hint) ── */
.rr-search-state {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
}
.rr-search-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--brand-500);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.rr-search-hint {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--rr-gray-400);
  margin-top: var(--space-sm);
}
.rr-search-state-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--rr-gray-500);
}
.rr-search-state-query {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rr-gray-800);
  margin-top: 4px;
}

/* ── Search Results ── */
.rr-search-results {
  max-height: 384px;
  overflow-y: auto;
}
.rr-search-result {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  transition: background var(--duration-fast);
  border-bottom: 1px solid var(--glass-border);
}
.rr-search-result:last-child { border-bottom: none; }
.rr-search-result:hover { background: var(--rr-gray-50); }

.rr-search-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--rr-gray-100);
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}
.rr-search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Search Result Info ── */
.rr-search-result-info {
  flex: 1;
  min-width: 0;
}
.rr-search-result-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rr-gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rr-search-result-cat {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-top: 2px;
}
.rr-search-result-prices {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 4px;
}
.rr-search-result-compare {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--rr-gray-400);
  text-decoration: line-through;
}
.rr-search-result-price {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rr-gray-800);
}
.rr-search-result-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--rr-gray-300);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  transition: stroke var(--duration-fast);
}
.rr-search-result:hover .rr-search-result-arrow { stroke: var(--brand-500); }

/* ── View All Results ── */
.rr-search-viewall {
  padding: var(--space-md) var(--space-xl);
  background: var(--rr-gray-50);
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

/* ── Search Categories (empty state) ── */
.rr-search-categories {
  padding: var(--space-xl);
}
.rr-search-categories-title {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}
.rr-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.rr-search-tag--child { opacity: 0.7; }

/* ═══ MINI CART ═══ */
.rr-minicart {
  position: absolute;
  top: calc(100% + 10px);
  /* Centralizado sob o ícone da sacola, com TRAVA anti-transbordo (CSS puro).
     O header (.site-header__inner) é um container max-width:1280px centrado,
     então acima de 1280px há margem à direita onde o painel cabe centralizado.
     Centralizar = deslocar o painel ~170px à direita (≈ (380 - ~40)/2). A trava
     limita esse deslocamento à margem direita real disponível
     ((100vw - 1280)/2), evitando o vazamento que motivou o `right:0` anterior.
     Em larguras estreitas a expressão resulta em right ≈ +8px → ancorado à
     direita sem ultrapassar a viewport. Usa-se `right` (não transform) para não
     conflitar com o transform das transições do x-transition. */
  right: max(-170px, calc((var(--max-content, 1280px) - 100vw) / 2 + 8px));
  width: 408px;
  max-width: calc(100vw - 24px);
  z-index: 50;
  background: var(--rr-white);
  border-radius: var(--radius-lg);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.15),
    0 12px 24px -8px rgba(0, 0, 0, 0.08),
    0 0 0 1px var(--glass-border);
  overflow: hidden;
}

/* Em devices touch (sem hover real), suprime o popover do mini-cart.
   Sintoma anterior · ao tocar no icone da sacola em mobile, o mouseenter
   emulado pelo browser disparava hoverDropdown.hover() e o painel piscava
   por ~100ms antes do <a href="/carrinho"> navegar · UX ruim. Pattern de
   detecao (hover: hover) + (pointer: fine) ja em uso no projeto (vide
   product-card.css hover swap). Aqui usamos a negacao pra esconder.
   Alpine state (open) continua mutando silenciosamente · nenhum efeito
   colateral pois o painel simplesmente nao renderiza. */
@media (hover: none), (pointer: coarse) {
  .rr-minicart { display: none !important; }
}

/* ── Minicart Header ── */
.rr-minicart-header {
  padding: var(--space-lg) var(--space-xl);
  background: var(--rr-gray-50);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rr-minicart-header h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-gray-800);
}

/* ── Minicart Item ── */
.rr-minicart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--duration-fast);
}
.rr-minicart-item:hover { background: var(--rr-gray-50); }

/* ── Minicart Thumbnail ── */
.rr-minicart-thumb {
  width: 60px;
  height: 78px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--rr-gray-100);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
}
.rr-minicart-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Minicart Header Details ── */
.rr-minicart-count {
  color: var(--rr-gray-400);
  font-weight: 400;
}
.rr-minicart-total {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rr-gray-800);
}

/* ── Minicart Empty State ── */
.rr-minicart-empty {
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}
.rr-minicart-empty svg {
  width: 48px;
  height: 48px;
  stroke: var(--rr-gray-300);
  fill: none;
  stroke-width: 1;
  margin: 0 auto var(--space-md);
  display: block;
}
.rr-minicart-empty p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--rr-gray-500);
}

/* ── Minicart Items Container ── */
.rr-minicart-items {
  max-height: 320px;
  overflow-y: auto;
}

/* ── Minicart Item Details ── */
.rr-minicart-details {
  flex: 1;
  min-width: 0;
}
.rr-minicart-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--rr-gray-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--duration-fast);
}
.rr-minicart-name:hover { color: var(--brand-500); }
.rr-minicart-variant {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  color: var(--rr-gray-400);
  margin-top: 2px;
}
.rr-minicart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: nowrap;
  margin-top: var(--space-sm);
}
.rr-minicart-row .rr-qty-group { flex: 0 0 auto; }
.rr-minicart-price {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rr-gray-800);
  white-space: nowrap;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

/* ── Quantity Group ── */
.rr-qty-group {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--rr-gray-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.rr-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rr-gray-600);
  background: var(--rr-gray-50);
  transition: all var(--duration-fast) var(--ease-smooth);
}
.rr-qty-btn svg {
  width: 12px;
  height: 12px;
}
.rr-qty-btn:hover {
  color: var(--brand-500);
  background: var(--brand-100);
}
.rr-qty-value {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--rr-gray-800);
  width: 32px;
  text-align: center;
  background: var(--rr-white);
  line-height: 32px;
  border-left: 1px solid var(--rr-gray-300);
  border-right: 1px solid var(--rr-gray-300);
}

/* ── Minicart Remove Button ── */
.rr-minicart-remove {
  align-self: flex-start;
  margin-top: 2px;
  padding: 6px;
  color: var(--rr-gray-400);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}
.rr-minicart-remove svg {
  width: 14px;
  height: 14px;
}
.rr-minicart-remove:hover {
  color: var(--rr-error);
  background: rgba(220, 38, 38, 0.06);
}

/* ── Minicart Shipping ── */
.rr-minicart-shipping {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--glass-border);
}
.rr-minicart-freeship {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.rr-minicart-freeship svg {
  width: 16px;
  height: 16px;
  stroke: var(--rr-success);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.rr-minicart-freeship span {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--rr-success);
  font-weight: 600;
}
.rr-minicart-shipping-text {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--rr-gray-500);
  margin-bottom: 6px;
}
.rr-minicart-shipping-text strong {
  color: var(--brand-500);
  font-weight: 600;
}

/* ── Minicart Footer ── */
.rr-minicart-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--glass-border);
}
.rr-minicart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-md);
}
.rr-minicart-subtotal-label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--rr-gray-600);
}
.rr-minicart-subtotal-value {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rr-gray-800);
}
.rr-minicart-footer .rr-btn {
  margin-bottom: var(--space-sm);
}
.rr-minicart-continue {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--rr-gray-400);
  padding: var(--space-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--duration-fast);
}
.rr-minicart-continue:hover { color: var(--rr-gray-600); }

/* ═══ USER DROPDOWN ═══ */
.rr-user-dropdown {
  position: absolute;
  /* Centraliza o dropdown sob o ícone "Cliente" (largura ~80px com nome).
     left:50% + translateX(-50%) gruda o eixo central do dropdown ao eixo
     central do trigger, independente do tamanho do texto "Cliente" ou nome
     do usuário. */
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  margin-top: 8px;
  width: 200px;
  background: var(--rr-white);
  border-radius: var(--radius-md);
  box-shadow:
    0 20px 40px -8px rgba(0, 0, 0, 0.12),
    0 8px 16px -4px rgba(0, 0, 0, 0.06),
    0 0 0 1px var(--glass-border);
  z-index: 50;
  overflow: hidden;
}
.rr-user-dd-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--rr-gray-700);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast);
  text-decoration: none;
}
.rr-user-dd-link:hover { background: var(--rr-ivory); }
.rr-user-dd-logout { color: var(--rr-gray-400); }
.rr-user-dd-logout:hover { background: var(--rr-ivory); color: var(--rr-error); }

/* ── User name: hide on small screens ── */
@media (max-width: 768px) {
  .rr-user-name { display: none !important; }
}

/* ── Hamburger: responsive toggle ── */
@media (max-width: 1024px) {
  .rr-menu-toggle { display: inline-flex !important; }
  .rr-header-nav-wrapper { display: none !important; }
}

/* ═══ HERO SLIDER ═══ */
.rr-hero {
  background: var(--brand-dark-950);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 420px;
  height: 68vh;
}
.rr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(46,173,46,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(20,168,132,0.04) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}
.rr-hero-content { position: relative; z-index: 2; }
.rr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,7,0.65) 0%, rgba(5,5,7,0.45) 50%, rgba(5,5,7,0.38) 100%);
  z-index: 0;
}
.rr-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 0;
}
.rr-hero-slide--active { opacity: 1; }
.rr-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--glass-border);
  color: var(--brand-dark-200);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  backdrop-filter: blur(8px);
}
.rr-hero-arrow:hover {
  background: rgba(46,173,46,0.25);
  border-color: var(--brand-500);
  color: var(--brand-400);
  box-shadow: var(--shadow-glow);
}
.rr-hero-arrow svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.rr-hero-arrow--prev { left: var(--space-xl); }
.rr-hero-arrow--next { right: var(--space-xl); }
.rr-hero-dots {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-sm);
}
.rr-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
}
.rr-hero-dot.active {
  background: var(--brand-400);
  border-color: var(--brand-400);
  transform: scale(1.3);
}
@media (max-width: 768px) {
  .rr-hero-arrow { display: none; }
  .rr-hero {
    /* Proporção 446×520 para banner mobile */
    height: auto;
    min-height: unset;
    aspect-ratio: 446 / 520;
  }
}

/* ═══ BUTTONS ═══ */
.rr-btn {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  padding: 14px 36px;
  transition: all var(--duration-normal) var(--ease-spring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-decoration: none;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.rr-btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 2px 12px rgba(46,173,46,0.3);
}
.rr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(46,173,46,0.45);
}
.rr-btn-gold {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  box-shadow: 0 2px 12px rgba(46,173,46,0.3);
}
.rr-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(46,173,46,0.45);
}
.rr-btn-outline {
  background: transparent;
  color: var(--brand-400);
  border: 1px solid var(--brand-500);
}
.rr-btn-outline:hover {
  background: rgba(46,173,46,0.1);
  transform: translateY(-2px);
}
.rr-btn-outline-gold {
  background: transparent;
  color: var(--brand-400);
  border: 1px solid var(--brand-500);
}
.rr-btn-outline-gold:hover {
  background: rgba(46,173,46,0.12);
  color: var(--brand-300);
  transform: translateY(-2px);
}
.rr-btn-ghost {
  background: var(--glass-bg);
  color: var(--brand-dark-200);
  border: 1px solid var(--glass-border);
  padding: 14px 36px;
}
.rr-btn-ghost:hover {
  background: var(--glass-hover);
  color: var(--brand-dark-200);
  transform: translateY(-2px);
}
.rr-btn-sm { padding: 10px 24px; font-size: 0.6rem; }
.rr-btn-lg { padding: 18px 48px; font-size: 0.75rem; }
.rr-btn-full { width: 100%; }

/* ═══ PRODUCT CARD ═══ */
.rr-card {
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-smooth);
  display: block;
  min-width: 0;
  width: 100%;
}
.rr-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.rr-card-image {
  aspect-ratio: 3/4;
  background: var(--brand-dark-700);
  position: relative;
  overflow: hidden;
}
.rr-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.rr-card-image .rr-card-img-main { transition: opacity 0.5s ease, transform 0.6s ease; }
.rr-card-image .rr-card-img-hover { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.rr-card:hover .rr-card-img-main { transform: scale(1.04); }
.rr-card:hover .rr-card-img-hover { opacity: 1; }

/* H5 da integração SVG · cards usam silhueta colorida em vez de foto.
   .rr-card-silhouette: cor + bg vêm de inline style (categorySvgStyle)
   .rr-card-svg: SVG referencia /img/products/silhouettes/{cat}.svg#front
   currentColor herda do parent (color do inline style) e --product-stroke
   também vem do inline style. */
.rr-card-image.rr-card-silhouette {
  background: var(--bg-light-muted, #EAE3D2);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s ease;
}
.rr-card-svg {
  width: 75%; height: 75%;
  transition: color 0.3s ease;
}
.rr-card:hover .rr-card-svg { transform: scale(1.04); transition: transform 0.6s ease, color 0.3s ease; }
.rr-card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(46,173,46,0.3);
}
.rr-card-body { padding: var(--space-lg); }
.rr-card-category {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: var(--space-2xs);
}
.rr-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-dark-100);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rr-card-price {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-dark-100);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px var(--space-xs);
}
.rr-card-price-old {
  font-weight: 300;
  color: var(--brand-dark-400);
  text-decoration: line-through;
  font-size: 0.8rem;
}
.rr-card-installments {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--brand-dark-400);
  margin-top: var(--space-2xs);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ═══ BENEFITS BAR ═══ */
.rr-benefits {
  border-bottom: 1px solid var(--glass-border);
  background: var(--brand-dark-850);
  padding: var(--space-lg) 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.rr-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.rr-benefits-grid > * { min-width: 0; }
.rr-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  min-width: 0;
}
.rr-benefit-item svg {
  width: 22px; height: 22px;
  stroke: var(--brand-400);
  stroke-width: 1.5; fill: none;
}
.rr-benefit-item span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brand-dark-300);
}
@media (max-width: 640px) { .rr-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .rr-benefits { display: none; }
  .rr-section-categories { display: none; }
  .rr-section { padding: var(--space-2xl) 0; }
  .rr-section-featured { padding-top: var(--space-xl); padding-bottom: var(--space-lg); }
  .rr-section-promo { display: none; }
  .rr-newsletter { display: none; }
  .rr-section-featured .rr-section-label { display: none; }
  .rr-featured-heading { margin-bottom: var(--space-md) !important; }
  .rr-section-title { font-size: 1.6rem; line-height: 1; }
  .rr-section-link { font-size: 0.6rem; }
}

/* ═══ SECTION ═══ */
.rr-section { padding: var(--space-4xl) 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.rr-section-featured { padding-top: 0; }
.rr-section-header { text-align: center; margin-bottom: var(--space-3xl); }
.rr-section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--brand-400);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-md);
}
.rr-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--brand-dark-100);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}
.rr-section-link {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-400);
  transition: color var(--duration-normal);
}
.rr-section-link:hover { color: var(--brand-300); }

/* ═══ CATEGORY CARDS ═══ */
.rr-cat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  backdrop-filter: blur(var(--glass-blur));
}
.rr-cat-card:hover {
  border-color: var(--brand-500);
  background: var(--glass-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.rr-cat-card .rr-cat-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; }
.rr-cat-card .rr-cat-icon svg {
  width: 32px; height: 32px;
  stroke: var(--brand-dark-300);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none;
  transition: stroke var(--duration-normal), filter var(--duration-normal);
}
.rr-cat-card:hover .rr-cat-icon svg {
  stroke: var(--brand-400);
  filter: drop-shadow(0 0 8px rgba(46,173,46,0.3));
}
.rr-cat-card span.rr-cat-name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark-200);
}

/* ═══ PROMO BANNER ═══ */
.rr-promo {
  background: linear-gradient(135deg, var(--brand-dark-700) 0%, var(--brand-dark-800) 100%);
  border: 1px solid rgba(46,173,46,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
  box-sizing: border-box;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.rr-promo::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(46,173,46,0.06) 0%, transparent 50%);
  pointer-events: none;
}
@media (max-width: 480px) { .rr-promo { padding: var(--space-2xl) var(--space-lg); } }
@media (min-width: 768px) { .rr-promo { flex-direction: row; justify-content: space-between; text-align: left; } }
.rr-promo h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--brand-dark-100);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}
.rr-promo p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--brand-dark-300);
  position: relative;
  z-index: 1;
}
.rr-promo-code {
  background: rgba(46,173,46,0.15);
  border: 1px solid rgba(46,173,46,0.3);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--brand-400);
}

/* ═══ BREADCRUMB ═══ */
.rr-breadcrumb { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.rr-breadcrumb nav {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-on-light-mut);
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.8;
}
.rr-breadcrumb a { color: var(--text-on-light-mut); transition: color var(--duration-normal); }
.rr-breadcrumb a:hover { color: var(--text-on-light); }
.rr-breadcrumb .rr-bc-separator { margin: 0 var(--space-sm); color: var(--text-on-light-mut); }
.rr-breadcrumb .rr-bc-current { color: var(--text-on-light); font-weight: 500; overflow-wrap: break-word; word-break: break-word; }

/* ═══ PRODUCT PAGE ═══ */
.rr-product-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--brand-dark-100);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.5px;
}
.rr-product-sku { font-family: var(--font-ui); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--brand-dark-400); margin-bottom: var(--space-xl); }
.rr-product-price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand-dark-100); }
.rr-product-price-old { font-family: var(--font-ui); font-weight: 300; font-size: 0.9rem; color: var(--brand-dark-500); text-decoration: line-through; }
.rr-product-installments { font-family: var(--font-ui); font-size: 0.75rem; color: var(--brand-dark-400); margin-top: var(--space-2xs); }
.rr-product-discount {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  margin-top: var(--space-sm);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(46,173,46,0.3);
}

/* Variant Swatches */
.rr-variant-swatch {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
  flex-shrink: 0;
}
.rr-variant-swatch:hover,
.rr-variant-swatch.active {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 2px var(--brand-dark-800), 0 0 0 4px var(--brand-400);
}
.rr-variant-swatch.rr-variant-swatch-out { cursor: pointer; overflow: visible; }
.rr-variant-swatch.rr-variant-swatch-out::before {
  content: '';
  position: absolute;
  left: -4px; right: -4px; top: 50%;
  height: 1.5px;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: center;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 0 0 0.75px rgba(0,0,0,0.5);
  border-radius: 1px;
  pointer-events: none;
  z-index: 2;
}
.rr-variant-swatch.rr-variant-swatch-out:not(.active) { border-color: rgba(255,255,255,0.12); }

/* Variant Pills */
.rr-variant-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--brand-dark-600);
  background: var(--brand-dark-800);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-dark-200);
  cursor: pointer;
  transition: all var(--duration-fast);
  letter-spacing: 0.02em;
}
.rr-variant-pill:hover { border-color: var(--brand-400); color: var(--brand-400); }
.rr-variant-pill.active { border-color: var(--brand-500); background: rgba(46,173,46,0.15); color: var(--brand-400); }
.rr-variant-pill.rr-variant-swatch-out { color: var(--brand-dark-500); border-color: var(--brand-dark-700); cursor: pointer; text-decoration: line-through; text-decoration-thickness: 1px; }

.rr-btn-disabled { background: var(--brand-dark-700) !important; color: var(--brand-dark-500) !important; border-color: var(--brand-dark-700) !important; cursor: not-allowed; }

/* Quantity Input */
/* Quantity selector — pill-style group (produto.php). Escopado em .rr-qty-pill
   para NÃO colidir com o .rr-qty-group compacto do minicart (linha 825). */
.rr-qty-pill {
  display: inline-flex;
  align-items: stretch;
  height: 48px;
  border: 1px solid var(--brand-dark-600);
  border-radius: 999px;
  background: var(--brand-dark-800);
  overflow: hidden;
  user-select: none;
  transition: border-color var(--duration-fast) var(--ease-smooth);
}
.rr-qty-pill:hover,
.rr-qty-pill:focus-within { border-color: var(--brand-500); }
.rr-qty-pill .rr-qty-input {
  width: 68px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--brand-dark-600);
  border-right: 1px solid var(--brand-dark-600);
  border-radius: 0;
  padding: 0 6px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark-100);
  background: transparent;
  outline: none;
  -moz-appearance: textfield;
}
.rr-qty-pill .rr-qty-input::-webkit-outer-spin-button,
.rr-qty-pill .rr-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rr-qty-pill .rr-qty-input:focus-visible { background: rgba(46,173,46,0.06); outline: 2px solid var(--brand-500); outline-offset: -2px; }
.rr-qty-pill .rr-qty-control {
  width: 46px;
  height: 100%;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-dark-300);
  cursor: pointer;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.rr-qty-pill .rr-qty-control:hover { background: rgba(46,173,46,0.08); color: var(--brand-500); }
.rr-qty-pill .rr-qty-control:active { background: rgba(46,173,46,0.15); }
.rr-qty-pill .rr-qty-control:focus-visible { outline: 2px solid var(--brand-500); outline-offset: -2px; }
.rr-qty-pill .rr-qty-control:disabled { opacity: 0.4; cursor: not-allowed; }

/* Product Gallery */
.rr-gallery-wrap { display: flex; gap: var(--space-sm); align-items: flex-start; }
.rr-gallery-thumbs-vert { display: flex; flex-direction: column; gap: var(--space-xs); flex-shrink: 0; width: 76px; }
.rr-gallery-thumb-vert {
  width: 76px; height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  cursor: pointer;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  background: var(--brand-dark-700);
  padding: 0; display: block; flex-shrink: 0; position: relative;
}
.rr-gallery-thumb-vert.active { border-color: var(--brand-400); box-shadow: 0 0 0 1px var(--brand-400); }
.rr-gallery-thumb-vert:hover:not(.active) { border-color: var(--brand-dark-500); }
.rr-gallery-thumb-vert img, .rr-gallery-thumb-video-el { width: 100%; height: 100%; object-fit: cover; display: block; }
.rr-thumb-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  pointer-events: none;
  background: rgba(0,0,0,0.35);
}
.rr-gallery-main {
  flex: 1; min-width: 0;
  aspect-ratio: 1/1;
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.rr-gallery-main img, .rr-gallery-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rr-gallery-video { object-fit: contain; background: #000; }
.rr-gallery-zoomable { cursor: zoom-in; }
.rr-gallery-zoom-inner { width: 100%; height: 100%; will-change: transform; }
.rr-gallery-zoom-inner img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; user-select: none; }
@media (max-width: 768px) {
  .rr-gallery-wrap { flex-direction: column-reverse; }
  .rr-gallery-thumbs-vert { flex-direction: row; width: 100%; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .rr-gallery-thumbs-vert::-webkit-scrollbar { display: none; }
  .rr-gallery-thumb-vert { width: 62px; height: 62px; flex-shrink: 0; }
}

.rr-product-guarantee { display: flex; align-items: center; gap: var(--space-sm); font-family: var(--font-body); font-size: 0.85rem; color: var(--brand-dark-300); }
.rr-product-guarantee svg { width: 18px; height: 18px; stroke: var(--brand-400); stroke-width: 1.5; fill: none; flex-shrink: 0; }

/* ═══ CATEGORY PAGE ═══ */
/* Cabeçalho no padrão das seções da home (headline Manrope escura sobre o
   creme) — a caixa clara com texto claro herdada do tema dark ficava ilegível
   (feedback do owner, 2026-07-30). Tokens legados brand-dark-* estão
   remapeados p/ claros pelo legacy-aliases — usar os tokens do tema atual. */
.rr-cat-hero {
  padding: var(--space-md) 0 var(--space-lg);
  margin-bottom: var(--space-lg);
}
.rr-cat-hero h1 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text-on-light);
  margin-bottom: var(--space-xs);
}
.rr-cat-hero p { font-family: var(--font-family-body); font-size: 0.95rem; color: var(--text-on-light-mut); }
.rr-cat-count { font-family: var(--font-ui); font-size: 0.7rem; color: var(--text-on-light-mut); margin-top: var(--space-sm); }

/* ── Category layout: sidebar + products ── */
.rr-cat-layout {
  /* Paleta da referência "filtro-categoria-desempenho-maximo", escopada ao filtro
     (oliva/creme/preto) — NÃO vaza para o resto do storefront. */
  --fx-creme:       #efe9db;
  --fx-panel:       #f6f2e9;
  --fx-soft:        #efe8d8;
  --fx-linha:       #d9d0bd;
  --fx-linha-forte: #c8bda3;
  --fx-tinta:       #241f18;
  --fx-tinta-suave: #6b6355;
  --fx-oliva:       #556b2f;
  --fx-oliva-escuro:#3f5122;
  --fx-preto:       #16130e;
  --fx-branco:      #ffffff;
  --fx-raio:        12px;
  --fx-raio-sm:     9px;
  --fx-sombra:      0 1px 2px rgba(36,31,24,.06), 0 8px 24px rgba(36,31,24,.06);
  --fx-sombra-forte:0 12px 40px rgba(36,31,24,.16);
  --fx-mola:        cubic-bezier(.22,.61,.36,1);
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding-bottom: var(--space-4xl);
}

/* ═══ Painel de filtros v2 (ref: filtro-categoria-desempenho-maximo) ═══ */
.rr-fx-panel {
  position: sticky;
  top: 20px;
  background: var(--fx-panel);
  border: 1px solid var(--fx-linha);
  border-radius: var(--fx-raio);
  box-shadow: var(--fx-sombra);
  overflow: hidden;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--fx-linha-forte) transparent;
  font-family: 'Manrope', system-ui, sans-serif;
}

/* topo */
.rr-fx-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 16px 18px 14px; border-bottom: 1px solid var(--fx-linha);
}
.rr-fx-title {
  display: flex; align-items: center; gap: 9px;
  font-family: 'Archivo', sans-serif; text-transform: uppercase;
  letter-spacing: .16em; font-weight: 600; font-size: 12px; color: var(--fx-tinta);
}
.rr-fx-title svg { width: 16px; height: 16px; color: var(--fx-oliva); }
.rr-fx-count {
  font-weight: 700; font-size: 12px; background: var(--fx-oliva); color: #fff;
  border-radius: 999px; padding: 3px 9px; min-width: 26px; text-align: center;
  transition: transform .3s var(--fx-mola);
}
.rr-fx-count.pulse { animation: rr-fx-pop .34s var(--fx-mola); }
@keyframes rr-fx-pop { 0%{transform:scale(1)} 45%{transform:scale(1.22)} 100%{transform:scale(1)} }

/* chips ativos */
.rr-fx-active { padding: 12px 18px; border-bottom: 1px solid var(--fx-linha); display: flex; flex-direction: column; gap: 9px; }
.rr-fx-active-row { display: flex; flex-wrap: wrap; gap: 7px; }
.rr-fx-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--fx-branco); border: 1px solid var(--fx-linha-forte);
  border-radius: 999px; padding: 5px 8px 5px 11px;
  font-size: 12.5px; font-weight: 600; color: var(--fx-tinta);
  animation: rr-fx-chipin .28s var(--fx-mola);
}
@keyframes rr-fx-chipin { from{opacity:0;transform:translateY(4px) scale(.96)} to{opacity:1;transform:none} }
.rr-fx-chip button {
  display: grid; place-items: center; width: 16px; height: 16px; border: none; cursor: pointer;
  background: var(--fx-soft); border-radius: 50%; color: var(--fx-tinta-suave);
  transition: background .16s, color .16s;
}
.rr-fx-chip button:hover { background: var(--fx-oliva); color: #fff; }
.rr-fx-chip button svg { width: 9px; height: 9px; }
.rr-fx-clear {
  background: none; border: none; cursor: pointer; align-self: flex-start;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 12.5px; color: var(--fx-oliva-escuro);
  text-decoration: underline; text-underline-offset: 3px; padding: 2px 0;
}
.rr-fx-clear:hover { color: var(--fx-tinta); }

/* seção acordeão */
.rr-fx-sec { border-bottom: 1px solid var(--fx-linha); }
.rr-fx-sec:last-of-type { border-bottom: none; }
.rr-fx-sec-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; padding: 16px 18px;
  font-family: 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600; font-size: 11.5px; color: var(--fx-tinta);
}
.rr-fx-sec-head:hover { color: var(--fx-oliva-escuro); }
.rr-fx-chev { width: 16px; height: 16px; color: var(--fx-tinta-suave); transition: transform .3s var(--fx-mola); }
.rr-fx-sec-head[aria-expanded="true"] .rr-fx-chev { transform: rotate(180deg); }
.rr-fx-sec-body { padding: 2px 18px 20px; }

/* preço: inputs + slider duplo */
.rr-fx-price-inputs { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 20px; }
.rr-fx-field { flex: 1; min-width: 0; }
.rr-fx-field label { display: block; font-size: 11px; color: var(--fx-tinta-suave); font-weight: 600; margin-bottom: 5px; }
.rr-fx-field-box {
  display: flex; align-items: center; gap: 3px; background: var(--fx-branco);
  border: 1.5px solid var(--fx-linha-forte); border-radius: var(--fx-raio-sm);
  padding: 8px 8px; transition: border-color .18s, box-shadow .18s;
}
.rr-fx-field-box:focus-within { border-color: var(--fx-oliva); box-shadow: 0 0 0 3px rgba(85,107,47,.15); }
.rr-fx-field-box span { font-size: 11.5px; color: var(--fx-tinta-suave); font-weight: 600; flex-shrink: 0; }
/* Reset forte: um estilo global de input do storefront (border 2px + fundo
   branco + radius + padding) desenhava uma "caixinha" em volta do número.
   A borda/fundo ficam só no wrapper .rr-fx-field-box, como na referência. */
.rr-fx-field-box input {
  width: 100%; min-width: 0;
  border: none !important; outline: none !important; background: none !important;
  border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; height: auto !important;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13px; color: var(--fx-tinta); letter-spacing: -.01em;
}
.rr-fx-field-box input[type=number] { -moz-appearance: textfield; }
.rr-fx-field-box input::-webkit-outer-spin-button,
.rr-fx-field-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rr-fx-price-sep { padding-bottom: 11px; color: var(--fx-linha-forte); font-weight: 700; }

.rr-fx-range { position: relative; height: 34px; margin: 0 3px; }
.rr-fx-range-track { position: absolute; top: 50%; left: 0; right: 0; height: 5px; transform: translateY(-50%);
  background: var(--fx-soft); border-radius: 999px; border: 1px solid var(--fx-linha); }
.rr-fx-range-fill { position: absolute; top: 50%; height: 5px; transform: translateY(-50%);
  background: var(--fx-oliva); border-radius: 999px; }
.rr-fx-range input[type=range] {
  position: absolute; top: 0; left: 0; width: 100%; height: 34px; margin: 0;
  background: none; -webkit-appearance: none; appearance: none; pointer-events: none;
  outline: none; box-shadow: none;
}
/* mata o anel de foco global (components.css input:focus{box-shadow:var(--ring-focus)})
   que desenhava um quadrado em volta do slider — o foco de teclado fica só na bolinha. */
.rr-fx-range input[type=range]:focus,
.rr-fx-range input[type=range]:focus-visible { outline: none; box-shadow: none; }
.rr-fx-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: all; cursor: grab;
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--fx-oliva);
  box-shadow: 0 2px 6px rgba(36,31,24,.22); transition: transform .12s var(--fx-mola);
}
.rr-fx-range input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.rr-fx-range input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.18); border-color: var(--fx-oliva-escuro); }
.rr-fx-range input[type=range]::-moz-range-thumb {
  pointer-events: all; cursor: grab; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--fx-oliva); box-shadow: 0 2px 6px rgba(36,31,24,.22);
}
.rr-fx-range input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(85,107,47,.28); }
.rr-fx-range input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(85,107,47,.28); }

/* presets de faixa */
.rr-fx-presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.rr-fx-preset {
  background: var(--fx-branco); border: 1px solid var(--fx-linha-forte); border-radius: 999px;
  padding: 6px 12px; font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 600;
  color: var(--fx-tinta-suave); cursor: pointer; transition: all .16s;
}
.rr-fx-preset:hover { border-color: var(--fx-oliva); color: var(--fx-oliva-escuro); }
.rr-fx-preset.is-active { background: var(--fx-oliva); border-color: var(--fx-oliva); color: #fff; }

/* pílulas de tamanho */
.rr-fx-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-fx-tam {
  position: relative; min-width: 52px; padding: 10px 6px; border-radius: var(--fx-raio-sm);
  border: 1.5px solid var(--fx-linha-forte); background: var(--fx-branco); cursor: pointer;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; color: var(--fx-tinta);
  display: flex; flex-direction: column; align-items: center; gap: 2px; transition: all .16s;
}
.rr-fx-tam small { font-size: 10px; font-weight: 600; color: var(--fx-tinta-suave); }
.rr-fx-tam:hover { border-color: var(--fx-oliva); }
.rr-fx-tam.is-active { background: var(--fx-oliva); border-color: var(--fx-oliva); color: #fff; }
.rr-fx-tam.is-active small { color: rgba(255,255,255,.85); }
.rr-fx-tam:disabled { opacity: .4; cursor: not-allowed; }
.rr-fx-tam:disabled:hover { border-color: var(--fx-linha-forte); }
.rr-fx-tam:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(85,107,47,.3); }

/* cores por swatch */
.rr-fx-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.rr-fx-cor {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  background: none; border: none; font-family: 'Manrope', sans-serif; font-size: 11px;
  color: var(--fx-tinta-suave); font-weight: 600; width: 46px;
}
.rr-fx-swatch {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--fx-linha-forte);
  position: relative; transition: transform .16s var(--fx-mola);
}
.rr-fx-cor:hover .rr-fx-swatch { transform: scale(1.08); }
.rr-fx-cor.is-active .rr-fx-swatch { box-shadow: 0 0 0 2px var(--fx-panel), 0 0 0 4px var(--fx-oliva); }
.rr-fx-cor.is-active .rr-fx-swatch::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);
  top: -3px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4));
}
.rr-fx-cor.is-active { color: var(--fx-tinta); }
.rr-fx-cor:focus-visible { outline: none; }
.rr-fx-cor:focus-visible .rr-fx-swatch { box-shadow: 0 0 0 3px rgba(85,107,47,.35); }

/* toggle estoque */
.rr-fx-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.rr-fx-toggle span { font-size: 13.5px; font-weight: 600; color: var(--fx-tinta); }
.rr-fx-switch {
  position: relative; width: 42px; height: 24px; background: var(--fx-linha-forte); border-radius: 999px;
  flex-shrink: 0; transition: background .2s; border: none; cursor: pointer;
}
.rr-fx-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s var(--fx-mola);
}
.rr-fx-switch.on { background: var(--fx-oliva); }
.rr-fx-switch.on::after { transform: translateX(18px); }
.rr-fx-switch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(85,107,47,.3); }

/* CTA + nota */
.rr-fx-cta {
  display: block; width: calc(100% - 36px); margin: 4px 18px 18px;
  background: var(--fx-preto); color: #fff; border: none; border-radius: var(--fx-raio-sm);
  padding: 14px; font-family: 'Archivo', sans-serif; font-weight: 600; letter-spacing: .04em; font-size: 13px;
  text-transform: uppercase; cursor: pointer; transition: transform .12s var(--fx-mola), background .2s;
}
.rr-fx-cta:hover { background: #000; transform: translateY(-1px); }
.rr-fx-cta:active { transform: translateY(0); }
.rr-fx-note { padding: 0 18px 16px; font-size: 11.5px; color: var(--fx-tinta-suave); line-height: 1.45; }

/* gaveta mobile — base (ativada no @media abaixo) */
.rr-fx-open { display: none; }
.rr-fx-overlay { display: none; }

/* Toolbar */
.rr-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--glass-border);
}
.rr-cat-toolbar-count {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--brand-dark-400);
}
.rr-cat-toolbar-count strong {
  color: var(--brand-dark-200);
  font-weight: 600;
}

/* Empty state for filtered results */
.rr-filter-empty {
  padding: var(--space-3xl);
  text-align: center;
  color: var(--brand-dark-400);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* Responsive — painel vira gaveta deslizante */
@media (max-width: 960px) {
  .rr-cat-layout { grid-template-columns: 1fr; }
  .rr-fx-open {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    background: var(--fx-preto); color: #fff; border: none; border-radius: var(--fx-raio-sm);
    padding: 12px 18px; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 12.5px;
    text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
  }
  .rr-fx-open svg { width: 15px; height: 15px; }
  .rr-fx-panel {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); z-index: 1000;
    border-radius: 0; transform: translateX(-100%); transition: transform .32s var(--fx-mola);
    display: flex; flex-direction: column; max-height: 100vh; overflow-y: auto;
  }
  .rr-fx-panel.is-open { transform: none; box-shadow: var(--fx-sombra-forte); }
  .rr-fx-overlay {
    display: block; position: fixed; inset: 0; background: rgba(20,17,12,.42);
    z-index: 999; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .rr-fx-overlay.is-open { opacity: 1; pointer-events: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rr-cat-layout * { transition: none !important; animation: none !important; }
}

/* Sort Dropdown */
.rr-sort-select {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--brand-dark-200);
  padding: 10px 16px;
  border: 1px solid var(--brand-dark-600);
  border-radius: var(--radius-md);
  background: var(--brand-dark-800);
  outline: none;
  cursor: pointer;
  transition: border-color var(--duration-fast);
}
.rr-sort-select:focus { border-color: var(--brand-500); }
.rr-sort-select option { background: var(--brand-dark-800); color: var(--brand-dark-100); }

/* ═══ PAGINATION ═══ */
.rr-pagination { display: flex; justify-content: center; gap: var(--space-xs); margin-top: var(--space-3xl); }
.rr-page-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  padding: 10px 16px;
  border: 1px solid var(--brand-dark-600);
  border-radius: var(--radius-md);
  color: var(--brand-dark-300);
  background: var(--brand-dark-800);
  transition: all var(--duration-fast);
}
.rr-page-link:hover { border-color: var(--brand-500); color: var(--brand-400); }
.rr-page-link.active { background: linear-gradient(135deg, var(--brand-600), var(--brand-500)); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(46,173,46,0.3); }

/* ═══ SEARCH PAGE ═══ */
.rr-search-page-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brand-dark-100);
  padding: 16px 20px;
  border: 1px solid var(--brand-dark-600);
  border-radius: var(--radius-md);
  background: var(--brand-dark-800);
  outline: none;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.rr-search-page-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(46,173,46,0.15); }
.rr-search-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--brand-dark-300);
  transition: all var(--duration-fast);
  display: inline-block;
}
.rr-search-tag:hover { border-color: var(--brand-500); color: var(--brand-400); background: rgba(46,173,46,0.08); }

/* ═══ PAGE HEADER ═══ */
.rr-page-header {
  background: var(--brand-dark-850);
  border-bottom: 1px solid var(--glass-border);
  padding: var(--space-xl) 0 var(--space-2xl);
}
.rr-page-header .rr-breadcrumb { padding: 0 0 var(--space-lg); }
.rr-page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brand-dark-100);
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
}

/* ═══ CART PAGE ═══ */
.rr-cart-section { padding: var(--space-3xl) 0 var(--space-5xl); background: var(--brand-dark-900); min-height: 60vh; overflow-x: clip; }
.rr-cart-layout { display: grid; grid-template-columns: 1fr 520px; gap: var(--space-2xl); align-items: start; }
.rr-cart-items-list { display: flex; flex-direction: column; gap: var(--space-sm); width: 100%; min-width: 0; }
.rr-cart-item {
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  gap: var(--space-lg);
  transition: all var(--duration-normal);
}
.rr-cart-item:hover { border-color: rgba(46,173,46,0.3); box-shadow: var(--shadow-glow); }
.rr-cart-item-image {
  width: 110px; height: 110px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--brand-dark-700);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}
.rr-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.rr-cart-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-sm); }
.rr-cart-item-name { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--brand-dark-100); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.rr-cart-item-variant { font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--brand-400); text-transform: uppercase; margin-top: 2px; }
.rr-cart-item-unit-price { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--brand-dark-200); margin-top: var(--space-xs); }
.rr-cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); }
.rr-cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--glass-border); }
.rr-cart-qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--brand-dark-600); border-radius: var(--radius-md); overflow: hidden; height: 46px; width: auto; }
.rr-cart-qty-btn {
  width: 46px; height: 46px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-size: 1.3rem; font-weight: 300;
  color: var(--brand-dark-400);
  background: var(--brand-dark-800);
  cursor: pointer; flex-shrink: 0; line-height: 1; user-select: none;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.rr-cart-qty-btn:hover { background: var(--brand-dark-700); color: var(--brand-400); }
.rr-cart-qty-btn:active { background: rgba(46,173,46,0.1); }
.rr-cart-qty-val {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--brand-dark-100);
  width: 46px;
  display: flex; align-items: center; justify-content: center;
  border-left: 1.5px solid var(--brand-dark-600);
  border-right: 1.5px solid var(--brand-dark-600);
  background: var(--brand-dark-800);
  user-select: none;
}
.rr-cart-item-total-wrap { text-align: right; flex-shrink: 1; min-width: 0; }
.rr-cart-item-total { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--brand-dark-100); white-space: nowrap; }
.rr-cart-item-installment { font-family: var(--font-ui); font-size: 0.65rem; color: var(--brand-dark-400); margin-top: 2px; white-space: nowrap; }
.rr-cart-remove { color: var(--brand-dark-500); transition: color var(--duration-fast); display: flex; align-items: center; flex-shrink: 0; padding: 4px; }
.rr-cart-remove svg { width: 17px; height: 17px; }
.rr-cart-remove:hover { color: var(--rr-error); }
.rr-cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-lg); margin-top: var(--space-xs); }
.rr-cart-clear-btn { font-family: var(--font-ui); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark-500); transition: color var(--duration-fast); }
.rr-cart-clear-btn:hover { color: var(--rr-error); }

/* Summary card */
.rr-cart-summary {
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}
.rr-cart-summary h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--brand-dark-100); margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--glass-border); letter-spacing: -0.5px; }
.rr-cart-summary-lines { display: flex; flex-direction: column; gap: var(--space-md); margin-bottom: var(--space-lg); }
.rr-cart-summary-line { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: 0.8rem; color: var(--brand-dark-400); }
.rr-cart-summary-line span:last-child { font-weight: 600; color: var(--brand-dark-100); }
.rr-free-shipping-badge { display: flex; align-items: center; gap: var(--space-xs); background: rgba(46,173,46,0.12); color: var(--brand-400); font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-md); border: 1px solid rgba(46,173,46,0.2); }
.rr-free-shipping-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.rr-shipping-progress { }
.rr-shipping-progress-text { font-family: var(--font-ui); font-size: 0.72rem; color: var(--brand-dark-400); margin-bottom: var(--space-sm); }
.rr-shipping-progress-text strong { color: var(--brand-400); }
.rr-cart-summary-total { display: flex; justify-content: space-between; align-items: flex-end; padding: var(--space-lg) 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); margin-bottom: var(--space-lg); }
.rr-cart-summary-total > span { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500; color: var(--brand-dark-300); }
.rr-cart-total-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--brand-dark-100); line-height: 1; text-align: right; }
.rr-cart-total-installments { font-family: var(--font-ui); font-size: 0.65rem; color: var(--brand-dark-400); margin-top: 4px; text-align: right; }

/* ── Shipping Calculator (carrinho) ─────────────────────────────────────── */
.rr-cart-shipping-calc { margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--glass-border); }
.rr-cart-shipping-header { font-family: var(--font-ui); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-dark-400); margin-bottom: var(--space-sm); }
.rr-cart-shipping-row { display: flex; gap: var(--space-sm); align-items: flex-start; }
.rr-cart-shipping-input-wrap { flex: 1; min-width: 0; }
.rr-cart-shipping-city { display: block; font-family: var(--font-ui); font-size: 0.65rem; color: var(--brand-400); margin-top: 4px; letter-spacing: 0.03em; }
.rr-shipping-options { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-sm); }
.rr-shipping-option { cursor: pointer; display: block; }
.rr-shipping-option input { display: none; }
.rr-shipping-option-body { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border: 1px solid var(--glass-border); border-radius: var(--radius-md); transition: all var(--duration-normal); background: var(--surface-base); }
.rr-shipping-option:hover .rr-shipping-option-body { border-color: var(--brand-dark-500); }
.rr-shipping-option.active .rr-shipping-option-body { border-color: var(--brand-500); background: color-mix(in srgb, var(--brand-500) 6%, transparent); }
.rr-shipping-option-info { display: flex; align-items: center; gap: var(--space-sm); }
.rr-shipping-option-info strong { display: block; font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; color: var(--brand-dark-200); }
.rr-shipping-days { display: block; font-family: var(--font-ui); font-size: 0.65rem; color: var(--brand-dark-400); margin-top: 2px; }
.rr-shipping-price { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 700; color: var(--brand-dark-200); white-space: nowrap; }
.rr-spinner-sm { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--glass-border); border-top-color: var(--brand-400); border-radius: 50%; animation: rr-spin 0.7s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }
.rr-shipping-recalc-hint { font-family: var(--font-ui); font-size: 0.65rem; color: var(--brand-dark-400); margin-top: var(--space-xs); display: flex; align-items: center; gap: 4px; }
.rr-shipping-recalc-hint button { background: none; border: none; padding: 0; font: inherit; font-size: 0.65rem; color: var(--brand-400); cursor: pointer; text-decoration: underline; }

/* Coupon */
.rr-coupon-wrap { margin-bottom: var(--space-lg); }
.rr-coupon-row { display: flex; gap: var(--space-sm); }
.rr-coupon-input {
  font-family: var(--font-body); font-size: 0.85rem; color: var(--brand-dark-100);
  padding: 10px 14px;
  border: 1px solid var(--brand-dark-600);
  border-radius: var(--radius-md);
  background: var(--brand-dark-850);
  outline: none; flex: 1;
  transition: border-color var(--duration-fast);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.rr-coupon-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(46,173,46,0.15); }
.rr-msg-ok { font-family: var(--font-display); font-size: 0.65rem; color: var(--brand-400); margin-top: 6px; font-weight: 600; }
.rr-msg-err { font-family: var(--font-ui); font-size: 0.65rem; color: var(--rr-error); margin-top: 6px; }

.rr-cart-checkout-btn { display: flex; align-items: center; justify-content: center; gap: var(--space-sm); }
.rr-cart-checkout-btn svg { width: 16px; height: 16px; }

/* Trust signals */
.rr-cart-trust { display: flex; justify-content: space-between; margin-top: var(--space-lg); padding: var(--space-md) 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); gap: var(--space-sm); }
.rr-cart-trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.rr-cart-trust-item svg { width: 18px; height: 18px; stroke: var(--brand-400); }
.rr-cart-trust-item span { font-family: var(--font-ui); font-size: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark-400); text-align: center; }

.rr-cart-payments { display: flex; justify-content: center; gap: var(--space-md); margin-top: var(--space-md); }
.rr-cart-payments span { font-family: var(--font-ui); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-dark-400); }
.rr-cart-payments span + span::before { content: '·'; margin-right: var(--space-md); color: var(--brand-dark-600); }

/* Shipping Progress */
.rr-shipping-bar {
  width: 100%;
  height: 6px;
  background: var(--rr-gray-200);
  border-radius: 100px;
  overflow: hidden;
}
.rr-shipping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  border-radius: 100px;
  transition: width var(--duration-slow) var(--ease-smooth);
}

.rr-cart-sticky-bar { display: none; }
/* Entre o colapso mobile (900px) e 1100px o resumo volta a 380px para a coluna
   de itens não ficar estreita demais; acima de 1100px usa os 480px (resumo
   ampliado · decisão do usuário). */
@media (max-width: 1100px) and (min-width: 901px) {
  .rr-cart-layout { grid-template-columns: 1fr 380px; }
}
@media (max-width: 900px) {
  .rr-cart-layout { grid-template-columns: 1fr; }
  .rr-cart-items-col { order: 1; }
  .rr-cart-summary-col { order: 2; }
  .rr-cart-summary { position: static; }
  .rr-cart-checkout-desktop { display: none; }
  .rr-cart-sticky-bar {
    display: flex; align-items: center; gap: var(--space-md);
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--rr-white);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-md) var(--space-lg);
    z-index: 200;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.10), 0 -1px 0 rgba(46,173,46,0.1);
  }
  .rr-sticky-bar-total { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
  .rr-sticky-bar-label { font-family: var(--font-ui); font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-dark-400); }
  .rr-sticky-bar-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--brand-dark-100); line-height: 1; }
  .rr-sticky-bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--space-sm); font-size: 0.65rem; }
  .rr-sticky-bar-btn svg { width: 14px; height: 14px; }
  .rr-cart-section { padding-bottom: 100px; }
}
@media (max-width: 480px) {
  .rr-cart-section { padding-top: var(--space-xl); }
  .rr-page-title { font-size: 1.8rem; }
  .rr-cart-item { padding: var(--space-md); gap: var(--space-md); }
  .rr-cart-item-image { width: 88px; height: 88px; }
  .rr-cart-summary { padding: var(--space-lg); }
  .rr-cart-sticky-bar { padding: var(--space-md); }
}

/* ═══ INSTITUTIONAL PAGE ═══ */
.rr-page-content {
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
@media (min-width: 768px) { .rr-page-content { padding: var(--space-3xl); } }
.rr-page-content h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--brand-dark-100); margin-bottom: var(--space-lg); }
.rr-page-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--brand-dark-100); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.rr-page-content p { font-family: var(--font-body); font-size: 0.9rem; color: var(--brand-dark-300); line-height: 1.7; margin-bottom: var(--space-md); }
.rr-page-content ul { list-style: disc; padding-left: var(--space-xl); margin-bottom: var(--space-lg); }
.rr-page-content li { font-family: var(--font-body); font-size: 0.9rem; color: var(--brand-dark-300); margin-bottom: var(--space-xs); }
.rr-page-content a { color: var(--brand-400); font-weight: 500; transition: color var(--duration-fast); }
.rr-page-content a:hover { color: var(--brand-300); }

/* ═══ NEWSLETTER ═══ */
.rr-newsletter {
  background: var(--brand-dark-800);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid rgba(46,173,46,0.15);
  padding: var(--space-4xl) var(--space-xl);
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.rr-newsletter::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(46,173,46,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.rr-newsletter-title { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--brand-dark-100); margin-bottom: var(--space-md); letter-spacing: -0.5px; position: relative; z-index: 1; }
/* margin-inline: auto centraliza o <p> como bloco · necessario porque
   base.css aplica `p { max-width: 65ch }` globalmente · sem margin auto
   o paragrafo fica encostado a esquerda mesmo com text-align: center no
   parent (text-align centraliza o TEXTO dentro do bloco, nao o bloco). */
.rr-newsletter-text { font-family: var(--font-body); font-size: 0.9rem; color: var(--brand-dark-300); margin: 0 auto var(--space-2xl); position: relative; z-index: 1; }
.rr-newsletter-form { display: flex; max-width: 480px; margin: 0 auto; gap: var(--space-md); position: relative; z-index: 1; }
.rr-newsletter-input {
  flex: 1; font-family: var(--font-body); font-size: 0.85rem;
  padding: 14px 20px;
  border: 1px solid var(--brand-dark-600);
  border-radius: var(--radius-md);
  background: var(--brand-dark-850);
  color: var(--brand-dark-100);
  outline: none;
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.rr-newsletter-input::placeholder { color: var(--brand-dark-500); }
.rr-newsletter-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(46,173,46,0.15); }
.rr-newsletter-btn {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff; border: none;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-normal);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(46,173,46,0.3);
}
.rr-newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(46,173,46,0.45); }
@media (max-width: 480px) {
  .rr-newsletter-form { flex-direction: column; }
  .rr-newsletter { padding: var(--space-3xl) var(--space-md); }
  .rr-newsletter-btn { white-space: normal; }
}

/* ═══ FOOTER ═══ */
.rr-footer {
  background: var(--brand-dark-950);
  color: var(--brand-dark-400);
  margin-top: var(--space-4xl);
  border-top: 1px solid var(--glass-border);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) { .rr-footer { margin-top: var(--space-lg); } }
.rr-footer-main { padding: var(--space-4xl) var(--space-xl) var(--space-2xl); max-width: 1280px; margin: 0 auto; }
.rr-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-3xl); margin-bottom: var(--space-4xl); }
@media (max-width: 768px) {
  .rr-footer-main { padding: var(--space-2xl) var(--space-xl) var(--space-xl); }
  .rr-footer-grid { grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: var(--space-xl); }
  .rr-footer-grid > div:first-child { grid-column: 1 / -1; padding-bottom: var(--space-xl); margin-bottom: var(--space-lg); border-bottom: 1px solid rgba(46,173,46,0.12); }
  .rr-footer-desc { max-width: 100%; }
  .rr-footer-social { margin-top: var(--space-lg); }
  .rr-footer-grid > div:nth-child(2), .rr-footer-grid > div:nth-child(3) { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
  .rr-footer-grid > div:nth-child(2) { padding-right: var(--space-md); }
  .rr-footer-grid > div:nth-child(3) { padding-left: var(--space-md); border-left: 1px solid var(--glass-border); }
  .rr-footer-grid > div:last-child { grid-column: 1 / -1; padding-top: var(--space-xl); border-top: 1px solid rgba(46,173,46,0.12); }
  .rr-footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: var(--space-sm); padding: var(--space-lg); }
  .rr-footer-legal-links { justify-content: center; }
  .rr-footer-payments > div { flex-direction: column; gap: var(--space-lg); }
  .rr-footer-payments { padding: var(--space-lg) var(--space-xl); }
}
@media (max-width: 480px) {
  .rr-footer-main { padding: var(--space-xl) var(--space-lg) var(--space-lg); }
  .rr-footer-grid > div:nth-child(2) { padding-right: var(--space-sm); }
  .rr-footer-grid > div:nth-child(3) { padding-left: var(--space-sm); }
  .rr-footer-payments { padding: var(--space-lg); }
  .rr-footer-company { padding: var(--space-lg); }
  .rr-footer-bottom { padding: var(--space-md) var(--space-lg); }
}
.rr-footer-brand { margin-bottom: var(--space-sm); }
.rr-footer-brand .rr-logo-img { height: 68px; width: auto; display: block; }
.rr-footer-tagline { font-family: var(--font-display); font-size: 0.73rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-400); margin-bottom: var(--space-lg); }
.rr-footer-desc { font-family: var(--font-body); font-size: 1.03rem; color: var(--brand-dark-400); line-height: 1.7; max-width: 300px; overflow-wrap: break-word; word-break: break-word; }
.rr-footer-heading { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--brand-400); margin-bottom: var(--space-lg); }
.rr-footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.rr-footer-links a { font-family: var(--font-body); font-size: 0.94rem; color: var(--brand-dark-400); transition: color var(--duration-normal); }
.rr-footer-links a:hover { color: var(--brand-400); }

.rr-footer-social { display: flex; gap: var(--space-md); margin-top: var(--space-xl); }
.rr-footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-normal);
}
.rr-footer-social a:hover { background: rgba(46,173,46,0.15); border-color: var(--brand-500); box-shadow: var(--shadow-glow); }
.rr-footer-social svg { width: 16px; height: 16px; fill: var(--brand-dark-400); transition: fill var(--duration-normal); }
.rr-footer-social a:hover svg { fill: var(--brand-400); }

.rr-footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: var(--space-xl);
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.rr-footer-copy { font-family: var(--font-ui); font-size: 0.79rem; color: var(--brand-dark-500); letter-spacing: 0.05em; }
.rr-footer-legal { font-family: var(--font-ui); font-size: 0.73rem; color: var(--brand-dark-600); overflow-wrap: break-word; word-break: break-word; }
.rr-footer-legal-links { display: flex; gap: var(--space-md); }
.rr-footer-legal-links a { font-family: var(--font-ui); font-size: 0.79rem; color: var(--brand-dark-500); transition: color var(--duration-fast); }
.rr-footer-legal-links a:hover { color: var(--brand-400); }

.rr-footer-payments { border-top: 1px solid var(--glass-border); padding: var(--space-xl); max-width: 1280px; margin: 0 auto; }
.rr-payment-badge {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: var(--radius-md);
}
.rr-payment-badge svg { width: 16px; height: 16px; fill: none; stroke-width: 1.5; }
.rr-payment-badge span { font-family: var(--font-ui); font-size: 0.66rem; font-weight: 500; color: var(--brand-dark-300); }

.rr-footer-company { border-top: 1px solid var(--glass-border); background: var(--brand-dark-850); padding: var(--space-xl); }
.rr-footer-company-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.rr-footer-company p { font-family: var(--font-ui); font-size: 0.72rem; color: var(--brand-dark-500); line-height: 1.8; overflow-wrap: break-word; word-break: break-word; }
.rr-footer-company strong { color: var(--brand-dark-400); }

/* ═══ EMPTY STATES ═══ */
.rr-empty-state { text-align: center; padding: var(--space-4xl) var(--space-xl); }
.rr-empty-state-icon { display: flex; justify-content: center; margin-bottom: var(--space-lg); }
.rr-empty-state h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--brand-dark-100); margin-bottom: var(--space-sm); }
/* margin-inline: auto · centraliza o <p> como bloco · base.css define
   `p { max-width: 65ch }` globalmente · sem margin auto o paragrafo fica
   encostado a esquerda do parent mesmo com text-align: center herdado
   (text-align centraliza o texto interno, nao o bloco). Mesmo fix
   simetrico do .rr-newsletter-text. */
.rr-empty-state p { font-family: var(--font-body); font-size: 0.9rem; color: var(--brand-dark-400); margin: 0 auto var(--space-xl); }

/* ═══ TOAST ═══ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--brand-dark-800);
  border: 1px solid var(--glass-border);
  color: var(--brand-400);
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  z-index: 1000;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  animation: slideUp 0.3s var(--ease-elegant), fadeOut 0.3s ease 2.7s forwards;
  backdrop-filter: blur(20px);
}
.toast--warning { background: #2A1A00; color: #FFD06B; border-color: rgba(245,166,35,0.3); box-shadow: var(--shadow-lg), 0 0 20px rgba(245,166,35,0.15); }

/* ═══ QTY INPUT WARNING ═══ */
.rr-qty-input--warn { border-color: #F5A623; background: rgba(245,166,35,0.08); color: var(--brand-dark-100); box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.rr-qty-input--warn:focus { border-color: #F5A623; box-shadow: 0 0 0 3px rgba(245,166,35,0.25); outline: none; }

/* ═══ GRID HELPERS ═══ */
.rr-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); width: 100%; min-width: 0; }
.rr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); width: 100%; min-width: 0; }
.rr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); width: 100%; min-width: 0; }
.rr-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-lg); width: 100%; min-width: 0; }
.rr-grid-2 > *, .rr-grid-3 > *, .rr-grid-4 > *, .rr-grid-5 > * { min-width: 0; }
@media (max-width: 1023px) { .rr-grid-4 { grid-template-columns: repeat(3, 1fr); } .rr-grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .rr-grid-3 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); } .rr-grid-4 { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); } .rr-grid-5 { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); } }
@media (max-width: 480px) { .rr-grid-4 { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ═══ FORMS ═══ */
.rr-form-group {
  margin-bottom: var(--space-lg);
}
.rr-form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-gray-600);
  margin-bottom: var(--space-xs);
}
.rr-form-group input,
.rr-form-group select,
.rr-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--rr-gray-50);
  border: 1px solid var(--rr-gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--rr-gray-800);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
}
.rr-form-group input::placeholder,
.rr-form-group textarea::placeholder {
  color: var(--rr-gray-400);
}
.rr-form-group input:focus,
.rr-form-group select:focus,
.rr-form-group textarea:focus {
  border-color: var(--brand-500);
  background: var(--rr-white);
  box-shadow: 0 0 0 3px rgba(46,173,46,0.12);
}
.rr-form-group select option {
  background: var(--rr-white);
  color: var(--rr-gray-800);
}

/* ── Password Input ── */
.rr-input-password {
  position: relative;
}
.rr-input-password input {
  padding-right: 44px;
}
.rr-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rr-gray-400);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast);
}
.rr-password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  display: block;
}
.rr-password-toggle:hover { color: var(--rr-gray-600); }

/* ── Form Rows & Hints ── */
.rr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 480px) {
  .rr-form-row { grid-template-columns: 1fr; }
}
.rr-form-hint {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--rr-gray-400);
  margin-top: 4px;
}
.rr-form-hint--success { color: var(--rr-success); }
.rr-form-hint--error { color: var(--rr-error); }
.rr-form-hint--error a { color: var(--rr-error); text-decoration: underline; }
.rr-label-optional {
  color: var(--rr-gray-400);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.rr-form-password-hint {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--rr-gray-400);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}
.rr-input--error { border-color: var(--rr-error) !important; }
.rr-input--success { border-color: var(--rr-success) !important; }

/* ═══ AUTH (Login / Register) ═══ */
.rr-auth-section {
  padding-bottom: var(--space-4xl);
}
.rr-auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--rr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow:
    0 20px 40px -8px rgba(0, 0, 0, 0.08),
    0 8px 16px -4px rgba(0, 0, 0, 0.04),
    0 0 0 1px var(--glass-border);
}

/* ── Auth Header ── */
.rr-auth-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.rr-auth-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}
.rr-auth-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-500);
  stroke-width: 1.5;
  fill: none;
}
.rr-auth-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--rr-gray-800);
  margin-bottom: var(--space-xs);
}
.rr-auth-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--rr-gray-500);
}

/* ── Auth Alerts ── */
.rr-auth-error {
  background: rgba(220, 38, 38, 0.05);
  color: var(--rr-error);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(220, 38, 38, 0.15);
}
.rr-auth-success {
  background: rgba(46, 173, 46, 0.05);
  color: var(--rr-success);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(46, 173, 46, 0.15);
}

/* ── Auth Links ── */
.rr-auth-forgot {
  text-align: right;
  margin-bottom: var(--space-xl);
}
.rr-auth-forgot a,
.rr-auth-back a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--brand-500);
  transition: color var(--duration-fast);
}
.rr-auth-forgot a:hover,
.rr-auth-back a:hover { color: var(--brand-600); }
.rr-auth-back {
  text-align: center;
  margin-top: var(--space-lg);
}
.rr-auth-forgot-desc {
  margin-bottom: var(--space-lg);
}

/* ── Auth Footer ── */
.rr-auth-footer {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--glass-border);
}
.rr-auth-footer p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--rr-gray-500);
}
.rr-auth-footer a {
  color: var(--brand-500);
  font-weight: 600;
  transition: color var(--duration-fast);
}
.rr-auth-footer a:hover { color: var(--brand-600); }

@media (max-width: 480px) {
  .rr-auth-card { padding: var(--space-xl); }
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ═══ RESPONSIVE MENU HELPERS ═══ */
.rr-menu-toggle { display: none !important; }
@media (max-width: 1024px) {
  .rr-menu-toggle { display: inline-flex !important; }
  .rr-header-nav-wrapper { display: none !important; }
}
@media (max-width: 768px) { .rr-user-name { display: none !important; } }

/* ═══ URGENCY SIGNALS ═══ */
/* Badges de urgência da PDP (.rr-urgency-badge / -stock / -demand) removidos
   na limpeza de dark patterns · PDP Themmis é premium · zero dark patterns.
   O .rr-urgency-timer abaixo é do checkout (sidebar.php) · mantido. */
.rr-urgency-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    margin-top: var(--space-sm);
    background: var(--rr-ivory);
    color: var(--rr-gray-700);
    border: 1px solid var(--rr-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 0.78rem;
    line-height: 1;
    width: 100%;
    box-sizing: border-box;
}
.rr-urgency-timer svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
.rr-urgency-timer strong {
    font-family: 'Courier New', monospace;
    color: var(--rr-gold);
    letter-spacing: 0.05em;
}