.cws-decrease-quantity,
.cws-increase-quantity {
    width: 24px;
    height: 100%;
    padding: 4px;
    cursor: pointer;
    transition: 250ms;
}

.cws-decrease-quantity:hover,
.cws-increase-quantity:hover {
    background: var(--e-global-color-primary);
}

.cws-decrease-quantity:hover path,
.cws-increase-quantity:hover path {
    stroke: #fff;
}

.cws-quantity {
    user-select: none;
    min-width: 24px;
    text-align: center;
}

.cws-quantity-input {
    display: flex;
    background: #f7f7f7;
    align-items: center;
}

.cws-decrease-quantity svg,
.cws-increase-quantity svg {
    width: 100%;
    height: 100%;
}

.cws-add-to-cart-content {
    gap: 8px;
}

.cws-add-to-cart {
    width: 100%;
}

.cws-add-to-cart-button {
    background: var(--e-global-color-primary);
    background-color: var(--e-global-color-primary);
    border: 0px;
    width: 100%;
    color: #fff;
    transition: 250ms;
    cursor: pointer;
}

.cws-add-to-cart-button:hover {
    background: var(--e-global-color-secondary);
    background-color: var(--e-global-color-secondary);
}

.cws-cart-icon {
    position: relative;
    height: 24px;
    width: 24px;
    color: #fff;
    cursor: pointer;
}

.cws-cart-icon svg {
    height: 100%;
    width: 100%;
    fill: transparent;
}

.cws-cart-icon svg path {
    stroke: #fff;
}

.cws-cart-quantity-wrap {
    position: absolute;
    top: -50%;
    right: -50%;
}

.cws-cart-quantity-wrap .cws-cart-quantity {
    width: 22px;
    color: #fff;
    height: 22px;
    display: block;
    border-radius: 100%;
    background: var(--e-global-color-primary);
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}

.cws-cart-wrap {
    height: calc(var(--vh, 1vh) * 100);
    top: 0px;
    right: 0%;
    position: fixed;
    width: 100%;
    z-index: 999999;
    box-shadow: -5px 0px 30px 5px #0000000d;
    pointer-events: none;
    visibility: hidden;
    background:#00000090;
}

.cws-cart-wrap.active{
    pointer-events: all;
    visibility: visible;
}

.cws-cart-wrap .cws-cart-content{
    height: 100%;
    top: 0px;
    right: -100%;
    position: absolute;
    width: 100%;
    max-width: 400px;
    z-index: 999;
    transition: 500ms;
    background: #fff;
    flex-direction: column;
}

.cws-cart-wrap.active .cws-cart-content{
    right: 0%;
}

.cws-cart-items-wrap{
    height: 100%;
    overflow-y: scroll;
    flex:1;
}

.cws-cart-footer{
    padding: 16px;
    border-top: 1px solid #d9d9d9;
}

.cws-cart-footer .minicartcart-actions{
    gap: 8px;
}

.cws-cart-checkout-action{
    position: relative;
    width: 100%;
}

.cws-cart-checkout-action.view-cart{
    background: transparent;
    border: 1px solid var(--cws-suite-neutral);
    color: var(--cws-suite-neutral);
}

.cws-cart-checkout-action.view-cart:hover{
    transition: 250ms;
    border-color: var(--cws-suite-neutral-hover);
    color: var(--cws-suite-neutral-hover);
}

.cws-minicart-item-wrap{
    padding: 10px;
}

.cws-minicart-item-content .minicart-item-image{
    max-width: 80px;
}

.cws-minicart-item-content .minicart-item-image img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.cws-minicart-item-content .minicart-item-name{
    font-weight: bold;
}

.cws-minicart-item-content .single-cart-item-attr{
    font-size: 13px;
}

.cws-minicart-item-content .attr-name{
    font-weight: 500;
}

.cws-minicart-item-content .minicart-actions{
    flex-direction: column;
    gap: 8px;
}

.cws-minicart-item-content .cws-single-item-total-price{
    font-weight: bold;
}

.cws-minicart-item-content .minicart-price-data{
    gap: 8px;
    align-items: center;
}

.cws-minicart-item-content .minicart-item-data{
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}

.cws-minicart-item-wrap .cws-minicart-item-content{
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #d9d9d9; 
    gap: 10px ;
}

.cws-close-minicart,
.cws-remove-from-cart{
    position: absolute;
    width: 20px;
    height: 20px;
    padding: 4px;
    display: block;
    cursor: pointer;
}

.cws-remove-from-cart{
    top: 0px;
    left: 0px;
    background: var(--cws-suite-negative);
    border-radius: 100%;
    transition: 250ms;
}

.cws-remove-from-cart:hover{
    background: var(--cws-suite-negative-hover);
}

.cws-close-minicart svg,
.cws-remove-from-cart svg{
    width: 100%;
    height: 100%;
    display: block;
}

.cws-close-minicart svg path,
.cws-remove-from-cart svg path{
    stroke: #fff;
    transition: 250ms;
    stroke-width: 5px;
}

.cws-close-minicart svg path{
    stroke-width: 3px;
}

.cws-cart-item-content .cws-minicart-item-wrap:last-child .cws-minicart-item-content{
    border-bottom: 0px;
}

.cws-cart-items-wrap.loading::after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #ffffff80;
}

.cws-cart-items-wrap{
    flex-direction: column;
}

.cws-close-minicart{
    position: absolute;
    top: 5px;
    left: -50px;
    width: 28px;
    height: 28px;
}

.minicart-total-data{
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.minicart-total-data .minicart-total{
    font-weight: bold;
}

#tidio-chat{
    z-index: 99999 !important;
}

.cws-suite-loading-animation-wrap{
    background: inherit;
    background-color: inherit;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 8px;
    fill: #fff;
}

.cws-minicart-wrap{
    cursor: pointer;
    gap: 8px;
}

.cws-minicart-wrap .cws-cart-totals{
    min-width: 70px;
}

.cws-minicart-wrap .cws-cart-totals .amount{
    color: #fff;
}

svg.cws-suite-loading-animation{
    transform-origin: center;
    animation: rotate 500ms infinite;
    width: max-content;
    height: 100%;
    fill: inherit;
}

svg.cws-suite-loading-animation g{
    fill: inherit;
}

.cws-add-to-cart-button{
    position: relative;
}

button.cws-add-to-cart-button[cws-disabled='1'] {
    background: #d9d9d9;
}

.cws-cart-title{
    text-align: center;
}

.cws-cart-title img{
    max-width: 150px;
    width: 100%;
}

.cws-variable-product{
    flex-direction: column;
    gap: 16px;
}

.cws-suite.empty-cart-notice{
    padding:22px;
}

.soft-red-pulse {
  color: #d8c9cc;
  background-color: #756468;
  border: 1px solid #8e767b;
  animation: softRedPulse 1s ease-in-out infinite;
}

.price-animate-out {
  animation: priceOut 0.18s ease forwards;
}

.price-animate-in {
  animation: priceIn 0.28s ease forwards;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.cws-add-to-cart.button.loading::after{
    content: unset !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.cws-add-to-cart.button.loading{
    padding-right: 0 !important;
}

.cws-loop-add-to-cart .cws-suite-loading-animation-wrap{
    text-align: center;
}

.cws-single-cart-item-content{
    gap: 16px;
    width: 100%;
}

.cws-cart-item-thumbnail{
    width: 130px;
}

.cws-cart-item-thumbnail > a{
    width: 100%;
    height: 100%;
    display: block;
}

.cws-cart-item-details{
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.cws-cart-product-name > a{
    font-size: 21px;
    line-height: 28px;
}

.cws-cart-actions{
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.cart-contents-content{
    flex-direction: column;
}

.cart-contents-wrap{
    border-radius: 8px;
    padding: 24px 16px;
    background: #fff;
}

.cws-single-cart-item-content{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f5f5f5;
}

.cws-woocommerce-cart-form{
    background: #f5f5f5;
    max-width: 1280px;
    width: 100%;  
}

@keyframes priceOut {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(2px);
  }
}

@keyframes priceIn {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes softRedPulse {
  0%,
  100% {
    background-color: #ac5a68;
    box-shadow: 0 0 0 rgba(160, 90, 100, 0);
  }

  50% {
    background-color: #ad4052;
    box-shadow: 0 0 18px rgba(170, 95, 105, 0.28);
  }
}

@media (max-width:768px){
    .cws-close-minicart{
        left: unset;
        right: 12px;
        background: #fff;
        border-radius: 100%;
    }

    .cws-close-minicart svg path {
        stroke: #222;
    }
}
@media (max-width:480px){
    .cws-cart-wrap .cws-cart-content{
        max-width: unset;
    }
}