/* Align reserved cart like native cart without JS hooks */
.ars-reserved-cart-wrap {
	display: inline-block;
}
.ars-reserved-cart {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 .75rem;
}
.ars-reserved-cart .header {
	display: flex;
	align-items: center;
}
.ars-reserved-cart .header a {
	display: flex;
	align-items: center;
	gap: .35rem;
	text-decoration: none;
}
.ars-reserved-cart .header .material-icons {
	font-size: 24px;
	line-height: 1;
}
.ars-reserved-cart .header .hidden-sm-down {
	line-height: 1;
}
.ars-reserved-cart .ars-reserved-icon {
	height: 24px;
	width: auto;
	display: block;
}


/* --- Product page buttons alignment --- */
/* Ensure our reserve button sits next to Add to Cart and before wishlist */
.product-actions .ars-reserve-actions {
    order: 2;               /* directly after Add to Cart */
    display: inline-flex;
    margin-left: .5rem;     /* create space from Add to Cart */
}

/* Cover themes that place actions inside the add-to-cart form */
.product-add-to-cart .ars-reserve-actions {
    display: inline-flex;
    margin-left: .5rem;
}

/* Push common wishlist buttons after the reserve button */
.product-actions .wishlist_button,
.product-actions .js-add-to-wishlist,
.product-actions .addToWishlist,
.product-actions .wishlist-button-add,
.product-actions .favorite-button,
.product-actions .add-to-wishlist {
    order: 3;
}

/* Normalize button height/vertical alignment with native add-to-cart */
.product-actions .ars-reserve-actions .btn,
.product-add-to-cart .ars-reserve-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;       /* baseline for themes without fixed height */
    padding: 0 1.25rem;
}

/* Force exact height to match native add-to-cart button */
.product-actions .add-to-reserved,
.product-add-to-cart .add-to-reserved {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
}

