#wcfcd-root {
    position: relative;
    z-index: 99990;
    font-family: inherit
}

#wcfcd-root * {
    box-sizing: border-box
}

.wcfcd-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99992;
    padding: 0;
    border: 0;
    border-radius: 13px 0 0 13px;
    background: #fff;
    color: #000000;
    box-shadow: 0 12px 38px rgba(24, 35, 45, .18) !important;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    font: inherit
}

.wcfcd-float-top {
    display: block;
    padding: 17px 10px 14px;
    background: var(--banglamart-primary-color);
    color: #fff;
    min-width: 100px;
}

.wcfcd-bag-icon {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

.wcfcd-count, .wcfcd-items-label {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 600
}

.wcfcd-items-label {
    font-size: 16px
}

.wcfcd-float-total {
    display: block;
    padding: 8px 7px 9px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap
}

.wcfcd-float-total .woocommerce-Price-amount {
    font-size: inherit
}

.wcfcd-thumb {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
}
.wcfcd-thumb a {
    display: block;
}
.wcfcd-overlay {
    position: fixed;
    inset: 0;
    z-index: 99993;
    background: rgba(15, 20, 25, .48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease
}

.wcfcd-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 99994;
    width: min(460px, 100vw);
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .16);
    transform: translateX(105%);
    transition: transform .28s ease;
    overflow-y: auto;
    overscroll-behavior: contain
}

.wcfcd-open .wcfcd-overlay {
    opacity: 1;
    visibility: visible
}

.wcfcd-open .wcfcd-drawer {
    transform: translateX(0)
}

.wcfcd-open .wcfcd-float {
    opacity: 0;
    pointer-events: none
}

.wcfcd-no-scroll {
    overflow: hidden
}

.wcfcd-drawer-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
}

.wcfcd-drawer-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 22px 18px;
    background: #fff;
    border-bottom: 1px solid var(--wcfcd-border)
}

.wcfcd-drawer-header h2 {
    margin: 0 0 4px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--wcfcd-text)
}

.wcfcd-header-count {
    font-size: 13px;
    color: var(--wcfcd-muted)
}

.wcfcd-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.wcfcd-items {
    padding: 4px 22px 20px;
    flex: 1
}

.wcfcd-item {
    display: grid;
    grid-template-columns:76px minmax(0, 1fr) auto;
    gap: 13px;
    padding: 19px 0;
    border-bottom: 1px solid var(--wcfcd-border);
    align-items: start
}

.wcfcd-thumb img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px
}

.wcfcd-product-info {
    min-width: 0
}

.wcfcd-product-name {
    display: block;
    margin: 1px 0 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    color: #000000;
}

.wcfcd-line-price {
    font-size: 13px;
}

.wcfcd-item-subtotal {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding-top: 2px
}

.wcfcd-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px
}

.wcfcd-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dedede;
    border-radius: 6px;
    height: 31px
}

.wcfcd-qty-btn {
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 18px;
    cursor: pointer
}

.wcfcd-qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.wcfcd-remove {
    padding: 0;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    background: #fe2905;
    height: 31px;
    width: 31px;
    border-radius: 5px;
    font-size: 16px;
}

.wcfcd-qty-btn:disabled, .wcfcd-remove:disabled {
    opacity: .45;
    cursor: wait
}

.wcfcd-drawer-footer {
    position: sticky;
    bottom: 0;
    padding: 18px 22px 22px;
    background: #fff;
    border-top: 1px solid var(--wcfcd-border);
    box-shadow: 0 -8px 22px rgba(0, 0, 0, .035)
}

.wcfcd-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px
}

.wcfcd-subtotal-row strong {
    font-size: 18px
}

.wcfcd-tax-note {
    margin: 7px 0 15px;
    color: var(--wcfcd-muted);
    font-size: 12px
}

.wcfcd-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 51px;
    padding: 13px 18px;
    border-radius: 7px;
    background: var(--banglamart-primary-color);
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease
}

.wcfcd-checkout:hover {
    background: var(--banglamart-secondary-color);
    color: #fff !important
}

.wcfcd-view-cart {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #555 !important;
    font-size: 13px;
    text-decoration: underline
}

.wcfcd-empty {
    padding: 54px 10px;
    text-align: center;
    color: var(--wcfcd-muted)
}

.wcfcd-empty-icon {
    font-size: 42px;
    margin-bottom: 12px
}

.wcfcd-empty p {
    margin: 0 0 16px
}

.wcfcd-continue {
    display: inline-block;
    padding: 11px 17px;
    border-radius: 6px;
    background: var(--banglamart-primary-color);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600
}

.wcfcd-float .amount {
    color: inherit
}

/* Stop loading cursor and spinner on quantity buttons */
.wcfcd-qty-btn,
.wcfcd-qty-btn:disabled,
.wcfcd-qty-btn[disabled] {
    cursor: pointer !important;
    animation: none !important;
    background-image: none !important;
}

.wcfcd-qty-btn:disabled,
.wcfcd-qty-btn[disabled] {
    cursor: not-allowed !important;
    opacity: 0.35 !important;
    pointer-events: auto !important;
}

/* Remove theme loading spinner */
.wcfcd-qty-btn.is-loading::before,
.wcfcd-qty-btn.is-loading::after,
.wcfcd-qty-btn:disabled::before,
.wcfcd-qty-btn:disabled::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

@media (max-width: 600px) {
    .wcfcd-float {
        right: 0;
        transform: none;
        width: auto;
        border-radius: 9px;
        display: block;
        align-items: stretch;
        box-shadow: 0 5px 24px rgba(0, 0, 0, .2);
    }

    .wcfcd-float-top {
        padding: 8px 11px;
        min-width: 80px;
    }

    .wcfcd-bag-icon {
        width: 20px;
        height: 20px
    }

    .wcfcd-count, .wcfcd-items-label {
        font-size: 14px
    }

    .wcfcd-float-total {
        font-size: 14px
    }

    .wcfcd-drawer {
        width: 100vw
    }

    .wcfcd-drawer-header {
        padding: 18px 17px 15px
    }

    .wcfcd-items {
        padding-left: 17px;
        padding-right: 17px
    }

    .wcfcd-drawer-footer {
        padding: 15px 17px 19px
    }

    .wcfcd-item {
        grid-template-columns:65px minmax(0, 1fr);
        gap: 11px
    }

    .wcfcd-thumb img {
        width: 65px;
        height: 65px
    }

    .wcfcd-item-subtotal {
        grid-column: 2;
        grid-row: 2;
        padding: 0;
        margin-top: -4px
    }
}

@media (prefers-reduced-motion: reduce) {
    .wcfcd-overlay, .wcfcd-drawer {
        transition: none
    }
}
