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

.wcsc {
    position: fixed;
    inset: 0;
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility 0s linear .25s
}

.wcsc.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s
}

.wcsc__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(4px);
    opacity: 0
}

.wcsc.is-open .wcsc__overlay {
    opacity: 1
}

.wcsc__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 510px;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-size: 15px;
    color: #2d3a2c;
    transform: translate3d(100%, 0, 0);
    will-change: transform;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgb(0 0 0/.25)
}

.wcsc.is-open .wcsc__panel {
    transform: translateX(0)
}

.wcsc__header {
    position: relative;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0 0 0/5%)
}

.wcsc__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600
}

.wcsc_items-count {
    font-size: .875rem;
    opacity: .6;
    letter-spacing: .1em;
    text-transform: uppercase
}

.wcsc__close {
    position: absolute;
    top: 50%;
    right: 30px;
    background: 0 0;
    border: 0;
    cursor: pointer;
    transform: translateY(-50%)
}

.wcsc__body {
    flex: auto;
    position: relative;
    overflow-y: auto
}

.wcsc__loader {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .5);
}

.wcsc__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #ddd;
    border-top-color: #000;
    border-radius: 50%;
    animation: wcsc-spin .8s linear infinite
}

.wcsc__footer {
    padding: 1.5rem 2rem .5rem;
    border-top: 1px solid rgba(0 0 0/5%)
}

.wcsc-cart-items {
    padding: 1rem 2rem
}

.wcsc-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0
}

.wcsc-cart-item + .wcsc-cart-item {
    margin-top: 1rem;
    border-top: 1px solid rgba(0 0 0/5%);
    padding-top: 2rem
}

.wcsc-cart-item__thumb {
    flex: 0 0 auto
}

.wcsc-cart-item__thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px
}

.wcsc-cart-item__content {
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: .8rem
}

.wcsc-cart-item__bottom, .wcsc-cart-item__content, .wcsc-cart-item__top {
    display: flex;
    justify-content: space-between
}

.wcsc-cart-item__bottom {
    align-items: center
}

.wcsc-cart-item__top {
    gap: 12px;
    align-items: flex-start
}

.wcsc-cart-item__title {
    font-weight: 600;
    line-height: 1.4
}

.wcsc-cart-item__purchase-type {
    margin-top: .25rem;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1;
    opacity: .6
}

.wcsc-cart-item__pricing {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.wcsc-cart-item__price {
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap
}

.wcsc-cart-item__savings {
    font-size: .875rem;
    opacity: .8;
    white-space: nowrap
}

.wcsc-cart-item__remove {
    min-width: 24px
}

.wcsc-cart-item__remove .wcsc-remove-item {
    opacity: .6;
    cursor: pointer
}

.wcsc-cart-item__remove .wcsc-remove-item:hover, .wcsc-coupon-success .wcsc-remove-coupon:hover {
    opacity: 1
}

.wcsc-free-shipping {
    padding: 1.5rem 2rem;
    background: rgba(249, 249, 249, .5)
}

.wcsc-free-shipping__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px
}

.wcsc-free-shipping__icon {
    opacity: .5
}

.wcsc-free-shipping__text {
    line-height: 1.35
}

.wcsc-free-shipping__text span {
    font-weight: 600
}

.wcsc-free-shipping__bar {
    height: 6px;
    overflow: hidden;
    background: #e1e5e1;
    border-radius: 10px
}

.wcsc-free-shipping__progress {
    display: block;
    height: 100%;
    background: #384638;
    border-radius: 10px;
    transition: width .25s ease
}

.wcsc-bump-item {
    padding: 1.5rem 2rem
}

.wcsc-bump-item + .wcsc-bump-item {
    margin-top: 1rem;
    border-top: 1px solid rgba(0 0 0/5%);
    padding-top: 2rem
}

.wcsc-bump-item__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem
}

.wcsc-bump-item__heading {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase
}

.wcsc-bump-item__badge {
    background: #ffe30f;
    font-size: .875em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0 .75rem;
    border-radius: 10px
}

.wcsc-bump-item__bottom {
    gap: 1rem;
    display: flex;
    padding: 1rem;
    background: #f8f6ef;
    border-radius: 10px
}

.wcsc-bump-item__alt {
    background: #f2f2f2
}

.wcsc-bump-item__header {
    gap: 1rem;
    display: flex;
    justify-content: space-between
}

.wcsc-bump-item__title {
    font-weight: 600
}

.wcsc-bump-item__rating {
    font-size: .875rem;
    margin-bottom: .5rem
}

.wcsc-bump-item__price {
    font-weight: 600
}

.wcsc-bump-item__desc {
    font-size: .875rem
}

.wcsc-bump-item__image {
    flex: 0 0 auto;
    width: 80px
}

.wcsc-bump-item__image img {
    border-radius: 10px
}

.wcsc-bump-item__content {
    flex: 1 1 auto
}

.wcsc-bump-item__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .8rem
}

.wcsc-bump-item__link {
    font-size: .875rem;
    text-decoration-line: underline;
    text-underline-offset: 4px
}

.wcsc-bump-item__add {
    border: 0;
    color: #2d3a2c;
    appearance: none;
    background: 0 0;
    font-size: .875rem;
    line-height: 26px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto
}

.wcsc-bump-item__add:hover {
    opacity: .8
}

.wcsc-bump-item__button {
    color: #fff;
    padding: 5px 20px;
    background-color: #384638;
    transition: background-color .1s ease-in-out;
    border-radius: 10px
}

.wcsc-bump-item__button:hover {
    opacity: 1;
    background-color: #2d382d;
    color: #fff
}

.wcsc-cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.wcsc-cart-summary__rows {
    margin: 0;
    padding: 0;
    list-style: none
}

.wcsc-cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    padding: .25rem 0
}

.wcsc-cart-summary__row .value {
    white-space: nowrap;
    font-weight: 500
}

.wcsc-cart-summary__shipping .value {
    color: #a18d6d
}

.wcsc-cart-summary__total {
    padding-top: 1rem;
    font-size: 1.2em;
    font-weight: 500
}

.wcsc-cart-coupons, .wcsc-cart-coupons__list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.wcsc-cart-coupons__list {
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none
}

.wcsc-cart-coupons__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    background: rgb(255 255 255/45%);
    border: 1px solid rgb(0 0 0/10%);
    border-radius: 10px
}

.wcsc-cart-coupons__code {
    font-size: .875rem;
    font-weight: 800;
    letter-spacing: .02em
}

.wcsc-remove-coupon {
    background: 0 0;
    border: 0;
    font-size: .875rem;
    font-weight: 800;
    cursor: pointer;
    opacity: .85;
    text-decoration: underline
}

.wcsc-cart-coupons__apply-row {
    display: flex;
    gap: 10px
}

.wcsc-apply-coupon,
.wcsc-coupon-code {
    line-height: 1;
    padding: .7rem 1rem;
    border-radius: 10px
}

.wcsc-coupon-code {
    flex: 1 1 auto;
    min-width: 0;
    background: #fff;
    border: 1px solid rgb(0 0 0/10%);
    outline: 0 !important;
    transition: border-color .1s ease-in-out;
}

.wcsc-coupon-code:focus {
    border-color: #a18d6d;
}

.wcsc-apply-coupon {
    border: 1px solid #384638;
    cursor: pointer;
    appearance: none;
    background: 0 0;
    color: #384638;
    transition: all .1s ease-in-out;
}

.wcsc-apply-coupon:hover {
    background: #384638;
    color: #fff
}

.wcsc-coupon-success, .wcsc-coupon-success__icon {
    display: flex;
    align-items: center;
    border-radius: 10px
}

.wcsc-coupon-success {
    gap: 14px;
    padding: 14px 16px;
    background: #eefbf2;
    border: 1px solid #c9efd8
}

.wcsc-coupon-success__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    justify-content: center;
    color: #fff;
    background: #22c55e
}

.wcsc-coupon-success__content {
    flex: 1 1 auto;
    min-width: 0
}

.wcsc-coupon-success__title {
    font-size: .875rem;
    font-weight: 600;
    color: #166534
}

.wcsc-coupon-success__meta {
    font-size: .875rem;
    color: #166534;
    opacity: .9
}

.wcsc-coupon-success .wcsc-remove-coupon {
    margin-left: auto;
    background: 0 0;
    border: 0;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    color: #166534;
    cursor: pointer;
    opacity: .7
}

.wcsc-coupon-error {
    padding: 12px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: .875rem;
    line-height: 1.4
}

.wcsc-coupon-error[hidden] {
    display: none
}

.wcsc-cart-summary__checkout, .wcsc-cart-summary__trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px
}

.wcsc-cart-summary__checkout {
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    line-height: 26px;
    font-weight: 500;
    text-align: center;
    background-color: #384638;
    transition: background-color .1s ease-in-out;
    border-radius: 10px
}

.wcsc-cart-summary__checkout svg {
    transition: transform .1s ease-in-out
}

.wcsc-cart-summary__checkout:hover {
    background-color: #2d382d;
    color: #fff
}

.wcsc-cart-summary__checkout:hover svg {
    transform: translateX(5px)
}

.wcsc-cart-summary__trust {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase
}

.wcsc-qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0 0 0/10%);
    border-radius: 5px;
    overflow: hidden;
    background: #fff
}

.wcsc-qty-btn {
    appearance: none;
    border: 0;
    background: 0 0;
    padding: 0 12px;
    height: 20px;
    font-size: 0.875rem;
    line-height: 1;
    cursor: pointer;
    color: #111
}

.wcsc-qty-minus {
    padding-right: 6px;
}

.wcsc-qty-plus {
    padding-left: 6px;
}

.wcsc-qty-btn:focus {
    outline: 0
}

.wcsc-qty-btn:disabled {
    opacity: .4;
    cursor: not-allowed
}

.wcsc-cart-item__qty {
    width: 30px;
    height: 20px;
    border: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    appearance: textfield;
    -moz-appearance: textfield
}

.wcsc-cart-item__qty::-webkit-inner-spin-button, .wcsc-cart-item__qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.wcsc-cart-item__qty-static {
    font-size: 13px;
    color: #666
}

/* Empty cart state */
.wcsc-cart-empty {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.wcsc-cart-empty__message {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: #2d3a2c;
}

.wcsc-cart-empty__icon {
    margin-bottom: 1.25rem;
}

.wcsc-cart-empty__continue {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 26px;
    color: #fff;
    background-color: #384638;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color .1s ease-in-out;
}

.wcsc-cart-empty__continue:hover {
    background-color: #2d382d;
    color: #fff;
}