/**
 * Sticky Footer Cart CSS
 */

/* Hide on desktop */
.iscents-sticky-cart {
    display: none;
}

/* Mobile only */
@media (max-width: 768px) {
    .iscents-sticky-cart {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #0f1a2b;
        padding: 10px;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
        animation: slideUp 0.3s ease;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .sticky-inner {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .sticky-price {
        color: #e4b565;
        font-weight: 700;
        font-size: 16px;
        white-space: nowrap;
    }
    
    .sticky-qty {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 6px;
        overflow: hidden;
    }
    
    .sticky-qty button {
        border: none;
        background: #f3f3f3;
        padding: 6px 10px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;
        transition: background 0.2s ease;
    }
    
    .sticky-qty button:hover {
        background: #e0e0e0;
    }
    
    .sticky-qty input {
        width: 40px;
        text-align: center;
        border: none;
        font-size: 14px;
        padding: 6px 0;
    }
    
    .sticky-qty input:focus {
        outline: none;
    }
    
    /* Remove number input arrows */
    .sticky-qty input::-webkit-inner-spin-button,
    .sticky-qty input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
    .sticky-add-cart {
        flex: 1;
        background: linear-gradient(135deg, #e4b565, #c89c3c);
        border: none;
        color: #000;
        font-weight: 600;
        padding: 10px;
        border-radius: 6px;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
        font-size: 14px;
    }
    
    .sticky-add-cart:hover {
        background: linear-gradient(135deg, #c89c3c, #b0882e);
        transform: scale(1.02);
    }
    
    .sticky-add-cart:active {
        transform: scale(0.98);
    }
}