
.loom-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    z-index: 9999;
    width: 92%;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 8px 10px 8px 15px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.loom-sticky-bar.is-visible {
    transform: translateX(-50%) translateY(0);
}

.sticky-bar-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0; /* Important for text truncation */
}

.sticky-thumb {
    flex: 0 0 45px;
    height: 45px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.sticky-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sticky-title {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.sticky-price {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-price del {
    color: #e62e2e !important; /* Premium Red */
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.8;
}

.sticky-price ins {
    text-decoration: none !important; /* Force remove underline */
    color: #111;
    font-weight: 700;
}

.sticky-price .woocommerce-Price-amount {
    text-decoration: none !important;
}

.sticky-actions {
    flex: 0 0 auto;
}

.sticky-order-btn {
    background-color: var(--brand-primary, #000);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sticky-order-btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}


/* Mobile Optimizations - make it even smaller */
@media (max-width: 767px) {
    .loom-sticky-bar {
        bottom: 15px;
        padding: 6px 8px 6px 12px;
        max-width: 340px;
    }
    
    .sticky-thumb {
        flex: 0 0 38px;
        height: 38px;
        border-radius: 8px;
    }
    
    .sticky-title {
        font-size: 12px;
    }
    
    .sticky-price {
        font-size: 12px;
    }
    
    .sticky-order-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}
