/* QuickLand Mobile Sticky Buy Bar Styles */

/* =======================================
   MOBILE STICKY BUY NOW BAR
   ======================================= */

.ql-mobile-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999 !important; /* MAX z-index to ensure coverage */
    display: none;        
    
    /* CONTAINER: White background covers content behind it */
    padding: 0;
    background: #ffffff; 
    width: 100%; 
    box-sizing: border-box; 
    
    /* Visual Separation */
    border-top: 1px solid #f2f2f2;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    
    /* CRITICAL FIX: Adds padding so the button sits ABOVE the iPhone home bar (App Drawer area) */
    padding-bottom: env(safe-area-inset-bottom); 
}

/* THE BUTTON: Wider, Bolder, Perfect Size */
.ql-mobile-sticky-buy .ql-mobile-buy-trigger {
    display: block;
    box-sizing: border-box !important;
    
    /* WIDE LAYOUT: 96% width covers most of the screen but keeps a clean gap */
    width: 96% !important; 
    margin: 8px auto !important; 
    
    /* TEXT STYLING: Bold and "Standard Little Big" */
    text-align: center;
    font-weight: 700 !important; /* Bold */
    font-size: 17px !important;   /* Perfect standard size (not too big, not too small) */
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    
    /* SIZING: Comfortable touch area */
    padding: 14px 20px !important; 
    min-height: 50px !important; 
    
    /* SHAPE: Modern rounded corners */
    border-radius: 8px;    
    border: none;
    
    /* INTERACTION */
    transition: transform 0.2s ease;
}

/* Click Effect */
.ql-mobile-sticky-buy .ql-mobile-buy-trigger:active {
    transform: scale(0.98);
}

/* SHOW STATE */
.ql-mobile-sticky-buy.ql-sticky-visible {
    display: block;
    /* Optional: Smooth slide-up entrance */
    animation: qlSlideUp 0.3s ease-out forwards;
}

@keyframes qlSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* DESKTOP/TABLET ONLY – hide on desktop */
@media (min-width: 1025px) {
    .ql-mobile-sticky-buy {
        display: none !important;
    }
}