* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER */

.header {
    background: #161c63;
    color: white;
    position: sticky;
    top: 0;
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
}

/* PRODUCTS */

.products {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.product-card {
    width: 300px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.product-title {
    font-size: 20px;
}

.product-price {
    font-weight: bold;
    color: green;
}

.product-description {
    font-size: 14px;
    color: #555;
}

.product-rating {
    font-size: 14px;
}



.btn {
    padding: 10px;
    background: #161c63;
    color: white;
    border: none;
    border-radius: 5px;
}

.btn:hover {
    background: #0e1245;
}

.btn-remove {
    background: crimson;
}

.added {
    background-color: green;

}
.added:hover {
    background-color: rgb(4, 99, 4);
    
}
.basket {
    display: flex;
    gap: 50px;
}

.basket-items {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.basket-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    align-items: center;
}
.basket-item p {
    color: green;
}

.basket-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    
}

.basket-info {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.total-price {
    font-size: 18px;
    color: green;
}
.buy-btn {
    background: green;
}