/* Row 1: Quantity + Add to Cart */
.single-product .product-add-to-cart,
.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px;
}

.single-product .quantity {
    width: auto !important;
    flex: 0 0 auto !important;
    margin-bottom: 0 !important;
}

.single-product .single_add_to_cart_button,
.single-product .wd-add-btn {
    flex: 1 1 auto !important;
    width: auto !important;
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.single-product .single_add_to_cart_button:hover,
.single-product .wd-add-btn:hover {
    background-color: #222 !important;
    border-color: #222 !important;
}

/* Row 2: Buy Now — forced to its own row, centered, link style */
.single-product .wd-buy-now-btn,
.single-product .buy-now-button {
    flex: 1 1 100% !important;
    order: 3 !important;
    display: block !important;
    width: auto !important;
    max-width: fit-content !important;
    margin: 12px auto 0 auto !important;
    background: transparent !important;
    border: none !important;
    text-decoration: underline !important;
    color: #000 !important;
    padding: 6px 0 !important;
    text-align: center !important;
}

.single-product .wd-buy-now-btn:hover,
.single-product .buy-now-button:hover {
    color: #555 !important;
    background: transparent !important;
}

@media (max-width: 767px) {
	.wd-gallery-thumb {
		display:none !important;
	}
}