.haroone-shipping-animation {
    --haroone-road-color: #4a4a4a;
    --haroone-truck-primary: #2980b9;
    --haroone-truck-secondary: #3498db;
    --haroone-truck-cabin: #16a085;
    --haroone-truck-window: #dde1e2;
    --haroone-truck-wheel: #333;
    --haroone-truck-rim: #bdc3c7;
    --haroone-road-line: #f1c40f;
    --haroone-smoke-color: #c5cfd3;
    --haroone-animation-width: 130px;
    --haroone-animation-height: 85px;
    --haroone-truck-width: calc(var(--haroone-animation-width) * 0.65);
    --haroone-truck-height: calc(var(--haroone-animation-height) * 0.6);
}
.haroone-free-shipping-badge-container {
    margin: 5px 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
    background: transparent;
    padding: 0px 0;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: harooneShowBadge 0.8s ease forwards;
}
.haroone-shipping-animation {
    position: relative;
    width: 100%;
    height: var(--haroone-animation-height);
    overflow: hidden;
    border-radius: 0 !important;
    background-color: transparent;
    box-shadow: none;
}
.haroone-shipping-animation .haroone-road {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: calc(var(--haroone-animation-height) * 0.4);
    background-color: var(--haroone-road-color);
}
.haroone-shipping-animation .haroone-road-line {
    position: absolute;
    width: 200%;
    height: calc(var(--haroone-animation-height) * 0.05);
    bottom: calc(var(--haroone-animation-height) * 0.18);
    background: repeating-linear-gradient(to right,
        var(--haroone-road-line) 0px,
        var(--haroone-road-line) 15px,
        transparent 15px,
        transparent 30px);
    animation: harooneMoveRoad 2s linear infinite;
    left: 0;
}
.haroone-shipping-animation .haroone-truck {
    position: absolute;
    width: var(--haroone-truck-width);
    height: var(--haroone-truck-height);
    bottom: calc(var(--haroone-animation-height) * 0.23);
    transform-origin: bottom center;
    animation: harooneDriveTruck 15s linear infinite;
    z-index: 10;
    /* Flip the truck to face right */
    transform: scaleX(-1);
}
.haroone-truck .haroone-truck-body {
    position: absolute;
    width: calc(var(--haroone-truck-width) * 0.7);
    height: calc(var(--haroone-truck-height) * 0.75);
    bottom: calc(var(--haroone-truck-height) * 0.2);
    right: 0;
    background-color: var(--haroone-truck-primary);
    border-radius: 3px 0 0 3px;
}
.haroone-truck .haroone-truck-cabin {
    position: absolute;
    width: calc(var(--haroone-truck-width) * 0.4);
    height: calc(var(--haroone-truck-height) * 0.6);
    bottom: calc(var(--haroone-truck-height) * 0.2);
    left: 0;
    background-color: var(--haroone-truck-cabin);
    border-radius: 3px 0 0 0;
}
.haroone-truck .haroone-truck-window {
    position: absolute;
    width: calc(var(--haroone-truck-width) * 0.18);
    height: calc(var(--haroone-truck-height) * 0.28);
    top: calc(var(--haroone-truck-height) * 0.1);
    left: calc(var(--haroone-truck-width) * 0.08);
    background-color: var(--haroone-truck-window);
    border-radius: 2px;
}
.haroone-truck .haroone-truck-wheel {
    position: absolute;
    width: calc(var(--haroone-truck-height) * 0.35);
    height: calc(var(--haroone-truck-height) * 0.35);
    bottom: 0;
    background-color: var(--haroone-truck-wheel);
    border-radius: 50%;
    animation: harooneRotateWheel 0.6s linear infinite;
    z-index: 12;
}
.haroone-truck .haroone-wheel1 { left: calc(var(--haroone-truck-width) * 0.12); }
.haroone-truck .haroone-wheel2 { right: calc(var(--haroone-truck-width) * 0.12); }
.haroone-truck-wheel .haroone-wheel-hub {
    position: absolute;
    width: 40%;
    height: 40%;
    background-color: var(--haroone-truck-rim);
    border-radius: 50%;
    top: 30%;
    left: 30%;
}
.haroone-truck .haroone-shipping-text {
    position: absolute;
    width: 120px;
    height: 20px;
    background-color: #db3434;
    top: 0;
    right: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    transform: rotate(15deg) scaleX(-1); 
    box-shadow: none;
    line-height: 1.1;
    text-align: center;
    padding: 0 2px;
    box-sizing: border-box;
    z-index: 11;
}
.haroone-truck .haroone-truck-light {
    position: absolute;
    width: calc(var(--haroone-truck-height) * 0.1);
    height: calc(var(--haroone-truck-height) * 0.1);
    background-color: #f39c12;
    border-radius: 50%;
    bottom: calc(var(--haroone-truck-height) * 0.5);
    left: -1px;
    z-index: 11;
    box-shadow: 0 0 8px #f39c12;
}
.haroone-truck .haroone-smoke {
    position: absolute;
    width: calc(var(--haroone-truck-height) * 0.18);
    height: calc(var(--haroone-truck-height) * 0.18);
    background-color: var(--haroone-smoke-color);
    border-radius: 50%;
    bottom: calc(var(--haroone-truck-height) * 0.8);
    left: calc(var(--haroone-truck-width) * 0.06);
    opacity: 0;
    animation: harooneSmokeEffect 2.5s linear infinite;
    z-index: 9;
}
.haroone-truck .haroone-smoke2 { animation-delay: 0.8s; }
.haroone-truck .haroone-smoke3 { animation-delay: 1.6s; }

@keyframes harooneDriveTruck {
    0% {
        left: -15%;
    }
    100% {
        left: 100%;
    }
}
@keyframes harooneRotateWheel {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}
@keyframes harooneMoveRoad {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30px); }
}
@keyframes harooneSmokeEffect {
    0% {
        opacity: 0.5;
        transform: translate(0, 0) scale(0.5);
    }
    50% {
        opacity: 0.25;
        transform: translate(-5px, -10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-10px, -20px) scale(1.5);
    }
}
@keyframes harooneShowBadge {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes harooneShowMessage {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes haroonePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .haroone-free-shipping-message-container {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    .haroone-shipping-animation {
        --haroone-animation-width: 120px;
        --haroone-animation-height: 75px;
    }
    .haroone-truck .haroone-shipping-text {
        width: 100px;
        height: 18px;
        font-size: 10px;
        right: unset;
    }
}
@media (max-width: 480px) {
    .haroone-shipping-animation {
        --haroone-animation-width: 100px;
        --haroone-animation-height: 65px;
    }
    .haroone-truck .haroone-shipping-text {
        width: 90px;
        height: 16px;
        font-size: 9px;
        right: unset;
    }
    .free-shipping-message {
        font-size: 12px;
        margin-top: 25px;
    }
}

.haroone-free-shipping-message-container {
    /* text-align: center; */
    margin-top: 10px !important;
    padding: 0;
    position: relative;
    max-width: 100%;
    margin-bottom: 15px !important;
    margin: 0 auto;
}
.haroone-free-shipping-message {
    display: inline-block;
    font-size: 16px;
    background: linear-gradient(89deg, #d1b210, #ffd700, #ccb92e);
    color: #000 !important;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: harooneShowMessage 0.8s ease 0.6s forwards;
    width: 100%;
    max-width: 500px;
}
.haroone-free-shipping-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: harooneShine 3s infinite;
}
.haroone-shipping-highlight, .cart-summary .haroone-shipping-highlight {
    color: #000 !important;
    font-weight: 500;
    display: inline-block;
    font-size: 14px !important;
}
.haroone-shipping-emoji {
    display: inline-block;
    margin: 0 4px;
    animation: harooneWiggle 2.5s infinite;
    vertical-align: middle;
}
.haroone-shipping-note, .cart-summary .haroone-shipping-note {
    display: block;
    font-size: 13px;
    margin-top: 1px;
     color: #000 !important;
    opacity: 0.85;
    font-style: italic;
}
.haroone-shipping-note svg{
    vertical-align: middle;
}
@keyframes harooneShowMessage {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes haroonePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes harooneWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}
@keyframes harooneShine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}
@keyframes harooneFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
@media (max-width: 768px) {
    .haroone-free-shipping-message {
        font-size: 14px;
        padding: 10px 15px;
    }
    .haroone-shipping-note {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .haroone-free-shipping-message {
        font-size: 13px;
        padding: 8px 12px;
    }
    .haroone-shipping-note {
        font-size: 11px;
    }
}
           .haroone-tooltip-wrapper {
                position: relative;
                display: inline-block;
                cursor: help; 
            }

.haroone-tooltip-text {
    visibility: hidden;
    width: 180px;
    background-color: #333;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    padding: 6px 10px;
    position: absolute;
    z-index: 100;
    bottom: 110%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 2px 20px 3px rgba(0, 0, 0, 0.3);
    font-style: normal;
    font-weight: normal;
}

            .haroone-tooltip-text::after {
                content: "";
                position: absolute;
                top: 100%; 
                left: 50%;
                margin-left: -5px;
                border-width: 5px;
                border-style: solid;
                border-color: #333 transparent transparent transparent; 
            }
            .haroone-tooltip-wrapper:hover .haroone-tooltip-text {
                visibility: visible;
                opacity: 1;
            }