:root { --brand-blue: #910803; }
    body { background: #f7f7f7; }
    .container-narrow { max-width: 1500px; }

    /* Navbar */
    .navbar.rmsi { background-color: var(--brand-blue) !important; }
    .navbar-brand { font-weight: 600; color: #fff; }
    .navbar-brand:hover, .navbar-nav .nav-link { color: #fff; }
    .navbar-brand img { height: 34px; width: auto; margin-right: 10px; vertical-align: middle; }
    .navbar-brand .title { vertical-align: middle; }

    /* Footer */
    .footer-rmsi {
      background-color: var(--brand-blue);
      color: #fff;
    }
    .footer-rmsi a { color: #fff; text-decoration: underline; }
    .footer-rmsi a:hover { text-decoration: none; }

    .footer-monestir {background-color: whitesmoke;}

    .form1{
      max-width: 600px;
    }
   .formulario{

    text-align:center;
   }

   #product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  .product-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    
  }
  .product-card .imagen {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
  }
  .product-card .card-body {
    padding: 10px 12px 14px;
  }
  .product-card .card-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
  }
  .product-card .price {
    font-size: .95rem;
    font-weight: 700;
  }
  #formulario{
    justify-content: center;
  }

  #tabla-articulos td .qty { width: 64px; text-align: center; display:inline-block; }
  #tabla-articulos td .btn-qty { width:36px; }

  .car-nombre{
    font-size:12px;
  }