   body {
            font-family: Arial, sans-serif;
        }
        .header {
            background-color: #f8f9fa;
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid #e0e0e0;
        }
.urunmiktar{

width: 25%;



}
.urunsatin {
    width: 100%;
}

.uruncikar {
margin-top: 10px;  }
        .main {
            display: flex;
            flex-wrap: wrap;
            width: 80%;
            margin: 20px auto;
            position: relative;
        }
        .product-list {
            flex: 3;
        }
        .cart-list {
            flex: 1;
            max-width: 300px;
            border: 1px solid #ddd;
            padding: 16px;
            border-radius: 5px;
            background-color: #f8f9fa;
            margin-left: auto;
            position: sticky;
            top: 0;
            height: auto;
            overflow-y: auto;
        }
        .cart-item {
            display: flex;
            align-items: center;
            border-bottom: 1px solid #ddd;
            padding: 16px 0;
        }
        .cart-item img {
            max-width: 50px;
            margin-right: 16px;
        }
        .cart-item h3 {
            font-size: 14px;
            margin: 0;
            flex: 1;
        }
        .cart-item p {
            font-size: 12px;
            color: #777;
            margin: 0;
        }
        .cart-item .price {
            font-size: 14px;
            color: #333;
            margin-right: 16px;
        }
        .cart-item .quantity {
            display: flex;
            align-items: center;
        }
        .cart-item .quantity input {
            width: 40px;
            padding: 5px;
            margin-right: 10px;
            text-align: center;
        }
        .btn {
            padding: 5px 10px;
            font-size: 12px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .btn-success {
            background-color: #2ecc71;
            color: #fff;
            margin-right: 16px;
        }
        .btn-primary {
            background-color: #007bff;
            color: #fff;
        }
        .btn-danger {
            background-color: #e74c3c;
            color: #fff;
        }
        .continue-shopping {
            display: inline-block;
            margin-top: 20px;
            text-decoration: none;
            color: #007bff;
            font-size: 14px;
        }
        #cart-button,
        #close-cart-button {
            display: block;
            margin: 20px auto;
        }
        #close-cart-button {
            display: none;
        }
        @media (max-width: 768px) {
            .main {
                flex-direction: column;
            }
            .product-list, .cart-list {
                margin-right: 0;
                max-width: 100%;
            }
            .cart-list {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                max-width: 100%;
                z-index: 1000;
                background-color: rgba(248, 249, 250, 0.95);
                padding: 10px;
                border: none;
                border-radius: 0;
            }
            .cart-list.active {
                right: 0;
            }
            .cart-item {
                flex-direction: row;
                align-items: flex-start;
            }
            .cart-item img {
                margin-bottom: 10px;
                margin-right: 10px;
            }
            .cart-item h3 {
                font-size: 12px;
            }
            .cart-item p {
                font-size: 10px;
            }
            .cart-item .price {
                font-size: 12px;
            }
            #cart-button {
                display: block;
            }
            #close-cart-button {
                display: block;
            }
        }
        @media (min-width: 769px) {
            .cart-list {
                position: sticky;
                top: 20px;
                max-height: calc(100vh - 40px);
                overflow-y: auto;
                padding-bottom: 20px;
            }
            #cart-button {
                display: none;
            }
            #close-cart-button {
                display: none;
            }
        }