/* Floating KAMI Logo */
.kami-logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 80px;  /* Adjust size as needed */
    z-index: 1000; /* Ensures it stays on top */
    cursor: pointer;
}

.kami-logo img {
    width: 100%;
    height: auto;
}

/* General Page Styles */
body {
    background-color: #15202b;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Centering "Your Cart" Title */
.cart-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin: 20px 0;
    width: 100%;
}

/* Cart Container */
.cart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px; /* Ensures spacing between cart and summary */
}

/* Cart Item */
.cart-item {
    background-color: #192734;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative; /* Keeps checkbox positioning */
    width: 100%; /* Ensures it stretches properly */
}

.cart-items {
    flex-grow: 1;
    max-width: 65%; /* Adjusts cart items width */
}

/* Checkbox (Top Right) */
.cart-item .select-checkbox {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: scale(1.3);
    cursor: pointer;
}

/* Larger Product Image */
.cart-item img {
    width: 120px; /* Increased size */
    height: auto;
    border-radius: 8px;
}

/* Cart Item Details */
.cart-item-details {
    flex-grow: 1;
}

.cart-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item p {
    font-size: 16px;
    margin: 3px 0;
}

/* Buttons */
button, .checkout-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

button:hover, .checkout-btn:hover {
    background-color: #135cbc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-container {
        padding: 10px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cart-item img {
        width: 100px;
    }

    /* Adjust checkbox for smaller screens */
    .cart-item .select-checkbox {
        top: 5px;
        right: 5px;
        transform: scale(1.2);
    }
}

.checkout-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff7f50;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    font-family: 'Poppins', sans-serif;
    opacity: 0.6;
    transition: opacity 0.3s, background-color 0.3s;
}

.checkout-btn.active {
    cursor: pointer;
    opacity: 1;
    background-color: #ff4500;
}

.remove-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.remove-btn:hover {
    background-color: darkred;
}

.order-summary {
    position: sticky;
    top: 20px;
    right: 0;
    width: 300px; /* Adjust width as needed */
    background-color: #15202b; /* Match page background */
    color: white; /* Ensure text is visible */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
