#alm-buy-now-bar,
#alm-popup {
    display: none;
}

@media(max-width:1024px){
    

    #alm-buy-now-bar{
        display:flex;
        position:fixed;
        bottom:0;
        width:100%;
        padding:6px;
        gap:10px;
        background:#ffffffba;
        z-index:9999;
        box-shadow:0 -3px 12px rgba(0,0,0,0.08);
    }

    #alm-buy-now-bar a,
    #alm-buy-now-bar button{
        flex:1;
        height:48px;
        border-radius:10px;
        font-weight:600;
        font-size:14px;
        display:flex;
        align-items:center;
        justify-content:center;
        transition:all .2s ease;
        gap: 5px;
    }

    .alm-view-cart{
        background:#00456e;
        color:#fff;
        text-decoration:none;
    }

    .alm-view-cart:active{
        transform:scale(0.97);
        opacity:0.9;
    }

    .alm-open-popup{
        background:linear-gradient(135deg,#ff2d2d,#e60023);
        color:#fff;
        border:none;
        text-transform: math-auto;
    }

    .alm-open-popup:active{
        transform:scale(0.97);
        opacity:0.9;
    }


    .summary form.cart{
        display:none !important;
    }

    #alm-popup{
        position:fixed;
        inset:0;
        z-index:99999;
    }

    .alm-overlay{
        position:absolute;
        inset:0;
        background:rgba(0,0,0,0.45);
        backdrop-filter: blur(2px);
    }

    .alm-popup-content{
        position:absolute;
        bottom:0;
        width:100%;
        background:#fff;
        border-radius:18px 18px 0 0;
        padding:16px;
        max-height:90%;
        overflow:auto;
        animation:almSlideUp .25s ease;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    @keyframes almSlideUp{
        from{transform:translateY(100%);}
        to{transform:translateY(0);}
    }

    .alm-close{
        text-align: right;
        font-size: 20px;
        font-weight: 500;
        cursor: pointer;
        margin-bottom: 5px;
        background: red;
        color: #ffffff;
        width: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 20px;
        border-radius: 6px;
    }

    .alm-product-top{
        display:flex;
        gap:12px;
        margin-bottom:12px;
        align-items:flex-start;
    }
    .alm-product-title {
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-align: justify;
        color: #000000;
    }
    .alm-product-top img{
        width:84px;
        height:84px;
        object-fit:cover;
        border-radius:10px;
        border:1px solid #f1f1f1;
    }

    .alm-price{
        color:#e60023;
        font-weight:700;
        font-size:18px;
        margin-bottom:4px;
    }

    .alm-stock{
        font-size:13px;
        color:#777;
    }

    .alm-form form.cart{
        display:block !important;
        margin: 0px;
    }

    .alm-form .variations{
        margin-bottom:10px;
    }


    .alm-form select{
        width:100%;
        height:42px;
        border-radius:8px;
        border:1px solid #ddd;
        padding:0 10px;
        font-size:14px;
    }


    /*.alm-form .quantity{*/
    /*    margin:12px 0;*/
    /*}*/

    .alm-form input.qty{
        height:40px;
        border-radius:8px;
        border:1px solid #ddd;
    }


    .alm-btn-row{
        display:flex;
        gap:10px;
        margin-top:12px;
    }

    .alm-btn-row button{
        flex:1;
        height:40px;
        border-radius:10px;
        font-weight:600;
        font-size:11px;
        transition:all .2s ease;
        margin: 0px;
    }
	/*.ux-quantity.quantity.buttons_added .input-text.qty.text {*/
	/*	width: 100%;*/
	/*	max-width: 45px;*/
	/*}*/

    .alm-add{
        background:#fff;
        border:1.5px solid #e60023;
        color:#e60023;
    }

    .alm-add:active{
        background:#ffecec;
        transform:scale(0.97);
    }


    .alm-buy{
        background:linear-gradient(135deg,#ff2d2d,#e60023);
        color:#fff;
        border:none;
        box-shadow:0 4px 10px rgba(230,0,35,0.25);
    }

    .alm-buy:active{
        transform:scale(0.97);
        box-shadow:none;
    }
    
        .alm-variation-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 6px;
        }
    
        .alm-var-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: #fff;
            cursor: pointer;
            font-size: 13px;
            transition: all .2s ease;
        }
    
        .alm-var-btn img {
            width: 26px;
            height: 26px;
            object-fit: cover;
            border-radius: 4px;
        }
    
        .alm-var-btn.active {
            border: 1.5px solid #e60023;
            background: #fff5f5;
        }
    
      
        .alm-var-btn:active {
            transform: scale(0.96);
        }
    
       
        .alm-form .woocommerce-variation-price,
        .alm-form .price {
            display: none !important;
        }
        .alm-form table.variations tr {
            display: flex;
            flex-direction: column;
        }
        .alm-form th.label {
            border-bottom: 0px;
            margin: 0px;
            padding: 0px;
        }
        button.alm-open-popup {
            margin: 0px;
        }
        .alm-product-box {
            width: 100%;
        }
        .alm-form tbody {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        .alm-qty-label{
            font-size:14px;
            font-weight:600;
            margin-top:8px;
            color:#333;
        }
		form.cart {
			display: none !important;
		}
		.alm-btn-row {
            margin-top: 15px !important;
        }
        button.alm-add-view-cart {
            color: rgb(255 255 255);
            background: rgb(230, 0, 35);
            border-width: 1.5px;
            border-style: solid;
            border-color: rgb(230, 0, 35);
            border-image: initial;
        }
}
.alm-variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alm-var-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;
    cursor: pointer;

    transition: all 0.2s ease;
    min-width: 90px;
}

.alm-var-btn img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
}

.alm-var-btn span {
    font-size: 14px;
    color: #333;
    text-transform: math-auto;
}

.alm-var-btn:hover {
    border-color: #ff4d4f;
}

.alm-var-btn.active {
    border: 2px solid #ff4d4f;
    background: #fff5f5;
}

.alm-var-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.variations select.converted {
    display: none !important;
}
.variations tr {
    display: flex;
    flex-direction: column;
}
.variations th.label {
    border-bottom: 0px;
}
.product-summary table tr+tr {
    border-top: 0px !important;
}