/* General Container */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
.cart-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.cart-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
    font-size: 18px;
    color: #aaa;
    font-weight: 500;
}

/* Cart Item List */
.cart-item-header {
    display: flex;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-item-header > div {
    flex: 1;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    color: #555;
}

/* Cart Item */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #fafafa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-item-product {
    display: flex;
    align-items: center;
}

.cart-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-right: 15px;
    margin-left: 15px;
    width: 200px;
}

.cart-item-price,
.cart-item-total,
.cart-item-remove {
    text-align: center;
    font-size: 16px;
    color: #333;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #e5e5e5;
}

.quantity-input {
    width: 45px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin: 0 12px;
    font-size: 14px;
}

.remove-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #c0392b;
}

/* Responsive Design */
@media screen and (max-width: 768px) {

    .cart-item-header > div {
        width: 100%;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
    }

    .cart-item-product {
        width: 100%;
        margin-bottom: 12px;
    }
    .cart-item-price{
        display: none;
    }
    .cart-item-price,
    .cart-item-total,
    .cart-item-remove {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .cart-item-quantity {
        width: 100%;
        justify-content: flex-start;
    }

    .remove-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {

    .cart-item {
        padding: 12px 8px;
    }

    .cart-product-image {
        width: 50px;
        height: 50px;
    }

    .cart-product-name {
        font-size: 14px;
    }

    .quantity-input {
        width: 40px;
    }

    .remove-btn {
        width: 100%;
    }
}



.cart-summary {
    margin-top: 30px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
}

.cart-total-label {
    font-weight: normal;
}

.cart-total-value {
    font-weight: bold;
}

.grand-total {
    font-size: 18px;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
    margin-top: 10px;
}

.checkout-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.checkout-btn:hover {
    background-color: #218838;
}

.continue-shopping {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.empty-cart-container {
    text-align: center;
    padding: 50px 0;
}

.empty-cart-icon {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-cart-message {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
}

.shop-now-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.shop-now-btn:hover {
    background-color: #0069d9;
}

.service-fee-text-n-price {
    color: red;
    font-size: 20px;
}

.discount-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.discount-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.discount-input-group {
    display: flex;
    margin-bottom: 10px;
}

#discount-code-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

#apply-discount-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#apply-discount-btn:hover {
    background-color:rgb(218, 73, 29);
}

.active-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    background-color: #e8f4ff;
    border-radius: 4px;
    border: 1px solid #b8daff;
}

.discount-code {
    font-weight: bold;
    color: #28a745;
}

#remove-discount-btn {
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

#remove-discount-btn:hover {
    background-color: #dc3545;
    color: white;
}
@media (max-width: 768px) {
    
  }