:root {
  --bs-primary: #0d6efd;
  --bs-secondary: #28a745;
  --bs-third: #ff0000;
  --bs-success: #198754;
  --bs-link: #f8f9fa;
  --bs-ico-carrito: #ffc107;
  --bs-tag-descuento: #ff5733;
  --bs-texto-descuento: #ffffff;
  --bs-texto-general: #444;
  --bs-fondo-msg-des: #9df69dbf;
  --bs-fondo-msg-err: #f8d7da;

  --bs-primary-hover: #0056b3;
  --bs-secondary-hover: #096e21;
  --bs-third-hover: #b20909;
  --bs-success-hover: #146e44;
  --bs-link-hover: rgba(255, 255, 255, 0.2);

  --bs-sombra-box: rgba(0, 0, 0, 0.1);
  --bs-sombra-text: rgba(0, 0, 0, 0.3);
  --bs-sombra-btn:rgba(255, 255, 255, 0.3);
  --bs-sombra-titulo: #28a74599;

  --bs-gradient: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  --bs-font-family-principal: 'Segoe UI', sans-serif;
  --bs-font-family-banner: 'Poppins', sans-serif;

  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529; 
  --bs-danger-hover: #780b16;
  --bs-light-hover: #d8d8d8;
  --bs-dark-hover: #484848;
}

/* Estilos generales */
html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--bs-font-family-principal);
  padding: 0;
  background-color: var(--bs-light);
  display: flex;
  flex-direction: column;
  color: var(--bs-texto-general);
  visibility: hidden;
}

main {
  flex: 1;
  display: contents;
}

/* Banner con tonos azul y verde */
#banner {
  width: 100%;
  height: 10%;
  background: var(--bs-gradient);
  color: var(--bs-light);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 8px var(--bs-sombra-box);
}

#banner h1 {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px var(--bs-sombra-text);
  font-family: var(--bs-font-family-banner); /* Cambia aquí la fuente */

}

.container {
  margin-bottom: 20px;
}

/* Estilo de los productos */
.product-card {
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}

.card {
  border-radius: 10px;
  box-shadow: 0 6px 12px var(--bs-sombra-box);
  background-color: var(--bs-light);
  overflow: hidden;
  width: 240px;
  height: 350px;
  text-align: center;
}

.cardCarrito {
  border-radius: 10px;
  box-shadow: 0 6px 12px var(--bs-sombra-box);
  background-color: var(--bs-light);
  overflow: hidden;
  width: 240px;
  height: 550px;
  text-align: center;
}

/* Estilo de la imagen */
.card-img-top {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 10px;
  border-radius: 10px;
}

/* Efecto al pasar el ratón sobre la tarjeta del producto */
.product-card:hover {
  transform: scale(1.05);
}

/* Estilo del contenedor de productos */
#ProductoLista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
  padding: 20px 0;
}

/* Estilos de las tarjetas de producto */
.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  cursor: pointer;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--bs-primary);
  margin: 0;
}

.card-text {
  font-size: 1rem;
  color: var(--bs-secondary);
  margin: 0;
}

/* Botones con colores verde y azul */

.btn {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--bs-primary);
  border: none;
}

.btn-primary:hover {
  background-color: var(--bs-primary-hover);
  transform: scale(1.05);
}

.btn-danger {
  background-color: var(--bs-danger);
  border: none;
}

.btn-danger:hover {
  background-color: var(--bs-danger-hover);
  transform: scale(1.05);
}

.btn-confirm {
  background-color: var(--bs-primary);
  border: none;
  color: var(--bs-light);
  width: auto;
}

.btn-confirm:hover {
  background-color: var(--bs-primary-hover);
  color: var(--bs-light);
  transform: scale(1.05);
}

.btn-volvercarrito {
  background-color: var(--bs-secondary);
  border: none;
  color: var(--bs-light);
  width: auto;
}

.btn-volvercarrito:hover {
  background-color: var(--bs-secondary-hover);
  color: var(--bs-light);
  transform: scale(1.05);
}

/* Navbar estilizado */
.navbar {
  background: var(--bs-gradient);
  padding: 15px 20px;
  box-shadow: 0 4px 8px var(--bs-sombra-box);
  border-bottom: 3px solid var(--bs-sombra-btn);
}

.navbar-nav {
  margin-top: 10px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--bs-link);
}

/* Logo más grande */
.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--bs-light);
  text-shadow: 2px 2px 4px var(--bs-sombra-text);
  transition: transform 0.2s ease;
}

.navbar-brand:hover {
  transform: scale(1.1);
  color: var(--bs-link-hover);
}

/* Links del navbar */
.navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--bs-link-hover);
  margin: 0 10px;
  padding: 8px 15px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.2s ease;
  border-radius: 5px;
}

/* Efecto al pasar el mouse sobre los links */
.navbar-nav .nav-link:hover {
  background: var(--bs-link-hover);
  color: var(--bs-link);
  transform: scale(1.1);
}

/* Resaltar el link activo */
.navbar-nav .nav-item.active .nav-link {
  background: var(--bs-link-hover);
  border-radius: 5px;
}

/* Botón de menú hamburguesa */
.navbar-toggler {
  border: 5px solid var(--bs-light);
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.navbar-toggler:hover {
  background: var(--bs-link-hover);
}

/* Estilo para separar el icono del carrito */
.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-cart {
  display: flex;
  align-items: center;
}

.navbar-cart span {
  margin-left: 5px;
}

/* Icono del carrito más vistoso */
#num-carrito {
  font-weight: bold;
  color: var(--bs-light);
  background-color: var(--bs-ico-carrito);
  padding: 5px 10px;
  border-radius: 50%;
}

/* Estilo para el input de cantidad */
.cantidad-input {
  width: 80px;
  margin: 10px;
  font-size: 1rem;
  border: 2px solid var(--bs-primary);
  border-radius: 20px;
  background-color: var(--bs-light);
  text-align: center; 
  transition: all 0.3s ease; 
}

.cantidad-input:focus {
  outline: none;
  border-color: var(--bs-secondary);
  background-color: var(--bs-light-hover);
}

.cantidad-btn {
  padding: 5px 10px;
  background-color: var(--bs-primary);
  color: var(--bs-light);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cantidad-btn:hover {
  background-color: var(--bs-primary-hover);
}

.cantidad-btn:active {
  background-color: var(--bs-primary-hover);
}

.total-carrito-classcon-descuento {
  background-color: var(--bs-fondo-msg-des);
  color: var(--bs-success-hover);
  border: 2px dashed var(--bs-success);
  transition: all 0.3s ease;
  text-align: center;
  font-weight: bold; 
}

.total-carrito-classcon-descuento::before {
  content: "💸";
  color: var(--bs-success);
}

.total-carrito-classcon-descuento {
  animation: pulseDescuento 1s ease-in-out infinite alternate;
}

.total-classcon-descuento {
  font-weight: bold; 
  margin-top: 15px;
  animation: pulseDescuento 1s ease-in-out infinite alternate;
  color: var(--bs-success-hover);
  transition: all 0.3s ease;
  text-align: center;
}

@keyframes pulseDescuento {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}


.total-carrito-class {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--bs-primary);
  padding: 5px;
  border-radius: 10px;
  display: flex;
  justify-content: right;
  align-items: center;
  margin: 5px;
  margin-bottom: 10px;
}

/* Si quieres agregar un icono o algún gráfico */
.total-carrito-class::before {
  content: "💰";
  font-size: 1.5rem;
  margin-right: 10px;
}

/* Estilo para el título */
.h2Titulo {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px 20px;
  background: var(--bs-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  box-shadow: 0 4px 8px var(--bs-sombra-titulo);
  border-radius: 10px;
}

.mensaje-vacio {
  background-color: var(--bs-fondo-msg-err);
  color: var(--bs-danger);
  border: 1px solid var(--bs-danger-hover);
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#num-carritoCel {
  position: absolute;
  top: 15px;
  left: 120px;
  background: var(--bs-ico-carrito);
  color: var(--bs-light);
  font-size: 12px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
}

/* Estilo general para la tabla de búsqueda */
.search-table {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px; /* Espacio entre el botón y el input */
}

/* Estilo de las celdas de la tabla */
.search-table td {
  padding: 5px;
  text-align: center;
}

/* Estilo del input */
.search-table input {
  width: 250px;
  padding: 12px 15px;
  border: 2px solid var(--bs-light-hover);
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  box-shadow: 0 4px 6px var(--bs-sombra-box);
  
  /* Ocultamos el input inicialmente con opacity y transform */
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none; /* Evita que sea interactuable cuando está oculto */
}

/* Efecto de foco para el input */
.search-table input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 10px var(--bs-primary-hover);
  background-color: var(--bs-light);
}

/* Estilo del botón */
.search-table button {
  background-color: var(--bs-primary);
  color: var(--bs-light);
  border: none;
  border-radius: 15px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px var(--bs-sombra-box);
}

/* Efecto de hover en el botón */
.search-table button:hover {
  background-color: var(--bs-primary);
  transform: scale(1.1);
  box-shadow: 0 6px 12px var(--bs-primary-hover);
}

/* Mostrar el input cuando la clase ShowBuscador está activa */
.search-table input.ShowBuscador {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.navbar-toggler-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-header {
  background: var(--bs-gradient);
  border-bottom: 2px solid var(--bs-light-hover);
}

.modal-title {
  color: var(--bs-light);
  font-weight: bold;
}

/* Personaliza el cuerpo del modal */
.modal-body {
  background-color: var(--bs-light);
  padding: 2rem;
  text-align: center;
  overflow: auto;
}

.modal-content {
  border-radius: 15px;
  box-shadow: 0 4px 12px var(--bs-sombra-box);
  height: calc(100vh - 50px);
}

.modal-tabla-cant {
    width: 100%;
    align-items: center;
    display: grid;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

.modal-img {
  border-radius: 10px;
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 10px;
}

/* Dale estilo al botón "Añadir al carrito" */
#modalAgregarBtn {
  background-color: var(--bs-success);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}

#modalAgregarBtn:hover {
  background-color: var(--bs-success-hover);
}

/* Personaliza el input de cantidad */
#modalCantidad {
  width: 100%;
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid var(--bs-light-hover);
}

.discount-tag {
  background-color: var(--bs-tag-descuento);
  color: var(--bs-texto-descuento);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  transform: rotate(-30deg);
  z-index: 10;
  top: 10px !important
}

.discount-tagmodal {
  background-color: var(--bs-tag-descuento);
  color: var(--bs-texto-descuento);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  transform: rotate(-30deg);
  z-index: 10;
  top: -5px !important;
  left: 40px !important;
}

.PrecioDes {
  font-size: 12px;
  opacity: 0.6;
  text-decoration: line-through; 
  color: var(--bs-third);
  margin: 0;
}

.card-price {
  font-size: 16px;
  margin-top: 10px;
}

.card-price .text-decoration-line-through {
  font-size: 14px;
  color: var(--bs-dark-hover);
}

.card-price .text-success {
  font-size: 18px;
  font-weight: bold;
  color: var(--bs-secondary);
}

.carousel-inner {
  display: contents;
  overflow: hidden;
}

.carousel-btn
{
  width: auto;
  height: 10px;
  top: 200px;
}

.carousel-btn span
{
  background-color: var(--bs-dark);
  border-radius: 10px;
}

.zoom-container {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 300px;
  overflow: hidden;
  margin: 10px;
  border-radius: 8px;
  cursor: none;
}

.zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zoom-lupa {
  position: absolute;
  border: 3px solid var(--bs-dark);
  border-radius: 50%;
  cursor: none;
  width: 100px;
  height: 100px;
  display: none;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
}

/* Estilo para el footer */
.footer {
  background: var(--bs-gradient);
  color: var(--bs-light);
  padding: 20px 40px;
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 100px;
  width: 200px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.footer-contact a {
  color: var(--bs-link);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--bs-link-hover);
}

footer p {
  margin: 0;
}

.footer-links a {
  color: var(--bs-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a {
  color: var(--bs-light);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--bs-link-hover);
}

.footer-links a:hover {
  color: var(--bs-link-hover);
}

.footer-contact {
  color: var(--bs-light);
  margin-top: 10px;
}

.footer-bottom {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bs-secondary-hover);
  padding-top: 10px;
}

.social-icons a {
  color: var(--bs-link);
  margin-left: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--bs-link-hover);
}

.sobre-nosotros .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.imagen img {
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  box-shadow: 0 10px 30px var(--bs-sombra-box);
  transition: transform 0.3s ease;
}

.imagen img:hover {
  transform: scale(1.03);
}

.textoNosotros {
  max-width: 600px;
}

.textoNosotros h3 {
  font-size: 1.9rem;
  margin-bottom: 20px;
  color: var(--bs-primary);
}

.bloqueNosotros {
  margin-top: 25px;
}

.bloqueNosotros h4 {
  font-size: 1.2rem;
  color: var(--bs-primary);
  margin-bottom: 5px;
}

.bloqueNosotros p {
  margin: 0;
  line-height: 1.6;
}

.testimoniosNosotros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonioNosotros {
  background-color: var(--bs-light);
  padding: 30px;
  border-radius: 16px;
  box-shadow: inset 0 0px 20px 20px var(--bs-sombra-box);
  text-align: center;
  transition: all 0.3s ease;
}

.testimonioNosotros:hover {
  transform: translateY(-5px);
}

.testimonioNosotros p {
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 15px;
}

.testimonioNosotros span {
  font-weight: bold;
  color: var(--bs-primary);
  font-size: 0.9rem;
}

.rounded {
  border-radius: 10px !important;
}

.rounded-5 {
  border-radius: 10px !important;
  overflow: auto;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: row;
  padding-top: 20px;
}

/* Estilo básico del scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Fondo de la barra (track) */
::-webkit-scrollbar-track {
  background: var(--bs-light-hover);
  border-radius: 10px;
}

/* Scroll "manejable" (thumb) */
::-webkit-scrollbar-thumb {
  background: var(--bs-primary);
  border-radius: 10px;
  transition: background 0.3s ease;
}

/* Efecto hover */
::-webkit-scrollbar-thumb:hover {
  background:var(--bs-primary-hover);
}

a {
  color: var(--bs-link);
  text-decoration: none;
}

.form-container {
  background-color: var(--bs-light);
  border-radius: 16px;
  box-shadow: 0px 4px 20px var(--bs-sombra-box);
  padding: 30px;
  width: 100%;
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
  transition: transform 0.3s ease;
}

h2 {
  color: var(--bs-secondary);
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: bold;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--bs-secondary-hover);
  margin-bottom: 20px;
  border-left: 5px solid var(--bs-secondary);
  padding-left: 10px;
}

.form-container label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

.form-container input,
.form-container select {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--bs-light-hover);
  font-size: 16px;
  transition: all 0.2s ease-in-out;
  background-color: var(--bs-light);
}

.form-container input:focus,
.form-container select:focus {
  border-color: var(--bs-light-hover);
  background-color: var(--bs-light);
  box-shadow: 0 0 0 3px var(--bs-sombra-box);
  outline: none;
}

#map {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  margin-top: 15px;
}

.emoji {
  font-size: 24px;
}

.contenido-formcli {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 80px;
  flex-direction: row;
  justify-content: center;
}

.tdFormCli{
  vertical-align: sub;
  width: 50%;
}

.tableFormCli{
  width: 100%;
  margin-bottom: 20px;
}

/* Ajustes para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
  #banner {
    height: 200px;
  }

  /* Ajustar la imagen de los productos */
  .card-img-top {
    height: 150px;
  }

  #productos-lista {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .total-carrito-classcon-descuento {
    font-size: 1.1rem;
    padding: 8px;
  }

  .total-carrito-class {
    font-size: 1.2rem;
    padding: 10px;
  }

  h2 {
    font-size: 2rem;
    padding: 8px 15px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .modal.fade.show
  {
    padding-left: 0;
  }
  .modal-dialog {
    width: auto;
    height: 100vh;
  }

  .footer-logo {
    width: 100vw;
    text-align: center;
  }
  .footer-top{
    text-align: center;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .form-container {
    max-width: 750px;
  }
  .tableFormCli {
    display: grid;
    width: 90%;
  }

  .tableFormCli tr {
    display: block;
    width: 100%;
  }

  .tableFormCli td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 991px) {
  .form-container {
    max-width: 300px;
  }
}

@media (max-width: 992px) {
  #num-carritoCel {
      display: block;
  }
}

@media (max-width: 995px) {
  .form-container {
    max-width: 400px;
  }
}

@media (max-width: 1200px) {
  .form-container {
    max-width: 450px;
  }
}

@media (max-width: 1400px) {
  .form-container {
    max-width: 500px;
  }
}

/* Estilo general del resumen */
#resumen{
  width: 80%;
}

.resumen-pedido-container {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 720px;
  margin: 2rem auto;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

/* Títulos */
.resumen-pedido-container h4 {
  margin-top: 1.8rem;
  font-size: 1.3rem;
  color: #444;
  border-left: 5px solid #6c63ff;
  padding-left: 0.6rem;
}

/* Párrafos */
.resumen-pedido-container p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Lista de productos */
.resumen-pedido-container ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem 0;
}

.resumen-pedido-container li {
  margin-bottom: 0.4rem;
  list-style: "🔹 ";
}

/* Total */
.resumen-pedido-container h5 {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  color: var(--bs-texto-general);
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  text-align: center;
}

/* Separación entre bloques */
.resumen-bloque {
  border-bottom: 1px solid #ccc;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

/* Tabla de productos */
.resumen-tabla-productos {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.resumen-tabla-productos th,
.resumen-tabla-productos td {
  border: 1px solid #ccc;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.resumen-tabla-productos th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* Total */
.resumen-bloque.total h5 {
  text-align: center;
  padding: 1rem;
  font-size: 1.4rem;
  border-radius: 0.6rem;
  margin-top: 0;
}

.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: sans-serif;
  font-size: 18px;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: girar 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}