.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: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    text-align: left;
}

.close {
    color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.order-now {
    background-color: #bd3127;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    /* Centers the button horizontally */
    align-items: center;
    /* Centers vertically if needed */
}

.order-now:hover {
    background-color: #bd3127;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-img-box img {
    max-width: 80%;
    height: auto;
    margin-bottom: 10px;
}

.detail-box {
    margin-top: 10px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.order a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #bd3127;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.order a:hover {
    background-color: #bd3127;
}

.view-more-container {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
}

.view-more-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #bd3127;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.view-more-button:hover {
    background-color: #bd3127;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on medium screens */
    }
}

@media (max-width: 600px) {
    .products {
        grid-template-columns: 1fr;
        /* 1 column on small screens */
    }
}

@media (max-width: 1025px) {
    .modal-content {
        background-color: #fefefe;
        margin: 30% 15% 0% 15%;
        /* padding: 20px; */
        border: 1px solid #888;
        width: 70%;
        border-radius: 10px;
        text-align: left;
    }
}   
@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}

/* Add spacing to the container */
.container {
   
    max-width: 1200px; /* Restrict the width for large screens */
}

/* Add space between the left and right sides */
.products {
    padding: 0; /* Reset padding if necessary */
    margin: 0 auto; /* Center the list */
    list-style: none; /* Remove bullet points */
}

/* Add responsive behavior */
@media (max-width: 768px) {
    .container {
        padding: 10px; /* Reduce padding for smaller screens */
    }
}
.view-more-btn {
    text-decoration: none !important;
}

.view-more-btn:hover {
    text-decoration: none !important;
}

