.floating-cart-cd5804c4-wrapper {
    position: fixed;
    z-index: 9999;
}
.floating-cart-cd5804c4-wrapper.bottom-right { bottom: 30px; right: 30px; }
.floating-cart-cd5804c4-wrapper.bottom-left { bottom: 30px; left: 30px; }
.floating-cart-cd5804c4-wrapper.top-right { top: 30px; right: 30px; }
.floating-cart-cd5804c4-wrapper.top-left { top: 30px; left: 30px; }

.floating-cart-cd5804c4-trigger {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #346834;
}
.floating-cart-cd5804c4-trigger:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.floating-cart-cd5804c4-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.floating-cart-cd5804c4-icon svg {
    width: 20px;
    height: 20px;
    stroke: #346834;
}

.floating-cart-cd5804c4-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.floating-cart-cd5804c4-price {
    font-size: 14px;
    font-weight: 600;
    color: #346834;
}

.floating-cart-cd5804c4-preview {
    position: absolute;
    bottom: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #346834;
}
.floating-cart-cd5804c4-wrapper.bottom-left .floating-cart-cd5804c4-preview {
    right: auto; left: 0;
}
.floating-cart-cd5804c4-wrapper.top-right .floating-cart-cd5804c4-preview,
.floating-cart-cd5804c4-wrapper.top-left .floating-cart-cd5804c4-preview {
    bottom: auto; top: calc(100% + 15px);
    transform: translateY(-10px);
}
.floating-cart-cd5804c4-wrapper.top-left .floating-cart-cd5804c4-preview {
    right: auto; left: 0;
}

.floating-cart-cd5804c4-wrapper.is-open .floating-cart-cd5804c4-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cart-cd5804c4-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    border: 1px solid #346834;
}
.floating-cart-cd5804c4-close svg {
    stroke: #346834;
}

/* Force colors to #346834 inside the mini cart, EXCEPT for view cart and checkout buttons */
.floating-cart-cd5804c4-preview .widget_shopping_cart_content * {
    color: #346834;
}

/* Override for View Cart and Checkout button text colors */
.floating-cart-cd5804c4-preview .widget_shopping_cart_content .buttons .button {
    color: #FFFFFF !important;
}

/* Override for remove product icon color */
.floating-cart-cd5804c4-preview .widget_shopping_cart_content .remove {
    color: green !important;
}
.floating-cart-cd5804c4-preview .widget_shopping_cart_content .remove:hover {
    color: darkgreen !important;
}

/* Animations */
@keyframes shake-cd5804c4 {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
    75% { transform: translateX(-5px) rotate(-5deg); }
}
@keyframes pulse-cd5804c4 {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.anim-shake { animation: shake-cd5804c4 0.5s ease; }
.anim-pulse { animation: pulse-cd5804c4 0.5s ease; }

@media (max-width: 768px) {
    .fc-cd5804c4-mobile-hide { display: none !important; }
}