.cart-banner-slider {
    position: relative;
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pbs-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.pbs-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.pbs-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    display: block;
}

.pbs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0,0,0,0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.2s ease;
}

.pbs-btn.prev { left: 10px; padding-right: 2px; }
.pbs-btn.next { right: 10px; padding-left: 2px; }

.pbs-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.1);
}

.pbs-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.pbs-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pbs-dot.active {
    background: #0d6efd;
    width: 18px;
    border-radius: 10px;
    border-color: transparent;
}

.cart-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.cart-card .card-body {
    padding: 0;
}

.cart-item {
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
}

.bg-warning-subtle {
    background: linear-gradient(
        135deg,
        #ffffff 20%,
        #fef3c7 100%
    ) !important;
}

.product-img-container {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-name-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.2px;
}

.product-details .small {
    color: #64748b;
}

.badge {
    border-radius: 999px;
    font-weight: 600;
    padding: 4px 8px;
}

.text-primary {
    color: #2563eb !important;
}

.unit-price,
.cart-line-total {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.text-decoration-line-through {
    color: #94a3b8;
    font-size: 0.8rem;
}

.qty-minus,
.qty-plus {
    width: 34px;
    height: 34px;
    border-radius: 10px !important;
    border: none;
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
}

.qty-minus:hover,
.qty-plus:hover {
    background: #e2e8f0;
}

.cart-qty-input {
    height: 34px;
    width: 54px !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 700;
    background: #ffffff;
}

.btn-cart-delete {
    background: #fff5f5;
    color: #e53e3e;
    border: 1px solid #fed7d7;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.btn-cart-delete:hover {
    background: #e53e3e;
    color: #ffffff;
    border-color: #e53e3e;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.2);
}

.btn-cart-delete:active {
    transform: scale(0.95);
}

.cart-summary {
    background: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.12);
    top: 90px !important;
}

.cart-summary .card-body {
    padding: 28px;
}

.cart-summary h5 {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.checkout-form label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
}

.checkout-form .form-control {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    font-size: 0.9rem;
}

.checkout-form .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#submitOrderBtn:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none !important;
}

.alert {
    margin-top: 160px;
    margin-bottom: 160px;
}

@media (max-width: 768px) {
    .cart-item .col-md-5 {
        display: flex;
        width: 100%;
    }

    .product-img-container {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-details {
        flex: 0 0 50%;
        max-width: 50%;
        text-align: left;
        padding-left: 10px;
    }

    .cart-item .col-md-2,
    .cart-item .col-md-1,
    .cart-item .col-6 {
        width: 100%;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
    }

    .cart-item.bg-warning-subtle .product-img-container {
    position: relative;
    }

    .cart-item.bg-warning-subtle .product-img-container::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to right,
            rgba(0,0,0,0.25),
            rgba(0,0,0,0)
        );
        border-radius: 8px;
    }

    .cart-item .d-flex.align-items-center {
        justify-content: center;
    }

    .text-primary,
    .fs-5 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        white-space: nowrap;
    }

    .cart-line-total {
        font-size: 1.1rem;
        font-weight: 800;
    }

    .cart-item .text-end {
        text-align: center !important;
    }

    .btn-cart-delete {
        width: 42px;
        height: 42px;
        background: transparent;
        border: none;
        font-size: 1.2rem;
    }

    .cart-summary {
        margin-top: 24px;
    }
}