/* ====================================================
   GalaxyStore — Global CSS v2.0 — Complete Redesign
   Dark (default) / Light themes + animations + glassmorphism
   ==================================================== */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Variables (Dark Theme = default) ── */
:root {
  --bg:           #000000;
  --bg-2:         #050505;
  --bg-3:         #0d0d0d;
  --bg-card:      #070707;
  --bg-glass:     rgba(0,0,0,0.90);
  --border:       #181818;
  --border-glow:  rgba(232,50,28,0.32);
  --red:          #e8321c;
  --red-hover:    #ff4433;
  --red-light:    rgba(232,50,28,0.14);
  --red-glow:     rgba(232,50,28,0.42);
  --text:         #eaeaef;
  --text-muted:   #8a8a9a;
  --text-dim:     #4a4a5a;
  --white:        #ffffff;
  --success:      #27ae60;
  --success-light:rgba(39,174,96,0.12);
  --warning:      #f39c12;
  --warning-light:rgba(243,156,18,0.12);
  --info:         #2980b9;
  --info-light:   rgba(41,128,185,0.12);
  --shadow:       0 4px 32px rgba(0,0,0,0.5);
  --shadow-lg:    0 12px 64px rgba(0,0,0,0.7);
  --shadow-glow:  0 0 40px rgba(192,57,43,0.15);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --blur:         blur(20px);
  --blur-sm:      blur(10px);
  --sidebar-w:    270px;
  --sidebar-cw:   68px;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg:           #f2f2f7;
  --bg-2:         #ffffff;
  --bg-3:         #e8e8f0;
  --bg-card:      #ffffff;
  --bg-glass:     rgba(255,255,255,0.72);
  --border:       #d5d5e0;
  --border-glow:  rgba(192,57,43,0.18);
  --red:          #c0392b;
  --red-hover:    #e74c3c;
  --red-light:    rgba(192,57,43,0.07);
  --red-glow:     rgba(192,57,43,0.2);
  --text:         #1a1a2e;
  --text-muted:   #6a6a7a;
  --text-dim:     #9a9aaa;
  --shadow:       0 4px 32px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 64px rgba(0,0,0,0.12);
  --shadow-glow:  0 0 40px rgba(192,57,43,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition-slow), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-hover); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-hover); }

/* ── Global page transition ── */
main { display: block; margin: 0; padding: 0; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====================================================
   HEADER
   ==================================================== */
.site-header {
  background: rgba(4,4,4,0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(232,50,28,0.22);
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1320px;
  border-radius: 16px;
  z-index: 1000;
  transition: all var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 48px rgba(0,0,0,0.7); border-color: rgba(232,50,28,0.45); }
.header-inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.header-spacer { height: 100px; flex-shrink: 0; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; transition: transform var(--transition); flex-shrink: 0; }
.logo:hover { transform: scale(1.03); }
.logo img { height: 36px; width: auto; filter: drop-shadow(0 2px 10px rgba(232,50,28,0.45)); }
.logo-text { font-size: 1.25rem; font-weight: 900; color: var(--white); letter-spacing: 0.3px; }
.logo-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; list-style: none; }
.nav-mobile-theme { display: none; } /* shown only in mobile hamburger menu */

/* Auth icon buttons (header, deslogado) */
.header-auth-btns { display: flex; align-items: center; gap: 8px; }
.header-auth-icon-btn {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 0.86rem; font-weight: 600; text-decoration: none;
  transition: all var(--transition); white-space: nowrap;
}
.header-auth-icon-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.header-auth-register {
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  border-color: transparent; color: #fff;
}
.header-auth-register:hover { color: #fff; box-shadow: 0 6px 20px rgba(192,57,43,0.4); border-color: transparent; }
.nav-links a {
  color: rgba(255,255,255,0.65); padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 0.86rem; font-weight: 500; transition: all var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; width: 0;
  height: 2px; background: var(--red); border-radius: 1px;
  transition: all var(--transition); transform: translateX(-50%);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.theme-btn:hover { border-color: var(--red); color: var(--red); transform: rotate(180deg); }

.cart-btn {
  position: relative; background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-muted); padding: 8px 16px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500; transition: all var(--transition);
}
.cart-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.cart-badge {
  background: var(--red); color: #fff; border-radius: 50%;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(192,57,43,0); }
}

.notif-btn {
  position: relative; background: none; border: none; color: var(--text-muted);
  font-size: 1.3rem; padding: 4px; transition: all var(--transition);
}
.notif-btn:hover { color: var(--red); transform: scale(1.1); }
.notif-badge {
  position: absolute; top: -4px; right: -6px; background: var(--red); color: #fff;
  border-radius: 50%; min-width: 18px; height: 18px; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: badgePulse 2s ease infinite;
}

.avatar-menu { position: relative; }
.avatar-btn {
  display: flex; align-items: center; gap: 8px; background: var(--bg-3);
  border: 1px solid var(--border); color: var(--text);
  padding: 5px 14px 5px 5px; border-radius: 50px;
  cursor: pointer; transition: all var(--transition);
}
.avatar-btn:hover { border-color: var(--red); box-shadow: var(--shadow-glow); }
.avatar-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; transition: border-color var(--transition); }
.avatar-btn:hover img { border-color: var(--red); }
.avatar-btn .av-placeholder {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: #fff;
}

.dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius); min-width: 210px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(-10px) scale(0.96); transition: all var(--transition); z-index: 999; overflow: hidden;
}
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 16px; color: var(--text); font-size: 0.88rem;
  text-decoration: none; background: none; border: none; text-align: left;
  transition: all var(--transition);
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--red-light); color: var(--red); padding-left: 20px; }
.dropdown-menu .divider { height: 1px; background: var(--border); margin: 4px 0; }

.notif-dropdown {
  position: absolute; top: calc(100% + 10px); right: -8px; width: 360px;
  background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.96);
  transition: all var(--transition); z-index: 999; overflow: hidden;
}
.notif-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.notif-header { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.notif-header h6 { font-size: 0.9rem; font-weight: 700; }
.notif-header a { font-size: 0.78rem; color: var(--red); }
.notif-item { padding: 12px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: all var(--transition); }
.notif-item:hover { background: var(--red-light); }
.notif-item.unread { border-left: 3px solid var(--red); }
.notif-item h6 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.notif-item p { font-size: 0.78rem; color: var(--text-muted); }
.notif-item time { font-size: 0.72rem; color: var(--text-dim); }
.notif-eye-btn { opacity: 0.4; transition: all var(--transition); font-size: 0.85rem; line-height: 1; }
.notif-eye-btn:hover { opacity: 1; color: var(--red) !important; transform: scale(1.2); }
.notif-empty { padding: 28px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ====================================================
   SIDEBAR — Collapsible (hover-expand / pin)
   ==================================================== */
.panel-layout { display: flex; min-height: 100vh; }

/* ── Base sidebar (collapsed = default on desktop) ── */
.sidebar {
  width: var(--sidebar-cw);
  background: var(--bg-glass);
  backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 900; overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}
.sidebar.expanded { width: var(--sidebar-w); overflow-y: auto; }

/* Shadow when hovering over content (auto-expand only) */
.sidebar.expanded:not(.pinned) {
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35);
}

/* ── Sidebar scrollbar ── */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ── Logo area ── */
.sidebar-logo {
  padding: 20px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  position: relative; min-height: 72px;
  justify-content: center;
  transition: padding 0.3s ease;
}
.sidebar.expanded .sidebar-logo { padding: 20px; justify-content: flex-start; }
.sidebar-logo img { height: 32px; filter: drop-shadow(0 2px 8px rgba(192,57,43,0.3)); flex-shrink: 0; }
.sidebar-logo h2 {
  font-size: 1.05rem; font-weight: 800; color: var(--white);
  white-space: nowrap; overflow: hidden;
  opacity: 0; max-width: 0;
  transition: opacity 0.2s ease 0.05s, max-width 0.3s ease;
}
.sidebar-logo h2 span { color: var(--red); }
.sidebar.expanded .sidebar-logo h2 { opacity: 1; max-width: 200px; }

/* ── Pin button ── */
.sidebar-pin {
  position: absolute; top: 50%; right: 10px;
  transform: translateY(-50%); width: 26px; height: 26px;
  border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.7rem;
  transition: all var(--transition);
  opacity: 0; pointer-events: none; z-index: 5;
}
.sidebar.expanded .sidebar-pin { opacity: 1; pointer-events: auto; }
.sidebar-pin:hover { background: var(--red); color: #fff; border-color: var(--red); }
.sidebar.pinned .sidebar-pin {
  color: var(--red); transform: translateY(-50%) rotate(45deg);
}

/* ── Nav area ── */
.sidebar-nav { padding: 16px 8px; flex: 1; transition: padding 0.3s ease; }
.sidebar.expanded .sidebar-nav { padding: 16px 12px; }

.sidebar-section { margin-bottom: 14px; transition: margin 0.3s ease; }
.sidebar.expanded .sidebar-section { margin-bottom: 24px; }

.sidebar-section-title {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden;
  height: 0; opacity: 0; margin: 0; padding: 0;
  transition: all 0.25s ease;
}
.sidebar.expanded .sidebar-section-title {
  height: auto; opacity: 1; padding: 6px 12px; margin-bottom: 6px;
}

/* ── Links ── */
.sidebar-link {
  display: flex; align-items: center; gap: 0;
  padding: 10px 0; border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: all var(--transition);
  margin-bottom: 2px; position: relative; overflow: hidden;
  justify-content: center;
}
.sidebar.expanded .sidebar-link {
  justify-content: flex-start; padding: 10px 14px; gap: 10px;
}
.sidebar-link::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--red); border-radius: 0 3px 3px 0;
  transform: scaleY(0); transition: transform var(--transition);
}
.sidebar-link:hover { background: var(--bg-3); color: var(--text); }
.sidebar.expanded .sidebar-link:hover { padding-left: 18px; }
.sidebar-link:hover::before { transform: scaleY(1); }
.sidebar-link.active { background: var(--red-light); color: var(--red); }
.sidebar-link.active::before { transform: scaleY(1); }

.sidebar-link .icon { font-size: 1.05rem; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-link .link-text {
  white-space: nowrap; overflow: hidden;
  opacity: 0; max-width: 0;
  transition: opacity 0.2s ease 0.05s, max-width 0.3s ease;
}
.sidebar.expanded .sidebar-link .link-text { opacity: 1; max-width: 200px; }

/* Badge */
.sidebar-link .badge {
  margin-left: auto; background: var(--red); color: #fff;
  border-radius: 50px; font-size: 0.68rem; font-weight: 700;
  animation: badgePulse 2s ease infinite;
  white-space: nowrap; flex-shrink: 0;
  padding: 2px 8px;
  transition: all 0.3s ease;
}
/* Collapsed: badge becomes a small dot */
.sidebar:not(.expanded) .sidebar-link .badge {
  position: absolute; top: 4px; right: 6px;
  width: 8px; height: 8px; min-width: 8px;
  padding: 0; font-size: 0; overflow: hidden;
}

/* ── Footer ── */
.sidebar-footer {
  padding: 12px 8px; border-top: 1px solid var(--border);
  transition: padding 0.3s ease;
}
.sidebar.expanded .sidebar-footer { padding: 16px 12px; }

.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--radius-sm);
  transition: all var(--transition); justify-content: center;
}
.sidebar.expanded .sidebar-user { justify-content: flex-start; padding: 10px 12px; }
.sidebar-user:hover { background: var(--bg-3); }
.sidebar-user img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border); flex-shrink: 0;
}
.sidebar-user .user-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 0.9rem; flex-shrink: 0;
}

.sidebar-user-info {
  white-space: nowrap; overflow: hidden;
  opacity: 0; max-width: 0;
  transition: opacity 0.2s ease 0.05s, max-width 0.3s ease;
}
.sidebar-user-info h6 { font-size: 0.85rem; font-weight: 600; }
.sidebar-user-info small { font-size: 0.75rem; color: var(--text-muted); }
.sidebar.expanded .sidebar-user-info { opacity: 1; max-width: 200px; }

/* Footer buttons: icon-only when collapsed */
.sidebar-footer .btn {
  display: flex; align-items: center; justify-content: center;
  gap: 0; transition: all var(--transition);
}
.sidebar.expanded .sidebar-footer .btn { gap: 6px; }
.sidebar-footer .btn .btn-text {
  white-space: nowrap; overflow: hidden;
  opacity: 0; max-width: 0;
  transition: opacity 0.2s ease 0.05s, max-width 0.3s ease;
}
.sidebar.expanded .sidebar-footer .btn .btn-text { opacity: 1; max-width: 100px; }

/* ── Sidebar overlay (mobile) ── */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(2px);
  z-index: 899; opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.active { display: block; opacity: 1; }

/* ── Panel main ── */
.panel-main {
  flex: 1; margin-left: var(--sidebar-cw); min-height: 100vh;
  display: flex; flex-direction: column;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.sidebar-pinned .panel-main { margin-left: var(--sidebar-w); }

.panel-topbar {
  background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border); padding: 0 28px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 800;
}
.panel-topbar h1 { font-size: 1.1rem; font-weight: 700; }
.panel-content { padding: 28px; flex: 1; animation: panelEnter 0.4s ease both; }
@keyframes panelEnter { from { opacity: 0; } to { opacity: 1; } }

/* ====================================================
   FOOTER
   ==================================================== */
.site-footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 64px 0 36px; margin-top: auto; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-50%);
}
.footer-grid { max-width: 1320px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h6 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.88rem; transition: all var(--transition); }
.footer-col ul li a:hover { color: var(--red); padding-left: 4px; }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text-muted); font-size: 1rem; transition: all var(--transition);
}
.social-links a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); box-shadow: 0 4px 16px rgba(192,57,43,0.3); }
.footer-bottom { max-width: 1320px; margin: 36px auto 0; padding: 20px 28px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600;
  border: none; cursor: pointer; transition: all var(--transition);
  text-decoration: none; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary { background: linear-gradient(135deg, var(--red), var(--red-hover)); color: #fff; box-shadow: 0 2px 12px rgba(192,57,43,0.25); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(192,57,43,0.4); }
.btn-secondary { background: var(--bg-3); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.btn-danger { background: linear-gradient(135deg, #7b1d1d, #991b1b); color: #fff; }
.btn-danger:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-success { background: linear-gradient(135deg, #1e8449, var(--success)); color: #fff; }
.btn-success:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ====================================================
   CARDS
   ==================================================== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); position: relative;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,57,43,0.2), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { border-color: rgba(192,57,43,0.2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-body { padding: 24px; }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-header h5 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); }

.card-glass { background: var(--bg-glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid var(--border); border-radius: var(--radius); }

/* Product card */
/* ── Product Card ─────────────────────────────────── */
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); display: flex; flex-direction: column; position: relative;
}
.product-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 55%, rgba(232,50,28,0.07));
  opacity: 0; transition: opacity var(--transition); pointer-events: none;
}
.product-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: 0 20px 52px rgba(0,0,0,0.45), var(--shadow-glow); }
.product-card:hover::after { opacity: 1; }

/* imagem */
.product-card .product-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); position: relative; }
.product-card .product-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.product-card:hover .product-img img { transform: scale(1.06); }

/* badge "Assinatura" flutuante na imagem */
.product-img-sub-badge {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.4px;
  padding: 3px 9px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; gap: 5px;
}
.product-img-sub-badge i { color: var(--red); font-size: 0.65rem; }

/* ribbon - últimas / desconto */
.product-ribbon {
  position: absolute; top: 10px; left: -1px; z-index: 3;
  background: var(--red); color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 3px 10px 3px 8px; border-radius: 0 50px 50px 0;
  letter-spacing: 0.3px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(232,50,28,0.4);
}
.product-ribbon--discount {
  background: #16a34a; box-shadow: 0 2px 8px rgba(22,163,74,0.4);
}

/* info abaixo da imagem */
.product-card .product-info { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 0; }
.product-card .product-name {
  font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: #fff;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card a .product-name { color: #fff; }
.product-card a:hover .product-name { color: var(--red-hover); }

/* rating */
.product-card .product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 0.78rem; }
.product-card .product-rating .stars { color: #f39c12; letter-spacing: 0.5px; font-size: 0.82rem; }
.product-card .product-rating .rating-value { font-weight: 700; color: var(--text); }
.product-card .product-rating .rating-count { color: var(--text-muted); }

/* bloco de preço redesenhado */
.product-price-block { margin-top: auto; padding-top: 6px; margin-bottom: 10px; }
.price-top-row { display: flex; align-items: center; gap: 7px; margin-bottom: 2px; }
.price-original { font-size: 0.78rem; color: var(--text-dim); font-weight: 400; text-decoration: line-through; }
.price-off-pill {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase;
  background: rgba(22,163,74,0.18); color: #22c55e;
  padding: 2px 7px; border-radius: 50px;
}
.price-from-label { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1px; }
.price-sub-hint { font-size: 0.7rem; color: var(--text-dim); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.price-main { font-size: 1.3rem; font-weight: 900; color: var(--red); line-height: 1.1; }

/* stock badges */
.product-card .stock-badge { font-size: 0.7rem; padding: 3px 9px; border-radius: 50px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap; }
.stock-ok  { background: rgba(39,174,96,0.12);  color: #27ae60; }
.stock-low { background: rgba(243,156,18,0.12); color: #f39c12; }
.stock-out { background: rgba(192,57,43,0.12);  color: var(--red); }

/* ====================================================
   FORMS
   ==================================================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-control {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text); padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; transition: all var(--transition); appearance: none;
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(192,57,43,0.15); background: var(--bg-2); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23888'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-error { color: var(--red); font-size: 0.82rem; margin-top: 4px; }
.form-help { color: var(--text-dim); font-size: 0.78rem; margin-top: 4px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

/* ====================================================
   ALERTS / TOASTS
   ==================================================== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; animation: alertSlide 0.3s ease both; }
@keyframes alertSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.alert-success { background: rgba(39,174,96,0.1); border: 1px solid rgba(39,174,96,0.25); color: #27ae60; }
.alert-error, .alert-danger { background: rgba(192,57,43,0.1); border: 1px solid rgba(192,57,43,0.25); color: var(--red); }
.alert-warning { background: rgba(243,156,18,0.1); border: 1px solid rgba(243,156,18,0.25); color: #f39c12; }
.alert-info { background: rgba(41,128,185,0.1); border: 1px solid rgba(41,128,185,0.25); color: #2980b9; }

.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-lg); font-size: 0.88rem; max-width: 360px;
  animation: toastIn 0.4s cubic-bezier(0.34,1.56,0.64,1); display: flex; align-items: flex-start; gap: 10px;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--red); }
.toast.info { border-left: 4px solid var(--info); }
@keyframes toastIn { from { transform: translateX(120%) scale(0.8); opacity: 0; } to { transform: translateX(0) scale(1); opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; transform: translateX(120%); } }

/* ====================================================
   TABLES
   ==================================================== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead { background: var(--bg-3); }
thead th { padding: 14px 16px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: all var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--red-light); }
tbody td { padding: 14px 16px; color: var(--text); }

/* ====================================================
   BADGES
   ==================================================== */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 50px; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.3px; }
.badge-red { background: rgba(192,57,43,0.12); color: var(--red); }
.badge-green { background: rgba(39,174,96,0.12); color: var(--success); }
.badge-yellow { background: rgba(243,156,18,0.12); color: var(--warning); }
.badge-blue { background: rgba(41,128,185,0.12); color: var(--info); }
.badge-gray { background: var(--bg-3); color: var(--text-muted); }

/* ====================================================
   SECTIONS (Homepage)
   ==================================================== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header h2 span { color: var(--red); }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* Hero */
/* Hero */
.hero { position: relative; padding: 36px 0 60px; overflow: hidden; background: #000; }
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
  opacity: 0.15;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(6,6,8,0.55) 0%,
    rgba(6,6,8,0.35) 50%,
    rgba(6,6,8,0.75) 100%
  );
}
#hero-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}


/* Hero layout — text left, carousels right */
.hero-layout {
  display: flex; align-items: center; gap: 48px;
  position: relative; z-index: 4;
}
.hero-text {
  flex: 0 1 480px; min-width: 0; text-align: left;
  perspective: 1200px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(15,15,20,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 0.82rem; font-weight: 700;
  color: var(--text);
  backdrop-filter: blur(8px);
  animation: fadeInLeft 0.6s 0.1s ease both;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.hero-eyebrow:hover {
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 0 18px rgba(88,101,242,0.25);
  transform: translateY(-1px);
  color: var(--text);
}
.eyebrow-rating {
  display: flex; align-items: center; gap: 5px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.eyebrow-star {
  display: inline-block;
  color: #f59e0b;
  font-size: 1rem;
  animation: starSpin 2.4s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(245,158,11,0.8));
}
@keyframes starSpin {
  0%   { transform: rotate(0deg) scale(1);    filter: drop-shadow(0 0 4px rgba(245,158,11,0.8)); }
  20%  { transform: rotate(20deg) scale(1.25); filter: drop-shadow(0 0 10px rgba(245,158,11,1)); }
  40%  { transform: rotate(-10deg) scale(1.1); filter: drop-shadow(0 0 6px rgba(245,158,11,0.9)); }
  60%  { transform: rotate(10deg) scale(1.2);  filter: drop-shadow(0 0 12px rgba(253,224,71,1)); }
  80%  { transform: rotate(-5deg) scale(1.05); filter: drop-shadow(0 0 5px rgba(245,158,11,0.7)); }
  100% { transform: rotate(0deg) scale(1);    filter: drop-shadow(0 0 4px rgba(245,158,11,0.8)); }
}
.eyebrow-sep {
  display: inline-block;
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
}
.eyebrow-reviews {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
}
.eyebrow-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin-left: 2px;
}
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-24px) rotateY(6deg); } to { opacity: 1; transform: translateX(0) rotateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; line-height: 1.08; margin-bottom: 22px; letter-spacing: -1.5px; animation: fadeInLeft 0.6s 0.2s ease both; }
.hero h1 span { background: linear-gradient(135deg, var(--red), var(--red-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; animation: fadeInLeft 0.6s 0.3s ease both; }
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; animation: fadeInLeft 0.6s 0.4s ease both; align-items: center; }

/* Hero CTA buttons */
.btn-hero-primary {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--red) 0%, #e74c3c 50%, #ff6b5b 100%);
  background-size: 200% 200%;
  color: #fff; font-size: 1rem; font-weight: 700;
  border-radius: 50px; border: none; text-decoration: none;
  box-shadow: 0 4px 20px rgba(192,57,43,0.45), 0 1px 0 rgba(255,255,255,0.15) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.4s ease;
  letter-spacing: 0.2px;
}
.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(192,57,43,0.6), 0 1px 0 rgba(255,255,255,0.15) inset;
  background-position: 100% 0;
}
.btn-hero-primary:active { transform: translateY(-1px) scale(1); }
.btn-shimmer {
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  animation: shimmerSlide 2.8s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0%   { left: -75%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82); font-size: 1rem; font-weight: 600;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.18);
  text-decoration: none; letter-spacing: 0.2px;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255,255,255,0.07);
}
.btn-arrow {
  font-size: 0.8rem;
  opacity: 0.6;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.btn-hero-ghost:hover .btn-arrow {
  transform: translateX(4px);
  opacity: 1;
}
.hero-stats { display: flex; gap: 36px; justify-content: flex-start; margin-top: 48px; flex-wrap: wrap; animation: fadeInLeft 0.6s 0.5s ease both; }
.stat-item { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--red), var(--red-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

/* 3-column vertical carousels */
.hero-carousels {
  flex: 1 1 600px; height: 480px; display: flex; gap: 14px;
  perspective: 1000px;
  transform-style: preserve-3d;
  margin-right: -80px;
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}
.hero-col {
  flex: 1; overflow: hidden; border-radius: 16px; position: relative;
  transform-style: preserve-3d;
}
.hero-col:first-child {
  transform: rotateY(-8deg) translateZ(-20px);
}
.hero-col:nth-child(2) {
  transform: translateZ(30px) scale(1.04);
  z-index: 2;
}
.hero-col:last-child {
  transform: rotateY(8deg) translateZ(-20px);
}
.hero-col-track {
  display: flex; flex-direction: column; gap: 16px; will-change: transform;
}
.hero-col-up .hero-col-track {
  animation: heroScrollUp 28s linear infinite;
}
.hero-col-down .hero-col-track {
  animation: heroScrollDown 28s linear infinite;
}
@keyframes heroScrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes heroScrollDown {
  0%   { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* Pause on hover */
.hero-col:hover .hero-col-track,
.hero-col.paused .hero-col-track {
  animation-play-state: paused;
}

/* Product cards inside carousel */
.hero-card {
  display: block; position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
  flex-shrink: 0; aspect-ratio: 16/9;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.hero-card:hover {
  transform: scale(1.06) translateZ(16px);
  box-shadow: 0 12px 44px rgba(192,57,43,0.3), 0 4px 16px rgba(0,0,0,0.2);
  z-index: 2;
}
.hero-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
  transition: transform 0.4s ease;
}
.hero-card:hover img { transform: scale(1.08); }
.hero-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 10px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.hero-card:hover .hero-card-overlay { opacity: 1; }
.hero-card-overlay span {
  font-size: 0.75rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}

/* Verified badge (navbar) */
.verified-badge { vertical-align: middle; margin-left: 5px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(29,155,240,0.55)); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* Live feed */
.live-feed { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; max-height: 380px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.live-feed::-webkit-scrollbar { width: 4px; }
.live-feed::-webkit-scrollbar-track { background: transparent; }
.live-feed::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); transition: all 0.3s ease; animation: feedSlide 0.5s ease both; border: 1px solid transparent; margin-bottom: 4px; position: relative; overflow: hidden; }
.feed-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); border-radius: 3px 0 0 3px; opacity: 0; transition: opacity 0.3s; }
.feed-item:hover { background: var(--bg-3); border-color: var(--border); }
.feed-item:hover::before { opacity: 1; }
.feed-item:last-child { margin-bottom: 0; }
.feed-item-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(192,57,43,0.15), rgba(192,57,43,0.05)); border: 1px solid rgba(192,57,43,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1rem; flex-shrink: 0; transition: transform 0.3s, background 0.3s; }
.feed-item:hover .feed-item-icon { transform: scale(1.08); background: linear-gradient(135deg, rgba(192,57,43,0.25), rgba(192,57,43,0.1)); }
.feed-item-body { flex: 1; min-width: 0; }
.feed-item-top { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.feed-item-user { font-size: 0.84rem; font-weight: 600; color: var(--text); white-space: nowrap; }
.feed-item-action { font-size: 0.78rem; color: var(--text-dim); }
.feed-item-product { font-size: 0.84rem; font-weight: 700; color: var(--red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.feed-item-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.feed-item-price { font-size: 0.78rem; font-weight: 700; color: var(--text); background: var(--bg-3); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.feed-item-time { font-size: 0.7rem; color: var(--text-dim); white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.feed-item-time i { font-size: 0.6rem; }
@keyframes feedSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; transition: border-color var(--transition); }
.faq-item:hover { border-color: rgba(192,57,43,0.2); }
.faq-item.open { border-color: var(--red); }
.faq-question { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: all var(--transition); }
.faq-question:hover { background: var(--bg-3); }
.faq-question .faq-icon { color: var(--red); font-size: 1.2rem; transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.4s ease; padding: 0 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 20px 20px; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: all var(--transition); }
.feature-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.feature-icon { width: 64px; height: 64px; background: var(--red-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 18px; color: var(--red); transition: all var(--transition); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 0 24px rgba(192,57,43,0.25); }
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Feedback Marquee (infinite auto-scroll) */
.feedback-marquee-section { padding: 48px 0 56px; overflow: hidden; }
.feedback-marquee-wrap { position: relative; width: 100%; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent); }
.feedback-marquee-track { display: flex; gap: 20px; width: max-content; animation: feedbackMarquee 25s linear infinite; }
.feedback-marquee-wrap:hover .feedback-marquee-track,
.feedback-marquee-wrap.paused .feedback-marquee-track { animation-play-state: paused; }
@keyframes feedbackMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.feedback-marquee-card { flex: 0 0 auto; width: 320px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .3s, transform .3s; }
.feedback-marquee-card:hover { border-color: rgba(192,57,43,0.3); transform: translateY(-3px); }
.feedback-stars { color: #f39c12; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.feedback-comment { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.feedback-author { display: flex; align-items: center; gap: 10px; }
.feedback-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.feedback-author .avatar-ph { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-hover)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.85rem; }
.feedback-author-name { font-size: 0.85rem; font-weight: 600; }
.feedback-author-product { font-size: 0.73rem; color: var(--text-dim); }
/* Legacy carousel controls (kept for compatibility) */
.carousel-controls { display: none; }
.carousel-btn { display: none; }

/* ====================================================
   PRODUCT DETAIL CAROUSEL
   ==================================================== */
.pd-carousel { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.pd-carousel-track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.pd-carousel-slide { flex: 0 0 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-3); display: flex; align-items: center; justify-content: center; }
.pd-carousel-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.pd-carousel-arrow { position: absolute; top: 50%; transform: translateY(-60%); background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.1); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.9rem; transition: all 0.25s; z-index: 2; opacity: 0; }
.pd-carousel:hover .pd-carousel-arrow { opacity: 1; }
.pd-carousel-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-60%) scale(1.1); }
.pd-arrow-prev { left: 12px; }
.pd-arrow-next { right: 12px; }
.pd-carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.pd-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--border); background: transparent; cursor: pointer; transition: all 0.25s; padding: 0; }
.pd-dot.active { background: var(--red); border-color: var(--red); transform: scale(1.2); }
.pd-dot:hover:not(.active) { border-color: var(--text-muted); }
.pd-carousel-thumbs { display: flex; gap: 8px; padding: 0 12px 12px; overflow-x: auto; scrollbar-width: none; }
.pd-carousel-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb { flex: 0 0 64px; height: 48px; border-radius: 6px; overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: all 0.25s; padding: 0; background: var(--bg-3); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.6; transition: opacity 0.25s; }
.pd-thumb.active { border-color: var(--red); }
.pd-thumb.active img, .pd-thumb:hover img { opacity: 1; }

/* ====================================================
   CART / CHECKOUT
   ==================================================== */
.cart-page { padding: 20px 0 48px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); transition: all var(--transition); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-3); }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; }
.cart-item-price { color: var(--red); font-weight: 700; }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border); color: var(--text); font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition); }
.qty-btn:hover { border-color: var(--red); color: var(--red); transform: scale(1.1); }
.qty-input { width: 44px; text-align: center; background: var(--bg-3); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); padding: 4px; font-size: 0.9rem; font-weight: 600; }
.order-summary { background: var(--bg-glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: sticky; top: 88px; }
.order-summary h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 14px; }
.summary-row.total { font-size: 1.2rem; font-weight: 900; padding-top: 16px; border-top: 1px solid var(--border); }
.summary-row .value-red { color: var(--red); }

/* PIX Payment */
.pix-container { max-width: 520px; margin: 48px auto; text-align: center; }
.pix-qr { background: #fff; border-radius: var(--radius); padding: 24px; display: inline-block; margin: 24px 0; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.pix-qr img { width: 200px; height: 200px; }
.pix-copy { display: flex; gap: 8px; margin-bottom: 16px; }
.pix-copy input { flex: 1; font-size: 0.8rem; }
.pix-status { padding: 16px; border-radius: var(--radius-sm); font-weight: 600; transition: all var(--transition); }
.pix-status.waiting { background: rgba(243,156,18,0.1); color: var(--warning); border: 1px solid rgba(243,156,18,0.2); animation: statusPulse 2s ease infinite; }
.pix-status.paid { background: rgba(39,174,96,0.1); color: var(--success); border: 1px solid rgba(39,174,96,0.2); }
@keyframes statusPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(243,156,18,0.2); } 50% { box-shadow: 0 0 0 8px rgba(243,156,18,0); } }
.pix-timer { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }

/* ====================================================
   PAGINATION
   ==================================================== */
.pagination { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.page-btn { min-width: 38px; height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 0.86rem; font-weight: 500; cursor: pointer; background: var(--bg-3); transition: all var(--transition); text-decoration: none; }
.page-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.page-btn.active { background: linear-gradient(135deg, var(--red), var(--red-hover)); border-color: var(--red); color: #fff; box-shadow: 0 2px 12px rgba(192,57,43,0.3); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ====================================================
   MODAL
   ==================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; box-sizing: border-box; background: rgba(0,0,0,0.6); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); transform: scale(0.9) translateY(20px); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h5 { font-size: 1.05rem; font-weight: 700; }
.modal-close { background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: all var(--transition); }
.modal-close:hover { color: var(--red); border-color: var(--red); transform: rotate(90deg); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ====================================================
   WIZARD MODAL (Product)
   ==================================================== */

/* ====================================================
   CUSTOM CONFIRM DIALOG
   (overlay usa .modal-overlay via template, z-index:10000)
   ==================================================== */
.confirm-dialog {
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  width: 100%; max-width: 380px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .confirm-dialog { transform: scale(1) translateY(0); }

.confirm-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.confirm-icon-danger  { background: var(--red-light); color: var(--red); border: 2px solid rgba(192,57,43,0.25); }
.confirm-icon-warning { background: var(--warning-light); color: var(--warning); border: 2px solid rgba(243,156,18,0.25); }
.confirm-icon-info    { background: var(--info-light); color: var(--info); border: 2px solid rgba(41,128,185,0.25); }

.confirm-message {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 500;
}
.confirm-actions {
  display: flex; gap: 10px; justify-content: center;
}
.confirm-actions .btn {
  min-width: 110px;
  font-weight: 600;
  padding: 10px 20px;
}

/* ====================================================
   ICON PICKER
   ==================================================== */
.icon-picker-wrap {
  display: flex; gap: 8px; align-items: center;
}
.icon-picker-preview {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 14px; cursor: pointer; transition: border-color var(--transition);
  min-height: 42px;
}
.icon-picker-preview:hover { border-color: var(--red); }
.icon-picker-preview i { font-size: 1.3rem; color: var(--red); min-width: 22px; text-align: center; }
.icon-picker-preview span { font-size: .82rem; color: var(--text-muted); }

.icon-picker-modal { max-width: 620px; width: 95vw; }
.icon-picker-modal .modal-body { padding: 16px 20px 20px; }
.icon-picker-search {
  margin-bottom: 10px; position: relative;
}
.icon-picker-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .85rem; }
.icon-picker-search input { padding-left: 34px; }
.icon-picker-tabs {
  display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap;
}
.icon-tab {
  padding: 7px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-2);
  color: var(--text-muted); font-size: .78rem; cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: .01em;
}
.icon-tab i { font-size: .7rem; }
.icon-tab:hover { border-color: var(--red); color: var(--text); background: var(--bg-3); }
.icon-tab.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 2px 8px rgba(192,57,43,.25); }
.icon-picker-count {
  font-size: .72rem; color: var(--text-muted); margin-bottom: 8px; padding-left: 2px;
}
.icon-picker-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 5px;
  max-height: 55vh; overflow-y: auto; padding: 4px 2px 4px 0;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.icon-picker-grid::-webkit-scrollbar { width: 5px; }
.icon-picker-grid::-webkit-scrollbar-track { background: transparent; }
.icon-picker-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.icon-picker-grid::-webkit-scrollbar-thumb:hover { background: var(--red); }
.icon-picker-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 4px; border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent; transition: all var(--transition); background: transparent;
  color: var(--text);
}
.icon-picker-item:hover { background: var(--bg-3); border-color: var(--border); }
.icon-picker-item.selected { background: rgba(192,57,43,0.12); border-color: var(--red); color: var(--red); }
.icon-picker-item i { font-size: 1.3rem; }
.icon-picker-item span { font-size: .55rem; color: var(--text-muted); line-height: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.icon-picker-empty { text-align: center; padding: 32px; color: var(--text-muted); font-size: .9rem; }

/* ====================================================
   WIZARD MODAL (Product)
   ==================================================== */
.wizard-modal .modal { max-width: 640px; }

/* Step indicator */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 24px 0;
}
.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  cursor: default;
}
.wizard-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.wizard-step-label,
.wizard-step > span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.wizard-step.active .wizard-step-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 16px rgba(239,68,68,0.35);
  transform: scale(1.12);
}
.wizard-step.active .wizard-step-label,
.wizard-step.active > span { color: var(--text); }
.wizard-step.completed .wizard-step-num {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.wizard-step.completed .wizard-step-label,
.wizard-step.completed > span { color: var(--success); }
.wizard-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 -4px;
  margin-bottom: 22px;
  transition: background 0.3s;
  min-width: 40px;
}
.wizard-step.completed + .wizard-step-line,
.wizard-step-line.done {
  background: var(--success);
}

/* Panels */
.wizard-body {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.wizard-panel {
  display: none;
  padding: 24px;
}
.wizard-panel.active {
  display: block;
}
.wizard-panel-inner {
  /* just a wrapper */
}
.wizard-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wizard-section-title i {
  font-size: 0.9rem;
}

/* Animations */
@keyframes wizardSlideOutLeft {
  to { opacity: 0; transform: translateX(-30px); }
}
@keyframes wizardSlideOutRight {
  to { opacity: 0; transform: translateX(30px); }
}
@keyframes wizardSlideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes wizardSlideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Stock type radio cards */
.wizard-stock-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.wizard-stock-option {
  background: var(--bg-3);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.wizard-stock-option:hover {
  border-color: var(--text-muted);
}
.wizard-stock-option.active {
  border-color: var(--red);
  background: rgba(239,68,68,0.08);
}
.wizard-stock-option i {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
  transition: color 0.25s;
}
.wizard-stock-option.active i {
  color: var(--red);
}
.wizard-stock-option span {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  color: var(--text-muted);
}
.wizard-stock-option.active span {
  color: var(--text);
}

/* Upload zone */
.wizard-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--bg-3);
  position: relative;
}
.wizard-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.wizard-upload-zone:hover,
.wizard-upload-zone.dragover {
  border-color: var(--red);
  background: rgba(239,68,68,0.05);
}
.wizard-upload-zone i.upload-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}
.wizard-upload-zone.dragover i.upload-icon {
  color: var(--red);
  animation: bounceIcon 0.5s;
}
@keyframes bounceIcon { 50% { transform: translateY(-8px); } }
.wizard-upload-zone p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.wizard-upload-zone small {
  color: var(--text-muted);
  opacity: 0.6;
}
.wizard-image-preview {
  margin-top: 16px;
  position: relative;
  display: inline-block;
}
.wizard-image-preview img {
  max-width: 200px;
  max-height: 160px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}
.wizard-image-preview .remove-img {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  border: 2px solid var(--bg-card);
  transition: transform 0.2s;
}
.wizard-image-preview .remove-img:hover {
  transform: scale(1.15);
}

/* Upload zone internals */
.wizard-upload-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.wizard-upload-icon-wrap i {
  font-size: 1.8rem;
  color: var(--red);
}
.wizard-upload-zone.dragover .wizard-upload-icon-wrap {
  animation: bounceIcon 0.5s;
}
.wizard-upload-placeholder h6 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.wizard-upload-placeholder p {
  margin: 0 0 8px;
}
.wizard-upload-formats {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.6;
}
.wizard-upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.wizard-upload-preview img {
  max-width: 240px;
  max-height: 180px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
}
.wizard-upload-actions {
  display: flex;
  gap: 8px;
}

/* Preview card wrapper */
.wizard-preview-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-top: 16px;
}
.wizard-preview-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.wizard-price-original {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}
.wizard-price-current {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--success);
  display: block;
}
.wizard-price-margin {
  font-size: 0.8rem;
  margin-top: 6px;
  font-weight: 600;
  display: block;
}

/* Summary card title + grid */
.wizard-summary {
  margin-top: 24px;
}
.wizard-summary-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wizard-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.wizard-summary-grid div {
  display: flex;
  gap: 6px;
  font-size: 0.85rem;
}
.ws-label { color: var(--text-muted); }
.ws-value { color: var(--text); font-weight: 600; }

/* Stock option internals */
.wizard-stock-option input[type="radio"] { display: none; }
.wizard-stock-icon {
  margin-bottom: 6px;
}
.wizard-stock-info strong {
  display: block;
  font-size: 0.82rem;
}
.wizard-stock-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* Form help text */
.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Wizard footer */
.wizard-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 600px) {
  .wizard-stock-options { grid-template-columns: 1fr; }
  .wizard-steps { gap: 0; padding: 16px 12px 0; }
  .wizard-step-line { min-width: 20px; }
  .wizard-panel { padding: 16px; }
}

/* ====================================================
   SUBSCRIPTION / PLANOS DE ASSINATURA
   ==================================================== */
.sub-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.sub-preset-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 700;
  background: var(--bg-2);
  color: var(--text);
  transition: border-color .15s, color .15s, background .15s;
}
.sub-preset-btn:hover,
.sub-preset-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb, 100, 80, 255), .07);
}
.sub-plan-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.sub-plan-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: .88rem;
}
.sub-plan-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.sub-plan-close:hover { background: var(--bg-3); color: var(--text); }
.sub-stock-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sub-stock-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 600;
  background: var(--bg-2);
  color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.sub-stock-opt input { display: none; }
.sub-stock-opt.active {
  border-color: var(--primary);
  color: var(--primary);
}
.sub-plan-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px;
  transition: border-color .15s;
}
.sub-plan-card:hover { border-color: var(--primary); }

/* ── Subscription plan list (produto.php) ─────────── */
.sub-plans-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px;
}
.sub-plans-list {
  display: flex; flex-direction: column; gap: 0;
  max-height: calc(3 * 78px); /* mostra 3, scroll para mais */
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.sub-plans-list::-webkit-scrollbar { width: 4px; }
.sub-plans-list::-webkit-scrollbar-track { background: transparent; }
.sub-plans-list::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

.sub-plan-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
  position: relative;
}
.sub-plan-row:last-child { border-bottom: none; }
.sub-plan-row:first-child { border-radius: 13px 13px 0 0; }
.sub-plan-row:last-child  { border-radius: 0 0 13px 13px; }
.sub-plan-row:only-child  { border-radius: 13px; }
.sub-plan-row:hover { background: var(--bg-3); }
.sub-plan-row.selected {
  background: rgba(232,50,28,.07);
  border-left: 3px solid var(--red);
  padding-left: 13px;
}
.sub-plan-row.selected + .sub-plan-row { border-top: none; }

/* checkmark circle */
.sub-plan-row-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: transparent;
  transition: all .15s; background: transparent;
}
.sub-plan-row.selected .sub-plan-row-check {
  border-color: var(--red); background: var(--red); color: #fff;
}

/* body */
.sub-plan-row-body { flex: 1; min-width: 0; }
.sub-plan-row-label { font-weight: 700; font-size: .92rem; color: var(--text); line-height: 1.2; }
.sub-plan-row-dur   { font-size: .72rem; color: var(--text-muted); margin-top: 2px; }

/* pricing (right) */
.sub-plan-row-pricing { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
.sub-plan-row-badge {
  font-size: .65rem; font-weight: 800; padding: 1px 7px;
  border-radius: 50px; background: rgba(22,163,74,.18); color: #22c55e;
  letter-spacing: .3px; margin-bottom: 2px;
}
.sub-plan-row-price { font-size: 1.1rem; font-weight: 900; color: var(--red); line-height: 1.1; }
.sub-plan-row-orig  { font-size: .72rem; color: var(--text-muted); text-decoration: line-through; }

.sub-plan-row--unavail { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* legacy kept for admin */
.sub-plans-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}
.sub-plan-tile {
  flex: 0 0 auto;
  min-width: 160px;
  max-width: 200px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  background: var(--bg-2);
  transition: border-color .18s, box-shadow .18s;
  position: relative;
}
.sub-plan-tile:hover { border-color: var(--primary); }
.sub-plan-tile.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb,100,80,255),.14);
}
.sub-plan-tile-label { font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.sub-plan-tile-duration { font-size: .74rem; color: var(--text-muted); margin-bottom: 10px; }
.sub-plan-tile-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.sub-plan-tile-orig { font-size: .77rem; color: var(--text-muted); text-decoration: line-through; }
.sub-plan-badge {
  position: absolute; top: -10px; right: 10px;
  background: var(--success); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}
.sub-plan-tile.sub-plan-tile-unavail { opacity: .55; pointer-events: none; }

/* Step bounce animation */
@keyframes subStepBounce {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ====================================================
   ONLINE INDICATOR
   ==================================================== */
.online-indicator { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-glass); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); border: 1px solid var(--border); border-radius: 50px; padding: 8px 16px; font-size: 0.82rem; color: var(--text-muted); }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; box-shadow: 0 0 8px rgba(39,174,96,0.4); }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.4); } }

/* ====================================================
   STAR RATING
   ==================================================== */
.star-rating { display: flex; gap: 4px; flex-direction: row-reverse; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.5rem; color: var(--border); cursor: pointer; transition: all var(--transition); }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #f39c12; transform: scale(1.15); }

/* ====================================================
   PROFILE
   ==================================================== */
/* ── Hero Card ── */
.profile-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto 24px;
  max-width: 960px;
  box-shadow: var(--shadow);
  position: relative;
}
.profile-hero-banner {
  height: 200px;
  background: linear-gradient(135deg, #0a0008 0%, #1a0010 30%, #2d0018 60%, #1a0008 100%);
  position: relative;
  overflow: hidden;
}
.profile-hero-banner img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(17,17,22,0.85) 100%);
  pointer-events: none;
}
.profile-hero-body {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding: 0 28px 0;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}
.profile-hero-avatar {
  position: relative;
  flex-shrink: 0;
}
.profile-hero-avatar img,
.profile-hero-avatar .av-ph {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  object-fit: cover;
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform var(--transition);
}
.profile-hero-avatar:hover img,
.profile-hero-avatar:hover .av-ph {
  transform: scale(1.05);
}
.profile-hero-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  z-index: 3;
}
.profile-hero-status.status-online { background: var(--success); box-shadow: 0 0 8px rgba(39,174,96,0.5); }
.profile-hero-status.status-admin { background: var(--red); box-shadow: 0 0 8px var(--red-glow); }
.profile-hero-status.status-member { background: var(--success); box-shadow: 0 0 8px rgba(39,174,96,0.4); }

.profile-hero-info { flex: 1; min-width: 0; padding-bottom: 16px; }
.profile-hero-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.profile-hero-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}
.profile-hero-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-hero-badges .badge { font-size: 0.7rem; gap: 4px; }

.profile-hero-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.profile-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.profile-hero-meta i { font-size: 0.78rem; opacity: 0.6; }

/* ── Quick Stats Bar ── */
.profile-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.profile-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.profile-stat-item:last-child { border-right: none; }
.profile-stat-item:hover { background: rgba(192,57,43,0.04); }
.profile-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.profile-stat-data { display: flex; flex-direction: column; min-width: 0; }
.profile-stat-value {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }

/* ── Two-column grid ── */
.profile-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.profile-grid .card { margin-bottom: 0; }
.profile-col-left,
.profile-col-right { display: flex; flex-direction: column; gap: 20px; }

/* ── Account info list ── */
.profile-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.profile-info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.profile-info-list li:last-child { border-bottom: none; }
.profile-info-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.profile-info-key i { width: 16px; text-align: center; font-size: 0.8rem; }
.profile-info-val {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 2FA status display ── */
.profile-2fa-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.profile-2fa-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.profile-2fa-icon--active { background: var(--success-light); color: var(--success); }
.profile-2fa-icon--pending { background: var(--info-light); color: var(--info); }
.profile-2fa-icon--inactive { background: var(--bg-3); color: var(--text-muted); }

/* ── Upload zones ── */
.profile-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}
.profile-upload-box { display: flex; flex-direction: column; gap: 8px; }
.profile-upload-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}
.profile-upload-zone:hover,
.profile-upload-zone.dragover {
  border-color: var(--red);
  background: rgba(192,57,43,0.04);
}
.profile-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.profile-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  pointer-events: none;
}
.profile-upload-placeholder i { font-size: 1.6rem; opacity: 0.5; }
.profile-upload-placeholder span { font-size: 0.82rem; font-weight: 600; }
.profile-upload-placeholder small { font-size: 0.7rem; opacity: 0.6; }

.profile-upload-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 120px;
}
.profile-upload-preview img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.profile-upload-preview--banner img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.profile-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  z-index: 5;
  transition: background var(--transition);
}
.profile-upload-remove:hover { background: var(--red); }

/* ── Devices list (card-style) ── */
.profile-devices-list { padding: 8px 16px; }
.profile-device {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  border: 1px solid transparent;
}
.profile-device:hover { background: var(--bg-2); }
.profile-device--current { border-color: rgba(39,174,96,0.2); background: rgba(39,174,96,0.04); }
.profile-device + .profile-device { border-top: 1px solid var(--border); }
.profile-device-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.profile-device-info { flex: 1; min-width: 0; }
.profile-device-name {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-device-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.profile-device-meta span { display: inline-flex; align-items: center; gap: 4px; }
.profile-device-meta i { font-size: 0.65rem; opacity: 0.5; }
.profile-device-remove { padding: 4px 8px !important; }

/* ── Legacy (keep for other pages) ── */
.profile-banner { height: 180px; background: linear-gradient(135deg, #1a0008, #3d0012, #1a0000); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; position: relative; }
.profile-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 60%, var(--bg-card)); pointer-events: none; }
.profile-banner img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-wrap { margin-top: -48px; padding: 0 24px; display: flex; align-items: flex-end; gap: 16px; position: relative; z-index: 1; }
.profile-avatar img, .profile-avatar .av-ph { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--bg-card); object-fit: cover; background: linear-gradient(135deg, var(--red), var(--red-hover)); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.profile-name { font-size: 1.3rem; font-weight: 900; padding-bottom: 8px; }
.profile-discord { color: var(--text-muted); font-size: 0.85rem; }

/* ====================================================
   CHAT
   ==================================================== */
.chat-window {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  height: 480px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  scroll-behavior: smooth;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(229,57,53,.03) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(229,57,53,.02) 0%, transparent 50%);
}
.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* Date separator */
.chat-date-sep {
  text-align: center;
  font-size: .7rem;
  color: var(--text-dim);
  padding: 8px 0 4px;
  letter-spacing: .5px;
  user-select: none;
}
.chat-date-sep span {
  background: var(--bg-3);
  padding: 3px 12px;
  border-radius: 10px;
  font-weight: 600;
}

/* Bubbles */
.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .88rem;
  line-height: 1.55;
  word-break: break-word;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  animation: chatBubbleIn .35s cubic-bezier(.22,.68,.36,1.2) forwards;
}
.chat-bubble + .chat-bubble { margin-top: 2px; }

/* Stagger animation for initial load */
.chat-bubble:nth-child(1)  { animation-delay: 0ms; }
.chat-bubble:nth-child(2)  { animation-delay: 30ms; }
.chat-bubble:nth-child(3)  { animation-delay: 60ms; }
.chat-bubble:nth-child(4)  { animation-delay: 90ms; }
.chat-bubble:nth-child(5)  { animation-delay: 120ms; }
.chat-bubble:nth-child(n+6){ animation-delay: 0ms; animation-duration: .1s; }

/* New message (injected via JS) — quicker anim */
.chat-bubble.bubble-new {
  animation: chatBubbleIn .3s cubic-bezier(.22,.68,.36,1.2) forwards;
  animation-delay: 0ms !important;
}

@keyframes chatBubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* User bubble (right) */
.bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--red), #c62828);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(229,57,53,.2);
}
.bubble-user + .bubble-admin,
.bubble-admin + .bubble-user { margin-top: 10px; }

/* Admin bubble (left) */
.bubble-admin {
  align-self: flex-start;
  background: var(--bg-3);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}

.bubble-sender {
  font-size: .7rem;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bubble-user .bubble-sender { color: rgba(255,255,255,.65); }
.bubble-admin .bubble-sender { color: var(--red); }

.bubble-text { font-size: .88rem; line-height: 1.55; }
.bubble-user .bubble-text { color: #fff; }
.bubble-admin .bubble-text { color: var(--text); }

.bubble-time {
  font-size: .65rem;
  color: var(--text-dim);
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  opacity: .7;
}
.bubble-user .bubble-time { color: rgba(255,255,255,.5); }

.bubble-receipt { font-size: .75rem; font-weight: 700; letter-spacing: -1px; }
.receipt-sent { color: rgba(255,255,255,.45); }
.receipt-read { color: #53bdeb; }

/* ── Bubble avatar + role badge ── */
.bubble-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.bubble-meta.bm-right { justify-content: flex-end; }
.bubble-av {
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.bav-admin {
  background: linear-gradient(135deg, var(--red), #c62828);
  color: #fff;
  box-shadow: 0 2px 8px rgba(229,57,53,.22);
}
.bav-user {
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.bubble-role {
  font-size: .6rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .35px;
  line-height: 1.6;
}
.brol-sup { background: rgba(229,57,53,.13); color: var(--red); }
.brol-mem { background: rgba(255,255,255,.08); color: var(--text-dim); }
.bubble-meta-inner { line-height: 1.25; }

/* ── New bub-* chat classes (used by createBubble JS + purchases.php) ── */
.bub-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}
.chat-bubble.bubble-user .bub-meta { justify-content: flex-end; }
.bub-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.15);
}
.bub-av-init {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  border: 2px solid rgba(255,255,255,.15);
}
.bub-av-init.is-admin { background: linear-gradient(135deg, var(--red), #c62828); color: #fff; }
.bub-av-init.is-user  { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.bub-name-wrap { display: flex; flex-direction: column; gap: 1px; }
.bub-name { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.85); line-height: 1.2; }
.bub-role {
  font-size: .58rem; font-weight: 800; padding: 1px 7px;
  border-radius: 20px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap;
}
.bub-role.role-sup { background: rgba(229,57,53,.3); color: #ff8a80; }
.bub-role.role-mem { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.bub-body {
  padding: 11px 15px;
  border-radius: 16px;
  word-break: break-word;
  font-size: .88rem;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.chat-bubble.bubble-admin .bub-body {
  background: rgba(30,30,40,.9);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.92);
  border-bottom-left-radius: 4px;
}
.chat-bubble.bubble-user .bub-body {
  background: linear-gradient(135deg, var(--red), #c62828);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 12px rgba(229,57,53,.3);
}
.bub-time {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-bubble.bubble-user .bub-time { justify-content: flex-end; }
.bub-receipt { font-size: .75rem; }
.bub-receipt.receipt-read { color: #53bdeb; }
.bub-receipt.receipt-sent { color: rgba(255,255,255,.35); }

/* Sending indicator */
.bubble-sending {
  opacity: .6 !important;
  animation: none !important;
}
.bubble-sending .bubble-time::after {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: chatSpin .6s linear infinite;
  margin-left: 4px;
}
@keyframes chatSpin { to { transform: rotate(360deg); } }

/* Empty chat state */
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-dim);
  padding: 40px 20px;
  text-align: center;
}
.chat-empty i { font-size: 2.2rem; opacity: .4; }
.chat-empty p { font-size: .85rem; max-width: 260px; }

/* Input area */
.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  align-items: center;
}
.chat-input-area input {
  flex: 1;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: .88rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.chat-input-area input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.12);
  outline: none;
}
.chat-input-area input::placeholder { color: var(--text-dim); }
.chat-input-area .btn {
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.chat-input-area .btn:active { transform: scale(.95); }

/* Typing indicator */
.typing-indicator {
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--bg-3);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: none;
  gap: 4px;
  align-items: center;
}
.typing-indicator.visible { display: flex; }
.typing-dot {
  width: 6px; height: 6px;
  background: var(--text-dim);
  border-radius: 50%;
  animation: typingBounce .6s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typingBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ====================================================
   MAINTENANCE
   ==================================================== */
.maintenance-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.maintenance-icon { font-size: 4rem; margin-bottom: 24px; }
.maintenance-page h1 { font-size: 2rem; font-weight: 900; margin-bottom: 12px; }
.maintenance-page p { color: var(--text-muted); max-width: 400px; }

/* ====================================================
   STAT CARDS (Admin/User Dashboard)
   ==================================================== */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 28px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 16px; transition: all var(--transition); position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent); opacity: 0; transition: opacity var(--transition); }
.stat-card:hover { border-color: rgba(192,57,43,0.2); transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-card:hover::before { opacity: 1; }
.stat-card-icon { width: 52px; height: 52px; background: var(--red-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--red); flex-shrink: 0; transition: all var(--transition); }
.stat-card:hover .stat-card-icon { transform: scale(1.1); }
.stat-card-info h3 { font-size: 1.5rem; font-weight: 900; color: var(--white); }
.stat-card-info p { font-size: 0.78rem; color: var(--text-muted); }
.chart-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.chart-wrap canvas { max-height: 300px; }
.drag-handle { cursor: grab; color: var(--text-dim); padding: 0 8px; font-size: 1.2rem; user-select: none; }
.drag-handle:active { cursor: grabbing; }
.sortable-ghost  { opacity: 0.3; border: 2px dashed var(--red) !important; }
.sortable-chosen { background: var(--bg-3) !important; box-shadow: 0 4px 20px rgba(0,0,0,.4); }

/* ====================================================
   FILTER TABS (New)
   ==================================================== */
.filter-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-3); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.filter-tab { padding: 8px 18px; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 600; color: var(--text-muted); cursor: pointer; border: none; background: transparent; transition: all var(--transition); white-space: nowrap; }
.filter-tab:hover { color: var(--text); }
.filter-tab.active { background: var(--bg-card); color: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.filter-tab .count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; background: var(--red-light); color: var(--red); border-radius: 50px; font-size: 0.68rem; padding: 0 5px; margin-left: 4px; }

/* ====================================================
   AUTH PAGES (Glass design)
   ==================================================== */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; position: relative; overflow: hidden; }
.auth-page::before { content: ''; position: absolute; top: -200px; left: 50%; width: 120%; height: 600px; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(192,57,43,0.12) 0%, transparent 70%); transform: translateX(-50%); pointer-events: none; }
.auth-container { width: 100%; max-width: 440px; position: relative; z-index: 1; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-icon { width: 72px; height: 72px; background: var(--red-light); border: 1px solid rgba(192,57,43,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 20px; animation: iconFloat 3s ease-in-out infinite; }
@keyframes iconFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.auth-header h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.auth-header p { color: var(--text-muted); font-size: 0.92rem; }
.auth-card { background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-muted); }

/* ====================================================
   EMPTY STATE
   ==================================================== */
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 18px; opacity: 0.35; animation: emptyFloat 3s ease-in-out infinite; }
@keyframes emptyFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.empty-state h4 { font-size: 1.05rem; color: var(--text); margin-bottom: 8px; font-weight: 700; }
.empty-state p { font-size: 0.88rem; max-width: 320px; margin: 0 auto 20px; line-height: 1.6; }

/* ====================================================
   LOADING SKELETON
   ==================================================== */
.skeleton { background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-2) 37%, var(--bg-3) 63%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ====================================================
   UTILITIES
   ==================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--red); }
.text-green { color: var(--success); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.d-flex { display: flex; } .d-grid { display: grid; }
.align-center { align-items: center; } .justify-between { justify-content: space-between; }
.hidden { display: none !important; }
.loading { opacity: 0.6; pointer-events: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.glass { background: var(--bg-glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }

/* ====================================================
   LAYOUT HELPERS
   ==================================================== */
.why-us-grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.chat-layout { display: grid; grid-template-columns: 320px 1fr; gap: 16px; height: calc(100vh - 200px); }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: var(--blur-sm); -webkit-backdrop-filter: var(--blur-sm); z-index: 850; cursor: pointer; }

/* Stagger animations */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }

/* Header scroll state */
.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  border-bottom-color: rgba(255,255,255,0.06);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* Sort arrow indicators */
th.sort-asc::after { content: ' \25B2'; font-size: 0.7em; opacity: 0.6; }
th.sort-desc::after { content: ' \25BC'; font-size: 0.7em; opacity: 0.6; }

/* ====================================================
   NEW INDEX — STATS STRIP
   ==================================================== */
.stats-strip {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(192,57,43,0.04) 0%, transparent 50%, rgba(192,57,43,0.04) 100%);
  pointer-events: none;
}
.stats-strip-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.stat-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 32px;
  flex: 1;
  position: relative;
}
.stat-pill-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
.stat-pill-icon {
  font-size: 1.5rem;
  color: var(--red);
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(232,50,28,0.7));
}
.stat-pill-value {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  min-width: 3ch;
  display: inline-block;
}
.stat-pill-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ====================================================
   NEW INDEX — BENEFÍCIOS
   ==================================================== */
.section-tag {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(192,57,43,0.2);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.25s, box-shadow 0.25s;
}
.benefit-card:hover {
  transform: translateY(-8px);
  border-color: var(--bcolor, var(--red));
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.benefit-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.benefit-icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--bcolor, var(--red)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--bcolor, var(--red)) 25%, transparent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--bcolor, var(--red));
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 0 20px color-mix(in srgb, var(--bcolor, var(--red)) 40%, transparent);
}
.benefit-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.4px;
}
.benefit-card h4 {
  font-size: 1rem; font-weight: 800;
  margin-bottom: 8px; line-height: 1.3;
}
.benefit-card p {
  font-size: 0.83rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 20px;
}
.benefit-line {
  height: 3px;
  border-radius: 2px;
  width: 40px;
  opacity: 0.5;
  transition: width 0.35s ease, opacity 0.3s;
}
.benefit-card:hover .benefit-line {
  width: 100%; opacity: 1;
}

/* ====================================================
   NEW INDEX — CAT BLOCK (products)
   ==================================================== */
.cat-block { margin-bottom: 52px; }
.cat-block-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cat-block-title {
  display: flex; align-items: center; gap: 12px;
}
.cat-icon-wrap {
  width: 38px; height: 38px;
  background: var(--red-light);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1rem;
}
.cat-block-title h3 {
  font-size: 1.2rem; font-weight: 800;
}
.cat-count {
  font-size: 0.73rem; font-weight: 600;
  background: var(--bg-3);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
.cat-see-all {
  font-size: 0.82rem; font-weight: 700;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(192,57,43,0.2);
  background: var(--red-light);
  transition: all 0.25s;
}
.cat-see-all:hover {
  background: var(--red); color: #fff;
  transform: translateX(3px);
}

/* ====================================================
   CATALOG TOOLBAR — Search + Category Filters
   ==================================================== */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.catalog-search-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.catalog-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.25s;
}
.catalog-search {
  width: 100%;
  padding: 12px 42px 12px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.catalog-search::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.catalog-search:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.catalog-search:focus ~ .catalog-search-icon {
  color: var(--red);
}
.catalog-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.7rem;
  transition: all 0.2s;
}
.catalog-search-clear:hover {
  background: var(--red-light);
  border-color: rgba(192,57,43,0.3);
  color: var(--red);
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s;
}
.catalog-filter-btn:hover {
  border-color: rgba(192,57,43,0.3);
  color: var(--text);
  background: var(--bg-3);
}
.catalog-filter-btn.active {
  background: var(--red-light);
  border-color: rgba(192,57,43,0.3);
  color: var(--red);
  font-weight: 700;
}
.catalog-filter-btn i {
  font-size: 0.85rem;
}
.catalog-filter-count {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--bg-3);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.catalog-filter-btn.active .catalog-filter-count {
  background: rgba(192,57,43,0.15);
  border-color: rgba(192,57,43,0.2);
  color: var(--red);
}
.catalog-no-results {
  text-align: center;
  padding: 60px 20px;
}
.catalog-no-results .empty-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.catalog-no-results h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.catalog-no-results p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Product card hide/show animation for filtering */
.product-card { transition: opacity 0.3s, transform 0.3s; }
.product-card.card-hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .catalog-search-wrap { max-width: 100%; }
  .catalog-filters { gap: 6px; }
  .catalog-filter-btn { padding: 7px 14px; font-size: 0.75rem; }
}
.product-ribbon {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: linear-gradient(135deg, var(--red), #e74c3c);
  color: #fff; font-size: 0.68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 50px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(192,57,43,0.4);
  animation: ribbonPulse 2s ease infinite;
}
@keyframes ribbonPulse {
  0%,100% { box-shadow: 0 2px 8px rgba(192,57,43,0.4); }
  50% { box-shadow: 0 2px 16px rgba(192,57,43,0.7); }
}
.product-card-actions {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
  border-top: 1px solid var(--border);
  margin-top: 8px; padding-top: 10px;
}

/* ====================================================
   NEW INDEX — REVIEWS
   ==================================================== */
.reviews-section {
  padding: 64px 0;
  overflow: hidden;
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.review-card {
  flex: 0 0 auto;
  width: 320px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 14px;
}
.review-card:hover {
  border-color: rgba(192,57,43,0.3);
  transform: translateY(-4px);
}
.review-card-top {
  display: flex; align-items: center; justify-content: space-between;
}
.review-stars { display: flex; gap: 3px; font-size: 0.9rem; }
.review-verified {
  font-size: 0.68rem; font-weight: 700;
  color: #22c55e;
  display: flex; align-items: center; gap: 4px;
}
.review-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.review-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
  flex-shrink: 0;
}
.review-avatar-ph {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-hover));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.review-author-name { font-size: 0.85rem; font-weight: 700; }
.review-product {
  font-size: 0.72rem; color: var(--text-dim);
  margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
}

/* ====================================================
   NEW INDEX — LIVE + FAQ GRID
   ==================================================== */
.live-faq-section { background: var(--bg); }
.live-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.live-col-header, .faq-col-header { margin-bottom: 24px; }
.live-col-header h3, .faq-col-header h3 {
  font-size: 1.5rem; font-weight: 900;
  margin-bottom: 6px; line-height: 1.2;
}
.faq-col-header h3 span { color: var(--red); }
.live-col-header p, .faq-col-header p {
  font-size: 0.86rem; color: var(--text-muted);
}
.live-dot-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 12px;
}
.live-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
}
.live-pulse::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: rgba(192,57,43,0.4);
  animation: livePulse 1.5s ease infinite;
}
@keyframes livePulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.faq-num {
  font-size: 0.68rem; font-weight: 900;
  color: var(--red); opacity: 0.7;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

/* ====================================================
   NEW INDEX — CTA BANNER
   ==================================================== */
.cta-banner-section { padding: 60px 0; }
.cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d0d12 0%, #1a0a0a 50%, #0d0d12 100%);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cta-banner-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(192,57,43,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: ctaGlow 4s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  from { opacity: 0.6; transform: translate(-50%,-50%) scale(0.9); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}
.cta-banner-content {
  display: flex; align-items: center; gap: 24px;
  position: relative; z-index: 1;
  flex: 1; min-width: 0;
}
.cta-banner-icon {
  width: 72px; height: 72px;
  background: rgba(88,101,242,0.15);
  border: 1px solid rgba(88,101,242,0.3);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #7289da; flex-shrink: 0;
  animation: iconFloat 3s ease-in-out infinite;
}
.cta-banner-text h3 {
  font-size: 1.5rem; font-weight: 900;
  margin-bottom: 6px;
}
.cta-banner-text p {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.6;
}
.cta-banner-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: #fff; font-weight: 700; font-size: 0.95rem;
  border-radius: 50px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(88,101,242,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  white-space: nowrap; flex-shrink: 0;
}
.cta-banner-btn:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 36px rgba(88,101,242,0.55);
}
.cta-banner-btn i { transition: transform 0.25s; }
.cta-banner-btn:hover i { transform: translateX(4px); }

/* ====================================================
   CTA BANNER V2 — Suporte / Discord com imagem
   ==================================================== */
.cta-banner-v2 {
  align-items: stretch;
  gap: 40px;
  padding: 40px 48px;
}

/* Bloco da imagem clicável */
.cta-img-block {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
  width: 560px;
  align-self: stretch;
  min-height: 220px;
  cursor: pointer;
  animation: imgBorderPulse 3s ease-in-out infinite;
}
@keyframes imgBorderPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(88,101,242,0.5),
                0 8px 32px rgba(0,0,0,0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(88,101,242,0),
                0 8px 40px rgba(88,101,242,0.35);
  }
}
.cta-support-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cta-img-block:hover .cta-support-img {
  transform: scale(1.05);
}

/* Overlay de texto sobre a imagem */
.cta-support-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.92) 0%,
    rgba(5,5,5,0.55) 40%,
    rgba(5,5,5,0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px;
  color: #fff;
  transition: background 0.3s;
}
.cta-img-block:hover .cta-support-overlay {
  background: linear-gradient(
    to top,
    rgba(5,5,5,0.97) 0%,
    rgba(5,5,5,0.65) 50%,
    rgba(5,5,5,0.2) 100%
  );
}
.cta-support-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(88,101,242,0.85);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  width: fit-content;
  letter-spacing: 0.03em;
}
.cta-support-overlay h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 6px;
  line-height: 1.2;
}
.cta-support-overlay p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 12px;
}
.cta-support-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #7289da;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.cta-img-block:hover .cta-support-click-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Lado direito */
.cta-banner-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.cta-banner-v2 .cta-banner-text h3 span {
  color: #7289da;
}
.cta-banner-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* Pulse no botão Discord */
@keyframes discordPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(88,101,242,0.4);
  }
  50% {
    box-shadow: 0 4px 28px rgba(88,101,242,0.75),
                0 0 0 5px rgba(88,101,242,0.12);
  }
}
.cta-btn-pulse {
  animation: discordPulse 2.5s ease-in-out infinite;
}
.cta-btn-pulse:hover {
  animation: none;
}

/* Botão retangular de suporte */
.cta-btn-rect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}
.cta-btn-rect:hover {
  border-color: rgba(88,101,242,0.5);
  color: #7289da;
  background: rgba(88,101,242,0.08);
  transform: translateY(-2px);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .feedback-marquee-card { width: 290px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-hero-stats .profile-stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  /* ── Compact header ── */
  .site-header { top: 8px; width: calc(100% - 20px); }
  .header-inner { height: 54px; padding: 0 10px; gap: 5px; }
  .header-actions { gap: 5px; }

  /* Logo compacto */
  .logo-text { font-size: 0.95rem; }

  /* Cart: ícone-only círculo no mobile */
  .cart-btn { padding: 0; width: 38px; height: 38px; justify-content: center; border-radius: 50%; gap: 0; overflow: visible; }
  .cart-btn .cart-badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; font-size: 0.6rem; padding: 0 3px; }

  /* Hide desktop-only header elements */
  .theme-btn { display: none !important; }
  .avatar-name { display: none !important; }
  .avatar-chevron { display: none !important; }

  /* Compact avatar button to icon-only circle */
  .avatar-btn { padding: 3px; border-radius: 50%; min-width: 38px; justify-content: center; }

  /* Compact logo on small screens */
  .logo-text { font-size: 1.05rem; }
  .verified-badge { width: 20px; height: 20px; }

  /* Mobile nav-links dropdown */
  .nav-links { display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: rgba(4,4,4,0.96); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; flex-direction: column; gap: 4px; }
  .nav-links.open { display: flex; }

  /* Auth buttons: hide label text, show icon-only on mobile */
  .auth-btn-label { display: none; }
  .header-auth-icon-btn {
    width: 38px; height: 38px; padding: 0;
    justify-content: center; border-radius: 50%;
    font-size: 1rem;
  }

  /* Mobile-only theme toggle item inside nav-links */
  .nav-mobile-theme { display: flex; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; padding-top: 8px; }
  .theme-btn-mobile {
    display: flex; align-items: center; gap: 10px; width: 100%;
    background: none; border: none; color: rgba(255,255,255,0.65);
    padding: 7px 14px; border-radius: var(--radius-sm);
    font-size: 0.86rem; font-weight: 500; cursor: pointer;
    transition: all var(--transition);
  }
  .theme-btn-mobile:hover { color: #fff; background: rgba(255,255,255,0.06); }

  .hamburger { display: flex; }
  .sidebar { width: var(--sidebar-w); transform: translateX(-100%); }
  .sidebar.expanded { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); overflow-y: auto; width: var(--sidebar-w); }
  .sidebar.open .link-text,
  .sidebar.open .sidebar-logo h2,
  .sidebar.open .sidebar-section-title,
  .sidebar.open .sidebar-user-info,
  .sidebar.open .sidebar-footer .btn .btn-text { opacity: 1; max-width: 200px; }
  .sidebar.open .sidebar-section-title { height: auto; padding: 6px 12px; margin-bottom: 6px; }
  .sidebar.open .sidebar-link { justify-content: flex-start; padding: 10px 14px; gap: 10px; }
  .sidebar.open .sidebar-logo { padding: 20px; justify-content: flex-start; }
  .sidebar.open .sidebar-user { justify-content: flex-start; padding: 10px 12px; }
  .sidebar.open .sidebar-nav { padding: 16px 12px; }
  .sidebar.open .sidebar-footer { padding: 16px 12px; }
  .sidebar.open .sidebar-footer .btn { gap: 6px; }
  .sidebar.open .sidebar-link .badge { position: static; width: auto; height: auto; min-width: auto; padding: 2px 8px; font-size: 0.68rem; }
  .sidebar-pin { display: none; }
  .panel-main { margin-left: 0 !important; }
  body.sidebar-pinned .panel-main { margin-left: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 24px; }
  .hero-layout { flex-direction: column; gap: 16px; }
  .hero-text { text-align: center; }
  .hero-text .hero-actions { justify-content: center; }
  .btn-hero-primary, .btn-hero-ghost { width: auto; }
  .hero-text .hero-stats { justify-content: center; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  .hero-stats { gap: 16px; margin-top: 16px; }
  .hero-carousels {
    flex-direction: column;
    height: auto;
    gap: 12px;
    margin-right: 0;
    perspective: none;
    transform-style: flat;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  }
  /* Mostra apenas 2 colunas no mobile */
  .hero-col:nth-child(3) { display: none; }
  /* Remove transforms 3D */
  .hero-col:first-child { transform: none; }
  .hero-col:nth-child(2) { transform: none; z-index: auto; }
  .hero-col:last-child   { transform: none; }
  /* Cada coluna vira uma faixa horizontal */
  .hero-col {
    flex: none;
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
  }
  /* Track fica horizontal */
  .hero-col .hero-col-track {
    flex-direction: row;
    height: 100%;
    gap: 12px;
  }
  /* Animações horizontais */
  .hero-col-up   .hero-col-track { animation: heroScrollLeft  22s linear infinite; }
  .hero-col-down .hero-col-track { animation: heroScrollRight 22s linear infinite; }
  @keyframes heroScrollLeft  { 0% { transform: translateX(0);    } 100% { transform: translateX(-50%); } }
  @keyframes heroScrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0);    } }
  /* Cards na faixa horizontal */
  .hero-col .hero-card {
    flex-shrink: 0;
    width: 220px;
    height: 100%;
    aspect-ratio: unset;
  }
  /* ── Products grid: 2 colunas no mobile ── */
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card .product-info { padding: 8px 10px 10px; }
  .product-card .product-name { font-size: 0.75rem; margin-bottom: 4px; }
  .product-card .product-rating { font-size: 0.7rem; margin-bottom: 5px; }
  .price-main { font-size: 1.05rem; }
  .price-original { font-size: 0.68rem; }
  .price-off-pill { font-size: 0.6rem; }
  .product-card .stock-badge { font-size: 0.6rem; padding: 2px 6px; }
  .product-card-actions { gap: 5px; padding-top: 8px; margin-top: 6px; }
  .product-card-actions .btn.btn-sm { padding: 5px 7px; font-size: 0.72rem; }
  .add-cart-btn span, .add-cart-btn { white-space: nowrap; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .feedback-marquee-card { width: 260px; padding: 20px; }
  .feedback-marquee-track { animation-duration: 18s; }
  .panel-content { padding: 16px; }
  .panel-topbar { padding: 0 16px; }
  .why-us-grid { grid-template-columns: 1fr; }
  /* Live feed: prevent overflow on mobile */
  .live-feed { overflow-x: hidden; }
  .feed-item { gap: 8px; padding: 10px 10px; flex-wrap: wrap; }
  .feed-item-body { min-width: 0; overflow: hidden; }
  .feed-item-top { flex-wrap: wrap; gap: 4px; }
  .feed-item-user { font-size: 0.78rem; }
  .feed-item-action { font-size: 0.72rem; }
  .feed-item-product { font-size: 0.78rem; max-width: 130px; }
  .feed-item-meta { flex-shrink: 0; gap: 4px; }
  .feed-item-price { font-size: 0.72rem; padding: 2px 7px; }
  .feed-item-time { display: none; }
  .faq-item { overflow: hidden; }
  .faq-answer { word-break: break-word; }
  .live-faq-section .container { overflow: hidden; }
  .notif-dropdown { width: calc(100vw - 32px); right: 0; left: auto; }
  .pix-container { margin: 24px auto; }
  .auth-page { padding: 24px 16px; }
  .auth-card { padding: 24px; }
  .filter-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .profile-hero-body { gap: 14px; padding: 0 16px; }
  .profile-hero-avatar img,
  .profile-hero-avatar .av-ph { width: 80px; height: 80px; font-size: 1.8rem; }
  .profile-hero-body { margin-top: -40px; }
  .profile-hero-name { font-size: 1.2rem; }
  .profile-hero-meta { flex-direction: column; gap: 4px; }
  .profile-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-hero-stats .profile-stat-item:nth-child(2) { border-right: none; }
  .profile-hero-banner { height: 150px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-upload-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .btn-hero-primary, .btn-hero-ghost { justify-content: center; width: 100%; }
  .hero-carousels { gap: 10px; }
  .hero-col { height: 130px; }
  .hero-col .hero-card { width: 180px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .toast { max-width: calc(100vw - 32px); }
  .profile-hero-stats { grid-template-columns: 1fr 1fr; }
  .profile-stat-item { padding: 12px; gap: 8px; }
  .profile-stat-icon { width: 32px; height: 32px; font-size: 0.82rem; }
  .profile-stat-value { font-size: 0.9rem; }
  .profile-hero-card { margin-bottom: 16px; }
  .profile-grid { gap: 14px; }
}

/* ====================================================
   CUSTOM CURSOR + GLOW
   ==================================================== */
body, * { cursor: url('/cursor/cursor.cur'), auto; }
/* ── Ambient glow blobs – floats suaves em seções escuras ── */
@keyframes floatBlobA {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 28px) scale(1.12); }
}
@keyframes floatBlobB {
  from { transform: translate(0, 0) scale(1.05); }
  to   { transform: translate(-30px, -20px) scale(0.95); }
}

.reviews-section,
.live-faq-section,
.produtos-section,
.cta-banner-section {
  position: relative;
  overflow: hidden;
}

/* blob topo-esquerdo */
.reviews-section::before,
.live-faq-section::before,
.produtos-section::before,
.cta-banner-section::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.028) 0%, transparent 70%);
  filter: blur(60px);
  top: -100px;
  left: -80px;
  pointer-events: none;
  animation: floatBlobA 9s ease-in-out infinite alternate;
  z-index: 0;
}

/* blob baixo-direito */
.reviews-section::after,
.live-faq-section::after,
.produtos-section::after,
.cta-banner-section::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  filter: blur(55px);
  bottom: -80px;
  right: -60px;
  pointer-events: none;
  animation: floatBlobB 11s ease-in-out infinite alternate;
  animation-delay: -5s;
  z-index: 0;
}

/* garante conteúdo fica acima dos blobs */
.reviews-section > *,
.live-faq-section > *,
.produtos-section > *,
.cta-banner-section > * {
  position: relative;
  z-index: 1;
}

a, button, [role="button"], .btn, label, select, input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"] {
  cursor: url('/cursor/cursor.cur'), pointer;
}
input, textarea {
  cursor: url('/cursor/cursor.cur'), text;
}
#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 999999;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 35%, transparent 70%);
  top: 0;
  left: 0;
  transform: translate(-400px, -400px);
  will-change: transform;
  mix-blend-mode: screen;
}

@media (max-width: 600px) {
  .site-header {
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 12px;
  }
  .header-spacer { height: 76px; }
}

/* ── New sections responsive ── */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip-inner { flex-wrap: wrap; }
  .stat-pill { flex: 1 1 45%; }
  .stat-pill-divider { display: none; }
  .live-faq-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-strip-inner { flex-direction: column; }
  .stat-pill { padding: 16px 24px; }
  .cta-banner { flex-direction: column; padding: 32px 24px; text-align: center; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .cta-banner-btn { width: 100%; justify-content: center; }
  /* CTA v2 mobile */
  .cta-banner-v2 { flex-direction: column; padding: 28px 20px; gap: 24px; }
  .cta-img-block { width: 100%; min-height: unset; align-self: auto; aspect-ratio: 16/7; background: #0d0d12; }
  .cta-support-img { object-fit: contain; object-position: center; min-height: unset; }
  .cta-banner-right { align-items: center; text-align: center; }
  .cta-banner-btns { align-items: stretch; width: 100%; }
  .cta-banner-btns .cta-banner-btn,
  .cta-btn-rect { width: 100%; justify-content: center; }
  .cat-block-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .review-card { width: 280px; }
}

/* ── Panel / Sidebar pages mobile improvements ── */
.sidebar-mobile-close {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  border-radius: 6px;
}
.sidebar-mobile-close:hover { color: var(--text); }

@media (max-width: 768px) {
  /* Show X button inside sidebar when open */
  .sidebar.open .sidebar-mobile-close { display: flex; }

  /* Topbar layout */
  .topbar-left  { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .topbar-right { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
  .page-title {
    font-size: 0.95rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Panel content horizontal scroll safety */
  .panel-content { overflow-x: hidden; padding: 16px 12px; }
  .panel-main    { overflow-x: hidden; }

  /* Tables: enable horizontal scroll */
  .table-wrap,
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
  }

  /* Smaller thumbnails + action buttons on mobile */
  .product-thumb { width: 36px; height: 36px; min-width: 36px; object-fit: cover; border-radius: 6px; }
  .action-btns   { flex-wrap: wrap; gap: 4px; }

  /* Stat/summary cards wrapping */
  .stat-cards, .summary-cards { grid-template-columns: 1fr 1fr !important; gap: 10px; }

  /* Sidebar nav items font size */
  .sidebar-nav-label { font-size: 0.82rem; }
}

/* ====================================================
   PARALLAX SYSTEM
   ==================================================== */
.plx { will-change: transform; }

/* Parallax decorative orbs */
.px-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0s;
}
.px-orb-red    { background: radial-gradient(circle, rgba(192,57,43,0.75) 0%, transparent 65%); filter: blur(72px); }
.px-orb-purple { background: radial-gradient(circle, rgba(124,58,237,0.65) 0%, transparent 65%); filter: blur(90px); }
.px-orb-blue   { background: radial-gradient(circle, rgba(37,99,235,0.55) 0%, transparent 65%);  filter: blur(80px); }
.px-orb-gold   { background: radial-gradient(circle, rgba(245,158,11,0.45) 0%, transparent 65%); filter: blur(85px); }

/* Mouse-parallax tilt on hero */
.hero-content-plx { transition: transform 0.08s linear; will-change: transform; }
