/* Banner cookie compatto - PC e smartphone */
.nexusconsent-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  padding: 8px 12px !important;
  gap: 4px 12px !important;
  min-height: 0 !important;
  max-height: 50vh !important;
  max-height: 50dvh !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  z-index: 100001 !important;
}
.nexusconsent-banner .nexusconsent-text {
  grid-column: 1;
  grid-row: 1;
  margin: 0 auto !important;
  text-align: center;
  font-size: 13px !important;
}
.nexusconsent-banner .nxc-cats {
  grid-column: 1;
  grid-row: 2;
  margin: 0 auto !important;
}
.nexusconsent-banner .nxc-optional {
  margin: 0 auto !important;
}
.nexusconsent-banner .nxc-cat-necessary {
  display: none !important;
}
.nexusconsent-banner .nxc-optional summary {
  justify-content: center;
  padding: 2px 0 !important;
  font-size: 12px !important;
}
.nexusconsent-banner .nexusconsent-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center;
  gap: 8px !important;
}
.nexusconsent-banner .nexusconsent-actions .nexusconsent-btn {
  width: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.nexusconsent-banner:not(:has(.nxc-optional[open])) .nxc-save {
  display: none !important;
}
@media (max-width: 767px) {
  .nexusconsent-banner {
    grid-template-columns: minmax(0, 1fr);
  }
  .nexusconsent-banner .nexusconsent-actions {
    grid-column: 1;
    grid-row: 2;
  }
  .nexusconsent-banner .nxc-cats {
    grid-column: 1;
    grid-row: 3;
  }
}
