:root {
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --primary: #EA1D2C;
  --primary-dark: #C41826;
  --success: #38B03F;
  --bg: #F7F7F7;
  --card: #FFFFFF;
  --text: #212225;
  --text-light: #767676;
  --radius: 12px;
  --usd-highlight: #22c55e;
  --brl-highlight: #0d9488;
  --usdt-color: #26A17B;
  --usdt-bg: #e6f7f2;
  --trust-blue: #0066CC;
  --netflix-red: #E50914;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body { 
  background: var(--bg); 
  color: var(--text); 
  display: flex;
  flex-direction: column;
}

/* === TOAST NOTIFICATIONS === */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  animation: slideIn 0.3s ease;
  pointer-events: auto;
  border-left: 4px solid var(--success);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--primary); }
@keyframes slideIn {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(400px); opacity: 0; }
}
.toast.hiding {
  animation: slideOut 0.3s ease forwards;
}
.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast.success .toast-icon {
  background: #d4edda;
  color: var(--success);
}
.toast.error .toast-icon {
  background: #f8d7da;
  color: var(--primary);
}
.toast-icon svg {
  width: 16px;
  height: 16px;
}
.toast-content { flex: 1; }
.toast-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.toast-message {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === HEADER === */
header {
  background: var(--card);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); border-bottom: 1px solid #eee; height: 60px;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.menu-btn { background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; display: flex; align-items: center; justify-content: center; }
.menu-btn svg { width: 26px; height: 26px; }

.brand { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.brand svg { width: 28px; height: 28px; color: var(--primary); }
.brand h1 { 
  font-size: 1.2rem; 
  font-weight: 700; 
  color: var(--black);
  white-space: nowrap;
  letter-spacing: 0;
}
.brand h1 span { color: var(--primary); }

.header-icons { display: flex; align-items: center; gap: 8px; }

.icon-btn { background: none; border: none; padding: 8px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text); position: relative; }
.icon-btn:hover { background: #f0f0f0; }
.icon-btn svg { width: 24px; height: 24px; }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--primary); color: white; font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--card); transform: scale(0); transition: transform 0.2s; }
.cart-badge.show { transform: scale(1); }

.search-container {
  position: absolute; top: 60px; left: 0; right: 0; background: var(--card);
  padding: 10px 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); z-index: 99;
  transform: translateY(-100%); transition: transform 0.3s;
  display: flex; align-items: center; gap: 10px;
}
.search-container.active { transform: translateY(0); }
.search-box { flex: 1; display: flex; align-items: center; gap: 8px; background: #f0f0f0; padding: 8px 12px; border-radius: 8px; }
.search-box input { flex: 1; border: none; background: transparent; outline: none; font-size: 0.95rem; }
.search-close { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 1.2rem; }

/* === SIDEBAR === */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.sidebar-overlay.active { opacity: 1; pointer-events: auto; }
.sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 300px; background: var(--card); z-index: 201; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 2px 0 20px rgba(0,0,0,0.15); display: flex; flex-direction: column; }
.sidebar.active { transform: translateX(0); }
.sidebar-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, var(--black), var(--black-soft)); color: white; }
.sidebar-header h2 { font-size: 1.1rem; font-weight: 800; }
.close-sidebar { background: rgba(255,255,255,0.15); border: none; font-size: 1.3rem; cursor: pointer; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-sidebar:hover { background: rgba(255,255,255,0.25); }

.sidebar-region-selector {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-bottom: 2px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-region-selector:hover {
  background: linear-gradient(135deg, #fff5f5, #ffffff);
}
.region-selector-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.region-selector-content:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.15);
}
.region-label-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.region-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.region-icon svg { width: 18px; height: 18px; }
.region-text { display: flex; flex-direction: column; }
.region-title {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.region-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.region-flag { font-size: 1.3rem; line-height: 1; }
.region-arrow {
  color: var(--text-light);
  transition: transform 0.2s;
}
.sidebar-region-selector:hover .region-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.sidebar-search { padding: 16px; border-bottom: 1px solid #f0f0f0; }
.sidebar-search-box { display: flex; align-items: center; gap: 8px; background: #f5f5f5; padding: 10px 14px; border-radius: 10px; border: 1px solid #e0e0e0; }
.sidebar-search-box input { flex: 1; border: none; background: transparent; outline: none; font-size: 0.9rem; color: var(--text); }
.sidebar-search-box svg { width: 18px; height: 18px; color: var(--text-light); flex-shrink: 0; }
.sidebar-links { padding: 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.sidebar-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); padding: 14px 16px; border-radius: 10px; transition: all 0.2s; font-weight: 500; font-size: 0.95rem; }
.sidebar-link:hover { background: #f9f9f9; color: var(--primary); }
.sidebar-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.sidebar-divider { height: 1px; background: #eee; margin: 8px 16px; }
.sidebar-footer { padding: 16px; border-top: 1px solid #eee; background: #fafafa; }
.sidebar-footer p { font-size: 0.75rem; color: var(--text-light); text-align: center; }

/* === COUNTRY MODAL === */
.country-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.country-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.country-modal-content {
  background: var(--card);
  width: 100%;
  max-width: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.country-modal.active .country-modal-content {
  transform: scale(1) translateY(0);
}
.country-modal-header {
  background: linear-gradient(135deg, var(--black), var(--black-soft));
  padding: 24px 28px;
  text-align: center;
  position: relative;
}
.country-modal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.country-modal h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.country-modal-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}
.country-modal-body { padding: 24px 28px; }
.country-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 8px;
}
.country-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #fafafa);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.country-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,29,44,0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s;
  border-radius: 14px;
}
.country-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(234, 29, 44, 0.15);
}
.country-btn:hover::before { opacity: 1; }
.country-btn.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fff5f5, #fff);
  box-shadow: 0 8px 25px rgba(234, 29, 44, 0.2);
}
.country-btn.selected::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}
.country-btn.selected .check-icon {
  opacity: 1;
  transform: scale(1);
}
.check-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: white;
  opacity: 0;
  transition: all 0.2s;
  pointer-events: none;
}
.country-btn-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.country-flag-large {
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #f8f8f8;
  border-radius: 14px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.country-info { display: flex; flex-direction: column; gap: 4px; }
.country-name {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}
.country-currency {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}
.currency-symbol {
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
}
.currency-symbol.brl { color: var(--brl-highlight); background: #e6f7f2; }
.currency-symbol.usd { color: var(--usd-highlight); background: #e8f5e9; }
.country-modal-footer {
  padding: 16px 28px 24px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}
.country-modal-footer p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}
.country-modal-footer strong {
  color: var(--text);
  font-weight: 600;
}

/* === PRODUCT MODAL === */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.product-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.product-modal-content {
  background: var(--card);
  width: 100%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.product-modal.active .product-modal-content {
  transform: scale(1) translateY(0);
}
.product-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  position: sticky;
  top: 0;
  z-index: 10;
}
.product-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
}
.product-modal-close {
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.product-modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}
.product-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}
.product-modal-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.product-modal-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-modal-stars {
  display: flex;
  gap: 2px;
  color: #FFB800;
  margin-bottom: 12px;
}
.product-modal-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.product-modal-price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 12px;
  border: 2px solid #e8e8e8;
}
.product-modal-discount {
  background: linear-gradient(135deg, #ff6b6b, var(--primary));
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
}
.product-modal-final-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--usd-highlight);
}
.product-modal-final-price.brl {
  color: var(--brl-highlight);
}
.product-modal-original-price {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.product-modal-section { margin-bottom: 20px; }
.product-modal-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.product-modal-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  white-space: pre-line;
}
.product-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: white;
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.product-modal-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-modal-btn svg { width: 20px; height: 20px; }
.product-modal-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}
.product-modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 29, 44, 0.4);
}
.product-modal-btn-secondary {
  background: #f0f0f0;
  color: var(--text);
  border: 2px solid #e0e0e0;
}
.product-modal-btn-secondary:hover {
  background: #e0e0e0;
  border-color: #ccc;
}

/* === TRUST BADGES === */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-top: 1px solid #eee;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--success);
}

/* === BANNERS === */
.banner-container {
  width: calc(100% - 32px);
  max-width: 1080px;
  margin: 8px auto;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-height: 100px;
}
.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}
.banner-slide.active { opacity: 1; }

.banner-1 {
  background: linear-gradient(135deg, #0A0A0A 50%, #1A1A1A 50%);
}
.banner-1 .banner-left {
  flex: 1;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-1 .banner-icon {
  width: 28px; height: 28px; margin-bottom: 4px;
}
.banner-1 .banner-icon svg { width: 100%; height: 100%; }
.banner-1 h2 {
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 3px;
}
.banner-1 p {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
}
.banner-1 .banner-right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.banner-1 .banner-right svg {
  width: 70px; height: 70px;
  color: white; opacity: 0.18;
}

.banner-2 {
  background: linear-gradient(135deg, #0A0A0A 55%, #1C1500 55%);
}
.banner-2 .banner-left {
  flex: 1;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-2 .banner-discount {
  color: #FFD700;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.banner-2 .banner-discount span {
  font-size: 0.85rem;
  font-weight: 600;
  vertical-align: super;
}
.banner-2 h2 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 4px;
}
.banner-2 p {
  color: rgba(255,255,255,0.6);
  font-size: 0.74rem;
  margin-top: 2px;
}
.banner-2 .banner-right {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.banner-2 .banner-right svg {
  width: 65px; height: 65px;
  color: #FFD700; opacity: 0.15;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .banner-container { width: calc(100% - 24px); margin: 8px auto; border-radius: 12px; min-height: 90px; }
  .banner-slide { min-height: 90px; }
  .banner-1 .banner-left { padding: 12px 14px; }
  .banner-1 h2 { font-size: 0.9rem; }
  .banner-1 p { font-size: 0.72rem; }
  .banner-1 .banner-icon { width: 24px; height: 24px; margin-bottom: 3px; }
  .banner-1 .banner-right svg { width: 50px; height: 50px; }
  .banner-2 .banner-left { padding: 12px 14px; }
  .banner-2 .banner-discount { font-size: 1.5rem; }
  .banner-2 h2 { font-size: 0.85rem; }
  .banner-2 p { font-size: 0.68rem; }
  .banner-2 .banner-right svg { width: 45px; height: 45px; }
  .sidebar { width: 280px; }
  .brand h1 { font-size: 1.1rem; }
  .product-modal-footer { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; gap: 12px; }
}

@media (max-width: 400px) {
  .banner-container { width: calc(100% - 16px); min-height: 85px; }
  .banner-slide { min-height: 85px; }
  .banner-1 .banner-left { padding: 10px 12px; }
  .banner-1 h2 { font-size: 0.82rem; }
  .banner-1 p { font-size: 0.66rem; }
  .banner-1 .banner-right svg { width: 38px; height: 38px; }
  .banner-2 .banner-left { padding: 10px 12px; }
  .banner-2 .banner-discount { font-size: 1.3rem; }
  .banner-2 h2 { font-size: 0.78rem; }
  .banner-2 p { font-size: 0.62rem; }
  .banner-2 .banner-right svg { width: 36px; height: 36px; }
  .country-modal-content { max-width: 95vw; }
  .country-btn { padding: 16px 18px; }
  .country-flag-large { width: 46px; height: 46px; font-size: 1.9rem; }
  .country-name { font-size: 1rem; }
  .toast { min-width: 280px; padding: 14px 16px; }
  .support-widget { right: 15px !important; bottom: 15px !important; }
  .support-chat { right: 15px !important; bottom: 75px !important; width: calc(100% - 30px) !important; }
}

@media (min-width: 769px) {
  .banner-container { min-height: 110px; }
  .banner-slide { min-height: 110px; }
}

/* === LAYOUT & CARDS === */
.container { max-width: 1100px; margin: 12px auto; padding: 0 16px; }

.category-header {
  text-align: left;
  padding: 24px 16px 16px;
}
.category-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}
.category-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
}

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.card { 
  background: var(--card); 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); 
  cursor: pointer; 
  border: 1px solid #f0f0f0; 
  transition: transform 0.2s, box-shadow 0.2s; 
}
.card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 20px rgba(0,0,0,0.08); 
}
.card img { 
  width: 100%; 
  aspect-ratio: 1.3/1; 
  object-fit: contain; 
  background: #fafafa; 
  padding: 12px; 
  display: block; 
}
.card-body { padding: 12px; }
.card-title { 
  font-weight: 700; 
  font-size: 0.9rem; 
  margin-bottom: 4px;
  color: var(--black);
}
.stars { display: flex; gap: 2px; color: #FFB800; font-size: 0.8rem; margin-bottom: 6px; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

.price-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.discount-badge {
  background: linear-gradient(135deg, #ff6b6b, var(--primary));
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(234, 29, 44, 0.3);
}
.promo-price {
  color: var(--usd-highlight);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}
.promo-price.brl { color: var(--brl-highlight); }
.original-price {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 4px;
}
.savings {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 4px;
}

.badge-tag { 
  background: #FFE5E8; 
  color: var(--primary); 
  padding: 4px 8px; 
  border-radius: 4px; 
  font-size: 0.7rem; 
  font-weight: 600; 
  display: inline-block; 
  margin-top: 6px; 
}

.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f8f9fa;
  border: 1px solid #eee;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}
.payment-method:hover {
  border-color: #ddd;
  transform: translateY(-1px);
}
.payment-method.card {
  background: #fff8e1;
  color: #856404;
  border-color: #ffe082;
}
.payment-method.usdt {
  background: var(--usdt-bg);
  color: var(--usdt-color);
  border-color: #b2dfdb;
}
.payment-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.discount-percent {
  font-size: 0.7rem;
  font-weight: 800;
}

/* === CART & OVERLAY === */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.overlay.active { opacity: 1; pointer-events: auto; }
.cart-sheet { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card); border-top-left-radius: 20px; border-top-right-radius: 20px; z-index: 100; transform: translateY(100%); transition: transform 0.3s; max-height: 80vh; overflow-y: auto; padding: 20px; }
.cart-sheet.active { transform: translateY(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #eee; }
.qty-control { display: flex; align-items: center; background: #f0f0f0; border-radius: 8px; padding: 2px; }
.qty-btn { width: 28px; height: 28px; border: none; background: white; border-radius: 6px; cursor: pointer; font-weight: bold; }
.totals { margin-top: 16px; padding-top: 12px; border-top: 2px solid #eee; }
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; margin-top: 10px; }
.btn { width: 100%; padding: 14px; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #f0f0f0; color: var(--text); margin-top: 8px; }
.btn-outline:hover { background: #e0e0e0; }

/* === FOOTER === */
.site-footer {
  background: var(--black);
  color: #a0a0a0;
  padding: 50px 16px 30px;
  margin-top: auto;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}
.footer-container { max-width: 1100px; margin: 0 auto; }
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #222;
}
.footer-col h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 700;
}
.footer-col p, .footer-col a {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #aaa;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-col strong { color: white; font-weight: 600; }
.footer-company-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.footer-company-name span { color: var(--primary); }
.footer-trust-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

/* === SECURITY BADGES === */
.payment-security {
  margin-top: 30px;
  padding: 24px 20px;
  background: var(--black-soft);
  border-radius: 12px;
  border: 1px solid #333;
}
.payment-security h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 0.95rem;
  text-align: center;
}
.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.security-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border-radius: 10px;
  border: 1px solid #333;
  transition: all 0.2s;
  min-width: 90px;
}
.security-badge:hover {
  border-color: #555;
  background: rgba(255,255,255,0.05);
}
.security-badge img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.security-badge span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #aaa;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

/* === SUPPORT WIDGET === */
.support-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  cursor: pointer;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
.support-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(234, 29, 44, 0.4);
  transition: all 0.3s;
}
.support-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(234, 29, 44, 0.5);
}
.support-button svg {
  width: 30px;
  height: 30px;
  color: white;
}
.support-chat {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 350px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}
.support-chat.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.support-chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.support-chat-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.support-chat-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.support-chat-close:hover {
  background: rgba(255,255,255,0.3);
}
.support-chat-body { padding: 20px; }
.support-chat-message {
  background: #f8f9fa;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  border-left: 3px solid var(--primary);
}
.support-chat-message p {
  margin: 0 0 12px 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}
.support-chat-message p:last-child { margin-bottom: 0; }
.support-chat-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.support-chat-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.3);
}
.support-chat-button svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .support-chat { width: calc(100% - 40px); right: 20px; }
  .security-badges { gap: 12px; }
  .security-badge { min-width: 70px; padding: 10px 12px; }
  .security-badge img { width: 32px; height: 32px; }
}