
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

header {
    background-color: #2874f0;
    color: white;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    display: flex;
    width: 50%;
}

.search-box input {
    flex: 1;
    padding: 8px;
}

.search-box button {
    background: #ff9f00;
    border: none;
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
}
.main-container {
    display: flex;
    justify-content: left;
    align-items: flex-start; 
    padding: 10px;
    gap: 80px; 
}

/* Sidebar */
.Filtersidebar {
    flex-shrink: 0; 
    width: 15%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    width: 70%;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    width: 250px;
    font-family: Arial, sans-serif;
}

.product-card img {
    width: 100%;
    height: 321px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}
.product-card:hover img {
    transform: scale(1.048);
}

.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: red;
    text-decoration: line-through;
    margin-left: 5px;
}

.product-card .price .discount {
    font-size: 14px;
    color: green;
    margin-left: 5px;
}

.product-card .badge {
    background-color: #00aaff;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    display: inline-block;
}

.product-card .sizes {
    background-color: green;
    font-size: 14px;
    color: rgb(211, 211, 211);
    margin-top: 10px;
    max-width: 50px;
    border-radius: 5px;
    padding: 2px;
    padding-left: 6px;
}


.pagination {
    display: flex; 
    justify-content: center;
    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 {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    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;
}
#footerBody {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #212121;
    color: white;
}

#footerBody .list_cards {
    width: 15%;
    color: white;
}

#footerBody h4 {
    margin: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #555;
}

#footerBody p {
    font-size: 12px;
    color: #ffffff;
    margin: 5px 20px;
    cursor: pointer;
}

#footerBody p:hover {
    color: #00aaff;
}
#socail-logo>i {
    margin-left: 20px;
    gap: 2px;
}
/* Middle Footer Section */
#footerMid {
    padding: 20px;
    background-color: #212121;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: white;
    font-size: 12px;
}
#logo-tag{
    color: goldenrod;
}

/* footer */

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        gap: 20px;
    }
    .Filtersidebar {
        width: 100%;
    }
    .product-grid {
        width: 100%;
    }

}
