body {
    font-family: Arial, sans-serif;
}

/* .products {
    display: flex;
    flex-wrap: wrap;
    
    justify-content: flex-start;
}

.product {
    width: calc(25% - 16px);
    border: 1px solid #ddd;
    padding: 16px;
    box-sizing: border-box;
} */
 



/* Ստեղծում ենք հատուկ 2.4 column դաս 5 ապրանքի համար */
.col-lg-2-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 20%;
    max-width: 20%;
}

/* Ավելացնում ենք բացատ ապրանքների միջև */
.products {
    margin-right: -10px;
    margin-left: -10px;
}

.products .product { 
    padding: 10px;
    margin-bottom: 20px; /* ներքևի բացատը */
}

/* Կարող եք նաև ավելացնել box-shadow կամ border հեռու տեսքի համար */
.product {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.imgContent{
    width: 100%;
    display: flex;
    justify-content: center;
}

.product:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* .product img {
    max-width: 100%;
} */

.product img {
    max-width: 200px;
    height: 200px;
}

.product h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ցույց տալ առավելագույնը 2 տող */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4; /* Տողերի միջև բացատ */
    height: 3em;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: red;
    color: white;
    font-size: 19px;
    font-weight: 700;
}

.quantity-controls input {
    margin: 0 7px;
    height: 40px; 
    width: 50%;

}

#cart-items button {
    width: 40px;
    height: 40px;
    border: none;
    background: red;
    color: white;
    font-size: 19px;
    font-weight: 700;
}

.more{
    width: 220px;
    height: 45px;
    border: 2px solid red; 
    color: red;
    font-size: 19px;
    font-weight: 700; 
}

.moreBlock{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.more a{
    color: red;
    text-decoration: none;
}

#total{
    margin: 15px 0 0;
    font-size: 24px;
    font-weight: 700;
}


.cartItems{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* .cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cart-icon img {
    width: 50px;
    height: 50px;
} */
 
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.cart-left, .cart-right {
    width: 48%;
}

#cart-items {
    width: 100%;
    border-collapse: collapse;
}

#cart-items th, #cart-items td {
    border: 1px solid #ddd;
    padding: 8px;
}

#order-form {
    display: flex;
    flex-direction: column;
}

#order-form label {
    margin-top: 10px;
}

#order-form input {
    padding: 5px;
    margin-top: 5px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}

.modalBlock{
    display: flex;
    justify-content: space-between;
}

#order-form button {
    margin-top: 20px;
    height: 45px;
    border: none;
    background: red;
    color: white;
    font-size: 19px; 
    font-family: sans-serif;
}

#order-form label {
    margin-bottom: 0px;
}

.close {
    color: #aaa;
    float: left;
    font-size: 43px;
    text-align: end;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px 20px 40px 20px;
    border: 1px solid #888;
    width: 80%;
}

 

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.cartBtn{
    width: 100%;
    height: 40px;
    border: none;
    background: red;
    color: white;
    font-size: 19px;
}

.cartPrice{
    text-align: end;
    font-size: 19px;
    font-weight: 700;
}



.filterChild{
    display: flex;
    flex-direction: column;
   width: 14%; 
}

.filterChild input,
.filterChild select{
   height: 40px;
   font-size: 16px;
   border: 1px solid #d9d9d9;
   color: grey;
}

#filters button{
    height: 40px;
    width: 14%; 
}

#filters{
    display: flex;
    justify-content: space-between;
    padding : 0 2rem 15px;    
    align-items: end;
}

.qtyT{
    padding: 0 20px;
}

#applyFilters{
    border: none; 
    background: red;
    color: white;
    font-size: 19px;
}