<style>
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Main Container */
.main-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start; /* Adjust this to `center` if you want vertical centering as well */
    padding: 10px;
    gap: 80px; /* Add spacing between sidebar and product grid */
}

/* Sidebar */
.filtersidebar {
    flex-shrink: 0; /* Prevent sidebar from shrinking */
    width: 15%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    width: 70%; /* Adjust width based on your design */
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    width: 250px;
}

.product-card:hover {
    transform: scale(1.07);
}

.product-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.product-card .sponsored {
    font-size: 12px;
    color: #888;
}

.product-card h4 {
    font-size: 16px;
    margin: 5px 0;
    color: #000;
}

.product-card .description {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}

.product-card .price {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
}

.product-card .price .original-price {
    font-size: 14px;
    color: #888;
    text-decoration: line-through;
    margin-left: 5px;
}

.product-card .price .discount {
    font-size: 14px;
    color: green;
    margin-left: 5px;
}

.product-card .badge {
    background-color: blue;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
}

.product-card .sizes {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center; /* Center the pagination horizontally */
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.pagination a {
    text-decoration: none;
    color: blue;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    font-weight: bold;
    color: #000;
}

/* Feedback Box */
.feedback-box {
    display: flex; /* Flexbox for centering */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements horizontally */
    margin-top: 20px;
}

.feedback-box p {
    margin-bottom: 10px;
}

.feedback-box button {
    padding: 10px 20px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f8f8;
    cursor: pointer;
}

.feedback-box button:hover {
    background-color: #e0e0e0;
}

/* Footer */
/* General Footer Styles */
#footerHead {
    background-color: #fffefe;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: rgb(5, 5, 28);
    border-bottom: 1px solid #e0e0e0;
}

#footerBody {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
}

#footerBody .list_cards {
    width: 25%;
}

#footerBody h4 {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#footerBody p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
    cursor: pointer;
}

#footerBody p:hover {
    color: #00aaff;
}

#subscribe {
    width: 30%;
    text-align: center;
}

#subscribe img {
    width: 120px;
    margin-bottom: 10px;
}

#subscribe p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

#subscribe input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}

#subscribe button {
    padding: 10px 20px;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

#subscribe button:hover {
    background-color: #0077cc;
}

#icons {
    margin-top: 10px;
}

#icons button {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 5px;
}

#icons img {
    width: 30px;
    height: 30px;
}

/* Middle Footer Section */
#footerMid {
    padding: 20px;
    background-color: rgb(223, 223, 230);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#footerMid img {
    width: 200px;
}

#app {
    text-align: center;
}

#app h3 {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
}

#app-img img {
    width: 120px;
    margin: 0 10px;
    cursor: pointer;
}

#app-img img:hover {
    transform: scale(1.05);
}

/* Footer End */
#footerEnd {
    background-color: blue;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 20px;
    }
    .filtersidebar {
        width: 100%;
    }
    .product-grid {
        width: 100%;
    }
}
</style>
