/* =====================================================
   PAGE BACKGROUND BLUR OVERLAY
===================================================== */
.csc-page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

.csc-page-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Lock background scroll */
body.csc-cart-open {
    overflow: hidden;
}

/* =====================================================
   SIDE CART CONTAINER
===================================================== */
#csc-side-cart {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;

    display: flex;
    flex-direction: column;

    transform: translateX(100%);
    transition: transform 0.35s ease;
}

#csc-side-cart.open {
    transform: translateX(0);
}

/* =====================================================
   CART HEADER
===================================================== */
.csc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.csc-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.csc-close {
    background: none;
    border: none;
    padding: 12px 16px !important;;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* =====================================================
   CART BODY (SCROLL AREA)
===================================================== */
.csc-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* =====================================================
   EMPTY CART STATE
===================================================== */
.csc-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-align: center;
}

.csc-empty-wrap {
    max-width: 280px;
    margin: 0 auto;
}

.csc-empty-icon img {
    width: 220px;
    margin-bottom: 20px;
}

.csc-empty-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

.csc-empty-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.csc-empty-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #122b4a;
    color: #dcdedc;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.csc-empty-btn:hover {
    background: #bd8f39;
    color: #dcdedc;
    font-weight: 600;
}

/* =====================================================
   CART ITEMS
===================================================== */
.csc-items {
    list-style: none;
    margin: 0;
    padding-top: 20px;
}

.csc-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.csc-thumb img {
    width: 90px;
    display: block;
    border-radius: 10px;
}

.csc-item-info {
    flex: 1;
}

.csc-item-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.csc-price {
    font-size: 14px;
    color: #111;
    margin-bottom: 6px;
}

/* =====================================================
   ITEM ACTIONS
===================================================== */
.csc-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===============================
   QUANTITY CONTROLS
================================ */

.csc-qty-wrap {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: transparent !important; /* image-like grey */
}

.csc-qty-btn {
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    color: #666 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* REMOVE HOVER EFFECT COMPLETELY */
.csc-qty-btn:hover,
.csc-qty-btn:focus {
    background: transparent !important;
    color: #666 !important;
}

.csc-qty {
    width: 32px !important;
    height: 28px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    color: #222 !important;   /* FORCE visibility */
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    padding: 0 !important;
    pointer-events: none !important;
}


.csc-qty:focus {
    outline: none !important;
}



.csc-remove {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: middle;
}

.csc-remove img {
    width: 25px;
    /* height: 16px; */
    /* opacity: 0.7; */
    transition: opacity 0.2s ease;
}

/* subtle hover, not nightclub lighting */
.csc-remove:hover img {
    opacity: 1;
}

/* absolutely no hover background */
.csc-remove:hover,
.csc-remove:focus,
.csc-remove:active {
    background: transparent !important;
    box-shadow: none !important;
}



/* =====================================================
   DISCOUNTS / PROMOS
===================================================== */
.csc-discount {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #008000;
}

/* =====================================================
   FOOTER (STICKY)
===================================================== */
.csc-footer {
    border-top: 1px solid #e5e5e5;
    padding: 16px;
    background: #ffffff;
}

.csc-summary {
    margin-bottom: 12px;
}

.csc-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
}

/* =====================================================
   CHECKOUT BUTTON
===================================================== */
.csc-checkout {
    display: block;
    width: 100%;
    padding: 14px;
    background: #102540;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.csc-checkout:hover{
    color: #ffffff;
    background: #bd8f39 ;

}

/* =====================================================
   CART ICON (HEADER)
===================================================== */
.csc-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.csc-cart-icon i{
    font-size: 30px;
    color: #dcdedc;
    padding-top: 6px;
}

.csc-cart-count {
    position: absolute;
    top: -1px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ff3b3b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* =====================================================
   CART LOADER
===================================================== */
.csc-cart-loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 10001;

    display: flex;
    align-items: center;
    justify-content: center;
}

.csc-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #000;
    border-radius: 50%;
    animation: csc-spin 0.8s linear infinite;
}

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

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 480px) {
    #csc-side-cart {
        width: 100%;
    }
}
.csc-cart-timer {
    padding: 12px;
    /* background: #fff7ed; */
    border-radius: 10px;
    margin-bottom: 14px;
}

.csc-timer-text {
    font-size: 14px;
    margin-bottom: 6px;
}

.csc-progress {
    height: 6px;
    background: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.csc-progress-bar {
    height: 100%;
    width: 0%;
    background: #22c55e;
    transition: width 1s linear, background 0.3s ease;
}
.csc-cart-timer strong {
    font-weight: 400;
}
.csc-cart-timer strong{
    color: #f54336;
    font-weight: 700;
    font-size: 16px;
}
.csc-trust-strip {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.csc-trust-item {
    flex: 1;
    text-align: center;
    font-size: 12px;
    color: #222;
}

.csc-trust-item img {
    width: 45px;
    height: 45px;
    display: block;
    margin: 0 auto 4px;
}

.csc-trust-item span {
    display: block;
    font-weight: 500;
}
.csc-payment-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 8px;
    border-top: 1px solid #eee;
    background: #fff;
}

.csc-payment-trust img {
    /* height: 22px; */
    width: 70px;
    object-fit: contain;
    display: block;
    /* filter: grayscale(100%); */
    opacity: 0.9;
}
@media (max-width: 480px) {
    .csc-payment-trust {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}
/* laptop screen(1024) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .csc-payment-trust img{
    width: 60px;
} 
}
/* laptop Big */
@media (min-width: 1440px) and (max-width: 1879px){
    .csc-payment-trust img{
    width: 60px;
} 
.csc-trust-item img{
    width: 38px;
}
} 
/* Tablat size */
@media (min-width: 768px) and (max-width: 1023px) {
    .csc-payment-trust img{
    width: 55px;
} 
.csc-trust-item img{
    width: 35px;
}
}/* Mobile */
@media (max-width: 767px) {
    .csc-payment-trust img{
    width: 21%;
    
}
.csc-trust-item img{
/*     width: auto; */
}
}