/* =========================================================
   Shubhamarg Services + Booking — Front-end styles
   All classes prefixed .sm-svc / .sm-modal / .sm-form / .sm-success
   Scoped and safe — will not affect the rest of the site.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Hind:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

.sm-svc, .sm-svc * ,
.sm-modal, .sm-modal * { box-sizing: border-box; }

.sm-svc {
	font-family: 'Hind', sans-serif;
	padding: 20px 0;
	display: block !important;
	width: 100% !important;
}

.sm-svc__grid {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 26px;
	width: 100% !important;
}

/* Desktop / tablet: 2-column grid, all cards stretched to equal height */
@media (min-width: 701px) {
	.sm-svc__grid {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		align-items: stretch !important;
	}
}

.sm-svc__card {
	background: #3A2A20;
	border: 1px solid rgba(255,159,67,0.22);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100%;
	float: none !important;
}

.sm-svc__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0,0,0,0.35);
	border-color: rgba(255,159,67,0.45);
}

.sm-svc__thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 21 / 9;
	background: #4A382C;
	flex-shrink: 0;
}

.sm-svc__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	image-rendering: -webkit-optimize-contrast;
}

.sm-svc__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 56px;
	color: #FF9F43;
	width: 100%;
	height: 100%;
}

.sm-svc__price-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: linear-gradient(135deg, #FFD166, #FF9F43);
	color: #1A1210;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	padding: 7px 16px;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sm-svc__body {
	padding: 30px 32px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.sm-svc__title {
	font-family: 'Yatra One', cursive;
	font-size: 26px;
	font-weight: 400;
	color: #FFD166;
	margin: 0 0 12px;
	line-height: 1.3;
}

.sm-svc__desc {
	font-size: 15.5px;
	line-height: 1.75;
	color: #F0C98A;
	margin: 0 0 16px;
	font-weight: 500;
}

.sm-svc__long-desc {
	font-size: 14.5px;
	line-height: 1.85;
	color: #FFFFFF !important;
	margin: 0 0 22px;
}

.sm-svc__long-desc p {
	margin: 0 0 12px;
	color: #FFFFFF !important;
}

.sm-svc__long-desc p:last-child {
	margin-bottom: 0;
}

.sm-svc__long-desc strong {
	color: #FFD166 !important;
	font-weight: 600;
}

/* Wrapper that holds the long description + its Read More toggle.
   flex-grow: 1 pushes the Book Now button below it down to the
   bottom of the card, keeping the button aligned across all cards. */
.sm-svc__long-desc-wrap {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	margin-bottom: 20px;
}

.sm-svc__readmore-btn {
	display: none;
	background: transparent;
	border: none;
	color: #FF9F43;
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px 0 0;
	text-align: left;
	align-self: flex-start;
}

.sm-svc__readmore-btn:hover {
	color: #FFD166;
	text-decoration: underline;
}

.sm-svc__readmore-text-less { display: none; }
.sm-svc__long-desc-wrap.is-expanded .sm-svc__readmore-text-more { display: none; }
.sm-svc__long-desc-wrap.is-expanded .sm-svc__readmore-text-less { display: inline; }

/* ---------- Desktop / tablet: clamp long description with fade + Read More ---------- */
@media (min-width: 701px) {
	.sm-svc__long-desc-wrap {
		position: relative;
	}

	.sm-svc__long-desc-wrap:not(.is-expanded) .sm-svc__long-desc {
		max-height: 165px;
		overflow: hidden;
		position: relative;
	}

	.sm-svc__long-desc-wrap:not(.is-expanded)::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 26px;
		height: 40px;
		background: linear-gradient(180deg, rgba(58,42,32,0) 0%, #3A2A20 90%);
		pointer-events: none;
	}

	.sm-svc__readmore-btn {
		display: inline-block;
	}
}

.sm-svc__book-btn {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14.5px;
	background: linear-gradient(135deg, #FF9F43, #C7601A);
	color: #1A1210;
	border: none;
	padding: 13px 24px;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	align-self: flex-start;
	flex-shrink: 0;
}

.sm-svc__book-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(255,159,67,0.35);
}

.sm-svc__book-btn:focus-visible {
	outline: 2px solid #FF9F43;
	outline-offset: 3px;
}

/* =========================================================
   Booking Modal
   ========================================================= */

.sm-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: 'Hind', sans-serif;
}

.sm-modal.is-open {
	display: flex;
}

.sm-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10,6,4,0.72);
	backdrop-filter: blur(2px);
}

.sm-modal__box {
	position: relative;
	background: #1A1210;
	border: 1px solid rgba(255,159,67,0.25);
	border-radius: 18px;
	width: 100%;
	max-width: 560px;
	max-height: 88vh;
	overflow-y: auto;
	padding: 32px 28px;
	box-shadow: 0 25px 60px rgba(0,0,0,0.5);
	animation: sm-modal-in 0.25s ease;
}

@keyframes sm-modal-in {
	from { opacity: 0; transform: translateY(14px) scale(0.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}

.sm-modal__close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: transparent;
	border: none;
	color: #D8C4AC;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}
.sm-modal__close:hover { color: #FF9F43; }

.sm-modal__title {
	font-family: 'Yatra One', cursive;
	font-size: 24px;
	color: #FFD166;
	margin: 0 0 6px;
	font-weight: 400;
}

.sm-modal__service-line {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #D8C4AC;
	margin: 0 0 22px;
}
.sm-modal__service-line strong { color: #FF9F43; }

/* =========================================================
   Form
   ========================================================= */

.sm-form__row { margin-bottom: 16px; }

.sm-form__row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.sm-form label {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #E8DACB;
	margin-bottom: 6px;
}

.sm-form__hint {
	font-weight: 400;
	color: #9A8570;
	font-size: 11.5px;
}

.sm-form input[type="text"],
.sm-form input[type="tel"],
.sm-form input[type="email"],
.sm-form input[type="date"],
.sm-form input[type="time"],
.sm-form select,
.sm-form textarea {
	width: 100%;
	background: #2A1F1A;
	border: 1px solid rgba(255,159,67,0.25);
	border-radius: 8px;
	padding: 11px 13px;
	font-family: 'Hind', sans-serif;
	font-size: 14.5px;
	color: #FDF6E7;
	outline: none;
	transition: border-color 0.15s ease;
}

.sm-form input[type="date"],
.sm-form input[type="time"] {
	color-scheme: dark;
}

.sm-form input[type="date"]::-webkit-calendar-picker-indicator,
.sm-form input[type="time"]::-webkit-calendar-picker-indicator {
	filter: invert(66%) sepia(56%) saturate(1000%) hue-rotate(340deg) brightness(103%);
	cursor: pointer;
}

.sm-form input:focus,
.sm-form select:focus,
.sm-form textarea:focus {
	border-color: #FF9F43;
}

.sm-form textarea { resize: vertical; }

.sm-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FF9F43' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 34px;
}

.sm-form__error {
	color: #FF6B6B;
	font-size: 13px;
	font-family: 'Poppins', sans-serif;
	margin-bottom: 12px;
	min-height: 0;
}

.sm-form__row--consent { margin-bottom: 20px; }

.sm-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	margin-bottom: 0;
}

.sm-form__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: #FF9F43;
	cursor: pointer;
}

.sm-form__checkbox span {
	font-family: 'Hind', sans-serif;
	font-size: 13.5px;
	font-weight: 400;
	color: #E8DACB;
	line-height: 1.5;
}

.sm-form__submit {
	width: 100%;
	background: linear-gradient(135deg, #FFD166, #FF9F43);
	color: #1A1210;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15.5px;
	border: none;
	padding: 15px;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	margin-top: 6px;
}

.sm-form__submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,159,67,0.3); }
.sm-form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.sm-form__submit:focus-visible {
	outline: 2px solid #FF9F43;
	outline-offset: 3px;
}

/* =========================================================
   Success step
   ========================================================= */

.sm-success {
	text-align: center;
	padding: 24px 6px 10px;
}

.sm-success__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #FFD166, #FF9F43);
	color: #1A1210;
	font-size: 34px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.sm-success__title {
	font-family: 'Yatra One', cursive;
	font-size: 26px;
	color: #FFD166;
	margin: 0 0 12px;
	font-weight: 400;
}

.sm-success__msg {
	font-size: 15.5px;
	line-height: 1.8;
	color: #E8DACB;
	margin: 0;
}

.sm-success__whatsapp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 22px;
	width: 100%;
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #FFFFFF;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	padding: 15px;
	border-radius: 999px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sm-success__whatsapp-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
	color: #FFFFFF;
}


/* =========================================================
   Payment gateway chooser (form step)
   ========================================================= */

.sm-form .sm-gateway__legend {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #E8DACB;
	margin-bottom: 10px;
}

.sm-gateway__options {
	display: grid;
	gap: 10px;
}

.sm-form .sm-gateway__option {
	display: block;
	cursor: pointer;
	margin: 0;
}

.sm-gateway__option input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.sm-gateway__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 14px;
	border: 1.5px solid rgba(255, 209, 102, 0.25);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	transition: border-color 0.15s ease, background 0.15s ease;
}

.sm-gateway__option input:checked + .sm-gateway__card {
	border-color: #FF9F43;
	background: rgba(255, 159, 67, 0.12);
}

.sm-gateway__option input:focus-visible + .sm-gateway__card {
	outline: 2px solid #FF9F43;
	outline-offset: 2px;
}

.sm-gateway__icon { font-size: 22px; line-height: 1; }

.sm-gateway__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.sm-gateway__text strong {
	font-family: 'Poppins', sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	color: #FFF3E4;
}

.sm-gateway__text small {
	font-size: 12px;
	color: #B9A794;
	line-height: 1.4;
}

.sm-gateway__tick {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 209, 102, 0.4);
	color: transparent;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.sm-gateway__option input:checked + .sm-gateway__card .sm-gateway__tick {
	background: linear-gradient(135deg, #FFD166, #FF9F43);
	border-color: transparent;
	color: #1A1210;
}

/* =========================================================
   QR payment step
   ========================================================= */

.sm-qr {
	text-align: center;
	padding: 6px 0 4px;
}

.sm-qr__title {
	font-family: 'Yatra One', cursive;
	font-size: 23px;
	color: #FFD166;
	margin: 0 0 10px;
	font-weight: 400;
}

.sm-qr__amount {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: #E8DACB;
	margin: 0 0 12px;
}

.sm-qr__amount strong { color: #FF9F43; font-size: 20px; }

.sm-qr__note {
	font-size: 13.5px;
	line-height: 1.7;
	color: #B9A794;
	margin: 0 0 18px;
}

.sm-qr__img-wrap {
	display: inline-block;
	padding: 12px;
	background: #FFFFFF;
	border-radius: 16px;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.sm-qr__img {
	display: block;
	width: 230px;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.sm-qr__upi {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px dashed rgba(255, 209, 102, 0.3);
}

.sm-qr__upi-label {
	font-family: 'Poppins', sans-serif;
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #B9A794;
}

.sm-qr__upi code {
	font-family: 'Poppins', monospace;
	font-size: 14.5px;
	font-weight: 600;
	color: #FFD166;
	background: none;
	padding: 0;
	word-break: break-all;
}

.sm-qr__copy {
	background: none;
	border: 1px solid rgba(255, 209, 102, 0.45);
	color: #FFD166;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.sm-qr__copy:hover { background: rgba(255, 209, 102, 0.12); }

.sm-qr__actions {
	display: grid;
	gap: 10px;
	margin-bottom: 20px;
}

.sm-qr__btn {
	display: block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14.5px;
	padding: 13px 16px;
	border-radius: 999px;
	cursor: pointer;
	border: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sm-qr__btn--ghost {
	background: rgba(255, 255, 255, 0.05);
	border: 1.5px solid rgba(255, 209, 102, 0.35);
	color: #FFD166;
}

.sm-qr__btn--ghost:hover {
	background: rgba(255, 209, 102, 0.12);
	color: #FFD166;
}

.sm-qr__btn--done {
	background: linear-gradient(135deg, #4ADE80, #16A34A);
	color: #06240F;
	font-weight: 700;
	font-size: 15.5px;
	padding: 15px;
}

.sm-qr__btn--done:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32); }
.sm-qr__btn--done:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.sm-qr__divider {
	position: relative;
	text-align: center;
	margin: 4px 0 14px;
}

.sm-qr__divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
}

.sm-qr__divider span {
	position: relative;
	display: inline-block;
	padding: 0 12px;
	background: #1A1210;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	color: #B9A794;
}

.sm-qr__help {
	font-size: 12.5px;
	color: #B9A794;
	margin: 14px 0 0;
}

.sm-qr__help a { color: #FFD166; text-decoration: underline; }

/* =========================================================
   Mobile
   ========================================================= */

/* =========================================================
   Mobile — single column, description always fully open,
   no Read More clamp, no fade overlay.
   ========================================================= */

@media (max-width: 700px) {
	.sm-svc__grid { gap: 20px; }
	.sm-svc__body { padding: 22px 20px; }
	.sm-svc__title { font-size: 21px; }
	.sm-svc__book-btn { width: 100%; }
	.sm-svc__long-desc-wrap { flex-grow: 0; }
	.sm-modal__box { padding: 24px 18px; max-height: 92vh; }
	.sm-form__row--split { grid-template-columns: 1fr; gap: 0; }
	.sm-modal__title { font-size: 21px; }
	.sm-qr__title { font-size: 20px; }
	.sm-qr__img { width: 200px; }
	.sm-qr__note { font-size: 13px; }
}
