.roaya-fast-order {
	margin-top: 0.75rem;
}

.roaya-fast-order-product {
	margin: 0;
}

.roaya-fast-order-product__purchase {
	margin-bottom: 1rem;
}

.roaya-fast-order-product .variations {
	width: 100%;
	margin-bottom: 1rem;
}

.roaya-fast-order-product .variations td,
.roaya-fast-order-product .variations th {
	display: block;
	width: 100%;
	padding: 0;
	text-align: start;
}

.roaya-fast-order-product .variations label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.roaya-fast-order-product .variations select {
	width: 100%;
	min-height: 46px;
	border-radius: 8px;
}

.roaya-fast-order-product .single_add_to_cart_button {
	width: 100%;
	min-height: 50px;
}

.roaya-fast-order-product--inline .single_add_to_cart_button {
	display: none !important;
}

.roaya-fast-order-product .swatch {
	margin-bottom: 1rem;
}

.roaya-fast-order-product .swatch__title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
}

.roaya-fast-order-product .swatch__list {
	gap: 0.55rem;
}

.roaya-fast-order-product .swatch__list--item {
	margin: 0;
}

.roaya-fast-order-product .quantity {
	margin-bottom: 1rem;
}

.roaya-fast-order__panel {
	width: 100%;
	padding: 1.2rem;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.roaya-fast-order--inline {
	margin-top: 1.25rem;
}

.roaya-fast-order--inline .roaya-fast-order__panel {
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.roaya-fast-order-modal[hidden] {
	display: none !important;
}

.roaya-fast-order-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.roaya-fast-order-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.58);
}

.roaya-fast-order-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(780px, 100%);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1.2rem;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.roaya-fast-order-modal__close {
	position: absolute;
	top: 0.9rem;
	inset-inline-end: 0.9rem;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 10px;
	background: #ff1e1e;
	font-size: 1.5rem;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.roaya-fast-order-modal__close:hover{
	background: #000;
}

.roaya-fast-order__header {
	margin-bottom: 1rem;
	padding-inline-end: 3rem;
}

.roaya-fast-order__title {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
}

.roaya-fast-order__subtitle {
	margin: 0;
	color: #666;
	font-size: 0.95rem;
}

.roaya-fast-order__summary {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	margin-bottom: 1rem;
	padding: 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fafafa;
}

.roaya-fast-order__summary-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
	background: #fff;
}

.roaya-fast-order__summary-name {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
}

.roaya-fast-order__summary-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.4rem;
}

.roaya-fast-order__summary-list li {
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.roaya-fast-order__summary-list li:last-child {
	border-bottom: 0;
}

.roaya-fast-order__summary-list span {
	color: #666;
}

.roaya-fast-order__summary-list strong {
	font-weight: 600;
	text-align: end;
}

.roaya-fast-order__info {
	margin-bottom: 1rem;
	padding: 0.85rem;
	border-radius: 10px;
	background: #fafafa;
}

.roaya-fast-order__policy h4 {
	margin: 0 0 0.5rem;
	font-size: 0.98rem;
}

.roaya-fast-order__policy ul {
	margin: 0;
	padding-inline-start: 1.1rem;
}

.roaya-fast-order__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.roaya-fast-order__field--wide {
	grid-column: 1 / -1;
}

.roaya-fast-order__grid label {
	display: block;
}

.roaya-fast-order__grid span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.roaya-fast-order__grid input,
.roaya-fast-order__grid select {
	width: 100%;
	min-height: 42px;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 10px;
	background: #fff;
}

.roaya-fast-order__field.has-error input,
.roaya-fast-order__field.has-error select,
.roaya-fast-order__grid label.has-error input,
.roaya-fast-order__grid label.has-error select {
	border-color: #a61b1b;
	box-shadow: 0 0 0 1px rgba(166, 27, 27, 0.12);
}

.roaya-fast-order__field-message {
	display: block;
	margin-top: 0.4rem;
	color: #a61b1b;
	font-size: 0.85rem;
	font-weight: 500;
}

.roaya-fast-order__actions {
	margin-top: 1rem;
}

.roaya-fast-order__submit.is-loading {
	opacity: 0.75;
	pointer-events: none;
}

.roaya-fast-order__note {
	margin: 0.6rem 0 0;
	color: #666;
	font-size: 0.9rem;
}

.roaya-fast-order__message {
	margin-top: 0.9rem;
	padding: 0.8rem 0.9rem;
	border-radius: 10px;
	font-size: 0.95rem;
}

.roaya-fast-order__message.is-success {
	background: #eef8ef;
	color: #1d6b2a;
}

.roaya-fast-order__message.is-error {
	background: #fff1f1;
	color: #a61b1b;
}

.roaya-fast-order-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 999999;
	max-width: min(92vw, 520px);
	transform: translate3d(-50%, 16px, 0);
	opacity: 0;
	padding: 0.9rem 1.1rem;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.roaya-fast-order-toast.is-visible {
	opacity: 1;
	transform: translate3d(-50%, 0, 0);
}

.roaya-fast-order-toast.is-success {
	background: #1d6b2a;
}

.roaya-fast-order-toast.is-error {
	background: #a61b1b;
}

body.roaya-fast-order-modal-open {
	overflow: hidden;
}

body.roaya-fast-order-active .jas-mini-cart,
body.roaya-fast-order-active .mask-overlay {
	display: none !important;
}

.single-product .related .add_to_cart_button,
.single-product .related .product_type_simple,
.single-product .upsells .add_to_cart_button,
.single-product .upsells .product_type_simple {
	display: none !important;
}

@media (max-width: 720px) {
	.roaya-fast-order__panel,
	.roaya-fast-order-modal__dialog {
		padding: 1rem;
	}

	.roaya-fast-order__summary {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.roaya-fast-order__grid {
		grid-template-columns: 1fr;
	}
}
