.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title>h3 {
    font-size: 36px;
    font-weight: bold;
    color: #33333365;
}

.title>a {
    text-decoration: none;
    background-color: var(--color-red);
    padding: 10px 20px;
    color: white;
}

.title>a:hover {
    background-color: #000;
}

.cart-container {
    max-width: 900px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.cart-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    color: red;
    font-size: 20px;
    border-radius: 30px 30px 0 0;
}

.cart-header h2 {
    margin-left: 10px;
    flex: 1;
}

.chat-icon {
    font-size: 24px;
}

.cart-border {
    border-radius: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

/* .cart-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
} */

.item-info {
    flex: 1;
}

.item-info>h3>a {
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 16px;
}

.item-image {
    width: 210px;
    height: 160px;
    border: 0;
    border-radius: 8px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.item-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.item-info p {
    margin: 5px 0;
    color: #555;
}

.quantity-text {
    font-weight: bold;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    border: 1px solid red;
    color: red;
    background: none;
    cursor: pointer;
    border-radius: 4px;
}

.quantity-control input {
    width: 30px;
    text-align: center;
    border: none;
    font-weight: bold;
    margin: 0 5px;
}

.item-price {
    font-weight: bold;
    color: red;
    font-size: 18px;
    margin-left: 20px;
    text-decoration: none;
}

.cart-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fafafa;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    border-radius: 0px 0px 20px 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-left .delete-link {
    color: red;
    text-decoration: none;
    margin-left: 10px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    color: red;
}

.footer-flex {
    display: flex;
    flex-direction: column;
}

.buy-button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
}

.buy-button:hover {
    background-color: #000;
    cursor: pointer;
}

.cart-empty {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 60px 0px;
    min-height: calc(100vh - 800px);
}

.cart-empty>h3 {
    text-transform: none;
    font-size: 36px;
    text-align: center;
    color: #6c757d42;
}

.cart-empty>a {
    background-color: var(--color-red);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 12px;
}

.modal-confirm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.center-box {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-confirm .box-confirm {

    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-confirm p {
    margin-bottom: 20px;
    font-size: 16px;
}

.modal-confirm button {
    margin: 0 10px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.modal-confirm button:hover {
    background-color: #000;
    color: white;
}

#confirmYes {
    background-color: #dc3545;
    color: white;
}

#confirmNo {
    background-color: #6c757d;
    color: white;
}

.item-1 {
    display: flex;
    gap: 30px;
}

.item-2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-2-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

@media (max-width:575px) {
    .item-1 {
        gap: 5px;
    }

    .cart-empty>h3 {
        font-size: 24px;
        text-align: center;
        color: #6c757d42;
    }

    .cart-header h2 {
        font-size: 24px;
    }
}

.place-order-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.place-order-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.place-order-btn.loading .spinner {
    display: inline-block;
}

.place-order-btn.loading .btn-text {
    opacity: 0.7;
}
.product-hot-box {
    padding: 30px 0px;
    background-color: var(--bg-menu);
    border-radius: 30px;
    gap: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}