/* SharkSales - Ajustes Full Width e Alinhamento Global */

/* === GARANTIR FULL WIDTH === */
body.ss-canvas-page,
.sharksales-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Container principal 100% width */
.sharksales-container,
.sharksales-wrap {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

/* === ATIVOS PAGE - FULL WIDTH === */
.ss-ativos-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.ss-ativos-page-head {
  width: 100%;
  max-width: 100%;
  padding: 20px;
  margin: 0 0 20px;
  box-sizing: border-box;
  background: rgba(26, 27, 35, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ss-page-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* === BREADCRUMBS ALINHADO === */
.ss-breadcrumbs {
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
  box-sizing: border-box;
}

.ss-breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* === FILTROS E CONTEÚDO FULL WIDTH === */
.ss-ativos-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ss-ativos-sidebar {
  width: 100%;
  max-width: 100%;
}

.ss-ativos-main {
  width: 100%;
  max-width: 100%;
}

/* === GRID DE PRODUTOS === */
.ss-ativos-grid {
  display: grid;
  gap: 20px;
  width: 100%;
}

@media (min-width: 640px) {
  .ss-ativos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 1280px) {
  .ss-ativos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === RESPONSIVO CONTAINER === */
@media (max-width: 768px) {
  .sharksales-container,
  .sharksales-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  
  .ss-ativos-page-head {
    padding: 16px;
    margin: 0 0 16px;
  }
  
  .ss-page-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .sharksales-container,
  .sharksales-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  .ss-ativos-page-head {
    padding: 12px;
  }
  
  .ss-page-title {
    font-size: 1.75rem;
  }
}

/* === REMOVER LIMITS ANTIGOS === */
.container,
.ss-container {
  max-width: 100% !important;
}

/* === HEADER FULL WIDTH === */
.sharksales-site-header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* === GARANTIR ALINHAMENTO PERFEITO === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Compensar header fixo - aplicado apenas quando NÃO é canvas mode */
body:not(.sharksales-canvas) {
  padding-top: 68px !important;
}
