
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&display=swap');

.claered-hidden {
    display: none;
}

#claered-floating-cart-bar,
#claered-floating-cart-preview {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 500px;
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
    color: #000;
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 400;
}

/* Desktop: 10px gap */
#claered-floating-cart-preview {
    bottom: 76px;
    border-radius: 18px;
    padding: 6px 14px;
}

#claered-floating-cart-bar {
    bottom: 10px;
    border-radius: 24px;
    padding: 10px 16px;
}

.cart-preview-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-preview-thumb {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-preview-title {
    font-size: 13px;
    font-weight: 400;
}

.cart-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-label {
    font-size: 13px;
    font-weight: 400;
}

.cart-buttons {
    display: flex;
    gap: 8px;
}

.cart-btn,
.checkout-btn {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 400;
    border: none;
    transition: background 0.2s ease;
    font-family: 'Open Sans', sans-serif;
}

.cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #000;
}

.checkout-btn {
    background-color: #0071e3;
    color: #fff;
}

.checkout-btn:hover {
    background-color: #005bb5;
    color: #fff;
}

/* Mobile: 5px gap */
@media screen and (max-width: 480px) {
    #claered-floating-cart-preview {
        bottom: 68px;
        padding: 6px 12px;
    }

    .cart-preview-thumb {
        width: 28px;
        height: 28px;
        border-radius: 8px;
    }

    .cart-preview-title,
    .cart-label,
    .cart-btn,
    .checkout-btn {
        font-size: 12px;
    }

    .cart-btn,
    .checkout-btn {
        padding: 5px 10px;
    }

    #claered-floating-cart-bar {
        padding: 10px 12px;
        bottom: 5px;
    }
}
