/* Cart Styles */
.custom-cart {
    position: fixed;
    right: -320px; /* Initially hidden */
    top: 60px;
    width: 320px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    z-index: 1000;
    overflow: hidden;
    transition: right 0.5s ease-in-out; /* Slide transition */
    border: 1px solid #e4e4e4;
}

.custom-cart.open {
    right: 53px; /* Slide in */
}

.custom-cart-content {
    padding: 25px;
    max-height: 400px;
    overflow-y: auto;
}

.custom-cart h3 {
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 15px;
    margin: 15px;
    text-align: center;
}

.cart-summary {
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 15px;
}

.custom-cart-summary-left p {
    margin: 0;
    font-size: 16px;
}

.custom-cart-summary-left p strong {
    font-weight: bold;
    font-size: 14px;
}

.custom-cart-summary-left p span {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.highlight-text {
    color: #e44d26;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.cart-summary-left p {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-summary-right p {
    font-weight: bold;
    font-size: 24px;
    color: #e44d26;
}

.custom-btn-proceed {
    width: 100%;
    padding: 12px 0;
    background-color: #e44d26;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.custom-btn-proceed:hover {
    background-color: #d13b1a;
}

/* Media Query */
@media (max-width: 768px) {
    .custom-cart {
        width: 100%;
        top: 63px;
        right: -100%; /* Initially hidden */
        transition: right 0.5s ease-in-out; /* Slide transition */
    }
    .custom-cart.open {
        right: 0px; /* Slide in */
    }

    .custom-cart h3 {
        font-size: 18px;
    }

    .custom-cart-content {
        padding: 20px;
    }

    .custom-btn-proceed {
        padding: 10px 0;
        font-size: 14px;
    }
}