:root {
    --sm-navy: #1e487e;
    --sm-navy-deep: #163a66;
    --sm-orange: #ff6e43;
    --sm-orange-deep: #e65c00;
    --sm-bg: #f0f4f9;
    --sm-card: #ffffff;
    --sm-ink: #1e487e;
    --sm-text: #1a1a1a;
    --sm-muted: #3d3d3d;
    --sm-line: #d5e0ec;
    --sm-soft: #edf3fb;
    --sm-radius: 10px;
    --sm-icon: #1e487e;
}

.sm-page {
    background: var(--sm-bg);
    color: var(--sm-text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

.sm-page * { box-sizing: border-box; }

/* Ensure Font Awesome icons render (site CSS can break them) */
.sm-page .fa-solid,
.sm-page .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block;
    line-height: 1;
}
.sm-page .fa-regular,
.sm-page .far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block;
    line-height: 1;
}
.sm-page .fab,
.sm-page .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block;
    line-height: 1;
}

/* Match site jumbotron — no extra custom hero clash */
.sm-page .jumbotron {
    margin-bottom: 0 !important;
}

.sm-page .jumbotron-overlay h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
}

/* Exclusive puja notice — one row aligned with info columns below */
.sm-info-inner.sm-exclusive-notice {
    background: #fff5f5;
    border-top: 3px solid #c0392b;
    border-bottom: 1px dashed rgba(185, 28, 28, 0.35);
    padding-top: 8px;
    padding-bottom: 8px;
}

.sm-exclusive-notice-line {
    margin: 0;
    padding: 4px 14px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    color: #b91c1c;
    text-align: center;
    border-right: 1px solid var(--sm-line);
}

.sm-exclusive-notice-line:last-child {
    border-right: none;
}

/* Info strip */
.sm-info-strip {
    background: var(--sm-card);
    border-bottom: 3px solid var(--sm-orange);
    box-shadow: 0 4px 14px rgba(30, 72, 126, 0.08);
}

.sm-info-inner {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0 20px;
}

.sm-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-right: 1px solid var(--sm-line);
}

.sm-info-item:last-child { border-right: none; }

.sm-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff4ef 0%, #edf3fb 100%);
    color: var(--sm-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 2px solid #ffd0c0;
    box-shadow: 0 2px 8px rgba(30, 72, 126, 0.08);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sm-info-item:hover .sm-info-icon {
    background: var(--sm-navy);
    color: #fff;
    border-color: var(--sm-orange);
    transform: translateY(-1px);
}

.sm-info-item:hover .sm-rupee-icon {
    background: var(--sm-navy);
    color: #fff;
    border-color: var(--sm-orange);
    transform: translateY(-1px);
}

.sm-info-item small {
    display: block;
    font-size: 11px;
    color: var(--sm-navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sm-info-item strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 2px;
}

/* Full-width content — use screen width, no empty side gutters */
.sm-wrap {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 14px 20px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 18px;
    align-items: start;
}

.sm-main,
.sm-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sm-card {
    background: var(--sm-card);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius);
    box-shadow: 0 4px 14px rgba(30, 72, 126, 0.05);
    padding: 12px 14px 14px;
}

.sm-card h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--sm-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--sm-soft);
    padding-bottom: 8px;
}

.sm-step {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sm-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sm-notice {
    background: #fff4ef;
    border: 1px solid #ffd0c0;
    color: #9a3d1f;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.sm-notice i { color: var(--sm-orange); margin-top: 1px; font-size: 15px; }

/* Calendar + slots — wide & short */
.sm-pick-row {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 12px;
    align-items: stretch;
}

.sm-calendars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sm-cal {
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    padding: 6px 6px 4px;
    background: linear-gradient(180deg, #fff 0%, #e8f0fa 100%);
    box-shadow: inset 0 1px 0 #fff;
}

.sm-cal-head {
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    margin-bottom: 4px;
    padding: 6px 4px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    letter-spacing: 0.02em;
}

.sm-cal-week,
.sm-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.sm-cal-week span {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #222;
    padding: 2px 0;
}

.sm-day {
    aspect-ratio: 1;
    max-height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: #a0a0a0;
    cursor: default;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sm-day.is-available {
    color: var(--sm-navy);
    background: #fff;
    cursor: pointer;
    border: 1px solid #c8d6e6;
}

.sm-day.is-available:hover {
    background: #fff4ef;
    color: var(--sm-orange-deep);
    border-color: var(--sm-orange);
    transform: scale(1.08);
    box-shadow: 0 2px 8px rgba(255, 110, 67, 0.25);
}

.sm-day.is-selected {
    background: var(--sm-orange) !important;
    color: #fff !important;
    border-color: var(--sm-orange) !important;
    box-shadow: 0 2px 8px rgba(255, 110, 67, 0.4);
}

.sm-day.is-muted { visibility: hidden; }

.sm-slots {
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    padding: 0;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 #fff;
}

.sm-slots h3 {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    padding: 8px 10px;
    background: linear-gradient(135deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    letter-spacing: 0.02em;
}

.sm-hint {
    font-size: 11px;
    color: #222;
    margin: 0;
    padding: 6px 8px;
    background: var(--sm-soft);
    border-bottom: 1px dashed var(--sm-line);
}

.sm-hint.is-ask {
    background: #fff4ef;
    color: #9a3d1f;
    font-weight: 600;
    border-bottom-color: #ffd0c0;
}

.sm-slots.is-asking {
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 2px rgba(255, 110, 67, 0.25);
    animation: sm-slot-pulse 1.2s ease-in-out 2;
}

@keyframes sm-slot-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(255, 110, 67, 0.25); }
    50% { box-shadow: 0 0 0 4px rgba(255, 110, 67, 0.4); }
}

.sm-day.is-pending {
    outline: 2px dashed var(--sm-orange);
    outline-offset: 1px;
    background: #fff4ef !important;
    color: var(--sm-navy) !important;
}

#sm-slot-list.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

#sm-slot-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 8px;
    overflow: visible;
}

.sm-slot {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: var(--sm-navy);
    user-select: none;
    border: 1px solid var(--sm-line);
    background: #fff;
    line-height: 1.15;
    margin: 0;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sm-slot:hover {
    background: #fff4ef;
    color: var(--sm-navy);
    border-color: var(--sm-orange);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 110, 67, 0.18);
}

.sm-slot.is-active {
    background: linear-gradient(135deg, #ff7a52 0%, #e65c00 100%);
    color: #fff;
    font-weight: 700;
    border-color: var(--sm-orange);
    box-shadow: 0 3px 10px rgba(255, 110, 67, 0.35);
}

.sm-slot.is-active input {
    border-color: #fff;
    background: #fff;
}

.sm-slot.is-active input:checked::after {
    background: var(--sm-orange);
}

.sm-slot input {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid #9eb0c4;
    border-radius: 50%;
    margin: 0;
    flex-shrink: 0;
    background: #fff;
    position: relative;
    cursor: pointer;
}

.sm-slot input:checked {
    border-color: var(--sm-orange);
    background: var(--sm-orange);
}

.sm-slot input:checked::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sm-selected-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}

.sm-selected-head h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

.sm-clear-btn {
    border: 1px solid #ffd0c0;
    background: #fff4ef;
    color: var(--sm-orange-deep);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sm-clear-btn:hover {
    background: var(--sm-navy);
    border-color: var(--sm-navy);
    color: #fff;
    transform: translateY(-1px);
}

.sm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 88px;
    overflow-y: auto;
}

.sm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff4ef;
    border: 1px solid #ffd0c0;
    border-radius: 999px;
    padding: 5px 6px 5px 10px;
    font-size: 11px;
    color: var(--sm-navy);
}

.sm-chip strong { font-weight: 700; color: var(--sm-navy); }
.sm-chip span { color: #555; }

.sm-chip-x {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: var(--sm-orange);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.sm-chip-x:hover {
    background: var(--sm-navy);
    transform: scale(1.08);
}

.sm-empty-chips {
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

/* Form — 3–4 columns, less height */
.sm-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 10px;
}

.sm-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--sm-navy);
    margin-bottom: 3px;
    line-height: 1.25;
}

.sm-field label .req { color: #c0392b; }
.sm-field .hint {
    display: block;
    font-size: 10px;
    color: #555;
    font-weight: 500;
    margin: -1px 0 3px;
    line-height: 1.2;
}

.sm-input-icon {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.sm-input-icon > i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sm-navy);
    font-size: 13px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

.sm-input-icon input,
.sm-input-icon select {
    padding-left: 32px !important;
}

.sm-field input,
.sm-field select {
    width: 100%;
    height: 36px;
    border: 1px solid #c5d4e4;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
    font-family: inherit;
}

.sm-field input:hover,
.sm-field select:hover {
    border-color: var(--sm-navy);
}

.sm-field input:focus,
.sm-field select:focus {
    outline: none;
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 2px rgba(255, 110, 67, 0.16);
}

.sm-field-error {
    display: none;
    margin-top: 3px;
    color: #c0392b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
    min-height: 0;
}

.sm-field.is-invalid .sm-field-error {
    display: block;
}

.sm-field.is-invalid input,
.sm-field.is-invalid select {
    border-color: #c0392b !important;
    border-bottom-width: 2px !important;
    border-bottom-color: #c0392b !important;
    box-shadow: none !important;
    background: #fff8f7;
}

.sm-field.is-invalid .sm-phone-wrap .cc,
.sm-field.is-invalid .sm-phone-wrap input {
    border-color: #c0392b !important;
    border-bottom-width: 2px !important;
}

.sm-field.is-invalid .sm-input-icon > i {
    color: #c0392b;
}

.sm-confirm.is-invalid {
    color: #c0392b;
}

.sm-confirm-error,
.sm-captcha-wrap.is-invalid #captcha_error {
    display: block;
    margin-top: 4px;
    color: #c0392b;
    font-size: 11px;
    font-weight: 600;
}

.sm-captcha-wrap.is-invalid .g-recaptcha {
    outline: 2px solid #c0392b;
    outline-offset: 4px;
    border-radius: 4px;
}

.sm-field.span-2 { grid-column: span 2; }
.sm-field.span-3 { grid-column: span 3; }
.sm-field.full { grid-column: 1 / -1; }

/* Country | State | City | District | Pincode — one horizontal row */
.sm-loc-row {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 14px;
    width: 100%;
    min-width: 0;
}

.sm-loc-row > .sm-field {
    min-width: 0;
    width: 100%;
}

/* Select2 searchable dropdowns fit inside icon inputs */
.sm-input-icon .select2-container {
    width: 100% !important;
    flex: 1;
    min-width: 0;
}

.sm-input-icon .select2-container .select2-selection--single {
    height: 36px;
    border: 1px solid #c5d4e4;
    border-radius: 5px;
    background: #fff;
}

.sm-input-icon .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
    padding-left: 32px !important; /* room for left icon — same as input */
    padding-right: 28px;
    color: #2f3e50;
    font-size: 13px;
}

.sm-input-icon .select2-container--default .select2-selection--single .select2-selection__placeholder {
    padding-left: 0;
    color: #8a97a8;
}

.sm-input-icon .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 4px;
}

.sm-input-icon .select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}

.sm-input-icon .select2-container--default.select2-container--focus .select2-selection--single,
.sm-input-icon .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 2px rgba(255, 110, 67, .15);
}

/* Keep icon above select2 UI */
.sm-input-icon > i {
    z-index: 2;
    pointer-events: none;
}

.sm-field.is-invalid .select2-container--default .select2-selection--single {
    border-color: #c0392b !important;
    border-bottom-width: 2px !important;
    background: #fff8f7 !important;
}

.sm-page .select2-dropdown {
    border-color: #c5d4e4;
    font-size: 13px;
}

.sm-page .select2-results__option--highlighted[aria-selected] {
    background: var(--sm-orange);
}

#sm-devotee-form.is-otp-locked .select2-container {
    pointer-events: none;
    opacity: 0.65;
}

.sm-phone-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
}

.sm-phone-wrap .cc {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    background: var(--sm-soft);
    border: 1px solid #c5d4e4;
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: var(--sm-navy);
    font-weight: 700;
    font-size: 12px;
}

.sm-phone-wrap input {
    border-radius: 0 5px 5px 0 !important;
}

/* Locked form until OTP verified (bilva hideallfield pattern) */
#sm-devotee-form.is-otp-locked input:disabled,
#sm-devotee-form.is-otp-locked select:disabled,
#sm-devotee-form.is-otp-locked textarea:disabled,
#sm-devotee-form.is-otp-locked button:disabled:not(.sm-pay-btn):not(.sm-otp-verify-btn):not(.sm-otp-confirm-btn):not(.sm-otp-resend) {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f6fa !important;
}

/* Pay button: disabled but still clearly visible (muted orange, not white) */
.sm-pay-btn:disabled,
#sm-pay-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    background: linear-gradient(135deg, #ffb08f 0%, #f08a55 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;
}

.sm-pay-btn:disabled i,
#sm-pay-btn:disabled i {
    color: #fff !important;
}

.sm-pay-btn:disabled:hover,
#sm-pay-btn:disabled:hover {
    background: linear-gradient(135deg, #ffb08f 0%, #f08a55 100%) !important;
    transform: none !important;
    box-shadow: none !important;
}

#sm-devotee-form.is-otp-locked .sm-gateway label {
    opacity: 0.55;
    pointer-events: none;
}

#sm-devotee-form.is-otp-locked .sm-confirm {
    opacity: 0.55;
    pointer-events: none;
}

/* ---- Mobile OTP verification ---- */
.sm-otp-verify-btn {
    flex: 0 0 auto;
    margin-left: 6px;
    padding: 0 12px;
    border: none;
    border-radius: 5px;
    background: var(--sm-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.sm-otp-verify-btn:hover { background: var(--sm-orange-deep); }

.sm-otp-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    color: #1e8e3e;
    font-size: 11px;
    font-weight: 700;
}

.sm-otp-verified-badge i { font-size: 12px; }

.sm-phone-wrap input.is-verified {
    border-color: #1e8e3e !important;
    background: #f2faf4;
}

.sm-otp-box {
    margin-top: 8px;
    padding: 10px;
    border: 1px dashed #c5d4e4;
    border-radius: 6px;
    background: var(--sm-soft);
}

.sm-otp-row {
    display: flex;
    gap: 6px;
}

.sm-otp-row input {
    flex: 1;
    letter-spacing: 4px;
    font-weight: 700;
    text-align: center;
}

.sm-otp-confirm-btn {
    flex: 0 0 auto;
    padding: 0 14px;
    border: none;
    border-radius: 5px;
    background: var(--sm-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.sm-otp-confirm-btn:hover { background: var(--sm-navy-deep); }

.sm-otp-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 6px 10px;
    margin-top: 6px;
    font-size: 11px;
    color: var(--sm-muted);
}

.sm-otp-timer {
    color: var(--sm-navy);
    font-weight: 600;
}

.sm-otp-timer.is-expiring {
    color: #c0392b;
}

.sm-otp-timer strong {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

.sm-otp-resend {
    border: none;
    background: none;
    padding: 0;
    margin-left: auto;
    color: var(--sm-navy);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.sm-otp-resend:disabled {
    color: #9aa8b8;
    cursor: not-allowed;
    text-decoration: none;
}

/* Verify OTP: disabled but clearly visible (muted orange, never white) */
.sm-otp-verify-btn:disabled,
#sm-otp-send-btn:disabled,
#sm-devotee-form.is-otp-locked .sm-otp-verify-btn:disabled,
#sm-devotee-form.is-otp-locked #sm-otp-send-btn:disabled {
    opacity: 1 !important;
    cursor: not-allowed;
    filter: none;
    pointer-events: none;
    background: linear-gradient(135deg, #ffb08f 0%, #f08a55 100%) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.sm-otp-verify-btn:disabled:hover,
#sm-otp-send-btn:disabled:hover {
    background: linear-gradient(135deg, #ffb08f 0%, #f08a55 100%) !important;
    color: #fff !important;
}

.sm-otp-confirm-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    filter: none;
    background: #8aa0b8 !important;
    color: #fff !important;
}

.sm-date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.sm-date-control.sm-row-date {
    cursor: pointer;
    caret-color: transparent;
    padding-right: 40px;
    width: 100%;
}

/* Keep native indicator clickable but subtle; custom icon is the main cue */
.sm-date-control.sm-row-date::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.sm-date-cal-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--sm-navy, #1e487e);
    font-size: 15px;
    cursor: pointer;
    pointer-events: auto;
}

.sm-date-cal-btn:hover {
    color: var(--sm-orange, #ff6e43);
    background: rgba(255, 110, 67, 0.08);
}

.sm-date-cell.is-invalid .sm-date-cal-btn {
    color: #c0392b;
}

.sm-otp-box.is-otp-error input {
    border-color: #c0392b !important;
    background: #fff8f7;
}

.sm-otp-box.is-otp-error .sm-field-error {
    display: block;
}

.sm-gateway {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sm-gateway label {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1.5px solid var(--sm-line);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    background: #fff;
    margin: 0;
    font-weight: 500;
    color: var(--sm-text);
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* Hide native radio — custom check only (fixes overlap with bank icon) */
.sm-gateway input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.sm-gw-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #9eb0c4;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.sm-gw-check::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sm-gw-ico {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--sm-soft);
    color: var(--sm-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid var(--sm-line);
}

.sm-gateway label:hover {
    border-color: var(--sm-orange);
    background: #fffaf7;
}

.sm-gateway label:has(input:checked),
.sm-gateway label.is-on {
    border-color: var(--sm-orange);
    background: #fff4ef;
    box-shadow: 0 2px 8px rgba(255, 110, 67, 0.15);
}

.sm-gateway label:has(input:checked) .sm-gw-check,
.sm-gateway label.is-on .sm-gw-check {
    border-color: var(--sm-orange);
    background: var(--sm-orange);
}

.sm-gateway label:has(input:checked) .sm-gw-check::after,
.sm-gateway label.is-on .sm-gw-check::after {
    background: #fff;
}

.sm-gateway label:has(input:checked) .sm-gw-ico,
.sm-gateway label.is-on .sm-gw-ico {
    background: var(--sm-navy);
    color: #fff;
    border-color: var(--sm-navy);
}

.sm-gateway strong { display: block; color: var(--sm-navy); font-size: 13px; line-height: 1.2; }
.sm-gateway small { color: #666; font-size: 11px; line-height: 1.2; }

.sm-checkout-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--sm-navy);
    margin: 0 0 6px;
}

.sm-checkout-label .req { color: #c0392b; }

/* Compact checkout: gateway + captcha + pay in one short block */
.sm-checkout-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.1fr;
    gap: 14px 20px;
    align-items: stretch;
    margin-top: 12px;
}

.sm-checkout-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #edf3fb 0%, #fff 100%);
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    padding: 12px;
}

.sm-verify-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    margin: 0;
    background: #f8fafc;
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    padding: 10px 12px;
}

.sm-verify-row .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
    min-height: 72px;
}

.sm-confirm {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--sm-navy);
    margin: 0;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.35;
}

.sm-confirm input {
    margin-top: 2px;
    accent-color: var(--sm-orange);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.sm-pay-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a52 0%, #e65c00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    padding: 12px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(230, 92, 0, 0.35);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sm-pay-btn i {
    color: #fff;
    font-size: 14px;
}

.sm-pay-btn:hover {
    background: linear-gradient(135deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    box-shadow: 0 6px 18px rgba(30, 72, 126, 0.35);
    transform: translateY(-1px);
}

.sm-pay-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(30, 72, 126, 0.25);
}

.sm-secure-note {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #444;
    font-weight: 600;
}

.sm-secure-note i { color: var(--sm-navy); margin-right: 4px; }

/* Sidebar sticky — DO NOT use class "sticky" (site .sticky = fixed header, z-index 99) */
.sm-side .sm-card.sm-sticky {
    position: sticky;
    top: 120px;
    z-index: 2;
    padding: 0;
    overflow: hidden;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sm-side .sm-card {
    padding: 0;
    overflow: hidden;
}

.sm-pay-panel {
    background: linear-gradient(165deg, #1e487e 0%, #163a66 55%, #122f54 100%);
    color: #fff;
    padding: 16px 16px 14px;
    position: relative;
}

.sm-pay-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 110, 67, 0.22), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06), transparent 35%);
    pointer-events: none;
}

.sm-pay-panel > * { position: relative; z-index: 1; }

.sm-pay-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffd4c4;
    margin-bottom: 6px;
}

.sm-pay-panel h3 {
    margin: 0 0 4px !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    font-weight: 800;
}

.sm-pay-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 12px;
    line-height: 1.4;
}

.sm-pay-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.sm-summary-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.sm-summary-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 8px 8px 8px 10px;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
}

.sm-summary-list li .meta { color: rgba(255, 255, 255, 0.75); font-size: 11px; font-weight: 500; }

.sm-summary-list .sm-chip-x {
    background: rgba(255, 255, 255, 0.2);
}
.sm-summary-list .sm-chip-x:hover {
    background: var(--sm-orange);
}

.sm-summary-empty {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: 4px 0 10px;
}

.sm-pay-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    margin-bottom: 10px;
}

.sm-pay-rows .rowline {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.sm-total-box {
    background: linear-gradient(135deg, #ff7a52 0%, #e65c00 100%);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.sm-total-box span {
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-total-box strong {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sm-pay-blessing {
    margin-top: 10px;
    text-align: center;
    font-size: 11px;
    color: #ffd4c4;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sm-side-body {
    padding: 14px 16px 16px;
}

.sm-side .sm-card.sm-sticky .sm-pay-panel {
    border-radius: 0;
}

.sm-side-block + .sm-side-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--sm-line);
}

.sm-side h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--sm-navy);
    display: flex;
    align-items: center;
    gap: 7px;
}

.sm-side h3 i {
    color: var(--sm-orange);
    font-size: 14px;
}

.sm-mantra {
    background: linear-gradient(145deg, #1e487e 0%, #163a66 100%);
    color: #eef4fb;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid rgba(255, 110, 67, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.sm-mantra small {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffb89a;
    font-weight: 700;
}

.sm-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-benefits li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #2a2a2a;
    font-weight: 600;
    padding: 6px 0;
}

.sm-benefits li i {
    color: var(--sm-orange);
    margin-top: 2px;
    font-size: 14px;
}

.sm-trust {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--sm-line);
}

.sm-trust-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sm-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #555;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--sm-line);
    border-left: 3px solid var(--sm-orange);
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sm-trust-item:hover {
    border-color: var(--sm-navy);
    border-left-color: var(--sm-navy);
    box-shadow: 0 3px 10px rgba(30, 72, 126, 0.1);
    transform: translateX(2px);
}

.sm-trust-item .sm-trust-ico {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}

.sm-trust-item .sm-trust-ico i,
.sm-trust-item .sm-trust-ico .fas,
.sm-trust-item .sm-trust-ico .fa-solid {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 14px !important;
    text-align: center;
    vertical-align: middle;
}

.sm-trust-item:hover .sm-trust-ico {
    background: linear-gradient(145deg, #ff7a52 0%, #e65c00 100%);
}

.sm-trust-item strong {
    display: block;
    color: var(--sm-navy);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 1px;
    line-height: 1.2;
}

.sm-trust-item span {
    display: block;
    color: #666;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
}

@media (max-width: 1199px) {
    .sm-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm-field.span-2 { grid-column: span 2; }
    .sm-loc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .sm-wrap { grid-template-columns: 1fr; width: 100%; padding: 14px 14px 24px; }
    .sm-side .sm-card.sm-sticky { position: static; max-height: none; }
    .sm-pick-row { grid-template-columns: 1fr; }
    .sm-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-loc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #sm-slot-list { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

@media (max-width: 767px) {
    .sm-info-inner { grid-template-columns: 1fr; padding: 0; }
    .sm-exclusive-notice-line {
        border-right: none;
        border-bottom: 1px dashed rgba(185, 28, 28, 0.25);
        padding: 8px 14px;
    }
    .sm-exclusive-notice-line:last-child { border-bottom: none; }
    .sm-info-item {
        border-right: none;
        border-bottom: 1px solid var(--sm-line);
    }
    .sm-info-item:last-child { border-bottom: none; }
    .sm-calendars { grid-template-columns: 1fr; }
    .sm-form-grid { grid-template-columns: 1fr; }
    .sm-loc-row { grid-template-columns: 1fr; }
    .sm-field.span-2,
    .sm-field.span-3,
    .sm-field.full { grid-column: 1 / -1; }
    .sm-gateway { grid-template-columns: 1fr; }
    .sm-checkout-grid { grid-template-columns: 1fr; }
    #sm-slot-list { grid-template-columns: 1fr 1fr; }
    .sm-trust-inner { flex-direction: column; }
    .sm-card { padding: 12px; }
    .sm-chip { width: 100%; justify-content: space-between; border-radius: 8px; }
    .sm-chip-x { width: 28px; height: 28px; }
    .sm-wrap { padding: 12px 10px 24px; width: 100%; }
}

@media (max-width: 480px) {
    #sm-slot-list { grid-template-columns: 1fr; }
    .sm-stepper-wrap { padding: 10px 12px; }
    .sm-stepper { flex-direction: column; gap: 10px; }
    .sm-stepper-line { width: 3px; height: 28px; margin: 0; }
    .sm-stepper-item { width: 100%; justify-content: flex-start; }
}

/* Clean stepper — no background bar */
.sm-stepper-wrap {
    width: 100%;
    padding: 16px 20px 8px;
    background: transparent;
}

.sm-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.sm-stepper-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
    padding: 4px 2px;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}

.sm-stepper-item:hover { opacity: 0.85; }

.sm-stepper-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--sm-navy);
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--sm-line);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sm-stepper-label {
    font-size: 13px;
    font-weight: 800;
    color: #6b7c8f;
    line-height: 1.25;
}

.sm-stepper-label small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #9aa8b8;
    margin-top: 1px;
}

.sm-stepper-line {
    width: 56px;
    height: 2px;
    background: var(--sm-line);
    margin: 0 14px;
    border-radius: 999px;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.sm-stepper-item.is-active .sm-stepper-num {
    background: linear-gradient(145deg, #ff7a52 0%, #e65c00 100%);
    color: #fff;
    border-color: var(--sm-orange);
    box-shadow: 0 2px 10px rgba(255, 110, 67, 0.35);
}

.sm-stepper-item.is-active .sm-stepper-label { color: var(--sm-navy); }
.sm-stepper-item.is-active .sm-stepper-label small { color: var(--sm-orange); }

.sm-stepper-item.is-done .sm-stepper-num {
    background: var(--sm-navy);
    color: #fff;
    border-color: var(--sm-navy);
}

.sm-stepper-item.is-done .sm-stepper-label { color: var(--sm-navy); }
.sm-stepper-item.is-done .sm-stepper-label small { color: #7a8fa8; }

.sm-stepper-line.is-done {
    background: linear-gradient(90deg, var(--sm-navy), var(--sm-orange));
}

/* Step 1 — optional live image left panel */
.sm-step1-layout {
    display: block;
    transition: grid-template-columns 0.4s ease, gap 0.4s ease;
}

.sm-step1-layout.has-live-image {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.65fr);
    gap: 14px;
    align-items: start;
}

.sm-live-panel {
    display: none;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sm-step1-layout.has-live-image .sm-live-panel {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.sm-live-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--sm-line);
    background: #0f2744;
    aspect-ratio: 4 / 5;
    box-shadow: 0 8px 24px rgba(30, 72, 126, 0.15);
}

.sm-live-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sm-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sm-live-badge i {
    color: #ff4444;
    font-size: 7px;
    animation: sm-live-pulse 1.4s ease infinite;
}

@keyframes sm-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.sm-live-caption {
    margin: 8px 0 0;
    text-align: center;
    color: var(--sm-navy);
    font-size: 11px;
    font-weight: 600;
}

.sm-step1-content {
    min-width: 0;
    transition: flex 0.4s ease;
}

@media (max-width: 991px) {
    .sm-step1-layout.has-live-image {
        grid-template-columns: 1fr;
    }
    .sm-live-frame { aspect-ratio: 16 / 10; max-height: 220px; }
}

.sm-panel { display: none; }
.sm-panel.is-active { display: block; }

.sm-step-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--sm-line);
}

.sm-step1-form-error {
    display: none;
    width: 100%;
    margin: 0;
    color: #c0392b;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.sm-step1-form-error.is-visible {
    display: block;
}

.sm-step-actions.is-split { justify-content: space-between; }

.sm-btn-next,
.sm-btn-back {
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 11px 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sm-btn-next {
    background: linear-gradient(135deg, #ff7a52 0%, #e65c00 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 92, 0, 0.3);
}

.sm-btn-next:hover {
    background: linear-gradient(135deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    transform: translateY(-1px);
}

.sm-btn-back {
    background: #fff;
    color: var(--sm-navy);
    border: 1.5px solid var(--sm-line);
}

.sm-btn-back:hover {
    border-color: var(--sm-navy);
    background: var(--sm-soft);
}

.sm-checkout-card { margin-top: 10px; }

/* Compact right sidebar — balanced height */
.sm-side { gap: 10px; }
.sm-pay-panel { padding: 12px 12px 10px; }
.sm-pay-panel h3 { font-size: 1rem !important; }
.sm-pay-sub { font-size: 11px; margin-bottom: 8px; }
.sm-pay-count { margin-bottom: 8px; font-size: 11px; }
.sm-summary-list { max-height: 110px; gap: 5px; margin-bottom: 8px; }
.sm-summary-list li { padding: 6px 7px 6px 9px; font-size: 11px; }
.sm-pay-rows { padding: 8px 0; margin-bottom: 8px; gap: 4px; }
.sm-pay-rows .rowline { font-size: 12px; }
.sm-total-box { padding: 10px 12px; border-radius: 8px; }
.sm-total-box strong { font-size: 1.25rem; }
.sm-pay-blessing { margin-top: 8px; font-size: 10px; }

.sm-extra-info .sm-side-body { padding: 10px 12px 12px; }
.sm-extra-info h3 { font-size: 13px !important; margin: 0 0 8px !important; }
.sm-extra-info .sm-side-block + .sm-side-block { margin-top: 10px; padding-top: 10px; }

.sm-mantra { padding: 10px; font-size: 0.82rem; line-height: 1.45; border-radius: 8px; }
.sm-mantra small { margin-top: 6px; font-size: 10px; }
.sm-benefits li { font-size: 12px; padding: 4px 0; gap: 8px; }
.sm-benefits li i { font-size: 12px; }
.sm-trust { margin-top: 8px; padding-top: 8px; }
.sm-trust-item { padding: 7px 9px; gap: 8px; align-items: center; }
.sm-trust-item .sm-trust-ico {
    width: 30px;
    height: 30px;
    font-size: 13px;
    border-radius: 6px;
}
.sm-trust-item .sm-trust-ico i,
.sm-trust-item .sm-trust-ico .fas {
    font-size: 13px !important;
}
.sm-trust-item strong { font-size: 11px; }
.sm-trust-item span { font-size: 10px; }


/* Easy steps + trust on left (both steps balanced) */
.sm-guide {
    background: linear-gradient(135deg, #edf3fb 0%, #fff4ef 100%);
    border: 1px solid var(--sm-line);
    border-radius: var(--sm-radius);
    padding: 12px 14px;
    margin-top: 10px;
}

.sm-guide h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--sm-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-guide h3 i { color: var(--sm-orange); }

.sm-guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sm-guide-steps li {
    background: #fff;
    border: 1px solid var(--sm-line);
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1.35;
}

.sm-guide-steps li strong {
    display: block;
    color: var(--sm-navy);
    font-size: 12px;
    margin-bottom: 2px;
}

.sm-guide-steps li span {
    color: #666;
    font-weight: 500;
    font-size: 11px;
}

.sm-trust-card {
    margin-top: 10px;
    padding: 12px 14px;
}

.sm-trust-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--sm-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-trust-title i { color: var(--sm-orange); }

/* Step 1 — 4 trust items in one full-width row */
.sm-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    flex-direction: unset !important;
}

.sm-trust-slot:empty { display: none; }

.sm-trust-card .sm-trust-item {
    background: var(--sm-soft);
    border: 1px solid var(--sm-line);
    border-left: 3px solid var(--sm-orange);
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-trust-card .sm-trust-item .sm-trust-ico {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.sm-trust-card .sm-trust-item .sm-trust-ico i,
.sm-trust-card .sm-trust-item .sm-trust-ico .fas {
    font-size: 13px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.sm-trust-card .sm-trust-item > div {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sm-trust-card .sm-trust-item strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-trust-card .sm-trust-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Step 2 — trust on right, 2×2 (keep mantra/benefits + booking data) */
.sm-page.is-step-2 .sm-wrap {
    align-items: stretch;
}

.sm-page.is-step-2 .sm-side {
    display: flex;
    flex-direction: column;
}

.sm-page.is-step-2 .sm-side .sm-card.sm-sticky {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    flex: 0 0 auto;
}

.sm-page.is-step-2 #sm-trust-slot-2:not(:empty) {
    flex: 0 0 auto;
    display: block;
}

.sm-trust-card.is-in-side {
    margin-top: 0;
    padding: 12px 12px 14px;
    min-height: 0;
    height: auto;
}

.sm-trust-card.is-in-side .sm-trust-title {
    margin-bottom: 10px;
}

.sm-trust-card.is-in-side .sm-trust-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    min-height: 0;
}

.sm-trust-card.is-in-side .sm-trust-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    min-height: 64px;
    height: auto;
}

.sm-trust-card.is-in-side .sm-trust-item strong,
.sm-trust-card.is-in-side .sm-trust-item span {
    white-space: normal;
}

.sm-trust-card.is-in-side .sm-trust-ico {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.sm-trust-card.is-in-side .sm-trust-ico i,
.sm-trust-card.is-in-side .sm-trust-ico .fas {
    font-size: 14px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.sm-trust-card.is-in-side .sm-trust-item strong { font-size: 12px; }
.sm-trust-card.is-in-side .sm-trust-item span { font-size: 11px; }

@media (max-width: 1100px) {
    .sm-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-trust-card.is-in-side .sm-trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .sm-guide-steps { grid-template-columns: 1fr; }
    .sm-trust-grid { grid-template-columns: 1fr; }
    .sm-trust-card.is-in-side .sm-trust-grid { grid-template-columns: 1fr; }
}

/* Compact date rows — reference booking layout */
.sm-date-booking {
    overflow: hidden;
    border: 1px solid #c8d6e6;
    border-radius: 8px;
    background: #edf4fb;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.sm-date-table-head,
.sm-date-row {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) minmax(130px, 1.2fr) minmax(110px, 0.9fr) minmax(52px, 0.45fr) minmax(72px, 0.7fr) minmax(72px, 0.55fr);
    gap: 10px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.sm-date-table-head {
    margin: 0 14px;
    padding: 12px 0 8px;
    color: var(--sm-navy);
    border-bottom: 1px solid var(--sm-navy);
    font-size: 12px;
    font-weight: 800;
    align-items: end;
}

.sm-date-table-head small {
    display: block;
    margin-top: 1px;
    color: var(--sm-orange);
    font-size: 9px;
    font-weight: 600;
}

/* Rate / Amount / Action: header labels centered to match centered cell values */
.sm-date-table-head > div:nth-child(4),
.sm-date-table-head > div:nth-child(5),
.sm-date-table-head > div:nth-child(6) {
    text-align: center;
}

.sm-date-rows-scroll {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sm-date-rows-scroll::-webkit-scrollbar { width: 8px; }
.sm-date-rows-scroll::-webkit-scrollbar-thumb { background: #b9c9dc; border-radius: 8px; }
.sm-date-rows-scroll::-webkit-scrollbar-track { background: transparent; }

.sm-date-row {
    padding: 10px 14px;
}

.sm-date-row + .sm-date-row {
    border-top: 1px dashed #d5e0ed;
}

/* Pithika — inline in table */
.sm-pithika-cell {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sm-pithika-counter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    background: #fff;
    border: 1px solid #c8d2df;
    border-radius: 6px;
    width: 100%;
    max-width: 118px;
    box-sizing: border-box;
}

.sm-pithika-dash {
    color: #9aa8b8;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    display: block;
}

.sm-count-btn {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8058, var(--sm-orange));
    box-shadow: 0 2px 6px rgba(255, 110, 67, .3);
}

.sm-count-btn:hover { filter: brightness(1.05); }
.sm-count-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

.sm-member-input {
    width: 44px;
    min-width: 0;
    flex: 1;
    height: 28px;
    text-align: center;
    color: var(--sm-navy);
    font-size: 15px;
    font-weight: 800;
    border: 1px solid #c8d2df;
    border-radius: 6px;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    box-sizing: border-box;
}

.sm-member-input::-webkit-outer-spin-button,
.sm-member-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sm-member-input:focus {
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 2px rgba(255, 110, 67, .15);
}

.sm-date-control {
    width: 100%;
    max-width: 100%;
    height: 38px;
    padding: 0 11px;
    color: #2f3e50;
    background: #fff;
    border: 1px solid #c8d2df;
    border-radius: 4px;
    outline: none;
    font-size: 12px;
    box-sizing: border-box;
}

.sm-date-control:focus {
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 2px rgba(255, 110, 67, .15);
}

.sm-rate-cell {
    text-align: center;
    min-width: 0;
}

.sm-row-rate {
    color: var(--sm-navy);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-align: center;
}

.sm-amount-cell {
    text-align: center;
    line-height: 1.2;
    min-width: 0;
}

.sm-row-amount {
    display: block;
    color: var(--sm-navy);
    font-size: 13px;
    font-weight: 800;
}

.sm-row-formula {
    display: block;
    margin-top: 1px;
    color: #6b7c8f;
    font-size: 9px;
    font-weight: 600;
}

.sm-row-action {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

/* Date-wise amount breakdown */
.sm-booking-breakdown-wrap {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--sm-navy);
    background: #fff;
}

.sm-breakdown-title {
    margin: 0 0 8px;
    color: var(--sm-navy);
    font-size: 12px;
    font-weight: 800;
}

.sm-breakdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 180px;
    overflow-y: auto;
}

.sm-breakdown-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #d5e0ed;
    font-size: 11px;
    color: #444;
    flex-wrap: wrap;
}

.sm-breakdown-list li:last-child { border-bottom: none; }

.sm-bd-date {
    color: var(--sm-navy);
    font-weight: 700;
    min-width: 88px;
}

.sm-bd-calc {
    text-align: right;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.sm-bd-calc strong {
    color: var(--sm-orange-deep);
    font-weight: 800;
}

.sm-breakdown-empty {
    margin: 0;
    color: #7a8fa8;
    font-size: 11px;
    font-style: italic;
}

.sm-booking-grand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--sm-navy) 0%, var(--sm-navy-deep) 100%);
    flex-wrap: wrap;
}

.sm-booking-grand strong {
    font-size: 16px;
    color: #ffd4c4;
}

.sm-summary-list li .sm-summary-calc {
    display: block;
    margin-top: 3px;
    color: #ffd4c4;
    font-size: 11px;
    font-weight: 700;
}

.sm-summary-list li .sm-summary-slot {
    display: block;
    font-size: 10px;
    opacity: 0.85;
}

.sm-delete-row {
    padding: 6px 10px;
    color: #b74236;
    background: #fff;
    border: 1px solid #d9685d;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.sm-delete-row:hover {
    color: #fff;
    background: #d9534f;
}

.sm-date-footer {
    margin: 4px 14px 0;
    padding: 0 0 10px;
}

.sm-add-date {
    padding: 8px 12px;
    color: #fff;
    background: linear-gradient(135deg, #ff8058, var(--sm-orange));
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(255, 110, 67, .3);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.sm-booking-total {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px;
    color: var(--sm-navy);
    font-size: 13px;
    font-weight: 800;
    flex-wrap: wrap;
}

.sm-booking-total strong {
    font-size: 14px;
}

.sm-booking-total .sm-total-formula {
    color: #5f6b7a;
    font-weight: 600;
    font-size: 12px;
}

.sm-rupee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff4ef 0%, #edf3fb 100%);
    color: var(--sm-navy);
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid #ffd0c0;
    box-shadow: 0 2px 8px rgba(30, 72, 126, 0.08);
    line-height: 1;
}

.sm-pay-rows .sm-rowline-total {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.sm-pay-rows .sm-rowline-total span:last-child {
    color: #ffd4c4;
    font-weight: 800;
}

.sm-row-error {
    border-color: #c0392b !important;
    border-bottom-width: 2px !important;
    background: #fff8f7 !important;
    box-shadow: none !important;
}

.sm-date-cell,
.sm-slot-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.sm-row-field-error {
    display: none;
    color: #c0392b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.sm-date-cell.is-invalid .sm-row-field-error,
.sm-slot-cell.is-invalid .sm-row-field-error,
.sm-pithika-cell.is-invalid .sm-row-field-error {
    display: block;
}

.sm-date-cell.is-invalid .sm-date-control,
.sm-slot-cell.is-invalid .sm-date-control,
.sm-pithika-cell.is-invalid .sm-member-input {
    border-color: #c0392b !important;
    border-bottom-width: 2px !important;
    background: #fff8f7 !important;
}

/* ---- Tablet: 2×3 card grid (flexible, no cramp) ---- */
@media (max-width: 1100px) {
    .sm-date-table-head { display: none; }

    .sm-date-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 14px;
        margin: 10px 12px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--sm-line);
        border-radius: 8px;
        align-items: stretch;
    }

    .sm-date-row + .sm-date-row {
        border-top: none;
    }

    .sm-date-row > div {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        min-width: 0;
        text-align: left !important;
    }

    .sm-date-row > div::before {
        display: block;
        width: 100%;
        margin: 0;
        color: var(--sm-navy);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.3;
        text-align: left;
    }

    .sm-date-cell::before { content: "Performance Date *"; }
    .sm-slot-cell::before { content: "Time Slot *"; }
    .sm-pithika-cell::before { content: "Pithika (Members) *"; }
    .sm-rate-cell::before { content: "Rate"; }
    .sm-amount-cell::before { content: "Amount"; }
    .sm-row-action::before { content: "Action"; }

    .sm-date-cell,
    .sm-slot-cell,
    .sm-pithika-cell {
        grid-column: span 1;
    }

    .sm-rate-cell,
    .sm-amount-cell {
        justify-content: flex-start;
    }

    .sm-row-rate,
    .sm-row-amount,
    .sm-row-formula {
        text-align: left;
    }

    .sm-pithika-counter {
        max-width: 140px;
    }

    .sm-row-action {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .sm-delete-row {
        width: auto;
        max-width: 100%;
    }

    .sm-date-footer {
        margin: 10px 12px 0;
        padding: 0 0 12px;
    }

    .sm-add-date {
        width: 100%;
        max-width: 280px;
    }
}

/* ---- Mobile / small tablet: single column stack ---- */
@media (max-width: 767px) {
    .sm-date-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 10px;
        padding: 12px;
    }

    .sm-date-cell,
    .sm-slot-cell,
    .sm-pithika-cell,
    .sm-rate-cell,
    .sm-amount-cell,
    .sm-row-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .sm-pithika-counter {
        max-width: 160px;
    }

    .sm-delete-row {
        width: 100%;
        text-align: center;
        padding: 10px 12px;
    }

    .sm-add-date {
        width: 100%;
        max-width: none;
        padding: 12px 14px;
        font-size: 13px;
    }

    .sm-booking-breakdown-wrap {
        padding: 12px 10px 14px;
    }

    .sm-breakdown-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .sm-bd-calc {
        text-align: left;
    }

    .sm-date-footer { margin-top: 8px; }
    .sm-booking-total { justify-content: space-between; }
}

@media (max-width: 480px) {
    .sm-date-control {
        font-size: 13px;
        height: 42px;
    }

    .sm-count-btn {
        width: 34px;
        height: 34px;
    }

    .sm-member-input {
        height: 34px;
        font-size: 16px;
    }

    .sm-pithika-counter {
        max-width: 100%;
    }
}

/* =========================================================
   DOB calendar — hide broken jQuery UI sprite icons
   (static/css/images/ui-icons_*.png are missing on this site)
   ========================================================= */
.ui-datepicker.sm-dob-datepicker,
#ui-datepicker-div.sm-dob-datepicker,
#ui-datepicker-div {
    z-index: 9999 !important;
    border: 1px solid #c5d4e4 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(30, 72, 126, 0.18) !important;
    padding: 8px !important;
    background: #fff !important;
    font-size: 13px !important;
    width: auto !important;
}

#ui-datepicker-div .ui-datepicker-header {
    background: var(--sm-navy, #1e487e) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 0 !important;
}

#ui-datepicker-div .ui-datepicker-title {
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
}

#ui-datepicker-div .ui-datepicker-title select {
    color: #1e487e !important;
    font-size: 12px !important;
    margin: 0 2px !important;
}

/* Hide broken sprite icons completely */
#ui-datepicker-div .ui-icon,
#ui-datepicker-div .ui-datepicker-prev .ui-icon,
#ui-datepicker-div .ui-datepicker-next .ui-icon {
    background-image: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    display: none !important;
}




/* CSS-only prev / next arrows */
#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
    top: 6px !important;
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
}

#ui-datepicker-div .ui-datepicker-prev { left: 4px !important; }
#ui-datepicker-div .ui-datepicker-next { right: 4px !important; }

#ui-datepicker-div .ui-datepicker-prev::before,
#ui-datepicker-div .ui-datepicker-next::before {
    display: block !important;
    text-align: center !important;
    line-height: 28px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-family: Arial, sans-serif !important;
}

#ui-datepicker-div .ui-datepicker-prev::before { content: "‹" !important; }
#ui-datepicker-div .ui-datepicker-next::before { content: "›" !important; }

#ui-datepicker-div .ui-datepicker-prev-hover,
#ui-datepicker-div .ui-datepicker-next-hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    border-radius: 4px !important;
    top: 6px !important;
}

/* Day cells — no extra icons / FA leakage */
#ui-datepicker-div td,
#ui-datepicker-div td span,
#ui-datepicker-div td a {
    background-image: none !important;
}

#ui-datepicker-div td a,
#ui-datepicker-div td span {
    text-align: center !important;
    padding: 6px !important;
    border-radius: 4px !important;
}

#ui-datepicker-div td a::before,
#ui-datepicker-div td a::after,
#ui-datepicker-div td span::before,
#ui-datepicker-div td span::after,
#ui-datepicker-div td::before,
#ui-datepicker-div td::after {
    content: none !important;
    display: none !important;
}

#ui-datepicker-div .ui-state-default {
    background: #f4f7fb !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e487e !important;
}

#ui-datepicker-div .ui-state-hover {
    background: #fff4ef !important;
    border-color: var(--sm-orange, #ff6e43) !important;
    color: #1e487e !important;
}

#ui-datepicker-div .ui-state-active {
    background: var(--sm-orange, #ff6e43) !important;
    border-color: var(--sm-orange, #ff6e43) !important;
    color: #fff !important;
}

#ui-datepicker-div .ui-state-disabled span {
    opacity: 0.35 !important;
    background: #f0f0f0 !important;
}



/* Loader Updates */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 45, 128, 0.85); 
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    z-index: 9999;
}

#loader h3 { color: #ffffff; margin-top: 20px; }
#loader p { color: #e6f0ff; font-size: 16px; }
.spinner {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.2);
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}