/* #spinner-overlay {
  position: fixed;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.95);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.spinner-wrapper {
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.spinner-ring {
  width: 64px;
  height: 64px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 0.9s ease-in-out infinite;
  margin: 0 auto;
}

#spinner-overlay p {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  animation: fadeIn 1s ease-in-out;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
} */

.section {
  padding-top: 15px;
}

/* WIZARD */
.wizard,
.wizard .nav-tabs,
.wizard .nav-tabs .nav-item {
  position: relative;
}

.wizard .nav-tabs:after {
  content: "";
  width: 50%;
  border-bottom: solid 2px #ccc;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  top: 30%;
  z-index: -1;
}

.wizard .nav-tabs .nav-item .nav-link {
  width: 50px;
  height: 50px;
  margin-bottom: 6%;
  background: white;
  border: 2px solid #ccc;
  color: #ccc;
  z-index: 10;
}

.wizard .nav-tabs .nav-item .nav-link:hover {
  color: #333;
  border: 2px solid #333;
}

.wizard .nav-tabs .nav-item .nav-link.active {
  background: #fff;
  border: 2px solid #0081c7;
  color: #0081c7;
}

.wizard .nav-tabs .nav-item .nav-link:after {
  content: " ";
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  opacity: 0;
  margin: 0 auto;
  bottom: 0px;
  border: 5px solid transparent;
  border-bottom-color: #0081c7;
  transition: 0.1s ease-in-out;
}

.nav-tabs .nav-item .nav-link.active:after {
  content: " ";
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  opacity: 1;
  margin: 0 auto;
  bottom: 0px;
  border: 10px solid transparent;
  border-bottom-color: #0081c7;
}

.wizard .nav-tabs .nav-item .nav-link svg {
  font-size: 25px;
}

/* validar input */
.error-message {
  color: red;
  font-size: 14px;
  display: none;
}

.error-message.visible {
  display: block;
}

.requerido {
  color: red;
}

.item i {
  margin-right: 5px;
}

.input-error {
  border-color: red !important;
  /* Cambiar el borde a rojo en caso de error */
}

.input-succes {
  border-color: #1cde1c !important;
  /* Cambiar el borde a rojo en caso de error */
}

.register-form .button .btn {
  width: 40%;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.account-login {
  padding-bottom: 50px;
}

.scroll-container {
  width: 100%;
  max-height: 400px;
  /* Altura máxima del contenedor con scroll */
  overflow-y: auto;
  /* Permite scroll vertical cuando el contenido excede la altura */
  border: 1px solid #ccc;
  /* Borde opcional para el contenedor */
  padding: 10px;
  /* Espaciado interior del contenedor */

  /* Personalización del scroll */
  scrollbar-width: thin;
  /* Grosor del scroll (funciona en Firefox) */
  scrollbar-color: #999 #f0f0f0;
  /* Color del scroll (funciona en Firefox) */
}

/* Estilos para scroll en navegadores que soportan WebKit (Chrome, Safari, etc.) */
.scroll-container::-webkit-scrollbar {
  width: 8px;
  /* Ancho del scroll */
}

.scroll-container::-webkit-scrollbar-track {
  background-color: #f0f0f0;
  /* Color de fondo del track */
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #999;
  /* Color del scroll thumb */
  border-radius: 4px;
  /* Radio de borde del thumb */
}

/* .form-group {
    max-width: none !important;
  } */
.button .btn {
  text-transform: none;
}

.single-list {
  border: 1px solid #dfdfdf;
  box-sizing: border-box;
  position: relative;
  border-radius: 5px;
  padding: 8px;
  overflow: hidden;
  margin: 6px 0;
}

.quantity-circle {
  top: -3px;
  left: 0px;
}

.home-product-list .single-list .list-info h3 a {
  font-size: 13px;
}

.switch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.switch-button {
  display: flex;
  overflow: hidden;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s;
  height: 50px;
}

.switch-button .option {
  padding: 10px 70px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  /* Letras en color blanco */
  transition:
    color 0.3s,
    opacity 0.3s;
  opacity: 1;
  /* Por defecto, todas las opciones visibles */
  font-family: "Nunito";
}

.option.recojo {
  background-color: #1976d2;
  /* Color de fondo azul más oscuro */
}

.option.despacho {
  background-color: #2196f3;
  /* Color de fondo azul */
}

.option.active {
  background-color: #1976d2;
  /* Color de fondo activo */
}

.option:not(.active) {
  opacity: 0.5;
  /* Opciones no activas con opacidad reducida */
  cursor: pointer;
  /* Mostrar el cursor como puntero para opciones no activas */
}

.border-default {
  border-color: #eee !important;
}

.card {
  max-width: 600px;
  margin: auto;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-header {
  /* background-color: #007bff; */
  color: #fff;
  border-bottom: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  /* padding: 20px; */
  font-size: 1.2rem;
}

.card-header h5 {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-body {
  padding: 20px;
}

.form-check {
  margin-bottom: 15px;
}

.producto {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  height: 80px;
}

.producto-img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 5px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.producto-img:hover {
  transform: scale(1.05);
}

.producto-info {
  flex: 1;
}

.producto-nombre {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 1px;
}

.producto-detalle {
  font-size: 13px;
  color: #666;
}

.form-recoger {
  display: none;
}

.btn-date {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 20px;
  margin-bottom: 30px;
  cursor: pointer;
  font-size: 13px;
}

.btn-date:hover {
  background-color: #fff;
  /* Color de fondo al hacer hover */
  color: #007bff;
  /* Color de texto al hacer hover */
  border: 2px solid #007bff;
  /* Color de borde al hacer hover */
}

.custom-radio .custom-control-label {
  font-weight: normal;
}

.fecha-picker {
  display: none;
  margin-top: 10px;
}

.fecha-picker label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.custom-radio .custom-control-label {
  font-weight: normal;
}

.info-entrega {
  margin-top: 20px;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.info-entrega label {
  font-weight: bold;
}

.btn-pago-ahora:disabled {
  background-color: #ccc;
  /* Color de fondo cuando está desactivado */
  color: #666;
  /* Color de texto cuando está desactivado */
  border-color: #ccc;
  /* Color de borde cuando está desactivado */
}

.resume-pago .card {
  width: 380px;
}

.resume-pago {
  margin-top: 90px;
}

/*Metodo de Pago*/

.row {
  display: flex;
  justify-content: space-between;
}

.payment-options {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.card-payment {
  margin: 0 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.card-payment img {
  width: 100px;
  height: 50px;
  border-radius: 5px;
}

.pasos {
  width: 25px;
  height: 25px;
  background-color: #0081c7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  margin-right: 10px;
  margin-top: 3px;
}

#payment-summary {
  margin: 20px 0;
}

.pasos-pago h5 {
  font-size: 15px;
  font-family: "Nunito";
  margin-top: 5px;
}

.section-title {
  padding: 0px 0px;
}

.section-title h2 {
  font-size: 15px;
  line-height: 35px;
  padding-bottom: 5px;
}

.div-total {
  background-color: #f7f7f7;
  padding: 30px 10px;
  border-radius: 10px;
  width: 450px;
  height: 79px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-summary-total .div-total h4 {
  margin-left: 10px;
  font-size: 20px;
  font-family: "Nunito";
  font-weight: 700;
  color: #333;
}

.payment-summary-total .div-total span {
  margin-left: 10px;
  font-size: 20px;
  font-family: "Nunito";
  font-weight: 700;
  color: #333;
}

.payment-summary-info-adicional p {
  font-size: 15px;
  font-weight: 900;
  color: #333;
  font-family: "Nunito";
}

.info-pago-item {
  background-color: #e7f7fd;
  padding: 10px 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 700px;
  flex-direction: column;
}

.info-pago img {
  border-radius: 8px;
}

.info-pago p b {
  font-weight: 900;
  color: #333;
  font-family: "Nunito";
}

.accordion-item .accordion-button {
  background-color: #e7f1ff;
}

.accordion-button:not(.collapsed) {
  color: #333;
}

.d-flex {
  /*display: flex;
    justify-content: center;
    gap: 10px; /* Espaciado entre botones 
    */
}

.btn-pago-ahora {
  padding: 10px 20px;
  font-size: 16px;
}

.spinner {
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
/* select SlimSelect */
.ss-main .ss-single-selected {
  height: 40px !important;
  font-weight: 800;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
}
.producto.sin-stock {
  background-color: rgba(255, 0, 0, 0.1);
  color: black;
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.messaje-sin-stock {
  color: #a8101a;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.carr-not-found {
  font-size: 20px;
  font-weight: bolder;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  text-align: center;
  color: #a8101a;
}

.direcciones .icon-despacho {
  color: transparent;
  -webkit-text-stroke: 2px #007bff;
}

.direcciones .title-despacho {
  font-size: 1.2rem;
  font-weight: 400 !important;
  font-family: math;
}

.direcciones .detalle-header {
  margin-bottom: 1rem;
}

.direcciones label {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.required {
  font-weight: 600;
  color: red;
}

.remove-item {
  margin-top: -55px;
  color: #a8101a;
  cursor: pointer;
}

.despacho-select select {
  position: relative;
  width: 10rem;
  padding: 6px;
  border-radius: 5px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  font-size: 16px;
  border: 1px solid #ccc;
  outline: none;
  /* border-radius: 50px; */
  font-size: 13px;
}

.list-group-item {
  border: none;
}

/* Media query para dispositivos con ancho similar al Galaxy S8 */
@media (max-width: 360px) {
  .detalle-entrega {
    min-width: 360px;
    margin-left: -35px;
  }

  .resume-pago {
    margin-top: 0px !important;
  }

  .register-form .button .btn {
    width: 100%;
  }

  .checbox-condiciones {
    height: 14px;
    width: 29px;
    margin-right: 5px;
  }

  .resume-pago .card {
    width: 340px !important;
  }

  .button .btn {
    padding: 12px 5px !important;
  }
}

@media only screen and (min-width: 300px) and (max-width: 767px) {
  .producto-nombre {
    font-size: 11px;
  }

  .producto-detalle {
    font-size: 11px;
  }

  .producto {
    height: 110px;
  }

  .card-title {
    font-size: 15px !important;
  }

  .form-check-label {
    font-size: 11px;
  }

  .fechas {
    display: flex;
    font-size: 12px;
    flex-direction: column;
  }

  .btn-date {
    margin-top: 10px;
  }

  .hr-date {
    margin: 0.1rem 0;
  }

  .resume-pago {
    margin-top: 0px !important;
  }

  .register-form .button .btn {
    width: 100%;
  }

  .checbox-condiciones {
    height: 14px;
    width: 29px;
    margin-right: 5px;
  }

  .resume-pago .card {
    width: 340px !important;
  }

  .register-form {
    width: 310px;
  }

  .form-check {
    margin-top: 10px;
    margin-left: 13px;
  }

  .switch-button .option {
    padding: 10px 38px;
    font-size: 14px;
  }

  .fs-14 {
    font-size: 10px;
  }

  .icon-users-checkout {
    font-size: 3rem !important;
  }

  .icon-checkout {
    display: flex;
    justify-content: center;
  }

  .button .btn {
    padding: 12px 5px !important;
  }
}

@media (min-width: 768px) and (max-width: 830px) {
  .container {
    max-width: 100% !important;
  }

  .register-form {
    width: 30rem;
  }

  .fs-14 {
    font-size: 10px;
  }

  .icon-users-checkout {
    font-size: 3rem !important;
  }

  .icon-checkout {
    display: flex;
    justify-content: center;
  }

  .button .btn {
    padding: 12px 5px !important;
  }
}
@media (max-width: 768px) {
  .modal-transferencia {
    margin-top: 155px !important;
  }
  .transfer-modal__title {
    font-size: 17px;
  }

  #modalTransferencia .modal-footer {
    justify-content: center !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #modalTransferencia .modal-footer .btn {
    width: 80%;
  }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .modal-transferencia {
    margin-top: 140px !important;
  }
}
@media (min-width: 834px) and (max-width: 884px) {
  .container {
    max-width: 100% !important;
  }

  .register-form {
    width: 30rem;
  }

  .fs-14 {
    font-size: 10px;
  }

  .icon-users-checkout {
    font-size: 3rem !important;
  }

  .icon-checkout {
    display: flex;
    justify-content: center;
  }

  .resume-pago {
    margin-top: 170px !important;
    padding-right: 170px;
  }
}

@media (min-width: 885px) and (max-width: 1280px) {
  .container {
    max-width: 100% !important;
  }

  .register-form {
    width: 40rem;
  }

  .resume-pago {
    margin-top: 170px !important;
    padding-right: 20rem;
  }
}

@media only screen and (min-width: 300px) and (max-width: 370px) {
  .despacho-select select {
    width: 17rem !important;
  }
}

@media only screen and (min-width: 390px) and (max-width: 390px) {
  .despacho-select select {
    width: 15rem !important;
  }
}

@media only screen and (min-width: 375px) and (max-width: 600px) {
  .despacho-select select {
    width: 16rem !important;
  }

  .producto-detalle {
    font-size: 8px;
  }

  .producto-nombre {
    font-size: 8px;
  }
}

.info-transferencia {
  display: none;
  background: #f4f8ff;
  border: 1px solid #dbe6ff;
  padding: 16px 20px;
  border-radius: 10px;
  margin: 16px 0;
  font-size: 14px;
}

.info-transferencia p {
  margin: 0;
}

.info-transferencia .titulo {
  font-weight: 600;
  color: #1f3c88;
  margin-bottom: 6px;
}
/*Modal transferencia*/

.modal-transferencia {
  border-radius: 16px;
}

.highlight-box {
  background: linear-gradient(135deg, #f4f8ff, #eef3ff);
  border-left: 5px solid #1a4fd8;
  padding: 14px 16px;
  border-radius: 10px;
}

.highlight-box p {
  font-weight: 600;
  color: #1f3c88;
}

.highlight-box small {
  color: #4a5d8f;
}

.monto-box {
  background: #fff7e6;
  border: 1px solid #ffe1a8;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.monto-box span {
  font-size: 18px;
  color: #c05600;
}

.upload-box {
  background: #fafafa;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed #cfd8dc;
}

.ayuda {
  font-size: 13px;
}

.ayuda a {
  font-weight: 600;
  text-decoration: none;
}

.upload-area {
  border: 2px dashed #cfd8dc;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-area:hover {
  background: #f4f8ff;
  border-color: #1a4fd8;
}

.upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-preview img {
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pdf-preview {
  font-size: 48px;
  margin-bottom: 8px;
}

.replace-text {
  font-size: 13px;
  color: #6c757d;
}
