* {
    font-family: 'Poppins', sans-serif;
}

.products {
    padding: 20px;
    text-align: center;
}

.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    border: 1px solid #ccc;
    padding: 10px;
    width: 200px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 10px;
    width: 200px;
    text-align: center;
    overflow: scroll;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.headerCart {
    width: 100%;
    background-color: #1b2639;
    background-image: url("../../images/ar_dk_eg-hero-01-hp.1733998745.583905.avif");
    background-size: cover;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.headerCart h2 {
    color: #1A76D1;
    font-size: 25px;
}

.headerCart i {
    font-size: 18px;
    color: #0A111E;
}

.headerCart i:nth-child(1) {
    font-size: 20px;
    transition: all .3s ease;
}

.headerCart i:nth-child(1):hover {
    color: #1A76D1;
}

/*--------------------------------------------------------------
# Table Products
--------------------------------------------------------------*/

/* Container Styles */
.outer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100vh;
    margin: 20px 0px;
}

.product-list-container {
    margin-top: 100px;
    width: 70%;
    margin-left: 40px;
    height: 100%;
}

/* Table Styling */
.product-table {
    display: block;
    width: 100%;
    height: 70%;
    border-collapse: collapse;
}

.product-table thead {
    display: block;
    width: 100%;
}

.product-table tbody {
    display: block;
    width: 100%;
    max-height: 400px;
    overflow-y: scroll;
}

.product-table tr {
    display: flex;
    width: 100%;
}

.product-table th,
.product-table td {
    flex: 1;
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 17px;
}


.product-table th {
    font-weight: 600;
    font-size: 22px;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Product Image */
.product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 30px;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls input[type="number"] {
    padding: 20px 10px;
    width: 27px;
    outline: none;
    border: 1px solid #ccc;
    transition: .3s all ease;
    color: #4b4b4b;
}

.quantity-controls input:focus {
    border: 1px solid #1A76D1;
}

.quantity-controls input::-webkit-inner-spin-button,
.quantity-controls input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-controls .increaseBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.quantity-controls .increaseBtn button {
    border: 1px solid #ccc;
    background-color: transparent;
    padding: 5px 10px;
    cursor: pointer;
}

.quantity-controls .increaseBtn button i {
    font-size: 10px;
}

/* Remove Button */
.remove-button {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.remove-button i {
    color: #000000;
    font-size: 0.7rem;
    padding: 10px 10px;
    border: 1px solid #ccc;
    border-radius: 50%;
    transition: all .3s ease;
}

.remove-button i:hover {
    color: #ef1c1c;
    border: 1px solid #ef1c1c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-table {
        display: block;
        /* Make table scrollable on smaller screens */
        overflow-x: auto;
    }
}

.rightCart {
    width: 20%;
    height: 100%;
    margin-right: 40px;
}

.cart-summary {
    width: 90%;
    padding: 20px;
    display: flex;
    margin-top: 70px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px #1a76d150;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding: 20px 0px;
}

.summary-item:nth-child(3){
    margin-bottom: 30px;
}

.summary-item  span {
    font-weight: 600;
    font-size: 18px;
}


.checkout-button {
    background-color: #1a76d1;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 19px;
    text-align: center;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background-color: #155a8a;
}





/*--------------------------------------------------------------
# Wish List
--------------------------------------------------------------*/
.headerWish {
    width: 100%;
    background-color: #1b2639;
    background-image: url("../assets/images/ar_dk_eg-hero-01-hp.1733998745.583905.avif");
    background-size: cover;
    height: 200px;
    position: relative;
}

.headerWish h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
}