body {
    background-color: #f8f9fa;
    user-select: none;
}
.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    height: 480px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}
.product-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    /* Establece la altura máxima para dos líneas */
    max-height: 50px;
    /* Habilita el desbordamiento del texto */
    overflow: hidden;
    /* Configura el texto para envolver en dos líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-price {
    font-size: 20px;
    color: #28a745;
    margin-bottom: 10px;
}
.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.search-form .input-group {
    width: 100%;
    max-width: 500px;
}
.quantity-label {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}
.quantity-input {
    text-align: center;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    font-size: 16px;
}
.btn-icon .icon {
    margin-right: 5px;
}

.btn-custom {
    color: #fff;
    background-color: #6f42c1;
    border-color: #6f42c1;
}
.btn-custom:hover {
    color: #fff;
    background-color: #563d7c;
    border-color: #563d7c;
}
.btn-custom:active,
.btn-custom.active {
    color: #fff;
    background-color: #452a5e;
    border-color: #452a5e;
}
.btn-custom:focus,
.btn-custom.focus {
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.5);
}

.cart-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.cart-total {
    font-weight: bold;
    font-size: 24px;
}
.cart-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item:hover {
    background-color: #dbdbdb;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #6f42c1 !important; /* Color primario del navbar */
    text-decoration: none !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus {
    z-index: 2;
    color: #fff !important;
    background-color: #6f42c1 !important; /* Color primario del navbar */
    border-color: #6f42c1 !important; /* Color primario del navbar */
}

.navbar-list li{
    margin-left: 10px;
    margin-right: 10px;
}
.navbar-list li a{
    color: rgba(255, 255, 255, 1) !important;
}
.navbar-list li a i{
    color: rgba(255, 255, 255, 1);
    font-size: 19px;
}
.navbar-list li a i:hover{
    color: rgba(255, 255, 255, 0.50);
}


.alert-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.alert {
    margin-bottom: 10px;
    opacity: 0.9;
}

.table-overflow {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.container-adjust{
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}
#admin-table tr td{
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}
#admin-table td,
#admin-table th {
    vertical-align: middle !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f3e8ff; /* Color claro tipo violeta */
}

.table-striped tbody tr:hover {
    background-color: #e0d4f7; /* Color más fuerte al pasar el mouse */
}

.table thead th {
    border: none; /* Elimina bordes de encabezado */
}

.table td, .table th {
    border: none; /* Elimina bordes de celdas */
}
@media (max-width: 768px){
    #admin-table tr td{
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        max-width: 100px;
    }
    #admin-table tr td a{
        width: 100%;
        display: block;
    }
}
