.hfs-badge {
    display: inline-flex;
    align-items: end;
    gap: 4px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hfs-badge-color, #ffffff);
    background: var(--hfs-badge-bg, #45bd61);
    border-radius: 2px;
    z-index: 10;
    white-space: nowrap;
}

.hfs-badge__icon {
    font-size: 13px;
    line-height: 1;
    display: none;
}

body .hfs-badge__icon img{
    background: none !important;
    transform: rotateY(-180deg) !important;
}

.hfs-note--catalog {
    display: block;
    margin: 3px 0 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hfs-note-color, #11a146);
}

.hfs-badge--top-left {
    top: 10px;
    left: 10px;
}

.hfs-badge--top-right {
    top: 8px;
    right: 8px;
}

.hfs-badge--bottom-left {
    bottom: 8px;
    left: 8px;
}

.hfs-badge--bottom-right {
    bottom: 8px;
    right: 8px;
}

.hfs-badge--single,
.hfs-badge--single-alt {
    display: inline-flex;
    margin: 10px 0;
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 4px;
}

.hfs-badge--single {
    display: none;
}

.hfs-badge--single-alt {
    display: inline-flex;
}

@media (max-width: 480px) {
    .hfs-badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .hfs-badge__icon {
        font-size: 11px;
    }

    .hfs-badge--single-alt {
        font-size: 12px;
        padding: 5px 12px;
    }
}

.hfs-cart-notice {
    margin:20px 0;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.hfs-cart-notice__content {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.hfs-cart-notice__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.hfs-cart-notice__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.hfs-cart-notice__text .woocommerce-Price-amount {
    color: var(--hfs-badge-bg, #45bd61);
    font-weight: 700;
}

.hfs-cart-notice__progress-bar {
    width: 100%;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.hfs-cart-notice__progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(
        90deg,
        var(--hfs-badge-bg, #45bd61),
        color-mix(in srgb, var(--hfs-badge-bg, #45bd61), white 20%)
    );
    position: relative;
}

.hfs-cart-notice__progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
}

.hfs-badge__icon,
.hfs-cart-notice--pending .hfs-cart-notice__icon,
.hfs-delivery-notice--pending .hfs-delivery-notice__icon {
    display: inline-block;
    transform: scaleX(-1);
}

.hfs-delivery-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.hfs-delivery-notice__icon {
    font-size: 16px;
    line-height: 1;
    flex: 0 0 auto;
}

.hfs-delivery-notice__text .woocommerce-Price-amount {
    font-weight: 700;
}

.hfs-delivery-notice--success {
    border-color: #a9dcbb;
    background: #e8f5e9;
    color: #05994d;
    font-weight: 600;
}

.hfs-delivery-notice--pending {
    border-color: #ffd54f;
    background: #fffde7;
    color: #5d4037;
}

.hfs-cart-notice--pending {
    border-color: #ffd54f;
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
}

.hfs-cart-notice--pending .hfs-cart-notice__text {
    color: #5d4037;
}

.hfs-cart-notice--success {
    border-color: var(--hfs-badge-bg, #45bd61);
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.hfs-cart-notice--success .hfs-cart-notice__text {
    color: #05994d;
}

.hfs-cart-notice--success .hfs-cart-notice__progress-fill {
    background: var(--hfs-badge-bg, #45bd61);
}

.hfs-cart-notice--mini-cart {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 6px;
}

.hfs-cart-notice--mini-cart .hfs-cart-notice__icon {
    font-size: 18px;
}

.hfs-cart-notice--mini-cart .hfs-cart-notice__text {
    font-size: 12px;
}

.hfs-cart-notice--mini-cart .hfs-cart-notice__progress-bar {
    height: 5px;
}

@media (max-width: 480px) {
    .hfs-cart-notice {
        padding: 12px 14px;
    }

    .hfs-cart-notice__content {
        gap: 8px;
        margin-bottom: 8px;
    }

    .hfs-cart-notice__icon {
        font-size: 18px;
    }

    .hfs-cart-notice__text {
        font-size: 13px;
    }

    .hfs-cart-notice__progress-bar {
        height: 6px;
    }
}

.hfs-cart-notice--fly-cart {
    margin: 0 16px 12px;
    padding: 12px 14px;
    border-radius: 6px;
    box-sizing: border-box;
}

.hfs-cart-notice--fly-cart .hfs-cart-notice__content {
    gap: 8px;
    margin-bottom: 8px;
}

.hfs-cart-notice--fly-cart .hfs-cart-notice__icon {
    font-size: 18px;
    transform: rotateY(-180deg);
}

.hfs-cart-notice--fly-cart .hfs-cart-notice__text {
    line-height: 1.3;
}

.hfs-cart-notice--fly-cart .hfs-cart-notice__progress-bar {
    height: 6px;
}

.woofc-style-01 .hfs-cart-notice--fly-cart,
.woofc-style-03 .hfs-cart-notice--fly-cart,
.woofc-style-05 .hfs-cart-notice--fly-cart {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.woofc-style-01 .hfs-cart-notice--fly-cart.hfs-cart-notice--pending,
.woofc-style-03 .hfs-cart-notice--fly-cart.hfs-cart-notice--pending,
.woofc-style-05 .hfs-cart-notice--fly-cart.hfs-cart-notice--pending {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    border-color: #ffd54f;
}

.woofc-style-01 .hfs-cart-notice--fly-cart.hfs-cart-notice--success,
.woofc-style-03 .hfs-cart-notice--fly-cart.hfs-cart-notice--success,
.woofc-style-05 .hfs-cart-notice--fly-cart.hfs-cart-notice--success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: var(--hfs-badge-bg, #45bd61);
}
