.samrat-order-schedule {
	max-width: 1180px;
	margin: 0 auto 2rem;
	padding: 0 1.25rem;
}

.samrat-schedule-card {
	display: grid;
	grid-template-columns: minmax(240px, .85fr) minmax(420px, 1.6fr);
	gap: 2rem;
	align-items: center;
	padding: 2rem;
	border: 1px solid rgba(163, 112, 38, .28);
	background: linear-gradient(135deg, #fffdf8 0%, #f6eddd 100%);
	box-shadow: 0 18px 50px rgba(39, 29, 18, .08);
}

.samrat-schedule-intro > span {
	display: block;
	margin-bottom: .65rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #b66d16;
}

.samrat-schedule-intro h2 {
	margin: 0 0 .65rem;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(2rem, 4vw, 3.45rem);
	font-weight: 400;
	line-height: .98;
	color: #13131d;
}

.samrat-schedule-intro p {
	max-width: 36rem;
	margin: 0;
	line-height: 1.65;
	color: #62594d;
}

.samrat-schedule-controls {
	display: grid;
	gap: 1.15rem;
}

.samrat-service-choice {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

.samrat-service-button {
	display: flex;
	align-items: center;
	gap: .8rem;
	min-height: 64px;
	padding: .9rem 1rem;
	border: 1px solid #d8cbb8;
	border-radius: 10px;
	background: rgba(255, 255, 255, .78);
	color: #171722;
	font: inherit;
	font-weight: 750;
	text-align: left;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.samrat-service-button:hover {
	transform: translateY(-1px);
	border-color: #c9882c;
}

.samrat-service-button.is-active {
	border-color: #f06a16;
	background: #fff4eb;
	box-shadow: 0 0 0 3px rgba(240, 106, 22, .12);
}

.samrat-service-button svg {
	width: 25px;
	height: 25px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.samrat-service-button small {
	display: block;
	margin-top: .15rem;
	font-weight: 500;
	color: #776d61;
}

.samrat-schedule-fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: .85rem;
}

.samrat-schedule-field {
	display: grid;
	gap: .45rem;
	font-size: .85rem;
	font-weight: 750;
	color: #25232a;
}

.samrat-schedule-field select {
	width: 100%;
	min-height: 52px;
	padding: .65rem 2.6rem .65rem .85rem;
	border: 1px solid #d8cbb8;
	border-radius: 8px;
	background: #fff;
	color: #191722;
	font: inherit;
	box-shadow: none;
}

.samrat-schedule-field select:focus {
	outline: 3px solid rgba(240, 106, 22, .14);
	border-color: #f06a16;
}

.samrat-schedule-status {
	margin: 0;
	font-size: .82rem;
	line-height: 1.55;
	color: #695f53;
}

.samrat-schedule-status.is-closed {
	color: #a33b25;
	font-weight: 700;
}

/* RestroPress keeps these controls for its internal cart state. Samrat uses the stable inline selector instead. */
.samrat-order-live .rpress-delivery-wrap,
.samrat-order-live .rpress-edit-address-wrap,
.samrat-order-live #editDateTime,
.samrat-order-live .rpress-edit-datetime-link {
	display: none !important;
}

.samrat-order-live .rpress-options-row {
	justify-content: flex-end;
}

/* RestroPress's own schedule modal is used only for an invisible state commit. */
html.samrat-native-schedule-syncing #rpressDateTime {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media (max-width: 820px) {
	.samrat-schedule-card {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.4rem;
	}
}

@media (max-width: 560px) {
	.samrat-order-schedule {
		padding: 0 .75rem;
	}

	.samrat-schedule-card {
		padding: 1.1rem;
	}

	.samrat-service-choice,
	.samrat-schedule-fields {
		grid-template-columns: 1fr;
	}

	.samrat-service-button {
		min-height: 58px;
	}
}
