/**
 * SGA Puja System — Frontend Styles
 * Indian-oriented design: saffron, gold, deep maroon accents
 */

:root {
	--sga-saffron: #FF6B00;
	--sga-saffron-light: #FF9933;
	--sga-gold: #D4AF37;
	--sga-gold-light: #E8C96A;
	--sga-maroon: #8B0000;
	--sga-maroon-dark: #5C0000;
	--sga-indigo: #1a0a2e;
	--sga-indigo-soft: #2d1b4e;
	--sga-cream: #FFF8F0;
	--sga-cream-dark: #F5E6D3;
	--sga-text: #2C1810;
	--sga-text-muted: #6B5344;
	--sga-border: #E8D5C4;
	--sga-radius: 12px;
	--sga-shadow: 0 4px 24px rgba(26, 10, 46, 0.1);
	--sga-font: 'Noto Sans Telugu', 'Noto Sans Devanagari', 'Noto Sans Tamil', 'Noto Sans Kannada', 'Noto Sans Malayalam', 'Noto Sans Bengali', 'Noto Sans Gujarati', 'Noto Sans Gurmukhi', 'Noto Sans Oriya', 'Noto Sans', 'Poppins', sans-serif;
	--sga-font-serif: 'Noto Serif Telugu', 'Noto Serif', serif;
}

/* ── Action Bar ── */
.sga-puja-action-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 32px;
	padding: 24px 28px;
	background: linear-gradient(135deg, var(--sga-cream) 0%, var(--sga-cream-dark) 100%);
	border: 2px solid var(--sga-gold);
	border-radius: var(--sga-radius);
	box-shadow: var(--sga-shadow);
	position: relative;
	overflow: hidden;
}

.sga-puja-action-bar::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--sga-saffron), var(--sga-gold), var(--sga-saffron));
}

.sga-puja-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--sga-maroon);
	font-family: var(--sga-font-serif);
}

.sga-puja-validity-badge,
.sga-puja-card-validity {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--sga-maroon);
	color: #fff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 500;
}

/* ── Buttons ── */
.sga-puja-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	background: linear-gradient(135deg, var(--sga-saffron) 0%, var(--sga-saffron-light) 100%);
	color: #fff !important;
	border: none;
	border-radius: 50px;
	font-family: var(--sga-font);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.sga-puja-btn:hover,
.sga-puja-btn:focus {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(255, 107, 0, 0.45);
	color: #fff;
	outline: none;
}

.sga-puja-btn:active {
	transform: translateY(0);
}

.sga-puja-btn-sm {
	padding: 10px 20px;
	font-size: 0.875rem;
}

.sga-puja-btn.loading {
	opacity: 0.7;
	pointer-events: none;
}

.sga-btn-icon {
	font-size: 1.2em;
}

/* ── Grid & Cards ── */
.sga-puja-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
	padding: 20px 0;
}

.sga-puja-card {
	background: #fff;
	border-radius: var(--sga-radius);
	overflow: hidden;
	box-shadow: var(--sga-shadow);
	border: 1px solid var(--sga-border);
	transition: transform 0.25s, box-shadow 0.25s;
}

.sga-puja-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(139, 0, 0, 0.18);
}

.sga-puja-card-image {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/10;
}

.sga-puja-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.sga-puja-card:hover .sga-puja-card-image img {
	transform: scale(1.05);
}

.sga-puja-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(92,0,0,0.5) 0%, transparent 60%);
}

.sga-puja-card-body {
	padding: 20px;
}

.sga-puja-card-title {
	font-family: var(--sga-font-serif);
	font-size: 1.15rem;
	margin: 0 0 8px;
	color: var(--sga-maroon-dark);
}

.sga-puja-card-title a {
	color: inherit;
	text-decoration: none;
}

.sga-puja-card-excerpt {
	font-size: 0.875rem;
	color: var(--sga-text-muted);
	margin: 0 0 12px;
	line-height: 1.5;
}

.sga-puja-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--sga-border);
}

.sga-puja-card-price {
	font-weight: 700;
	color: var(--sga-maroon);
	font-size: 1.1rem;
}

/* ── Puja archive cards (visit layout) ── */
.sga-puja-grid--archive {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 32px;
}

.sga-puja-card--archive {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.sga-puja-card--archive .sga-puja-card-banner {
	display: block;
	background: #faf7f4;
	border-bottom: 1px solid var(--sga-border);
	line-height: 0;
}

.sga-puja-card--archive .sga-puja-card-banner-img,
.sga-puja-card--archive .sga-puja-card-banner img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	display: block;
}

.sga-puja-card--archive:hover .sga-puja-card-banner img {
	transform: none;
}

.sga-puja-card--archive .sga-puja-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 24px;
}

.sga-puja-card--archive .sga-puja-card-title {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.sga-puja-card--archive .sga-puja-card-excerpt {
	flex: 1;
	font-size: 0.9375rem;
	margin: 0 0 20px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sga-puja-card-archive-meta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--sga-border);
}

.sga-puja-card--archive .sga-puja-card-price {
	font-size: 1.2rem;
	text-align: center;
}

.sga-puja-card-visit-btn {
	width: 100%;
	justify-content: center;
	text-align: center;
}

/* ── Single & Archive ── */
.sga-puja-single-wrap {
	font-family: var(--sga-font);
	color: var(--sga-text);
}

.sga-puja-title {
	font-family: var(--sga-font-serif);
	font-size: 2rem;
	color: var(--sga-maroon-dark);
	margin-bottom: 16px;
}

.sga-package-badge {
	display: inline-block;
	background: var(--sga-gold);
	color: var(--sga-maroon-dark);
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sga-package-validity-banner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--sga-cream);
	border: 1px solid var(--sga-gold);
	padding: 8px 18px;
	border-radius: 8px;
	font-weight: 500;
	color: var(--sga-maroon);
	margin-bottom: 20px;
}

.sga-puja-archive-wrap {
	font-family: var(--sga-font);
}

.sga-archive-header {
	text-align: center;
	margin-bottom: 40px;
}

.sga-archive-header h1 {
	font-family: var(--sga-font-serif);
	font-size: 2.5rem;
	color: var(--sga-maroon-dark);
	margin-bottom: 12px;
}

.sga-archive-header p {
	color: var(--sga-text-muted);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

/* ── OTP Modal ── */
.sga-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.sga-modal.active {
	opacity: 1;
	visibility: visible;
}

.sga-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(44, 24, 16, 0.65);
	backdrop-filter: blur(4px);
}

.sga-modal-container {
	position: relative;
	background: #fff;
	border-radius: 16px;
	width: 90%;
	max-width: 440px;
	padding: 36px 32px 28px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	border-top: 5px solid var(--sga-saffron);
	transform: translateY(20px);
	transition: transform 0.3s;
}

.sga-modal.active .sga-modal-container {
	transform: translateY(0);
}

.sga-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 1.75rem;
	color: var(--sga-text-muted);
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}

.sga-modal-header {
	text-align: center;
	margin-bottom: 24px;
}

.sga-modal-om {
	font-size: 2.5rem;
	color: var(--sga-saffron);
	margin-bottom: 8px;
	font-family: var(--sga-font-serif);
}

.sga-modal-header h2 {
	font-family: var(--sga-font-serif);
	font-size: 1.35rem;
	color: var(--sga-maroon-dark);
	margin: 0 0 8px;
}

.sga-modal-header p {
	font-size: 0.9rem;
	color: var(--sga-text-muted);
	margin: 0;
}

.sga-modal-body {
	margin-bottom: 8px;
}

/* ── OTP Form ── */
.sga-field-label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--sga-text);
	margin-bottom: 8px;
}

.sga-mobile-input-wrap {
	display: flex;
	align-items: stretch;
	border: 2px solid var(--sga-border);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 16px;
	background: #fff;
	transition: border-color 0.2s;
}

.sga-mobile-input-wrap:focus-within {
	border-color: var(--sga-saffron);
}

.sga-country-code {
	display: flex;
	align-items: center;
	padding: 0 14px;
	background: var(--sga-cream);
	color: var(--sga-maroon);
	font-weight: 600;
	font-size: 0.95rem;
	border-right: 1px solid var(--sga-border);
	white-space: nowrap;
}

.sga-input {
	width: 100%;
	border: none !important;
	padding: 14px 16px !important;
	font-size: 1rem !important;
	font-family: var(--sga-font) !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
}

.sga-otp-input {
	border: 2px solid var(--sga-border) !important;
	border-radius: 10px !important;
	text-align: center;
	font-size: 1.75rem !important;
	letter-spacing: 0.5em;
	font-weight: 600;
	margin-bottom: 16px;
	max-width: 200px;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.sga-otp-input:focus {
	border-color: var(--sga-saffron) !important;
}

.sga-btn-full {
	width: 100%;
	justify-content: center;
	margin-top: 4px;
}

.sga-otp-sent-msg {
	text-align: center;
	font-size: 0.9rem;
	color: var(--sga-text-muted);
	margin: 0 0 16px;
}

.sga-otp-sent-msg strong {
	color: var(--sga-maroon);
}

.sga-otp-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
	gap: 12px;
}

.sga-link-btn {
	background: none;
	border: none;
	color: var(--sga-saffron);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	padding: 4px 0;
	font-family: var(--sga-font);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sga-link-btn:disabled {
	color: var(--sga-text-muted);
	cursor: not-allowed;
	text-decoration: none;
}

.sga-link-btn:hover:not(:disabled) {
	color: var(--sga-maroon);
}

.sga-captcha-container {
	margin-bottom: 12px;
	min-height: 0;
}

.sga-captcha-container:not(:empty) {
	min-height: 78px;
}

.sga-puja-btn.loading {
	opacity: 0.75;
	pointer-events: none;
	position: relative;
}

.sga-puja-btn.loading::after {
	content: '';
	position: absolute;
	right: 16px;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: sga-spin 0.7s linear infinite;
}

@keyframes sga-spin {
	to { transform: rotate(360deg); }
}

.sga-modal-note {
	font-size: 0.75rem;
	color: var(--sga-text-muted);
	text-align: center;
	margin: 16px 0 0;
}

.sga-otp-status {
	text-align: center;
	padding: 12px;
	border-radius: 8px;
	margin-top: 12px;
	font-size: 0.9rem;
}

.sga-otp-status.success {
	background: #e8f5e9;
	color: #2e7d32;
}

.sga-otp-status.error {
	background: #ffebee;
	color: #c62828;
}

.sga-otp-status.loading {
	background: var(--sga-cream);
	color: var(--sga-maroon);
}

/* ── Checkout Fields ── */
body.sga-puja-checkout .woocommerce-shipping-fields,
body.sga-puja-checkout .woocommerce-additional-fields,
body.sga-puja-checkout #order_comments_field,
body.sga-puja-checkout .woocommerce-account-fields {
	display: none !important;
}

body.sga-puja-checkout .woocommerce-billing-fields h3 {
	font-family: var(--sga-font-serif);
	color: var(--sga-maroon-dark);
}

body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
	grid-column: 1 / -1;
}

body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper input.input-text,
body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper select,
body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper textarea {
	border: 1px solid var(--sga-border) !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
}

@media (max-width: 600px) {
	body.sga-puja-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
}

.sga-puja-checkout-fields {
	background: var(--sga-cream);
	border: 2px solid var(--sga-gold);
	border-radius: var(--sga-radius);
	padding: 28px;
	margin-bottom: 28px;
}

.sga-puja-checkout-heading {
	font-family: var(--sga-font-serif);
	color: var(--sga-maroon-dark);
	font-size: 1.4rem;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sga-om {
	color: var(--sga-saffron);
	font-size: 1.5rem;
}

.sga-puja-checkout-subtitle {
	color: var(--sga-text-muted);
	margin: 0 0 20px;
	font-size: 0.95rem;
}

.sga-puja-fields-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 16px;
}

.sga-puja-fields-grid .form-row-wide {
	grid-column: 1 / -1;
}

.sga-puja-fields-grid label {
	font-weight: 500;
	color: var(--sga-text);
}

.sga-puja-fields-grid input,
.sga-puja-fields-grid select,
.sga-puja-fields-grid textarea {
	border: 1px solid var(--sga-border) !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
}

/* ── Puja Detail Page ── */
.sga-puja-detail {
	font-family: var(--sga-font);
	color: var(--sga-text);
	padding-bottom: 32px;
	width: 100%;
	position: relative;
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
		radial-gradient(ellipse 60% 40% at 100% 50%, rgba(45, 27, 78, 0.06) 0%, transparent 50%),
		linear-gradient(180deg, #fdf8f3 0%, #f8efe4 45%, #fdf8f3 100%);
}

.sga-puja-hero {
	display: flex;
	flex-direction: column;
	margin-bottom: 36px;
	background: #fff;
	border: 1px solid rgba(212, 175, 55, 0.45);
	border-radius: var(--sga-radius);
	box-shadow:
		0 8px 32px rgba(26, 10, 46, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	overflow: hidden;
	position: relative;
}

.sga-puja-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--sga-indigo), var(--sga-gold), var(--sga-saffron), var(--sga-gold), var(--sga-indigo));
	z-index: 1;
}

.sga-puja-hero-row {
	width: 100%;
}

.sga-puja-hero-row-banner {
	background: linear-gradient(180deg, var(--sga-indigo-soft) 0%, var(--sga-indigo) 100%);
	border-bottom: 3px solid var(--sga-gold);
}

.sga-puja-hero-media {
	width: 100%;
	display: block;
	line-height: 0;
}

.sga-puja-hero-media img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	vertical-align: middle;
}

.sga-puja-hero-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	background: linear-gradient(160deg, var(--sga-cream) 0%, var(--sga-cream-dark) 100%);
}

.sga-hero-placeholder-om {
	font-size: 4.5rem;
	color: var(--sga-saffron);
	opacity: 0.4;
	font-family: var(--sga-font-serif);
	line-height: 1;
}

.sga-puja-hero-row-details {
	background: linear-gradient(180deg, #fff 0%, rgba(255, 248, 240, 0.85) 100%);
}

.sga-hero-details-inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px 32px 32px;
	max-width: 100%;
}

.sga-hero-head {
	text-align: center;
	padding-bottom: 4px;
}

.sga-hero-stats-bar {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 16px 24px;
	padding: 18px 22px;
	background: linear-gradient(135deg, #fff 0%, var(--sga-cream) 100%);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(26, 10, 46, 0.06);
}

.sga-hero-stat-price {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sga-stat-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--sga-text-muted);
}

.sga-hero-stat-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px;
}

.sga-hero-highlights {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.sga-hero-bottom {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 768px) {
	.sga-hero-bottom:has(.sga-puja-participation):has(.sga-puja-countdown-wrap) {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
	}

	.sga-hero-stats-bar:not(:has(.sga-hero-stat-price)) .sga-hero-stat-meta {
		justify-content: center;
		width: 100%;
	}
}

.sga-puja-detail-title {
	font-family: var(--sga-font-serif);
	font-size: 1.85rem;
	color: var(--sga-indigo);
	margin: 0 0 10px;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.sga-puja-detail-excerpt {
	color: var(--sga-text-muted);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 auto;
	max-width: 720px;
}

.sga-puja-detail-price {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--sga-maroon);
	font-family: var(--sga-font-serif);
	margin: 0;
	line-height: 1.2;
}

.sga-puja-feature-badge,
.sga-puja-temple-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--sga-border);
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	height: 100%;
}

.sga-puja-hero-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
}

.sga-puja-ratings {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--sga-maroon);
}

.sga-star {
	color: var(--sga-gold);
}

.sga-puja-share-btn {
	background: none;
	border: 1px solid var(--sga-border);
	border-radius: 20px;
	padding: 6px 16px;
	cursor: pointer;
	font-family: var(--sga-font);
	font-size: 0.875rem;
	color: var(--sga-text);
}

.sga-puja-share-btn:hover {
	border-color: var(--sga-saffron);
	color: var(--sga-maroon);
}

.sga-puja-participation {
	font-size: 0.875rem;
	color: var(--sga-text-muted);
	line-height: 1.55;
	margin: 0;
	padding: 10px 14px;
	background: var(--sga-cream);
	border-radius: 8px;
	border-left: 3px solid var(--sga-gold);
}

.sga-puja-countdown-wrap {
	background: linear-gradient(135deg, var(--sga-indigo) 0%, var(--sga-indigo-soft) 50%, var(--sga-maroon-dark) 100%);
	color: #fff;
	border-radius: var(--sga-radius);
	padding: 16px 20px;
	margin: 0;
	border: 1px solid rgba(212, 175, 55, 0.35);
	box-shadow: 0 4px 20px rgba(26, 10, 46, 0.2);
}

.sga-countdown-label {
	margin: 0 0 12px;
	font-weight: 600;
	text-align: center;
}

.sga-puja-countdown {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.sga-countdown-unit {
	text-align: center;
	min-width: 56px;
}

.sga-countdown-val {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.sga-countdown-name {
	display: block;
	font-size: 0.7rem;
	opacity: 0.85;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sga-puja-closed-notice {
	background: #ffebee;
	color: #c62828;
	border-radius: 10px;
	padding: 12px 16px;
	margin-top: 16px;
	font-weight: 500;
}

/* ── Puja content blocks (separate sections) ── */
.sga-puja-blocks {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 8px;
}

.sga-puja-block {
	background: #fff;
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: var(--sga-radius);
	box-shadow: 0 6px 28px rgba(26, 10, 46, 0.07);
	padding: 36px 32px 40px;
	position: relative;
	overflow: hidden;
}

.sga-puja-block::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--sga-gold), var(--sga-saffron), var(--sga-gold), transparent);
	opacity: 0.85;
}

.sga-puja-block:nth-child(even) {
	background: linear-gradient(180deg, #fff 0%, rgba(255, 248, 240, 0.65) 100%);
}

.sga-block-header {
	text-align: center;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

.sga-block-title {
	font-family: var(--sga-font-serif);
	font-size: 1.5rem;
	color: var(--sga-indigo);
	margin: 0;
	line-height: 1.35;
	font-weight: 700;
}

.sga-block-body {
	line-height: 1.75;
}

.sga-item-title {
	font-family: var(--sga-font-serif);
	font-size: 1.05rem;
	color: var(--sga-indigo-soft);
	margin: 0 0 8px;
}

/* Benefits grid */
.sga-puja-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 18px;
}

.sga-benefit-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	padding: 22px 20px;
	background: linear-gradient(145deg, #fff 0%, var(--sga-cream) 100%);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(26, 10, 46, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sga-benefit-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(26, 10, 46, 0.1);
	border-color: var(--sga-gold);
}

.sga-benefit-icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	background: linear-gradient(135deg, var(--sga-indigo-soft), var(--sga-indigo));
	border: 2px solid var(--sga-gold);
	border-radius: 50%;
	margin-bottom: 14px;
	box-shadow: 0 4px 12px rgba(26, 10, 46, 0.15);
}

.sga-benefit-card p {
	margin: 0;
	color: var(--sga-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Process timeline */
.sga-puja-process-timeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
	padding-left: 8px;
}

.sga-puja-process-step {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 20px;
	padding-bottom: 28px;
	position: relative;
}

.sga-puja-process-step:not(:last-child)::before {
	content: '';
	position: absolute;
	left: 23px;
	top: 48px;
	bottom: 0;
	width: 2px;
	background: linear-gradient(180deg, var(--sga-gold), var(--sga-border));
}

.sga-process-marker {
	display: flex;
	justify-content: center;
}

.sga-process-marker .sga-step-num {
	width: 48px;
	height: 48px;
	font-size: 1rem;
	background: linear-gradient(135deg, var(--sga-indigo-soft), var(--sga-indigo));
	border: 2px solid var(--sga-gold);
	box-shadow: 0 4px 12px rgba(26, 10, 46, 0.2);
}

.sga-process-card {
	background: linear-gradient(145deg, #fff 0%, var(--sga-cream) 100%);
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 12px;
	padding: 20px 22px;
	box-shadow: 0 4px 16px rgba(26, 10, 46, 0.05);
}

.sga-process-card p {
	margin: 0;
	color: var(--sga-text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Receive list */
.sga-puja-receive-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sga-puja-receive-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	background: linear-gradient(145deg, #fff 0%, var(--sga-cream) 100%);
	border: 1px solid rgba(212, 175, 55, 0.25);
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.sga-check-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--sga-indigo-soft), var(--sga-indigo));
	color: var(--sga-gold-light);
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
}

.sga-temple-content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--sga-text);
}

.sga-puja-content-block {
	line-height: 1.7;
}

.sga-puja-content-block p {
	margin-bottom: 1em;
}

.sga-puja-icon-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sga-puja-icon-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.sga-icon-circle {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid var(--sga-gold);
	border-radius: 50%;
	font-size: 1.4rem;
}

.sga-puja-icon-item h4 {
	margin: 0 0 6px;
	color: var(--sga-maroon-dark);
	font-family: var(--sga-font-serif);
}

.sga-puja-icon-item p {
	margin: 0;
	color: var(--sga-text-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.sga-step-num {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	background: var(--sga-saffron);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.85rem;
}

.sga-puja-checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sga-puja-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sga-border);
	font-size: 1rem;
}

.sga-check {
	color: var(--sga-saffron);
	font-weight: 700;
	font-size: 1.1rem;
}

.sga-puja-faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sga-puja-faq {
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.sga-puja-faq summary {
	padding: 14px 18px;
	cursor: pointer;
	font-weight: 600;
	color: var(--sga-indigo);
	background: linear-gradient(180deg, var(--sga-cream) 0%, #fff 100%);
	list-style: none;
}

.sga-puja-faq summary::-webkit-details-marker {
	display: none;
}

.sga-faq-answer {
	padding: 14px 18px;
	color: var(--sga-text-muted);
	line-height: 1.6;
}

.sga-puja-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 14px;
}

.sga-gallery-item {
	display: block;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid rgba(212, 175, 55, 0.4);
	box-shadow: 0 4px 16px rgba(26, 10, 46, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.sga-gallery-item:hover {
	transform: scale(1.02);
	border-color: var(--sga-gold);
}

.sga-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sga-puja-block-trust .sga-puja-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	margin: 0;
}

.sga-puja-stat-card {
	background: linear-gradient(135deg, var(--sga-indigo) 0%, var(--sga-indigo-soft) 100%);
	border: 2px solid var(--sga-gold);
	border-radius: var(--sga-radius);
	padding: 24px 20px;
	text-align: center;
	font-weight: 600;
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: 0 6px 24px rgba(26, 10, 46, 0.15);
}

.sga-puja-closed-label {
	font-size: 0.85rem;
	color: #c62828;
	font-weight: 600;
}

.sga-puja-fixed-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	background: linear-gradient(180deg, #fff 0%, var(--sga-cream) 100%);
	border-top: 2px solid var(--sga-gold);
	box-shadow: 0 -6px 32px rgba(26, 10, 46, 0.12);
	padding: 12px 16px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
}

.sga-fixed-bar-admin-hint {
	max-width: 960px;
	margin: 8px auto 0;
	padding: 0;
	font-size: 0.75rem;
	color: #c62828;
	text-align: center;
	line-height: 1.4;
}

.sga-puja-btn-unlinked {
	opacity: 0.85;
}

.sga-puja-fixed-bar-inner {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
}

.sga-fixed-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--sga-maroon);
	font-family: var(--sga-font-serif);
	flex-shrink: 0;
}

.sga-puja-fixed-btn {
	flex: 1;
	justify-content: center;
	padding: 16px 24px;
	font-size: 1rem;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--sga-indigo) 0%, var(--sga-maroon-dark) 100%);
	box-shadow: 0 4px 16px rgba(26, 10, 46, 0.35);
	border: 1px solid rgba(212, 175, 55, 0.4);
}

.sga-puja-fixed-btn:hover {
	background: linear-gradient(135deg, var(--sga-indigo-soft) 0%, var(--sga-maroon) 100%);
	box-shadow: 0 6px 24px rgba(26, 10, 46, 0.45);
}

body.sga-has-fixed-bar {
	padding-bottom: 80px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
	.sga-puja-fields-grid {
		grid-template-columns: 1fr;
	}

	.sga-puja-action-bar {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.sga-puja-btn {
		justify-content: center;
	}

	.sga-archive-header h1 {
		font-size: 1.75rem;
	}

	.sga-hero-details-inner {
		padding: 22px 18px 26px;
	}

	.sga-hero-stats-bar {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.sga-hero-stat-meta {
		justify-content: center;
	}

	.sga-hero-highlights {
		grid-template-columns: 1fr;
	}

	.sga-puja-hero-placeholder {
		min-height: 200px;
	}

	.sga-puja-detail-title {
		font-size: 1.45rem;
	}

	.sga-puja-block {
		padding: 28px 18px 32px;
	}

	.sga-block-title {
		font-size: 1.25rem;
	}

	.sga-puja-block-trust .sga-puja-stats {
		grid-template-columns: 1fr;
	}

	.sga-puja-fixed-bar-inner {
		flex-direction: column;
		gap: 8px;
	}

	.sga-fixed-price {
		font-size: 1.1rem;
	}

	.sga-puja-fixed-btn {
		width: 100%;
	}

	.sga-puja-benefits-grid {
		grid-template-columns: 1fr;
	}

	.sga-puja-receive-list {
		grid-template-columns: 1fr;
	}
}

/* ── Site Header & Mobile Bottom Nav ── */
.sga-site-header {
	position: sticky;
	top: 0;
	z-index: 99980;
	width: 100%;
}

.sga-site-header-bar {
	background: linear-gradient(180deg, #fff 0%, var(--sga-cream) 100%);
	border-bottom: 2px solid rgba(212, 175, 55, 0.45);
	box-shadow: 0 4px 20px rgba(26, 10, 46, 0.08);
}

.sga-site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 10px 20px;
	width: 100%;
	box-sizing: border-box;
}

.sga-site-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	flex-shrink: 0;
	max-width: 55%;
}

.sga-site-brand:hover {
	text-decoration: none;
}

.sga-site-logo-img {
	display: block;
	max-height: 48px;
	width: auto;
	max-width: 200px;
	height: auto;
	object-fit: contain;
}

.sga-site-title {
	font-family: var(--sga-font-serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--sga-indigo);
	line-height: 1.3;
}

.sga-site-nav-desktop .sga-site-nav-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sga-site-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
	color: var(--sga-text);
	font-size: 0.9rem;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease;
}

.sga-site-nav-link:hover {
	background: rgba(212, 175, 55, 0.15);
	color: var(--sga-indigo);
	text-decoration: none;
}

.sga-site-nav-link.is-active {
	background: linear-gradient(135deg, var(--sga-indigo-soft), var(--sga-indigo));
	color: #fff;
	box-shadow: 0 4px 12px rgba(26, 10, 46, 0.2);
}

.sga-site-nav-link.is-active .sga-nav-icon svg {
	stroke: var(--sga-gold-light);
}

.sga-nav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.sga-site-nav-desktop {
	margin-left: 0;
}

.sga-site-header-end {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	flex-shrink: 0;
}

.sga-site-header-lang {
	flex-shrink: 0;
}

/* ── Polylang Language Switcher ── */
.sga-lang-switcher {
	position: relative;
	display: inline-block;
}

.sga-lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid rgba(212, 175, 55, 0.55);
	border-radius: 999px;
	background: #fff;
	color: var(--sga-indigo);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sga-lang-toggle:hover,
.sga-lang-switcher.is-open .sga-lang-toggle {
	background: rgba(212, 175, 55, 0.12);
	border-color: var(--sga-gold);
	box-shadow: 0 2px 8px rgba(26, 10, 46, 0.08);
}

.sga-lang-icon {
	font-size: 1rem;
	line-height: 1;
}

.sga-lang-current {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sga-lang-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 160px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(212, 175, 55, 0.45);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(26, 10, 46, 0.14);
	z-index: 99990;
}

.sga-lang-switcher.is-open .sga-lang-dropdown {
	display: block;
}

.sga-lang-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--sga-text);
	font-size: 0.88rem;
	font-weight: 500;
	transition: background 0.15s ease, color 0.15s ease;
}

.sga-lang-option:hover {
	background: rgba(212, 175, 55, 0.14);
	color: var(--sga-indigo);
	text-decoration: none;
}

.sga-lang-option.active {
	background: linear-gradient(135deg, var(--sga-indigo-soft), var(--sga-indigo));
	color: #fff;
	font-weight: 600;
}

.sga-mobile-bottom-nav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99985;
	background: linear-gradient(180deg, #fff 0%, var(--sga-cream) 100%);
	border-top: 2px solid var(--sga-gold);
	box-shadow: 0 -4px 24px rgba(26, 10, 46, 0.12);
	padding-bottom: env(safe-area-inset-bottom);
}

.sga-mobile-nav-list {
	display: flex;
	align-items: stretch;
	justify-content: space-around;
	list-style: none;
	margin: 0;
	padding: 6px 4px;
	gap: 2px;
}

.sga-mobile-nav-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 6px 8px;
	min-width: 0;
	flex: 1;
	text-decoration: none;
	color: var(--sga-text-muted);
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	border-radius: 10px;
	transition: color 0.2s ease, background 0.2s ease;
}

.sga-mobile-nav-link:hover {
	color: var(--sga-indigo);
	text-decoration: none;
	background: rgba(212, 175, 55, 0.1);
}

.sga-mobile-nav-link.is-active {
	color: var(--sga-indigo);
	background: rgba(212, 175, 55, 0.18);
}

.sga-mobile-nav-link .sga-nav-icon svg {
	width: 22px;
	height: 22px;
}

.sga-mobile-nav-link .sga-nav-label {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.sga-has-mobile-nav {
	padding-bottom: 72px;
}

body.sga-has-fixed-bar.sga-has-mobile-nav {
	padding-bottom: 148px;
}

body.sga-has-fixed-bar.sga-has-mobile-nav .sga-puja-fixed-bar {
	bottom: 64px;
}

@media (max-width: 767px) {
	.sga-site-nav-desktop {
		display: none;
	}

	.sga-mobile-bottom-nav {
		display: block;
	}

	.sga-site-header-inner {
		min-height: 56px;
		padding: 8px 14px;
	}

	.sga-site-brand {
		max-width: 70%;
	}

	.sga-site-title {
		font-size: 1rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.sga-site-logo-img {
		max-height: 40px;
		max-width: 160px;
	}
}

@media (min-width: 768px) {
	.sga-mobile-bottom-nav {
		display: none !important;
	}

	body.sga-has-mobile-nav {
		padding-bottom: 0;
	}

	body.sga-has-fixed-bar.sga-has-mobile-nav {
		padding-bottom: 80px;
	}

	body.sga-has-fixed-bar.sga-has-mobile-nav .sga-puja-fixed-bar {
		bottom: 0;
	}
}

/* ── Site notices (logout / login success) ── */
.sga-site-notice {
	position: relative;
	z-index: 99990;
	background: linear-gradient(135deg, #2e7d32, #1b5e20);
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sga-site-notice-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
}

.sga-site-notice-inner p {
	margin: 0;
	font-weight: 600;
	font-size: 0.95rem;
}

.sga-site-notice-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

/* ── My Account page ── */
body.sga-myaccount-page.woocommerce-account .woocommerce,
body.sga-myaccount-page.woocommerce-account .entry-content > .woocommerce {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both;
}

body.sga-myaccount-page .woocommerce-MyAccount-navigation {
	display: none !important;
	float: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.sga-myaccount-page .woocommerce-MyAccount-content,
body.sga-myaccount-page .sga-myaccount-content-full {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	clear: both !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.sga-myaccount-page .entry-content,
body.sga-myaccount-page .site-content .ast-container,
body.sga-myaccount-page #primary,
body.sga-myaccount-page .content-area {
	max-width: 100%;
}

body.sga-myaccount-page.logged-in .entry-header,
body.sga-myaccount-page.logged-in .woocommerce > .woocommerce-notices-wrapper + h2 {
	display: none;
}

.sga-myaccount-card {
	background: #fff;
	border: 1px solid var(--sga-border, #e8d5c4);
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(26, 10, 46, 0.06);
}

.sga-myaccount-card-login {
	max-width: 440px;
	margin: 0 auto 2rem;
	padding: 2rem 1.75rem 1.5rem;
}

.sga-myaccount-card-header,
.sga-myaccount-card-body {
	text-align: center;
}

.sga-myaccount-card-header h2 {
	font-family: var(--sga-font-serif);
	color: var(--sga-indigo);
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.sga-myaccount-card-header p,
.sga-myaccount-note {
	color: var(--sga-text-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.sga-myaccount-om {
	display: block;
	font-size: 2.2rem;
	color: var(--sga-saffron);
	margin-bottom: 8px;
}

.sga-myaccount-note {
	margin: 20px 0 0;
	font-size: 0.82rem;
}

/* Logged-in dashboard */
.sga-myaccount-dashboard {
	width: 100%;
	margin: 0 0 2.5rem;
}

.sga-myaccount-page-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid rgba(212, 175, 55, 0.45);
}

.sga-myaccount-name {
	margin: 0;
	font-family: var(--sga-font-serif);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--sga-indigo);
	line-height: 1.25;
}

.sga-myaccount-logout-btn {
	flex-shrink: 0;
	padding: 0.55rem 1.25rem !important;
	font-size: 0.9rem !important;
}

.sga-myaccount-section {
	margin-bottom: 2.5rem;
}

.sga-myaccount-section-title {
	margin: 0 0 1rem;
	font-family: var(--sga-font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--sga-maroon-dark);
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.sga-myaccount-empty {
	padding: 2rem 1.5rem;
	text-align: center;
	background: var(--sga-cream);
	border: 1px dashed rgba(212, 175, 55, 0.45);
	border-radius: 8px;
}

.sga-myaccount-empty p {
	margin: 0 0 1rem;
	color: var(--sga-text-muted);
}

.sga-myaccount-table-wrap {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--sga-border, #e8d5c4);
	border-radius: 8px;
	background: #fff;
}

.sga-myaccount-table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	line-height: 1.45;
	table-layout: auto;
}

.sga-myaccount-table th,
.sga-myaccount-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid #f0e6dc;
}

.sga-myaccount-table thead th {
	background: #faf6f1;
	font-weight: 600;
	color: var(--sga-indigo);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.sga-myaccount-table tbody tr:last-child td,
.sga-myaccount-table tbody tr:last-child th {
	border-bottom: none;
}

.sga-myaccount-table tbody tr:hover td {
	background: #fffaf5;
}

.sga-myaccount-table-bookings td {
	min-width: 90px;
}

.sga-myaccount-table-bookings td:nth-child(3) {
	min-width: 140px;
}

.sga-myaccount-table-details {
	width: 100%;
	max-width: 100%;
	border: 1px solid var(--sga-border, #e8d5c4);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	table-layout: fixed;
}

.sga-myaccount-table-details th {
	width: 28%;
	max-width: 240px;
	background: #faf6f1;
	font-weight: 600;
	color: var(--sga-text-muted);
	white-space: nowrap;
}

.sga-myaccount-table-details td {
	width: 72%;
	color: var(--sga-text);
	word-break: break-word;
	white-space: pre-wrap;
}

.sga-puja-type {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 2px 8px;
	border-radius: 4px;
}

.sga-puja-type-puja {
	background: #fff3e0;
	color: #e65100;
}

.sga-puja-type-package {
	background: #e8eaf6;
	color: #3949ab;
}

.sga-status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	background: #f5f5f5;
	color: #555;
	white-space: nowrap;
}

.sga-status-completed,
.sga-status-processing {
	background: #e8f5e9;
	color: #2e7d32;
}

.sga-status-pending,
.sga-status-on-hold {
	background: #fff8e1;
	color: #f57f17;
}

@media (max-width: 782px) {
	.sga-myaccount-page-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.sga-myaccount-logout-btn {
		width: 100%;
	}

	.sga-myaccount-table-details th,
	.sga-myaccount-table-details td {
		display: block;
		width: 100%;
		max-width: none;
	}

	.sga-myaccount-table-details th {
		border-bottom: none;
		padding-bottom: 0.35rem;
	}

	.sga-myaccount-table-details td {
		padding-top: 0.35rem;
		padding-bottom: 1rem;
	}
}
