.offcanvas-body {
  overflow-y: auto;
}
.mp-container {
  margin-top: 30px;
}

.mp-grid-cursos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mp-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  transition: transform 0.2s;
}

.mp-card:hover {
  transform: translateY(-4px);
}

.mp-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mp-titulo {
  font-size: 1.1rem;
  font-weight: bold;
}

.mp-oferta {
  color: #28a7a7;
}

.mp-precio-dolar {
  font-size: 0.95rem;
  color: #333;
}

.mp-btn-cart {
  font-weight: 500;
}
/* Ajuste para el contenedor general */
.container {
  padding: 20px;
}

/* Título si usas alguno */
.titulo-seccion {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

/* Grid responsivo para las tarjetas */
.grid-cursos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Tarjeta del curso */
.curso-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.curso-card:hover {
  transform: scale(1.02);
}

/* Imagen del curso */
.curso-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Contenido de la tarjeta */
.curso-card-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Título */
.curso-titulo {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Precio y estrellas */
.precio {
  font-size: 16px;
  margin-top: 10px;
}

.precio .oferta {
  color: #27ae60;
  font-weight: bold;
}

.precio del {
  color: #888;
}

/* Botón carrito */
button.btn {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 14px;
  padding: 8px 12px;
}
.offcanvas-header{
    background-color: rgb(138, 142, 232) !important;
    color: rgb(0, 0, 0) !important;
}
.clor{
      background-color:  rgb(138, 142, 232) !important;
      border-color: rgb(0, 0, 0) !important;
}
.clor:hover{
      background-color:  rgb(138, 142, 232) !important;
      border-color: rgb(0, 0, 0);
}
.offcanvas-body{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
    font-weight: bold !important;
}
.coll{
  background-color: rgb(138, 142, 232) !important;
  color: #000000 !important;
  border-color: #333 !important;
}
.coll:hover{
  background-color:  rgb(138, 142, 232) !important;
}
.btn-close{
  background-color: white !important;
}
pre{
    font-family: Arial, Helvetica, sans-serif !important;
}
.mb-2 {
    margin-bottom: 0rem !important;
}
@media screen and (max-width: 760px) {
button.btn {
    margin-top: 0px;
    align-self: flex-start;
    font-size: 14px;
    padding: 8px 12px;
}
.mb-2 {
    margin-bottom: 0 !important;
}
}
#cart-button {
    position: fixed !important;
    bottom: 0px !important;
    right: 0px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1039 !important;
}

/* ← Estilo del contador */
#cart-count {
    min-width: 22px;        /* tamaño mínimo */
    height: 22px;           /* alto fijo */
    padding: 0 !important;  
    font-size: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
}
