html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #0d6efd;
}

.admin-body {
  margin: 0;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
}

.admin-sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.admin-sidebar .nav-link.active {
  color: #fff !important;
}

.admin-main {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
  }
}

.table-actions {
  white-space: nowrap;
}

.kanban-root {
  overflow-x: auto;
}

.kanban-board {
  min-height: 50vh;
}

.kanban-column {
  width: 300px;
  max-width: 100%;
}

.kanban-column__cards {
  min-height: 120px;
}

.kanban-card__toggle:focus {
  box-shadow: none;
}

.kanban-card__toggle:hover .fw-semibold {
  text-decoration: underline;
}

.kanban-card--open .kanban-card__summary {
  opacity: 0.85;
}

/* Painéis iniciais da gestão — grade 2 colunas, arrastar caixas */
.gestao-dashboard-root .dashboard-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 20rem));
  justify-content: center;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 575.98px) {
  .gestao-dashboard-root .dashboard-grid-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

.gestao-dashboard-root .dashboard-draggable-card {
  cursor: grab;
  width: 100%;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575.98px) {
  .gestao-dashboard-root .dashboard-draggable-card {
    max-width: none;
  }
}

.gestao-dashboard-root .dashboard-draggable-card:active {
  cursor: grabbing;
}

.gestao-dashboard-root .dashboard-grid-shell {
  background: rgba(255, 255, 255, 0.6);
}

/* Loja / cardápio: imagens mais baixas para equilibrar texto e ver opções no detalhe */
.loja-cardapio-item-carousel .loja-cardapio-item-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .loja-cardapio-item-carousel .loja-cardapio-item-img {
    height: 160px;
  }
}

.loja-item-detalhe-carousel .loja-item-detalhe-img-wrap {
  max-height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loja-item-detalhe-carousel .loja-item-detalhe-img {
  max-height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 575.98px) {
  .loja-item-detalhe-carousel .loja-item-detalhe-img-wrap,
  .loja-item-detalhe-carousel .loja-item-detalhe-img {
    max-height: 160px;
  }
}

.loja-grupo-opcao-erro {
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.35);
}
