/* Variaveis CSS */
:root{
  --primary: #3483fa;
  --primary-dark: #2968c8;
  --primary-light: #eef3ff;
  --secondary: #00a650;
  --secondary-light: #e8f5e9;
  --bg: #f5f5f5;
  --bg-alt: #fafafa;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-alt: #4a4a4a;
  --muted: #6b6b6b;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --danger: #e53935;
  --warning: #ff9800;
  --success: #2e7d32;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* Reset Global */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}

/* ===============================
   LAYOUT ADMIN/DEV
   =============================== */
.admin-layout{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-header{
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo{
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.admin-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-title{
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.admin-subtitle{
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}

.admin-actions{
  display: flex;
  gap: 8px;
}

.admin-nav{
  background: rgba(0,0,0,0.15);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.admin-nav-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 0 16px;
  overflow-x: auto;
}

.admin-nav-link{
  padding: 12px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.admin-nav-link:hover{
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.admin-nav-link.active{
  color: #fff;
  border-bottom-color: var(--primary);
}

.admin-main{
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Stats Grid */
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}

.stat-card:hover{
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.stat-label{
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.stat-value{
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.stat-card.success .stat-value{color: var(--success)}
.stat-card.warning .stat-value{color: var(--warning)}
.stat-card.danger .stat-value{color: var(--danger)}

/* Cards Padrao */
.card-admin{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.card-admin:has(.tabs-header) .card-title{
  display: none;
}

.card-title{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

/* Botoes */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary{
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover{
  background: var(--primary-dark);
}

.btn-secondary{
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover{
  background: #009f48;
}

.btn-ghost{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.1);
}

.btn-outline{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover{
  background: var(--bg);
}

.btn-danger{
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover{
  background: #c62828;
}

.btn-sm{
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
}

/* Tabela */
.table-admin{
  width: 100%;
  border-collapse: collapse;
}

.table-admin th,
.table-admin td{
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table-admin th{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg);
}

.table-admin tr:hover{
  background: var(--bg-alt);
}

.table-admin td{
  font-size: 13px;
}

/* Badge */
.badge{
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success{
  background: var(--secondary-light);
  color: var(--success);
}

.badge-warning{
  background: #fff3e0;
  color: var(--warning);
}

.badge-danger{
  background: #ffebee;
  color: var(--danger);
}

.badge-primary{
  background: var(--primary-light);
  color: var(--primary);
}

/* Alert */
.alert{
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.alert-danger{
  background: #ffebee;
  color: var(--danger);
  border: 1px solid #ffcdd2;
}

.alert-success{
  background: var(--secondary-light);
  color: var(--success);
  border: 1px solid #c8e6c9;
}

/* Formularios */
.form-group{
  margin-bottom: 16px;
}

.form-label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-alt);
  margin-bottom: 6px;
}

.form-input{
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
  transition: var(--transition);
}

.form-input:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.15);
}

.form-textarea{
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
  transition: var(--transition);
  resize: none;
  line-height: 1.4;
}

.form-textarea:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.15);
}

.form-select{
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: #fff;
  cursor: pointer;
}

.form-actions{
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Grid */
.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

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

/* Empty State */
.empty-state{
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-state svg{
  opacity: 0.3;
  margin-bottom: 16px;
}

/* Modal */
.lw-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,0.5);
}

.lw-modal__backdrop{
  position: absolute;
  inset: 0;
}

.lw-modal__panel{
  position: relative;
  width: min(400px, 100%);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.lw-modal__panel--wide{
  width: min(760px, 100%);
}

.lw-msgmodal__panel{
  padding: 0;
  overflow: hidden;
}

.lw-msgmodal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: #fff;
  background: #374151;
}

.lw-msgmodal__header-left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lw-msgmodal__icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.lw-msgmodal__title{
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lw-msgmodal__close{
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  opacity: .95;
}

.lw-msgmodal__close:hover{
  background: rgba(255,255,255,.15);
}

.lw-msgmodal__body{
  padding: 16px;
  color: var(--text);
}

.lw-msgmodal__message{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.lw-msgmodal__actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px 16px 16px;
}

.lw-msgmodal--success .lw-msgmodal__header{ background: #16a34a; }
.lw-msgmodal--warning .lw-msgmodal__header{ background: #f59e0b; }
.lw-msgmodal--error .lw-msgmodal__header{ background: #ef4444; }
.lw-msgmodal--info .lw-msgmodal__header{ background: #2563eb; }
.lw-msgmodal--notification .lw-msgmodal__header{ background: #6366f1; }
.lw-msgmodal--alert .lw-msgmodal__header{ background: #dc2626; }

.lw-modal__title{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lw-modal__subtitle{
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 600px){
  .lw-modal{
    padding: 12px;
  }
  .lw-modal__panel{
    padding: 16px;
    border-radius: 16px;
  }
  .lw-msgmodal__panel{
    padding: 0;
  }
  .lw-msgmodal__actions{
    flex-direction: column-reverse;
  }
  .lw-msgmodal__actions .btn{
    width: 100%;
    justify-content: center;
  }
}

/* +18 (ofuscar imagem) */
.lw18-wrap{
  position: relative;
  overflow: hidden;
}

.lw18-wrap img{
  filter: blur(14px) saturate(0.9);
  transform: scale(1.06);
}

.lw18-wrap.lw18-unlocked img{
  filter: none;
  transform: none;
}

.lw18-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.35), rgba(0,0,0,0.75));
  color: #fff;
  text-align: center;
  padding: 12px;
  z-index: 2;
}

.lw18-wrap.lw18-unlocked .lw18-overlay{
  display: none;
}

.lw18-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
  background: rgba(183, 28, 28, 0.95);
  border: 2px solid rgba(255,255,255,0.25);
}

.lw18-btn{
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.15s;
}

.lw18-btn:hover{
  background: rgba(255,255,255,0.18);
}

.lw18-modal .lw-modal__panel{
  width: min(520px, 100%);
}

.lw18-row{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.lw18-math{
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border-light);
}

.lw18-buttons{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.lw18-buttons .btn{
  flex: 1;
  min-width: 150px;
}

/* Loja inteira +18: ofusca a página até validar */
body.lw18-site-locked .xv-page,
body.lw18-site-locked .page{
  filter: blur(14px) saturate(0.9);
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
}

/* ===============================
   PRODUTOS LISTA (ADMIN)
   =============================== */
.products-list-admin{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-item-admin{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.product-item-admin:hover{
  border-color: var(--border);
}

.product-thumb-admin{
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}

.product-thumb-admin img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info-admin{
  flex: 1;
  min-width: 0;
}

.product-title-admin{
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta-admin{
  font-size: 12px;
  color: var(--muted);
}

.product-actions-admin{
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ===============================
   RESPONSIVIDADE
   =============================== */
@media (max-width: 1024px){
  .stats-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .admin-header-inner{
    flex-wrap: wrap;
  }
  
  .stats-grid{
    grid-template-columns: 1fr;
  }
  
  .grid-4,
  .grid-3,
  .grid-2{
    grid-template-columns: 1fr;
  }
  
  .product-item-admin{
    flex-wrap: wrap;
  }
  
  .product-thumb-admin{
    width: 50px;
    height: 50px;
  }
  
  .product-info-admin{
    width: calc(100% - 66px);
  }
  
  .product-actions-admin{
    width: 100%;
    justify-content: flex-end;
  }
  
  .table-admin{
    display: block;
    overflow-x: auto;
  }
}

/* ===============================
   LOJA PUBLICA (mantido para compatibilidade)
   =============================== */
.page-wrap{
  min-height: 100vh;
}

.header-main{
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-link{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
}

.brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info{
  display: flex;
  flex-direction: column;
}

.brand-name{
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.brand-contact{
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.header-search{
  flex: 1;
  max-width: 600px;
}

.search-form{
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.search-input-wrap{
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.search-icon{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}

.search-input{
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff;
  outline: none;
  flex: 1;
}

.search-input:focus{
  box-shadow: 0 0 0 3px rgba(52, 131, 250, 0.3);
}

.search-btn{
  height: 44px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-btn:hover{
  background: var(--primary-dark);
}

.header-nav{
  background: rgba(0,0,0,0.2);
}

.nav-cats{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.nav-cat{
  padding: 10px 16px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-cat.active{
  color: #fff;
  border-bottom: 2px solid var(--primary);
}

.filters-bar{
  background: var(--card);
  border-bottom: 1px solid var(--border-light);
}

.filters-inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-select{
  height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.hero-section{
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 32px 16px;
}

.hero-content{
  max-width: 1280px;
  margin: 0 auto;
}

.hero-title{
  color: #fff;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  margin: 0;
}

.main-content{
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover{
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-link{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.product-img-wrap{
  position: relative;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-badge{
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.product-cliques{
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.product-info{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name{
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-prices{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.product-meta-cliques{
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.price-now{
  font-size: 18px;
  font-weight: 800;
}

.price-then{
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-btn{
  display: block;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
}

.footer-main{
  background: #1a1a2e;
  color: rgba(255,255,255,0.9);
  padding: 32px 16px 24px;
}

.footer-inner{
  max-width: 1280px;
  margin: 0 auto;
}

.footer-logo{
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}

.footer-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-title{
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.footer-desc{
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 4px 0 0;
}

.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-whatsapp,
.footer-address{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.footer-disclaimer{
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

@media (max-width: 1024px){
  .products-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px){
  .header-inner{
    flex-wrap: wrap;
  }
  
  .header-search{
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .products-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-img-wrap{
    height: 120px;
  }
}

@media (max-width: 480px){
  .products-grid{
    grid-template-columns: 1fr;
  }
  
  .product-img-wrap{
    height: 160px;
  }
}

/* ===============================
   LANDING PAGE (index.php)
   =============================== */
.landing-layout{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-header{
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-logo{
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}

.landing-title{
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.landing-subtitle{
  font-size: 12px;
  color: var(--muted);
}

.landing-nav{
  display: flex;
  gap: 8px;
}

.landing-main{
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px;
}

.hero-landing{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-landing-card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.hero-title{
  color: #fff;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero-desc{
  font-size: 15px;
  color: var(--text-alt);
  line-height: 1.6;
  margin: 0 0 16px;
}

.hero-code{
  background: #1a1a2e;
  color: #a5b4fc;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: monospace;
}

.pill-row{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.pill{
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  background: #1a1a2e;
  color: #cbd5e1;
}

.hero-actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.section-title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text);
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.feature-card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.feature-card h3{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p{
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.plans-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.plan-card h3{
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.plan-price{
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.plan-price span{
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

.plan-desc{
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan-features{
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-alt);
  line-height: 1.8;
}

.landing-footer{
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 24px 16px;
  text-align: center;
}

.landing-footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-footer p{
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.landing-footer a{
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 1024px){
  .hero-landing{
    grid-template-columns: 1fr;
  }
  
  .feature-grid,
  .plans-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .landing-header-inner{
    flex-wrap: wrap;
  }
  
  .landing-nav{
    width: 100%;
    justify-content: flex-end;
  }
  
  .hero-landing-card{
    padding: 20px;
  }
  
  .feature-grid,
  .plans-grid{
    grid-template-columns: 1fr;
  }
  
  .hero-actions{
    flex-direction: column;
  }
  
  .hero-actions .btn{
    width: 100%;
  }
  
  .landing-footer-inner{
    flex-direction: column;
    gap: 12px;
  }
}

/* Tabs */
.tabs-header{
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin: -16px -16px 16px -16px;
  padding: 0 16px;
}

.tab-btn{
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover{
  color: var(--text);
}

.tab-btn.active{
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Produtos Layout 3 colunas */
.produtos-layout{
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  gap: 20px;
  align-items: start;
}

.produtos-sidebar{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.sidebar-title{
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.categorias-list{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.categoria-link{
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-alt);
  font-size: 13px;
  transition: var(--transition);
}

.categoria-link:hover{
  background: var(--bg);
  color: var(--text);
}

.categoria-link.active{
  background: #fff3cd;
  color: #856404;
  font-weight: 600;
}

.categoria-link:hover{
  background: var(--bg);
  color: var(--text);
}

.categoria-link.active{
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 500;
}

.produtos-center{
  min-width: 0;
}

.produtos-stats{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.mais-clicados-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clicado-item{
  display: flex;
  align-items: center;
  gap: 8px;
}

.clicado-rank{
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.clicado-img{
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.clicado-info{
  flex: 1;
  min-width: 0;
}

.clicado-title{
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clicado-cliques{
  font-size: 11px;
  color: var(--muted);
}

/* Mais Vistos Section */
.mais-vistos-section{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 0 20px;
}

.section-title{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.mais-vistos-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.mais-vistos-card{
  display: block;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.mais-vistos-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.mais-vistos-img-wrap{
  position: relative;
  aspect-ratio: 1;
  background: #fff;
}

.mais-vistos-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mais-vistos-rank{
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.mais-vistos-info{
  padding: 10px;
}

.mais-vistos-name{
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.mais-vistos-price{
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* Loja Layout 3 colunas */
.loja-layout{
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.loja-sidebar{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: sticky;
  top: 20px;
}

.loja-main{
  min-width: 0;
}

.loja-stats{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: sticky;
  top: 20px;
}

.loja-stats .sidebar-title{
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #e53935;
}

.loja-stats .mais-clicados-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 600px;
  overflow-y: auto;
}

.loja-stats .clicado-item{
  display: flex;
  align-items: center;
  gap: 8px;
}

.loja-stats .clicado-rank{
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.loja-stats .clicado-img{
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.loja-stats .clicado-info{
  flex: 1;
  min-width: 0;
}

.loja-stats .clicado-title{
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.loja-stats .clicado-cliques{
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 1024px){
  .loja-layout{
    grid-template-columns: 160px 1fr 200px;
  }
}

@media (max-width: 768px){
  .loja-layout{
    grid-template-columns: 1fr;
  }
  .loja-sidebar, .loja-stats{
    position: static;
  }
  .loja-stats .mais-clicados-list{
    max-height: none;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .loja-stats .clicado-item{
    width: calc(50% - 4px);
  }
}

/* Admin Layout 3 colunas */
.admin-produtos-layout{
  display: grid;
  grid-template-columns: 180px 1fr 240px;
  gap: 20px;
  align-items: start;
}

.admin-sidebar{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.admin-center{
  min-width: 0;
}

.admin-stats{
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.admin-stats .sidebar-title{
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #e53935;
}

.admin-stats .mais-clicados-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-stats .clicado-item{
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-stats .clicado-rank{
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.admin-stats .clicado-img{
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.admin-stats .clicado-info{
  flex: 1;
  min-width: 0;
}

.admin-stats .clicado-title{
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-stats .clicado-cliques{
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 1024px){
  .admin-produtos-layout{
    grid-template-columns: 160px 1fr 200px;
  }
}

@media (max-width: 768px){
  .admin-produtos-layout{
    grid-template-columns: 1fr;
  }
}

/* ===============================
   LOJA PÚBLICA (XViu - Layout Pro)
   =============================== */
.xv-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.xv-store{
  background: var(--xv-page-bg, #f2f4f7);
}

.xv-store :root{}

.xv-header{
  background: var(--xv-header-bg,
    radial-gradient(1100px 520px at 25% 0%, rgba(255,106,0,0.22), transparent 58%),
    radial-gradient(900px 420px at 80% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #07080a 0%, #0f1218 55%, #121827 100%)
  );
  position: sticky;
  top: 0;
  z-index: 120;
}

.xv-header-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.xv-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.xv-brand-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  overflow: hidden;
  flex: 0 0 auto;
}

.xv-brand-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xv-brand-text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.xv-brand-name{
  font-weight: 900;
  font-size: 18px;
  color: var(--xv-header-fg, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xv-brand-sub{
  font-size: 12px;
  color: var(--xv-header-muted, rgba(255,255,255,0.68));
  margin-top: 1px;
}

.xv-top-search{
  flex: 1;
  display: flex;
  justify-content: center;
}

.xv-top-search-row{
  width: 100%;
  max-width: 820px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px 1fr 48px;
  box-shadow: 0 14px 44px rgba(0,0,0,0.28);
}

.xv-top-select{
  height: 44px;
  border: none;
  border-right: 1px solid rgba(0,0,0,0.08);
  padding: 0 12px;
  font-weight: 800;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.xv-top-input{
  height: 44px;
  border: none;
  padding: 0 12px;
  outline: none;
  font-size: 14px;
}

.xv-top-btn{
  height: 44px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff7a1a)));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xv-top-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.xv-top-action{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--xv-header-fg-soft, rgba(255,255,255,0.90));
  font-weight: 900;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--xv-header-chip-bg, rgba(255,255,255,0.05));
  border: 1px solid var(--xv-header-chip-border, rgba(255,255,255,0.14));
}

.xv-top-action:hover{
  background: rgba(255,255,255,0.10);
  color: var(--xv-header-fg-hover, #fff);
}

.xv-nav{
  background: var(--xv-nav-bg, rgba(0,0,0,0.20));
  border-top: 1px solid var(--xv-nav-border, rgba(255,255,255,0.10));
}

.xv-nav-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.xv-nav-left{
  display: flex;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.xv-nav-left::-webkit-scrollbar{ height: 8px; }
.xv-nav-left::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.14); border-radius: 999px; }
.xv-nav-left::-webkit-scrollbar-track{ background: transparent; }

.xv-nav-cats{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff7a1a)));
  white-space: nowrap;
}

.xv-nav-burger{
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.xv-nav-burger span{
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
}

.xv-nav-link{
  color: var(--xv-nav-link, rgba(255,255,255,0.78));
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 10px;
}

.xv-nav-link:hover{
  color: var(--xv-nav-link-hover, #fff);
  background: var(--xv-nav-link-bg-hover, rgba(255,255,255,0.08));
}

.xv-nav-cta{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--xv-nav-cta-fg, #0b0c0f);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--xv-nav-cta-bg, rgba(255,255,255,0.92));
  white-space: nowrap;
}

.xv-nav-cta:hover{ filter: brightness(0.98); }

.xv-main{
  flex: 1;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 16px 36px;
}

.xv-hero{
  padding: 18px 0 8px;
}

.xv-hero-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.xv-hero-left{
  background: linear-gradient(135deg, rgba(255,106,0,0.16), rgba(255,255,255,0.9));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 18px;
}

.xv-hero-eyebrow{
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.xv-hero-title{
  margin: 0;
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.xv-hero-subtitle{
  margin: 10px 0 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}

.xv-hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xv-badge{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
}

.xv-hero-right{
  display: flex;
}

.xv-hero-illus{
  flex: 1;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.xv-hero-illus:before{
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,106,0,0.35), transparent 60%);
}

.xv-hero-illus-top{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.xv-hero-illus-bottom{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.xv-market-mini{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  padding: 10px 12px;
  font-weight: 900;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.xv-market-mini-logo{
  height: 16px;
  width: auto;
  object-fit: contain;
  display: block;
}

.xv-market-mini-text{
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
}

.xv-hero-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.xv-hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
}

.xv-hero-btn:hover{ filter: brightness(1.02); }

.xv-hero-kpi{
  background: #0b0c0f;
  color: #fff;
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.xv-hero-kpi-value{
  font-size: 22px;
  font-weight: 900;
}

.xv-hero-kpi-label{
  font-size: 12px;
  color: rgba(255,255,255,0.70);
  margin-top: 2px;
  font-weight: 700;
}

.xv-section{
  margin-top: 18px;
}

.xv-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.xv-section-title{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.xv-section-link{
  font-size: 12px;
  font-weight: 900;
  color: var(--store-accent, #ff6a00);
}

.xv-section-meta{
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
}

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

.xv-cat{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  text-align: center;
}

.xv-cat:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: rgba(255,106,0,0.25);
}

.xv-cat-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,106,0,0.12);
  color: var(--store-accent, #ff6a00);
  font-weight: 900;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}

.xv-cat-letter{
  position: relative;
  z-index: 1;
}

.xv-cat-thumb{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

.xv-cat-icon.has-thumb .xv-cat-letter{
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.50);
}

.xv-cat-name{
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
}

.xv-slider-actions{
  display: flex;
  gap: 8px;
}

.xv-slider-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.xv-slider-btn:hover{
  border-color: rgba(255,106,0,0.35);
}

.xv-slider{
  position: relative;
}

.xv-slider-track{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.xv-slider-track::-webkit-scrollbar{ height: 8px; }
.xv-slider-track::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.18); border-radius: 999px; }
.xv-slider-track::-webkit-scrollbar-track{ background: transparent; }

.xv-card{
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.xv-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,106,0,0.25);
  box-shadow: 0 12px 34px rgba(0,0,0,0.10);
}

.xv-card-link{
  display: block;
}

.xv-card-img{
  position: relative;
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.xv-card-clicks{
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  font-weight: 900;
  font-size: 11px;
  color: rgba(255,255,255,0.98);
  background: transparent;
  border: none;
  text-shadow: 0 2px 6px rgba(0,0,0,0.75), 0 0 1px rgba(0,0,0,0.9);
}

.xv-card-clicks svg{
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.85));
}

.lw-share-btn{
  position: absolute;
  top: 44px;
  right: 10px;
  width: 34px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}

.lw-share-btn:hover{
  opacity: 0.85;
}

.lw-share-btn img{
  width: 14px;
  height: 14px;
  display: block;
}

.lw-share-modal .lw-modal__panel{
  width: min(520px, 100%);
}

.lw-share-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 420px){
  .lw-share-actions{grid-template-columns:1fr;}
}

.xv-card-img img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.xv-card-badge{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16,185,129,0.14);
  color: #0f5132;
  border: 1px solid rgba(16,185,129,0.35);
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
}

.xv-card-body{
  padding: 14px;
}

.xv-card-title{
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.xv-market-logo-inline{
  height: 14px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  margin-left: 6px;
  vertical-align: middle;
}

/* Ajuste específico para logomarca da Hotmart */
.xv-market-logo-inline[alt*="otmart" i]{
  height: 18px;
}

.xv-market-text-inline{
  font-weight: 900;
  font-size: 11px;
  color: #0f172a;
  opacity: 0.75;
  margin-left: 6px;
  white-space: nowrap;
}

.xv-market-logo{
  height: 14px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  filter: saturate(1.02);
}

.xv-market-text{
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
  opacity: 0.85;
}

.xv-card-price{
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 10px;
}

.xv-price-now{
  color: #0a7d2f;
  font-weight: 900;
  font-size: 18px;
}

.xv-price-old{
  color: #64748b;
  font-weight: 800;
  text-decoration: line-through;
  font-size: 12px;
}

.xv-card-btn{
  margin-top: 12px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xv-card:hover .xv-card-btn{ filter: brightness(1.02); }

.xv-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.xv-tile{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.xv-tile:hover{
  transform: translateY(-2px);
  border-color: rgba(255,106,0,0.25);
  box-shadow: 0 12px 34px rgba(0,0,0,0.10);
}

.xv-tile-link{
  display: block;
  padding: 14px;
  flex: 1;
}

.xv-tile-img{
  position: relative;
  height: 170px;
  background: #f8fafc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.xv-tile-img img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.xv-tile-body{
  margin-top: 12px;
}

.xv-tile-title{
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.xv-tile-btn{
  margin: 0 14px 14px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.xv-tile-btn:hover{ filter: brightness(1.02); }

.xv-empty{
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed rgba(0,0,0,0.20);
  border-radius: 18px;
  padding: 30px;
  text-align: center;
}

.xv-empty-title{
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
}

.xv-empty-sub{
  margin-top: 6px;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

.xv-static{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 18px;
}

.xv-static h1{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

.xv-static h2{
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.xv-static p, .xv-static li{
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.xv-static a{
  color: var(--store-accent, #ff6a00);
  font-weight: 800;
}

.xv-breadcrumb{
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
  margin-bottom: 12px;
}

.xv-form{
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.xv-form input, .xv-form textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 12px;
  font-size: 14px;
  outline: none;
}

.xv-form textarea{ min-height: 120px; resize: vertical; }

.xv-form input:focus, .xv-form textarea:focus{
  border-color: rgba(255,106,0,0.55);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.14);
}

.xv-form .xv-submit{
  height: 44px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  width: fit-content;
  padding: 0 18px;
}

.xv-alert{
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(15,23,42,0.04);
  color: #0f172a;
}

.xv-alert.ok{
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.22);
  color: #0f5132;
}

.xv-alert.err{
  background: rgba(239,68,68,0.10);
  border-color: rgba(239,68,68,0.22);
  color: #7f1d1d;
}

.xv-footer{
  background: var(--xv-footer-bg, #0b0c0f);
  color: rgba(255,255,255,0.78);
  margin-top: auto;
}

/* ===============================
   Temas (4 opções fixas)
   =============================== */
.xv-theme-xviu-orange{
  --xv-page-bg: #f2f4f7;
  --xv-header-bg:
    radial-gradient(1100px 520px at 25% 0%, rgba(255,106,0,0.22), transparent 58%),
    radial-gradient(900px 420px at 80% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #07080a 0%, #0f1218 55%, #121827 100%);
  --xv-header-fg: #fff;
  --xv-header-fg-soft: rgba(255,255,255,0.90);
  --xv-header-fg-hover: #fff;
  --xv-header-muted: rgba(255,255,255,0.68);
  --xv-header-chip-bg: rgba(255,255,255,0.05);
  --xv-header-chip-border: rgba(255,255,255,0.14);
  --xv-nav-bg: rgba(0,0,0,0.20);
  --xv-nav-border: rgba(255,255,255,0.10);
  --xv-nav-link: rgba(255,255,255,0.78);
  --xv-nav-link-hover: #fff;
  --xv-nav-link-bg-hover: rgba(255,255,255,0.08);
  --xv-nav-cta-bg: rgba(255,255,255,0.92);
  --xv-nav-cta-fg: #0b0c0f;
  --xv-footer-bg: #0b0c0f;
}

.xv-theme-ocean-blue{
  --xv-page-bg: #f3f6fb;
  --xv-header-bg:
    radial-gradient(1100px 520px at 25% 0%, rgba(59,130,246,0.20), transparent 58%),
    radial-gradient(900px 420px at 80% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #07080a 0%, #0c1222 55%, #111a33 100%);
  --xv-header-fg: #fff;
  --xv-header-fg-soft: rgba(255,255,255,0.90);
  --xv-header-fg-hover: #fff;
  --xv-header-muted: rgba(255,255,255,0.70);
  --xv-header-chip-bg: rgba(255,255,255,0.05);
  --xv-header-chip-border: rgba(255,255,255,0.14);
  --xv-nav-bg: rgba(0,0,0,0.20);
  --xv-nav-border: rgba(255,255,255,0.10);
  --xv-nav-link: rgba(255,255,255,0.78);
  --xv-nav-link-hover: #fff;
  --xv-nav-link-bg-hover: rgba(255,255,255,0.08);
  --xv-nav-cta-bg: rgba(255,255,255,0.92);
  --xv-nav-cta-fg: #0b0c0f;
  --xv-footer-bg: #0b1020;
}

.xv-theme-clean-light{
  --xv-page-bg: #f6f7fb;
  --xv-header-bg: linear-gradient(180deg, #ffffff 0%, #ffffff 60%, #f1f5f9 100%);
  --xv-header-fg: #0f172a;
  --xv-header-fg-soft: rgba(15,23,42,0.92);
  --xv-header-fg-hover: #0f172a;
  --xv-header-muted: rgba(15,23,42,0.62);
  --xv-header-chip-bg: rgba(15,23,42,0.04);
  --xv-header-chip-border: rgba(15,23,42,0.10);
  --xv-nav-bg: rgba(15,23,42,0.04);
  --xv-nav-border: rgba(15,23,42,0.10);
  --xv-nav-link: rgba(15,23,42,0.76);
  --xv-nav-link-hover: #0f172a;
  --xv-nav-link-bg-hover: rgba(15,23,42,0.06);
  --xv-nav-cta-bg: rgba(15,23,42,0.92);
  --xv-nav-cta-fg: #fff;
  --xv-footer-bg: #0b0c0f;
}

.xv-theme-premium-black{
  --xv-page-bg: #f4f4f6;
  --xv-header-bg:
    radial-gradient(1100px 520px at 25% 0%, rgba(245,158,11,0.14), transparent 58%),
    radial-gradient(900px 420px at 80% 30%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #050507 0%, #0b0c10 55%, #12131a 100%);
  --xv-header-fg: #fff;
  --xv-header-fg-soft: rgba(255,255,255,0.90);
  --xv-header-fg-hover: #fff;
  --xv-header-muted: rgba(255,255,255,0.66);
  --xv-header-chip-bg: rgba(255,255,255,0.05);
  --xv-header-chip-border: rgba(255,255,255,0.14);
  --xv-nav-bg: rgba(0,0,0,0.22);
  --xv-nav-border: rgba(255,255,255,0.10);
  --xv-nav-link: rgba(255,255,255,0.78);
  --xv-nav-link-hover: #fff;
  --xv-nav-link-bg-hover: rgba(255,255,255,0.08);
  --xv-nav-cta-bg: rgba(255,255,255,0.92);
  --xv-nav-cta-fg: #0b0c0f;
  --xv-footer-bg: #050507;
}

.xv-footer-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 16px 18px;
}

.xv-footer-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
}

.xv-footer-name{
  font-weight: 900;
  color: #fff;
}

.xv-footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.xv-footer-brandrow{
  display: flex;
  gap: 12px;
  align-items: center;
}

.xv-footer-desc{
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.xv-footer-heading{
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.xv-footer-link{
  display: block;
  color: rgba(255,255,255,0.68);
  font-weight: 700;
  font-size: 12px;
  margin: 6px 0;
}

.xv-footer-link:hover{
  color: #fff;
}

.xv-footer-link.is-muted{
  opacity: 0.55;
}

.xv-footer-social{
  display: flex;
  gap: 10px;
}

.xv-social{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.86);
}

.xv-social:hover{
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.xv-footer-legal{
  padding-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.xv-footer-disclaimer{
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.68);
  max-width: 980px;
  margin: 0 auto;
}

.xv-footer-copy{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.xv-promo{
  width: 100%;
  margin: 18px 0 14px;
  padding: 0 16px;
}

.xv-promo-inner{
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(90deg, #0b0c0f 0%, #111827 45%, rgba(255,106,0,0.20) 100%);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.16);
  overflow: hidden;
  position: relative;
}

.xv-promo-left{
  display: flex;
  gap: 14px;
  align-items: center;
}

.xv-promo-illus{
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.xv-promo-illus img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.xv-promo-title{
  font-weight: 900;
  font-size: 20px;
}

.xv-promo-sub{
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 13px;
}

.xv-promo-btn{
  margin-top: 10px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.xv-promo-right{
  display: flex;
  align-items: center;
  justify-content: center;
}

.xv-promo-tag{
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255,106,0,0.35);
  background: radial-gradient(circle at 30% 30%, rgba(255,106,0,0.32), rgba(255,106,0,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 44px;
  color: rgba(255,106,0,0.95);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06);
}

.xv-newsletter{
  margin-top: 0;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
}

.xv-newsletter-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.xv-newsletter-title{
  font-weight: 900;
  font-size: 16px;
}

.xv-newsletter-sub{
  font-weight: 700;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

.xv-newsletter-form{
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: min(560px, 100%);
}

.xv-newsletter-form input[type="email"]{
  flex: 1;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0 12px;
  outline: none;
}

.xv-newsletter-form button{
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  background: #0b0c0f;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.xv-newsletter-form button:hover{
  filter: brightness(1.03);
}

.xv-newsletter-msg{
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
  opacity: 0.95;
  flex: 1 0 100%;
}

.xv-wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 42px rgba(0,0,0,0.24);
  border: 1px solid rgba(0,0,0,0.10);
}

.xv-wa-float svg,
.xv-wa-ico{
  width: 38px;
  height: 38px;
  fill: #fff;
  display: block;
}

.xv-wa-float:hover{
  filter: brightness(1.02);
}

@media (max-width: 520px){
  .xv-wa-float{
    width: 52px;
    height: 52px;
  }
}

.xv-banner{
  margin-top: 18px;
}

.xv-banner-inner{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(90deg, #0b0c0f 0%, #111827 45%, rgba(255,106,0,0.20) 100%);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 14px 42px rgba(0,0,0,0.16);
}

.xv-banner-title{
  font-weight: 900;
  font-size: 18px;
}

.xv-banner-sub{
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 13px;
}

.xv-banner-btn{
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--store-btn-a, var(--store-accent, #ff6a00)), var(--store-btn-b, var(--store-accent-2, #ff8533)));
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.xv-banner-btn:hover{ filter: brightness(1.02); }

@media (max-width: 1100px){
  .xv-cats{ grid-template-columns: repeat(4, 1fr); }
  .xv-grid{ grid-template-columns: repeat(3, 1fr); }
  .xv-top-search-row{ grid-template-columns: 190px 1fr 48px; }
}

@media (max-width: 860px){
  .xv-hero-inner{ grid-template-columns: 1fr; }
  .xv-header-inner{ flex-wrap: wrap; }
  .xv-top-search{ order: 10; width: 100%; }
  .xv-top-search-row{ max-width: none; grid-template-columns: 1fr 48px; }
  .xv-top-select{ display: none; }
  .xv-cats{ grid-template-columns: repeat(2, 1fr); }
  .xv-grid{ grid-template-columns: repeat(2, 1fr); }
  .xv-card{ flex-basis: 220px; }
  .xv-banner-inner{ flex-direction: column; align-items: flex-start; }
  .xv-newsletter-inner{ flex-direction: column; align-items: stretch; }
  .xv-newsletter-form{ min-width: 0; width: 100%; }
  .xv-footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px){
  .xv-grid{ grid-template-columns: 1fr; }
  .xv-card{ flex-basis: 82vw; }
  .xv-top-actions span{ display: none; }
  .xv-nav-cta{ margin-left: 0; }
  .xv-footer-grid{ grid-template-columns: 1fr; }
  .xv-promo-left{ align-items: flex-start; }
  .xv-promo-right{ display: none; }
}
