/* ==========================================================
   AWC Smart Free Shipping Bar
   Optimized CSS for WooCommerce + WoodMart
========================================================== */
.awc-shipping-bar-wrapper {
    position: fixed;
    bottom: 100px;
    inset-inline-end: 16px;
    z-index: 999999;
    direction: rtl;
    font-family: inherit;
}
/* Main Card */
.awc-bar-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 999px;
    padding: 13px 20px 13px 14px;
    max-width: 290px;
    box-shadow:
        0 8px 24px rgba(20,20,43,.16);
    border:
        1px solid rgba(0,0,0,.05);
    animation:
        awcFadeIn .35s ease;
}
/* Icon */
.awc-bar-icon {
    font-size: 23px;
    line-height: 1;
    flex-shrink:0;
}

/* Content */
.awc-bar-content {
    flex:1;
    min-width:0;
}
.awc-bar-text {
    margin:0 0 6px;
    font-size:13px;
    color:#2c2c3a;
    line-height:1.5;
    white-space:normal;
    overflow:hidden;
    text-overflow:ellipsis;
}
.awc-bar-text b {
    color:#7c3aed;
	font-weight:700;
}
.awc-bar-text .awc-success {
    color:#15803d;
    font-weight:700;
}

/* Progress */
.awc-progress-track {
    width:100%;
    height:7px;
    background:#f0eefc;
    border-radius:999px;
    overflow:hidden;
}
.awc-progress-fill {
    height:100%;
    border-radius:999px;
    background:
    linear-gradient(
        90deg,
        #a78bfa,
        #7c3aed
    );
    transition:
        width .5s ease;
}
.awc-progress-fill.awc-full {
    background:
    linear-gradient(
        90deg,
        #34d399,
        #059669
    );
}

/* Close Button */
.awc-bar-close {
    position:absolute;
    top:-9px;
    inset-inline-start:-9px;
    width:26px;
    height:26px;
    border-radius:50%;
    background:#ffffff;
    border:1px solid rgba(0,0,0,.08);
    box-shadow:0 3px 10px rgba(0,0,0,.12);
    color:#6b7280;
    font-size:16px;
    line-height:1;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    transition:.2s ease;
}


.awc-bar-close:hover {

    transform:scale(1.08);

    color:#111827;

}

/* Toast Container */
#awc-toast-container {
    position:fixed;
    top:24px;
    left:50%;
    transform:translateX(-50%);
    z-index:9999999;
    direction:rtl;
    width:92%;
    max-width:460px;
    pointer-events:none;
}

/* Toast */
.awc-toast {
    background:#fff;
    border-radius:18px;
    padding:20px 22px;
    box-shadow:
    0 16px 40px rgba(20,20,43,.22);
    border:
    1px solid rgba(0,0,0,.05);
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:10px;
    font-size:16px;
    color:#2c2c3a;
    line-height:1.7;
    animation:
    awcToastIn .4s cubic-bezier(.34,1.56,.64,1),
    awcToastOut .4s ease 4.6s forwards;
}
.awc-toast .awc-toast-emoji {
    font-size:30px;
    flex-shrink:0;
}
.awc-toast b {
    color:#7c3aed;
}
.awc-toast-success {
    border-color:
    rgba(5,150,105,.25);
}
.awc-toast-success b {
    color:#059669;
}

/* Animations */
@keyframes awcFadeIn {
    from {
        opacity:0;
        transform:
        translateY(10px);
    }
    to {
        opacity:1;
        transform:
        translateY(0);
    }
}
@keyframes awcToastIn {
    from {
        opacity:0;
        transform:
        translateY(-24px) scale(.9);
    }
    to {
        opacity:1;
        transform:
        translateY(0) scale(1);
    }
}
@keyframes awcToastOut {
    to {
        opacity:0;
        transform:
        translateY(-16px);
    }
}

/* Mobile */
@media(max-width:600px){
    .awc-bar-card {
        max-width:210px;
        padding:
        8px 14px 8px 9px;
    }
    .awc-toast {
        padding:
        16px 18px;
        font-size:14px;
    }
    .awc-toast .awc-toast-emoji {
        font-size:24px;
    }
}

.awc-shipping-bar-wrapper button.awc-bar-close {
    position:absolute;
    top:-9px;
    inset-inline-start:-9px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#fff;
    border:1px solid rgba(0,0,0,.15);
    box-shadow:
    0 4px 12px rgba(0,0,0,.18);
    color:#555;
    font-size:18px;
    line-height:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    cursor:pointer;
    transition:
    transform .2s ease,
    color .2s ease;
}