/* Reversible trial: the existing purchase block floats only while its natural position is off-screen. */
.article-immersive__buy-marker { display: none; }
@media (min-width: 1101px) and (min-height: 720px) {
	.article-immersive__buy-marker { display: block; }
	.article-immersive__buy.is-single-floating-buy {
		position: fixed;
		z-index: 80;
		left: 50%;
		bottom: 28px;
		width: min(1240px, calc(100vw - 32px));
		margin: 0;
		padding: 0;
		border: 0;
		transform: translateX(-50%);
	}
	.article-immersive__buy.is-single-floating-buy .article-show__purchase-box {
		display: grid;
		grid-template-columns: auto auto minmax(310px, .72fr) minmax(360px, 1fr);
		gap: 18px;
		align-items: center;
		width: 100%;
		padding: 12px 14px 12px 18px;
		border: 1px solid rgba(32, 68, 115, .28);
		border-radius: 18px;
		background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(242,247,249,.94));
		box-shadow: 0 22px 60px rgba(16,40,58,.2), 0 5px 16px rgba(16,40,58,.12);
		backdrop-filter: blur(18px) saturate(1.15);
	}
	.article-immersive__buy.is-single-floating-buy .article-show__price,
	.article-immersive__buy.is-single-floating-buy .article-show__availability { margin: 0; white-space: nowrap; }
	.article-immersive__buy.is-single-floating-buy .article-show__price span { font-size: 1.65rem; }
	.article-immersive__buy.is-single-floating-buy .article-show__converted-prices { gap: 7px; margin: 0; }
	.article-immersive__buy.is-single-floating-buy .article-show__converted-price { min-height: 48px; padding: 7px 9px; }
	.article-immersive__buy.is-single-floating-buy .article-show__cart-form { position: relative; min-width: 0; }
	.article-immersive__buy.is-single-floating-buy .article-show__cart-row { grid-template-columns: 112px minmax(210px, 1fr); gap: 10px; }
	.article-immersive__buy.is-single-floating-buy .article-show__quantity,
	.article-immersive__buy.is-single-floating-buy .article-show__cart-button { min-height: 48px; }
	.article-immersive__buy.is-single-floating-buy .article-show__purchase-share { display: none; }
    /* The shipping notice gets a compact full-width line, not a purchase-control column. */
    .article-immersive__buy.is-single-floating-buy .article-show__purchase-box:has(.article-show__campaign-notice) {
        row-gap: 4px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__purchase-box:has(.article-show__campaign-notice):not(:has(.article-show__converted-prices)) {
        grid-template-columns: auto auto minmax(360px, 1fr);
    }
    .article-immersive__buy.is-single-floating-buy .article-show__purchase-box:has(.article-show__campaign-notice) .article-show__cart-form {
        grid-column: -2 / -1;
        grid-row: 1;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__campaign-notice {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        font-size: .82rem;
        line-height: 1.35;
    }
    /* Availability alerts share the compact bar instead of nesting a full card. */
    .article-immersive__buy.is-single-floating-buy .article-show__purchase-box:has(form.article-show__availability-request):not(:has(.article-show__converted-prices)) {
        grid-template-columns: auto minmax(140px, .8fr) minmax(360px, 1.5fr);
    }
    .article-immersive__buy.is-single-floating-buy form.article-show__availability-request {
        grid-column: -2 / -1;
        grid-row: 1;
        min-width: 0;
        gap: 4px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__availability-request label {
        font-size: .82rem;
        line-height: 1.25;
    }
    .article-immersive__buy.is-single-floating-buy .article-immersive__availability-request-row {
        gap: 8px;
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__availability-request input[type="email"] {
        min-width: 0;
        min-height: 44px;
        padding-inline: 10px;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__availability-request button {
        min-height: 44px;
        padding-inline: 12px;
    }
    .article-immersive__buy.is-single-floating-buy .article-show__availability-request > p:not([class]) {
        display: none;
    }
    .article-immersive__buy.is-single-floating-buy .article-immersive__availability-request-message {
        margin: 0;
        padding: 6px 8px;
        font-size: .84rem;
        line-height: 1.35;
    }
	html.front-theme-dark .article-immersive__buy.is-single-floating-buy .article-show__purchase-box {
		border-color: rgba(218,190,126,.5);
		background: linear-gradient(135deg, rgba(14,29,39,.97), rgba(20,43,56,.96));
		box-shadow: 0 22px 60px rgba(0,0,0,.34), 0 5px 16px rgba(0,0,0,.24);
	}
}
@media (max-width: 1100px), (max-height: 719px) {
	.article-immersive__buy-marker { display: none !important; height: 0 !important; }
	.article-immersive__buy.is-single-floating-buy { position: static; transform: none; }
}

/* The moving form and its placeholder must not become browser scroll anchors. */
.article-immersive__buy, .article-immersive__buy-marker { overflow-anchor: none; }
