:root {
  --gris: #8d8d8d;
  --grisbajo: #dcdcdc;
  --grismuybajo: #fafbfc;
  --blanco: #fff;
  --grisFondo: #e9ecf1;
  --negro: #000000;
  --grisfuerte: #696969;
  --active: #ff9800;
  --toast: #ff9800;
  --apartada: #adb5bd;

  --button: #f4bb02;
}

a {
  text-decoration: none;
  cursor: pointer;
}
a:hover {
  text-decoration: none;
}

.second-btn {
  border: none;
  padding: 5px 1.5rem;
  background-color: transparent;
  color: var(--negro);
  border-radius: 8px;
  transition: 0.3s all ease-in-out;
}

.second-btn:hover {
  background-color: var(--button);
}

.primary-btn {
  border: none;
  background-color: var(--button);
  color: var(--negro);
  border-radius: 8px;
  padding: 5px 1.5rem;
  transition: 0.3s all ease-in-out;
}
.primary-btn:hover {
  background-color: var(--active);
}
.primary-btn1 {
  border: none;
  background-color: var(--button);
  color: var(--negro);
  border-radius: 8px;
  padding: 5px 1.5rem;
  transition: 0.3s all ease-in-out;
}
.primary-btn1:hover {
  background-color: var(--active);
}

.btn-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.btns-actions {
  display: flex;
  gap: 1rem;
}

.btns-actions-modal {
  display: flex;
  justify-content: space-between;
}
.terciary-btn {
  border-radius: 8px;
  background-color: var(--gris);
  color: var(--blanco);
  padding: 5px 1.5rem;
  border: none;
  transition: 0.3s all ease-in-out;
}
.terciary-btn:hover {
  background-color: var(--grisfuerte);
}

.container-fluid {
  padding: 0 2rem;
}

.estatus {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--apartada);
}
.estatus i {
  border-radius: 50px;
  padding: 5px;
}

.estatus i:hover {
  cursor: pointer;
}
.activa {
  background-color: var(--active);
  color: var(--blanco);
}
.inactiva {
  background-color: var(--apartada);
  color: lightgray;
}

.card-title {
  display: flex;
  justify-content: space-between;
}

.actions-card {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.actions-card i {
  color: var(--apartada);
  transition: 0.3s all ease-in-out;
}

.actions-card i:hover {
  color: var(--gris);
  cursor: pointer;
}

.card-title-text {
  display: flex;
  gap: 5px;
  font-size: 30px;
}
.card-title-text i {
  padding: 5px;
  border: 1px solid var(--apartada);
  border-radius: 8px;
  color: var(--grisbajo);
}

.nav-tabs .nav-link {
  color: var(--grisfuerte);
  font-weight: 600;
}

.label-card {
  color: var(--gris);
}

.actions-card a {
  line-height: 10px;
}

/* Estilos Popover */
[popover]:-internal-popover-in-top-layer::backdrop {
  position: fixed;
  background-color: #8d8d8d65;
  pointer-events: none !important;
  inset: 0px;
  transition: 0.3s all ease-in-out;
}

[popover] {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
}

.bg-popover {
  background-color: #ff99008e;
}

.ellipsis {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: center;
}

.no-padding {
  padding: 0 !important;
}

.product-details {
  display: flex;
  justify-content: space-between;
}

.card.card-product {
  border: none;
  box-shadow: 1px 1px 15px lightgray;
}

.card.card-product-second {
  border: none;
}

.img-product-container {
  display: flex;
  align-items: center;
}

.articulos-total,
.subtotales,
.total {
  display: flex;
  justify-content: space-between;
}

.subtotales,
.articulos-total {
  color: var(--gris);
  font-size: 16px;
  font-weight: 400;
}
.btns-products {
  display: flex;
  justify-content: space-between;
}

.total-final {
  text-align: center;
}

.resume-venta {
  background-color: #f2f2f2;
  border-radius: 15px;
  height: 90vh;
  padding: 1rem;
}

card-product {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (min-width: 768px) {
  card-product {
    width: 49%;
  }
}

@media (min-width: 1440px) {
  card-product {
    width: 32%;
  }
}

.shopping-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.mouse-pointer {
  cursor: pointer;
}

.custom-spinner {
  height: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  border: 8px solid;
  border-color: #ff9800 #0000;
  animation: s1 1s infinite;
}
@keyframes s1 {
  to {
    transform: rotate(0.5turn);
  }
}

.w-60 {
  width: 65% !important;
}
dialog {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
}
dialog[open] {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
}
dialog[open]::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
dialog[open] > :first-child {
  animation: none;
}
